Determinant of a matrix
Every square matrix carries a hidden single number that tells you, instantly, whether it can be "undone." That number is the determinant. Feed a matrix a determinant of zero and something has collapsed inside it — a row is a repeat of another, an equation is really two copies of the same line — and no inverse exists. Feed it a non-zero determinant and the matrix is perfectly well-behaved: invertible, and the linear system it represents has exactly one solution. This article builds the idea from scratch: what a determinant is, how and determinants are written and expanded, and why the single test decides singular versus non-singular. Everything later in the Determinants chapter — cofactors, adjoint, inverse, solving equations by matrices — is built to make use of this one number.
A determinant is the single real number attached to a square matrix that is non-zero exactly when is invertible.
The core idea
A determinant exists only for a square matrix (equal rows and columns); a matrix simply has none. Write the matrix with square brackets and its determinant with vertical bars — the two notations are never interchangeable, since a matrix is an array and a determinant is one number. For order 2,
where: are the four entries of read straight off the matrix, and is the product of the leading diagonal minus the product of the other diagonal. For order 3 the determinant is built out of determinants by cofactor expansion along a row (or column), alternating in sign as you move across the row:
where: each determinant multiplying is the minor left after deleting row 1 and column from the original matrix, and the alternating signs are the row-1 slice of the checkerboard sign pattern shown below. The single fact that powers the rest of the chapter is the invertibility test:
- is non-singular, and exists.
- is singular, and does not exist.
A determinant is not "the matrix written more simply" — many different matrices can share one determinant value. It is a diagnostic number: a health check that tells you, before you do any further algebra, whether the matrix is well-behaved enough to invert.
Derivation: expanding a 3x3 determinant using 2x2 determinants
The goal is to show, starting only from the rule that a student already knows, exactly how the expansion formula is built up entry by entry along the first row, why each term needs its own smaller determinant (its minor), and why the signs alternate rather than all being positive, so that the formula stops looking like a rule to memorise and starts looking like a pattern that can be reconstructed on the spot.
Step 1. Take a general matrix with entries , row , column . To expand along row 1, look at each entry in turn and ask: if that entry's row and column were deleted, what matrix is left behind? Deleting row 1 and column 1 leaves the block sitting in the bottom-right, deleting row 1 and column 2 leaves the block skipping column 2, and deleting row 1 and column 3 leaves the block skipping column 3. Each of these leftover determinants is called the minor of that entry.
Step 2. Multiply each entry by its own minor. This gives three products: , , . At this stage nothing has a sign attached yet — just an entry times a smaller determinant.
Step 3. Attach alternating signs. The rule is that position gets sign , so along row 1 the signs run for (since is even, is odd, is even). Adding the signs to Step 2 gives exactly the formula stated above: , where denotes the minor of .
Step 4. Confirm the pattern is not arbitrary by checking it reduces correctly. If the third row and column were absent (order 2 shrinking to order 1 territory conceptually), the same delete-a-row-and-column logic is exactly how the formula itself can be seen as built from "determinants" (single entries). The rule is the same construction one level up, and the identical logic — expand along any row or any column, always with the checkerboard sign — is what "Determinant of a 3x3 matrix" develops fully with worked practice.
Worked example
Check whether is singular or non-singular, expanding along the first row.
Step 1. Write the three minors for row 1, deleting row 1 and the relevant column each time:
Step 2. Evaluate each minor using : , and (the middle minor is not even needed, since it is multiplied by ).
Step 3. Substitute back: .
Step 4. Since , matrix is non-singular and exists.
Competitive stretch
Re-check by expanding along column 1 instead of row 1, to see the answer does not depend on the choice of row or column. The signs down column 1 are (positions ), so
Same answer, , confirming is non-singular however the expansion is done.
Common traps
- Writing a determinant with square brackets, or a matrix with vertical bars — the two notations mean different things and are never swapped.
- Trying to find "the determinant" of a non-square matrix — determinants are defined only for square matrices.
- Getting the checkerboard signs wrong, especially forgetting the middle sign of row 1 (position ) is negative, not positive.
- Confusing (a singular matrix, no inverse) with (the all-zero matrix) — a non-zero matrix, like , can still have determinant zero.
Ask the tutor: Have a specific or matrix you want checked for singular versus non-singular — ask the AI tutor to walk through the expansion with you step by step.
Why do the signs alternate when expanding a determinant instead of everything just being added
The alternating pattern comes from the position rule : it is not a decoration, it is what makes the expansion give the same correct number regardless of which row or column you choose to expand along. If every term were added with a plus sign, expanding along row 1 versus row 2 of the same matrix would give different answers, which cannot be right for something meant to be a single, well-defined number attached to the matrix.
Do I always have to expand along the first row
No. You may expand along any row or any column, and every valid choice gives the identical determinant value, as the worked example above checks directly by comparing a row-1 expansion with a column-1 expansion. The practical tip is to expand along whichever row or column has the most zeros, since a zero entry cancels its entire term without any computation, as row 1 of matrix shows.
Is a determinant of zero the same as saying the matrix itself is the zero matrix
No, and this is one of the most common mix-ups. only says the matrix is singular — some kind of internal dependency exists among its rows or columns, such as one row being a multiple of another. The matrix itself can be full of non-zero numbers; has every entry non-zero yet its determinant is exactly , because row 2 is twice row 1.