MAT1041 · Week 5 · - Properties of Determinants

Determinant properties, the adjoint and Cramer's rule

You learn the rules for det(AB), det(Aᵀ), det(cA), det(A⁻¹), the link between invertibility and the determinant, finding the inverse with the adjoint (adjugate), and solving systems with Cramer's rule.

determinant propertiesmultiplicative propertyinvertiblesingularcofactor matrixadjoint (adjugate)Cramer's ruleskew-symmetric matrixarea of a triangle

Last week we computed the determinant. This week we use it: telling with a single number whether a matrix is invertible, finding the determinant of products without multiplying anything, writing the inverse as a formula with the adjoint, and solving systems with Cramer’s rule. On the midterm, short questions of the type “det A = −2 is given, find these” almost certainly appear and are the cheapest points.

Golden rules:

  1. det⁡(cA)=cndet⁡A\det(cA) = c^n\det A. Don’t forget the nn.
  2. det⁡(AB)=det⁡Adet⁡B\det(AB) = \det A\det B but there is no rule for det⁡(A+B)\det(A + B).
  3. Adjoint = the transpose of the cofactor matrix.
  4. In Cramer’s rule b\mathbf{b} replaces a column.

Basic properties

AA, BB are n×nn \times n, cc is a number:

PropertyWhy / Note
det⁡(AB)=det⁡A⋅det⁡B\det(AB) = \det A \cdot \det Bmultiplicative property
det⁡(AT)=det⁡A\det(A^T) = \det Athe row rules carry over to columns
det⁡(cA)=cndet⁡A\det(cA) = c^n\det Acc comes out once from each of the nn rows
det⁡(A−1)=1det⁡A\det(A^{-1}) = \dfrac{1}{\det A}det⁡Adet⁡A−1=det⁡I=1\det A\det A^{-1} = \det I = 1
det⁡(Ak)=(det⁡A)k\det(A^k) = (\det A)^kfrom the multiplicative property
det⁡(A+B)≠det⁡A+det⁡B\det(A + B) \neq \det A + \det Bin general

Example. P=[1234]P = \begin{bmatrix} 1 & 2 \\ 3 & 4 \end{bmatrix}, Q=[2013]Q = \begin{bmatrix} 2 & 0 \\ 1 & 3 \end{bmatrix}: det⁡P=−2\det P = -2, det⁡Q=6\det Q = 6, det⁡(PQ)=−12\det(PQ) = -12. But P+Q=[3247]P + Q = \begin{bmatrix} 3 & 2 \\ 4 & 7 \end{bmatrix}, det⁡=13≠−2+6\det = 13 \neq -2 + 6.

PITFALL · det(2A) = 2 det A. For 3×33 \times 3, det⁡(2A)=8det⁡A\det(2A) = 8\det A; for 4×44 \times 4, 16det⁡A16\det A. A way to remember: in 2A2A every row is multiplied by 2, and one 2 comes out of each row.

Strategy for compound questions. In an expression like "det⁡(2ATB−1A2)\det(2A^TB^{-1}A^2)", first separate the constant (2n2^n), then write the determinant of each factor and multiply: 2n⋅det⁡A⋅1det⁡B⋅(det⁡A)22^n \cdot \det A \cdot \frac{1}{\det B} \cdot (\det A)^2.

Determinant and invertibility

A is invertible  ⟺  det⁡A≠0.A \text{ is invertible} \iff \det A \neq 0.

Why: reduce AA to RREF with row operations. Each operation multiplies the determinant by a nonzero number or leaves it unchanged. If the RREF is II, then det⁡≠0\det \neq 0; if the RREF has a zero row, det⁡=0\det = 0.

So we added one more item to the invertible matrix theorem. For square AA the following are equivalent: AA is invertible, det⁡A≠0\det A \neq 0, Ax=0A\mathbf{x} = \mathbf{0} has only the trivial solution, Ax=bA\mathbf{x} = \mathbf{b} has a unique solution for every b\mathbf{b}, A∼IA \sim I.

The question “For which kk is the system uniquely solvable?” is now one line for a square system: compute det⁡A\det A in terms of kk and find the values that make it zero (Q7). To tell in which kk the system has no solution and in which infinitely many, you need to go back to elimination; the determinant does not distinguish between the two.

The adjoint (adjugate)

Write all the cofactors of AA in their places: the cofactor matrix [Cij][C_{ij}]. Its transpose is the adjoint (adjugate):

adj⁡A=[Cij]T.\operatorname{adj}A = [C_{ij}]^T.

The basic identity:

A⋅adj⁡A=adj⁡A⋅A=(det⁡A)I⇒A−1=1det⁡Aadj⁡A.A \cdot \operatorname{adj}A = \operatorname{adj}A \cdot A = (\det A)I \qquad\Rightarrow\qquad A^{-1} = \frac{1}{\det A}\operatorname{adj}A.

The diagonal entries come out as det⁡A\det A because this is the expansion of a row with its own cofactors. The off-diagonal entries come out 0 because multiplying a row by the cofactors of a different row is computing the determinant of a matrix with two equal rows.

Example. A=[121013210]A = \begin{bmatrix} 1 & 2 & 1 \\ 0 & 1 & 3 \\ 2 & 1 & 0 \end{bmatrix}.

C11 = +(1·0 - 3·1) = -3     C12 = -(0·0 - 3·2) = 6      C13 = +(0·1 - 1·2) = -2
C21 = -(2·0 - 1·1) = 1      C22 = +(1·0 - 1·2) = -2     C23 = -(1·1 - 2·2) = 3
C31 = +(2·3 - 1·1) = 5      C32 = -(1·3 - 1·0) = -3     C33 = +(1·1 - 2·0) = 1
det A = a11 C11 + a12 C12 + a13 C13 = 1(-3) + 2(6) + 1(-2) = 7

[Cij]=[−36−21−235−31]⇒adj⁡A=[−3156−2−3−231],A−1=17[−3156−2−3−231].[C_{ij}] = \begin{bmatrix} -3 & 6 & -2 \\ 1 & -2 & 3 \\ 5 & -3 & 1 \end{bmatrix} \quad\Rightarrow\quad \operatorname{adj}A = \begin{bmatrix} -3 & 1 & 5 \\ 6 & -2 & -3 \\ -2 & 3 & 1 \end{bmatrix}, \qquad A^{-1} = \frac17\begin{bmatrix} -3 & 1 & 5 \\ 6 & -2 & -3 \\ -2 & 3 & 1 \end{bmatrix}.

Check: (Aadj⁡A)11=1(−3)+2(6)+1(−2)=7(A\operatorname{adj}A)_{11} = 1(-3) + 2(6) + 1(-2) = 7, (Aadj⁡A)12=1(1)+2(−2)+1(3)=0(A\operatorname{adj}A)_{12} = 1(1) + 2(-2) + 1(3) = 0.

For 2×22 \times 2 the adjoint formula reduces to the recipe you know: adj⁡[abcd]=[d−b−ca]\operatorname{adj}\begin{bmatrix} a & b \\ c & d \end{bmatrix} = \begin{bmatrix} d & -b \\ -c & a \end{bmatrix}.

Determinant of the adjoint. Take the determinant of Aadj⁡A=(det⁡A)InA\operatorname{adj}A = (\det A)I_n: det⁡A⋅det⁡(adj⁡A)=(det⁡A)n\det A \cdot \det(\operatorname{adj}A) = (\det A)^n, so det⁡(adj⁡A)=(det⁡A)n−1\det(\operatorname{adj}A) = (\det A)^{n-1}.

PITFALL · forgetting the transpose. Writing the cofactor matrix directly as adj⁡A\operatorname{adj}A is the most common way to lose points. For a non-symmetric matrix the result is wrong. Check: the off-diagonal entries of Aadj⁡AA\operatorname{adj}A must come out 0.

