Linear Algebra and Advanced Calculus: Somitra Sanadhya
Linear Algebra and Advanced Calculus: Somitra Sanadhya
Linear Algebra and Advanced Calculus: Somitra Sanadhya
Somitra Sanadhya
IIIT-Delhi
somitra@iiitd.ac.in
Spectrum of a matrix
Eigenvectors are the “Spectrum” of the matrix.
Give a lot of information about the matrix.
For a symmetric matric, one can write A = QΛQ−1 = QΛQT
where Q is an orthogonal matrix.
The above step is A = λ1 q1 q1T + λ1 q2 q2T + . . . + λ1 qn qnT
A symmetric matrix A can be expressed as the sum of rank 1
matrices, each of which is constructed from mutually
orthogonal columns. (These directions are called principal
axes.)
The last statement is one way of expressing the “spectral
theorem”.
Linear Algebra and Advanced Calculus
Lecture 20
Eigenvectors as the basis
x = c1 x1 + c2 x2 + . . . + cn xn .
Fibonacci Series
0, 1, 1, 2, 3, 5, 8, 13, 21, . . .
Fk+2 = Fk+1 + Fk and F0 = 0, F1 = 1.
Can be written as
1 1 Fk+1
uk+1 = Auk where A = and uk =
1 0 Fk
Eigenvalues and eigenvectors
of A:
√ √
1+ 5 λ1 1− 5 λ2
λ1 = 2 , x1 = and λ2 = 2 , x1 =
1 1
u0 = Sc gives [1 0]T = [x1 x2 ][c1 c2 ]T . We can solve for
c1 , c2 .
uk = c1 λk1 x1 + c2 λk2 x2 .
Linear Algebra and Advanced Calculus
Lecture 20
Stability, ...
Stability, ...
For a matrix A, having eigenvalues λi , i = 1, 2, . . .
If A is diagonalizable, then A = SΛS −1 and hence
Ak = SΛk S −1 .
Consider the behaviour of Ak as k increases.
Three cases
1 Blow-up (some elements of Ak → ∞)
2 Steady state (Ak+1 does not differ much from Ak as k
increases)
3 Stable (irrespective of the initial value, Ak always converges to
the same matrix)
Note that this discussion holds only for diagonalizable
matrices.
Linear Algebra and Advanced Calculus
Lecture 20
Differential equation
Differential equation
du1
dt = −u1 + 2u2 ,
du2
dt = 2u1 − u2 and the initial condition
u1 (t = 0) = 1, u2 (t = 0) = 0.
du −1 2
In other words, = Au where A =
dt and
2 −1
u1
u=
u2
Find eigenvalues
and eigenvectors for A:
2 1
λ1 = 0, x1 = and λ2 = −3, x2 =
1 −1
General solution is u(t) = c1 eλ1 t x1 + c2 eλ2 t x2 .
Find c1 , c2 from initial condition. c1 = c2 = 31 .
Linear Algebra and Advanced Calculus
Lecture 20
Differential equation
Differential equation
General idea: du
dt = Au. Let S be the eigenvector matrix of A
and let u = Sv (substitution: change of variables).
The equation changes to S dv
dt = ASv. This gives
dv −1 ASv.
dt = S
dv
If A is diagonalizable, then S −1 AS = Λ. Hence, dt = Λv.
Much easier to solve since the equations have decoupled.
Solution is v(t) = eΛt v(0).
Reverting to the original variable: u(t) = SeΛt S −1 u(0).
Linear Algebra and Advanced Calculus
Lecture 20
Exponent of a matrix
Exponent of a matrix
eAt = I + (At) + (At)2 /2! + (At)3 /3! + . . .
From the previous example: we can show that eAt = SeΛt S −1 .
Proof idea:
1 eAt = I + (At) + (At)2 /2! + . . .
2 Use A = SΛS −1
3 Get eAt = S (I + (Λt) + (Λt)2 /2! + . . .) S −1
Why do this ? eΛt is much easier to compute than eAt
λt
e 1 ... 0
eΛt = ... ..
.
..
.
0 0 e ntλ
Linear Algebra and Advanced Calculus
Lecture 20
Solving higher order differential equation