A system du/dt = Au with constant coefficients is solved by exponentials: each eigenvalue λ with eigenvector x gives a pure solution e^(λt)x, and u(t) = c₁e^(λ₁t)x₁ + ⋯ + cₙe^(λₙt)xₙ, with the c's fixed by u(0) = Sc. This is the parallel of last lecture's λᵏ for powers. In Strang's example A = (−1 2; 1 −2), u(0) = (1, 0): the eigenvalues are 0 and −3, the solution is ⅓(2, 1) + ⅓e^(−3t)(1, −1), and it settles to the steady state (⅔, ⅓). Stability (u → 0) needs every eigenvalue to have negative real part, since |e^(6it)| = 1; a steady state needs one eigenvalue 0 and the rest with negative real parts; a positive real part blows up. For 2 × 2 the test is trace < 0 and determinant > 0. Setting u = Sv uncouples the equations into dvᵢ/dt = λᵢvᵢ, which gives u(t) = Se^(Λt)S⁻¹u(0) = e^(At)u(0). The matrix exponential is the series I + At + (At)²/2! + ⋯, which always converges; e^(Λt) is diagonal with entries e^(λᵢt). Stability for powers means |λ| < 1, for exponentials Re λ < 0. A second-order equation y″ + by′ + ky = 0 becomes a 2 × 2 system with u = (y′, y).
Because of the u1 term, du2/dt is positive at first: the flow moves out of u1 into u2 (p. 1). First job, before anything else: the eigenvalues and eigenvectors of A (pp. 1–2).
the determinant of the quantity capital A minus lambda capital I, equals lambda squared plus 3 lambda equals lambda the quantity lambda plus 3, lambda one equals 0, lambda two equals minus 3
The eigenvalues already say a lot (p. 3). The answer will have an e−3t part, which becomes very small, and an e0t=1 part, which does not move: a steady state, which comes from the zero eigenvalue. The eigenvectors are x1=(2,1), in the nullspace of A, and x2=(1,−1), in the nullspace of A+3I (pp. 4–5).
To check u=eλ1tx1: the time derivative brings down λ1, so the left side is λ1eλ1tx1, and the right side is Aeλ1tx1=eλ1tλ1x1 because Ax1=λ1x1 (p. 6). These pure exponentials are the analogue of last lecture's pure powers c1λ1kx1+c2λ2kx2 for uk+1=Auk (pp. 6–7).
The constants come from the initial condition. At t=0: c1(2,1)+c2(1,−1)=(1,0). With both c's equal to 1 the sum is (3,0), so c1=c2=31 (pp. 7–8). As t→∞ the second part disappears (p. 8):
Steady state
u(∞)=31(21)=(2/31/3)
In words
u( infinity ) equals one third 2; 1 equals 2 over 3; 1 over 3
The equations for c are Sc=u(0), with the eigenvectormatrixS (pp. 13–14; Strang comes back to this after the stability test below). Get each pure exponential's amount right at the start, and each goes its own way for ever (p. 14).
the absolute value of e to the power the quantity minus 3 plus 6 i, t, end of power, equals e to the power minus 3 t the absolute value of e to the power 6 i t equals e to the power minus 3 t, e to the power 6 i t equals cos 6 t plus i sine 6 t
e6it runs around the unit circle, with cos2+sin2=1; the imaginary part only makes the solution oscillate, and the real part decides (p. 10). So (pp. 9–10):
Changing A to −A reverses every eigenvalue: the example would get e+3t and blow up, while the zero eigenvalue stays zero (p. 11).
The 2×2 test (pp. 11–13). For A=(acbd), stability means both eigenvalues have negative real parts. Their sum is the tracea+d, so the trace must be negative (complex eigenvalues come as ± the same imaginary part, which cancels) (pp. 11–12). That is not enough: (−2001) has trace−1 but eigenvalue+1, and blows up (p. 12). The second condition is on the determinant, the product of the eigenvalues, which is positive when both are negative (p. 13):
Two by two stability
trace=λ1+λ2<0anddetA=λ1λ2>0
In words
t r a c e equals lambda one plus lambda two less than 0 and the determinant of capital A equals lambda one lambda two greater than 0
What does e to a matrix mean (p. 16)? The power series for ex works for matrices too, with I for 1 and At for x (pp. 16–17):
Exponential series
eAt=I+At+2(At)2+6(At)3+⋯+n!(At)n+⋯
In words
e to the power capital A t equals capital I plus capital A t plus ( capital A t) squared over 2 plus ( capital A t) cubed over 6 plus and so on plus ( capital A t) to the power n over the quantity n factorial, plus and so on
the quantity capital I minus capital A t, all to the power minus 1 equals capital I plus capital A t plus ( capital A t) squared plus ( capital A t) cubed plus and so on
For small t, (I−At)−1≈I+At (p. 17). The exponential series is the better one: the factorials make its terms go to zero for anyA and t, so it always converges. The geometric seriesconverges only when all eigenvalues of At are below 1 in size (p. 18).
To connect the series with S and Λ, write A=SΛS−1, so A2=SΛ2S−1 and so on, and write I=SS−1 (pp. 19–20):
Exponential by diagonalisation
eAt=S(I+Λt+2(Λt)2+⋯)S−1=SeΛtS−1
In words
e to the power capital A t equals S the quantity capital I plus capital lambda t plus ( capital lambda t) squared over 2 plus and so on, S to the power minus 1 equals S e to the power capital lambda t S to the power minus 1
So eAt→0 exactly when every Reλ<0 (pp. 21–22). In the complex plane the two stability regions differ (p. 22): for differential equations, the left half-planeReλ<0; for powers Ak, the unit disc∣λ∣<1.
The first row is the equation, the second row the trivial one (p. 23). (Strang says "a single first order equation" at this point; he means the second-order one.) A fifth-order equation becomes a 5×5 system in the same way: its coefficients (with minus signs, like −b and −k) in the top row and four trivial equations giving ones just below the diagonal, the other entries zero (p. 23). The eigenvalues of such a matrix come out naturally connected to the differential equation (pp. 23–24).
Worked example
A flow of your own
(a) Solve du/dt=Au with A=(−113−3) and u(0)=(0,4), and find the steady state. (b) Without finding eigenvalues, decide whether B=(−2−311) and C=(−4211) are stable.
(a) Eigenvalues and eigenvectors
A is singular (column 2 is −3 times column 1), and the trace is −4: λ1=0, λ2=−4. The nullspace of A holds x1=(3,1); A+4I=(3131) gives x2=(1,−1).
(a) Constants and solution
c1(3,1)+c2(1,−1)=(0,4): 3c1+c2=0 and c1−c2=4, so c1=1, c2=−3. Then u(t)=(3,1)−3e−4t(1,−1)=(3−3e−4t,1+3e−4t). At t=0 this is (0,4). The total u1+u2=4 never changes (each column of A adds to zero), and u→(3,1).
The constant matrix of the system; in Strang's example, the matrix with rows (−1, 2), (1, −2); in the worked example, rows (−1, 3), (1, −3). Say it: “capital A”.
A differential equation with only the first derivative, in which the unknown and its derivative appear only to the first power, never multiplied together. Explained in First-order linear equations and integrating factors.
A rectangular table of numbers, which acts on vectors to give new ones and so describes a linear change of coordinates. Explained in Planes through three points, and matrices.
Of a square matrix: having no inverse, because its determinant is zero and some nonzero vector is sent to zero. Explained in The geometry of linear equations.
The polynomial whose roots are the eigenvalues of a matrix, found as the determinant of the matrix minus λ times the identity. Explained in Diagonalisation and powers of A.
A condition that no longer changes with time, or for a driven system the lasting motion left once start-up effects die away. Explained in Driven oscillators and resonance.
The whole family of solutions of a differential equation, written with free constants that starting values or boundary conditions then fix. Explained in Differential equations and separation of variables.
The state of a system at the starting time, such as its position and speed, which picks out one solution of its equation. Explained in Introduction to first-order systems.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.
In a square matrix, the entries running from the top left corner to the bottom right; a diagonal matrix has zeros everywhere else. Explained in The four fundamental subspaces.
A series in powers of a variable, a₀ + a₁x + a₂x² + …, which behaves like a polynomial with infinitely many terms. Explained in Non-degenerate perturbation theory.
A power series built from a function's derivatives at one point; its first few terms, a Taylor polynomial, approximate the function near that point. Explained in Stacking blocks and Taylor series.
To settle towards a definite finite value: an integral, series or sequence converges when its partial results approach a limit. Explained in Improper integrals.
To rewrite a matrix in a basis of its eigenvectors, where it becomes diagonal, with its eigenvalues down the diagonal. Explained in Diagonalisation and powers of A.
A square matrix with only zeros below its diagonal (upper triangular) or only zeros above it (lower triangular). Explained in Elimination with matrices.
A list of numbers written as a column, or more generally anything that can be added and multiplied by numbers. Explained in Orthogonal vectors and subspaces.
So simple or obvious that it needs no argument; in maths, also the obvious zero solution.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).