MATH 133 Linear Algebra and Geometry • McGill University, Montreal
Revision sheet: determinants, inverses and Cramer's rule (MATH 133)
This sheet is not a summary of section 3.2 of Nicholson: you already have the course notes. It answers one question only, what makes students lose marks on the rules of the determinant, the adjugate and Cramer's rule in MATH 133 at McGill University, and which precise gesture avoids each loss.
Everything below comes back to one fact: det(AB)=detAdetB. The inverse, the transpose, the power and the scalar rules are that fact read in four directions, and the adjugate and Cramer's rule are the place where detA ends up in a denominator. Every number on this sheet reduces by hand, as it must on an exam without a calculator.
Mark this sheet as read or add it to your favourites: a free account, no password, keeps your read sheets and favourites from one visit to the next, tells you which chapter to tackle next and lets you ask for the method or exercise you are missing. Create your space, an email is enough.
The thread of the chapter
The determinant is a MULTIPLICATIVE volume factor: products multiply, inverses divide, the transpose changes nothing, and a scalar in front of an n×n matrix scales n edges, hence kn. The same number detA sits in the denominator of every entry of A−1 and of every Cramer unknown, so detA=0 is where all of them stop, without ever saying that a system has no solution.
•det(AB)=detAdetB, in either order, even though AB=BA in general.
•det(AT)=detA and det(Am)=(detA)m.
•A is invertible if and only if detA=0, and then det(A−1)=detA1: the inverse DIVIDES, it does not change the sign.
•det(kA)=kndetA for an n×n matrix, because kA=(kI)A and det(kI)=kn. One ROW times k gives only kdetA.
•So a composite determinant is one small number per factor: with 3×3 matrices, detA=2 and detB=−3, det(2A−1BT)=8×21×(−3)=−12.
A triples every area and B doubles it, so BA multiplies areas by 3×2=6 whatever the shapes: that is det(BA)=detBdetA.
Write n on the line before any scalar rule. The size of the matrix is a hidden input of det(kA), det(−A) and det(adjA), and it is the input students forget.
A 2 by 2 determinant is a signed area
•det(acbd)=ad−bc is the area of the parallelogram built on the columns (a,c) and (b,d), with a sign.
•The sign is + when the turn from the first column to the second is counterclockwise, − when it is clockwise: swapping the two columns flips it.
•Example: det(3112)=5, and with the columns swapped det(1231)=−5.
•The determinant is 0 exactly when the columns are parallel: the parallelogram is flat. In R3, ∣detA∣ is the volume of the parallelepiped on the columns.
The same two columns give area 5; the order of the columns gives the sign. Parallel columns, as (2,1) and (4,2), give no area at all: determinant 0.
The adjugate and Cramer: det A in every denominator
•Cofactor Cij=(−1)i+jMij, with the checkerboard of signs +−+, −+−, +−+.
•adj(A) is the TRANSPOSE of the matrix of cofactors, and Aadj(A)=adj(A)A=det(A)I for every square A.
•A−1=detA1adj(A), so one entry is (A−1)ij=detACji, indices swapped.
•Cramer: if detA=0, then xj=detAdetAj(b), where Aj(b) is A with column j replaced by b.
•det(adjA)=(detA)n−1, and an integer matrix has an integer inverse exactly when detA=±1.
Cramer as a ratio of areas: b=2a1+a2, and replacing a1 by b doubles the parallelogram on the columns, from 5 to 10. So x1=det(a1,a2)det(b,a2)=510=2.
Cramer's rule and one entry of the inverse are the same idea: a single 3×3 or 2×2 determinant divided by detA. When a question asks for ONE unknown or ONE entry, never compute the whole inverse.
The rules in table form
Each row reads from left to right: the assumptions, then the result. A red cell is not an answer, it is the finding that the form settles nothing and the instruction to rewrite it. Every case is followed by a worked example.
What each new matrix does to the determinant
Read the size first, then the rule. The red line is the one students invent: there is no formula for the determinant of a sum.
New matrix
Size
Determinant
AB
any
detAdetB
Example: detA=2, detB=−3: det(AB)=det(BA)=−6.
A−1
any
detA1
Example: detA=−4: det(A−1)=−41, same sign, not 4.
kA
n×n
kndetA
Example: 3×3 with detA=5: det(2A)=40, and 80 if A is 4×4.
Example: det(I2+I2)=det(2I2)=4, while detI2+detI2=2.
What to do: Add the matrices first, then take ONE determinant of the sum.
Every line but the last is det(AB)=detAdetB in disguise: A−1 from AA−1=I, kA from (kI)A, adj(A) from Aadj(A)=det(A)I.
The mistakes that cost marks
These are the errors I correct most often in session. Each one costs marks on a paper, even when the reasoning behind it is right.
1.Forgetting the power n in the determinant of a scalar multiple
2 marks, and every line that uses the value afterwards
What not to write
“A is 3×3 with detA=5, so det(2A)=2detA=10.”
What to write
“2A multiplies all three rows by 2, so det(2A)=23detA=40.”
In the plane, 3A stretches every edge by 3, and the unit square becomes nine unit squares: det(3A)=32detA, never 3detA.
Why: Only a ROW operation multiplies the determinant by k. The scalar in front of the matrix multiplies each of the n rows, which is the figure: three times every edge of a square is nine squares.
2.Letting the scalar escape from, or into, an inverse
the whole part, the two answers differ by a factor of 64
What not to write
“det((2A)−1)=23⋅detA1=58.”
What to write
“det(2A)=8×5=40, so det((2A)−1)=401; it is det(2A−1) that equals 58.”
Why: In (2A)−1=21A−1 the scalar is inverted along with the matrix; in 2A−1 it is not. Read the parentheses before choosing a rule.
3.Keeping one branch when the determinant is known through its square
the whole part, with a conclusion opposite to the truth
What not to write
“det(AkTAk)=16, so detAk=4; this has no real solution, so no k works.”
What to write
“det(Ak)2=16, so detAk=4 OR detAk=−4; the first branch has no real solution, the second gives k=3 or k=−2.”
Why: det(ATA), det(adjA) for a 3×3 and det(A2) all give a SQUARE, and a square has two roots. In the series example detAk=(2−k)(k+1), which never reaches 4 and reaches −4 twice.
4.Dividing by a determinant that may be zero
2 marks, and the proof is marked as wrong, not incomplete
What not to write
“A2=A gives det(A)2=detA, so detA=1.”
What to write
“detA(detA−1)=0, so detA=0 or detA=1, and (1010) shows that 0 happens.”
Why: Dividing by detA silently assumes A invertible, which is not a hypothesis here. Factor instead of dividing, and every root survives.
5.Swapping back the indices of one entry of the inverse
the whole part on a one-entry question
What not to write
“(M−1)23=detMC23=101.”
What to write
“(M−1)23=detMC32=10−5=−21: the adjugate is the TRANSPOSE of the cofactor matrix.”
Why: Row i of the adjugate holds the cofactors of COLUMN i of M. The two values coincide only for a symmetric matrix, which is exactly why a symmetric example in class hides the trap.
6.Reading a zero determinant as no solution
2 marks, and often the rest of the question
What not to write
“detA=0, so by Cramer's rule the system has no solution.”
What to write
“detA=0, so Cramer's rule does not apply; row reduction of the augmented matrix decides between no solution and infinitely many.”
Same coefficients, same determinant 0: on the left two parallel lines and no solution, on the right one line written twice and infinitely many.
Why: Cramer's rule has a hypothesis, detA=0. When it fails the rule is silent, and both remaining cases really happen with the same coefficient matrix.
7.Proving a statement about the sign without mentioning the size
the whole proof, since the statement is false for even sizes
What not to write
“ST=−S gives detS=−detS, so every skew-symmetric matrix is singular.”
What to write
“det(−S)=(−1)ndetS; for n odd this gives detS=−detS, hence detS=0.”
The skew-symmetric (0−110) turns the unit square a quarter turn clockwise: same area, determinant 1, not 0. Size 2 is even.
Why: (0−110) is skew-symmetric with determinant 1. The step det(−S)=−detS is the power kn with k=−1, and it needs n odd.
8.Adding determinants as if they were matrices
2 marks on a true or false question
What not to write
“detA=detB=0, so det(A+B)=0 and A+B is singular.”
What to write
“There is no rule for det(A+B): here (1000)+(0001)=I, which is invertible.”
Why: The determinant is multiplicative, not additive. Two flattened shapes can add up to a full square, and det(I2+I2)=4=1+1.
Which method to choose
Which tool the question is really asking for
Read what is GIVEN and what is asked, before writing any determinant
If determinants of A and B given, a product of powers, inverses, transposes and scalars asked → one factor per line with the four rules, the scalar raised to the power n
Example: det(2A−1BTA3)=8×21×(−3)×8=−96
If a matrix with a parameter and the words invertible or singular → a factored determinant, then exclude its roots
Example: detAk=(2−k)(k+1): invertible for k=2,−1
If the whole inverse of a 3×3 → nine cofactors, TRANSPOSE, divide by the determinant, check one row of the product
Example: detA=2: A−1=21adj(A)
If ONE entry of the inverse → one cofactor with swapped indices, (A−1)ij=Cji/detA
Example: (M−1)23=C32/10=−21
If ONE unknown of a square system with detA=0 → Cramer's rule: replace that column by b, two determinants
Example: y=10−20=−2
If detA=0 and the question asks how many solutions → row reduction of the augmented matrix; Cramer is silent
Example: x+y=2, 2x+2y=5: a row 0=1, no solution
If prove something about the determinant from a matrix equation → take determinants of both sides, keep every root, mention n
Example: A3=2I in size 3: det(A)3=8, so detA=2
All the unknowns of a large system are cheaper by row reduction than by Cramer's rule: three unknowns cost four 3×3 determinants. Cramer wins when ONE unknown is asked, or when a parameter sits in the right-hand side.
How the answer is expected to be written
A marker ticks steps. Here they are in order, with the concluding sentence expected word for word.
Evaluating a composite determinant
When to use it: A product of known matrices with inverses, transposes, powers and a scalar, and only detA, detB given
1Write the size n on the first line, because the scalar rule needs it.
2Split the product with det(XY)=detXdetY, one factor per line.
3Evaluate each factor with its rule: kn for the scalar, detA1 for an inverse, nothing for a transpose, (detA)m for a power.
4Multiply the numbers and simplify, leaving the order of the matrices alone: only their determinants commute.
Concluding sentence
“Since A and B are 3×3: det(2A−1BTA3)=23det(A−1)det(BT)det(A)3=8×21×(−3)×8=−96.”
The trap: Simplifying the MATRIX A−1BTA3 into BTA2 before taking the determinant: the answer happens to be the same, the line is still marked wrong.
Marking: Usually 1 mark for the scalar power, 1 for the inverse and transpose factors, 1 for the product.
A proof by taking determinants
When to use it: A matrix identity is given (A2=A, QTQ=I, ST=−S, AB=−BA) and a statement about det is asked
1Take the determinant of both sides of the given identity.
2Rewrite each side with the product, transpose and scalar rules, writing (−1)n or kn explicitly.
3Solve the resulting equation between numbers by FACTORING, never by dividing by the determinant.
4State every root, then say where the size or the parity of n was used.
Concluding sentence
“Taking determinants, det(QTQ)=det(Q)2=detI=1, hence detQ=1 or detQ=−1.”
The trap: A proof that never writes n, on a statement that uses (−1)n: it would prove a false statement for even sizes.
Check before you hand in
Five minutes of checking recover more marks than one more problem started in a hurry.
Check a factored determinant at one easy value
After factoring detAk, compute the original determinant at k=0 or k=1 directly and compare.
detA0=2 by expansion, and (2−0)(0+1)=2: consistent. A −2 would reveal a sign error.
One row of A times adj(A)
Before dividing by detA, multiply one row of A by the three columns of adj(A): you must read detA once and 0 twice.
(1,1,0) against the columns of adj(A) gives (2,0,0). Getting (3,…) means the transpose was forgotten.
Substitute the Cramer value
Once one unknown is found, an equation with few terms usually gives another, then all equations can be checked.
z=3 and x+z=4 give x=1; then 2−2−3=−3 checks the first equation.
Sign and size of a determinant of an inverse
det(A−1) has the SAME sign as detA, and a large detA gives a small det(A−1).
detA=−3 with an answer det(A−1)=3 is wrong twice, in sign and in size: it is −31.
The typical problem, taken apart
A final-exam question, from the parameter to one unknown
For every real t, Nt=1012t−1t12.
a) For which t is Nt invertible? b) For t=0, find the entry in row 1, column 2 of N0−1. c) Solve N0x=(3,2,4) for x1 alone. d) Compute det(2N0−1).
Step 1
R3→R3−R1 leaves the determinant unchanged and gives row 3 equal to (0,−3,2−t). Expand along column 1, where only the top entry 1 remains: detNt=det(t−312−t)=t(2−t)+3=(3−t)(t+1).
Why
Naming the row operation and the column of the expansion earns the method mark; producing two zeros in one column turns a three-term expansion into one term.
Step 2
Nt is invertible if and only if (3−t)(t+1)=0, that is for every real t except t=3 and t=−1. For t=0, detN0=3=0.
Why
The conclusion is stated as a condition on t, and the value used later is checked against it before any inverse is written.
Step 3
(N0−1)12=detN0C21. Delete row 2 and column 1: det(2−102)=4, sign (−1)2+1=−1, so C21=−4 and the entry is −34.
Why
The indices are swapped on purpose. Using C12=1 would give 31, and the marker checks precisely this.
Step 4
Replace column 1 by (3,2,4): det32420−1012=3(0+1)−2(4−4)+0=3, so x1=33=1.
Why
One unknown costs one extra determinant; the full inverse would have cost nine cofactors for the same answer.
Step 5
det(2N0−1)=23×31=38.
Why
The scalar multiplies a 3×3 matrix, so it enters as 23; writing 32 is the trap of the chapter.
Step 6
Check: row 2 of the system reads x3=2, row 1 gives 1+2x2=3, so x2=1, and row 3 gives 1−1+4=4.
Why
Substituting back takes three lines and validates the determinant, the Cramer numerator and the arithmetic at once.
The conclusion, written out
“Nt is invertible for t=3 and t=−1; for t=0, (N0−1)12=−34, x1=1 and det(2N0−1)=38.”
The classic mistake on this problem: Taking C12 instead of C21 in c) gives 31, and writing det(2N0−1)=32 in d): two lost parts on a question that was otherwise right.
Learn by heart
•det(AB)=detAdetB, det(AT)=detA, det(A−1)=detA1.
•det(kA)=kndetA and det(−A)=(−1)ndetA: write n FIRST.
•Cramer: xj=detAdetAj(b), only when detA=0; otherwise row reduce.
•det(adjA)=(detA)n−1; integer inverse ⟺detA=±1.
•No rule for det(A+B). Never.
Frequently asked questions
Why is the determinant of 2A not twice the determinant of A?
Because multiplying the matrix by 2 multiplies every one of its n rows by 2, and each row contributes one factor of 2. For a 3 by 3 matrix the determinant is multiplied by 8, for a 4 by 4 by 16. Only multiplying a single row by 2 doubles the determinant. Geometrically, doubling every edge of a cube multiplies its volume by 8.
How do I find one entry of an inverse matrix without computing the whole inverse?
Divide one cofactor by the determinant, with the indices swapped: the entry in row i and column j of the inverse is the cofactor of position j, i of the original matrix, divided by its determinant. The swap comes from the transpose in the adjugate. It costs one 2 by 2 determinant instead of nine.
When should I use Cramer's rule instead of row reduction?
When the determinant of the coefficient matrix is not zero and only one unknown is asked, or when a parameter appears in the right-hand side. One unknown then costs two determinants. For all the unknowns of a system, row reduction is faster, and when the determinant is zero Cramer's rule does not apply at all.
Does a zero determinant mean the system has no solution?
No. A zero determinant means the system does not have exactly one solution: it has either none or infinitely many, and row reduction of the augmented matrix decides which. Two parallel lines and one line written twice both have a zero determinant, and only the first case has no solution.
Practise it
Corrected exercises: Determinants, inverses and Cramer's rule, MATH 133 at McGill
A method is proved on a paper, not on a sheet. The set for the same chapter takes each of these traps into a problem, with the solution written out step by step.
Something missing from this sheet?A method, a trap, an exercise to practise it, 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. This is the chapter where a determinant stops being a long computation and becomes one number you multiply, divide and read.