2.1+2.2 - Determinant by Cofactor Expansion - 6
2.1+2.2 - Determinant by Cofactor Expansion - 6
2.1+2.2 - Determinant by Cofactor Expansion - 6
• Determinant
• Minor and Cofactor
• Evaluating Determinant by Cofactor Expansion
• Evaluating Determinant by Row Reduction
Minor and Cofactor
Minor: If 𝐴 is a square matrix, then the minor of entry 𝑎𝑖𝑗 is denoted by 𝑀𝑖𝑗 and is defined to be
the determinant of the submatrix that remains after the 𝑖𝑡ℎ row and j𝑡ℎ column are
deleted from 𝐴.
Cofactor: The number −1 𝑖+𝑗 𝑀𝑖𝑗 is denoted by 𝐶𝑖𝑗 and is called the cofactor of entry 𝑎𝑖𝑗 . Where
𝑀𝑖𝑗 is the minor of the entry 𝑎𝑖𝑗
Minor and Cofactor
Finding Minor and Cofactors
3 1 −4
Let 𝐴 = 2 5 6
1 4 8
Minor of the entry 𝑎12 is
3 1 −4
2 6
𝑀12 = 2 5 6 = = 16 − 6 = 10
1 8
1 4 8
Cofactor of the entry 𝑎12 is
3 1 −4
1+2 2 6
𝐶12 = −1 2 5 6 = −1 = − 16 − 6 = −10
1 8
1 4 8
Similarly,
Minor of the entry 𝑎32 is
3 1 −4
3 −4
𝑀32 = 2 5 6 = = 18 + 8 = 26
2 6
1 4 8
Cofactor of the entry 𝑎32 is
3 1 −4
3+2 3 −4
𝐶32 = −1 2 5 6 = −1 = − 18 + 8 = −26
2 6
1 4 8
Determinant of a Matrix
Theorem 2.1.1 If 𝐴 is an 𝑛 × 𝑛 matrix, then regardless of which row or column of 𝐴 is chosen, the
number obtained by multiplying the entries in that row or column by the corresponding
cofactors and adding the resulting products is always the same.
Determinant: If 𝐴 is an 𝑛 × 𝑛 matrix, then the number obtained by multiplying the entries in any row
or column of 𝐴 by the corresponding cofactors and adding the resulting products is called
the determinant of 𝑨, and the sums themselves are called cofactor expansions of 𝑨.
That is,
det 𝐴 = 𝑎1𝑗 𝐶1𝑗 + 𝑎2𝑗 𝐶2𝑗 + ⋯ . . +𝑎𝑛𝑗 𝐶𝑛𝑗
(cofactor expansion along the jth column)
= 𝑎11 𝑎22 𝑎33 − 𝑎11 𝑎23 𝑎32 − 𝑎12 𝑎21 𝑎33 + 𝑎12 𝑎23 𝑎31 + 𝑎13 𝑎21 𝑎32 − 𝑎13 𝑎22 𝑎31
det 𝐴 = −𝑎12 𝑎21 𝑎33 + 𝑎12 𝑎23 𝑎31 + 𝑎11 𝑎22 𝑎33 − 𝑎13 𝑎22 𝑎31 − 𝑎11 𝑎23 𝑎32 + 𝑎13 𝑎21 𝑎32
𝑎22 𝑎23 𝑎21 𝑎23 𝑎21 𝑎22
𝑎21 𝐶11 + 𝑎22 𝐶12 + 𝑎23 𝐶13 = 𝑎21 𝑎 − 𝑎 22 𝑎 + 𝑎23 𝑎
32 𝑎33 31 𝑎33 31 𝑎32
= 𝑎21 𝑎22 𝑎33 − 𝑎21 𝑎23 𝑎32 − 𝑎22 𝑎21 𝑎33 + 𝑎22 𝑎31 𝑎23 + 𝑎23 𝑎21 𝑎32 − 𝑎23 𝑎31 𝑎22 = 0
Determinant of a Matrix
3 1 0
Problem: Let 𝐴 = −2 −4 3 . Compute the determinant of the matrix 𝐴.
5 4 −2
Solution: Cofactor expansion of the determinant along first row
det 𝐴 = 𝑎11 𝐶11 + 𝑎12 𝐶12 + 𝑎13 𝐶13
1+1 . 3.−4 3 −2 3 −2 −4
det 𝐴 = −1 + −1 1+2 . 1. + −1 1+3 . 0.
4 −2 5 −2 5 4
det 𝐴 = 3 8 − 12 − 1 4 − 15 + 0 = −12 + 11 = −1
Smart choice of row or column:
1 0 0 −1
3 1 2 2
Let 𝐴 = choice the row or column that contain maximum number of zero
1 0 −2 1
2 0 0 1
det 𝐴 = 𝑎12 𝐶12 + 𝑎22 𝐶22 + 𝑎32 𝐶32 + 𝑎42 𝐶42
1 0 −1
2+2
det 𝐴 = 0 + −1 . 1. 1 −2 1 + 0 + 0
2 0 1
1 −1
det 𝐴 = 0 + −1 2+2 −2 = −2 1 + 2 = −6
2 1
Determinant of Triangular Matrix
Theorem 2.1.2 If 𝐴 is an 𝑛 × 𝑛 triangular matrix (upper triangular, lower triangular, or diagonal ), then
det(𝐴) is the product of the entries on the main diagonal of the matrix; that is,
det(𝐴) = 𝑎11 𝑎22 … 𝑎𝑛𝑛 .
𝑎33 0
det 𝐴 = 𝑎11 𝑎22 = 𝑎11 𝑎22 𝑎33 𝑎44 − 0 = 𝑎11 𝑎22 𝑎33 𝑎44
𝑎43 𝑎44
Homework:
1 0 0 0 1 0 0 0
0 1 0 0 0 3 0 0
𝐼= ≈𝐸=
0 0 1 0 0 0 1 0
0 0 0 1 0 0 0 1
2nd row of 𝐼4 is multiplied by 3
1 0 0 0
3 0 0
0 3 0 0 1 0
det 𝐸 = = 1. 0 1 0 =3 = 3.1 = 3
0 0 1 0 0 1
0 0 1
0 0 0 1
1st and 4th row interchanged
0 0 0 1
0 1 0
0 1 0 0 0 1
= −1 0 0 1 = −1 −1 = −1
0 0 1 0 1 0
1 0 0
1 0 0 0
Multiply the 1st row by 7 and add to the 4th row
1 0 0 0
1 0 0
0 1 0 0
=1 0 1 0 =1
0 0 1 0
0 0 1
7 0 0 1
Evaluating Determinant by Row Reduction
Theorem 2.2.5 If 𝐴 is a square matrix with two proportional rows or two proportional columns, then
det(𝐴) = 0.
Proof: Let
𝑎11 𝑎12 𝑎13
𝐴 = 𝑎21 𝑎22 𝑎23
𝑎31 𝑎32 𝑎33
Let first and second rows are proportional, then
𝑎11 𝑎12 𝑎13
= = = 𝑘 (𝑠𝑎𝑦)
𝑎21 𝑎22 𝑎23
Hence
𝑘𝑎21 𝑘𝑎22 𝑘𝑎23
𝐴 = 𝑎21 𝑎22 𝑎23
𝑎31 𝑎32 𝑎33
Expand the determinant along first row
det 𝐴 = 𝑘𝑎21 𝐶11 + k𝑎22 𝐶12 + 𝑘𝑎23 𝐶13 = 𝑘 𝑎21 𝐶11 + 𝑎22 𝐶12 + 𝑎23 𝐶13
𝑎22 𝑎23 𝑎21 𝑎23 𝑎21 𝑎22
det 𝐴 = 𝑘 𝑎21 𝑎32 𝑎33 − 𝑎22 𝑎31 𝑎33 + 𝑘𝑎23 𝑎31 𝑎32
det 𝐴 = 𝑘 𝑎21 𝑎22 𝑎33 − 𝑎21 𝑎23 𝑎32 − 𝑎22 𝑎21 𝑎33 + 𝑎22 𝑎23 𝑎31 + 𝑎23 𝑎21 𝑎32 − 𝑎23 𝑎22 𝑎31 = 0
Evaluating Determinant by Row Reduction
Problem: Using row reduction to evaluate the determinant of A. Where
0 1 5
A = 3 −6 9
2 6 1
Solution:
0 1 5
det 𝐴 = 3 −6 9
2 6 1
3 −6 9
det 𝐴 = (−1) 0 1 5 𝑅1 ⇌ 𝑅2
2 6 1
1 −2 3
1
det 𝐴 = (−1)(3) 0 1 5 𝑅′1 = 𝑅
3 1
2 6 1
1 −2 3 𝑅′3 = 𝑅3 + (−2)𝑅1
det 𝐴 = (−1)(3) 0 1 5
0 10 −5
Evaluating Determinant by Row Reduction
Problem: Using row reduction to evaluate the determinant of A. Where
0 1 5
A = 3 −6 9
2 6 1
Solution:
1 −2 3
det 𝐴 = (−1)(3) 0 1 5 𝑅′3 = 𝑅3 + (−10)𝑅2
0 10 −5
1 −2 3
det 𝐴 = (−1)(3) 0 1 5
0 0 −55
1 −2 3 1
det 𝐴 = (−1)(3)(−55) 0 1 5 𝑅′3 = 𝑅
−55 3
0 0 1
0 −1 1 3
1 2 −1 1
det 𝐴 =
0 0 3 3
0 1 8 0
−1 1 3
det 𝐴 = (−1) 0 3 3 𝑅′3 = 𝑅3 + (1)𝑅1
1 8 0
Evaluating Determinant by Row Reduction
Problem: Using row reduction and cofactor expansion to evaluate the determinant of A. Where
3 5 −2 6
1 2 −1 1
A=
2 4 1 5
3 7 5 3
Solution:
−1 1 3
det 𝐴 = (−1) 0 3 3 𝑅′3 = 𝑅3 + (1)𝑅1
1 8 0
−1 1 3
det 𝐴 = (−1) 0 3 3
0 9 3
3 3
det 𝐴 = (−1)(−1)
9 3
det 𝐴 = 9 − 27 = −18
Homework: