Eigenvector method for a differential equation (source code)

= Eigenvector method for a differential equation

For $x'=Ax$ with constant <matrix> $A$, an <eigenvector> $v$ with <eigenvalue> $\lambda$ gives $x(t)=e^{\lambda t}v$. If $A$ has an <eigenbasis>, every solution is the <linear combination> $\sum_j c_je^{\lambda_jt}v_j$, with constants fixed by the <initial condition>. For a real matrix, complex conjugate eigenpairs combine into real oscillatory solutions.

For $A=\begin{pmatrix}-2&1\\1&-2\end{pmatrix}$, the eigenvectors $(1,1)$ and $(1,-1)$ have eigenvalues $-1,-3$. Data $x(0)=(1,0)$ give
$$
x(t)=\tfrac12e^{-t}(1,1)+\tfrac12e^{-3t}(1,-1).
$$
Substitution verifies both equations and the data. A defective matrix needs <generalized eigenvectors> and polynomial-exponential <Jordan chains>, as in the <defective repeated eigenvalue in a cyclic conversion model>; eigenvectors alone then do not span all solutions.<Ordinary Differential Equations and Dynamical Systems by Gerald Teschl>[§3.2, linear autonomous first-order systems]{ref}