of 28
7/28/2019 m211f2012 Slides Sec3.1handout
1/28
MATH 211 Winter 2013
Lecture Notes(Adapted by permission of K. Seyffarth)
Sections 3.1
Sections 3.1 Page 1/1
7/28/2019 m211f2012 Slides Sec3.1handout
2/28
3.1 The Cofactor Expansion
Sections 3.1 Page 2/1
7/28/2019 m211f2012 Slides Sec3.1handout
3/28
Recall that if A = a b
c d, then the determinant of A is defined as
det A = ad bc,
and that A is invertible if and only if det A = 0.
Notation. For det
a bc d
, we often write
a bc d, i.e., use vertical
bars instead of square brackets.
More generally, the determinant of an n n matrix is computed usingdeterminants of (n 1) (n 1) submatrices.
Sections 3.1 Page 3/1
7/28/2019 m211f2012 Slides Sec3.1handout
4/28
Definitions
Let A = [aij] be an n n matrix.
The sign of the (i,j) position is (1)i+j.Thus the sign is 1 if (i + j) is even, and 1 if (i + j) is odd.
Let Aij denote the (n 1) (n 1) matrix obtained from A by deletingrow i and column j.
The (i,
j)-cofactor of A is
cij(A) = (1)i+j det(Aij).
Finally,det A = a11c11(A) + a12c12(A) + a13c13(A) + + a1nc1n(A),and is called the cofactor expansion of det A along row 1.
Sections 3.1 Page 4/1
7/28/2019 m211f2012 Slides Sec3.1handout
5/28
Example
Let A = 1 2 3
4 5 67 8 9
. Find det A.
Using cofactor expansion along row 1,
det A = 1c11(A) + 2c12(A) + 3c13(A)
= 1(1)2 5 68 9
+ 2(1)3 4 67 9
+ 3(1)4 4 57 8
= (45 48) 2(36 42) + 3(32 35)
= 3 2(6) + 3(3)= 3 + 12 9
= 0
Sections 3.1 Page 5/1
7/28/2019 m211f2012 Slides Sec3.1handout
6/28
Example (continued)
A =
1 2 34 5 6
7 8 9
Now try cofactor expansion along column 2.
det A = 2c12(A) + 5c22(A) + 8c32(A)
= 2(1)3 4 67 9
+ 5(1)4 1 37 9
+ 8(1)5 1 34 6
= 2(36 42) + 5(9 21) 8(6 12)
= 2(6) + 5(12) 8(6)
= 12 60 + 48= 0.
We get the same answer!
Sections 3.1 Page 6/1
7/28/2019 m211f2012 Slides Sec3.1handout
7/28
Theorem (3.1 Theorem 1)
The determinant of an n n matrix A can be computed using the cofactorexpansion along any row or column of A.
Why is this significant?
Sections 3.1 Page 7/1
7/28/2019 m211f2012 Slides Sec3.1handout
8/28
Example
Let A =
0 1 2 15 0 0 7
0 1 1 03 0 0 2
. Find det A.
Cofactor expansion along row 1 yields
det A = 0c11(A) + 1c12(A) + 2c13(A) + 1c14(A)= 1c12(A) + 2c13(A) + c14(A),
whereas cofactor expansion along, row 3 yields
det A = 0c31(A) + 1c32(A) + (1)c33(A) + 0c34(A)= 1c32(A) + (1)c33(A),
i.e., in the first case we have to compute three cofactors, but in the secondwe only have to compute two.
Sections 3.1 Page 8/1
7/28/2019 m211f2012 Slides Sec3.1handout
9/28
Example (continued)
We can save ourselves some work by using cofactor expansion along row 3rather than row 1.
A =
0 1 2 15 0 0 70 1 1 03 0 0 2
det A = 1c32(A) + (1)c33(A)
= 1(1)5
0 2 15 0 73 0 2
+ (1)(1)6
0 1 15 0 73 0 2
= (1)2(1)3 5 7
3 2 + (1)1(1)3 5 7
3 2
= 2(10 21) + 1(10 21)
= 2(11) + (11)
= 33.
Sections 3.1 Page 9/1
7/28/2019 m211f2012 Slides Sec3.1handout
10/28
Example (continued)
Try computing det
0 1 2 15 0 0 70 1 1 03 0 0 2
using cofactor expansion along other
rows and columns, for instance column 2 or row 4. You will still getdet A = 33.
Sections 3.1 Page 10/1
7/28/2019 m211f2012 Slides Sec3.1handout
11/28
Example
Find det A for A =
8 1 0 4
5 7 0 712 3 0 83 11 0 2
.
Solution.
Using cofactor expansion along column 3, det A = 0.
Fact
If A is an n n matrix with a row or column of zeros, then det A = 0.
Sections 3.1 Page 11/1
7/28/2019 m211f2012 Slides Sec3.1handout
12/28
Elementary Row Operations and Determinants
Example
Let A = 2 0 30 4 0
1 0 2
. Then
det A = 4(1)4 2 3
1 2 = 4(1) = 4.
Let B1, B2, and B3 be obtained from A by performing a type 1, 2 and 3elementary row operation, respectively, i.e.,
B1 =
2 0 31 0 2
0 4 0
, B2 =
2 0 30 4 03 0 6
, B3 =
2 0 30 4 0
5 0 8
.
Compute det B1, det B2, and det B3.
Sections 3.1 Page 12/1
7/28/2019 m211f2012 Slides Sec3.1handout
13/28
Elementary Row Operations and Determinants
Example (continued)
det B1 = 4(1)5
2 31 2 = (4)(1) = 4 = (1) det A.
det B2 = 4(1)4 2 33 6 = 4(12 9) = 4 3 = 12 = 3det A.
det B3 = 4(1)4 2 35 8
= 4(16 + 15) = 4(1) = 4 = det A.
Sections 3.1 Page 13/1
7/28/2019 m211f2012 Slides Sec3.1handout
14/28
7/28/2019 m211f2012 Slides Sec3.1handout
15/28
E l
7/28/2019 m211f2012 Slides Sec3.1handout
16/28
Example
det
3 1 2 41 3 8 0
1 1 5 51 1 2 1
=
0 8 26 41 3 8 0
0 4 13 50 2 10 1
= (1)(1)3
8 26 44 13 52 10 1
=
0 14 80 7 7
2 10 1
= (2)(1)4
14 87 7
= 2
0 67 7
= (2)(42) = 84.
Sections 3.1 Page 16/1
7/28/2019 m211f2012 Slides Sec3.1handout
17/28
7/28/2019 m211f2012 Slides Sec3.1handout
18/28
7/28/2019 m211f2012 Slides Sec3.1handout
19/28
Definitions1 An n n matrix A is called upper triangular if and only if all entries
below the main diagonal are zero.2 An n n matrix A is called lower triangular if and only if all entries
above the main diagonal are zero.
3 An n n matrix A is called triangular if and only if it is uppertriangular or lower triangular.
Theorem (3.1 Theorem 4)
If A =
aij
is an n n upper / lower / triangular matrix, then
det A = a11a22a33 ann,
i.e., det A is the product of the entries of the main diagonal of A.
Sections 3.1 Page 19/1
7/28/2019 m211f2012 Slides Sec3.1handout
20/28
7/28/2019 m211f2012 Slides Sec3.1handout
21/28
Theorem (3.1 Theorem 3)
If A is an n n matrix and k R is a scalar, then
det(kA) = kn det A.
Sections 3.1 Page 21/1
7/28/2019 m211f2012 Slides Sec3.1handout
22/28
Example
Let
A =
a b c
p q rx y z
and B =
2a + p 2b+ q 2c + r
2p+ x 2q+ y 2r + z2x + a 2y + b 2z + c
Show that det B = 9 det A.
Sections 3.1 Page 22/1
7/28/2019 m211f2012 Slides Sec3.1handout
23/28
7/28/2019 m211f2012 Slides Sec3.1handout
24/28
7/28/2019 m211f2012 Slides Sec3.1handout
25/28
Example
det
1 1 2 0 2
0 1 0 4 11 1 5 0 00 0 0 3 10 0 0 1 1
= det
1 1 2 0 2
0 1 0 4 11 1 5 0 0
0 0 0 3 10 0 0 1 1
= det 1 1 2
0 1 01 1 5
det
3 11 1
= det
1 21 5
det
3 11 1
= 3 (2) = 6.
Sections 3.1 Page 25/1
7/28/2019 m211f2012 Slides Sec3.1handout
26/28
Example (3.1 Exercise 6(a))
Evaluate by inspection.
det
a b ca + 1 b+ 1 c + 1a 1 b 1 c 1
= ?
row2 + row3 2(row1) =
0 0 0
Sections 3.1 Page 26/1
7/28/2019 m211f2012 Slides Sec3.1handout
27/28
Example (3.1 Exercise 13)
(a) Find det A if A is 3 3 and det(2A) = 6.
(b) Let A be an n n matrix. Under what conditions is det(A) = det A?
Sections 3.1 Page 27/1
7/28/2019 m211f2012 Slides Sec3.1handout
28/28