A system of linear differential equations, x′ = Ax, describes several quantities whose rates depend on each other. Trying x = e^(λt)v turns it into the eigenvalue problem Av = λv. Each eigenvalue and eigenvector gives a solution moving straight along the eigenvector, growing if λ > 0 and decaying if λ < 0, and every solution is a combination of these. Complex eigenvalues give spirals or circles. Any second-order equation can be rewritten as such a system.
What you'll learn
Write a system of linear equations in the form x′ = Ax
Solve x′ = Ax with eigenvalues and eigenvectors
Fit the constants to an initial condition
Classify the origin as a saddle, node or spiral from the eigenvalues
Along an eigenvector, A only stretches: it pushes a point straight out
along the same line, or straight back toward the origin. A solution that
starts on that line stays on it, growing or shrinking like eλt. In
coordinates along the eigenvectors, the system splits into separate
one-variable equations yi′=λiyi, which is
diagonalization applied to a differential
equation. Every other solution is a blend of these straight-line motions.
eigenvector lines
The phase portrait of x′ = Ax for A = [[1, 2], [2, 1]]
The matrix is diagonal, so the equations do not interact.
Solve x′=[4213]x.
Answer
x=c1e5t(1,1)+c2e2t(1,−2)
Full solution
Trace 7, determinant 10: λ=5,2. For 5: (1,1). For 2: (1,−2).
Solve x′=[0−110]x with x(0)=(1,0).
Answer
x=(cost,−sint)
Full solution
x1′=x2 and x2′=−x1, so x1′′=−x1 and x1=cost, x2=x1′=−sint. The point circles clockwise.
Find the eigenvalues and eigenvectors of [1012] and write the general solution of x′=Ax.
Answer
x=c1et(1,0)+c2e2t(1,1)
Full solution
The matrix is triangular, so λ=1,2. For 2: A−2I has first row (−1,1), giving (1,1).
For Example 2, find the solution with x(0)=(1,3).
Answer
x=2e−t(1,1)−e−3t(1,−1)
Full solution
c1+c2=1 and c1−c2=3 give c1=2, c2=−1.
Write y′′−5y′+6y=0 as a system x′=Ax.
Answer
A=[0−615]
Full solution
x1=y, x2=y′, and y′′=−6y+5y′. Its eigenvalues are 2 and 3, the characteristic roots.
Is the origin stable for a system whose matrix has eigenvalues −1+4i and −1−4i?
Answer
Yes; solutions spiral in.
Full solution
The real part −1 is negative, so the size decays like e−t while the imaginary part makes the path rotate.
A student writes the solution of the first system as x=c1e3t+c2e−t. What is missing?
Answer
The eigenvectors: x=c1e3t(1,1)+c2e−t(1,−1).
Full solution
x is a vector, so each exponential must multiply a direction. Without them, x1 and x2 would be forced to be equal.
Frequently asked questions
How do you solve x′ = Ax?
Find the eigenvalues λ and eigenvectors v of A. Each pair gives a solution e^(λt)v, and for an n × n matrix with n independent eigenvectors, the general solution is c₁e^(λ₁t)v₁ + … + cₙe^(λₙt)vₙ.
Why does e^(λt)v solve the system?
Its derivative is λe^(λt)v, and A times it is e^(λt)Av. These are equal exactly when Av = λv.
What does the phase portrait show?
The paths that solutions trace in the plane of (x₁, x₂). Straight-line paths run along the eigenvectors, and the eigenvalues decide whether paths approach or leave the origin.
When is the origin stable?
When every eigenvalue has negative real part. Then every solution approaches the origin as t grows.
How do you turn a second-order equation into a system?
Set x₁ = y and x₂ = y′. Then x₁′ = x₂, and the equation gives x₂′ in terms of x₁ and x₂.