4.03l, 4.03m - Singular matrices and det(AB)

4.03l, 4.03m - Singular matrices and det(AB)

Recognise singular matrices and explain the significance of a zero determinant. Find parameter values that make a matrix singular, and use the determinant of a product to analyse successive transformations without multiplying out every entry.

When a transformation loses a dimension

The matrix S=(1224)\mathbf{S} = \begin{pmatrix}1 & 2 \\ 2 & 4\end{pmatrix} has no zero entries. How can it nevertheless send an entire square to a line, and can a later transformation restore the lost area? The first clue is its determinant:

det⁡S=(1)(4)−(2)(2)=0\det\mathbf{S} = (1)(4) - (2)(2) = 0

You already know

For real transformation matrices, the magnitude of the determinant multiplies area in two dimensions or volume in three dimensions. A zero determinant therefore gives zero image area or zero image volume.

Look at a general image point rather than a particular vertex:

S(xy)=(x+2y2x+4y)=(u2u),u=x+2y\mathbf{S}\begin{pmatrix}x \\ y\end{pmatrix} = \begin{pmatrix}x + 2y \\ 2x + 4y\end{pmatrix} = \begin{pmatrix}u \\ 2u\end{pmatrix},\qquad u = x + 2y

Every image lies on the line with equation y=2xy = 2x. Different object points can have the same image: (20)\begin{pmatrix}2 \\ 0\end{pmatrix} and (01)\begin{pmatrix}0 \\ 1\end{pmatrix} both become (24)\begin{pmatrix}2 \\ 4\end{pmatrix}. The transformation has lost information about where a point started.

[DIAGRAM: asset_name: A singular matrix collapses a square; asset_slug: singular-square-collapse; caption: A square of area 1 is sent to a line segment of area 0.; description: The unit square OABC is shown on the left. The right panel shows the images O at (0, 0), A prime at (1, 2), B prime at (3, 6) and C prime at (2, 4), all on the line y = 2x under the matrix with rows (1, 2) and (2, 4).]
A square of area 1 is sent to a line segment of area 0.

Singular matrix

A square matrix is singular if its determinant is zero, and non-singular if its determinant is non-zero. For example, (1224)\begin{pmatrix}1 & 2 \\ 2 & 4\end{pmatrix} is singular. The matrix (0110)\begin{pmatrix}0 & 1 \\ 1 & 0\end{pmatrix} is non-singular, despite containing zeros, because its determinant is −1-1.

In two dimensions a singular transformation sends the whole plane into a line or a point. The zero matrix sends everything to the origin; singular matrices need not be zero matrices. In three dimensions a singular transformation sends space into a plane, a line or a point, so a solid has zero image volume. For example, (100010000)\begin{pmatrix}1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 0\end{pmatrix} sends (xyz)\begin{pmatrix}x \\ y \\ z\end{pmatrix} to (xy0)\begin{pmatrix}x \\ y \\ 0\end{pmatrix}: the entire third coordinate disappears.

These zero-determinant criteria and their area/volume interpretation are not in the formula booklet: learn them. Do not describe a singular transformation as orientation-preserving or orientation-reversing; the image has lost a dimension.

Key idea

Singularity is a property of the determinant, not of whether the matrix contains zero entries. A singular transformation loses a dimension and cannot distinguish all its original points.

Use the determinant test even when the visible entries tempt you to guess.

Finding singular parameter values

When a matrix contains an unknown constant, calculate its determinant and set that determinant equal to zero. The resulting equation identifies every singular case.

A repeated row or a row that is a multiple of another is a useful way to spot singularity. It is not a complete test in three dimensions: one row can be a sum of two other rows without being a multiple of either. The determinant is the general test.

Singularity test

For a square matrix M\mathbf{M},

M is singular  ⟺  det⁡M=0M is non-singular  ⟺  det⁡M≠0\begin{aligned} \mathbf{M}\text{ is singular} &\iff \det\mathbf{M} = 0 \\ \mathbf{M}\text{ is non-singular} &\iff \det\mathbf{M} \ne 0 \end{aligned}

Not in the formula booklet: learn it.

Keep the determinant equation intact until it is factorised.

Worked example 1: two singular values

Question. Determine the values of kk for which A=(k23k+1)\mathbf{A} = \begin{pmatrix}k & 2 \\ 3 & k + 1\end{pmatrix} is singular.

Plan. Form the determinant, equate it to zero and factorise.

