Timedora

Reading Linear-System Stability and Numerical Solutions

Learn how modal analysis describes linear-system behavior, why transient growth can complicate stability, and how to assess numerical solutions and step-size effects.

Modes, eigenvalues, and stability

For a constant-coefficient linear system

x′=Ax,x(0)=x0,\mathbf{x}'=A\mathbf{x}, \qquad \mathbf{x}(0)=\mathbf{x}_0,

the exact solution is x(t)=eAtx0\mathbf{x}(t)=e^{At}\mathbf{x}_0. Eigenvalues describe the system’s modes: an eigenvalue λ\lambda contributes behavior proportional to eλte^{\lambda t}. This connects the matrix to the overall motion:

  • The real part of λ\lambda determines whether that mode decays or grows. A negative real part means decay; a positive real part means growth.

  • The imaginary part determines oscillation. For a real matrix, complex eigenvalues occur in conjugate pairs, which together describe real-valued oscillatory behavior.

Eigenvectors give the directions associated with modes. They help explain how trajectories are oriented, while a summarizes trajectory shapes and directions. Neither the eigenvectors nor a alone provides exact solution values at particular times.

Classifying the origin

For this system, the eigenvalues give useful stability tests:

  • If every eigenvalue has negative real part, the origin is asymptotically stable: every solution approaches zero.

  • If any eigenvalue has positive real part, the origin is unstable, because some solutions grow.

  • If there are both positive and negative real parts, the origin is a saddle. Most nearby trajectories move away, though trajectories along special stable directions can approach the origin.

There is an important limit to these tests: if no eigenvalue has positive real part but some have zero real part, eigenvalues alone may not settle stability. For example, a defective eigenvalue on the imaginary axis can produce polynomial growth.

Worked example: two decay rates

Consider

x′=(−100−4)x,x(0)=(11).\mathbf{x}'= \begin{pmatrix}-1&0\\0&-4\end{pmatrix}\mathbf{x}, \qquad \mathbf{x}(0)=\begin{pmatrix}1\\1\end{pmatrix}.

The eigenvalues are −1-1 and −4-4. Both are negative, so both modes decay and the origin is asymptotically stable. Since the matrix is diagonal, each component follows its corresponding mode directly:

x(t)=(e−te−4t).\mathbf{x}(t)=\begin{pmatrix}e^{-t}\\e^{-4t}\end{pmatrix}.

The second component, e−4te^{-4t}, decays faster than the first, e−te^{-t}. Thus a numerical trajectory should show both components approaching zero, with the second disappearing sooner and the first eventually dominating. A coarse time grid may poorly represent the second component’s rapid early decrease even when the long-term trend looks correct.

When stable systems grow temporarily

Negative eigenvalues tell us that the modes in the following system decay in the long run. They do not guarantee that every component decreases at every moment. In a , whose eigenvectors are not orthogonal, decaying modes can combine to create substantial temporary growth.

Consider

A=(−1K0−2),x(0)=(01).A=\begin{pmatrix}-1&K\\0&-2\end{pmatrix}, \qquad \mathbf{x}(0)=\begin{pmatrix}0\\1\end{pmatrix}.

Its eigenvalues are −1-1 and −2-2, and the supplied solution is

x(t)=(K(e−t−e−2t)e−2t).\mathbf{x}(t)=\begin{pmatrix}K(e^{-t}-e^{-2t})\\e^{-2t}\end{pmatrix}.

The second component, e−2te^{-2t}, decays. For the first component, when t>0t>0, we have e−t>e−2te^{-t}>e^{-2t}. If K>0K>0, it therefore starts at zero and becomes positive; its initial rate of change is KK, so it initially grows. If K<0K<0, it becomes negative and its magnitude initially grows. In either case it eventually decays toward zero. When ∣K∣|K| is large, this temporary change can be substantial. If K=0K=0, this particular initial condition has no first-component transient.

So the eigenvalues establish here: every solution eventually approaches zero. But they do not quantify how large the temporary growth will be. Looking at a numerical plot can reveal that transient, while the eigenvalues alone cannot measure its size.

Checking numerical behavior and step size

Numerical solvers approximate solution values; they do not compute the exact continuous trajectory. Results can depend on the method, step sizes, tolerances, and arithmetic. Adaptive solvers adjust step sizes to meet requested local error tolerances, but that does not guarantee that every important feature has been captured. Rapid changes, long integration times, and stiff systems may require particular care.

A practical comparison

Use qualitative analysis to set expectations, then check whether the computed trajectory supports them:

  1. Check the overall trend. Does the computation decay, grow, oscillate, or follow a saddle-like pattern as the eigenvalues predict?

  2. Inspect what happens before the endpoint. A plausible long-term trend can conceal rapid changes or substantial that was missed or poorly resolved.

  3. Test sensitivity. Repeat the calculation with smaller steps or tighter tolerances. If important results change substantially, treat the original approximation as a warning sign rather than a reliable answer.

  4. Read plots cautiously. Sparse output points or plot scaling can hide fast changes, oscillations, or large intermediate values.

Numerical evidence is approximate: a trajectory that appears consistent with a stability prediction is not, by itself, proof of stability or a complete account of the system’s behavior.

Worked example: for x′=−xx'=-x

The exact solution is x(t)=x(0)e−tx(t)=x(0)e^{-t}, so it decays for increasing time. with a positive step size hh gives

xn+1=xn+h(−xn)=(1−h)xn.x_{n+1}=x_n+h(-x_n)=(1-h)x_n.

Each step multiplies the previous value by 1−h1-h. For the computed values to decay in magnitude, this multiplier must have absolute value less than one:

∣1−h∣<1⟺−1<1−h<1⟺0<h<2.|1-h|<1 \quad\Longleftrightarrow\quad -1<1-h<1 \quad\Longleftrightarrow\quad 0<h<2.

Thus, for 0<h<20<h<2, the Euler values decay in magnitude. At h=2h=2, the multiplier is −1-1, so values alternate sign without decaying. For h>2h>2, its magnitude exceeds one, so the computed values grow in magnitude. In those cases the calculation can contradict the equation’s true decay, not because the differential equation changed, but because the chosen method and step size do not preserve its decay. This step-size condition is specific to applied to x′=−xx'=-x.

  • : A computed estimate of a solution at selected times, rather than the exact continuous trajectory.