Euler Hall — free maths guides

Compute the determinant ad − bc of a 2 by 2 matrix

Compute the expression with the signs of negative entries handled correctly. The idea in plain words, a worked example, and a check with the answers shown — part of the free Linear Algebra guides.

In plain words

For a2×22\times2 matrix the determinant is one subtraction:

det⁡[abcd]=ad−bc.\det\begin{bmatrix}a&b\\c&d\end{bmatrix}=ad-bc.

Main diagonal product, minus the other diagonal product. That is the whole definition at this size.

det⁡[3−214]=(3)(4)−(−2)(1)=12+2=14.\det\begin{bmatrix}3&-2\\1&4\end{bmatrix}=(3)(4)-(-2)(1)=12+2=14.

Watch the sign of a negative entry: it makes the second product negative, so subtracting it adds. Here(−2)(1)=−2(-2)(1)=-2 and12−(−2)=1412-(-2)=14.

What it means. The determinant is the signed area scale factor of the map. A matrix withdet⁡=0\det=0 squashes the plane onto a line: its columns are dependent and it has no inverse. A determinant of−3-3 also scales areas by33, with the plane flipped over.

Why the formula is what it is

Take the two columnsu=(a,c)\mathbf{u}=(a,c) andv=(b,d)\mathbf{v}=(b,d). The area of the parallelogram they span is∣u∣∣v∣sin⁡θ|\mathbf{u}||\mathbf{v}|\sin\theta, and

Substituting∥u∥2=a2+c2\|\mathbf{u}\|^2=a^2+c^2,∥v∥2=b2+d2\|\mathbf{v}\|^2=b^2+d^2 andu⋅v=ab+cd\mathbf{u}\cdot\mathbf{v}=ab+cd:

The area is∣ad−bc∣|ad-bc|, and the sign records which of the two orientations the pair has. So the formula is not a convention; it is the area, written out.

The same computation shows why dependent columns give zero:sin⁡θ=0\sin\theta=0 collapses the parallelogram to a segment, so the square root is zero, soad−bc=0ad-bc=0.

Worked example, in the exam's shape

Computedet⁡A\det A for A=[4−325],A=\begin{bmatrix}4&-3\\2&5\end{bmatrix}, then decide whetherAA is invertible, and find the inverse.

Determinant. Main diagonal:4⋅5=204\cdot5=20. Other diagonal:(−3)⋅2=−6(-3)\cdot2=-6. det⁡A=20−(−6)=26.\det A=20-(-6)=26.

Invertible?26≠026\ne0, so yes.

Inverse. The2×22\times2 inverse swaps the diagonal entries, negates the others, and divides by the determinant: A−1=126[53−24].\def\arraystretch{1.6}A^{-1}=\frac{1}{26}\begin{bmatrix}5&3\\-2&4\end{bmatrix}.

Check. Multiply:

Same calculation, geometrically. The columns are(4,2)(4,2) and(−3,5)(-3,5). Their parallelogram has area∣26∣=26|26|=26, and because the determinant is positive the pair keeps the standard orientation — the second column lies anticlockwise from the first.

By the end you can
  • Computead−bcad-bc with the signs of negative entries handled correctly
  • Use a zero determinant to conclude the matrix is singular
  • Read the determinant as a signed area scale factor
Check yourself
  1. 1.det⁡[1234]\det\begin{bmatrix}1&2\\3&4\end{bmatrix}?
  2. 2.det⁡[2613]\det\begin{bmatrix}2&6\\1&3\end{bmatrix}?
  3. 3.det⁡[0110]\det\begin{bmatrix}0&1\\1&0\end{bmatrix}?
  4. 4. A2×22\times2 matrix hasdet⁡=0\det=0. Is it invertible?
  5. 5. If a matrix hasdet⁡=−4\det=-4, what is the area scale factor of the map, and what does the sign mean?
Answers
  1. 1.1⋅4−2⋅3=4−6=−21\cdot4-2\cdot3=4-6=-2.
  2. 2.2⋅3−6⋅1=6−6=02\cdot3-6\cdot1=6-6=0 — the second column is3×3\times the first.
  3. 3.0⋅0−1⋅1=−10\cdot0-1\cdot1=-1. It is invertible (it is its own inverse), with a negative determinant because it reverses orientation.
  4. 4. No. A zero determinant means dependent columns and no inverse.
  5. 5. Areas scale by44, and the negative sign means the orientation is reversed — the map is a reflection combined with a stretch.
Work out where to start — free, no accountAnswer six real questions — free, no account