25 November 2026 · 4 min readInteractive 3D
What is a determinant? How a matrix grows a shape
The determinant is one number that tells you how much a matrix stretches volume, and whether it flattens space completely.
Textbooks give a recipe for the determinant: multiply diagonals, subtract, repeat. The recipe works, but it hides the meaning, which is simple. The determinant is the factor by which a matrix changes volume.
Three things the determinant tells you
- Bigger than 1: the matrix grows shapes. A determinant of 2 doubles every volume.
- Between 0 and 1: the matrix shrinks shapes.
- Exactly 0: the matrix flattens space onto a plane or a line. Information is lost, and the move cannot be undone.
Why zero matters so much
If a matrix squashes a cube flat, many different starting points end up on top of each other. There is no way to tell them apart afterwards, so there is no way back. That is why a matrix with determinant 0 has no inverse.
- Stretch sideways by 2: volume × 2
- Then stretch upwards by 0.5: volume × 0.5
- Together: 2 × 0.5 = 1, so the volume is unchanged even though the shape is different
Shearing never changes the determinant. Push the shear slider and the volume factor stays put: the box leans, but it does not get bigger.
Computing a 2 × 2 determinant
For the matrix with rows (a, b) and (c, d), the determinant is ad − bc. It tells you how much the matrix scales areas.
- Rows (3, 1) and (2, 4)
- ad = 3 × 4 = 12
- bc = 1 × 2 = 2
- Determinant = 12 − 2 = 10: every area becomes 10 times bigger
A unit square becomes a parallelogram of area 10. If the determinant were −10, the area would still grow 10 times, but the shape would also be flipped over, like a mirror image.
The 3 × 3 case
In three dimensions the determinant measures how a matrix scales volumes. A cube of volume 1 becomes a slanted box (a parallelepiped) whose volume is the determinant. Expanding along the first row gives a formula with three 2 × 2 determinants inside it.
Why zero matters
A determinant of zero means space has been squashed flat: a square becomes a line, or a cube becomes a sheet. Information is lost, so no inverse exists. In equations this means the system has either no solution or infinitely many. In AI it signals redundant features that carry the same information.
det(AB) = det(A) × det(B): scaling twice multiplies the scale factors.
Determinants and equations
Cramer’s rule solves small systems using determinants. For 2x + y = 5 and x − y = 1, the main determinant is 2 × (−1) − 1 × 1 = −3. Replacing the x column with [5, 1] gives 5 × (−1) − 1 × 1 = −6, so x = −6 ÷ −3 = 2. Replacing the y column gives 2 × 1 − 5 × 1 = −3, so y = 1.
Area of a triangle
The area of a triangle with corners (0, 0), (a, b) and (c, d) is half the size of ad − bc. For (0, 0), (4, 1) and (1, 3): ½ × |12 − 1| = 5.5 square units.
Glossary
- Parallelogram: a four-sided shape with opposite sides parallel.
- Parallelepiped: its 3D version, a slanted box.
- Singular matrix: one with determinant zero.
- Orientation: whether a shape is flipped.
Try these yourself
- Q1. Rows (2, 0), (0, 5): 10
- Q2. Rows (1, 2), (2, 4): 4 − 4 = 0, squashed flat
- Q3. Rows (0, 1), (1, 0): −1, a reflection
- Q4. Find k if rows (k, 2), (3, 6) give 0: 6k − 6 = 0, k = 1
- Q5. det A = 3 and det B = −2: det(AB) = −6
Common mistakes
- Computing ad + bc instead of ad − bc.
- Forgetting that a negative determinant still scales by its size.
- Thinking det(A + B) = det A + det B; that is false in general.
In short
The determinant is the area or volume scale factor of a matrix, with a sign for flipping. Zero means space collapses and no inverse exists.
Keep going
Questions people ask
What does a determinant tell you?
How much a matrix scales area (in 2D) or volume (in 3D), and whether it flips the space over (negative sign).
What does a zero determinant mean?
The matrix squashes space flat, so it has no inverse and the related equations do not have a unique solution.
How do you find a 2 × 2 determinant?
Multiply the diagonals and subtract: for rows (a, b) and (c, d) it is ad − bc.