Cramer’s rule

If AA is n×nn \times n and det⁡A≠0\det A \neq 0, the unique solution of Ax=bA\mathbf{x} = \mathbf{b} is

xi=det⁡Aidet⁡A,Ai=the matrix with b put in place of the ith column of A.x_i = \frac{\det A_i}{\det A}, \qquad A_i = \text{the matrix with } \mathbf{b} \text{ put in place of the } i\text{th column of } A.

2×2 example. 2x+5y=12x + 5y = 1, x+3y=2x + 3y = 2.

det⁡A=∣2513∣=1,det⁡A1=∣1523∣=−7,det⁡A2=∣2112∣=3⇒x=−7, y=3.\det A = \begin{vmatrix} 2 & 5 \\ 1 & 3 \end{vmatrix} = 1, \quad \det A_1 = \begin{vmatrix} 1 & 5 \\ 2 & 3 \end{vmatrix} = -7, \quad \det A_2 = \begin{vmatrix} 2 & 1 \\ 1 & 2 \end{vmatrix} = 3 \quad\Rightarrow\quad x = -7,\ y = 3.

3×3 example. With the AA above, x+2y+z=1x + 2y + z = 1, y+3z=5y + 3z = 5, 2x+y=12x + y = 1. det⁡A=7\det A = 7.

det⁡A1=∣121513110∣=7,det⁡A2=∣111053210∣=−7,det⁡A3=∣121015211∣=14.\det A_1 = \begin{vmatrix} 1 & 2 & 1 \\ 5 & 1 & 3 \\ 1 & 1 & 0 \end{vmatrix} = 7, \quad \det A_2 = \begin{vmatrix} 1 & 1 & 1 \\ 0 & 5 & 3 \\ 2 & 1 & 0 \end{vmatrix} = -7, \quad \det A_3 = \begin{vmatrix} 1 & 2 & 1 \\ 0 & 1 & 5 \\ 2 & 1 & 1 \end{vmatrix} = 14.

det A1 (row 1): 1(0 - 3) - 2(0 - 3) + 1(5 - 1)   = -3 + 6 + 4   = 7
det A2 (row 1): 1(0 - 3) - 1(0 - 6) + 1(0 - 10)  = -3 + 6 - 10  = -7
det A3 (row 1): 1(1 - 5) - 2(0 - 10) + 1(0 - 2)  = -4 + 20 - 2  = 14
x = 7/7 = 1,  y = -7/7 = -1,  z = 14/7 = 2

Check (3rd equation): 2(1)+(−1)=12(1) + (-1) = 1.

When to use Cramer? For small systems (2×2, 3×3), especially when only one variable is asked. For large systems, Gaussian elimination needs far fewer operations. If det⁡A=0\det A = 0 Cramer says nothing: the system has either no solution or infinitely many, and you decide with elimination.

Application: area

The area of the triangle with vertices (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), (x3,y3)(x_3, y_3) is

Area=12∣det⁡[x1y11x2y21x3y31]∣.\text{Area} = \frac12\left|\det\begin{bmatrix} x_1 & y_1 & 1 \\ x_2 & y_2 & 1 \\ x_3 & y_3 & 1 \end{bmatrix}\right|.

If the determinant is 0 the three points lie on the same line (collinear). The same idea in 2×22 \times 2: ∣det⁡[u v]∣\left|\det[\mathbf{u}\ \mathbf{v}]\right| is the area of the parallelogram spanned by u\mathbf{u} and v\mathbf{v}.

Common mistakes

