Linear Algebra and Vector Geometry 201-SN4-RE • CEGEP, Montreal
Corrected exercises: determinants, cofactors and Cramer's rule (201-SN4-RE)
These are the corrected exercises on determinants and Cramer's rule for the CEGEP course Linear Algebra and Vector Geometry, 201-SN4-RE (formerly 201-NYC), taken by Science students; Social Science students meet the same chapter in 201-105. Part A covers the basics: 2×2 and 3×3 determinants computed in two ways, a determinant of order 4 by cofactor expansion, clever computation by triangularization and by factoring out common factors, the effect of elementary row operations on the value of the determinant, the adjugate matrix and the inverse by cofactors. Part B rises to exam level: proofs of the multiplicative properties, the parameter values that make a matrix singular, a complete problem solved by Cramer's rule, the Vandermonde determinant and interpolation, the determinant as area and volume, and the fundamental identity of the adjugate matrix.
Part C, exercises 11 to 15, adds five classics: what det(AB)=det(A)det(B) rules out (A2=−I3, nilpotent and orthogonal matrices), a tridiagonal determinant of order n solved by a recurrence, lines and planes written as determinants, the area of a lot by the shoelace formula, and the circle through three points. The traps are dealt with where they cost marks: the double minus sign in −bc (exercise 1), det(2C) mistaken for 2det(C) (exercise 2), det(A+A) taken as det(A)+det(A) (exercise 3), the transpose forgotten in the adjugate matrix (exercise 4), a factor taken out of a row and never put back in front (exercise 5), a single root sought where there are three (exercise 6), and the area unit counted as 10m2 instead of 100m2 (exercise 14).
Exercise 0.1 opens the set with ten determinants to compute directly, as in the textbook drills: 2×2 determinants with integer and fractional entries, a triangular matrix of order 4, the rule of Sarrus, cofactor expansion along an almost empty row, an operation R2−4R1 that creates zeros, common factors taken out of rows, an order 4 determinant with an almost empty column, the value of x that makes a determinant zero, and a 2×2 system solved by Cramer's rule, each with a value to find that is checked on the spot.
The determinant is the tool that ties the whole course together. It decides whether a set of vectors is linearly independent, whether a matrix is invertible, whether a system has a unique solution, and it measures an area or a volume. The same number answers four different questions, and exams like to jump from one to another without warning.
One piece of method advice before you start: never compute a determinant of order 4 by expanding along the first row out of habit. Look first for the row or column with the most zeros, or create some with an elementary row operation. A well-chosen expansion replaces four 3×3 determinants by a single one.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•Cofactor: Cij=(−1)i+jMij, where Mij is the minor, that is the determinant obtained by deleting row i and column j. The factor (−1)i+j follows the checkerboard of signs that starts with a plus in the top left corner.
•Cofactor expansion: det(A)=∑jaijCij for any fixed row i, or det(A)=∑iaijCij for any fixed column j. All these values agree, so choose the row or column with the most zeros.
•Effect of elementary row operations: swapping two rows changes the sign of the determinant; multiplying a row by k multiplies the determinant by k; adding a multiple of one row to another does NOT change the determinant. This last property is what lets you create zeros for free.
•Multiplicative properties: det(AB)=det(A)det(B), det(AT)=det(A), det(kA)=kndet(A) for an n×n matrix, and det(A−1)=det(A)1 when A is invertible.
•Invertibility: A is invertible if and only if det(A)=0; it is then called nonsingular, otherwise singular. Inverse by cofactors: A−1=det(A)1adj(A), where adj(A) is the transpose of the matrix of cofactors.
•Cramer's rule: for a system AX=B of n equations in n unknowns with det(A)=0, the i-th unknown is xi=det(A)det(Ai), where Ai is the matrix A with its i-th column replaced by the right-hand side B.
Calculations: the determinants to compute
Exercise 0.1: Computing determinants: ten direct calculations
For each line, compute the requested determinant, or the requested value, by the shortest route. Give fractions exactly, as 43 or 3/4.
Look at the matrix before computing: a triangular matrix is read off its diagonal, a row or column full of zeros points to a cofactor expansion, with the sign (−1)i+j of the position, and a row with a common factor is simplified first. Adding a multiple of one row to another does not change the determinant, and that is how zeros are created. What is left is a 2×2, ad−bc, or the rule of Sarrus for a 3×3.
a) −654−3.
b) 3243−2123.
c) 27−390−145003−8000−2.
d) 431−1052−21, by the rule of Sarrus.
e) 20510−14−32, by cofactor expansion along the second row.
f) 14−2310−4−2−57, after first creating zeros with R2−4R1 and R3+2R1.
g) 641−9203−25, after first factoring the common factors out of the first two rows.
h) 123−141020002−1315.
i) Find the values of x for which x−143x+3=0.
j) Solve the system {4x−3y=52x+5y=−1 by Cramer's rule, then give x and y.
Show the solution
Answers
a)18−20=−2
b)1+83=811
c)2(−1)(3)(−2)=12
d)32−(−43)=75
e)(−3)(−1)(−7)=−21
f)−2233=−12
g)6×42=252
h)2×(−1)×32=−64
i)(x+5)(x−3)=0; x=−5 or x=3
j)x=2622=1311; y=−2614=−137
The move that decides everything: choose the route before computing. A diagonal, a row of zeros, a common factor or an operation Ri−kRj replaces a long expansion, and every cofactor carries the sign of its position in the checkerboard +,−,+.
a)
ad−bc=(−6)(−3)−(4)(5)=18−20=−2.
b)
32⋅23−(−21)⋅43=1+83=811. Pitfall: −bc with b negative gives a PLUS.
c)
The matrix is lower triangular: the determinant is the product of the diagonal, 2×(−1)×3×(−2)=12. The entries below the diagonal do not count.
d)
Downward diagonals: 4⋅0⋅1+(−1)(−2)(1)+2⋅3⋅5=0+2+30=32. Upward diagonals: 2⋅0⋅1+4(−2)(5)+(−1)(3)(1)=0−40−3=−43. So 32−(−43)=75. Pitfall: subtracting the upward diagonals without brackets, which gives 32−43=−11.
e)
The second row has a single nonzero entry, −3, in position (2,3), with sign (−1)2+3=−1. Its minor is 251−1=−2−5=−7. So det=(−3)×(−1)×(−7)=−21. Pitfall: forgetting the sign of the position, which gives +21.
f)
R2−4R1 gives (0,−2,3) and R3+2R1 gives (0,2,3), without changing the determinant. Expand along the first column: 1×−2233=−6−6=−12.
g)
Factor 3 out of the first row and 2 out of the second: det=3×2×221−3101−15. This last one equals 2(5−0)−(−3)(10+1)+1(0−1)=10+33−1=42, so det=6×42=252. Pitfall: factoring a number out of a row without putting it back in front.
h)
The third column has a single nonzero entry, 2, in position (4,3), with sign (−1)4+3=−1. Its minor, without row 4 and column 3, is 123410−131=1(1−0)−4(2−9)+(−1)(0−3)=1+28+3=32. So det=2×(−1)×32=−64. Pitfall: the sign of position (4,3).
i)
(x−1)(x+3)−12=x2+2x−15=(x+5)(x−3), zero for x=−5 or x=3. Check: for x=3, 2436=12−12=0.
j)
detA=4(5)−(−3)(2)=26. Replace the column of x by the right-hand side: detAx=5−1−35=25−3=22, then the column of y: detAy=425−1=−4−10=−14. So x=2622=1311 and y=−2614=−137. Pitfall: (−3)(−1)=+3, which is subtracted in detAx.
Check: a 3×3 determinant is redone along another row or by Sarrus, and the two results must agree. For Cramer, substitute back into the system: 4⋅1311−3⋅(−137)=1344+21=5.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Part A: the basics (/50)
Exercise 1: Determinants of order 2 and 3, two methods
Consider the matrices A=(35−24) and B=201−14235−2.
a) Compute det(A).
b) Compute det(B) by the rule of Sarrus.
c) Compute det(B) again by cofactor expansion along the first column, and check that you get the same number.
d) Are the matrices A and B invertible? Justify.
Show the solution
Answers
a)det(A)=22
b)det(B)=−53
c)C11=−18, C31=−17: −53
d)Both are invertible
a)
det(A)=(3)(4)−(−2)(5)=12+10=22. Watch the double negative sign: it is the most frequent error on a 2×2 determinant.
b)
Rule of Sarrus: copy the first two columns to the right, then add the three downward diagonals and subtract the three upward diagonals. Downward diagonals: (2)(4)(−2)=−16, (−1)(5)(1)=−5, (3)(0)(2)=0, with sum −21. Upward diagonals: (1)(4)(3)=12, (2)(5)(2)=20, (−2)(0)(−1)=0, with sum 32. So det(B)=−21−32=−53.
c)
The first column contains a zero, so it is a good choice. det(B)=2C11+0C21+1C31, and the middle term vanishes. We have C11=(+1)425−2=(4)(−2)−(5)(2)=−8−10=−18 and C31=(+1)−1435=(−1)(5)−(3)(4)=−5−12=−17. The sign of C31 is positive because (−1)3+1=+1. So det(B)=2(−18)+1(−17)=−36−17=−53. The two methods agree.
An important reminder: the rule of Sarrus works ONLY for 3×3 matrices. It does not extend to order 4, contrary to what many students attempt on exams. Beyond order 3, only cofactor expansion is valid.
d)
det(A)=22=0, so A is invertible. det(B)=−53=0, so B is invertible as well. A negative determinant is no obstacle: a zero determinant, and only a zero determinant, rules out invertibility.
Exercise 2: A determinant of order 4 by cofactors
Consider the matrix of order 4: C=2041012010323010.
a) Which row or column would you choose for the cofactor expansion? Justify your choice.
b) Compute det(C).
c) Without any new calculation, give det(CT) and justify.
d) Without computing another determinant, give det(2C) and justify.
Show the solution
Answers
a)Second row: three zeros
b)det(C)=12
c)det(CT)=12
d)det(2C)=24×12=192
a)
The second row, (0,1,0,0), contains three zeros: it is the best possible choice, since the expansion reduces to a single term instead of four. The second column, (0,1,2,0), contains two, so it would be the second choice. Expanding along the first row would mean computing three 3×3 determinants for nothing.
b)
Expand along the second row. Only the entry a22=1 is nonzero, and its sign is (−1)2+2=+1. So det(C)=1×241132310, the minor obtained by deleting the second row and the second column.
Compute this 3×3 determinant by expanding along its first row: 2((3)(0)−(1)(2))−1((4)(0)−(1)(1))+3((4)(2)−(3)(1))=2(−2)−1(−1)+3(8−3)=−4+1+15=12. So det(C)=12.
c)
det(CT)=det(C)=12. A matrix and its transpose always have the same determinant. That is precisely why one may expand along a row or along a column alike: transposing swaps the two roles without changing the result.
d)
det(2C)=24det(C)=16×12=192. The error to avoid here is writing det(2C)=2det(C). Multiplying the whole matrix by 2 multiplies EACH of its four rows by 2, and each multiplied row brings a factor 2 out of the determinant, hence 24. The general rule is det(kA)=kndet(A) for an n×n matrix, and the exponent n is the part regularly forgotten on exams.
Exercise 3: Properties of the determinant and elementary row operations
Let A be a square matrix of order 3 about which we only know that det(A)=6. None of its entries is known.
In each case, give the requested value and justify it by the property used, without ever trying to rebuild A.
a) A1 is obtained by swapping the first and third rows of A. What is det(A1)?
b) A2 is obtained by multiplying the second row of A by 5. What is det(A2)? What is det(5A)?
c) A3 is obtained by adding four times the first row of A to its second row. What is det(A3)?
d) Give det(A2), det(A−1) and det(AT). What would det(A+A) be?
Show the solution
Answers
a)−6
b)30; det(5A)=750
c)6
d)36; 61; 6; det(A+A)=48
a)
Swapping two rows changes the sign of the determinant: det(A1)=−6.
b)
Multiplying ONE row by 5 multiplies the determinant by 5: det(A2)=5×6=30. On the other hand, 5A multiplies ALL THREE rows by 5, so det(5A)=53×6=125×6=750. This is exactly the distinction the exam is testing when it asks the two questions side by side.
c)
Adding a multiple of one row to another row does not change the determinant: det(A3)=6. It is the most useful property of all, because it lets you create zeros freely before a cofactor expansion, with nothing to correct afterwards. Geometrically, adding a multiple of one column to another SLIDES the parallelogram without changing its base or its height: its area, hence the determinant, stays the same.
d)
det(A2)=det(A)det(A)=6×6=36, by the property det(AB)=det(A)det(B). Since det(A)=6=0, the matrix A is invertible and det(A−1)=det(A)1=61. Finally det(AT)=det(A)=6.
For det(A+A): the trap is to write det(A)+det(A)=12. That is wrong, because the determinant is NOT additive. You have to see that A+A=2A, so det(A+A)=det(2A)=23×6=48. Remember the formula that does not exist: det(A+B)=det(A)+det(B) in general. The determinant is multiplicative, never additive.
Exercise 4: Adjugate matrix and inverse by cofactors
Consider the matrix A=105216340.
a) Compute det(A) and conclude about the invertibility of A.
b) Compute the nine cofactors of A.
c) Deduce the adjugate matrix adj(A), then A−1.
d) Check your result by computing the product AA−1.
Show the solution
Answers
a)det(A)=1: invertible
b)Cofactors −2418520−15−4−541
c)A−1=−2420−518−1545−41
d)AA−1=I3
a)
Expansion along the first row: det(A)=1((1)(0)−(4)(6))−2((0)(0)−(4)(5))+3((0)(6)−(1)(5))=1(−24)−2(−20)+3(−5)=−24+40−15=1. The determinant is 1=0, so A is invertible. A determinant equal to 1 will make what follows especially easy to read, since dividing by 1 changes nothing.
b)
Apply Cij=(−1)i+jMij, following the checkerboard of signs +−+−+−+−+.
The matrix of cofactors is −2418520−15−4−541. The adjugate is its TRANSPOSE: adj(A)=−2420−518−1545−41. Forgetting to transpose is the number one error in this exercise, and it stays invisible until the final product is checked.
First row of the product AA−1: (1)(−24)+(2)(20)+(3)(−5)=−24+40−15=1, then (1)(18)+(2)(−15)+(3)(4)=18−30+12=0, then (1)(5)+(2)(−4)+(3)(1)=5−8+3=0. We do get (1,0,0). Carrying on in the same way with the other two rows gives the identity matrix I3, which confirms the inverse. This check takes one minute and catches every sign error: never skip it.
Exercise 5: Computing a determinant cleverly: triangular, proportional rows, factors
This exercise never asks for a brute-force expansion along the first row. Each determinant is quick to compute once its structure has been spotted.
a) Compute det(U) with U=3007−20−254, and state the rule used.
b) Without expanding, explain why det(P)=0 with P=125240361.
c) Compute det(M) with M=123257−112 by first creating zeros in the first column with elementary row operations.
d) Compute det(N) with N=231435632 by first factoring the common factors out of the rows.
Show the solution
Answers
a)−24
b)Proportional rows: 0
c)det(M)=2
d)det(N)=42
a)
The matrix U is upper triangular: every entry below the diagonal is zero. The determinant of a triangular matrix is the product of its diagonal entries: det(U)=(3)(−2)(4)=−24. No expansion is needed, and the rule also holds for lower triangular and diagonal matrices. This is exactly the point of Gaussian elimination here: triangularize, then multiply the diagonal.
b)
The second row of P is twice the first: (2,4,6)=2(1,2,3). Two proportional rows form a linearly dependent set, so the determinant is zero: det(P)=0. It can also be seen as a consequence of the effect of row operations: replacing R2 by R2−2R1 gives a row of zeros, and a determinant with a row of zeros equals 0. No Sarrus calculation is required.
c)
Adding a multiple of one row to another does not change the value of a determinant. Create zeros below the first pivot: R2←R2−2R1 gives (0,1,3), and R3←R3−3R1 gives (0,1,5). The determinant becomes 100211−135. Expand along the first column, which now has a single term: det(M)=1×1135=1(5−3)=2. Direct check by Sarrus: 1(10−7)−2(4−3)+(−1)(14−15)=3−2+1=2, everything agrees.
d)
Each row carries a common factor. The first is 2(1,2,3), the second is 3(1,1,1). Multiplying a row by a scalar multiplies the determinant by that scalar, so both factors come out: det(N)=2×3×111215312. The remaining determinant equals 1(1⋅2−1⋅5)−2(1⋅2−1⋅1)+3(1⋅5−1⋅1)=1(−3)−2(1)+3(4)=−3−2+12=7. So det(N)=6×7=42. The trap would be to factor a number out and then forget to carry it into the final product: every scalar taken out must reappear as a factor.
Part B: exam level (/50)
Exercise 6: Proofs and a singular matrix with a parameter
This exercise mixes proof and the search for a parameter. Questions a) and b) are done without a single numerical entry.
a) Prove that if A is a square matrix with two identical rows, then det(A)=0. Use the effect of a row interchange.
b) Let A be an invertible matrix. Prove that det(A−1)=det(A)1.
c) Find all values of k for which the matrix M=k121k121k is singular.
d) For the integer value of k found in c), exhibit an explicit linear dependence relation between the rows of M, and explain why such a relation had to exist.
Show the solution
Answers
a)det(A)=−det(A): zero
b)det(A)det(A−1)=1
c)k=2 or k=−1±3
d)R1−R3=0
a)
Let A be a matrix whose rows Ri and Rj are identical, with i=j. Swap these two rows: the resulting matrix, call it A′, is exactly the same as A, since the two rows swapped had the same entries. So det(A′)=det(A). But by the row-interchange property, det(A′)=−det(A). Combining: det(A)=−det(A), so 2det(A)=0, so det(A)=0. The proof takes three lines and uses no entry at all.
A consistent geometric consequence: two identical rows mean two equal vectors among the rows, hence a linearly dependent set, hence a zero volume. For two vectors in the plane the picture is even clearer: if they are COLLINEAR, the parallelogram they span is flattened, its area is zero, so the determinant is zero and the matrix is not invertible.
b)
By definition of the inverse, AA−1=I. Take the determinant of both sides: det(AA−1)=det(I). The left side factors by the multiplicative property: det(A)det(A−1). The right side equals 1, since the determinant of the identity matrix is 1. So det(A)det(A−1)=1. Since A is invertible, det(A)=0, and we may divide: det(A−1)=det(A)1.
Notice in passing what this equality proves between the lines: the inverse of a matrix with integer entries has integer entries only if det(A)=±1.
c)
Expand along the first row: det(M)=kk11k−1121k+212k1=k(k2−1)−1(k−2)+2(1−2k).
Expanding: k3−k−k+2+2−4k=k3−6k+4. The matrix is singular when this polynomial vanishes. Look for an obvious root among the divisors of 4: for k=2, 8−12+4=0. So k=2 is a root, and we factor out k−2: k3−6k+4=(k−2)(k2+2k−2).
The quadratic factor gives k=2−2±4+8=2−2±23=−1±3. The matrix M is therefore singular for k=2, k=−1+3≈0.73 and k=−1−3≈−2.73. Three values, not one: a determinant of order 3 with a parameter on the diagonal gives a polynomial of degree 3, and all of its roots must be found.
d)
For k=2, the matrix becomes M=212121212. Rows R1 and R3 are identical, so R1−R3=(0,0,0) is an explicit dependence relation, with coefficients (1,0,−1) not all zero.
Such a relation had to exist: det(M)=0 is equivalent to saying that the rows of M are linearly dependent, and a linearly dependent set is precisely one that admits a zero linear combination with coefficients not all zero. A zero determinant and the dependence relation are two statements of the same fact, one numerical and the other structural. Here, question a) even gives the result with no calculation: two identical rows are enough to conclude that det(M)=0.
Exercise 7: Problem: three tutoring formats solved by Cramer's rule
A homework help centre bills three formats: a one-on-one session, a session for two and a group workshop. The unit rates are unknown, but three weekly statements are available.
Week 1: 2 one-on-one sessions, 1 session for two and 1 workshop cancelled and refunded (so counted negatively) give a balance of 2 billing units. Week 2: 1 one-on-one, 3 sessions for two and 1 refunded workshop give 2 units. Week 3: 3 one-on-one sessions, 1 refunded session for two and 2 workshops give 11 units.
Writing x, y and z for the rates of the three formats, we get the system ⎩⎨⎧2x+y−z=2x+3y−z=23x−y+2z=11.
a) Write the system in the matrix form AX=B and compute det(A).
b) Does Cramer's rule apply? What can be said about the number of solutions before even computing them?
c) Compute det(Ax) and deduce x.
d) Compute det(Ay) and det(Az), then deduce y and z.
e) Check the solution in the three original equations.
f) The third statement is corrected: its right-hand side goes from 11 to 14, the coefficients being unchanged. Without redoing all the work, explain what must be recomputed and what remains valid, then give the new value of x.
Show the solution
Answers
a)det(A)=15
b)Cramer applies: unique solution
c)det(Ax)=30: x=2
d)y=1, z=3
e)All three equations check
f)det(A) unchanged; x=1536=2.4
a)
A=21313−1−1−12, X=xyz and B=2211.
Expansion along the first row: det(A)=2((3)(2)−(−1)(−1))−1((1)(2)−(−1)(3))+(−1)((1)(−1)−(3)(3))=2(6−1)−1(2+3)−1(−1−9)=10−5+10=15.
b)
The determinant is 15=0, so A is invertible and Cramer's rule applies. We can state BEFORE any calculation that the system has a unique solution. That is exactly the role of the determinant of the system: it settles existence and uniqueness without giving the solution. Had det(A) been zero, Cramer would have been unusable and Gauss-Jordan elimination would have been needed to tell no solution from infinitely many.
c)
Replace the first column of A by B: det(Ax)=221113−1−1−12=2(6−1)−1(4+11)+(−1)(−2−33)=10−15+35=30. So x=det(A)det(Ax)=1530=2.
d)
Replace the second column by B: det(Ay)=2132211−1−12=2((2)(2)−(−1)(11))−2((1)(2)−(−1)(3))+(−1)((1)(11)−(2)(3))=2(15)−2(5)−1(5)=30−10−5=15. So y=1515=1.
Then the third column: det(Az)=21313−12211=2((3)(11)−(2)(−1))−1((1)(11)−(2)(3))+2((1)(−1)−(3)(3))=2(35)−1(5)+2(−10)=70−5−20=45. So z=1545=3.
e)
Equation 1: 2(2)+1−3=4+1−3=2, as required. Equation 2: 2+3(1)−3=2+3−3=2, as required. Equation 3: 3(2)−1+2(3)=6−1+6=11, as required. The solution is (x,y,z)=(2,1,3), that is rates of 2, 1 and 3 billing units. Checking in ALL THREE equations, and not only in the one used for the last calculation, is what separates a sure answer from a hopeful one.
f)
The coefficients of the system do not change, so the matrix A is unchanged and det(A)=15 remains valid: nothing to recompute on that side, and the conclusion about existence and uniqueness of the solution still holds. On the other hand, each of the three determinants det(Ax), det(Ay) and det(Az) contains the column B, so all three must be recomputed.
For x: det(Ax)=221413−1−1−12=2(6−1)−1(4+14)+(−1)(−2−42)=10−18+44=36, hence x=1536=512=2.4.
This is the structural advantage of Cramer over Gauss-Jordan when only the right-hand side moves: the denominator, which is the costly part of the work, is computed once and for all. And if only one unknown is asked for, Cramer gives a single determinant to compute where Gauss-Jordan requires solving the whole system.
Exercise 8: Proof: the Vandermonde determinant of order 3
The Vandermonde determinant is V(a,b,c)=1aa21bb21cc2, which appears as soon as one looks for a polynomial through three points.
a) Compute V(a,b,c) in terms of a, b, c, and factor the result completely.
b) Deduce a simple condition on a, b and c for the Vandermonde matrix to be invertible.
c) Numerical application: compute V(1,2,4) in two ways, by the factored formula and by a direct expansion.
d) A second-degree polynomial p(x)=α+βx+γx2 must pass through three points with x-coordinates a, b, c. Explain how the result of b) guarantees that such a polynomial exists and is unique.
Show the solution
Answers
a)V=(b−a)(c−a)(c−b)
b)a, b, c distinct
c)V(1,2,4)=6
d)System with determinant V=0: unique parabola
a)
Create zeros in the first row by subtracting columns, which does not change the determinant: C2←C2−C1 and C3←C3−C1 give 1aa20b−ab2−a20c−ac2−a2. Expand along the first row: V=b−ab2−a2c−ac2−a2. Factor each column: b2−a2=(b−a)(b+a) and c2−a2=(c−a)(c+a), so (b−a) comes out of the first column and (c−a) out of the second: V=(b−a)(c−a)1b+a1c+a=(b−a)(c−a)((c+a)−(b+a))=(b−a)(c−a)(c−b).
b)
The Vandermonde matrix is invertible if and only if V(a,b,c)=0, that is, if and only if none of the three factors (b−a), (c−a), (c−b) is zero. In other words, it is invertible exactly when a, b and c are pairwise distinct. A single coincidence between two of the three values is enough to make the determinant vanish.
c)
By the formula: V(1,2,4)=(2−1)(4−1)(4−2)=(1)(3)(2)=6. By direct expansion: 1111241416=1(2⋅16−4⋅4)−1(1⋅16−4⋅1)+1(1⋅4−2⋅1)=1(16)−1(12)+1(2)=6. The two methods agree, which confirms the factorization.
d)
Prescribing p(a), p(b), p(c) amounts to solving a system of three linear equations whose unknowns are α, β, γ, and whose coefficient matrix is exactly the transpose of the Vandermonde matrix. Since a matrix and its transpose have the same determinant, the determinant of the system is V(a,b,c). When a, b, c are distinct, this determinant is nonzero: the system has a unique solution, so there is one and only one polynomial of degree at most 2 through the three points. This is the algebraic foundation of interpolation: three points with distinct x-coordinates determine a unique parabola.
Exercise 9: Problem: the determinant as an area and as a volume
The determinant is not only a test for invertibility: its absolute value measures an area in the plane and a volume in space. This geometric reading is used here in both dimensions.
a) Compute the area of the triangle with vertices A(1,1), B(4,2) and C(2,5) using a 2×2 determinant.
b) Are the points P(0,0), Q(2,1) and R(6,3) collinear? Answer with a determinant, and give the geometric meaning of its value.
c) Find the value of t for which the points (1,2), (3,5) and (5,t) are collinear.
d) Compute the volume of the tetrahedron built on the origin and the three vectors u=(1,0,1), v=(2,1,0), w=(0,3,1), then find the value of m for which the vectors (1,1,1), (2,0,1) and (1,−1,m) are coplanar.
Show the solution
Answers
a)211=5.5
b)Zero determinant: collinear
c)t=8
d)Volume 67; m=0
a)
The area of a triangle ABC is half the absolute value of the determinant formed by AB and AC. Here AB=(3,1) and AC=(1,4), so the area is 213114=21∣12−1∣=211=5.5 square units. The absolute value is essential: the determinant alone can be negative depending on the orientation, but an area never is.
b)
PQ=(2,1) and PR=(6,3). The determinant is 2163=6−6=0. Three points are collinear if and only if this determinant is zero, because a zero determinant means a zero area, hence a flattened triangle: the three points lie on one line. Here PR=3PQ, so the collinearity is explicit.
c)
The points (1,2), (3,5), (5,t) are collinear when AB=(2,3) and AC=(4,t−2) are collinear, that is, when 234t−2=0. This gives 2(t−2)−3(4)=2t−4−12=2t−16=0, so t=8. For any other value of t, the three points form a genuine triangle with nonzero area.
d)
The volume of the tetrahedron built on three vectors from a common vertex is one sixth of the absolute value of their determinant: 120013101=1(1−0)−0(2−0)+1(6−0)=1+6=7, so the volume is 61∣7∣=67 cubic units. For coplanarity, require the determinant of the three vectors to be zero: 12110−111m=1(0⋅m−1⋅(−1))−1(2m−1)+1(−2−0)=1−2m+1−2=−2m. This determinant vanishes for m=0: it is the only value that makes the three vectors coplanar, that is, that flattens to zero the volume of the parallelepiped they span.
Exercise 10: Proof: adjugate matrix, the fundamental identity and the determinant of the adjugate
Recall that the adjugate matrix adj(A) is the transpose of the matrix of cofactors of A, and that for A invertible, A−1=det(A)1adj(A).
a) Prove that for every invertible square matrix A of order n, Aadj(A)=det(A)In.
b) Deduce that det(adj(A))=(det(A))n−1.
c) Application with A=210011102: compute det(A) and adj(A), check the identity of a), and confirm the formula of b).
d) A matrix B of order 3 satisfies det(B)=1. What are det(adj(B)) and det(adj(adj(B)))? Justify using b).
Show the solution
Answers
a)Aadj(A)=det(A)In
b)det(adj(A))=det(A)n−1
c)det(A)=5; det(adj(A))=25
d)1 and 1
a)
Start from the equality that defines the inverse by cofactors: A−1=det(A)1adj(A), valid because A is invertible, so det(A)=0. Multiply both sides on the left by A: AA−1=det(A)1Aadj(A). The left side equals In. Multiplying both sides by the scalar det(A) gives det(A)In=Aadj(A), which is the stated identity.
b)
Take the determinant of the identity Aadj(A)=det(A)In. The left side factors: det(A)det(adj(A)). The right side is the determinant of the scalar det(A) times In, that is (det(A))ndet(In)=(det(A))n, since multiplying an n×n matrix by a scalar k multiplies its determinant by kn and det(In)=1. So det(A)det(adj(A))=(det(A))n. Since det(A)=0, divide: det(adj(A))=(det(A))n−1.
c)
Expansion along the first column: det(A)=21102−10112+0=2(2)−1(−1)=5. The nine cofactors give the matrix of cofactors 21−1−2411−22, and the adjugate is its transpose: adj(A)=2−2114−2−112. Check the identity: Aadj(A)=500050005=5I3=det(A)I3. Finally det(adj(A))=25=52=(det(A))3−1, which confirms the formula of b) with n=3.
d)
With n=3 and det(B)=1: det(adj(B))=(det(B))n−1=12=1. Applying the formula again to the matrix adj(B), itself of order 3: det(adj(adj(B)))=(det(adj(B)))2=12=1. One can go further: the known identity adj(adj(B))=(det(B))n−2B gives here adj(adj(B))=(det(B))1B=B, so the adjugate of the adjugate gives back B itself when det(B)=1 and n=3.
Part C: the classics (/50)
Exercise 11: What the multiplicativity of the determinant rules out
We use the property det(AB)=det(A)det(B) for square matrices of the same order, together with det(kA)=kndet(A) for a matrix of order n.
a) Check the property with A=(1324) and B=(2103).
b) Is there a square matrix A of order 3, with real entries, such that A2=−I3?
c) Compute A2 for A=(01−10). Why does the argument of b) not apply to matrices of order 2?
d) A matrix N satisfies N3=0. What is det(N)? Give a nonzero example of order 2 with N2=0.
e) A matrix Q satisfies QTQ=I. What values can det(Q) take? Compute it for Q=(0.60.8−0.80.6).
Show the solution
Answers
a)−12=(−2)×6
b)No: det(A)2=−1
c)A2=−I2; det(−I2)=1
d)det(N)=0
e)±1; here 1
a)
detA=4−6=−2 and detB=6−0=6. AB=(2+26+40+60+12)=(410612), with determinant 48−60=−12=(−2)×6.
b)
No. If A2=−I3, then det(A)2=det(−I3)=(−1)3=−1. The square of a real number cannot equal −1: no real matrix of order 3 works, and the same argument holds for every odd order.
c)
A2=(0−10+00+0−1+0)=−I2. For order 2, det(−I2)=(−1)2=1 and det(A)2=12=1: no contradiction. This matrix is the rotation by a quarter turn, which applied twice gives the half turn −I.
d)
det(N)3=det(N3)=det(0)=0, so det(N)=0: a nilpotent matrix is never invertible. Example: N=(0010), nonzero, with N2=0 and detN=0.
e)
det(QT)det(Q)=det(Q)2=det(I)=1, so det(Q)=1 or det(Q)=−1. For the given matrix: 0.36+0.64=1. It is a rotation; a reflection such as (100−1) would give −1.
The common thread: taking the determinant of a matrix equation turns it into an equation between numbers, which is often impossible.
Exercise 12: A tridiagonal determinant of order n
For n≥1, let Dn be the determinant of the square matrix of order n with 2 on the diagonal, −1 just above and just below it, and 0 everywhere else. For example D3=2−10−12−10−12.
a) Compute D1 and D2.
b) Compute D3 directly.
c) By expanding along the first row, show that Dn=2Dn−1−Dn−2 for n≥3.
d) Conjecture an expression for Dn, prove it by induction and give D10.
e) Are all these matrices invertible?
Show the solution
Answers
a)D1=2, D2=3
b)D3=4
c)Dn=2Dn−1−Dn−2
d)Dn=n+1; D10=11
e)Yes
a)
D1=2 and D2=2−1−12=4−1=3.
b)
D3=2(4−1)−(−1)((−1)(2)−(−1)(0))+0=6−2=4.
c)
The first entry, 2, has as its minor the same matrix of order n−1: contribution 2Dn−1. The second, −1, carries the sign −; its minor has a first column reduced to −1 at the top followed by zeros, and expands to (−1)Dn−2. Contribution: (−1)×(−1)×(−1)Dn−2=−Dn−2. The other entries of the row are zero. So Dn=2Dn−1−Dn−2.
d)
2, 3, 4: we conjecture Dn=n+1. True for n=1 and n=2. If Dn−1=n and Dn−2=n−1, then Dn=2n−(n−1)=n+1. By induction, Dn=n+1 for every n, and D10=11.
e)
Yes: Dn=n+1=0 for every n. These matrices, which model a string or a bar discretized at n points, are always invertible.
The common thread: a determinant with a regular pattern reduces to a recurrence relation by expanding along the first row.
Exercise 13: Lines and planes by determinants
Three points of the plane are collinear if and only if x1x2x3y1y2y3111=0. Likewise, four points in space are coplanar if and only if the determinant of order 4 whose rows are (xi,yi,zi,1) is zero.
a) Expand x13y28111=0 and give the slope-intercept equation of the line obtained.
b) Why do the points (1,2) and (3,8) satisfy this equation without any calculation?
c) Is the point (5,14) on this line?
d) Expand x100y020z0031111=0 along the first row and give the equation of the plane.
e) Are the points (1,0,0), (0,2,0), (0,0,3) and (2,−2,3) coplanar?
Show the solution
Answers
a)y=3x−1
b)Two equal rows
c)Yes
d)6x+3y+2z=6
e)No: 12 instead of 6
a)
x(2−8)−y(1−3)+1(8−6)=−6x+2y+2=0, that is y=3x−1.
b)
Replacing (x,y) by (1,2) makes the first row equal to the second: a determinant with two equal rows is zero. Same thing with (3,8) and the third row. So the line passes through both points.
c)
3×5−1=14: yes, the point is on the line.
d)
The minors of the first row are 6, −3, 2 and 6, deleting each column in turn; with alternating signs: 6x−(−3)y+2z−6=0, that is 6x+3y+2z=6, or 1x+2y+3z=1, the form that shows the three points where the plane meets the axes.
e)
6(2)+3(−2)+2(3)=12−6+6=12=6: the fourth point is not in the plane, so the four points are not coplanar.
The common thread: an equation “the determinant is zero” describes the set of points that make the set of rows linearly dependent, a line or a plane depending on the dimension.
Exercise 14: Problem: the area of a lot by the shoelace formula
A lot has the shape of the pentagon with vertices A(0,0), B(4,0), C(5,3), D(2,5) and E(−1,3), listed counterclockwise. One unit is 10 metres. The pentagon is convex.
The area of the triangle OPQ, where O is a vertex and OP=(a,b), OQ=(c,d), is 21∣ad−bc∣.
a) Why can the pentagon be cut into three triangles from A?
b) Compute the areas of the triangles ABC, ACD and ADE.
c) Find the total area again by the shoelace formula: A=21∣∑i(xiyi+1−xi+1yi)∣, the last vertex being followed by the first.
d) What does the sum in c), without the absolute value, become if the vertices are listed clockwise?
e) Give the actual area of the lot in square metres.
Show the solution
Answers
a)Convex pentagon
b)6; 9.5; 5.5
c)242=21
d)−42
e)2,100 m²
a)
Since the pentagon is convex, the segments AC and AD stay inside it: the triangles ABC, ACD and ADE cover the lot without overlapping.
The five terms: 0×0−4×0=0; 4×3−5×0=12; 5×5−2×3=19; 2×3−(−1)×5=11; (−1)×0−0×3=0. The sum is 42, so A=21. Each term is twice the signed area of a triangle from the origin: the formula adds up 2×2 determinants.
d)
Listing the vertices in the opposite order changes the sign of each determinant, since it swaps its two rows: the sum is −42. The absolute value makes the formula independent of the direction, and the sign tells which direction was used.
e)
One square unit is 10×10=100m2, so the lot measures 21×100=2100m2.
The common thread: the area of a polygon is a sum of 2×2 determinants, each giving the signed area of a triangle.
Exercise 15: Problem: the circle through three points
We look for the circle through P1(2,0), P2(0,4) and P3(−2,0), in the form x2+y2+Dx+Ey+F=0.
a) Write the system satisfied by D, E and F, compute its determinant and solve it.
b) Find the centre and the radius of the circle.
c) Assume that the circle also has the equation x2+y24164x20−2y0401111=0. The minors of the first row are 16, 0, −48 and 64. Expand and compare with b).
d) Are the points (2,3) and (1.5,4) on the circle?
e) Why does no circle pass through (0,0), (1,1) and (2,2)? Answer with the determinant of the system of a).
Show the solution
Answers
a)D=0, E=−3, F=−4
b)Centre (0,1.5), radius 2.5
c)16(x2+y2−3y−4)=0
d)(2,3) yes; (1.5,4) no
e)Zero determinant: collinear points
a)
P1: 4+2D+F=0. P2: 16+4E+F=0. P3: 4−2D+F=0. The determinant of the coefficients of (D,E,F) is 20−2040111=2(4−0)−0+1(0+8)=16=0: unique solution. Subtracting the third equation from the first gives 4D=0, so D=0, then F=−4 and E=4−16+4=−3. The circle is x2+y2−3y−4=0.
b)
x2+(y−23)2=4+49=425: centre (0,1.5), radius 2.5.
c)
With alternating signs: 16(x2+y2)−0⋅x+(−48)y−64=0, that is 16(x2+y2−3y−4)=0: the same equation, multiplied by 16. Replacing (x,y) by any of the three points makes the first row equal to another one, which makes the determinant zero: the circle does pass through the three points.
d)
(2,3): 4+9−9−4=0, yes. (1.5,4): 2.25+16−12−4=2.25=0, no, the point is outside.
e)
The system becomes F=0, 2+D+E+F=0, 8+2D+2E+F=0, with determinant 012012111=0, the first two columns being equal. It would give D+E=−2 and D+E=−4: inconsistent. Three collinear points lie on no circle.
The common thread: a curve defined by three linear conditions on its coefficients exists and is unique when the determinant of the system is not zero.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.
Get in touch for a first session. We work on 201-SN4-RE at the real level of CEGEP tests, from computing cofactors to writing proofs about the determinant.