Learning Center / Linear algebra
How to find the determinant of a 2×2 or 3×3 matrix
How to find the determinant of a matrix: the ad − bc rule for 2×2, cofactor expansion for 3×3, a shortcut for triangular matrices, and what a zero determinant tells you.
The determinant is a single number worked out from a square matrix. It tells you whether the matrix has an inverse (only if the determinant isn’t 0), how a transformation scales area or volume, and whether a system of equations has exactly one solution. Here is how to find the determinant by hand for 2×2 and 3×3 matrices.
Find the determinant of a 2×2 matrix
Worked example
Easy: a 2×2 determinant
Find the determinant of .
Show the working
- Multiply down the main diagonal, then subtract the other diagonal.
Answer:
Checked by Sumzo’s math engine
How to find the determinant of a 3×3 matrix
Worked example
Medium: cofactor expansion
Find the determinant of .
Show the working
- Minor of 1 (cover its row and column):
- Minor of 2:
- Minor of 3:
- Combine with signs + − +.
Answer:
Checked by Sumzo’s math engine
Worked example
Medium: a zero determinant
Find the determinant of .
Show the working
- Expand along the first row; the 0 makes the middle term vanish.
- Work it out.
- The determinant is 0, so this matrix is singular: it has no inverse.
Answer: — the matrix is singular
Checked by Sumzo’s math engine
A shortcut: triangular matrices
If every entry below (or above) the main diagonal is 0, the determinant is just the product of the diagonal. Row reduction uses this: turn the matrix into a triangular one with row operations, keeping track of how each operation changes the determinant (swapping two rows changes the sign; adding a multiple of one row to another changes nothing).
Worked example
Hard: read it off the diagonal
Find the determinant of .
Show the working
- The matrix is upper triangular, so multiply the diagonal.
Answer:
Checked by Sumzo’s math engine
Common mistakes
- Writing instead of .
- Forgetting the minus sign on the middle term of a 3×3 expansion.
- Covering the wrong row and column when finding a minor.
- Trying to find the determinant of a non-square matrix — only square matrices have one.
Frequently asked questions
How do you find the determinant of a matrix?
For 2×2 use . For 3×3 expand along a row: multiply each entry by the determinant of the 2×2 matrix left when you cover its row and column, and combine with signs + − +.
What does a determinant of 0 mean?
The matrix is singular: it has no inverse, its rows are linearly dependent, and a system of equations with it as the coefficient matrix has no solution or infinitely many.
Can I find the determinant of a 4×4 matrix?
Yes, with the same expansion — each term needs a 3×3 determinant — or by row reduction. The determinant calculator does 4×4 too.