WrongRight
det⁡(2A)=2det⁡A\det(2A) = 2\det A2ndet⁡A2^n\det A
det⁡(A+B)=det⁡A+det⁡B\det(A + B) = \det A + \det BNo such rule
det⁡(A−1)=−det⁡A\det(A^{-1}) = -\det A1/det⁡A1/\det A
Taking the cofactor matrix to be the adjointTake its transpose
Putting b\mathbf{b} in as a row in Cramer’s ruleIn place of the iith column
Applying Cramer when det⁡A=0\det A = 0Go back to elimination
Skipping the cofactor sign(−1)i+j(-1)^{i+j}, a checkerboard
A−1=det⁡A⋅adj⁡AA^{-1} = \det A \cdot \operatorname{adj}A1det⁡Aadj⁡A\frac{1}{\det A}\operatorname{adj}A

Test yourself

Exam-style questions. Solve them on paper first, then reveal the answer.

Question 1easy

Let AA be a 3×33 \times 3 matrix with det⁡A=4\det A = 4. Find det⁡(2A)\det(2A), det⁡(A−1)\det(A^{-1}) and det⁡(AT)\det(A^T).

Show answer
32, 1/4, 432,\ 1/4,\ 4

det⁡(cA)=cndet⁡A\det(cA) = c^n\det A: 23⋅4=322^3 \cdot 4 = 32. (Writing 2⋅4=82 \cdot 4 = 8 is the classic mistake: the 2 comes out once from each row.)det⁡(A−1)=1det⁡A=14\det(A^{-1}) = \frac{1}{\det A} = \frac14. det⁡(AT)=det⁡A=4\det(A^T) = \det A = 4.

Question 2medium

AA and BB are 3×33 \times 3 with det⁡A=−2\det A = -2 and det⁡B=3\det B = 3. Find det⁡(ABT)\det(AB^T), det⁡(A−1B)\det(A^{-1}B) and det⁡(3B−1)\det(3B^{-1}).

Show answer
−6, −3/2, 9-6,\ -3/2,\ 9

det⁡(ABT)=det⁡A⋅det⁡BT=(−2)(3)=−6\det(AB^T) = \det A \cdot \det B^T = (-2)(3) = -6.det⁡(A−1B)=1−2⋅3=−32\det(A^{-1}B) = \frac{1}{-2} \cdot 3 = -\frac32.det⁡(3B−1)=33⋅13=9\det(3B^{-1}) = 3^3 \cdot \frac13 = 9.

Question 3easy

Find adj⁡(A)\operatorname{adj}(A) and A−1A^{-1} for A=[4−132]A = \begin{bmatrix} 4 & -1 \\ 3 & 2 \end{bmatrix}.

Show answer
adj⁡A=[21−34], A−1=111[21−34]\operatorname{adj}A = \begin{bmatrix} 2 & 1 \\ -3 & 4 \end{bmatrix},\ A^{-1} = \frac{1}{11}\begin{bmatrix} 2 & 1 \\ -3 & 4 \end{bmatrix}

Cofactors: C11=2C_{11} = 2, C12=−3C_{12} = -3, C21=−(−1)=1C_{21} = -(-1) = 1, C22=4C_{22} = 4.
The cofactor matrix is [2−314]\begin{bmatrix} 2 & -3 \\ 1 & 4 \end{bmatrix}, and its transpose is adj⁡A\operatorname{adj}A.det⁡A=8+3=11\det A = 8 + 3 = 11. The result is the same as the 2×2 formula: swap the diagonal, the signs of the others flip.

Question 4medium

Let A=[201110031]A = \begin{bmatrix} 2 & 0 & 1 \\ 1 & 1 & 0 \\ 0 & 3 & 1 \end{bmatrix}. Find adj⁡(A)\operatorname{adj}(A) and use it to find A−1A^{-1}.

Show answer
adj⁡A=[13−1−1213−62], A−1=15adj⁡A\operatorname{adj}A = \begin{bmatrix} 1 & 3 & -1 \\ -1 & 2 & 1 \\ 3 & -6 & 2 \end{bmatrix},\ A^{-1} = \frac15\operatorname{adj}A

