Eigenvectors and Diagonalization
Eigenvectors and Diagonalization
Eigenvectors and Diagonalization
Stephen Boyd
Lecture 11
Eigenvectors and diagonalization
eigenvectors
dynamic interpretation: invariant sets
complex eigenvectors & invariant planes
left eigenvectors
diagonalization
modal form
discrete-time stability
111
112
113
Scaling interpretation
(assume R for now; well consider C later)
if v is an eigenvector, effect of A on v is very simple: scaling by
Ax
v
x
Av
(what is here?)
Eigenvectors and diagonalization
114
115
Dynamic interpretation
suppose Av = v, v 6= 0
if x = Ax and x(0) = v, then x(t) = etv
several ways to see this, e.g.,
x(t) = etAv
I + tA +
(tA)
+ v
2!
(t)2
v +
= v + tv +
2!
= etv
(since (tA)k v = (t)k v)
Eigenvectors and diagonalization
116
117
Invariant sets
118
suppose Av = v, v 6= 0, R
line { tv | t R } is invariant
119
Complex eigenvectors
suppose Av = v, v 6= 0, is complex
for a C, (complex) trajectory aetv satisfies x = Ax
hence so does (real) trajectory
t
x(t) = ae v
= e
vre vim
cos t sin t
sin t cos t
where
v = vre + ivim,
= + i,
a = + i
1110
d T
(w x) = wT x = wT Ax = (wT x)
dt
i.e., wT x satisfies the DE d(wT x)/dt = (wT x)
hence wT x(t) = etwT x(0)
even if trajectory x is complicated, wT x is simple
1111
Summary
right eigenvectors are initial conditions from which resulting motion is
simple (i.e., remains on line or in plane)
left eigenvectors give linear functions of state that are simple, for any
initial condition
1112
1 10 10
0
0 x
example 1: x = 1
0
1
0
block diagram:
1/s
x1
1
1/s
x2
10
1/s
x3
10
eigenvalues are 1, i 10
Eigenvectors and diagonalization
1113
x1
2
1
0
1
0
0.5
1.5
2.5
3.5
4.5
0.5
1.5
2.5
3.5
4.5
0.5
1.5
2.5
3.5
4.5
x2
0.5
0
0.5
1
0
x3
1
0.5
0
0.5
0
1114
0.1
g= 0
1
lets check g T x(t) when x(0) = (0, 1, 1) (as above):
1
0.9
0.8
0.7
gT x
0.6
0.5
0.4
0.3
0.2
0.1
0
0
0.5
1.5
2.5
3.5
4.5
t
Eigenvectors and diagonalization
1115
0.554 + i0.771
v = 0.244 + i0.175
0.055 i0.077
so an invariant plane is spanned by
0.554
vre = 0.244 ,
0.055
vim
0.771
= 0.175
0.077
1116
x1
1
0
0.5
1.5
2.5
3.5
4.5
0.5
1.5
2.5
3.5
4.5
0.5
1.5
2.5
3.5
4.5
x2
0.5
0.5
0
x3
0.1
0.1
0
1117
1118
Diagonalization
suppose v1, . . . , vn is a linearly independent set of eigenvectors of
A Rnn:
Avi = ivi, i = 1, . . . , n
express as
define T =
...
v1 vn
v1 vn
v1 vn
AT = T
and finally
T 1AT =
Eigenvectors and diagonalization
1119
T 1AT = = diag(1, . . . , n)
then AT = T , i.e.,
Avi = ivi,
i = 1, . . . , n
1120
0 1
0 0
0 1
0 0
v1
0
v1
v2
where v1 6= 0
=0
1121
Distinct eigenvalues
fact: if A has distinct eigenvalues, i.e., i 6= j for i 6= j, then A is
diagonalizable
1122
w1T
w1T
.. A = ..
wnT
wnT
1123
Modal form
suppose A is diagonalizable by T
x
= T 1AT x
x
=
x
1124
x
1
1/s
x
n
n
trajectories consist of n independent modes, i.e.,
x
i(t) = eitx
i(0)
hence the name modal form
Eigenvectors and diagonalization
1125
when eigenvalues (hence T ) are complex, system can be put in real modal
form:
j
j
j
j
j = j + ij ,
j = r + 1, r + 3, . . . , n
where j are the complex eigenvalues (one from each conjugate pair)
1126
1/s
1/s
1127
sT T
1 1
T T
1 1
T (sI )T
= T (sI )1T 1
1
1
= T diag
,...,
T 1
s 1
s n
powers (i.e., discrete-time solution):
A
=
=
T T
T T
1 k
1
= T k T 1
T T
= T diag(k1 , . . . , kn)T 1
(for k < 0 only if A invertible, i.e., all i 6= 0)
Eigenvectors and diagonalization
1128
+ T T
1 2
/2! +
= T (I + + 2/2! + )T 1
= T eT 1
= T diag(e1 , . . . , en )T 1
1129
= 0T T 1 + 1T T 1 + 2(T T 1)2 +
1
2
= T 0 I + 1 + 2 + T
1130
1131
interpretation:
(left eigenvectors) decompose initial state x(0) into modal components
wiT x(0)
eit term propagates ith mode forward t seconds
reconstruct state as linear combination of (right) eigenvectors
1132
n
X
eit(wiT x(0))vi
i=1
i = s + 1, . . . , n
1133
n
X
i=1
ti(wiT x(0))vi 0
as t
i = 1, . . . , n.
we will see later that this is true even when A is not diagonalizable, so we
have
fact: x(t + 1) = Ax(t) is stable if and only if all eigenvalues of A have
magnitude less than one
Eigenvectors and diagonalization
1134