Put n independent eigenvectors of A into the columns of S. Then AS = SΛ, where Λ is the diagonal matrix of eigenvalues, so S⁻¹AS = Λ and A = SΛS⁻¹: a new factorisation beside LU and QR. Powers become easy: A² = SΛ²S⁻¹ and Aᵏ = SΛᵏS⁻¹, the same eigenvectors with the eigenvalues raised to the k-th power. So Aᵏ → 0 exactly when every eigenvalue has |λ| < 1. A matrix is sure to be diagonalisable when its n eigenvalues are all different; with a repeated eigenvalue it may be (the identity) or may not be ((2 1; 0 2), whose eigenvalue 2 has algebraic multiplicity 2 but only one eigenvector). The difference equation u_(k+1) = Auₖ is solved by uₖ = Aᵏu₀: write u₀ = c₁x₁ + ⋯ + cₙxₙ, and each piece is multiplied by its own λ at every step. Fibonacci's rule, made into a first-order system with uₖ = (F_(k+1), Fₖ) and A = (1 1; 1 0), has eigenvalues (1 ± √5)/2 ≈ 1.618 and −0.618: the numbers grow by about 1.618 per step, and F₁₀₀ ≈ c₁(1.618)¹⁰⁰.
Suppose A has nlinearly independenteigenvectorsx1,…,xn, and put them in the columns of the eigenvectormatrixS (pp. 1–2). Multiply column by column: A times column i is Axi=λixi (p. 2). To pull the numbers λi out of the columns, multiply S on the right by a diagonalmatrix (pp. 2–3):
capital A S equals capital A x one and so on x sub n equals lambda one x one and so on lambda n x sub n equals S capital lambda, capital lambda equals lambda one; and so on down the diagonal; lambda n
This is the new factorisation of the chapter, beside A=LU from elimination and A=QR from Gram–Schmidt (p. 5). To keep the order straight: "A multiplies its eigenvectors", so A stands next to S in AS (p. 4). A few matrices do not have n independent eigenvectors, and for them none of this works (p. 4).
If Ax=λx, multiply by A again: A2x=λAx=λ2x (pp. 5–6). The same follows from the factorisation, with S−1S=I cancelling in the middle (p. 6):
The square
A2=SΛS−1SΛS−1=SΛ2S−1
In words
capital A squared equals S capital lambda S to the power minus 1 S capital lambda S to the power minus 1 equals S capital lambda squared S to the power minus 1
Pivots tell nothing about A100: a hundred factors LU cannot be simplified. Eigenvalues tell everything (p. 7). For example, when do the powers go to zero, the case Strang calls stable? S and S−1 do not change, so Λk must go to zero (pp. 7–8):
Powers going to zero
Ak→0as k→∞if all ∣λi∣<1
In words
capital A to the power k goes to 0 as k goes to infinity if all the absolute value of lambda i less than 1
capital A equals 2 1; 0 2, the determinant of the quantity capital A minus lambda capital I, equals the quantity 2 minus lambda, all squared, lambda equals 2, 2
A−2I has zeros except the 1 in the corner, and its nullspace is only the line through (1,0); (0,1) is not in it (p. 12). Strang names the two counts (p. 12):
Strang calls this a first-order system: first order because it goes up one step at a time, a system because u is a vector (p. 14). The formula u100=A100u0 is compact, but to really compute it, write u0 as a combination of eigenvectors (p. 14). Each piece then goes "its own merry way" (pp. 14–15):
Solution by eigenvectors
u0=c1x1+⋯+cnxn⇒Aku0=c1λ1kx1+⋯+cnλnkxn
In words
u nought equals c one x one plus and so on plus c sub n x sub n which gives capital A to the power k u nought equals c one lambda one to the power k x one plus and so on plus c sub n lambda n to the power k x sub n
The Fibonacci numbers start F0=0, F1=1, and each is the sum of the two before: 0,1,1,2,3,5,8,13,21,34,… (pp. 16–17, 22). How fast do they grow, and what is F100 (p. 17)? The rule Fk+2=Fk+1+Fk is a single second-order equation. The trick is to make it a first-order system by adding the equation Fk+1=Fk+1 (pp. 17–18):
Fibonacci as a system
uk=(Fk+1Fk),uk+1=(1110)uk
In words
u sub k equals F sub k plus 1; F sub k, u sub k plus 1 equals 1 1; 1 0 u sub k
lambda squared minus lambda minus 1 equals 0, lambda one equals the quantity 1 plus the square root of 5, all over 2 is approximately 1.618, lambda two equals the quantity 1 minus the square root of 5, all over 2 is approximately minus 0.618
The eigenvalues are different, so A is diagonalisable (p. 22). The large one controls the growth: the Fibonacci numbers increase by about 1.618 at every step, and F100≈c1λ1100 (p. 22). The other term, about (−0.618)100, is practically nothing (p. 23). For a 2×2matrix the eigenvectors can be spotted: (λ,1) makes the second row of A−λI zero, and the first row gives −λ2+λ+1=0, true for these λ (pp. 23–24). So x1=(λ1,1) and x2=(λ2,1), and u0=(F1,F0)=(1,0) (p. 24).
Strang runs out of time before finding c1 and c2 (p. 24). (Finishing it, as the page's own step: (1,0)=(x1−x2)/(λ1−λ2), so c1=1/5, and Fk=(λ1k−λ2k)/5. That gives F100≈3.54×1020.) The idea is what matters: for anything evolving in time by a first-order system, the eigenvalues say whether it blows up or dies out, and expanding u0 in eigenvectors gives the exact answer (pp. 24–25).
Worked example
A hundred steps without a hundred multiplications
Let A=(4213) and u0=(3,0). DiagonaliseA, find a formula for uk=Aku0, and check it for k=1 and k=2.
Eigenvalues and eigenvectors
Trace7, determinant12−2=10: λ2−7λ+10=(λ−5)(λ−2), so λ1=5, λ2=2. A−5I=(−121−2) gives x1=(1,1); A−2I=(2211) gives x2=(1,−2). So S=(111−2) and Λ=(5002).
Expand the start
c1(1,1)+c2(1,−2)=(3,0): c1+c2=3 and c1−2c2=0, so c2=1 and c1=2. Henceuk=2⋅5k(1,1)+2k(1,−2).
Check
k=1: (10+2,10−4)=(12,6), and directly Au0=(12,6). k=2: (50+4,50−8)=(54,42), and A(12,6)=(48+6,24+18)=(54,42). For large k the 5k term takes over: uk turns towards the direction (1,1) and grows about five times per step.
The square matrix being diagonalised; in the examples, the triangular matrix with rows (2, 1), (0, 2), the Fibonacci matrix with rows (1, 1), (1, 0), and the worked example's matrix with rows (4, 1), (2, 3). Say it: “capital A”.
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.
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.
Of a square matrix or operator: having an inverse that undoes it; for a matrix this happens exactly when its determinant is not zero. Explained in The geometry of linear equations.
A step-by-step method that turns independent vectors into perpendicular unit vectors that span the same space. Explained in Orthogonal matrices and Gram–Schmidt.
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.
A square matrix with only zeros below its diagonal (upper triangular) or only zeros above it (lower triangular). Explained in Elimination with matrices.
The simplest matrix similar to a given one: Jordan blocks along the diagonal, one block for each independent eigenvector. Explained in Similar matrices and the Jordan form.
Unchanged by some swap, reflection or turn; for an expression in two quantities, unchanged when they are exchanged. Explained in Introduction to Fourier series.
At right angles; more generally, of two vectors or functions, having a dot product, or an integral of their product, of zero. Explained in Introduction to Fourier series.
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.
For this reason; as a result of what was just said.
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).