La 6
La 6
La 6
Then lets look at what happens when we multiply AS, and see that we
can factor this into S and a diagonal matrix Λ:
5 2 1 1 7 3 1 1 7 0
= =
2 5 1 −1 7 −3 1 −1 0 3
A S S Λ
1
Properties of Diagonalization
Diagonal matrices are easy to square and invert because you simply square
or invert the elements along the diagonal!
S eΛt c
y(0) = SIc
−1
S y(0) = c
The first line simply expresses our initial condition as a linear combination
of the eigenvectors, y(0) = c1 x1 + c2 x2 . The second equation just multiplies
the first by S −1 on both sides to solve for c in terms of y(0) and S −1 , which
we know, or can compute from what we know.
2
Step 1. Use the initial condition to compute the parameters:
c = S −1 y(0)
y = SeΛt S −1 y(0).
1 1
and
1 −1
√
had length 2. If we make them unit length, we can choose eigenvectors
that are both orthogonal and unit length. This is called orthonormal.
Question: Are the unit length vectors also eigenvectors?
√ √
1/√2 1/√2
and
1/ 2 −1/ 2
3
Claim
Example
cos(θ) − sin(θ) cos(θ) sin(θ) 1 0
=
sin(θ) cos(θ) − sin(θ) cos(θ) 0 1
S ST = I
xi · xi = xTi xi = 1,
and the dot product of any two vectors that are not equal is zero:
xi · xj = xTi xj = 0,
when i 6= j.
This tells us that the matrix product:
4
T
− xT1 − | | | x1 x1 xT1 x2 xT1 x3 1 0 0
− xT2 − x1 x2 x3 = xT2 x1 xT2 x2 xT2 x3 = 0 1 0
− xT3 − | | | xT3 x1 xT3 x1 xT3 x3 0 0 1
ST S =I
Example
As an exercise, test that all vector dot products are zero if the vectors are
not equal, and are one if it is a dot product with itself. This is a particularly
nice matrix because there are no square roots! And this is also a rotation
matrix! But it is a rotation is 3 dimensions.
Find a symmetric matrix A whose eigenvector matrix is S.
All we have to do is choose any Λ with real entries along the diagonal,
and then A = SΛS T is symmetric!
Recall that (AB)T = B T AT . We can use this to check that this A is in
fact symmetric:
AT = (SΛS T )T
= S T T ΛT S T
= SΛS T
This works because transposing a matrix twice returns the original ma-
trix, and transposing a diagonal matrix does nothing!
In physics and engineering this is called the principal axis theorem. In
math, this is the spectral theorem.
5
Why is it called the principal axis theorem?
An ellipsoid whose principal axis are along the standard x, y, and z axes
can be written as the equation ax2 + by 2 + cz 2 = 1, which in matrix form is
a 0 0 x
x y z 0 b 0 y = 1
0 0 c z
6
M.I.T. 18.03 Ordinary Differential
Equations
18.03 Extra Notes and Exercises
c Haynes Miller, David Jerison, Jennifer French and M.I.T., 2013