Pm7–Pm10 - Determinants and scale factors

Pm7–Pm10 - Determinants and scale factors

A transformation can push a square sideways, make it much longer and still leave its area unchanged. Pm7 introduces the determinant and singular matrices; Pm8 and Pm9 connect its size and sign to area, volume and orientation. Pm10 lets you combine scale factors without multiplying every matrix entry.

Determinants and singular matrices

Can the transformation with matrix S=(1201)\mathbf{S} = \begin{pmatrix}1&2\\0&1\end{pmatrix} turn a unit square into a much wider parallelogram without increasing its area?

Its vertices become (0,0)(0,0), (1,0)(1,0), (3,1)(3,1) and (2,1)(2,1). The image is wider, but its horizontal base and perpendicular height are still both 11, so its area is still 11. A single number extracted from the matrix will predict this, and much more.

You already know

A linear transformation acts on a column vector by multiplication on the left. Its matrix columns are the images of the coordinate unit vectors. A product MN\mathbf{M}\mathbf{N} applies N\mathbf{N} first and M\mathbf{M} second.

The number we need is called a determinant. It belongs to a square matrix; it is a scalar, not another matrix. For a matrix of order 22, multiply the downward diagonal and subtract the other diagonal product.

Determinant of a matrix of order 2

For real entries aa, bb, cc and dd,

det⁡(abcd)=ad−bc\det\begin{pmatrix}a&b\\c&d\end{pmatrix} = ad-bc

The notations det⁡M\det\mathbf{M} and ∣M∣|\mathbf{M}| both mean the determinant. The vertical bars here do not mean “take a positive value”.

Not in the formula booklet: learn it.

A zero determinant is a structural warning. Some distinct points have the same image, so the transformation has lost information and cannot be undone uniquely.

Singular and non-singular

A square matrix is singular if it has no inverse; equivalently, its determinant is zero. It is non-singular if its determinant is non-zero. For example, (1224)\begin{pmatrix}1&2\\2&4\end{pmatrix} is singular, although none of its entries is zero. The identity matrix is non-singular.

The next two examples differ in one feature: the second row becomes a multiple of the first. Watch what happens to the determinant.

Worked example 1: a non-zero determinant

Question. Find the determinant of A=(3214)\mathbf{A} = \begin{pmatrix}3&2\\1&4\end{pmatrix} and state whether A\mathbf{A} is singular.

Plan. Calculate the two diagonal products in their correct order, then compare the result with zero.

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

Why this step? Singularity depends on whether the determinant is zero, not whether individual entries are zero.

Answer. det⁡A=10\det\mathbf{A} = 10, so A\mathbf{A} is non-singular.

Check. The two column vectors (31)\begin{pmatrix}3\\1\end{pmatrix} and (24)\begin{pmatrix}2\\4\end{pmatrix} are not parallel, consistent with a non-zero area scale factor.

In Worked example 2, only the second row changes. Proportional rows make the two diagonal products equal.

Worked example 2: a determinant of zero

Question. Find the determinant of B=(3264)\mathbf{B} = \begin{pmatrix}3&2\\6&4\end{pmatrix} and state whether B\mathbf{B} is singular.

Plan. Apply the same determinant calculation, then interpret a zero result.

det⁡B=3(4)−2(6)use ad−bc=12−12=0equal products cancel\begin{aligned} \det\mathbf{B} &= 3(4)-2(6) && \text{use } ad-bc \\ &= 12-12 = 0 && \text{equal products cancel} \end{aligned}

Why this step? Every image has second coordinate twice its first, so all images lie on the line y=2xy=2x; the transformation cannot preserve two-dimensional information.

Answer. det⁡B=0\det\mathbf{B} = 0, so B\mathbf{B} is singular.

Check. Both (00)\begin{pmatrix}0\\0\end{pmatrix} and (2−3)\begin{pmatrix}2\\-3\end{pmatrix} map to (00)\begin{pmatrix}0\\0\end{pmatrix}. There could be no unique reverse transformation.

Keep the determinant's sign until you have decided what it means geometrically.

Watch out

Wrong: det⁡(1321)=∣1−6∣=5\det\begin{pmatrix}1&3\\2&1\end{pmatrix} = |1-6| = 5. Right: the determinant is 1−6=−51-6=-5. Its magnitude is 55, but the negative sign carries information about orientation.

The following matrix has the same proportional-row feature as Worked example 2, with different entries.

Area and orientation in the plane

The determinant's magnitude tells you how much area changes, while its sign tells you whether the order of labelled vertices is preserved or reversed.

Start with the unit square. Its two edge vectors are the coordinate unit vectors, so their images are the two matrix columns. The resulting parallelogram makes the determinant's role visible. The same area multiplier applies to any region, wherever it lies in the plane; it is not restricted to squares or regions containing the origin.

