Beruflich Dokumente
Kultur Dokumente
L19.1 An example in detail. The following matrix featured in the first exercise of L19.4:
5 3 3
A = 0 1 0 .
1 2 1
Ones first observation upon setting eyes on this matrix is that A I has a row of 0s; it
follows that 1 is an eigenvalue of A. Given that
det A = 5.1 (3).1 = 8,
tr A = 5+1+1 = 7,
1.2 3 = 8
1 + 2 + 3 = 7,
1
3 3 3
A 2I = 0 1 0 0
0
1 2 1
1
1 3 3
A 4I = 0 3 0 0
0
1 2 3
6
v1 = 3
5
1
0 1
1 0 v2 = 0
1
0 0
3
0 3
1 0 v3 = 0 .
1
0 0
0
3
0
1 0 0
D = 0 2 0 ,
0 0 4
(1)
Av2 = 2v1 ,
Av3 = 4v3 .
We shall now make the relationship between the two matrices A and D more explicit.
73
(2)
Let P denote the matrix whose columns are the chosen eigenvectors:
6 1 3
P = v1 v2 v3 = 3 0 0
5 1 1
(vertical lines emphasize the column structure of this matrix). In view of (2),
6 2 12
AP = Av1 Av2 Av3 = 3 0 0 .
5 2 4
We get exactly the same result by multiplying P by the diagonal matrix D on the right:
1 0 0
6 1 3
6 2 12
P D = 3 0 0 0 2 0 = 3 0 0 .
5 1 1
5 2 4
0 0 4
In conclusion,
AP = P D.
Since the columns of P are LI, P has rank 3 and is invertible. One can therefore assert
(without the need to actually compute P 1 ) that
P 1AP = D,
or
A = P DP 1 .
Warning . We have chosen to apply these definitions strictly within the field R of real
numbers. One is free to treat A, B as elements of C n,n and ask whether A = P BP 1 with
P Cn,n . This is an easier condition to satisfy, and leads to a more general concept of
similarity and diagonalizability, but one that we shall ignore in this course.
X = v1
v2 Rn,2
AX = Av1
Av2 = v1
v2
0
0
2
= XD,
The last equation is valid even if the two eigenvectors are identical, and we can choose more
eigenvectors so as to obtain a matrix X with more columns. But we can only invert X if
its rank is n, or equivalently if we can find a total of n LI eigenvectors. Hence the
Lemma. A matrix A Rn,n is diagonalizable iff there exists a basis of R n consisting of
eigenvectors of A.
The next result tells us exactly when this is possible.
Theorem. A matrix A Rn,n is diagonalizable iff all the roots of p(x) are real, and for
each repeated root we have
mult() = dim E .
(3)
Proof. Each eigenvector v Rn,1 is associated to a real root of p(x), and we already know
that the dimension of the eigenspace E is at most mult(). So unless (3) holds for every
eigenvalue, it is numerically impossible to find a basis of eigenvectors.
Conversely, suppose that the distinct roots of p(x) are 1 , . . . , k R. If k = n the result
follows from the Corollary in L19.1; otherwise set m i = mult(i ) and suppose that (3) holds.
Pick a basis of each eigenspace Ei , and put all these elements together to get a total
of n = m1 + + mk eigenvectors v1 , . . . , vn . Any linear relation between them can be
regrouped into a linear relation
a1 w1 + + ak wk = 0,
with
ai R
and Awi = i wi ,
0 0 1
B = 0 1 0
1 0 0
has characteristic polynomial (x 1)2 (x + 1), and eigenvectors
0
1
1
v1 = 1 ,
v2 = 0 ,
v3 = 0 .
0
1
1
Deduce that mult(1) = 2 = dim E1 , and
0 1
P = 1 0
0 1
1
1 0 0
1 ,
D = 0 1 0 .
1
0 0 1
L19.3 An application. The sequence 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, . . . of Fibonacci
numbers is defined recursively by the initial values f 0 = 0, f1 = 1 and the equation
fn+1 = fn + fn1 .
The latter can be put into matrix form
fn
fn+1
=F
fn1
fn
by taking F =
75
0 1
1 1
1 5
1+ 5
,
2 =
1 =
2
2
(4)
1
1
1
2
D=
1
0
0
2
1
2 1
=
.
1
1
2 1
F n = (P DP 1 )(P DP 1 ) (P DP 1 ) = P D n P 1 ,
since all internal pairs P 1P cancel out. It follows that
fn
fn+1
= Fn
0
0
= P D n P 1
=
1
1
1 P
5
1n
0
0
2n
1
,
1
1n 2n
n / 5 (for
for the nth Fibonacci
number
in
terms
of
(4).
For
large
n,
this
is
very
close
to
2 1 2
0 0 1 ,
0 1 0
2 3 3
0 1 0 ,
1 1 2
2 1 1
1 2 1 ,
1 1 2
1 1 0
1 3 0 .
1 4 1
1 0 0
A = 1 1 0 ,
2 3 2
1 0 0
B1 = 0 1 0 ,
0 0 2
1 0 0
B2 = 0 1 0 ,
0 0 2
5 3
6 2