Math Explained

Home › Linear Algebra

What Is a Determinant? A Plain Guide With Examples

Understand the determinant as the area or volume scaling factor of a matrix, learn the 2x2 and 3x3 formulas, and see why zero means no inverse.

2026-10-19 · 5 min read

A determinant is a single number computed from a square matrix. It looks like arbitrary arithmetic at first, but it has a clear geometric meaning. It tells you how much the matrix stretches or squashes space, and whether the transformation can be undone. Once you see that meaning, the formulas and the properties follow naturally.

This guide starts with the 2 by 2 formula, connects it to area, extends it to 3 by 3, and then lists the rules that make determinants practical.

The 2 by 2 formula

For a matrix with entries a, b in the top row and c, d in the bottom row, the determinant is a times d minus b times c. Written compactly, det equals ad minus bc.

For the matrix with rows (3, 1) and (2, 2), the determinant is 3 times 2 minus 1 times 2, which equals 6 minus 2, or 4. The number is computed mechanically, but the next section shows what it means.

The area meaning

Take the two columns of a 2 by 2 matrix as two vectors. The unit square, the square with corners at (0, 0), (1, 0), (0, 1), and (1, 1), has area 1. A matrix transforms that square into a parallelogram. The determinant equals the area of that parallelogram.

So a determinant of 4 means the transformation makes every region four times larger. A determinant of 0.5 means every region shrinks to half its size. The area scaling is the same everywhere, which is why one number can summarize the whole transformation.

The sign tells you about orientation

The sign of the determinant records whether the transformation flips orientation. A positive determinant means the transformation preserves the handedness of the space, like a rotation or a stretch. A negative determinant means it reflects the space, like flipping a page over. You can see this with the swap matrix, rows (0, 1) and (1, 0), which swaps x and y. Its determinant is 0 times 0 minus 1 times 1, which equals negative 1. The area is preserved, but the orientation is reversed.

Zero means collapse

If the determinant is 0, the transformation squashes the plane onto a line or a single point. The parallelogram has zero area, so information is lost. Two different inputs can map to the same output, and no transformation can recover the lost information. Such a matrix has no inverse.

For example, the matrix with rows (1, 2) and (2, 4) has determinant 1 times 4 minus 2 times 2, which equals 0. Its second column is twice its first, so both columns point along the same line. Every input gets pushed onto that line.

Worked examples

The table shows several 2 by 2 matrices, their determinants, and what each one does.

Matrix rows Determinant Meaning
(2, 0) and (0, 3) 6 Stretches x by 2 and y by 3, area times 6
(1, 2) and (2, 4) 0 Collapses the plane onto a line, no inverse
(0, 1) and (1, 0) -1 Reflects the plane, area unchanged
(1, 1) and (0, 1) 1 Shear, area unchanged
(3, 1) and (2, 2) 4 Area scaled by 4

The shear row is worth noticing. A shear slants shapes without changing their area, so its determinant is exactly 1 even though the shape looks very different.

The 3 by 3 formula

For a 3 by 3 matrix, the determinant can be computed by cofactor expansion. Pick the first row. For each entry, multiply it by the determinant of the 2 by 2 matrix left after deleting that entry's row and column. Alternate the signs plus, minus, plus across the row, then add the three results.

The sign pattern matters. The first entry gets a plus sign, the second a minus, and the third a plus again. Forgetting the alternation is the most common arithmetic error in 3 by 3 determinants.

Geometrically, a 3 by 3 determinant is the volume scaling factor of a parallelepiped. The three columns of the matrix form three edges from the origin, and the absolute value of the determinant equals the volume of the box they span.

Rules that make determinants practical

Several properties let you simplify calculations and avoid computing every term.

The determinant of a product equals the product of the determinants. In symbols, det(AB) equals det(A) times det(B). Scaling space twice in a row multiplies the area factors.

The determinant of a matrix equals the determinant of its transpose. Swapping rows and columns does not change the answer.

Swapping two rows multiplies the determinant by negative 1. Multiplying one row by a number k multiplies the determinant by k. Adding a multiple of one row to another row leaves the determinant unchanged, which is the reason row reduction can be used to evaluate determinants efficiently.

For a triangular matrix, where all entries above or below the diagonal are zero, the determinant equals the product of the diagonal entries. This makes triangular matrices easy to evaluate.

Why determinants matter

The most common use is checking invertibility. A square matrix has an inverse exactly when its determinant is nonzero. This is a quick test before you try to solve a linear system.

Determinants also connect to eigenvalues. The determinant of a matrix equals the product of its eigenvalues, counted with multiplicity. This relation helps with stability analysis, where you care whether a system grows or shrinks over time.

Cramer's rule uses determinants to solve small linear systems. It is elegant but slow for large matrices, where elimination methods are far more efficient. Use it for conceptual clarity or for two or three unknowns, not for large computations.

Common misunderstandings

A frequent mistake is assuming the determinant is the sum of the entries or the sum of the diagonal. The trace is the sum of the diagonal entries, and it is a different quantity.

Another misunderstanding is that a negative determinant means the matrix is somehow smaller. A negative sign means orientation reversal. The magnitude, the absolute value, is the scaling factor.

Finally, a determinant of 0 does not mean the matrix is zero. A matrix can have many nonzero entries and still have determinant 0 if its rows or columns are dependent.

Key takeaways

The determinant of a square matrix is the factor by which the matrix scales area in two dimensions or volume in three. Its sign records whether orientation is preserved or reversed.

A determinant of zero means the transformation collapses space and cannot be inverted. Use the 2 by 2 and 3 by 3 formulas for small matrices, and rely on the product and row rules to simplify larger ones.

More in Linear Algebra

Linear Alg

How Matrix Multiplication Works, With Worked Examples

Learn the row-by-column rule for multiplying matrices, why the dimensions must match, why order matters, and what the product means geometrically.

5 min read