[DIAGRAM: asset_name: Area and orientation under a shear and reflection; asset_slug: determinant_area_orientation; caption: A shear preserves area and an added reflection reverses orientation while preserving area; description: Three equal-scale coordinate diagrams show the unit square ABCD with vertices (0,0), (1,0), (1,1), (0,1), its image under the matrix with rows (1,2) and (0,1), and its image under the matrix with rows (1,2) and (0,minus 1). Labelled vertex order is anticlockwise in the first two panels and clockwise in the third. Each region has area 1. The determinants are 1, 1 and minus 1 respectively.]
A shear preserves area and an added reflection reverses orientation while preserving area

The parallelogram in the middle is slanted, yet its base and perpendicular height still give area 11. A determinant describes area change; it does not describe changes in individual lengths or angles.

Area scale factor and orientation

For a real matrix M\mathbf{M} of order 22,

Aimage=∣det⁡M∣ AobjectA_{\text{image}} = |\det\mathbf{M}|\,A_{\text{object}}

If det⁡M>0\det\mathbf{M}>0, orientation is preserved: clockwise vertex order stays clockwise, and anticlockwise stays anticlockwise. If det⁡M<0\det\mathbf{M}<0, orientation is reversed. If det⁡M=0\det\mathbf{M}=0, every region has image area zero: the plane collapses onto a line or a point, so clockwise order no longer applies.

Not in the formula booklet: learn it.

Use “area scale factor” explicitly. A determinant of 55 does not make the image area 55 unless the original area was 11.

Worked example 3: area increases and orientation stays

Question. A triangle has area 33 square units and its vertices are labelled clockwise. It is transformed by M=(2113)\mathbf{M} = \begin{pmatrix}2&1\\1&3\end{pmatrix}. Find its image area and state the image's orientation.

Plan. Calculate the determinant, use its magnitude to scale the original area, and use its sign for orientation.

det⁡M=2(3)−1(1)=5determinantAimage=∣5∣×3=15scale the original area\begin{aligned} \det\mathbf{M} &= 2(3)-1(1)=5 && \text{determinant} \\ A_{\text{image}} &= |5|\times3=15 && \text{scale the original area} \end{aligned}

Why this step? The determinant gives a multiplier, so the original area must still be included.

Answer. The image has area 1515 square units. Its vertices remain clockwise because the determinant is positive.

Check. For a unit square the column vectors give a parallelogram with area 55, consistent with the multiplier.

Worked example 4 changes only the sign of the second row. This adds a reflection in the xx-axis after the first transformation, so the area should stay the same and orientation should reverse.

Worked example 4: the same area with reversed orientation

Question. The same clockwise-labelled triangle of area 33 square units is transformed by N=(21−1−3)\mathbf{N} = \begin{pmatrix}2&1\\-1&-3\end{pmatrix}. Find its image area and state the image's orientation.

Plan. Repeat the calculation, keeping the determinant's sign separate from its magnitude.

det⁡N=2(−3)−1(−1)=−5signed determinantAimage=∣−5∣×3=15positive area multiplier\begin{aligned} \det\mathbf{N} &= 2(-3)-1(-1)=-5 && \text{signed determinant} \\ A_{\text{image}} &= |-5|\times3=15 && \text{positive area multiplier} \end{aligned}

Why this step? Negative area is not the interpretation. The magnitude scales area; the sign reverses the labelled order.

Answer. The image has area 1515 square units and its vertices are labelled anticlockwise.

Check. N=(100−1)M\mathbf{N}=\begin{pmatrix}1&0\\0&-1\end{pmatrix}\mathbf{M}: reflection changes the sign of every image's second coordinate but preserves its area.

A surprisingly large shear can preserve area. Replacing the 22 in the opening matrix by 100100 gives (110001)\begin{pmatrix}1&100\\0&1\end{pmatrix}, still with determinant 11. The top edge of a unit square moves 100100 units sideways, yet no area is gained.

Exam tip

State both conclusions precisely: “area is unchanged” and “orientation is preserved” when the determinant is 11. Area preservation does not imply that lengths, angles or the whole shape are unchanged.

Now change the magnitude as well as the sign, and apply both pieces of information.

Watch out

Wrong: the image area is (−5)×3=−15(-5)\times3=-15. Area is non-negative; the determinant’s sign records orientation. The correct area is ∣−5∣×3=15|-5|\times3=15, with the vertex order reversed.

Use the magnitude for area and the sign for the next orientation decision.

Volume and handedness in three dimensions

For a transformation in three dimensions, replace area by volume and clockwise order by handedness.

A unit cube has three edges from the origin. Their image vectors are the three columns of its transformation matrix, and the cube becomes a parallelepiped. A reflection in a coordinate plane turns a right-handed arrangement into a left-handed one, just as a mirror changes a right glove into a left glove. A rotation preserves handedness.

