Professional Documents
Culture Documents
Chapter 3 - Determinants and Diagonalization
Chapter 3 - Determinants and Diagonalization
Determinants
and
Diagonalization
Contents
• 3.1. The cofactor Expansion
• 3.2.Determinants and Matrix
Inverses
• 3.3. Diagonalization and Eigenvalues
• 3.4. An Application to Linear
Recurrences
3.1. The Cofactor Expansion
If A=[a] then the determinant of
A, denoted by detA=a
a b
If A is an 2x2 matrix then A
c d
a b
det A ad bc + - +
c d a b c
A d e f
If A is an 3x3 matrix then the
determinant of A is defined by g h i
a b c
e f d f d e
det A d e f a b c
h i g i g h
g h i
The determinant of 3x3
matrix
a b c
e f d f d e
det A d e f a b c
h i g i g h
g h i
1 2 1 5 1 2 1 5
0 6 4 3 0 6 4 3
C C'
0 0 1 0 0 0 0 2
0 0 0 2 0 0 1 0
Properties
• If A has one row of zeros then detA=0
• If A is an triangular matrix then detA is the
product of the entries on the main diagonal
1 2 1 5
0 6 4 3
det C 1.6. 1.2 12
0 0 1 0
0 0 0 2
Example
Suppose A is an triangular matrix, a11=4
and c11(A)=11. What is the product of all
entries on the main diagonal?
1 2 1 5 1 2 1 5
0 6 4 3 0 6 4 3
C C'
0 0 1 0 0 0 0 2
0 0 0 2 0 0 1 0
Examples
• If two rows (or columns) of a matrix is the
same then the determinant is zero
1 2 1 5 1 2 1 5
0 6 4 3 0 6 4 3
C C' C
1 2 5 6 1 2 5 6
1 2 5 6 1 2 5 6
Determinants and
elementary operations
• If B is the matrix obtained from A by
multiplying one row (or column) by a nonzero
number k then detB=kdetA
• For example, detA=35, detA’=2detA=2.35=70
1 0 0 1 0 0
A' 0 7 0
A 0 7 0
2 4 10 1 2 5
Examples
Find a such that
4 8 8 1 2 2
8 4 4 a 2 1 1 ?
0 8 4 0 2 1
a) 4 b) 12 c) 48 d)64
Examples
• Find the determinants of the matrices
1 2 5 1 2 5
A 0 7 0 A ' 0 7 0
2 4 10 1 2 5
Determinants and
elementary operations
• If B is the matrix obtained from A by adding a
multiple of one row (or column) to another
row (or column) then detB=detA
• For example,
1 2 3 1 2 3
A 0 7 0
A ' 0 7 0
2 4 10 0 0 4
Examples
• Find the determinants of the matrices
1 a a 1
A 2 b b2
3 c c 3
1 a a 1 1 a a
c c 1 3
2 b b2 2 b b 0
3 c c3 3 c c
Examples
Find DetA and DetB:
1 2 1 5 1 2 1 5
0 6 4 3 0 6 4
A 3
1 2 5 6 B
1 3 4 6
4 8 20 24
1 2 4 5
Example
6 18
• Find det
1 5
2 6
and compare with det 3 ?
1 5
Theorem
detA=det(AT)
det(AB)=detA.detB
If A is an nxn matrix then
det(kA)=kndetA
det(A-1)=1/detA
Example
Let A is a nxn matrix, k is a scalar.
Which of the following are false?
a) det(AT)=detA b) det(AB)=detAdetB
c) det(A+B)=detA+detB d) det(kA)=kdetA
e) det(kA)=kndetA
Example
Let A and B are nxn matrix. Which statement is false?
a) det(A-1BA)=detB b) det(AB-1A-1B)=1
c) detAdetA-1=1 d) detAdetAT=1
e) det(ATB)=det(BTA)
Example
1 1 1 1
0 1 1 1
det A
0 0 3 1
0 0 0 4
a)detA=12 and det(A-1)T=12
b) detA=12 and det(A-1)T=1/12
c) detA=1/12 and det(A-1)T=12
d) detA=1/12= det(A-1)T
Determinant with block
Compute
1 7 2 6 1 7 0 0
5 2 4 1 5 2 0 0
0 0 1 2 3 1 1 2
0 0 3 4 3 2 3 4
Determinant with block
1 2 m a b 1 0 0 a b
4 5 n c d 4 5 6 c d
0 0 1 2 3 7 8 9 e f
0 0 4 0 6 0 0 0 1 2
0 0 7 0 9 0 0 0 3 4
Determinant with block
Not need be a square matrix
Square matrix
A X A 0
det A det B
0 B Y B
Square matrix
Determinant with block
A 0
det A det B
Y B
A X
det A det B
0 B
3.2.Determinant and Matrix
Inverses
• If A is invertible then AIdentity matrix
• If detA ≠0 and AB by elementary
operations then detB ≠0
• A is invertible iff detA≠0
• Cramer’s Rule
• Give a formula to find A-1
(i,j-Cofactor
(phần phụ đại số)
• cij=cij(A)=(-1)i+jdet(Aij) ( it is a number)
• Aij is the matrix obtained from A by deleting
row i and column j
1 2 1 5 1 2 5
0 6 4 3
A A23 0 7 0
0 7 1 0
0 1 2
0 1 8 2
Adjugate matrix
• The adjugate matrix of A is the matrix
1
A 1
adjA
det A
Note that […]
Example
Let A be a nxn matrix with detA=3.
Find det(adjA)?
e) 3n-1
Example 7 p.121
Execises 1 p.126
Cramer’s Rule
Cramer’s system: system of n equations
involving n variables and has unique solution
So, the coefficient matrix is invertible
A is invertible iff detA≠0
Cramer’s Rule
• Consider the matrix equation AX=B where A is
an invertible square matrix, X=[x1 x2 … xn]T.
That means, AX=B is a Cramer’s system. Then
the system has unique solution given by
det Ai ?
xi
det A
Cramer’s system: AX=B
a11 a12 ... a1n x1 b1
a x b
a22 ... a2 n 2
A 21 X 2 B
... ... ... ... ... ...
an1 an 2 ... ann xn bn
(iv) If A is nxn matrix, and the equation AX=B has more than
one solution, is it true that detA=0?
• A is invertible
• detA≠0
• The matrix equation AX=B has unique solution
• The homogeneous system AX=0 has only
trivial solution
• AIdentity matrix by elementary operations
Example
3 0
• Compute A2,A3, and A2009 if A
0 2
3 2
0 3 3
3
0
A
2
2 , A 3
0 2 0 2
3
2009
0
A 2009
2009
0 2
Diagonal matrices
• An nxn matrix is called diagonal matrix if all its
entries off the main diagonal are zeros
1 0 ... 0
0 ... 0
D 2
diag 1 , 2 ,..., n
... ... ... ...
0 0 ... n
• For example 3 0 0 0
0 2 0 0
diag 3, 2,1, 4
0 0 1 0
0 0 0 4
Theorem
• If A is an nxn matrix and P is an invertible nxn matrix
then
P AP P A P
1 k 1 k
AP
k
P1
AP P 1
AP P 1
AP P 1
AP ... P 1
P 1
AP diag 1 , 2 ,..., n
• Then,
P A P P AP diag 1 , 2 ,..., n
1 k 1 k k k k
Example
2009
2 4
Find A 2009
?
1 1
4 1 1 1 1
P P
1
1 1 5 1 4
2009
3 0 3 0
P AP
2009
P AP
1
1
0 2 0 2
32009
0 32009
0 1
P 1 A2009 P A 2009
P 2009
P
2 2
2009
0 0
How to find P?
P X1 X 2 ... X n
P 1 AP D AP PD D diag , ,...,
1 2 n
AX X
λ-eigenvector
Example
• Find an eigenvalue and 3 5
A
eigenvector for the matrix 1 1
3 5 5 5 3 5 1 1
1 1 1 4 1 1 1 1 2 1
eigenvalue eigenvector
How to find P?
P X1 X 2 ... X n
P AP D AP PD
1
D diag , ,...,
1 2 n
3 5
• For example, if A
1 1
x 3 5
c A x det xI A det
1 x 1
x 3 x 1 5 x 2 2 x 8
Example
Find the eigenvalues and eigenvectors of the matrix
1 1
A
2 2
The characteristic polynomial of A is
x 1 1
c A ( x) ( x 1)( x 2) 2
2 x 2
x( x 3)
c A ( x) 0 ( x 1)( x 2) 2 0 x( x 3) 0
1 0 we solve the equation
1 1 1 1
2 2 0 0
The solution is
1
X t t is arbitrary
1
The eigenvectors of A corresponding to λ1=0 is
1
X t t≠0
1
2 3 we solve the equation
2 1 2 1
2 1 0 0
The solution is
1
X t 2 t is arbitrary
1
1
X t 2 t≠0
1
When is A diagonalizable?
Theorem
Definition
V0 is known and
matrix recurrence
An Application to Linear Recurrences
Thanks