CP 3.5 - Determinants and scale factors

CP 3.5 - Determinants and scale factors

A matrix moves points, but its determinant tells you what happens to an entire shape. You will calculate determinants of two by two and three by three matrices, then interpret their size and sign as information about area, volume and orientation.

The determinant as signed area

Can a transformation move corners of a square while leaving its area unchanged? Consider the matrix S=(1201)\mathbf{S} = \begin{pmatrix}1&2\\0&1\end{pmatrix}. It fixes (0,0)(0,0) and (1,0)(1,0), but moves the upper corners to (2,1)(2,1) and (3,1)(3,1). The square becomes a sloping parallelogram. Its base and perpendicular height are still both 11, so its area is still 11.

You already know

For a linear transformation, the columns of M\mathbf{M} are the images of the coordinate unit vectors. Matrix multiplication gives the image of any other point. In a product AB\mathbf{A}\mathbf{B}, B\mathbf{B} acts first.

The determinant measures this change of area without requiring you to draw every transformed shape. To see where its formula comes from, let the columns be (a,c)(a,c) and (b,d)(b,d). The image of the unit square has vertices (0,0)(0,0), (a,c)(a,c), (a+b,c+d)(a+b,c+d) and (b,d)(b,d). Subtracting the triangles outside this parallelogram, or using the coordinate area formula, gives the signed area ad−bcad-bc.

[DIAGRAM: asset_name: A unit square and its sheared image; asset_slug: 9fm0-cp35-shear-area; caption: The square and its sheared image both have base 1 and perpendicular height 1; description: Two coordinate panels show the unit square with vertices (0,0), (1,0), (1,1), (0,1), then its image with vertices (0,0), (1,0), (3,1), (2,1) under S with rows (1,2) and (0,1). Blue and lavender arrows show the images of the first and second unit vectors. Each panel labels area 1 and perpendicular height 1.]
The square and its sheared image both have base 1 and perpendicular height 1

Determinant

The determinant of a square matrix is a single number, written det⁡M\det\mathbf{M} or ∣M∣|\mathbf{M}|. For a two by two transformation matrix, its modulus is the area scale factor; its sign records orientation. For example, det⁡S=1\det\mathbf{S}=1. A determinant is a number, not a matrix.

Orientation means the order in which you travel round corresponding labelled vertices. If O,A,BO,A,B are anticlockwise and their images are clockwise, orientation is reversed. A positive determinant preserves orientation; a negative determinant reverses it. A rotation through 180∘180^\circ preserves orientation even though every non-zero position vector points the opposite way afterwards.

For S\mathbf{S}, replacing 22 by any real number tt still gives determinant 11. You can shear the top of a square as far sideways as you please without changing its area. Lengths and angles change; area survives. This is why determinant 11 does not mean “a rotation”.

Key idea

The modulus of the determinant measures area change; the sign measures orientation change. Neither tells you the complete transformation.

The next check separates an area statement from a statement about lengths.

Calculating two by two determinants

For a two by two matrix, multiply down the main diagonal and subtract the product on the other diagonal. Keep the subtraction visible when entries are negative.

Two by two determinant

For M=(abcd)\mathbf{M}=\begin{pmatrix}a&b\\c&d\end{pmatrix},

det⁡M=ad−bc\det\mathbf{M}=ad-bc

Not in the formula booklet: learn it.

The vertical bars are an alternative notation for the determinant, so ∣abcd∣\begin{vmatrix}a&b\\c&d\end{vmatrix} means ad−bcad-bc, not a matrix with different brackets.

Worked example 1: a positive determinant

Question. Find the determinant of A=(2113)\mathbf{A}=\begin{pmatrix}2&1\\1&3\end{pmatrix}.

Plan. Calculate the main-diagonal product minus the other-diagonal product.

det⁡A=2(3)−1(1)use ad−bc=6−1=5subtract the products\begin{aligned} \det\mathbf{A}&=2(3)-1(1) && \text{use }ad-bc\\ &=6-1=5 && \text{subtract the products} \end{aligned}

Why this step? The order of subtraction fixes the sign, which carries geometrical information.

Answer. det⁡A=5\det\mathbf{A}=5.

Check. The image unit vectors are (2,1)(2,1) and (1,3)(1,3). They occur in anticlockwise order, consistent with a positive determinant.

Worked example 2 changes the sign of one entry. This time subtracting a negative product is the decision to watch.

Worked example 2: a negative entry

Question. Calculate det⁡B\det\mathbf{B}, where B=(2−113)\mathbf{B}=\begin{pmatrix}2&-1\\1&3\end{pmatrix}.

