Most vectors change direction when a matrix acts on them. A few special directions do not: the matrix only stretches, shrinks or flips them. Those directions are the eigenvectors, and the stretch factors are the eigenvalues. If a matrix has enough eigenvectors to form a basis, then in that basis it is diagonal — every hard question about the matrix (its powers, its long-run behaviour, the differential equation it drives) splits into n independent one-dimensional questions. This post builds the theory with proofs, then uses it on Fibonacci numbers, a Markov chain, a system of differential equations, and the power-iteration algorithm. It relies on the determinant and on change of basis from Linear Algebra 03.
Series map: 00 Vectors & Linear Systems → 01 Matrix Algebra, Inverses & LU → 02 Vector Spaces, Basis & Dimension → 03 Linear Maps, Change of Basis & Determinants → 04 Eigenvalues & Diagonalization (this post) → 05 Inner Products, Spectral Theorem & SVD.
Learning Outcome
Define eigenvalues, eigenvectors and eigenspaces, and describe them geometrically for common maps of the plane.
Find eigenvalues from the characteristic polynomial and eigenvectors from null spaces, for 2×2 and 3×3 matrices.
Distinguish algebraic from geometric multiplicity, and prove that eigenvectors for distinct eigenvalues are independent.
Decide whether a matrix is diagonalizable, and write A=PDP−1 when it is.
Compute Ak and solve difference equations (Fibonacci, Markov chains) by diagonalization.
Handle complex eigenvalues, and use trace = sum and determinant = product of the eigenvalues as checks.
State and use the Cayley–Hamilton theorem; recognise a defective matrix and state the Jordan form.
Solve x′=Ax with eAt=PeDtP−1, and explain how power iteration finds the dominant eigenvalue.
Chapter 1 — Eigenvalues and eigenvectors
Terminology
Eigenvector of a square matrix A (or a linear operator T:V→V) — a nonzero vector v with Av=λv for some scalar λ.
Eigenvalue — a scalar λ for which such a nonzero v exists. "Eigen" is German for "own" or "characteristic".
EigenspaceEλ={v:Av=λv}=N(A−λI) — all eigenvectors for λ, together with 0. It is a subspace.
Spectrum — the set of all eigenvalues of A.
Diagonalizable — similar to a diagonal matrix: A=PDP−1 with D diagonal and P invertible.
The zero vector is excluded as an eigenvector because A0=λ0 holds for every λ and would say nothing. The eigenvalue λ=0, on the other hand, is allowed: Av=0v with v=0 means v is in the null space, so 0 is an eigenvalue exactly when A is singular.
What it means geometrically
Av=λv says: the line through v is mapped into itself. Along that line, A acts as multiplication by the number λ. If λ>1 the line is stretched, 0<λ<1 shrinks it, λ<0 flips it, λ=0 collapses it to the origin.
The maps of the plane from Linear Algebra 03:
Map
Eigenvalues and eigen-directions
Projection onto a line L
1 on L (kept), 0 on the perpendicular line (killed)
Reflection in a line L
1 on L, −1 on the perpendicular line
Rotation by θ, 0<θ<180°
no real eigenvector — every direction turns; complex eigenvalues e±iθ (Chapter 6)
Shear (10k1), k=0
only 1, only along the x-axis — not enough eigenvectors (Chapter 4)
Scaling diag(a,b)
a along e1, b along e2
Running example. Throughout the post,
A=(4213).
Check two directions: A(1,1)=(5,5)=5(1,1) and A(1,−2)=(2,−4)=2(1,−2). So (1,1) is an eigenvector with eigenvalue 5 and (1,−2) is one with eigenvalue 2. A vector off these lines turns: e1=(1,0) goes to (4,2), a turn of about 26.6° counter-clockwise, and e2=(0,1) goes to (1,3), a turn of about 18.4° clockwise.
Chapter 2 — The characteristic polynomial
From a nonlinear problem to a determinant
Av=λv has two unknowns multiplied together (λ and v), so it is not a linear system. Rewrite it as
(A−λI)v=0,v=0.
A nonzero solution exists exactly when A−λI is singular, which by Linear Algebra 03 happens exactly when its determinant is zero. So:
Theorem 1.λ is an eigenvalue of A if and only if det(λI−A)=0.
The function pA(λ)=det(λI−A) is the characteristic polynomial of A. Expanding the determinant with the Leibniz formula shows it is a polynomial of degree n with leading coefficient 1. (Some books use det(A−λI)=(−1)npA(λ); the roots are the same.)
The recipe is therefore two steps: (1) find the roots of pA; (2) for each root λ, find the null space of A−λI by elimination.
Worked example. For the running example, trA=7 and detA=12−2=10:
pA(λ)=λ2−7λ+10=(λ−5)(λ−2).
For λ=5: A−5I=(−121−2), whose null space is spanned by (1,1). For λ=2: A−2I=(2211), null space spanned by (1,−2). This matches Chapter 1.
Trick: After finding a 2×2 matrix A−λI, you do not need to row-reduce. If the first row is (p,q), then (q,−p) (or (−q,p)) is in the null space. The second row must be a multiple of the first — if it is not, λ was computed wrongly.
A 3 × 3 example with a repeated eigenvalue
B=211121112,pB(λ)=λ3−6λ2+9λ−4=(λ−4)(λ−1)2.
(A quick way to see this: B=I+J where J is the all-ones matrix. J has rank 1, so 0 is an eigenvalue of J with a two-dimensional eigenspace, and J(1,1,1)=3(1,1,1). Adding I adds 1 to every eigenvalue.)
λ=4: B−4I has null space spanned by (1,1,1).
λ=1: B−I=J, every row is (1,1,1), so the null space is the plane x+y+z=0, spanned by (−1,1,0) and (−1,0,1).
The eigenvalue 1 is a double root and has a two-dimensional eigenspace. That is the good case, as Chapter 3 explains.
Easy cases and invariance
Triangular matrices:λI−A is triangular, so pA(λ)=∏(λ−aii). The eigenvalues are the diagonal entries.
Similar matrices have the same characteristic polynomial. If B=P−1AP then λI−B=P−1(λI−A)P, so by the product rule det(λI−B)=det(λI−A). So eigenvalues belong to the operator, not to a particular matrix of it (Linear Algebra 03, similarity invariants).
A and AT have the same characteristic polynomial (because detMT=detM), but usually different eigenvectors.
Common pitfall: Row operations change eigenvalues. Row-reducing A first and then reading off the diagonal gives the pivots, not the eigenvalues. Row-reduce A−λI (to find eigenvectors), never A.
Trace and determinant from the eigenvalues
Over C, every polynomial factors completely (fundamental theorem of algebra), so pA(λ)=(λ−λ1)⋯(λ−λn), with eigenvalues repeated by multiplicity.
Theorem 2.trA=λ1+⋯+λn and detA=λ1λ2⋯λn.
Proof. Put λ=0 in det(λI−A)=∏(λ−λi): det(−A)=∏(−λi), that is (−1)ndetA=(−1)n∏λi. For the trace, compare the coefficients of λn−1. On the right it is −∑λi. On the left, in the Leibniz expansion of det(λI−A), any term other than the diagonal product uses at most n−2 diagonal entries, so has degree at most n−2 in λ. The diagonal product ∏(λ−aii) contributes −∑aii=−trA. ∎
Checks: for A, 5+2=7=trA and 5⋅2=10=detA. For B, 4+1+1=6 and 4⋅1⋅1=4=detB.
Chapter 3 — Multiplicities and independence
Two kinds of multiplicity
For an eigenvalue λ0:
Algebraic multiplicity — how many times λ0 is a root of pA (the power of (λ−λ0) in the factorisation).
Geometric multiplicity — dimEλ0=dimN(A−λ0I), the number of independent eigenvectors for λ0.
Proof. The lower bound holds because an eigenvalue has at least one eigenvector. For the upper bound let g=dimEλ0 with basis v1,…,vg, and extend it to a basis v1,…,vn of Rn. With P=(v1⋯vn), the first g columns of P−1AP are λ0e1,…,λ0eg, so
P−1AP=(λ0Ig0XY).
Similar matrices share the characteristic polynomial, and the block triangular determinant rule gives pA(λ)=(λ−λ0)gdet(λI−Y). So (λ−λ0)g divides pA, and the algebraic multiplicity is at least g. ∎
In the example B, the eigenvalue 1 has algebraic multiplicity 2 and geometric multiplicity 2. For the shear (1011), the eigenvalue 1 has algebraic multiplicity 2 but geometric multiplicity 1. That gap is exactly what stops a matrix from being diagonalizable.
Eigenvectors for different eigenvalues are independent
Theorem 4. If v1,…,vk are eigenvectors of A for distinct eigenvalues λ1,…,λk, then v1,…,vk are linearly independent.
Proof. Suppose not. Let m be the smallest index such that vm is a combination of v1,…,vm−1; then v1,…,vm−1 are independent, and m≥2 since v1=0. Write
vm=c1v1+⋯+cm−1vm−1.
Apply A: λmvm=c1λ1v1+⋯+cm−1λm−1vm−1. Subtract λm times the first equation:
0=c1(λ1−λm)v1+⋯+cm−1(λm−1−λm)vm−1.
By independence each ci(λi−λm)=0, and since the eigenvalues are distinct, each ci=0. Then vm=0, which is impossible for an eigenvector. ∎
The same argument shows more: if you take a basis of each eigenspace and put them together, the combined list is still independent. So the sum of the geometric multiplicities is the number of independent eigenvectors the matrix has in total.
Corollary 5. An n×n matrix with n distinct eigenvalues is diagonalizable. (Chapter 4 explains why independence is all that is needed.)
The converse is false: I has only one eigenvalue and is already diagonal; so is B after a change of basis.
Chapter 4 — Diagonalization
The main theorem
Theorem 6. An n×n matrix A is diagonalizable if and only if it has n linearly independent eigenvectors. In that case A=PDP−1, where the columns of P are the eigenvectors and D is the diagonal matrix of the matching eigenvalues, in the same order.
Proof. Write P=(v1⋯vn) and D=diag(λ1,…,λn). Column i of AP is Avi and column i of PD is λivi. So
AP=PD⟺Avi=λivi for every i.
If there are n independent eigenvectors, P is invertible and A=PDP−1. Conversely, if A=PDP−1 then AP=PD, so the columns of P are eigenvectors, and they are independent because P is invertible. ∎
In the language of Linear Algebra 03: D is the matrix of the same operator in the eigenvector basis. Diagonalizing means finding coordinates in which the map acts on each coordinate separately.
Criterion. Combining Theorems 3 and 4: A is diagonalizable over C if and only if, for every eigenvalue, geometric multiplicity = algebraic multiplicity. It is diagonalizable over R if in addition all eigenvalues are real.
Worked example. For the running example,
P=(111−2),D=(5002),P−1=31(211−1),A=PDP−1.
For B, take P=111−110−101; then P−1BP=diag(4,1,1).
Watch out: The order of the columns of P must match the order of the eigenvalues in D. Eigenvectors can be scaled freely (any nonzero multiple is still an eigenvector), so P is never unique — but D is unique up to the order of its entries.
A defective matrix and the Jordan form
C=(3−111),pC(λ)=λ2−4λ+4=(λ−2)2.
C−2I=(1−11−1) has rank 1, so the eigenspace is only the line spanned by (1,−1). Algebraic multiplicity 2, geometric multiplicity 1: there is no eigenvector basis, and C is not diagonalizable. Such a matrix is called defective.
What is the best you can do? Take the eigenvector v1=(1,−1) and solve (C−2I)w=v1; one solution is w=(1,0) (a generalised eigenvector). With P=(v1w)=(1−110),
P−1CP=(2012).
Theorem 7 (Jordan normal form, statement only). Every square complex matrix is similar to a block diagonal matrix whose blocks are Jordan blocks
Jk(λ)=λ1λ⋱⋱1λ(k×k),
and the blocks are unique up to their order. For each eigenvalue, the number of blocks equals its geometric multiplicity and the total size of its blocks equals its algebraic multiplicity. A matrix is diagonalizable exactly when every block is 1×1.
The proof takes a full chapter (Axler, Chapter 8); it is planned for a later post in this series.
Check with k=1: 31(12639)=A. With k=3: 31(258234117141)=(86783947), which is A3 computed directly. For large k the 5k terms dominate, so Ak≈35k(2211): every starting vector gets pulled towards the direction (1,1).
Difference equations
A linear difference equation (discrete dynamical system) is uk+1=Auk, so uk=Aku0. Expand the start in eigenvectors, u0=c1v1+⋯+cnvn (that is, c=P−1u0). Each piece evolves on its own:
uk=c1λ1kv1+c2λ2kv2+⋯+cnλnkvn.
So the long-run behaviour is read from the eigenvalues: if every ∣λi∣<1 then uk→0; if some ∣λi∣>1 (with ci=0) the solution blows up; the eigenvalue of largest modulus decides the dominant direction.
Worked example — Fibonacci numbers
F0=0, F1=1, Fk+1=Fk+Fk−1. Put uk=(Fk+1,Fk). Then
uk+1=(1110)uk,u0=(10).
The matrix F=(1110) has trace 1 and determinant −1, so pF(λ)=λ2−λ−1 with roots
φ=21+5≈1.618034,ψ=21−5≈−0.618034.
For either root, v=(λ,1) is an eigenvector: F(λ,1)=(λ+1,λ)=(λ2,λ) because λ2=λ+1. Since φ−ψ=5, the start splits as u0=51((φ,1)−(ψ,1)). Hence uk=51(φk(φ,1)−ψk(ψ,1)), and the second component is Binet's formula:
Fk=5φk−ψk.
Because ∣ψ∣<1, the ψk term dies away: Fk is the integer nearest to φk/5. For k=20, φ20/5≈6765.00003, and F20=6765. The ratio Fk+1/Fk→φ. As a check on the matrix form, F10=(89555534)=(F11F10F10F9).
Worked example — a Markov chain
A town's weather is either sunny or rainy. If today is sunny, tomorrow is sunny with probability 0.9; if today is rainy, tomorrow is sunny with probability 0.5. With xk=(Pr[sunny on day k],Pr[rainy on day k]),
xk+1=Mxk,M=(0.90.10.50.5).
Each column of M sums to 1 (a column-stochastic or Markov matrix). Trace 1.4, determinant 0.45−0.05=0.4, so pM(λ)=λ2−1.4λ+0.4=(λ−1)(λ−0.4).
λ=1: eigenvector (5,1). Scaled so the entries sum to 1: the steady states=(5/6,1/6).
λ=0.4: eigenvector (−1,1).
Start on a rainy day, x0=(0,1)=61(5,1)+65(−1,1). Then
xk=(5/61/6)+(0.4)k(−5/65/6).
Check: x1=(0.5,0.5), x2=(0.7,0.3), x3=(0.78,0.22), each equal to M times the previous one. After ten days the gap to the steady state is (0.4)10⋅65≈0.0000874; x10≈(0.83325,0.16675). The rate of convergence is set by the second eigenvalue, 0.4.
Why 1 is always an eigenvalue of a Markov matrix: the columns of M sum to 1 means MT(1,…,1)=(1,…,1), so 1 is an eigenvalue of MT, hence of M (same characteristic polynomial). For a Markov matrix with all entries positive, Perron's theorem adds that the eigenvalue 1 is simple and every other eigenvalue has ∣λ∣<1, so every starting distribution converges to the same steady state.
Chapter 6 — Complex eigenvalues
A real matrix can have a characteristic polynomial with no real roots. Rotation by 90°, (01−10), has p(λ)=λ2+1, so λ=±i — no real direction is kept, which is what a rotation should do. Working over C restores the theory: every n×n matrix has n complex eigenvalues counted with multiplicity.
For a real matrix, non-real eigenvalues come in conjugate pairs: if Av=λv then conjugating gives Avˉ=λˉvˉ.
The roots are λ=1±i. For λ=1+i: R−(1+i)I=(−i1−1−i), and by the 2×2 trick v=(i,1). Check: Rv=(i−1,i+1) and (1+i)(i,1)=(i+i2,1+i)=(i−1,1+i). The other eigenpair is 1−i with vˉ=(−i,1).
Read the geometry from the polar form 1+i=2eiπ/4: the modulus ∣λ∣=2 is the scaling and the argument 45° is the rotation angle. Each application of R turns the plane by 45° and scales by 2, so iterates spiral outwards; after 8 steps, R8=(2)8I=16I. In general a real 2×2 matrix with eigenvalues a±bi (b=0) is similar over R to (ab−ba), a rotation combined with a scaling by a2+b2.
Theorem 2 still holds with complex eigenvalues: (1+i)+(1−i)=2=trR and (1+i)(1−i)=2=detR.
Chapter 7 — The Cayley–Hamilton theorem
Theorem 8 (Cayley–Hamilton). Every square matrix satisfies its own characteristic polynomial: if pA(λ)=λn+cn−1λn−1+⋯+c0, then
pA(A)=An+cn−1An−1+⋯+c1A+c0I=0.
Proof for diagonalizable A. For a polynomial q, q(PDP−1)=Pq(D)P−1 (apply the power rule term by term), and q(D)=diag(q(λ1),…,q(λn)). With q=pA every diagonal entry is pA(λi)=0. ∎ The general case follows from the Jordan form, or from a density argument (diagonalizable matrices are dense among complex matrices, and pA(A) depends continuously on A); see Axler, Chapter 8, or Hoffman and Kunze, Chapter 6.
Common pitfall: The "proof" pA(A)=det(AI−A)=det(0)=0 is wrong. pA(A) is a matrix, obtained by substituting A into a polynomial; det(AI−A) is a number. The substitution is not allowed inside the determinant.
Worked example. For A=(4213), pA(λ)=λ2−7λ+10. Indeed
Inverse without elimination. Rearrange: A(7I−A)=10I, so A−1=101(7I−A)=101(3−2−14).
Reducing powers.A2=7A−10I, so every power of A is a combination of I and A. For an n×n matrix, every power is a combination of I,A,…,An−1.
For B from Chapter 2, pB(B)=B3−6B2+9B−4I=0. In fact the smaller polynomial (λ−4)(λ−1) already kills B: B2−5B+4I=0. The lowest-degree monic polynomial with q(A)=0 is the minimal polynomial; a matrix is diagonalizable exactly when its minimal polynomial has no repeated roots.
Chapter 8 — Systems of differential equations
The matrix exponential
A linear system of ordinary differential equations with constant coefficients is
x′(t)=Ax(t),x(0)=x0,
with x(t)∈Rn. In one dimension the answer is x(t)=eatx0. The same works for matrices with the matrix exponential
eAt=I+At+2!(At)2+3!(At)3+⋯,
which converges for every square A and satisfies dtdeAt=AeAt. The solution is x(t)=eAtx0, and it is unique.
If A=PDP−1, the power rule applies to each term, so
eAt=PeDtP−1,eDt=diag(eλ1t,…,eλnt).
Equivalently, writing x0=∑civi:
x(t)=c1eλ1tv1+⋯+cneλntvn.
This is the continuous twin of the difference-equation formula, with λk replaced by eλt. The system is stable (x(t)→0 for every start) exactly when every eigenvalue has negative real part.
Watch out:eA+B=eAeB only when AB=BA. And eAt is not the matrix of entry-wise exponentials eaijt.
Reading the answer: the difference x1−x2 (the (1,−1) mode) dies fast, like e−3t; the total x1+x2 (the (1,1) mode) dies slowly, like e−t. Both eigenvalues are negative, so the system is stable. Differentiating confirms x′=Ax and x(0)=(1,0).
For a defective matrix the Jordan block gives extra polynomial factors: for C from Chapter 4, eCt contains terms te2t as well as e2t. A second-order equation y′′+ay′+by=0 becomes a first-order system with x=(y,y′); Exercise 6 does one.
Chapter 9 — Power iteration
Characteristic polynomials are for hand calculation only. Their roots are extremely sensitive to rounding in the coefficients (Wilkinson's famous example has roots 1,2,…,20, and a change of about 2−23 in one coefficient turns several of them complex), so numerical software never computes eigenvalues that way. The simplest numerical method is power iteration:
Start with a vector x0 (random, or anything not orthogonal to the target).
Repeat: y=Axk, then xk+1=y/∥y∥ (normalise, to avoid overflow).
Why it works. Suppose A is diagonalizable with ∣λ1∣>∣λ2∣≥…, and x0=∑civi with c1=0. Then
Akx0=λ1k(c1v1+c2(λ1λ2)kv2+…),
and every term except the first shrinks like ∣λ2/λ1∣k. The direction converges to v1, and the scale factor converges to λ1.
Worked example. For A=(4213), start at x0=(1,0) and normalise so the largest entry is 1:
k
y=Axk−1
xk
scale (largest entry of y)
1
(4,2)
(1,0.5)
4
2
(4.5,3.5)
(1,0.7778)
4.5
3
(4.7778,4.3333)
(1,0.9070)
4.7778
4
(4.9070,4.7209)
(1,0.9621)
4.9070
5
(4.9621,4.8863)
(1,0.9847)
4.9621
The direction approaches (1,1) and the scale approaches 5. The gap 1−(second entry) goes 0.5,0.222,0.093,0.038,0.015: each step multiplies it by roughly 0.4=λ2/λ1=2/5, as predicted.
Variations: inverse iteration (power iteration on (A−σI)−1) finds the eigenvalue closest to a shift σ. Production libraries (LAPACK, behind numpy.linalg.eig) use the QR algorithm, which is in effect power iteration on a whole basis at once, kept orthonormal. Google's original PageRank is power iteration on a huge Markov matrix.
Trick: When power iteration converges slowly, the ratio ∣λ2/λ1∣ is close to 1. That ratio, not the size of the matrix, controls the number of iterations.
Practice Exercises
1. Find the eigenvalues and eigenvectors of (1221), diagonalize it, and compute its fifth power.
Solution
Trace 2, determinant −3: λ2−2λ−3=(λ−3)(λ+1). Eigenvectors (1,1) for 3 and (1,−1) for −1. With P=(111−1) and D=diag(3,−1), A5=PD5P−1=21(35+(−1)535−(−1)535−(−1)535+(−1)5)=(121122122121).
2. Is T=200320157 diagonalizable?
Solution
It is triangular, so the eigenvalues are 2,2,7. For λ=2, T−2I=000300155 has rank 2, so the eigenspace has dimension 3−2=1 (spanned by (1,0,0)). Algebraic multiplicity 2, geometric 1: not diagonalizable.
3. Prove that if Av=λv then Akv=λkv for all k≥1, and, when A is invertible, A−1v=λ−1v. Why is λ=0 in the second case?
Solution
By induction: Ak+1v=A(λkv)=λkAv=λk+1v. If A is invertible, 0 is not an eigenvalue (it would give a nonzero vector in the null space), so λ=0. Apply A−1 to Av=λv: v=λA−1v, so A−1v=λ−1v.
4. Use Cayley–Hamilton to write A3 as a combination of A and I for A=(4213), and check against the formula for Ak.
Solution
A2=7A−10I, so A3=7A2−10A=7(7A−10I)−10A=39A−70I=(156−707839117−70)=(86783947), the same as in Chapter 5.
5. In the weather chain, start on a sunny day, x0=(1,0). Find xk in closed form and x2.
Solution
(1,0)=61(5,1)−61(−1,1), so xk=(5/6,1/6)+(0.4)k(1/6,−1/6). For k=2: (5/6+0.16/6,1/6−0.16/6)=(0.86,0.14). Directly: Mx0=(0.9,0.1) and M(0.9,0.1)=(0.81+0.05,0.09+0.05)=(0.86,0.14).
6. Solve y′′+3y′+2y=0 with y(0)=1, y′(0)=0 by writing it as x′=Ax with x=(y,y′).
Solution
A=(0−21−3), trace −3, determinant 2: λ2+3λ+2=(λ+1)(λ+2). Eigenvectors (1,−1) for −1 and (1,−2) for −2. Solve c1(1,−1)+c2(1,−2)=(1,0): c1=2, c2=−1. So y(t)=2e−t−e−2t. Check: y(0)=1, y′(0)=−2+2=0.
7. Explain why power iteration started at x0=(1,−2) fails for A=(4213), and why this almost never happens in practice.
Solution
(1,−2) is the eigenvector for λ2=2, so c1=0 and every iterate stays on that line: the method returns λ=2, not the dominant 5. With a random start, c1=0 has probability zero, and in floating point rounding errors introduce a small v1 component that then grows.
Cheat-sheet
Idea
Formula or fact
Eigenpair
Av=λv, v=0; Eλ=N(A−λI)
Characteristic polynomial
pA(λ)=det(λI−A), degree n
2×2
λ2−(trA)λ+detA
Triangular
eigenvalues = diagonal entries
Checks
∑λi=trA, ∏λi=detA
Multiplicities
1≤ geometric ≤ algebraic
Distinct eigenvalues
eigenvectors independent; n distinct means diagonalizable
Diagonalize
A=PDP−1, columns of P = eigenvectors
Powers
Ak=PDkP−1
Difference equation
uk=∑ciλikvi, decays if all ∣λi∣<1
ODE system
x(t)=∑cieλitvi, stable if all real parts <0
Matrix exponential
eAt=PeDtP−1
Complex pair a±bi
rotation by the argument, scaling by a2+b2
Cayley–Hamilton
pA(A)=0
Defective
geometric < algebraic; Jordan blocks needed
Power iteration
converges to v1 at rate ∣λ2/λ1∣
What's next
Two of this post's matrices, (2112) and (−211−2), had perpendicular eigenvectors. That is not luck: they are symmetric. Linear Algebra 05 adds lengths and angles (inner products), proves the spectral theorem — every real symmetric matrix can be diagonalized by an orthogonal change of basis — and then extends the idea to every matrix, square or not, with the singular value decomposition. Along the way: Gram–Schmidt, QR, least squares, positive definite matrices, low-rank approximation and PCA.
References
Sheldon Axler, Linear Algebra Done Right, 4th ed., Springer (2024) — Chapter 5 (eigenvalues, invariant subspaces, diagonalizable operators) and Chapter 8 (generalised eigenvectors, Cayley–Hamilton, Jordan form). Open access at linear.axler.net.
Gilbert Strang, Introduction to Linear Algebra, 6th ed., Wellesley-Cambridge Press (2023) — chapters on eigenvalues and eigenvectors, diagonalizing a matrix (Fibonacci, Markov matrices) and systems of differential equations.
Kenneth Hoffman, Ray Kunze, Linear Algebra, 2nd ed., Prentice-Hall (1971) — Chapter 6 (characteristic values, Cayley–Hamilton) and Chapter 7 (rational and Jordan forms).
Lloyd N. Trefethen, David Bau III, Numerical Linear Algebra, SIAM (1997) — Lectures 24–28 on eigenvalue problems, power iteration, inverse iteration and the QR algorithm.
James H. Wilkinson, Rounding Errors in Algebraic Processes, Prentice-Hall (1963) — the source of the "Wilkinson polynomial" example on the ill-conditioning of polynomial roots.
Note: this post is in progress. Planned additions: a full proof of Cayley–Hamilton for all matrices, a worked 3×3 Jordan-form example with eAt, phase portraits (node, saddle, spiral, centre) for 2×2 systems, and Gershgorin's circle theorem for locating eigenvalues without computing them.