LINEAR-ALGEBRA Ā· Interactive Practice | Unit 22 Ā· Video 1

From Calculus to Linear Algebra: How Eigenvalues Solve Differential Equations

IKey Formulas

Formula Name Description
dudt=Au\dfrac{du}{dt} = Au Linear ODE system Coupled first-order linear differential equations
u(t)=eĪ»t xu(t) = e^{\lambda t}\, x Exponential ansatz Pure-mode solution from eigenpair (Ī»,x)(\lambda, x)
Ax=λxA x = \lambda x Eigenvalue equation Plugging the ansatz into the ODE produces this
u(t)=c1eλ1tx1+c2eλ2tx2u(t) = c_1 e^{\lambda_1 t} x_1 + c_2 e^{\lambda_2 t} x_2 General solution Superposition of eigenmodes; cic_i from u(0)u(0)

Eigenvalue signs: Ī»>0\lambda > 0 growth, Ī»=0\lambda = 0 steady state, Ī»<0\lambda < 0 decay.

IIVisualization 1 — The Two-Tank System

Water sloshes between two tanks until the split settles: the decaying mode fades while the Ī»=0\lambda = 0 steady state holds.

šŸ’” The total u1+u2u_1 + u_2 never changes — that conserved direction is the Ī»=0\lambda = 0 eigenvector, and the gap to steady state closes at rate eāˆ’3te^{-3t}, the Ī»=āˆ’3\lambda = -3 mode.

IIIVisualization 2 — Eigenvalue Signs Determine Behavior

The sign of Ī»\lambda alone fixes a single mode's fate: grow, hold, or decay.

šŸ’” A coupled dudt=Au\tfrac{du}{dt} = Au superposes one such mode per eigenvalue: a single Ī»>0\lambda > 0 makes the whole system grow, while all Ī»<0\lambda < 0 forces every mode to zero.

IVVisualization 3 — Phase Portrait of the Two-Tank System

Every starting point flows along (1,āˆ’1)(1,-1) onto the same steady line span⁔(2,1)\operatorname{span}(2,1).

šŸ’” The field vanishes exactly on span⁔(2,1)\operatorname{span}(2,1) — that entire line stands still, the Ī»=0\lambda = 0 eigenspace of fixed points.

VQuiz Questions

Question 1

We try the ansatz u(t)=eĪ»t xu(t) = e^{\lambda t}\, x in dudt=Au\dfrac{du}{dt} = A u. After differentiating and cancelling eĪ»te^{\lambda t}, what equation must Ī»\lambda and xx satisfy?

āœ… Correct! The differential equation collapses into the eigenvalue equation.

āŒ Not quite. Differentiating eĪ»txe^{\lambda t} x pulls out a factor of Ī»\lambda, while AA acts on xx on the right side.

Show solution

Solution:

Differentiate the ansatz: ddt(eĪ»tx)=λ eĪ»t x.\frac{d}{dt}\bigl(e^{\lambda t} x\bigr) = \lambda\, e^{\lambda t}\, x.

The right-hand side of the ODE is A(eĪ»tx)=eĪ»t Ax.A\bigl(e^{\lambda t} x\bigr) = e^{\lambda t}\, A x.

Setting both sides equal and cancelling the scalar eλte^{\lambda t}: λx=Ax⟺Ax=λx.\lambda x = A x \quad\Longleftrightarrow\quad A x = \lambda x.

This is the eigenvalue equation. So Ī»\lambda must be an eigenvalue of AA and xx its eigenvector.

Question 2

For the matrix A=[āˆ’121āˆ’2]A = \begin{bmatrix} -1 & 2 \\ 1 & -2 \end{bmatrix}, the trace is āˆ’3-3 and the determinant is 00. Without solving the characteristic polynomial directly, what are the eigenvalues?

āœ… Correct! A singular matrix forces one eigenvalue to be 0; the trace then pins down the other.

āŒ Not quite. Use both facts together: the eigenvalues sum to the trace and multiply to the determinant. Since det⁔=0\det = 0, one eigenvalue must be 0.

Show solution

Solution:

For a 2Ɨ22 \times 2 matrix, the eigenvalues Ī»1,Ī»2\lambda_1, \lambda_2 satisfy:

  • Ī»1+Ī»2=trace(A)\lambda_1 + \lambda_2 = \text{trace}(A)
  • Ī»1ā‹…Ī»2=det⁔(A)\lambda_1 \cdot \lambda_2 = \det(A)

