Two-by-two determinant
Measure signed area scaling and test invertibility.
Two-by-two determinant is one of 5 matrices formulas in the linear algebra section of this library, and it is used at high school · university level.
Why two-by-two determinant works
The two columns of the matrix are arrows in the plane, and ad − bc is the signed area of the parallelogram they stretch out. If the two arrows lie along one line, that parallelogram is flat and the area is 0, which is exactly the situation where the matrix squashes the plane down and cannot be undone.
What each symbol means
$a,b,c,d$ are matrix entries.
Two-by-two determinant: when it holds
The matrix is invertible exactly when $ad-bc\ne0$.
When it stops applying
A determinant of zero means the columns are multiples of each other and the matrix has no inverse. [[2, 4], [1, 2]] gives 2(2) − 4(1) = 0, so the associated system either has no solution or infinitely many, and every formula that divides by the determinant stops here.
Two-by-two determinant: a worked example
$\det\begin{bmatrix}2&1\\3&4\end{bmatrix}=8-3=5$.
The mistake to avoid
What people do: Students pair the entries by rows or by columns, computing ab − cd instead of ad − bc.
Why it goes wrong: The determinant multiplies along the diagonals, not along a row or a column. For [[2, 1], [3, 4]] the wrong pairing gives 2(1) − 3(4) = −10 rather than the correct 5.
Do this instead: Draw the two diagonals: top-left times bottom-right, minus top-right times bottom-left. That is 2(4) − 1(3) = 8 − 3 = 5.
Two-by-two determinant: step by step
- Name the unknown, and the unit the answer has to come out in.
- Match the symbols to your values. $a,b,c,d$ are matrix entries.
- Check the conditions before substituting. The matrix is invertible exactly when $ad-bc\ne0$.
- Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate — the check that catches most linear algebra slips.
Where this formula fits
- Subject
- Linear Algebra formulas — 17 entries in this library
- Topic
- Matrices
- Level
- High school · University
Formulas are easiest to keep when they sit inside a method rather than on a list. Use the links below to see where two-by-two determinant comes from, to check a calculation against a tool, and to practise it until you can recall it without looking.
- Matrix Operations — the lesson behind this formula: add, scale, and multiply matrices with attention to dimensions.
- Linear Algebra Calculator — check your substitution and the value it produces.
- Study linear algebra — the subject guide that explains the ideas these formulas compress.
- Linear Algebra Practice — questions that make you retrieve the formula instead of recognising it.
- All 17 linear algebra formulas — the full grouped reference, or the complete formula library.
Questions about two-by-two determinant
What does a negative determinant mean?
That the transformation flips orientation, turning a counterclockwise loop into a clockwise one, like a mirror. The size of the number still gives the area scaling; only the handedness has changed.
Is det(A + B) equal to det A + det B?
No, and it usually is not close. The 2 by 2 identity has determinant 1, but adding it to itself gives [[2, 0], [0, 2]] with determinant 4, not 2.
Does the 3 by 3 case use the same diagonal trick?
Not this one. A 3 by 3 needs cofactor expansion, which breaks it into three of these 2 by 2 determinants with alternating signs, and the diagonal shortcut you may have seen does not extend past size 3.
What does a determinant of exactly 1 tell me?
That the transformation preserves area and orientation. Rotations are the classic example: they move everything around without stretching or reflecting it.