det⁡A=k(k+1)−6use ad−bc=k2+k−6expand=(k+3)(k−2)factorise(k+3)(k−2)=0singular means determinant zero\begin{aligned} \det\mathbf{A} &= k(k + 1) - 6 && \text{use } ad - bc \\ &= k^2 + k - 6 && \text{expand} \\ &= (k + 3)(k - 2) && \text{factorise} \\ (k + 3)(k - 2) &= 0 && \text{singular means determinant zero} \end{aligned}

Why this step? Singularity is the equation det⁡A=0\det\mathbf{A} = 0; it does not require any individual entry to be zero.

Answer. A\mathbf{A} is singular when k=−3k = -3 or k=2k = 2, and non-singular for all other real values of kk.

Check. At k=2k = 2, the rows (2,2)(2, 2) and (3,3)(3, 3) are proportional. At k=−3k = -3, the rows (−3,2)(-3, 2) and (3,−2)(3, -2) are negatives of each other.

Worked example 2 keeps the same block of order two and adds a third coordinate. That extra coordinate can disappear independently, so it contributes another possible singular value.

Worked example 2: an extra singular case in three dimensions

Question. Determine the values of kk for which B=(k203k+1000k−1)\mathbf{B} = \begin{pmatrix}k & 2 & 0 \\ 3 & k + 1 & 0 \\ 0 & 0 & k - 1\end{pmatrix} is singular.

Plan. Expand along the last row and factorise the determinant completely.

det⁡B=(k−1)∣k23k+1∣two zero contributions=(k−1)(k2+k−6)evaluate the minor=(k−1)(k+3)(k−2)factorise(k−1)(k+3)(k−2)=0test singularity\begin{aligned} \det\mathbf{B} &= (k - 1)\begin{vmatrix}k & 2 \\ 3 & k + 1\end{vmatrix} && \text{two zero contributions} \\ &= (k - 1)(k^2 + k - 6) && \text{evaluate the minor} \\ &= (k - 1)(k + 3)(k - 2) && \text{factorise} \\ (k - 1)(k + 3)(k - 2) &= 0 && \text{test singularity} \end{aligned}

Why this step? Expanding before dividing keeps every zero of the determinant. Dividing by k−1k - 1 would lose a genuine singular case.

Answer. k=1k = 1, k=−3k = -3 or k=2k = 2.

Check. At k=1k = 1 the last row is zero. At k=2k = 2 or k=−3k = -3, the first two rows are proportional, just as in Worked example 1.

Each factor identifies a separate way for the transformation to lose a dimension.

Watch out

Wrong: (k−1)(k+3)(k−2)=0(k - 1)(k + 3)(k - 2) = 0, so divide by k−1k - 1 and solve only the quadratic. This assumes k≠1k \ne 1, exactly the value you must test. Right: set each factor equal to zero.

An extra zero factor can correspond to a whole coordinate being lost.

The determinant of a product

Successive transformations multiply their area scale factors, just as successive percentage changes multiply their multipliers. Their orientation signs multiply too: two reversals preserve orientation.

You already know

AB\mathbf{AB} represents B\mathbf{B} followed by A\mathbf{A}. Matrix multiplication need not commute: AB\mathbf{AB} and BA\mathbf{BA} can be different matrices.

The determinant packages both the magnitude and the sign of the scale factor into one number. This leads to a rule that holds for square matrices of the same order, including matrices that are not being interpreted as transformations.

Determinant of a product

For square matrices A\mathbf{A} and B\mathbf{B} of the same order,

det⁡(AB)=(det⁡A)(det⁡B)\det(\mathbf{AB}) = (\det\mathbf{A})(\det\mathbf{B})

Repeated use gives det⁡(An)=(det⁡A)n\det(\mathbf{A}^n) = (\det\mathbf{A})^n for positive integers nn.

Not in the formula booklet: learn it.

You do not need to multiply out AB\mathbf{AB} to find its determinant if the two individual determinants are known. When asked to verify the rule for given matrices, however, calculate both sides separately.

Worked example 3: verifying the product rule

Question. Given A=(2103)\mathbf{A} = \begin{pmatrix}2 & 1 \\ 0 & 3\end{pmatrix} and B=(1234)\mathbf{B} = \begin{pmatrix}1 & 2 \\ 3 & 4\end{pmatrix}, verify that det⁡(AB)=(det⁡A)(det⁡B)\det(\mathbf{AB}) = (\det\mathbf{A})(\det\mathbf{B}).

Plan. Find both individual determinants, then multiply the matrices and calculate the determinant of the product independently.

