Matrix Inverses and Determinants
What You’ll Learn
Section titled “What You’ll Learn”The inverse lets you “undo” a matrix transformation, and the determinant tells you whether that’s even possible. In this lesson you’ll learn how to compute both for matrices and understand what they mean geometrically.
The Concept
Section titled “The Concept”Matrix Inverse
Section titled “Matrix Inverse”The inverse of a matrix (written ) satisfies:
where is the identity matrix (1s on the diagonal, 0s elsewhere). Only square matrices can have inverses, and not all of them do.
Determinant
Section titled “Determinant”The determinant of a matrix is:
What it tells you:
- : is invertible
- : is singular (no inverse exists)
- The absolute value is the area scaling factor of the transformation
- A negative determinant means the transformation flips orientation
2x2 Inverse Formula
Section titled “2x2 Inverse Formula”If :
Swap and , negate and , divide by the determinant.
The matrix used in the diagram is:
Its determinant:
The blue unit square has area 1. After applying , the green parallelogram has area . The determinant is literally the area scaling factor of the transformation: whatever shape goes in, its area gets multiplied by .
Here, maps the green parallelogram back to the original blue unit square. The inverse “undoes” the transformation completely.
Using the 2x2 inverse formula on :
Multiplying any point on the green parallelogram by sends it back to the corresponding point on the original unit square. That’s the power of the inverse: it reverses the transformation exactly.
Worked Examples
Section titled “Worked Examples”Example 1: Computing the Inverse
Since , is invertible:
Verify: ✓
Example 2: Determinant as Area Scaling
If , applying stretches areas by a factor of 5.
If , it stretches areas by 3 and flips orientation (mirrors the space).
Example 3: Singular Matrix
No inverse exists. The rows are linearly dependent (row 1 = 2 row 2), so squashes 2D space down to a line.
Real-World Application
Section titled “Real-World Application”- Graphics and games: the inverse of a transformation matrix converts from world space back to object space (essential for collision detection and mouse picking)
- Physics: inverses solve for unknown forces when working with mass matrices
- Machine learning: least squares and normal equations rely on matrix inverses
- Cryptography: some encryption schemes use matrix inverses over finite fields
Example: When you click on a 3D object in a game, the engine uses the inverse of the model-view-projection matrix to trace a ray from your mouse position back into the 3D scene and figure out which object you hit.
Retrying will remove your ✅ checkmark until you pass again.