CalcPath
ProgressProblem setsFeedback
← Question sheet

Linear Algebra · Solutions

Determinants

12 questions · about 102 minutes

Work this sheet on paper and show every step: the route is what is being checked, not the final number. Name the property or theorem that licenses each move (“by multilinearity”, “row replacement leaves the determinant unchanged”, “by the adjugate identity”), and say which row or column you expand along before you expand. No calculator is needed anywhere and every answer should be exact. Full worked solutions are on a separate page, with a per-question reveal so you can check one solution without seeing the rest.

  1. 1.Computation

    Let D assign a number to each list of three row vectors in R3, and suppose D is multilinear, alternating and normalised. No determinant formula may be used anywhere in this question: every step must cite one of the three defining properties or a consequence proved from them (a swap changes the sign; adding a multiple of one row to another changes nothing).

    1. (a)Compute D(3e2​, e1​+e3​, e3​).
    2. (b)Suppose D(a1​,a2​,a3​)=5. Compute D(a1​+2a2​, a2​, a3​−a1​) and D(a3​,a1​,a2​).
    3. (c)With the same ai​, compute D(−2a1​, −2a2​, −2a3​), and say in one sentence why the answer is not −10.

    Solution

    (a) Expand the slot that is a sum. By linearity in the second slot,

    D(3e2​, e1​+e3​, e3​)=D(3e2​,e1​,e3​)+D(3e2​,e3​,e3​).

    The second term has two equal rows, so it is 0 because D is alternating. In the first term pull the scalar out of slot one by linearity: 3D(e2​,e1​,e3​). Swapping the first two rows changes the sign, so this is −3D(e1​,e2​,e3​)=−3⋅1=−3 by normalisation.

    Sanity check: the rows are (0,3,0), (1,0,1), (0,0,1), and the answer −3 is what the volume picture predicts — a unit box stretched by 3 in one direction and with two edges listed in the wrong order.

    (b) Both changes are row replacements. Expand slot one: D(a1​+2a2​,a2​,a3​−a1​)=D(a1​,a2​,a3​−a1​)+2D(a2​,a2​,a3​−a1​), and the second term dies because two rows are equal. Now expand slot three of what is left: D(a1​,a2​,a3​)−D(a1​,a2​,a1​)=5−0=5. (This is the corollary that adding a multiple of one row to a different row is invisible, applied twice.)

    For the cyclic shift, swap slots one and two, then slots two and three:

    D(a3​,a1​,a2​)=−D(a1​,a3​,a2​)=+D(a1​,a2​,a3​)=5.

    Two swaps, two sign changes, so a cyclic shift of three rows leaves D alone.

    (c) One scalar per row. Multilinearity lets a scalar be pulled out of one slot at a time, so the factor −2 comes out three times:

    D(−2a1​,−2a2​,−2a3​)=(−2)3D(a1​,a2​,a3​)=−8⋅5=−40.

    It is not −10 because D is linear in each row separately, not in the whole matrix: scaling the entire matrix by c scales every one of the n rows, and each row contributes its own factor of c.

  2. 2.Computation

    Work directly with the permutation definition det(A)=∑σ∈Sn​​sgn(σ)∏i​aiσ(i)​ throughout. Cofactor expansion may be used only as a final check.

    1. (a)For σ=41352 in S5​, list every inversion, state sgn(σ), and write down the term σ contributes to the determinant of a general 5×5 matrix A=(aij​). Then confirm the sign by turning 12345 into σ with a sequence of transpositions.
    2. (b)Compute det​0100​2005​0040​3001​​ by identifying every permutation whose term survives, signing each, and adding.
    3. (c)Without listing them, explain why exactly 12 of the 24 terms in the permutation sum for a general 4×4 matrix carry a plus sign.

    Solution

    (a) Count the pairs that are out of order. Reading 41352 left to right: the 4 precedes the smaller entries 1, 3 and 2, giving the inversions (4,1), (4,3), (4,2); the 1 precedes nothing smaller; the 3 precedes the 2, giving (3,2); the 5 precedes the 2, giving (5,2). That is inv(σ)=5, so sgn(σ)=(−1)5=−1.

    Row 1 takes column 4, row 2 takes column 1, row 3 takes column 3, row 4 takes column 5, row 5 takes column 2, so the term is

    −a14​a21​a33​a45​a52​.

    Transposition check, starting from 12345: exchange the entries 1 and 4 to get 42315; exchange 2 and 1 to get 41325; exchange 2 and 5 to get 41352. Three transpositions, an odd number, so the sign is −1. ✓

    (b) Let the zeros choose the permutation. A term survives only if every factor is nonzero. Row 2 has its only nonzero entry in column 1, so σ(2)=1; row 3 forces σ(3)=3. Rows 1 and 4 must then share columns 2 and 4, and both ways are available: σ(1)=2, σ(4)=4, or σ(1)=4, σ(4)=2. So exactly two permutations survive:

    σ=2134 has the single inversion (2,1), sign −1, and product a12​a21​a33​a44​=2⋅1⋅4⋅1=8, contributing −8.

    σ=4132 has inversions (4,1),(4,3),(4,2),(3,2), four of them, sign +1, and product a14​a21​a33​a42​=3⋅1⋅4⋅5=60, contributing +60.

    Hence det=−8+60=52.

    Sanity check by expanding along row 2, whose only nonzero entry is the 1 at position (2,1) with cofactor sign (−1)2+1=−1. The minor deletes row 2 and column 1, leaving ​205​040​301​​; expanding that along its middle row gives 4(2⋅1−3⋅5)=−52. So det=−1⋅(−52)=52. ✓

    (c) Pair each permutation with a partner of the opposite sign. Let τ be the transposition that exchanges 1 and 2, and send each σ∈S4​ to στ. This map is a bijection of S4​ onto itself, because applying it twice returns σ. By the lemma that a transposition is odd, sgn(στ)=−sgn(σ), so every even permutation is paired with an odd one and vice versa. A bijection between the even and the odd permutations means there are equally many of each: 24/2=12 terms with a plus sign and 12 with a minus sign. (The same pairing is what proves the permutation sum is alternating.)

  3. 3.Computation

    Cofactor expansion only in this question — no elimination. Before each expansion, say which row or column you are using and why, and write the checkerboard sign of every position you expand through.

    1. (a)Compute det​3102​0401​2−153​020−1​​, and confirm the value with a second, different expansion.
    2. (b)Find every real t for which ​t12​3t5​00t−4​​ is singular.
    3. (c)State det​2000​7−100​−3430​98−65​​ without computing any minor, and explain what repeated expansion along the first column would do.

    Solution

    (a) Expand along the line with the most zeros. Row 3 is (0,0,5,0), so only the (3,3) position survives, and its sign is (−1)3+3=+. Deleting row 3 and column 3 leaves

    M33​=det​312​041​02−1​​.

    Its first row has two zeros, so expand along it: 3det(41​2−1​)=3(−4−2)=−18. Hence det=5⋅(−18)=−90.

    Second expansion, along column 2 of the original, whose entries are 0,4,0,1. The signs at positions (2,2) and (4,2) are (−1)4=+ and (−1)6=+, so

    det=4det​302​253​00−1​​+1⋅det​310​2−15​020​​.

    The first minor, expanded along its middle row, is 5(3⋅(−1)−0⋅2)=−15. The second, expanded along its bottom row where only the 5 at position (3,2) survives with sign −, is −5(3⋅2−0⋅1)=−30. Total: 4(−15)+(−30)=−90. ✓

    (b) Expand along column 3. Only the (3,3) entry is nonzero there, with sign +, so

    det=(t−4)det(t1​3t​)=(t−4)(t2−3).

    By the singularity criterion the matrix is singular exactly when this vanishes:

    t=4,t=3​,t=−3​.

    Sanity check at t=4: the third column becomes entirely zero, so the determinant is 0 by inspection. ✓

    (c) Triangular means product of the diagonal. The matrix is upper triangular, so det=2⋅(−1)⋅3⋅5=−30.

    Expanding along the first column shows why: the only nonzero entry is the 2 at (1,1), with sign +, so det=2M11​, and the minor is again upper triangular with diagonal −1,3,5. Repeating peels off one diagonal entry at a time, each with sign +, until a 1×1 matrix is left. The entries above the diagonal — 7,−3,9,4,8,−6 — never appear, because each expansion discards the row and column that contain them.

  4. 4.Computation

    Let A and B be 3×3 matrices with det(A)=−2 and det(B)=5. Name the theorem behind every step.

    1. (a)Compute det(3A−1BTA).
    2. (b)Compute det(A2B−1) and det(−B).
    3. (c)Is there an invertible P with P−1AP=B? Is there an invertible P with P−1AP=−AT? Justify each answer in one or two lines.

    Solution

    (a) Scalar first, then multiply. The scalar 3 multiplies a 3×3 matrix, so by the scaling theorem it contributes 33=27. Multiplicativity splits the rest into factors, transpose invariance gives det(BT)=det(B)=5, and the inverse corollary gives det(A−1)=1/det(A)=−21​:

    det(3A−1BTA)=27⋅(−21​)⋅5⋅(−2)=27⋅5=135.

    Sanity check on the sign: two negative factors appear, det(A−1) and det(A), so the product is positive. ✓

    (b) By multiplicativity and the powers corollary, det(A2B−1)=det(A)2⋅det(B)1​=54​.

    For −B=(−1)B, the scaling theorem gives (−1)3det(B)=−5. (For a 4×4 matrix the answer would have been +5; the sign depends on the size.)

    (c) Similar matrices have equal determinants. If P−1AP=B then det(B)=det(P−1)det(A)det(P)=det(A), but 5=−2. So no such P exists.

    For the second question compute the target's determinant: det(−AT)=(−1)3det(AT)=−det(A)=2, using scaling and transpose invariance. Since 2=−2, no invertible P can make A similar to −AT either. (Note that A is always similar to AT in the sense that they share a determinant; the minus sign is what breaks it here, and only because the size is odd.)

  5. 5.Critique

    Each of the three arguments below is wrong. For each one, quote the exact sentence that fails, say which theorem or hypothesis it abuses, and then give the correct conclusion — with a proof if the claim can be rescued, or a counterexample if it cannot.

    1. (a)“Let A be 3×3 with det(A)=4. Then det(2A)=2⋅4=8. As a check, 2A=A+A, and multilinearity gives det(A+A)=det(A)+det(A)=8, so the two computations agree.”
    2. (b)“Let A be a real 2×2 matrix with A2=−I. Taking determinants, det(A)2=det(−I)=−1. A real number cannot have a negative square, so no such matrix exists.”
    3. (c)“Let A be n×n with A3=A. Taking determinants, det(A)3=det(A), so dividing by det(A) gives det(A)2=1. Hence det(A)=±1 and A is invertible.”

    Solution

    (a) Two errors that happen to agree with each other. The sentence “det(2A)=2⋅4=8” is wrong: 2A scales each of the three rows by 2, so by the scaling theorem det(2A)=23⋅4=32. The sentence “multilinearity gives det(A+A)=det(A)+det(A)” is also wrong, and for a related reason: multilinearity is linearity in one row at a time, while A+A changes every row at once. The determinant is not additive. A counterexample to additivity is A=B=I3​, where det(A+B)=det(2I)=8 but det(A)+det(B)=2.

    Correct conclusion: det(A+A)=det(2A)=32. The student's “check” only appeared to work because both mistakes drop the same factor.

    (b) The size of the identity matters. The sentence “det(−I)=−1” is false for 2×2 matrices: −I=(−1)I and the scaling theorem gives (−1)2det(I)=+1. So the correct equation is det(A)2=1, which has the real solutions det(A)=±1, and there is no contradiction.

    Such matrices do exist. Take the rotation through a right angle, R=(01​−10​). Multiplying out,

    R2=(0⋅0+(−1)⋅11⋅0+0⋅1​0⋅(−1)+(−1)⋅01⋅(−1)+0⋅0​)=(−10​0−1​)=−I,

    and det(R)=0−(−1)=1, consistent with det(R)2=1.

    The argument becomes valid for an odd size. For 3×3 real matrices det(−I)=(−1)3=−1, so det(A)2=−1 really is impossible and no real 3×3 matrix satisfies A2=−I.

    (c) Dividing by something that may be zero. The sentence “dividing by det(A) gives det(A)2=1” presupposes det(A)=0, which is exactly what the argument is trying to prove. Without dividing, det(A)3−det(A)=det(A)(det(A)2−1)=0, so the honest conclusion is

    det(A)∈{−1,0,1}.

    The value 0 genuinely occurs: A=0 satisfies A3=A and is not invertible, and so does the projection A=(10​00​), for which A3=A and det(A)=0. So “hence A is invertible” is false. What survives is: if A3=A and A happens to be invertible, then det(A)=±1 — but invertibility must be supplied separately, by the singularity criterion, not deduced from A3=A.

  6. 6.Computation

    Compute each determinant by elimination. Use row replacements and swaps only, except where a part explicitly asks you to scale a row, and keep a running record in the margin of every factor that must be restored at the end.

    1. (a)det​021−1​1431​2013​−1620​​, then confirm the value by a cofactor expansion along the first row.
    2. (b)det​235​410​624​​: begin by factoring the common factor out of the first row, and say exactly where that factor re-enters the answer.
    3. (c)det​12−13​24−26​−1140​31−85​​. Explain what happens at the second pivot, and then give a one-line reason, needing no elimination at all, why the answer had to come out as it did.

    Solution

    (a) Swap first, then clear. The (1,1) entry is 0, so swap rows 1 and 3 and record a factor −1:

    det=−det​120−1​3411​1023​26−10​​.

    Clear column 1 with R2​←R2​−2R1​ and R4​←R4​+R1​, both free:

    ​1000​3−214​1−224​22−12​​.

    The pivot −2 is in place. Clear below it with R3​←R3​+21​R2​, giving (0,0,1,0), and R4​←R4​+2R2​, giving (0,0,0,6):

    ​1000​3−200​1−210​2206​​.

    The triangular product is 1⋅(−2)⋅1⋅6=−12, and restoring the swap factor gives det=−(−12)=12.

    Cofactor check along the original first row (0,1,2,−1), with signs +,−,+,−. The 0 contributes nothing. Position (1,2): −1⋅det​21−1​013​620​​=−[2(0−6)−0+6(3+1)]=−(−12+24)=−12. Position (1,3): +2det​21−1​431​620​​=2[2(0−2)−4(0+2)+6(1+3)]=2(−4−8+24)=24. Position (1,4): −(−1)det​21−1​431​013​​=+[2(9−1)−4(3+1)+0]=16−16=0. Total −12+24+0=12. ✓

    (b) Factor, then remember the factor. Row 1 is 2⋅(1,2,3), and scaling a row by c scales the determinant by c, so

    det​235​410​624​​=2det​135​210​324​​.

    The factor 2 now sits in front and must multiply whatever the elimination produces. Clear column 1 with R2​←R2​−3R1​ and R3​←R3​−5R1​, giving rows (0,−5,−7) and (0,−10,−11); then R3​←R3​−2R2​ gives (0,0,3). The triangular product is 1⋅(−5)⋅3=−15, so the determinant is 2⋅(−15)=−30.

    Sanity check by expanding the original along row 1: 2(4−0)−4(12−10)+6(0−5)=8−8−30=−30. ✓ Had the factor been forgotten, the answer would have been −15: the standard error.

    (c) The second pivot is missing. Clear column 1 with R2​←R2​−2R1​, R3​←R3​+R1​ and R4​←R4​−3R1​:

    ​1000​2000​−1333​3−5−5−4​​.

    Every entry of column 2 below the first row is 0, so there is no lower row to swap into the pivot position: column 2 has no pivot. Going on anyway, R3​←R3​−R2​ produces a row of zeros, and the determinant is 0 — the recipe says to stop as soon as that happens.

    The one-line reason: column 2 of the original matrix is exactly twice column 1, so the columns are linearly dependent and the determinant is 0 by inspection (columns, by transpose invariance). No arithmetic was ever needed.

  7. 7.Computation

    Let A=​120​013​201​​. The matrix is deliberately not symmetric, so a transposition slip will show.

    1. (a)Compute all nine cofactors Cij​, write down the cofactor matrix C, and write down adj(A).
    2. (b)Compute det(A) by expanding along row 1. Then compute the second row of the product Aadj(A) entry by entry, and say which theorem accounts for the diagonal entry and which lemma accounts for the two zeros.
    3. (c)Write down (A−1)31​ and (A−1)13​, stating which cofactor each one comes from.
    4. (d)If B is any 3×3 matrix with det(B)=13, find det(adj(B)) with justification.

    Solution

    (a) Nine 2×2 determinants, each with its checkerboard sign. Along row 1:

    C11​=+det(13​01​)=1,C12​=−det(20​01​)=−2,C13​=+det(20​13​)=6.

    Along row 2:

    C21​=−det(03​21​)=−(0−6)=6,C22​=+det(10​21​)=1,C23​=−det(10​03​)=−3.

    Along row 3:

    C31​=+det(01​20​)=−2,C32​=−det(12​20​)=−(0−4)=4,C33​=+det(12​01​)=1.

    So the cofactor matrix and its transpose are

    C=​16−2​−214​6−31​​,adj(A)=CT=​1−26​61−3​−241​​.

    (b) Determinant, then the product. Along row 1: det(A)=1⋅C11​+0⋅C12​+2⋅C13​=1+0+12=13. (Along row 3 as a check: 0⋅C31​+3⋅C32​+1⋅C33​=12+1=13. ✓)

    The second row of A is (2,1,0). Dotting it with the three columns of adj(A):

    2⋅1+1⋅(−2)+0⋅6=0,2⋅6+1⋅1+0⋅(−3)=13,2⋅(−2)+1⋅4+0⋅1=0.

    So the second row of Aadj(A) is (0,13,0)=det(A)⋅(0,1,0), as the adjugate identity promises. The middle entry is ∑j​a2j​C2j​, which is Laplace expansion along row 2 and therefore equals det(A). The outer entries are ∑j​a2j​C1j​ and ∑j​a2j​C3j​ — row 2 against the cofactors of a different row — and the alien cofactor lemma says those sums are 0.

    (c) Remember the transpose. A−1=131​adj(A), and (adjA)ij​=Cji​. Hence

    (A−1)31​=13C13​​=136​,(A−1)13​=13C31​​=−132​.

    The indices reverse; using C31​ for the (3,1) entry would give −132​ in the wrong place. Sanity check: the third row of A−1 is 131​(6,−3,1), and against the first column (1,2,0) of A it gives 136−6+0​=0, as the (3,1) entry of A−1A=I must. ✓

    (d) Rescale the inverse. Since det(B)=13=0, the adjugate identity gives adj(B)=13B−1. The scalar 13 multiplies a 3×3 matrix, so

    det(adj(B))=133det(B−1)=133⋅131​=132=169.

    In general det(adjB)=det(B)n−1 for an invertible n×n matrix. Checking on part (a): det(adjA) should be 169, and expanding adj(A) along its first row gives 1(1+12)−6(−2−24)+(−2)(6−6)=13+156+0=169. ✓

  8. 8.Computation

    Use Cramer's rule where the parts ask for it, writing Ai​(b) for the coefficient matrix with its i-th column replaced by the right-hand side.

    1. (a)For the system 2x−y+z=5,x+2y−z=−3,3x+y+2z=6, find y alone by Cramer's rule. Then find x the same way and check both against the first equation.
    2. (b)Consider kx+y=1,x+ky=1, where k is a real parameter. For which k does Cramer's rule apply? Solve for x and y in those cases, simplify, and then explain why the simplified formula still may not be used at the excluded values. Finally, decide what actually happens to the system at each excluded value.

    Solution

    (a) Two determinants for one unknown. The coefficient matrix is A=​213​−121​1−12​​ and b=(5,−3,6). Expanding det(A) along row 1:

    det(A)=2(4+1)−(−1)(2+3)+1(1−6)=10+5−5=10.

    It is nonzero, so the rule applies. Replace column 2 by b and expand along row 1:

    det(A2​(b))=det​213​5−36​1−12​​=2(−6+6)−5(2+3)+1(6+9)=0−25+15=−10.

    Hence y=10−10​=−1.

    For x replace column 1:

    det(A1​(b))=det​5−36​−121​1−12​​=5(4+1)−(−1)(−6+6)+1(−3−12)=25+0−15=10,

    so x=1010​=1. The first equation then gives z=5−2x+y=5−2−1=2, and as a check the second equation reads 1−2−2=−3 ✓ and the third 3−1+4=6 ✓.

    (b) The rule needs a nonzero determinant. Here A=(k1​1k​) with det(A)=k2−1, so Cramer's rule applies exactly when k=±1. In that case

    x=k2−1det(11​1k​)​=k2−1k−1​,y=k2−1det(k1​11​)​=k2−1k−1​.

    Since k2−1=(k−1)(k+1) and k=1, both simplify to x=y=k+11​.

    The cancellation of k−1 was legal only because k=1; at k=1 the unsimplified expression is 00​, which is not a number, and the rule's hypothesis det(A)=0 fails. At k=−1 the simplified formula would divide by zero. So the formula k+11​ is valid for every k other than ±1 and says nothing at either excluded value — Cramer's rule reports only that the solution is not unique there, never which way it fails.

    What actually happens must be read from the equations. At k=1 both equations are x+y=1: consistent, with infinitely many solutions (t,1−t). At k=−1 the equations are −x+y=1 and x−y=1; adding them gives 0=2, so the system is inconsistent and has no solution. Same zero determinant, opposite outcomes.

  9. 9.Computation

    Recognise the structure before you compute. In each part, name the theorem that lets you shortcut the work, and check at least one answer by an independent method.

    1. (a)det​13594​24−708​00201​00130​00012​​
    2. (b)det​111​−134​1916​​
    3. (c)det​1111​1248​13927​141664​​ — the powers here run down the columns, not along the rows; say why the shortcut still applies.
    4. (d)Find every real a for which ​111​a−2a+1​a24(a+1)2​​ is singular.

    Solution

    (a) Block lower triangular. The upper-right 2×3 block is zero, so the matrix has the form (AC​0D​) with A=(13​24​) and D=​201​130​012​​. By the block triangular theorem det=det(A)det(D).

    det(A)=4−6=−2. For D, expand along row 1: 2(6−0)−1(0−1)+0=12+1=13. So det=−2⋅13=−26.

    The six entries of the lower-left block, 5,−7,9,0,4,8, play no part, exactly as the theorem promises.

    (b) Vandermonde with nodes −1,3,4. Each row is (1,x,x2), so by the Vandermonde theorem

    det=(x2​−x1​)(x3​−x1​)(x3​−x2​)=(3+1)(4+1)(4−3)=4⋅5⋅1=20.

    Check by elimination: R2​←R2​−R1​ and R3​←R3​−R1​ give rows (0,4,8) and (0,5,15); then R3​←R3​−45​R2​ gives (0,0,5). The triangular product is 1⋅4⋅5=20. ✓

    (c) Transpose invariance. Column j is (1,xj​,xj2​,xj3​) with xj​=1,2,3,4, so the matrix is VT for the Vandermonde matrix V on those nodes. Since det(VT)=det(V),

    det=i<j∏​(xj​−xi​)=(2−1)(3−1)(4−1)⋅(3−2)(4−2)⋅(4−3)=1⋅2⋅3⋅1⋅2⋅1=12.

    Sanity check on the sign: the nodes increase left to right, so every factor xj​−xi​ with i<j is positive and the determinant must be positive. ✓

    (d) A Vandermonde with a parameter. The rows are (1,x,x2) for the nodes x1​=a, x2​=−2, x3​=a+1, so

    det=(x2​−x1​)(x3​−x1​)(x3​−x2​)=(−2−a)((a+1)−a)((a+1)+2)=−(a+2)⋅1⋅(a+3).

    This vanishes exactly when a=−2 or a=−3. The middle factor is the constant 1: the nodes a and a+1 can never coincide, so the only way to repeat a node is for −2 to equal one of them.

    Sanity check: at a=−2 rows 1 and 2 both read (1,−2,4); at a=−3 rows 2 and 3 both read (1,−2,4). Two equal rows, determinant 0 by inspection. ✓

  10. 10.Proof

    Let M=(AC​BD​), where A is p×p and invertible, D is q×q, and B, C have the matching rectangular shapes. The block triangular theorem needs a zero block; this question removes that restriction.

    1. (a)Verify by block multiplication that M=(AC​0Iq​​)(Ip​0​A−1BD−CA−1B​).
    2. (b)Deduce that det(M)=det(A)det(D−CA−1B), naming every theorem you use.
    3. (c)Use the formula to compute det​1012​0110​1300​2101​​ with p=q=2, and check that the tempting guess det(A)det(D)−det(B)det(C) gives a different number.
    4. (d)Now suppose p=q and that A commutes with C, that is AC=CA. Prove that det(M)=det(AD−CB).

    Solution

    (a) Multiply the blocks as if they were numbers, keeping their order. Write S=D−CA−1B for the lower-right block of the second factor. The product's four blocks are

    (A⋅Ip​+0⋅0C⋅Ip​+Iq​⋅0​A⋅A−1B+0⋅SC⋅A−1B+Iq​⋅S​)=(AC​BCA−1B+D−CA−1B​)=(AC​BD​).

    The shapes are compatible throughout (A−1B is p×q, CA−1B is q×q), so the factorisation is valid. ■

    (b) Multiplicativity, then two block triangular determinants. By the multiplicativity theorem, det(M) is the product of the determinants of the two factors. The first factor has a zero block in its upper-right corner, so by the block triangular theorem its determinant is det(A)det(Iq​)=det(A). The second factor has a zero block in its lower-left corner, so its determinant is det(Ip​)det(S)=det(S). Hence

    det(M)=det(A)det(D−CA−1B).■

    (c) Read off the blocks. Here A=I2​, B=(13​21​), C=(12​10​), D=(00​01​). Since A−1=I,

    CA−1B=CB=(1+32+0​2+14+0​)=(42​34​),D−CB=(−4−2​−3−3​),

    and det(D−CB)=12−6=6. With det(A)=1 the formula gives det(M)=6.

    Check by elimination on the full matrix: R3​←R3​−R1​ gives (0,1,−1,−2), R4​←R4​−2R1​ gives (0,0,−2,−3), then R3​←R3​−R2​ gives (0,0,−4,−3). Finally R4​←R4​−21​R3​ gives (0,0,0,−23​). The diagonal is 1,1,−4,−23​ with product 6. ✓

    The false formula: det(B)=1−6=−5, det(C)=0−2=−2, det(D)=0, so det(A)det(D)−det(B)det(C)=0−(−5)(−2)=−10=6.

    (d) Push det(A) inside. With p=q all four blocks are square of the same size, so det(A)det(S)=det(AS) by multiplicativity. Compute

    AS=A(D−CA−1B)=AD−ACA−1B=AD−CAA−1B=AD−CB,

    where the third equality replaces AC by CA using the hypothesis, and the last uses AA−1=I. Therefore, by (b),

    det(M)=det(A)det(S)=det(AS)=det(AD−CB).■

    The commuting hypothesis is exactly what lets A slide past C to cancel A−1; without it the expression ACA−1B does not simplify and no such formula holds. Note that in part (c), A=I commutes with everything, and indeed det(AD−CB)=det(D−CB)=6 there. ✓

  11. 11.Sketch

    Let T(x)=Ax with A=(21​1−1​), and let S be the unit square with corners (0,0), (1,0), (1,1), (0,1). A drawing with no computation beside it earns nothing: every feature drawn must be justified.

    1. (a)Sketch S and its image T(S) on the same axes. Label where each of the four corners goes, and mark T(e1​) and T(e2​) as arrows from the origin.
    2. (b)Compute det(A). State the area of T(S) and whether T preserves orientation, and point to the feature of your drawing that shows the sign of the determinant.
    3. (c)Verify the area of T(S) without any determinant, by shearing the parallelogram into a rectangle: replace the second edge by the component of it perpendicular to the first, and say why that does not change the area.
    4. (d)Without drawing, give the area of the image of S under A2 and say whether that image is traversed anticlockwise. Then confirm by computing A2 and its determinant directly.

    Solution

    (a) The columns of A are the images of the basis vectors. T(e1​) is the first column, (2,1), and T(e2​) is the second, (1,−1). Linearity sends the corner (1,1)=e1​+e2​ to (2,1)+(1,−1)=(3,0), and the origin stays fixed. So

    (0,0)↦(0,0),(1,0)↦(2,1),(1,1)↦(3,0),(0,1)↦(1,−1).

    The drawing shows the unit square in the first quadrant and, overlapping it, a parallelogram with vertices (0,0), (2,1), (3,0), (1,−1) — a long thin shape leaning to the right, with one vertex below the x-axis and its far vertex on the x-axis at (3,0). Two arrows from the origin, to (2,1) and to (1,−1), are its edges. Draw the edges of T(S) as the images of the edges of S: the bottom edge of S becomes the arrow to (2,1), the left edge becomes the arrow to (1,−1), and the other two edges are parallel copies of these.

    (b) Determinant, area, orientation. det(A)=2⋅(−1)−1⋅1=−3. By the volume scaling theorem the area of T(S) is ∣det(A)∣⋅area(S)=3⋅1=3. The determinant is negative, so T reverses orientation.

    The sign is visible in the drawing as the direction of travel. Walking the corners of S in the order (0,0)→(1,0)→(1,1)→(0,1) goes anticlockwise. Their images in the same order, (0,0)→(2,1)→(3,0)→(1,−1), go clockwise: from (2,1) the path turns right to reach (3,0), then right again to (1,−1). Equivalently, the shorter turn from the arrow T(e1​)=(2,1) to the arrow T(e2​)=(1,−1) is clockwise, whereas from e1​ to e2​ it was anticlockwise. That reversal is what det(A)<0 records.

    (c) Shear, then measure a rectangle. Let u=(2,1) and v=(1,−1). The component of v along u has coefficient

    c=∥u∥2u⋅v​=4+12−1​=51​,

    so the perpendicular component is w=v−51​u=(1−52​,−1−51​)=(53​,−56​). Check: u⋅w=56​−56​=0. ✓

    Replacing the edge v by v−cu slides the far edge of the parallelogram parallel to the base u; the base and the perpendicular height are untouched, so the area is unchanged. (In matrix language this is a row replacement, which leaves the determinant alone.) The sheared shape is a rectangle with sides ∥u∥=5​ and ∥w∥=259​+2536​​=2545​​=5​3​, so

    area=5​⋅5​3​=3,

    in agreement with (b).

    (d) Multiplicativity does the work. det(A2)=det(A)2=9, so the image of S under A2 has area 9, and since 9>0 orientation is preserved: two reversals make a preservation, and the image is traversed anticlockwise. Directly,

    A2=(2⋅2+1⋅11⋅2+(−1)⋅1​2⋅1+1⋅(−1)1⋅1+(−1)(−1)​)=(51​12​),det(A2)=10−1=9. ✓

  12. 12.Proof

    You may quote the theorem that the parallelogram spanned by the rows u,v of a 2×2 matrix has area ∣det∣, and the decomposition v=cu+w with u⋅w=0 used in its proof. Everything else must be argued.

    1. (a)Let P=(p1​,p2​), Q=(q1​,q2​) and R=(r1​,r2​) be points in the plane. Prove that the triangle PQR has area 21​​det​111​p1​q1​r1​​p2​q2​r2​​​​.
    2. (b)Deduce that P, Q, R are collinear if and only if that 3×3 determinant is zero.
    3. (c)Prove that for any u,v∈R2, ​det(uv​)​≤∥u∥∥v∥, and determine exactly when equality holds.
    4. (d)Apply (a) to P=(−1,2), Q=(3,4), R=(1,7), check the answer by a method that uses no determinant, and confirm that the inequality in (c) holds for the edge vectors Q−P and R−P.

    Solution

    (a) Reduce the 3×3 to the edge-vector 2×2. Subtract row 1 from row 2 and from row 3. These are row replacements, so the determinant is unchanged:

    det​111​p1​q1​r1​​p2​q2​r2​​​=det​100​p1​q1​−p1​r1​−p1​​p2​q2​−p2​r2​−p2​​​.

    Expand along the first column, where only the (1,1) entry survives, with sign +:

    =det(q1​−p1​r1​−p1​​q2​−p2​r2​−p2​​),

    the determinant whose rows are the edge vectors u=Q−P and v=R−P. By the quoted theorem its absolute value is the area of the parallelogram spanned by u and v, placed with its corner at P. The diagonal from P to P+u+v cuts that parallelogram into two congruent triangles, one of which is PQR (its vertices are P, P+u=Q, P+v=R). So the triangle has half the area, which is the claim. ■

    (b) Zero area means a flat triangle. By (a), the determinant is zero exactly when the triangle has area zero. If P,Q,R lie on one line then the edge vectors u and v are parallel (or one of them is 0, if two points coincide), so the rows of the 2×2 matrix are linearly dependent and its determinant is 0 by inspection. Conversely, if the 2×2 determinant is 0 then by the singularity criterion its rows are dependent: either one of u,v is zero, or one is a multiple of the other. In every case R−P is a multiple of Q−P (or Q=P and any three points including a repeated one are collinear), so R lies on the line through P and Q. ■

    (c) The height is at most the slant edge. If u=0 both sides are 0 and the inequality holds with equality. Otherwise decompose v=cu+w with u⋅w=0. From the proof of the area theorem, ∣det∣=∥u∥∥w∥. Because u⊥w, expanding ∥v∥2=(cu+w)⋅(cu+w) kills the cross term and gives

    ∥v∥2=c2∥u∥2+∥w∥2 ≥ ∥w∥2,

    so ∥w∥≤∥v∥ and therefore ∣det∣=∥u∥∥w∥≤∥u∥∥v∥.

    Equality holds exactly when c2∥u∥2=0, that is c=0 (given u=0), which by the formula c=∥u∥2u⋅v​ means u⋅v=0. Together with the degenerate case: equality if and only if u⊥v or one of the vectors is zero. Geometrically, a parallelogram with given side lengths has the largest area when it is a rectangle. ■

    (d) Numbers. With P=(−1,2), Q=(3,4), R=(1,7), the row replacements of (a) give edge vectors u=Q−P=(4,2) and v=R−P=(2,5), so

    det​111​−131​247​​=det(42​25​)=20−4=16,area=21​⋅16=8.

    Determinant-free check with the bounding box: the vertices lie in the rectangle [−1,3]×[2,7], of area 4⋅5=20. Cutting off the three right triangles outside PQR — legs 4 and 2 along PQ, legs 2 and 3 along QR, legs 2 and 5 along RP — removes 4+3+5=12, leaving 8. ✓

    For (c): ∥u∥∥v∥=20​29​=580​, and 16≤580​ because 162=256<580. Strict inequality is expected, since u⋅v=8+10=18=0: the edges are not perpendicular. ✓

← Back to the question sheet

CalcPath·Free university mathematics

SubjectsProblem setsProgressFeedbackAbout