det⁡A=2(3)−1(0)=6first determinantdet⁡B=1(4)−2(3)=−2second determinant(det⁡A)(det⁡B)=6(−2)=−12right-hand side\begin{aligned} \det\mathbf{A} &= 2(3) - 1(0) = 6 && \text{first determinant} \\ \det\mathbf{B} &= 1(4) - 2(3) = -2 && \text{second determinant} \\ (\det\mathbf{A})(\det\mathbf{B}) &= 6(-2) = -12 && \text{right-hand side} \end{aligned}

Separately,

AB=(2+34+4912)=(58912)row by columndet⁡(AB)=5(12)−8(9)=−12left-hand side\begin{aligned} \mathbf{AB} &= \begin{pmatrix}2 + 3 & 4 + 4 \\ 9 & 12\end{pmatrix} = \begin{pmatrix}5 & 8 \\ 9 & 12\end{pmatrix} && \text{row by column} \\ \det(\mathbf{AB}) &= 5(12) - 8(9) = -12 && \text{left-hand side} \end{aligned}

Why this step? Verification needs an independent calculation of the left-hand side; simply quoting the rule would assume the result you are checking.

Answer. Both sides equal −12-12, so the stated equality is verified.

Check. Both matrices are non-singular, and their product has a non-zero determinant. One positive and one negative determinant give a negative product.

Worked example 4 changes only the number of times B\mathbf{B} is applied. The product rule now avoids calculating B2\mathbf{B}^2.

Worked example 4: using the rule without multiplying matrices

Question. For the same matrices, find det⁡(AB2)\det(\mathbf{AB}^2) and state whether the transformation represented by AB2\mathbf{AB}^2 preserves orientation.

Plan. Apply the product rule twice, then inspect the sign.

det⁡(AB2)=(det⁡A)(det⁡B)(det⁡B)three successive factors=6(−2)2use the known determinants=24evaluate\begin{aligned} \det(\mathbf{AB}^2) &= (\det\mathbf{A})(\det\mathbf{B})(\det\mathbf{B}) && \text{three successive factors} \\ &= 6(-2)^2 && \text{use the known determinants} \\ &= 24 && \text{evaluate} \end{aligned}

Why this step? det⁡(B2)\det(\mathbf{B}^2) means (det⁡B)2(\det\mathbf{B})^2, not twice det⁡B\det\mathbf{B}.

Answer. det⁡(AB2)=24\det(\mathbf{AB}^2) = 24. Orientation is preserved because the determinant is positive.

Check. B\mathbf{B} reverses orientation twice, so its two applications cancel the reversal. A\mathbf{A} preserves orientation.

A surprising consequence is that det⁡(AB)=det⁡(BA)\det(\mathbf{AB}) = \det(\mathbf{BA}), even when the matrices themselves differ. In Worked example 3,

BA=(27615)≠AB,det⁡(BA)=30−42=−12\mathbf{BA} = \begin{pmatrix}2 & 7 \\ 6 & 15\end{pmatrix} \ne \mathbf{AB},\qquad \det(\mathbf{BA}) = 30 - 42 = -12

The determinant remembers scale and orientation, not every detail of the transformation.

For square matrices of the same order, a product is singular exactly when at least one factor is singular: a product of real or complex numbers is zero exactly when at least one factor is zero. This answers the opening question. If det⁡S=0\det\mathbf{S} = 0, then for any later square transformation matrix T\mathbf{T},

det⁡(TS)=(det⁡T)×0=0\det(\mathbf{TS}) = (\det\mathbf{T})\times 0 = 0

A later linear transformation can move or stretch the collapsed image, but cannot restore its lost area.

Watch out

Wrong: det⁡(AB)=det⁡A+det⁡B\det(\mathbf{AB}) = \det\mathbf{A} + \det\mathbf{B}. Right: determinants multiply. Also, equality of the determinants of AB\mathbf{AB} and BA\mathbf{BA} does not imply equality of those matrices.

For a repeated factor, repeat its determinant the same number of times.

Quick Recap

  • A square matrix is singular exactly when its determinant is zero; a non-zero matrix can be singular.
  • A singular real transformation loses area in two dimensions or volume in three dimensions.
  • To find singular parameter values, set the entire determinant equal to zero and retain every factor.
  • For square matrices of the same order, det⁡(AB)=(det⁡A)(det⁡B)\det(\mathbf{AB}) = (\det\mathbf{A})(\det\mathbf{B}), even though matrix multiplication need not commute.

The opening square collapses because det⁡S=0\det\mathbf{S} = 0. Every later product still has determinant zero, so the lost area cannot be restored by another linear transformation.