Plan. Use the same two products, including the negative sign in the second entry.

det⁡B=2(3)−(−1)(1)retain the negative entry=6+1=7subtract a negative\begin{aligned} \det\mathbf{B}&=2(3)-(-1)(1) && \text{retain the negative entry}\\ &=6+1=7 && \text{subtract a negative} \end{aligned}

Why this step? The minus in ad−bcad-bc belongs to the determinant formula; it does not replace the minus already inside bb.

Answer. det⁡B=7\det\mathbf{B}=7.

Check. Changing bb from 11 to −1-1 changes −bc-bc from −1-1 to +1+1, increasing the determinant by 22, from 55 to 77.

An entry and the formula's subtraction can supply separate minus signs.

Watch out

Wrong: ∣2−113∣=6−1=5\begin{vmatrix}2&-1\\1&3\end{vmatrix}=6-1=5. Right: 6−(−1)=76-(-1)=7. Write the signed product in brackets before simplifying.

Change the sign of the other off-diagonal entry in your own calculation.

Calculating three by three determinants

A three by three determinant reduces to three two by two determinants. The alternating signs do the bookkeeping; choosing a row containing a zero reduces the arithmetic.

Deleting the row and column of an entry leaves a two by two matrix. Its determinant is the entry's minor. For expansion along the top row, the signs are plus, minus, plus.

Expansion along the first row

For M=(abcdefghi)\mathbf{M}=\begin{pmatrix}a&b&c\\d&e&f\\g&h&i\end{pmatrix},

det⁡M=a∣efhi∣−b∣dfgi∣+c∣degh∣\det\mathbf{M} =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}

Not in the formula booklet: learn it.

Each coefficient multiplies the minor obtained by deleting its own row and column. You may expand along any row or column, with signs from the checkerboard (+−+−+−+−+)\begin{pmatrix}+&-&+\\-&+&-\\+&-&+\end{pmatrix}. These signed minors are called cofactors; they will reappear when you find inverses.

Worked example 3: using a zero

Question. Calculate the determinant of D=(2101320−14)\mathbf{D}=\begin{pmatrix}2&1&0\\1&3&2\\0&-1&4\end{pmatrix}.

Plan. Expand along the first row, where the zero removes the third term.

det⁡D=2∣32−14∣−∣1204∣signs +,−,+=2(12+2)−(4−0)evaluate the minors=28−4=24combine\begin{aligned} \det\mathbf{D} &=2\begin{vmatrix}3&2\\-1&4\end{vmatrix} -\begin{vmatrix}1&2\\0&4\end{vmatrix} && \text{signs }+,-,+\\ &=2(12+2)-(4-0) && \text{evaluate the minors}\\ &=28-4=24 && \text{combine} \end{aligned}

Why this row? One zero means only two minors need evaluating; the matrix itself is unchanged.

Answer. det⁡D=24\det\mathbf{D}=24.

Check. Expanding down the first column gives 2(14)−1(4)+0=242(14)-1(4)+0=24 as well.

Worked example 4 changes only the top-right entry, from zero to a negative number. All three terms now contribute.

Worked example 4: all three terms

Question. Find the determinant of E=(21−11320−14)\mathbf{E}=\begin{pmatrix}2&1&-1\\1&3&2\\0&-1&4\end{pmatrix}.

Plan. Expand along the first row, keeping its −1-1 separate from the cofactor signs.

det⁡E=2(3×4−2×(−1))−1(1×4−2×0)+(−1)(1×(−1)−3×0)three signed minors=28−4+1=25simplify\begin{aligned} \det\mathbf{E} &=2(3\times4-2\times(-1))\\ &\quad-1(1\times4-2\times0)\\ &\quad+(-1)(1\times(-1)-3\times0) && \text{three signed minors}\\ &=28-4+1=25 && \text{simplify} \end{aligned}

Why this step? The third cofactor sign is positive, but the entry multiplying that minor is −1-1. The minor is also −1-1, so the contribution is +1+1.

Answer. det⁡E=25\det\mathbf{E}=25.

Check. The first-column expansion is 2(14)−(4−1)=28−3=252(14)-(4-1)=28-3=25.

The common failure is to handle the middle term as positive, especially when its coefficient is already negative.

Watch out

Wrong: a(ei−fh)+b(di−fg)+c(dh−eg)a(ei-fh)+b(di-fg)+c(dh-eg). Right: the middle term is −b(di−fg)-b(di-fg). Write +,−,++,-,+ before inserting entries, then evaluate each minor separately.