C11=+(1−0)=1C_{11} = +(1 - 0) = 1, C12=−(1−0)=−1C_{12} = -(1 - 0) = -1, C13=+(3−0)=3C_{13} = +(3 - 0) = 3.C21=−(0−3)=3C_{21} = -(0 - 3) = 3, C22=+(2−0)=2C_{22} = +(2 - 0) = 2, C23=−(6−0)=−6C_{23} = -(6 - 0) = -6.C31=+(0−1)=−1C_{31} = +(0 - 1) = -1, C32=−(0−1)=1C_{32} = -(0 - 1) = 1, C33=+(2−0)=2C_{33} = +(2 - 0) = 2.det⁡A=2(1)+0(−1)+1(3)=5\det A = 2(1) + 0(-1) + 1(3) = 5. Transpose the cofactor matrix: adj⁡A\operatorname{adj}A.
Check: (Aadj⁡A)11=2(1)+0(−1)+1(3)=5(A\operatorname{adj}A)_{11} = 2(1) + 0(-1) + 1(3) = 5.

Question 5medium

Use Cramer's rule to solve 3x−2y=43x - 2y = 4, 5x+y=115x + y = 11.

Show answer
x=2, y=1x = 2,\ y = 1

det⁡A=3⋅1−(−2)⋅5=13\det A = 3 \cdot 1 - (-2) \cdot 5 = 13.det⁡A1=∣4−2111∣=4+22=26\det A_1 = \begin{vmatrix} 4 & -2 \\ 11 & 1 \end{vmatrix} = 4 + 22 = 26, det⁡A2=∣34511∣=33−20=13\det A_2 = \begin{vmatrix} 3 & 4 \\ 5 & 11 \end{vmatrix} = 33 - 20 = 13.x=26/13=2x = 26/13 = 2, y=13/13=1y = 13/13 = 1.

Question 6medium

Use Cramer's rule to find only yy in the system 2x+y−z=12x + y - z = 1, x−y+2z=5x - y + 2z = 5, x+y+z=6x + y + z = 6.

Show answer
y=2y = 2

det⁡A\det A (along row 1): 2(−1−2)−1(1−2)+(−1)(1+1)=−6+1−2=−72(-1 - 2) - 1(1 - 2) + (-1)(1 + 1) = -6 + 1 - 2 = -7.A2A_2: put b=(1,5,6)T\mathbf{b} = (1, 5, 6)^T in place of column 2: ∣21−1152161∣=2(5−12)−1(1−2)+(−1)(6−5)=−14\begin{vmatrix} 2 & 1 & -1 \\ 1 & 5 & 2 \\ 1 & 6 & 1 \end{vmatrix} = 2(5 - 12) - 1(1 - 2) + (-1)(6 - 5) = -14.y=−14−7=2y = \frac{-14}{-7} = 2. The advantage of Cramer: when only one variable is asked, just two determinants.

Question 7hard

For which values of kk is A=[1212k010k]A = \begin{bmatrix} 1 & 2 & 1 \\ 2 & k & 0 \\ 1 & 0 & k \end{bmatrix} invertible?

Show answer
k≠0k \neq 0 and k≠5k \neq 5

Expand along row 1: 1(k2−0)−2(2k−0)+1(0−k)=k2−4k−k=k(k−5)1(k^2 - 0) - 2(2k - 0) + 1(0 - k) = k^2 - 4k - k = k(k - 5).
Invertible   ⟺  det⁡A≠0  ⟺  k≠0,5\iff \det A \neq 0 \iff k \neq 0, 5.

Question 8hard

AA is 4×44 \times 4 with det⁡A=2\det A = 2. Find det⁡(adj⁡A)\det(\operatorname{adj}A).

Show answer
8

Aadj⁡A=(det⁡A)I4=2I4A\operatorname{adj}A = (\det A)I_4 = 2I_4. Take determinants: det⁡A⋅det⁡(adj⁡A)=24=16\det A \cdot \det(\operatorname{adj}A) = 2^4 = 16.2det⁡(adj⁡A)=16⇒det⁡(adj⁡A)=82\det(\operatorname{adj}A) = 16 \Rightarrow \det(\operatorname{adj}A) = 8. General formula: (det⁡A)n−1=23(\det A)^{n-1} = 2^3.

