lec23
differential equation dtdu=Au
e.g. Solve
dtdu1=−u1+2u2dtdu2=u1−2u2
⟶dtdu=Au
where
A=[−112−2]
and
u(0)=[u1u2]=[10]
Find eigenvalues and eigenvectors of A :
⁍
x1=[21],x2=[1−1]
Then the general solution is:
u(t)=c1eλ1tx1+c2eλ2tx2
= c1eλ1tx1 and c2eλ2tx2 are both solutions.
e.g. plug u=eλ1tx1 in dtdu=Au ,
λ1eλ1tx1=Aeλ1tx1⇒λ1x1=Ax1
- stability ( u(t)→0 ) : Reλ<0
- steady state : λ1=0 and other Reλ<0
- blow up : ∀Reλ<0
for 2×2 matrices, how to get Reλ1<0,Reλ2<0 ?
λ1+λ2=tr(A)<0λ1λ2=det(A)>0
Uncouple dtdu=Au
Set
u=Sv
dtdu=Sdtdv=Au=ASv
⇒dtdv=S−1ASv=Λv
i.e.
dtdv1=λ1v1⋮
v’s are uncoupled.
So
⁍
∴u=Sv=SeΛtv(0)=SeΛtS−1u(0)=eAtu(0)
upd: what eΛt means? e^{\Lambda t}=\begin{bmatrix} e^{\lambda_1 t} & 0 & 0\ 0 & \ddots & 0\ 0 & 0 & e^{\lambda_n t}\end{bmatrix}
Meaning of exponential of a matrix ( SeΛtS−1=eAt )
Taylor Series ex=∑n!xn :
eAt=I+At+2(At)2+6(At)3+⋯+n!(At)n+⋯
also, 1−x1=∑0∞xn : (for ∣λ(At)∣<1 )
(I−At)−1=I+At+(At)2+(At)3t+⋯
Why I+At+2(At)2+6(At)3+⋯+n!(At)n+⋯=SeΛtS−1 ?
eAt=I+At+2(At)2+6(At)3+⋯+n!(At)n+⋯=SS−1+SΛS−1t+2SΛ2S−1t2+⋯=SeΛtS−1
Because Λ is diagonal, (use Taylor series)
eΛt= eλ1t 0 00⋱ 000eλnt
2-order differential equation
Solve
y′′+by′+ky=0
let
u=[y′y]u′=[y′′y′]=[−b1−k0][y′y]
that is in the form of dtdu=Au