Ch.05
Inverse and Determinant: Inverse of Transformation and Change in Volume
Math diagram by chapter
Select a chapter to see its diagram below. View the flow of intermediate math at a glance.
One determinant number tells you how much area scales and whether the picture flips like a mirror
Blue is the starting square; red is the tilted result. Dotted lines connect matching corners
Both panels move together: as the grid tilts, the red shape’s area scale and whether corners wind the opposite way change in step
The determinant encodes how area scales (absolute value) and whether orientation flips (sign) when the unit square becomes the red parallelogram. Left: area grows and winding stays the same (positive).
Right: the area ratio can look similar, but winding reverses, so the sign is negative.
In Ch.04 a matrix pushes space like a single stamp on a sheet. This chapter asks when you can fully un-stamp it (invertibility) and how much the sheet’s area or a box’s volume grows or shrinks. Think of clay rolled flat: if you can restore angles and ratios, the map is invertible. The determinant compresses “how big the region became” into one number; its sign tells whether the sheet was mirrored. The same questions reappear in regression, numerics, and probability under different names.
Inverse matrix and determinant: rewind and area
1. Inverse: hitting rewind on a tape
Ch.04 treated a matrix as a device that moves the whole plane at once. An inverse exists only when that move never glues two different points together. Intuitively, rewind × play should feel like “nothing happened.”
2. Determinant: how hard the stamp pressed
Send a unit square (or cube) through the map: it becomes a slanted tile whose size changes. |det| is how many times larger/smaller the tile’s area or volume became. The sign is whether the tile was mirrored like looking at your hand in a mirror.
3. What to memorize for 2×2
For hand calculations, remember “multiply the diagonal entries and subtract the other diagonal pair.” If that number is zero, the two columns lie on one line—no clean rewind. For the inverse pattern, keep a cheat-sheet (swap corners, flip signs, divide by that number) instead of carrying huge symbols in your head.
4. Products: stacking filters, peeling them off
Apply two maps in a row: the overall area scale behaves like multiplying the two scales. To undo them, remove the last filter first, then the earlier one—same story as Ch.04 composition, just told as socks then shoes.
5. Singular: squashed sandwich
Determinant zero means the map squashes space onto a line or plane—like pressing a thick sandwich flat so you cannot recover the original layers. Tools like ridge or pseudoinverse approximate a rewind (Ch.06).
One line: a true rewind exists when the map does not squash information to a line; the determinant tracks how much area/volume changed and whether the map mirrored space. Remember undo last step first when peeling stacked transforms—that habit alone smooths reading optimization and statistics code.
Deep nets stack linear maps (with nonlinearities between). Invertibility roughly asks: *can we pin down a unique direction when solving?* A determinant near zero means the linear part squashed space—information mixes—and updates can branch or vanish. The determinant’s size tells how much area/volume stretched; its sign, whether orientation flipped. Treat it as a traffic light: *are we losing usable structure between layers?*
Symbols change paper to paper, but three questions keep returning: can we undo cleanly? how much did volume scale? mirror flip? That threads ridge regression, training where the Hessian—second derivatives of the loss w.r.t. weights, a compact curvature map of the loss surface—is ill-conditioned / nearly singular (some directions too flat, steps wobble), and density corrections when models warp coordinates—normalizing flows and related ideas.
Classic ML: OLS needs . When features overlap, that matrix heads toward singular—det near 0, unstable inverse. Ridge adds tiny so exists—a pressure-relief valve trading a bit of bias for stability.
Deep learning & generative models: Layers chain linear maps; squashed middle stages echo missing inverses. Even without explicit matrix inverses, the Hessian tells you how curved the loss is in each direction; if it is nearly singular, some directions are almost flat and update steps can become unstable. Normalizing flows multiply densities by when coordinates change so total probability stays correct.
Same water, wider tray: pour a fixed amount of water onto a larger plate—footprint grows, but depth per unit area drops. Probability densities need the same bookkeeping: scale by when coordinates stretch or warp so mass still adds to 1. Some generative / coordinate-change pipelines use exactly this idea. Geometry: |det| is volume scale; sign is mirror flip. Numerics: bad conditioning still amplifies tiny errors.
The table lists symbols and rules for inverse matrices and determinants. Worked examples follow the practice bank’s typical item types (definitions, true/false, calculations, concepts, determinant expansions, applied scenarios) in a Question / Solution layout, matching other chapters.
- Symbol
- MeaningInverse matrix: satisfies
- Symbol
- MeaningArea/volume scale (absolute value); sign indicates orientation flip
- Symbol
- Meaning
- Symbol
- Meaning (undo a composition in reverse order)
- SymbolSingular
- Meaning; no true
- Symbol
- MeaningCondition number; solutions can still be ill-conditioned even if an inverse exists
| Symbol | Meaning |
|---|---|
| Inverse matrix: satisfies | |
| Area/volume scale (absolute value); sign indicates orientation flip | |
| (undo a composition in reverse order) | |
| Singular | ; no true |
| Condition number; solutions can still be ill-conditioned even if an inverse exists |
Notes by topic
① Collapse Check and whether columns are collinear (lie on one line).
② Memorize and the inverse pattern swap diagonals, flip off-diagonals, divide by .
③ Order uses reverse order; multiplies—do not confuse the two rules.
④ Numerics Prefer solving linear systems (least squares, `solve`, …) over forming explicitly when stability matters.
Worked examples
Example 1 — determinant (definition / calculation type)
Question: For , what is ?
Solution: .
Example 2 — invertibility (definition / true–false type)
Question: Is the matrix in Example 1 invertible?
Solution: Yes, because (an inverse exists).
Example 3 — inverse of a product (concept / Ch.04 composition type)
Question: For invertible square matrices , what is ?
Solution: —undo the last applied map first.
Example 4 — determinant of a product (definition / calculation type)
Question: For same-size square matrices , how do you write ?
Solution: —area/volume scales multiply as you chain maps.
Example 5 — inverse recipe (calculation type)
Question: How do you build by hand when ?
Solution: Multiply the pattern by : swap the diagonal entries and flip the signs of the off-diagonals.
Practice problems
For a matrix , when every entry is multiplied by :
1 / 10