[DIAGRAM: asset_name: A cube stretched reflected or flattened; asset_slug: determinant_volume_collapse; caption: Magnitude measures volume change while the sign distinguishes preservation, reversal or collapse; description: Three coordinate diagrams show the image of the unit cube under diagonal matrices with diagonal entries (2,1,1), (minus 2,1,1), and (2,1,0). The first is a cuboid of volume 2 with determinant 2, the second is its reflected cuboid of volume 2 with determinant minus 2, and the third is a rectangle in the xy plane with volume zero and determinant zero. The axes x, y and z and the transformed coordinate edges are visible.]
Magnitude measures volume change while the sign distinguishes preservation, reversal or collapse

You may use a calculator to calculate numerical determinants and inverses of order 33. Enter the full matrix, select its determinant function and record the matrix and result in mathematical notation. A later lesson develops the hand method needed when algebraic entries prevent direct numerical evaluation.

Volume scale factor and handedness

For a real matrix M\mathbf{M} of order 33,

Vimage=∣det⁡M∣ VobjectV_{\text{image}} = |\det\mathbf{M}|\,V_{\text{object}}

A positive determinant preserves handedness; a negative determinant reverses it. A zero determinant gives zero image volume: all images lie in a plane, a line or a point. For example, diag⁡(1,1,0)\operatorname{diag}(1,1,0) maps every (x,y,z)(x,y,z) to (x,y,0)(x,y,0), flattening space onto the xyxy-plane.

Not in the formula booklet: learn it.

When a face is viewed from a point SS, compare its labelled order with the image face viewed from the image S′S'. With a negative determinant, clockwise becomes anticlockwise in that corresponding view. Keeping the viewing point fixed instead can give a misleading picture.

Worked example 5: a volume scale factor from a calculator

Question. A solid of volume 22 cubic units is transformed by

A=(210031102)\mathbf{A}=\begin{pmatrix}2&1&0\\0&3&1\\1&0&2\end{pmatrix}

Find the image volume and state whether handedness is preserved.

Plan. Evaluate the determinant of the entered matrix, then use its magnitude and sign separately.

det⁡A=13calculator determinantVimage=∣13∣×2=26scale the original volume\begin{aligned} \det\mathbf{A} &= 13 && \text{calculator determinant} \\ V_{\text{image}} &= |13|\times2=26 && \text{scale the original volume} \end{aligned}

Why this step? There are three coordinates, so the determinant scales volume, not area.

Answer. The image volume is 2626 cubic units and handedness is preserved.

Check. The images of the coordinate unit vectors are (2,0,1)(2,0,1), (1,3,0)(1,3,0) and (0,1,2)(0,1,2), matching the entered columns. This catches a common matrix-entry error before using the output.

Worked example 6 changes only the top-left entry from 22 to −2-2. This is not a reflection of the whole previous image: changing a whole row would be needed for that. Recalculate rather than guessing the new determinant.

Worked example 6: a negative volume determinant

Question. The solid of volume 22 cubic units is instead transformed by

B=(−210031102)\mathbf{B}=\begin{pmatrix}-2&1&0\\0&3&1\\1&0&2\end{pmatrix}

Find the image volume and state whether handedness is preserved.

Plan. Enter the changed matrix afresh, then interpret its determinant.

det⁡B=−11calculator determinantVimage=∣−11∣×2=22use the magnitude\begin{aligned} \det\mathbf{B} &= -11 && \text{calculator determinant} \\ V_{\text{image}} &= |-11|\times2=22 && \text{use the magnitude} \end{aligned}

Why this step? A change to one entry can change the determinant's magnitude as well as its sign.

Answer. The image volume is 2222 cubic units and handedness is reversed.

Check. The first unit vector now maps to (−2,0,1)(-2,0,1); the other two images are unchanged. Re-entering those three columns gives the same determinant −11-11.

Zero volume describes a collapse, not necessarily the disappearance of every point.

Watch out

Wrong: “A determinant of zero sends every point to the origin.” Right: it sends space into a lower-dimensional set. The matrix diag⁡(1,1,0)\operatorname{diag}(1,1,0) leaves every point of the xyxy-plane fixed while giving every solid zero image volume.

The next matrix changes the entries again, so its determinant must be found rather than inferred from its appearance.

Determinants of successive transformations

Successive transformations multiply their area scale factors, so determinants let you predict the combined effect before doing the full matrix multiplication.

If a region's area is first multiplied by pp and then by qq, its final area is pqpq times the original. Orientation behaves similarly: one reversal reverses the order, while two reversals restore it.

Determinant of a product

For square matrices M\mathbf{M} and N\mathbf{N} of the same order,

det⁡(MN)=(det⁡M)(det⁡N)\det(\mathbf{M}\mathbf{N})=(\det\mathbf{M})(\det\mathbf{N})