One more change to the top-right entry gives a closely matched check.

Area, volume and orientation

Once you have the determinant, interpreting it is often shorter than calculating it. Keep the signed determinant and the positive scale factor as separate statements.

Geometrical scale factors

For a real square transformation matrix M\mathbf{M},

image area=∣det⁡M∣×original areain two dimensions\text{image area}=|\det\mathbf{M}|\times\text{original area} \quad\text{in two dimensions} image volume=∣det⁡M∣×original volumein three dimensions\text{image volume}=|\det\mathbf{M}|\times\text{original volume} \quad\text{in three dimensions}

A positive determinant preserves orientation; a negative determinant reverses it. A zero determinant collapses area or volume to zero, so orientation is no longer defined for that image.

Not in the formula booklet: learn it.

In three dimensions, orientation distinguishes right-handed and left-handed arrangements of three independent directions. A reflection in a coordinate plane reverses orientation. A rotation preserves it. A three-dimensional determinant scales volume, not the area of every surface: a flattened box can have zero volume while retaining a non-zero face area.

Worked example 5: recovering an original area

Question. The matrix P=(1423)\mathbf{P}=\begin{pmatrix}1&4\\2&3\end{pmatrix} maps a triangle to a triangle of area 3535. Find the original area and state the effect on orientation.

Plan. Calculate the determinant, divide the image area by its modulus, then interpret its sign.

det⁡P=1(3)−4(2)=−5signed determinantoriginal area=35∣−5∣=7undo the area factor\begin{aligned} \det\mathbf{P}&=1(3)-4(2)=-5 && \text{signed determinant}\\ \text{original area}&=\frac{35}{|-5|}=7 && \text{undo the area factor} \end{aligned}

Why divide? The given area belongs to the image, so 35=5×original area35=5\times\text{original area}.

Answer. The original area is 77 square units; orientation is reversed.

Check. 5×7=355\times7=35, and neither area is negative.

Worked example 6 changes the dimension. The same interpretation now concerns volume, and the determinant comes from three directions.

Worked example 6: recovering a volume

Question. A solid is transformed by Q=(2000−30004)\mathbf{Q}=\begin{pmatrix}2&0&0\\0&-3&0\\0&0&4\end{pmatrix}. Its image has volume 168168. Find the original volume and state the effect on orientation.

Plan. Multiply the diagonal entries to find the determinant, then divide by its modulus.

det⁡Q=2(−3)(4)=−24diagonal determinantoriginal volume=16824=7undo the volume factor\begin{aligned} \det\mathbf{Q}&=2(-3)(4)=-24 && \text{diagonal determinant}\\ \text{original volume}&=\frac{168}{24}=7 && \text{undo the volume factor} \end{aligned}

Why this step? The separate stretches multiply volume by 22, 33 and 44; the negative entry reverses one direction and therefore reverses orientation.

Answer. The original volume is 77 cubic units; orientation is reversed.

Check. A unit cube becomes a box with side lengths 22, 33, 44, whose volume is 2424.

A negative determinant changes orientation without making a geometric volume negative.

Watch out

Wrong: the original volume is 168/(−24)=−7168/(-24)=-7. Volumes scale by the modulus of the determinant, so the correct calculation is 168/24=7168/24=7. Use the negative sign separately to state that orientation is reversed.

For successive transformations, the scale factors multiply. In determinant notation, det⁡(AB)=det⁡Adet⁡B\det(\mathbf{A}\mathbf{B})=\det\mathbf{A}\det\mathbf{B}; this result is not in the formula booklet. Two negative determinants therefore give a positive determinant: reversing orientation twice restores it. For an enlargement with length scale factor kk, the determinant is k2k^2 in two dimensions and k3k^3 in three dimensions. A determinant is rarely a length scale factor.

Exam tip

If asked for an area or volume scale factor, give the modulus. State the orientation separately. For example, determinant −24-24 means volume factor 2424, with orientation reversed.

The opening shear now has a numerical explanation: its determinant is 11, so every area, not just the square's area, is preserved.

Quick Recap

  • For a two by two matrix, det⁡M=ad−bc\det\mathbf{M}=ad-bc.
  • For a three by three matrix, expand along a row or column using signed two by two minors.
  • ∣det⁡M∣|\det\mathbf{M}| is the area factor in two dimensions and the volume factor in three dimensions.
  • A positive determinant preserves orientation; a negative determinant reverses it; a zero determinant collapses dimension.

Yes, the opening shear moves corners without changing area: det⁡(1201)=1\det\begin{pmatrix}1&2\\0&1\end{pmatrix}=1.