Skip to content

Linear Vector ODE


Definition

A linear vector ODE (ordinary differential equation) with constant coefficients is a system of differential equations of the form

x′(t)=Ax(t),\boldsymbol{x}'(t)=A\boldsymbol{x}(t),

where x(t)∈Rn\boldsymbol{x}(t)\in\mathbb{R}^n is the state vector, x′(t)\boldsymbol{x}'(t) is its componentwise derivative ddtx(t)\frac{\mathrm{d}}{\mathrm{d}t}\boldsymbol{x}(t), and A∈Rn×nA\in\mathbb{R}^{n\times n} is a constant matrix. The inhomogeneous form is x′(t)=Ax(t)+b(t)\boldsymbol{x}'(t)=A\boldsymbol{x}(t)+\boldsymbol{b}(t). An initial value problem fixes x(0)=x0\boldsymbol{x}(0)=\boldsymbol{x}_0.


Interpretation

The scalar equation x′=axx'=ax has solution eatx0\mathrm{e}^{at}x_0. The vector equation behaves the same way along each eigenvector: if Av=λvA\boldsymbol{v}=\lambda\boldsymbol{v} (an eigenvalue and eigenvector pair), then x(t)=eλtv\boldsymbol{x}(t)=\mathrm{e}^{\lambda t}\boldsymbol{v} is a solution, because x′=λeλtv=eλtAv=Ax\boldsymbol{x}'=\lambda \mathrm{e}^{\lambda t}\boldsymbol{v}=\mathrm{e}^{\lambda t}A\boldsymbol{v}=A\boldsymbol{x}. With an eigenbasis, every solution is a combination of such modes.

Phase plane of x' = Ax for the triangular example: eigenvector directions v1 = (1,0) and v2 = (1,-1), and the solution curve from x0 = (1,2) bending into the origin.

The figure uses the triangular example below, A=(−210−3)A=\begin{pmatrix}-2&1\\0&-3\end{pmatrix}, with eigenvectors v1=(1,0)⊤\boldsymbol{v}_1=(1,0)^{\top} (λ=−2\lambda=-2) and v2=(1,−1)⊤\boldsymbol{v}_2=(1,-1)^{\top} (λ=−3\lambda=-3). The solution from x0=(1,2)⊤\boldsymbol{x}_0=(1,2)^{\top} is 3e−2tv1−2e−3tv23\mathrm{e}^{-2t}\boldsymbol{v}_1-2\mathrm{e}^{-3t}\boldsymbol{v}_2. Both modes decay, so the curve runs into the origin; the v2\boldsymbol{v}_2-mode dies out faster, so the curve arrives along the slower direction v1\boldsymbol{v}_1.

Each eigenvalue λ=α+iβ\lambda=\alpha+\mathrm{i}\beta contributes the size factor ∣eλt∣=eαt|\mathrm{e}^{\lambda t}|=\mathrm{e}^{\alpha t} and, if β≠0\beta\neq0, a rotation with angular speed β\beta. Hence the real parts decide long-run behaviour. This is the continuous-time rule; for difference equations xt+1=Axt\boldsymbol{x}_{t+1}=A\boldsymbol{x}_t the rule is ∣λ∣<1|\lambda|<1 instead (see stability of a system of linear difference equations). Confusing the two is a common error.

The origin 0\boldsymbol{0} is always an equilibrium of x′=Ax\boldsymbol{x}'=A\boldsymbol{x}; stability is meant in the sense of stability of an equilibrium.


