← Back to Math 010

2.3 Properties of Determinants; Cramer’s Rule: Class Notes

Properties of Determinants

For an n×n matrix A, det(kA)=kndet(A)

There is one factor of k for each row of A.

For example, let A=[1234]. Then

det(A)=|1234|=−2.

Multiplying just the first row by 2 multiplies the determinant by 2 (we saw this in 2.2):

|2434|=8−12=−4=2(−2)=2det(A).

But 3A multiplies every row by 3:

3A=[36912]⇒det(3A)=|36912|=36−54=−18=32(−2).

Please note the difference in notation for a matrix vs. a determinant:

2[1234]≠2|1234|.

The left side is a matrix (every entry is doubled); the right side is a number, 2(−2)=−4.

Lemma 2.3.2 (prelude to a later result)

If B is an n×n matrix and E is an n×n elementary matrix, then det(EB)=det(E)det(B).

Proof

Suppose E results from multiplying the ith row of I by k. Write the rows of I as e→1,…,e→n. Then

EB=[e→1e→2⋮ke→i⋮e→n]B=[e→1Be→2B⋮ke→iB⋮e→nB],

so the ith row of EB is the ith row of B, multiplied by k. By Theorem 2.2.3(a), det(E)=k, so

det(EB)=kdet(B)=det(E)det(B).

Theorem 2.3.3

A square matrix A is invertible if and only if det(A)≠0.

“If and only if” means the statement goes both ways: A invertible⇔det(A)≠0.

Proof

A invertible⇒A is a product of elementary matrices⇒det(A)≠0(using Lemma 2.3.2).

det(A)≠0⇒the rref of A does not have a row of zeros⇒ (contrapositive of Theorem 2.2.1)⇒rref(A)=I⇒A is invertible.

Theorem 2.3.4

If A and B are square matrices of the same size, then det(AB)=det(A)det(B).

But in general det(A+B)≠det(A)+det(B).

Proof

(Outline of the proof.) If A and/or B is not invertible, then AB is not invertible. So det(A)=0 or det(B)=0, and det(AB)=0. Both sides of det(AB)=det(A)det(B) are 0, so we have 0=0.

If A and B are invertible, we write them as products of elementary matrices and use Lemma 2.3.2.

Theorem 2.3.5

If A is invertible, then det(A−1)=1det(A).

Proof

A invertible ⇒ A−1 exists and det(A)≠0.

AA−1=I⇒det(AA−1)=det(I)=1⇒det(A)det(A−1)=1(Theorem 2.3.4)⇒det(A−1)=1det(A).

Theorem 2.3.8 Equivalent Statements (extends Theorem 1.6.4)

If A is an n×n matrix, then the following statements are equivalent.

a) A is invertible.

b) A𝐱=𝟎 has only the trivial solution.

c) The reduced row echelon form of A is In.

d) A is expressible as a product of elementary matrices.

e) A𝐱=𝐛 is consistent for every n×1 matrix 𝐛.

f) A𝐱=𝐛 has exactly one solution for every n×1 matrix 𝐛.

g) det(A)≠0.

Statement (g) is the new one added to Theorem 1.6.4.

#16

Find the values of k for which the matrix A is invertible.

A=[k22k]

Solution

A is invertible ⇔det(A)≠0. Find where the determinant is zero:

|k22k|=0⇒k2−4=0⇒k=±2.

Answer: A is invertible for k≠±2

#35

In each part, find the determinant given that A is a 3×3 matrix for which det(A)=7.

a. det(3A)

b. det(A−1)

c. det(2A−1)

d. det((2A)−1)

Solution

A is 3×3, so a scalar k in front comes out as k3.

a. det(3A)=33det(A)=27(7)

Answer: 189

b. By Theorem 2.3.5, det(A−1)=1det(A).

Answer: 17

c. det(2A−1)=23det(A−1)=23(17)

Answer: 87

d.

det((2A)−1)=1det(2A)=123det(A)=123·7

Answer: 156

Definition

If A is any n×n matrix and Cij is the cofactor of aij, then the matrix

[C11C12⋯C1nC21C22⋯C2n⋮⋮⋮Cn1Cn2⋯Cnn]

