Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library
← Linear Algebra formulas

Two-by-two determinant

Measure signed area scaling and test invertibility.

Linear Algebra · Matrices
$$\det\begin{bmatrix}a&b\\c&d\end{bmatrix}=ad-bc$$

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

  1. Name the unknown, and the unit the answer has to come out in.
  2. Match the symbols to your values. $a,b,c,d$ are matrix entries.
  3. Check the conditions before substituting. The matrix is invertible exactly when $ad-bc\ne0$.
  4. 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.

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.

Stuck on a problem?

Work a two-by-two determinant problem step by step

Type your own problem, or upload a photo of it. You get the method, the answer, and a check you can repeat yourself.