Since det⁔(A)=0\det(A) = 0, the product λ1λ2=0\lambda_1 \lambda_2 = 0, so at least one eigenvalue is zero. Take λ1=0\lambda_1 = 0.

Then Ī»2=trace(A)āˆ’Ī»1=āˆ’3āˆ’0=āˆ’3\lambda_2 = \text{trace}(A) - \lambda_1 = -3 - 0 = -3.

So the eigenvalues are Ī»1=0,ā€…ā€ŠĪ»2=āˆ’3\boxed{\lambda_1 = 0,\; \lambda_2 = -3}.

We can confirm with the characteristic polynomial: Ī»2āˆ’(trace)Ī»+det⁔=Ī»2+3Ī»=Ī»(Ī»+3)=0\lambda^2 - (\text{trace})\lambda + \det = \lambda^2 + 3\lambda = \lambda(\lambda + 3) = 0.

Question 3

True or False: If every eigenvalue of AA has a negative real part, then every solution of dudt=Au\dfrac{du}{dt} = A u decays to the zero vector as tā†’āˆžt \to \infty.

āœ… Correct! Each eigenmode decays independently, so their superposition does too.

āŒ Not quite. Recall that u(t)u(t) is a sum of eĪ»itxie^{\lambda_i t} x_i terms. If every Ī»i<0\lambda_i < 0, every term — and therefore the whole sum — tends to zero.

Show solution

Solution: True.

Every solution can be written as a superposition of eigenmodes: u(t)=c1eĪ»1tx1+c2eĪ»2tx2+⋯u(t) = c_1 e^{\lambda_1 t} x_1 + c_2 e^{\lambda_2 t} x_2 + \cdots

If every Ī»i\lambda_i has negative real part, then every term eĪ»it→0e^{\lambda_i t} \to 0 as tā†’āˆžt \to \infty. The whole sum decays to the zero vector regardless of the initial condition — i.e., regardless of the constants cic_i.

Contrast this with our two-tank system: it had λ1=0\lambda_1 = 0, so one mode persisted forever (the steady state). Without that zero eigenvalue, the solution would have decayed all the way to the origin.

Question 4

For the two-tank system with A=[āˆ’121āˆ’2]A = \begin{bmatrix} -1 & 2 \\ 1 & -2 \end{bmatrix} and initial condition u(0)=[10]u(0) = \begin{bmatrix}1\\0\end{bmatrix}, the solution is

u(t)=13[21]+13eāˆ’3t[1āˆ’1].u(t) = \tfrac{1}{3}\begin{bmatrix}2\\1\end{bmatrix} + \tfrac{1}{3} e^{-3t}\begin{bmatrix}1\\-1\end{bmatrix}.

What is the steady state lim⁔tā†’āˆžu(t)\displaystyle\lim_{t \to \infty} u(t)?

āœ… Correct! The decaying mode vanishes and only the Ī»=0\lambda=0 component survives.

āŒ Not quite. (1,0)(1,0) is the initial condition, not the long-time limit. Take tā†’āˆžt \to \infty, so eāˆ’3t→0e^{-3t} \to 0.

āŒ Not quite. Because one eigenvalue is zero (not negative), one mode does not decay. The steady state is nonzero.

āŒ Not quite. Set eāˆ’3t=0e^{-3t} = 0 and read off what's left: 13(2,1)\tfrac{1}{3}(2,1).

Show solution

Solution:

As tā†’āˆžt \to \infty, the term eāˆ’3t→0e^{-3t} \to 0, so the decaying mode vanishes: lim⁔tā†’āˆžu(t)=13[21]+0=[2/31/3].\lim_{t\to\infty} u(t) = \tfrac{1}{3}\begin{bmatrix}2\\1\end{bmatrix} + 0 = \begin{bmatrix}2/3\\1/3\end{bmatrix}.

So the steady state is (2/3, 1/3)(2/3,\, 1/3).

Notice that this point lies on the eigendirection of Ī»=0\lambda = 0 (which is (2,1)(2,1) scaled), and that 2/3+1/3=12/3 + 1/3 = 1 matches the conserved total u1+u2=1u_1 + u_2 = 1 from the initial condition.

Solved: 0 / 4