Key Results

  • Existence and uniqueness: the initial value problem has the unique solution x(t)=eAtx0\boldsymbol{x}(t)=\mathrm{e}^{At}\boldsymbol{x}_0, with the matrix exponential.
  • If v1,…,vn\boldsymbol{v}_1,\dots,\boldsymbol{v}_n is an eigenbasis with eigenvalues λ1,…,λn\lambda_1,\dots,\lambda_n, then x(t)=∑i=1ncieλitvi\displaystyle \boldsymbol{x}(t)=\sum_{i=1}^n c_i\mathrm{e}^{\lambda_it}\boldsymbol{v}_i, with c\boldsymbol{c} solving ∑icivi=x0\displaystyle \sum_ic_i\boldsymbol{v}_i=\boldsymbol{x}_0.
  • A real matrix with eigenvalue α+iβ\alpha+\mathrm{i}\beta, β≠0\beta\neq0, and eigenvector v\boldsymbol{v} (its conjugate is then also an eigenvalue, see complex conjugate pair of eigenvalues) gives the two real solutions Re⁡(eλtv)\operatorname{Re}\big(\mathrm{e}^{\lambda t}\boldsymbol{v}\big) and Im⁡(eλtv)\operatorname{Im}\big(\mathrm{e}^{\lambda t}\boldsymbol{v}\big), found with Euler's formula.
  • If AA is not diagonalizable, generalized eigenvectors and the Jordan normal form add terms tkeλtt^k\mathrm{e}^{\lambda t}.
  • Stability (stable: all solutions bounded; asymptotically stable: all solutions converge): 0\boldsymbol{0} is asymptotically stable if and only if every eigenvalue of AA has negative real part; it is unstable if some eigenvalue has positive real part. If all real parts are ≤0\leq0, the origin is stable exactly when each eigenvalue with zero real part has equal algebraic and geometric multiplicity.
  • If AA is invertible and b\boldsymbol{b} is constant, x∗=−A−1b\boldsymbol{x}^*=-A^{-1}\boldsymbol{b} and x(t)=x∗+eAt(x0−x∗)\boldsymbol{x}(t)=\boldsymbol{x}^*+\mathrm{e}^{At}(\boldsymbol{x}_0-\boldsymbol{x}^*).

Examples

Triangular matrix. A=(−210−3)A=\begin{pmatrix}-2&1\\0&-3\end{pmatrix} has eigenvalues −2,−3-2,-3 with eigenvectors (1,0)⊤(1,0)^{\top} and (1,−1)⊤(1,-1)^{\top}. For x0=(1,2)⊤\boldsymbol{x}_0=(1,2)^{\top}: c1+c2=1c_1+c_2=1, −c2=2-c_2=2, so c2=−2c_2=-2, c1=3c_1=3 and

x(t)=(3e−2t−2e−3t2e−3t).\boldsymbol{x}(t)=\begin{pmatrix}3\mathrm{e}^{-2t}-2\mathrm{e}^{-3t}\\2\mathrm{e}^{-3t}\end{pmatrix}.

Check: x1′=−6e−2t+6e−3t=−2x1+x2x_1'=-6\mathrm{e}^{-2t}+6\mathrm{e}^{-3t}=-2x_1+x_2. Both eigenvalues are negative, so x(t)→0\boldsymbol{x}(t)\to\boldsymbol{0}.

Rotation. A=(0−110)A=\begin{pmatrix}0&-1\\1&0\end{pmatrix} has eigenvalues ±i\pm\mathrm{i}. The solution x(t)=(x1(0)cos⁡t−x2(0)sin⁡t, x1(0)sin⁡t+x2(0)cos⁡t)⊤\boldsymbol{x}(t)=\big(x_1(0)\cos t-x_2(0)\sin t,\ x_1(0)\sin t+x_2(0)\cos t\big)^{\top} circles the origin with constant length: stable, not asymptotically stable.

Saddle. A=(1221)A=\begin{pmatrix}1&2\\2&1\end{pmatrix} has eigenvalues 33 and −1-1; the mode e3t(1,1)⊤\mathrm{e}^{3t}(1,1)^{\top} grows, so the origin is unstable although one eigenvalue is negative.


Prerequisites



Sources

Aliases: linear system of ODEs, linear vector differential equation, linear system of differential equations Keywords: x'(t)=Ax(t), e^{lambda t} v, eigenvalue solution, asymptotic stability of x' = Ax, negative real part Symbols: alpha, beta, element of, lambda, real numbers, sum

Last updated: 17 October 2026 21:53