Question 9easy

True or false: det⁡(A+B)=det⁡A+det⁡B\det(A + B) = \det A + \det B for all 2×22 \times 2 matrices.

Show answer
False

Counterexample: A=B=I2A = B = I_2. det⁡(2I)=4\det(2I) = 4 but det⁡I+det⁡I=2\det I + \det I = 2.
The determinant is compatible with products (det⁡AB=det⁡Adet⁡B\det AB = \det A\det B), not with sums.

Question 10hard

A 3×33 \times 3 matrix AA satisfies AT=−AA^T = -A (skew-symmetric). What is det⁡A\det A?

Show answer
0

det⁡A=det⁡AT=det⁡(−A)=(−1)3det⁡A=−det⁡A\det A = \det A^T = \det(-A) = (-1)^3\det A = -\det A. So 2det⁡A=02\det A = 0, det⁡A=0\det A = 0.
Skew-symmetric matrices of odd size (nn odd) are always singular. Example: the determinant of [02−1−2041−40]\begin{bmatrix} 0 & 2 & -1 \\ -2 & 0 & 4 \\ 1 & -4 & 0 \end{bmatrix} is 0.

Question 11medium

If AA is a square matrix with A2=AA^2 = A, what are the possible values of det⁡A\det A?

Show answer
00 or 11

det⁡(A2)=(det⁡A)2=det⁡A\det(A^2) = (\det A)^2 = \det A, that is, d2=dd^2 = d, d(d−1)=0d(d - 1) = 0.
Both are possible: 1 for II, 0 for [1000]\begin{bmatrix} 1 & 0 \\ 0 & 0 \end{bmatrix}.

Question 12medium

Use a determinant to find the area of the triangle with vertices (1,1)(1, 1), (4,2)(4, 2), (2,5)(2, 5).

Show answer
11/211/2

Area =12∣det⁡[111421251]∣= \frac12\left|\det\begin{bmatrix} 1 & 1 & 1 \\ 4 & 2 & 1 \\ 2 & 5 & 1 \end{bmatrix}\right|.
Along row 1: 1(2−5)−1(4−2)+1(20−4)=−3−2+16=111(2 - 5) - 1(4 - 2) + 1(20 - 4) = -3 - 2 + 16 = 11.
Area 112\frac{11}{2}. If the determinant had come out 0, the three points would be collinear.

Verification: All determinants, cofactor matrices and adjoints were computed exactly in node with BigInt fractions; the identities A·adj(A) = (det A)I and A⁻¹ = adj(A)/det A were checked by multiplication, the Cramer results were compared with the exact RREF solution; the property questions (det(cA), det(AB^T), det(adj A)) were tested with concrete matrices having the given determinants (verify/MAT1041/05.mjs).

Review card

det(AB) = det A · det B det(A^T) = det A det(cA) = c^n det A (n×n!) det(A⁻¹) = 1/det A det(A^k) = (det A)^k det(A+B) ≠ det A + det B A invertible ⇔ det A ≠ 0. det A = 0 ⇔ Ax=0 has a nontrivial solution. Cofactor matrix [C_ij] → TRANSPOSE → adj A. A · adj A = adj A · A = (det A) I A⁻¹ = adj A / det A det(adj A) = (det A)^(n-1) Cramer (det A ≠ 0): x_i = det A_i / det A, A_i = A with b in place of column i (a COLUMN). det A = 0 → NO Cramer (no solution or infinitely many). If only one variable is asked: just det A and det A_i. Skew-symmetric, n odd → det = 0. A² = A → det ∈ {0, 1}. Triangle area = ½ |det[x1 y1 1; x2 y2 1; x3 y3 1]|.