What a determinant is
A determinant is a scalar (a single number) assigned to a square matrix — a grid with the same number of rows and columns. It is written or with vertical bars, . A matrix that is not square has no determinant.
The determinant answers two questions at once. It tells you whether the matrix is invertible: a matrix can be inverted exactly when its determinant is not zero. It also measures how the matrix stretches or shrinks space — in two dimensions, the absolute value of the determinant is the area of the parallelogram formed by the matrix's columns.
This article is about the determinant as a concept and how to expand it. For the mechanics of one worked grid end to end, see the companion article on the determinant of a matrix. For the wider topic that pairs matrices with their determinants, see matrices and determinants.
How is a determinant different from the matrix itself?
A matrix is the whole grid of numbers. The determinant is one number squeezed out of that grid. You can add and multiply matrices; the determinant is just a readout — like a temperature taken from a whole room.
The 2×2 formula
For a 2×2 matrix
the determinant is the product of the main diagonal minus the product of the other diagonal:
The 3×3 formula (cofactor expansion)
For a 3×3 matrix
you expand along the top row, attaching the sign pattern and multiplying each entry by the 2×2 minor left when you delete that entry's row and column:
A minor is the smaller determinant left after deleting one row and one column. A cofactor is that minor with its sign attached from the checkerboard pattern below.
The sign in position (row , column ) is .
Variable Key
Every symbol in the two formulas above is a matrix entry, read left to right and top to bottom.
Symbol | Meaning | ||
|---|---|---|---|
The four entries of a 2×2 matrix, row by row | |||
through | The nine entries of a 3×3 matrix, row by row | ||
or $ | A The determinant of matrix , a single scalar | ||
Minor | The 2×2 determinant left after deleting one entry's row and column | ||
Cofactor | A minor with the checkerboard sign attached |
Examples of Determinants
The examples move from a clean 2×2, through a 3×3 by full expansion, to a case where a property saves nearly all the work.
Example 1
Find the determinant of .
The result is nonzero, so this matrix is invertible.
Example 2
Find the determinant of , watching the sign on the negative entry.
The intuitive move is to read as "top-left times bottom-right, minus top-right times bottom-left" and write:
Here is the trap. If you rush, you write , dropping the fact that is itself negative. Subtracting a negative adds:
The correct answer is , not . The minus sign in the formula and the minus sign inside are two separate signs — resolve the inner one first.
Example 3
Expand the determinant of along the top row.
First minor:
Second minor:
Third minor:
Now assemble with the signs:
Example 4
Find the determinant of .
The middle column is all zeros. Expanding along that column multiplies every term by :
A matrix with an all-zero row or column always has determinant . It is not invertible, and its columns are flattened onto a line — zero area.
Example 5
Find the determinant of the upper-triangular matrix .
For a triangular matrix — all entries below (or above) the diagonal are zero — the determinant is just the product of the diagonal entries:
Expanding by cofactors would give the same after far more arithmetic. Recognising the shape is the shortcut.
Example 6
Use Cramer's rule to solve the system and .
Write the coefficient matrix and its determinant:
Replace the -column with the constants for :
Replace the -column for :
Then:
Because , the system has exactly one solution. For the full method, see Cramer's rule.
Why "det" is Cramer's yes-or-no light
The determinant earns its keep as a single yes-or-no signal. Before you spend effort inverting a matrix or solving a system, one number tells you whether the work is even possible.
Invertibility gate. A singular matrix, one with , cannot be inverted. Its rows are linearly dependent, so a system built on it has either no solution or infinitely many, never a unique one.
Geometry of transformations. The determinant is the area scale factor in 2D and the volume scale factor in 3D. A determinant of means the transformation flattens space into a lower dimension; a negative determinant means it flips orientation, like a mirror.
Cramer's rule. Solving linear systems by ratios of determinants — the historical reason determinants were formalised — still underlies textbook methods and hand computation.
The stakes get real when the determinant sits near zero without being zero. Near-singular matrices are numerically fragile: tiny changes in the data cause huge changes in the answer, a problem engineers call ill-conditioning. Structural-analysis and control systems have to watch for it, because a matrix that is "almost singular" quietly produces answers you cannot trust.
Properties That Shrink The Arithmetic
A few properties let you avoid full expansion. Each one is a legal move that either leaves the determinant unchanged or changes it in a predictable way.
Row/column swap flips the sign. Exchanging two rows (or two columns) multiplies the determinant by .
Two equal rows force zero. If two rows (or columns) are identical, the determinant is .
Adding a multiple of one row to another changes nothing. This is the property that powers row reduction — you can create zeros without altering the answer.
Triangular shortcut. For a triangular matrix, the determinant is the product of the diagonal.
Transpose is invariant. , so a matrix and its transpose share a determinant.
Product rule. .
Common Mistakes With Determinants
Mistake 1: Dropping the checkerboard sign
Where it slips in: Expanding a 3×3 along a row and multiplying every entry by its minor with a plus sign.
Don't do this: Compute with all additions.
The correct way: Attach across the row. The middle term is subtracted. The first-instinct error on a 3×3 is to add all three cofactor products; the minus on the second term is the one that vanishes.
Mistake 2: Deleting the wrong row or column for a minor
Where it slips in: Forming the minor for the entry in row 1, column 2.
Don't do this: Delete row 1 and column 1 out of habit, because the top-left is where you started.
The correct way: For the entry in row , column , delete that entry's row and column . In a 3×3 the leftover 2×2 grids look alike, so a second-guesser who "checks by re-deleting a different column" often talks themselves into the wrong minor. Delete once, deliberately, and move on.
Mistake 3: Treating the inner minus as if it weren't there
Where it slips in: A 2×2 with a negative entry, as in Example 2.
Don't do this: Read and write when .
The correct way: Resolve the product with its sign first, then subtract. Subtracting a negative adds.
At Bhanzu, trainers teach the 3×3 by writing the sign row above the matrix first, so the pattern is on the page before any minor is computed — the checkerboard never gets dropped because it was written down first.
Conclusion
A determinant is a single number computed from a square matrix; it is zero exactly when the matrix cannot be inverted.
The 2×2 determinant is ; the 3×3 expands by cofactors along a row with the sign pattern.
A minor deletes one row and column; a cofactor attaches the checkerboard sign.
Properties — swap flips sign, equal rows give zero, triangular gives the diagonal product — cut the arithmetic sharply.
Determinants gate invertibility, measure area and volume scaling, and drive Cramer's rule.
A Practical Next Step
Practice the 2×2 formula until the sign handling in Example 2 feels automatic, then work three 3×3 expansions writing the row first every time. When a determinant comes out zero, pause and check for an all-zero line or two identical rows before assuming an arithmetic slip. To take determinants further with a teacher, explore Bhanzu's algebra tutor or get structured help with algebra, and for older students the high school math tutor covers matrices in full. Want a live Bhanzu trainer to walk through more matrix problems? Book a free demo class.
Read More
Cramer's rule — solving systems using ratios of determinants.
Singular matrix — what a zero determinant tells you.
Cofactor matrix — the grid of signed minors behind the expansion.
Order of a matrix — reading the size that decides whether a determinant exists.
Was this article helpful?
Your feedback helps us write better content
Frequently Asked Questions
Is a determinant the same as a matrix?
What does a determinant of zero mean?
Which row or column should I expand a 3×3 along?
Why does swapping two rows change the sign?
Do determinants exist for non-square matrices?


