C5 - Determinants in two and three dimensions

C5 - Determinants in two and three dimensions

A determinant turns a square matrix into one number that detects whether its columns retain all their dimensions. You will calculate determinants of order 2 and 3 by expansion, then see why a zero determinant signals a collapse onto a line, a plane or a point. This gives a useful warning before you try to reverse a matrix calculation.

Expanding determinants

Can a matrix send two different inputs to the same output? For (1224)\begin{pmatrix}1&2\\2&4\end{pmatrix}, the inputs (20)\begin{pmatrix}2\\0\end{pmatrix} and (01)\begin{pmatrix}0\\1\end{pmatrix} both give (24)\begin{pmatrix}2\\4\end{pmatrix}. A single number, the determinant, will detect this loss of information.

Determinant

The determinant of a square matrix M\mathbf{M} is a scalar, written det⁡M\det\mathbf{M}, ∣M∣|\mathbf{M}| or Δ\Delta. Determinant bars are not matrix brackets. For a 2×22\times2 matrix,

∣abcd∣=ad−bc\begin{vmatrix}a&b\\c&d\end{vmatrix}=ad-bc

The products run along the two diagonals, with a subtraction between them. This rule is not in the formula booklet.

For the opening matrix the determinant is 1(4)−2(2)=01(4)-2(2)=0. First practise the calculation before interpreting it.

Worked example 1: a determinant of order 2

Question. Find det⁡A\det\mathbf{A} for A=(2103)\mathbf{A}=\begin{pmatrix}2&1\\0&3\end{pmatrix}.

Plan. Multiply down the main diagonal, then subtract the other diagonal product.

det⁡A=2(3)−1(0)=6\det\mathbf{A}=2(3)-1(0)=6

Answer. 66, a number rather than a matrix.

Check. The columns end at (2,0)(2,0) and (1,3)(1,3). The parallelogram they form has horizontal base 2 and perpendicular height 3, so its area is 2×3=62\times3=6, agreeing with the determinant's magnitude.

Change only the bottom-right entry from 3 to −3-3. The second diagonal product stays the same, but the first changes sign.

Worked example 2: a negative determinant

Question. Find det⁡B\det\mathbf{B} for B=(210−3)\mathbf{B}=\begin{pmatrix}2&1\\0&-3\end{pmatrix}.

Plan. Keep both signed diagonal products separate before subtracting.

det⁡B=2(−3)−1(0)=−6\det\mathbf{B}=2(-3)-1(0)=-6

Answer. −6-6. A determinant can be negative; it is not an ordinary unsigned area.

Check. The columns end at (2,0)(2,0) and (1,−3)(1,-3). The parallelogram still has base 2 and height 3, so its area is 6. The second column now points below the first, reversing their orientation compared with the first example.

For order 3, reduce the calculation to determinants of order 2. The minor of an entry is the determinant left after deleting its row and column. Its cofactor is that minor multiplied by the sign in this pattern:

(+−+−+−+−+)\begin{pmatrix}+&-&+\\-&+&-\\+&-&+\end{pmatrix}

Multiply each entry of one row by its cofactor and add. This is cofactor expansion. Along the top row,

∣abcdefghi∣=a∣efhi∣−b∣dfgi∣+c∣degh∣\begin{vmatrix}a&b&c\\d&e&f\\g&h&i\end{vmatrix} =a\begin{vmatrix}e&f\\h&i\end{vmatrix} -b\begin{vmatrix}d&f\\g&i\end{vmatrix} +c\begin{vmatrix}d&e\\g&h\end{vmatrix}

You may instead expand down any column or along any row, using its own cofactor signs. Choose a row or column containing zeros to reduce the work. The expansion rule is not in the formula booklet.

Worked example 3: expanding across the first row

Question. Find det⁡M\det\mathbf{M}, where M=(120031214)\mathbf{M}=\begin{pmatrix}1&2&0\\0&3&1\\2&1&4\end{pmatrix}.

Plan. Expand across row 1; its zero makes the third contribution vanish.

det⁡M=1∣3114∣−2∣0124∣+0∣0321∣signs +,−,+=1(12−1)−2(0−2)evaluate the minors=11+4=15\begin{aligned} \det\mathbf{M} &=1\begin{vmatrix}3&1\\1&4\end{vmatrix} -2\begin{vmatrix}0&1\\2&4\end{vmatrix} +0\begin{vmatrix}0&3\\2&1\end{vmatrix} && \text{signs }+,-,+\\ &=1(12-1)-2(0-2) && \text{evaluate the minors}\\ &=11+4=15 \end{aligned}

Answer. 1515.