is called the matrix of cofactors from A. The transpose of this matrix is called the adjoint of A and is denoted by adj(A).

Theorem 2.3.6 Inverse of a Matrix Using Its Adjoint

If A is an invertible matrix, then A−1=1det(A)adj(A).

#20

Decide whether the matrix is invertible, and if so, use the adjoint to find its inverse.

[203032−20−4]

Solution

First find the minors. Each Mij is the determinant left after crossing out row i and column j of A.

M11=|320−4|=−12,M12=|02−2−4|=4,M13=|03−20|=6,M21=|030−4|=0,M22=|23−2−4|=−2,M23=|20−20|=0,M31=|0332|=−9,M32=|2302|=4,M33=|2003|=6.

The cofactors are Cij=(−1)i+jMij, so use the checkerboard of signs [+−+−+−+−+]:

C11=−12,C12=−4,C13=6,C21=0,C22=−2,C23=0,C31=−9,C32=−4,C33=6.

Expand along the first row to get the determinant (using the first-row cofactors):

det(A)=2(−12)+0(−4)+3(6)=−6≠0,

so A is invertible.

Tip: Row reduction gives the same determinant: R3→R1+R3 gives the upper triangular matrix [20303200−1], whose determinant is the product of the diagonal entries, 2(3)(−1)=−6.

Matrix of cofactors:

[Cij]=[−12−460−20−9−46]

The transpose of [Cij] is the adjoint of A:

[Cij]T=adj(A)=[−120−9−4−2−4606]

A−1=1det(A)adj(A)=−16[−120−9−4−2−4606]

Answer: A−1=[2032231323−10−1]

Theorem 2.3.7 Cramer’s Rule

If A𝐱=𝐛 is a system of n linear equations in n unknowns such that det(A)≠0, then the system has a unique solution. This solution is

x1=det(A1)det(A),x2=det(A2)det(A),…,xn=det(An)det(A)

where Aj is the matrix obtained by replacing the entries in the jth column of A by the entries in the matrix

𝐛=[b1b2⋮bn]

#26

Solve by Cramer’s rule.

x−4y+z=64x−y+2z=−12x+2y−3z=−20

Solution

A=[1−414−1222−3],𝐛=[6−1−20]

Each 3×3 determinant is found by copying the first two columns to the right. Multiply along the three diagonals going down to the right and add; then subtract the products along the three diagonals going up to the right.

det(A):|1−414−1222−3|1−44−122

det(A)=(3−16+8)−(−2+4+48)=(−5)−(50)=−55.

Since det(A)=−55≠0, Cramer’s rule applies. Now replace one column at a time with the column 𝐛.

det(A1):|6−41−1−12−202−3|6−4−1−1−202

det(A1)=(18+160−2)−(20+24−12)=176−32=144.

det(A2):|1614−122−20−3|164−12−20

det(A2)=(3+24−80)−(−2−40−72)=(−53)−(−114)=61.

det(A3):|1−464−1−122−20|1−44−122

det(A3)=(20+8+48)−(−12−2+320)=76−306=−230.

x=det(A1)det(A)=144−55=−14455,y=det(A2)det(A)=61−55=−6155,z=det(A3)det(A)=−230−55=4611.

Answer: (x,y,z)=(−14455,−6155,4611)

Proof of Cramer’s Rule (Theorem 2.3.7)

The existence of a unique solution is guaranteed by Theorem 2.3.8 (Equivalent Statements), since det(A)≠0. Then

Ax→=b→ ⇒ x→=A−1b→=1det(A)adj(A)b→

=1det(A)[C11C21⋯Cn1C12C22⋯Cn2⋮⋮⋮C1nC2n⋯Cnn][b1b2⋮bn]=1det(A)[b1C11+b2C21+⋯+bnCn1b1C12+b2C22+⋯+bnCn2⋮b1C1n+b2C2n+⋯+bnCnn].

Then

xi=b1C1i+b2C2i+⋯+bnCnidet(A).

The numerator is the cofactor expansion along the ith column of A, with that column replaced by b→. That is exactly det(Ai), so xi=det(Ai)det(A).