For transformations in the plane, the combined area scale factor is ∣det⁡M∣ ∣det⁡N∣|\det\mathbf{M}|\,|\det\mathbf{N}|. Either order of the two transformations has the same determinant, even when the transformation matrices do not commute.

Not in the formula booklet: learn it.

Equal determinants do not mean equal matrices. They only mean equal signed scale factors, so they do not remove the need to keep matrix multiplication in order.

Worked example 7: a stretch followed by a reflection

Question. A region of area 44 square units is transformed first by M=(2003)\mathbf{M}=\begin{pmatrix}2&0\\0&3\end{pmatrix}, then by N=(−1001)\mathbf{N}=\begin{pmatrix}-1&0\\0&1\end{pmatrix}. Find the determinant of the combined matrix, the final area and the effect on orientation.

Plan. Use the product rule for NM\mathbf{N}\mathbf{M}, then interpret its sign and magnitude.

det⁡M=2(3)=6stretch determinantdet⁡N=(−1)(1)=−1reflection determinantdet⁡(NM)=(−1)(6)=−6product ruleAfinal=6×4=24combined area multiplier\begin{aligned} \det\mathbf{M} &= 2(3)=6 && \text{stretch determinant} \\ \det\mathbf{N} &= (-1)(1)=-1 && \text{reflection determinant} \\ \det(\mathbf{N}\mathbf{M}) &= (-1)(6)=-6 && \text{product rule} \\ A_{\text{final}} &= 6\times4=24 && \text{combined area multiplier} \end{aligned}

Why this step? The second transformation is on the left in the combined matrix, even though the scalar determinants may be multiplied in either order.

Answer. The combined determinant is −6-6, the final area is 2424 square units and orientation is reversed.

Check. Direct multiplication gives NM=(−2003)\mathbf{N}\mathbf{M}=\begin{pmatrix}-2&0\\0&3\end{pmatrix}, whose determinant is −6-6.

Worked example 8 changes only the second transformation: a singular map replaces the reflection. Once area has collapsed, another linear transformation cannot recover it.

Worked example 8: a singular factor

Question. The same region is transformed first by M=(2003)\mathbf{M}=\begin{pmatrix}2&0\\0&3\end{pmatrix}, then by P=(1111)\mathbf{P}=\begin{pmatrix}1&1\\1&1\end{pmatrix}. Find the determinant of the combined matrix and describe the image.

Plan. Check the new factor's determinant, use the product rule, then inspect the image coordinates.

det⁡P=1(1)−1(1)=0singular second factordet⁡(PM)=0×6=0product rulePM(xy)=(2x+3y2x+3y)equal image coordinates\begin{aligned} \det\mathbf{P} &= 1(1)-1(1)=0 && \text{singular second factor} \\ \det(\mathbf{P}\mathbf{M}) &= 0\times6=0 && \text{product rule} \\ \mathbf{P}\mathbf{M}\begin{pmatrix}x\\y\end{pmatrix} &=\begin{pmatrix}2x+3y\\2x+3y\end{pmatrix} && \text{equal image coordinates} \end{aligned}

Why this step? A zero determinant tells you the area is zero; the coordinates identify the particular line containing the image.

Answer. The combined matrix is singular. The image lies on y=xy=x, has zero area and has no clockwise or anticlockwise orientation.

Check. PM=(2323)\mathbf{P}\mathbf{M}=\begin{pmatrix}2&3\\2&3\end{pmatrix}, with determinant 6−6=06-6=0.

Return to the opening shear. Its determinant is 1(1)−2(0)=11(1)-2(0)=1, so it preserves area and orientation. Repeating it any positive number of times still gives determinant 11, even though the top of the square keeps sliding farther sideways. Area preservation allows a dramatic change of shape.

Watch out

Wrong: “det⁡(MN)=det⁡(NM)\det(\mathbf{M}\mathbf{N})=\det(\mathbf{N}\mathbf{M}), so MN=NM\mathbf{M}\mathbf{N}=\mathbf{N}\mathbf{M}.” Right: many different matrices share a determinant. A determinant records only a signed scale factor, not the complete transformation.

In the final check, the singular factor comes first. The product rule still detects the lost area.

Quick Recap

  • A matrix of order 22 has determinant ad−bcad-bc. A zero determinant means singular; a non-zero determinant means non-singular.
  • In the plane, ∣det⁡M∣|\det\mathbf{M}| scales area. In three dimensions, it scales volume.
  • A positive determinant preserves orientation or handedness; a negative determinant reverses it. Zero means collapse into fewer dimensions.
  • det⁡(MN)=(det⁡M)(det⁡N)\det(\mathbf{M}\mathbf{N})=(\det\mathbf{M})(\det\mathbf{N}), even when the matrices do not commute.

The opening shear has determinant 11: it can make the square much wider while keeping its area exactly 11.