Check. Expanding down column 1 gives 1(12−1)+2(2)=151(12-1)+2(2)=15, the same scalar using different minors.

Keep the matrix unchanged and change only the expansion row. This isolates the cofactor sign attached to a different position.

Worked example 4: expanding across the second row

Question. Find the determinant of the same M\mathbf{M} by expanding across row 2.

Plan. Use the signs −,+,−-,+,-; the first entry is zero.

det⁡M=−0∣2014∣+3∣1024∣−1∣1221∣row 2 signs=3(4)−1(1−4)evaluate the minors=12+3=15\begin{aligned} \det\mathbf{M} &=-0\begin{vmatrix}2&0\\1&4\end{vmatrix} +3\begin{vmatrix}1&0\\2&4\end{vmatrix} -1\begin{vmatrix}1&2\\2&1\end{vmatrix} && \text{row 2 signs}\\ &=3(4)-1(1-4) && \text{evaluate the minors}\\ &=12+3=15 \end{aligned}

Answer. 1515.

Check. Direct expansion down column 3 gives −1(1−4)+4(3)=3+12=15-1(1-4)+4(3)=3+12=15. Changing the expansion route cannot change the determinant.

AQA's matrix questions often embed determinant work inside an inverse calculation. Keeping the minor, its cofactor sign and its multiplying entry separate makes errors easier to find.

Watch out

A minor can itself be negative. In Worked example 3 the second contribution is −2(−2)=+4-2(-2)=+4, not −4-4. The alternating sign and the value of the minor are separate pieces of information.

Use a fresh matrix and choose an efficient expansion.

Zero determinant and collapse

Think of M(xy)\mathbf{M}\begin{pmatrix}x\\y\end{pmatrix} as a rule sending an input point to an output point. Its two columns are the outputs of (10)\begin{pmatrix}1\\0\end{pmatrix} and (01)\begin{pmatrix}0\\1\end{pmatrix}, and every output is a linear combination of those columns.

For M=(1224)\mathbf{M}=\begin{pmatrix}1&2\\2&4\end{pmatrix}, the second column is twice the first. Every output is therefore

M(xy)=(x+2y2x+4y)=(x+2y)(12)\mathbf{M}\begin{pmatrix}x\\y\end{pmatrix} =\begin{pmatrix}x+2y\\2x+4y\end{pmatrix} =(x+2y)\begin{pmatrix}1\\2\end{pmatrix}

All outputs lie on the line Y=2XY=2X. A whole square of inputs collapses onto a line; its image has area zero. The two distinct inputs in the opening question share one output because their contributions combine to the same value of x+2yx+2y.

[DIAGRAM: asset_name: A square collapses onto a line; asset_slug: aqa7367-zero-determinant; caption: The matrix with columns (1,2) and (2,4) sends a unit square onto a line segment; description: Two coordinate plots show the unit square with vertices (0,0), (1,0), (1,1), (0,1), and its four labelled images (0,0), (1,2), (3,6), (2,4). The image points all lie on Y equals 2X, so the image has zero area.]
The matrix with columns (1,2) and (2,4) sends a unit square onto a line segment

For a 2×22\times2 matrix, a zero determinant means its columns lie along a single line, or are both zero. The image has at most one independent direction: a line or a point. A non-zero determinant means the two columns retain two independent directions.

In three dimensions, three independent column directions span space. If a 3×33\times3 matrix has determinant zero, those directions are dependent, so a solid can collapse into a plane, a line or a point. For example,

(100010000)(xyz)=(xy0)\begin{pmatrix}1&0&0\\0&1&0\\0&0&0\end{pmatrix} \begin{pmatrix}x\\y\\z\end{pmatrix} =\begin{pmatrix}x\\y\\0\end{pmatrix}

This matrix has determinant zero and sends every point to the plane z=0z=0. Changing the input's third coordinate no longer changes the output. The 3×33\times3 zero matrix collapses everything to the origin.

The magnitude of a determinant gives the area factor in two dimensions or volume factor in three dimensions. At zero, that area or volume vanishes. A non-zero determinant also carries orientation information; you will develop signed scale factors with successive transformations.

Key idea

Zero determinant means lost dimensional information. It does not mean that the matrix is the zero matrix, or that every output is the zero vector.

Distinguish a collapse into a plane from a collapse to the origin.

Quick Recap

  • A determinant is a scalar associated with a square matrix; for order 2 it is ad−bcad-bc.
  • For order 3, expand along one row or column, multiplying entries by signed minors.
  • A zero determinant signals collapse into fewer independent dimensions, rather than requiring every output to be zero.

Yes: distinct inputs can give the same output. The opening matrix loses the distinction between inputs whose value of x+2yx+2y is the same.