Timedora

Understanding Linear Systems

Learn how matrix form, equilibria, eigenvalues, and numerical approximation work together to explain linear systems of differential equations.

Matrix Form and Equilibria

Write the system as a matrix equation

A constant-coefficient linear system tracks several quantities together. Collect the unknown functions into a state vector x(t)\mathbf{x}(t), and write the system as

x′=Ax+b,\mathbf{x}'=A\mathbf{x}+\mathbf{b},

where AA is a constant matrix and b\mathbf{b} is a . For example, the equations x′=−2x+yx'=-2x+y and y′=−yy'=-y become

[x′y′]=[−210−1][xy].\begin{bmatrix}x'\\y'\end{bmatrix} = \begin{bmatrix}-2&1\\0&-1\end{bmatrix} \begin{bmatrix}x\\y\end{bmatrix}.

The matrix collects how the current state contributes to each rate of change. Here the system is homogeneous, so b=0\mathbf{b}=\mathbf{0}.

Find and shift to an

At an x∗\mathbf{x}_*, the state is not changing, so set x′=0\mathbf{x}'=\mathbf{0} and solve

Ax∗+b=0.A\mathbf{x}_*+\mathbf{b}=\mathbf{0}.

For a homogeneous system, the origin is always an . It is the only one if AA is invertible. If AA is singular, a nonhomogeneous system may have other equilibria or none.

Once an is known, define the displacement from it by u=x−x∗\mathbf{u}=\mathbf{x}-\mathbf{x}_*. Since x∗\mathbf{x}_* is constant, u′=x′\mathbf{u}'=\mathbf{x}'. Substituting into the system and using Ax∗+b=0A\mathbf{x}_*+\mathbf{b}=0 gives u′=Au\mathbf{u}'=A\mathbf{u}. This shift lets us study motion relative to the as a homogeneous system.

Eigenmodes and Long-Term Behavior

Build solution modes from eigenpairs

For a homogeneous system x′=Ax\mathbf{x}'=A\mathbf{x}, an satisfies

Av=λv.A\mathbf{v}=\lambda\mathbf{v}.

It gives a solution mode x(t)=eλtv\mathbf{x}(t)=e^{\lambda t}\mathbf{v}: the eigenvector v\mathbf{v} sets the direction, while the exponential factor determines how that mode changes over time. When the matrix has enough independent eigenvectors, solutions can be formed by combining their modes.

For the matrix

A=[−210−1],A=\begin{bmatrix}-2&1\\0&-1\end{bmatrix},

the source example gives eigenpairs λ=−2,  v=(1,0)T\lambda=-2,\;\mathbf{v}=(1,0)^T and λ=−1,  v=(1,1)T\lambda=-1,\;\mathbf{v}=(1,1)^T. The corresponding modes are e−2t(1,0)Te^{-2t}(1,0)^T and e−t(1,1)Te^{-t}(1,1)^T. Their sum is also a solution:

x(t)=e−2t[10]+e−t[11]=[e−2t+e−te−t].\mathbf{x}(t)=e^{-2t}\begin{bmatrix}1\\0\end{bmatrix} +e^{-t}\begin{bmatrix}1\\1\end{bmatrix} = \begin{bmatrix}e^{-2t}+e^{-t}\\e^{-t}\end{bmatrix}.

At t=0t=0, this solution starts at (2,1)T(2,1)^T. Each mode decays, but at a different rate; the eigenvectors identify the directions of those modes.

Read qualitative behavior from eigenvalues

Eigenvalues and eigenvectors describe the overall trajectory pattern without requiring every point on a trajectory to be calculated. For a two-dimensional system with real eigenvalues:

  • If both eigenvalues are negative, solutions approach the : it is a stable node.

  • If both are positive, solutions move away: it is an unstable node.

  • If their signs are opposite, solutions approach along one eigenvector direction and move away along the other. This is unstable.

In the worked example, both eigenvalues are negative, so solutions approach the origin. Complex eigenvalues instead produce spiral or rotational behavior; their real parts determine whether trajectories decay or grow. These classifications concern behavior relative to an , which can be the origin after shifting coordinates.

Approximating the Trajectory

Estimate a state with one Euler step

Qualitative analysis describes a system's overall trend; a numerical method estimates particular states along the trajectory. For x′=Ax\mathbf{x}'=A\mathbf{x}, a of size hh uses

x1=x0+hAx0.\mathbf{x}_1=\mathbf{x}_0+hA\mathbf{x}_0.

For the matrix A=[−210−1]A=\begin{bmatrix}-2&1\\0&-1\end{bmatrix}, the initial state x0=(2,1)T\mathbf{x}_0=(2,1)^T, and h=0.1h=0.1, first calculate the rate at the initial state:

Ax0=[−210−1][21]=[−3−1].A\mathbf{x}_0= \begin{bmatrix}-2&1\\0&-1\end{bmatrix} \begin{bmatrix}2\\1\end{bmatrix} = \begin{bmatrix}-3\\-1\end{bmatrix}.

Then take the step:

x1=[21]+0.1[−3−1]=[1.70.9].\mathbf{x}_1=\begin{bmatrix}2\\1\end{bmatrix} +0.1\begin{bmatrix}-3\\-1\end{bmatrix} =\begin{bmatrix}1.7\\0.9\end{bmatrix}.

This estimates the state at t=0.1t=0.1. The exact values there are approximately (1.7236,0.9048)T(1.7236,0.9048)^T, so the Euler result is an approximation, not an exact solution. Accuracy depends on the numerical method and step size.