Some directions are only stretched by a linear map, never turned. Finding them (the eigenvectors) turns a hard-looking map into a list of stretch factors, and turns "apply it 100 times" into powers of ordinary numbers.
Taught in 375/376Apostol, not taughtBeyond the courseApostol 4.1 to 4.10Spagnolie, Lectures 16 to 18MATH 375 HW9 and HW10
In 2.5 a matrix moved the whole plane: most directions got turned and stretched at the same time, which is hard to read. But a few directions are special. The map sends them along their own line and only stretches, shrinks or flips them. Those directions are the eigenvectors (“eigen” is German for “own”). This chapter finds them, shows when they are enough to rebuild the whole map, and uses them to compute A100 in one line.
Before you start
You need four earlier ideas: the null space of a linear map, linear independence, the matrix of a map with change of basis and similar matrices (2.5), and the determinant (2.7). Three quick checks:
Quick checkA linear map T sends a non-zero vector x to O. Which statement is true?
The null space is exactly the set of vectors sent to O. Because a non-zero vector is sent to O, T is not one-to-one.Review: the null space
Quick checkAre (1,2) and (3,6) linearly independent in R2?
(3,6)=3(1,2), so 3(1,2)−1(3,6)=O is a combination equal to zero with coefficients that are not all zero.Review: linear independence
Quick checkA square matrix has determinant 0. Which statement is true?
A square matrix is invertible exactly when its determinant is not zero. A zero determinant means the columns are dependent and some non-zero vector is sent to O.Review: the determinant
The picture
This is the map with matrix A=[3012]. Its first column (3,0) is where ^ lands and its second column (1,2) is where ^ lands. Press “Apply the map”. The two dashed orange lines are the special directions. Every point on the horizontal line moves along that line to three times its distance from the origin. Every point on the other line, the one through (1,−1), moves along that line to twice its distance. A point anywhere else leaves the line it started on.
Try the presets. “Stretch” has two dashed lines (the axes). “Shear” has exactly one. “Rotate 90°” has none, because a quarter turn sends every direction to a different direction. Those three behaviours (two special lines, one, none) are the whole story of this chapter. Counting the special lines is how we decide whether a map can be understood by stretching alone.
Where this came from· From spinning bodies to the word 'eigen'
Eigenvectors first appeared in mechanics, before matrix theory existed. By the 1760s Euler had shown that every rigid body has three perpendicular axes (its principal axes) about which it can spin steadily. Lagrange later recognised those axes as the eigenvectors of the body’s inertia matrix. He and Laplace met the same kind of equation for the small vibrations of coupled systems and for the slow drifts of the planets’ orbits. Changes that build up over centuries are called “secular”, so the equation was long known as the secular equation. In 1829 Cauchy proved that for a symmetric array of numbers all the roots of that equation are real, and he introduced the name “characteristic root”, which survives in “characteristic equation”. The word “eigen” came last: in 1904 Hilbert became the first to use the German “eigen” (own) for the special values in his work on integral equations.
The idea, in words
Let T be a linear map from a space to itself. We ask for vectors x that T does not turn: T(x) lies on the same line as x, so T(x)=λx for some number λ. If we find n independent such vectors in an n-dimensional space, they form a basis. In that basis every vector is a combination of directions that T merely stretches, so the matrix of T is diagonal. The hard map has become a list of n stretch factors.
Why· Why this is worth the trouble
Applying the same map again and again is what recurrences, population models, Markov chains and differential equations all do. If T(x)=3x then T(T(x))=9x and T100(x)=3100x. No matrix is multiplied 100 times. So if a basis of such vectors exists, every vector is a sum of pieces, and each piece is multiplied by a power of its own number. Spagnolie opens Lecture 16 with exactly this: “A x = b” and “A x = λ x” are the two most important equations of linear algebra, and the second one controls repeated application.
Definitions and theorems
Eigenvectors and eigenvalues
Definition T
Eigenvector
Let T:V→V be a linear map from a vector space to itself. (The input and output space must be the same, otherwise “stays on its own line” has no meaning.) A scalar is an ordinary number, real unless we say complex. A vector x in V is an eigenvector of T if
x=OandT(x)=λxfor some scalar λ.
For a square matrix A this reads Ax=λx.
In one lineA non-zero vector x that a map T from a space to itself only stretches: T(x)=λx for some scalar λ.
Why it existsIt is a direction on which the map is as plain as it can be: multiplication by a number.
Definition T
Eigenvalue
A scalar λ is an eigenvalue of T if there is an eigenvector x with T(x)=λx. We say xbelongs toλ. A negative λ flips the direction. λ=0 means the vector is sent to O. λ=1 means the vector does not move.
In one lineThe scalar λ in T(x)=λx: the stretch factor along an eigenvector.
Why it existsThe eigenvalues are the numbers that describe the map once the directions are chosen well.
The condition x=O is not a technicality. Since T(O)=O=λO for every λ, the zero vector would satisfy the equation for all λ and every number would be an “eigenvalue”. Excluding O is what makes the question meaningful. The eigenvalue itself may be 0, and that happens exactly when the map destroys something: T(x)=0x=O for a non-zero x means x is a non-zero vector in the null space.
Worked example Spagnolie Lecture 16, new numbers
Is (1, -1) an eigenvector of the matrix with rows (3, 1) and (0, 2)? Is (1, 1)?
Solution.
Apply the matrix to the vector.A[1−1]=[3⋅1+1⋅(−1)0⋅1+2⋅(−1)]=[2−2]. An eigenvector test is: apply the map and see whether the output lies on the input’s line.
Compare output with input.(2,−2)=2(1,−1). This is Ax=λx with λ=2, and (1,−1)=O, so both conditions of the definition hold.
Repeat for (1,1).A[11]=[42]. If this were c(1,1), the first coordinate would force c=4 and the second c=2. One single number c must work for every coordinate at once.
Answer.(1,−1) is an eigenvector with eigenvalue 2. (1,1) is not an eigenvector.
Three more examples, each checked by multiplying.
The swap matrix [0110] (Spagnolie’s Lecture 16) sends (x,y) to (y,x), a mirror in the line y=x. Then (1,1) is fixed, so λ=1, and (−1,1)↦(1,−1)=−1⋅(−1,1), so λ=−1.
Differentiation D(f)=f′ on the infinitely differentiable functions (so that f′ is again in the space): D(eλt)=λeλt. So every real number λ is an eigenvalue, and eλt is an eigenfunction (an eigenvector that is a function).
The identity map: I(x)=1⋅x, so every non-zero vector is an eigenvector with eigenvalue 1.
Quick checkWhich is true of the zero vector O and the number 0 in the definition of an eigenvector?
T(O)=λO holds for every λ, which is exactly why O is excluded. But T(x)=0x=O for some non-zero x is perfectly possible: that is a non-zero vector in the null space, so 0 is an eigenvalue exactly when the map has a non-trivial null space.
Fact TSpagnolie Lecture 16
An eigenvector has only one eigenvalue
If x=O, T(x)=λx and T(x)=μx, then λ=μ.
In one lineIf T(x)=λx and T(x)=μx with x=O, then λ=μ.
Why it is trueSubtract the two equations. What is left is a scalar times a non-zero vector equal to O.
ProofSpagnolie Lecture 16
The idea: Both equations give the same T(x). Set them equal, move everything to one side, and use that a non-zero vector times a scalar is zero only for the scalar zero.
λx=μx.
Both right-hand sides equal T(x).
(λ−μ)x=O.
Axiom 9 of 2.1 (distributivity over scalars) gives λx−μx=(λ−μ)x.
So λ−μ=0.
If λ−μ=0, multiply by 1/(λ−μ) to get x=O, which was excluded.
The reverse statement is false: an eigenvalue does not have only one eigenvector. One eigenvalue has many eigenvectors: if x belongs to λ then so does 2x, since T(2x)=2T(x)=2λx=λ(2x). The next definition collects all of them.
Definition T
Eigenspace
For an eigenvalue λ of T, the eigenspace is
E(λ)={x∈V:T(x)=λx}=N(T−λI).
(Here N(⋅) is the null space from 2.3, and T−λI is the map x↦T(x)−λx.) The zero vector is put in by hand, because it is not an eigenvector but must be in any subspace.
In one lineAll vectors x with T(x)=λx, together with O: the eigenvectors of λ plus the zero vector. It equals the null space of T−λI.
Why it existsIt turns 'the eigenvectors of λ' into a subspace, so dimension and bases make sense for it.
Theorem TSpagnolie Lecture 16
Eigenspaces are subspaces
For every scalar λ, E(λ) is a subspace of V. Its dimension is at least 1 exactly when λ is an eigenvalue.
In one lineE(λ) is a subspace, because it is the null space of the linear map T−λI.
Why it is trueBeing a null space is the whole proof. The work is checking that T−λI is linear.
In the picture above, E(3) is the whole horizontal dashed line and E(2) is the other dashed line. Each is a line through the origin, which is what a one-dimensional subspace of the plane looks like. The proof says this is no accident.
ProofSpagnolie Lecture 16; Apostol 4.2
The idea: Show that T − λI is a linear map and that its null space is E(λ). Then the null space theorem from 2.3 finishes.
S=T−λI, that is S(x)=T(x)−λx, is linear. Check: S(x+y)=T(x)+T(y)−λx−λy=S(x)+S(y) and S(cx)=cT(x)−λcx=cS(x).
Linearity of T, and c(λx)=λ(cx) from the vector-space axioms.
S(x)=O exactly when T(x)=λx. So N(S)=E(λ).
Add λx to both sides of T(x)−λx=O, and back.In the picture: the dashed line for 3 is exactly the set of points the map A−3I sends to the origin.
So E(λ) is a subspace.
The null space of a linear map is a subspace (2.3).
dimE(λ)≥1 exactly when λ is an eigenvalue.
λ is an eigenvalue exactly when some non-zero x has T(x)=λx, that is, when N(S) contains a non-zero vector.
For the eigenvalue 0 the eigenspace is the null space of T itself. For the identity map on Rn, E(1)=Rn.
Quick checkTake the set of all eigenvectors that belong to one eigenvalue λ, without adding O. Is it a subspace?
Eigenvectors are non-zero by definition, so the set misses O and fails the first subspace test. Adding O gives the eigenspace E(λ), which is a subspace. The sums and multiples are fine; the zero vector is the only problem.Review: the subspace test
Eigenvectors for different eigenvalues are independent
Two eigenvectors on different lines are certainly independent. The theorem says the same holds for any number of them, as long as their eigenvalues are all different. It is the reason eigenvectors can form a basis at all.
Theorem TApostol Thm 4.2; Spagnolie Lecture 16
Eigenvectors of distinct eigenvalues are independent
Let u1,…,uk be eigenvectors of a linear map T with eigenvalues λ1,…,λk, where λi=λj whenever i=j. Then u1,…,uk are linearly independent.
In one lineEigenvectors that belong to different eigenvalues are linearly independent.
Why it is trueApply T to a supposed dependence and subtract λk times the original. The last vector disappears, and induction handles the rest.
Why· The picture behind the proof
For k=2 look at the two dashed lines in the picture. If u1 and u2 were dependent they would lie on one line, and a vector on that single line would be stretched by 3 and by 2 at the same time. We showed an eigenvector has only one eigenvalue, so that is impossible. The written proof below does the same job for any number of vectors. Its trick (apply T, then subtract λk times the original) is a way to separate the pieces by how much each is stretched.
The theorem needs eigenvectors to be non-zero: the set {O} is dependent. The proof is Spagnolie’s induction, and it echoes the elimination from the k+1 theorem of 2.2: use one equation to cancel one unknown and reduce to a smaller case.
ProofSpagnolie Lecture 16; Apostol 4.3
The idea: Induction on k. Suppose a combination of the k eigenvectors is zero. Apply T to it, and also multiply it by λ_k, then subtract: the u_k terms cancel, leaving a zero-combination of the first k−1 eigenvectors. Those are independent by the induction hypothesis, which forces the first k−1 coefficients to be zero, and then the last one is zero too.
For k=1: {u1} is independent.
Base case k=1. u1=O because it is an eigenvector. If c1u1=O with c1=0, multiplying by 1/c1 would give u1=O.
Assume the theorem holds for k−1 vectors. Suppose c1u1+⋯+ckuk=O. Call this equation (E).
The induction hypothesis is the theorem for k−1 eigenvectors with distinct eigenvalues. We prove it for k.
Apply T to (E): c1λ1u1+⋯+ckλkuk=O.
Linearity passes T through the combination. T(ui)=λiui, and T(O)=O (2.3).
Multiply (E) by λk: c1λku1+⋯+ckλkuk=O.
Scaling the zero vector gives the zero vector. We choose to multiply by λk because it makes the last coefficient match the line above.
c1(λ1−λk)u1+⋯+ck−1(λk−1−λk)uk−1=O.
Subtract the second line from the first, vector by vector. The uk terms are ckλkuk−ckλkuk=O, which is why we multiplied by λk.
ci(λi−λk)=0 for every i<k.
This is a zero-combination of u1,…,uk−1, which are independent by the induction hypothesis. So each coefficient is 0.
c1=⋯=ck−1=0.
The eigenvalues are distinct, so λi−λk=0. Divide by it.
ckuk=O, so ck=0. All coefficients are zero, so u1,…,uk are independent.
Put these into (E). Only the last term remains, and uk=O forces ck=0 as in the base case.
Proof workshopRebuild the proof that eigenvectors of distinct eigenvalues are independent
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
Induction: we may use the smaller case. To show independence we assume a combination equals O and try to force every coefficient to be 0.
T is linear, T(ui)=λiui and T(O)=O. Each vector is now multiplied by its own eigenvalue.
This applies T to (E), so (E) must be written down first.
We choose λk so that the last coefficient matches the last coefficient of the line above.
(E) must be written down first. In this proof the line from applying T comes before this one, because we choose λk to match it.
The uk terms cancel, so only the first k−1 vectors are left.
You can only subtract once you have both of the lines to subtract: one from applying T and one from multiplying by λk.
The induction hypothesis says u1,…,uk−1 are independent, so each coefficient of a zero combination is 0.
You need the zero combination of the first k−1 vectors, which comes from the subtraction.
Divide ci(λi−λk)=0 by the non-zero number λi−λk. This is the only place distinctness is used.
There must be an equation ci(λi−λk)=0 to divide.
Only the last term of (E) is left. An eigenvector is non-zero, and a scalar times a non-zero vector is O only when the scalar is 0.
First show the other k−1 coefficients are 0, so they drop out of (E).
Quick checkIn the proof above, where is it used that the eigenvalues are different from each other?
The uk terms cancel for any λk, and applying T is always allowed. The distinctness is needed to know λi−λk=0, which lets us deduce ci=0 from ci(λi−λk)=0. If two eigenvalues were equal, that step would fail, and indeed two eigenvectors of the same eigenvalue can be dependent.
Theorem TApostol Thms 4.3 and 4.10; Spagnolie Lecture 16
Distinct eigenvalues give an eigenbasis
Let dimV=n and let T:V→V be linear. Then T has at most n distinct eigenvalues. If it has exactly n, then one eigenvector for each of them gives a basis of V.
In one lineOn an n-dimensional space a linear map has at most n distinct eigenvalues, and if it has n, their eigenvectors are a basis.
Why it is trueIndependent vectors cannot outnumber the dimension, and n independent vectors in an n-dimensional space are a basis.
ProofApostol 4.2
The idea: Pick one eigenvector per eigenvalue. They are independent by the last theorem. The dimension count from 2.2 does the rest.
If T had m distinct eigenvalues, there would be m independent vectors in V.
Choose one eigenvector for each distinct eigenvalue. They are independent by the previous theorem.
So m≤n.
The k+1 theorem of 2.2: more than n vectors in an n-dimensional space are dependent.
If m=n, the n chosen eigenvectors are a basis.
2.2: n independent vectors in an n-dimensional space form a basis.
Finding eigenvalues: the characteristic polynomial
So far we had to guess the eigenvalues. Here is a method. From now on A is an n by n matrix and T(x)=Ax. The equation Ax=λx is the same as λx−Ax=O, and since λx=(λI)x it is the same as
(λI−A)x=O.
We want a non-zero solution x, which means the null space of λI−A must contain more than O. Spagnolie’s shortcut: that happens exactly when λI−A is not invertible, and a matrix is not invertible exactly when its determinant is 0.
Definition T
Characteristic polynomial
For an n by n matrix A, the characteristic polynomial is pA(λ)=det(λI−A), regarded as a function of the number λ (the shape theorem below shows it is a polynomial of degree n). The equation pA(λ)=0 is the characteristic equation. (Apostol and Spagnolie use det(λI−A). Many other books use det(A−λI). The two differ by the factor (−1)n and have the same roots.)
In one lineThe polynomial pA(λ)=det(λI−A). Its roots are exactly the eigenvalues of A.
Why it existsIt converts the search for the right λ into solving one polynomial equation, with no vectors involved.
For the matrix in the picture: λ2−5λ+6=(λ−3)(λ−2). The roots 3 and 2 are the stretch factors we saw.
Theorem TApostol Thm 4.5; Spagnolie Lecture 16
Eigenvalues are roots of the characteristic polynomial
A number λ is an eigenvalue of the square matrix A if and only if det(λI−A)=0.
In one lineλ is an eigenvalue of A exactly when det(λI−A)=0.
Why it is trueAn eigenvector is a non-zero vector in the null space of λI−A, and such a vector exists exactly when that matrix is not invertible.
ProofSpagnolie Lecture 16; Apostol 4.5
The idea: Each statement is equivalent to the next: eigenvalue, non-zero null vector, not one-to-one, not invertible, determinant zero.
λ is an eigenvalue ⟺ there is x=O with Ax=λx.
The definition of eigenvalue.
⟺ there is x=O with (λI−A)x=O.
Move λx=(λI)x to the left. Matrix multiplication distributes (2.5).
⟺N(λI−A)={O}.
That is what it means for the null space to contain a non-zero vector.In the picture: λI−A squashes the plane onto a line exactly when λ is 3 or 2, and the squashed-away line is the dashed eigenline.
⟺λI−A is not invertible.
A linear map is one-to-one exactly when its null space is {O}, and a one-to-one linear map from Rn to Rn is also onto, by rank–nullity (2.3). One-to-one and onto together mean invertible.
⟺det(λI−A)=0.
A square matrix is invertible exactly when its determinant is not zero (2.7).
Worked example Spagnolie Lecture 16
Find the eigenvalues and eigenvectors of the matrix with rows (3, 4, 2), (0, 1, 2), (0, 0, 0).
Solution.
Write λI−A.λI−A=λ−300−4λ−10−2−2λ. The eigenvalues are the roots of det(λI−A).
Take the determinant. The matrix is upper triangular, so the determinant is the product of the diagonal entries: pA(λ)=(λ−3)(λ−1)λ. Expanding along the first column leaves one term, and the same happens for the smaller matrix that remains, again and again.
Read off the eigenvalues.λ=3,1,0. They are the roots. A check we prove below: the eigenvalues add up to the sum of the diagonal entries of A (3+1+0=4) and multiply to detA=0 (the matrix has a zero row).
Eigenvector for λ=3. Solve (3I−A)x=O, rows (0,−4,−2), (0,2,−2), (0,0,3). The last row gives z=0, then the middle row gives y=0. The first coordinate is free: take x=(1,0,0). A free variable means a whole line of solutions, so we pick one non-zero member.
Eigenvector for λ=1. Solve (I−A)x=O, rows (−2,−4,−2), (0,0,−2), (0,0,1). So z=0 and −2x−4y=0, which gives x=−2y. Take y=1: (−2,1,0). Same method, a different matrix for each eigenvalue.
Eigenvector for λ=0. Solve −Ax=O, rows (−3,−4,−2), (0,−1,−2), (0,0,0). The middle row gives y=−2z, and then −3x+8z−2z=0 gives x=2z. Take z=1: (2,−2,1). The eigenvalue 0 gets no special treatment, but its eigenspace is the null space of A.
Check each.A(1,0,0)=(3,0,0). A(−2,1,0)=(−6+4,1,0)=(−2,1,0). A(2,−2,1)=(6−8+2,−2+2,0)=(0,0,0). Multiplying back is the only reliable check, because a sign slip in elimination is easy to make.
Answer. Eigenvalues 3,1,0 with eigenvectors (1,0,0), (−2,1,0), (2,−2,1). The eigenvalues are distinct, so these three vectors are a basis of R3.
Trace, and the shape of the characteristic polynomial
Definition T
Trace
The trace of an n by n matrix A is trA=a11+a22+⋯+ann.
In one lineThe sum of the diagonal entries of a square matrix, trA=a11+a22+⋯+ann.
Why it existsIt is a quick number that, as the next theorems show, equals the sum of the eigenvalues and does not change when the basis changes.
The trace of [3012] is 5, which is 3+2. The determinant is 6=3×2. This is no accident, and the proof also tells us what the characteristic polynomial looks like in general. For n=2 we computed it: λ2−(trA)λ+detA. Spagnolie’s Lecture 17 does the general case.
Theorem TApostol Thm 4.4 and section 4.7; Spagnolie Lecture 17
Shape of the characteristic polynomial
For an n by n matrix A, the characteristic polynomial has degree n, and
pA(λ)=λn−(trA)λn−1+(terms of degree at most n−2).
Its constant term is pA(0)=(−1)ndetA.
In one linedet(λI−A)=λn−(trA)λn−1+⋯+(−1)ndetA.
Why it is trueEach time we expand the determinant, only the diagonal can contribute high powers of λ.
ProofSpagnolie Lecture 17; Apostol 4.4
The idea: Induction on n. Expand the determinant along the first row. The (1,1) term is (λ − a₁₁) times the same kind of determinant for a smaller matrix, which supplies the top two coefficients. Every other term loses two λ's from the diagonal, so its degree drops by at least two.
Claim: det(λI−A)=λn−(a11+⋯+ann)λn−1+(degree≤n−2). For n=1 this is λ−a11.
The first claim, proved for all n by induction. The determinant is λ−a11 when n=1, which has the claimed form: λ1−(trA)λ0.
Assume the claim for size n−1. Expanding along row 1: det(λI−A)=(λ−a11)detM11+∑j≥2±(−a1j)detM1j.
Cofactor expansion along row 1 (2.7). M1j is λI−A with row 1 and column j deleted. The entry in position (1,j) of λI−A is −a1j when j≥2.
detM11=λn−1−(a22+⋯+ann)λn−2+(degree≤n−3).
M11=λIn−1−A′, where A′ is A with row 1 and column 1 deleted. This is the same kind of matrix one size smaller, so the induction hypothesis applies to it.
Multiply (λ−a11) by the line above. λ times λn−1 gives λn. λ times the λn−2 term and −a11 times the λn−1 term both give λn−1 terms. Everything else has degree at most n−2. (For n=2 the part of degree at most n−3 is 0.)
In M1j, only n−2 entries contain λ (each to the first power).
The matrix M1j for j≥2 has had row 1 and column j removed. The only entries containing λ are the diagonal entries λ−aii of the original matrix. The ones at positions (1,1) and (j,j) are gone, so at most n−2 entries of M1j contain λ.
So detM1j has degree at most n−2, and so does ∓a1jdetM1j.
The determinant is a sum of products of n−1 entries, one from each row and column (2.7). A product contains at most n−2 of the λ-entries.
The claim holds for size n.
Add the first term and the others. The extra terms do not touch degrees n and n−1.
pA(0)=det(−A)=(−1)ndetA.
Put λ=0 in det(λI−A) to get det(−A). Multiplying one row by −1 multiplies the determinant by −1, and −A has all n rows multiplied by −1.
Over the real numbers a polynomial may have no roots (for example λ2+1). Over the complex numbers it always has: this is the fundamental theorem of algebra, which we quote without proof (it belongs to complex analysis). It says that a polynomial of degree n with leading coefficient 1 factors as (λ−λ1)(λ−λ2)⋯(λ−λn), where the λi are complex numbers, listed with repeats. We call the λi the eigenvalues of Acounted with multiplicity.
Theorem TSpagnolie Lecture 17
Trace and determinant from the eigenvalues
Let λ1,…,λn be the eigenvalues of A (complex numbers, counted with multiplicity). Then
trA=λ1+⋯+λn,detA=λ1λ2⋯λn.
In one lineThe trace is the sum of the eigenvalues and the determinant is their product, each counted with multiplicity.
Why it is trueMultiply out (λ−λ1)⋯(λ−λn) and compare it with the shape theorem. The coefficient of λn−1 and the constant term are the two matching places.
ProofSpagnolie Lecture 17
The idea: The characteristic polynomial has two descriptions: one from the matrix entries, one as a product of (λ − λᵢ). Two polynomials that are equal as functions have equal coefficients, so compare the λⁿ⁻¹ coefficients and the constant terms.
Choosing −λi from n−1 of the factors and λ from the last one gives a λn−1 term, in n ways. Choosing −λi from all factors gives the constant term.
Compare λn−1: trA=λ1+⋯+λn.
The shape theorem gives −trA as the coefficient of λn−1.
Compare constants: (−1)ndetA=(−1)nλ1⋯λn, so detA=λ1⋯λn.
The shape theorem gives (−1)ndetA as the constant term.
Spagnolie’s 3×3 example: 3+1+0=4=trA, and 3⋅1⋅0=0=detA. The characteristic polynomial is λ3−4λ2+3λ−0. Spagnolie left the middle coefficient as a blank box in class. It is 3, because the roots 3,1,0 give (λ−3)(λ−1)λ=λ3−4λ2+3λ. A useful consequence: a matrix is invertible if and only if 0 is not an eigenvalue, because detA=λ1⋯λn is non-zero exactly when no λi is 0.
Worked example
A 2 by 2 matrix has trace 6 and determinant 8. What are its eigenvalues?
Solution.
Write the characteristic polynomial from trace and determinant. For n=2 the shape theorem says pA(λ)=λ2−(trA)λ+detA=λ2−6λ+8. We do not know the entries of the matrix, but the polynomial only needs these two numbers.
Solve pA(λ)=0.λ2−6λ+8=(λ−2)(λ−4), so λ=2 or 4. Two numbers that add to the trace 6 and multiply to the determinant 8 are exactly the eigenvalues, by the trace and determinant theorem.
Answer. The eigenvalues are 2 and 4. (Many different matrices have these, for example diag(2,4) and [3113], so the eigenvalues do not determine the matrix.)
Your answerA 2×2 matrix has trace 7 and determinant 10. What is its larger eigenvalue?
Find two numbers with sum 7 and product 10.
pA(λ)=λ2−7λ+10=(λ−2)(λ−5). The eigenvalues are 2 and 5, which add to the trace 7 and multiply to the determinant 10.
Same idea elsewhere· JEE: the characteristic equation you already know
In JEE you met the rule that a 2×2 matrix satisfies A2−(trA)A+(detA)I=O (the Cayley–Hamilton theorem). That is the characteristic polynomial λ2−(trA)λ+detA with the matrix A put in place of the number λ. You will prove it in the problems below for matrices that have a basis of eigenvectors (called diagonalizable, defined shortly). The reason it holds: on each eigenvector A acts as the number λi, and p(λi)=0.
Same map, different basis
The matrix of a map depends on the basis (2.5). If A and B are matrices of the same map in two bases, then B=C−1AC for the change-of-basis matrix C; this is what it means for A and B to be similar matrices. The eigenvalues belong to the map, so they must not depend on the basis. This is Apostol’s Theorem 4.9.
Theorem TApostol Thm 4.9; Spagnolie Lecture 17
Similar matrices share a characteristic polynomial
If A and B are n by n and B=C−1AC for some invertible C, then pB(λ)=pA(λ).
In one lineIf B=C−1AC then B and A have the same characteristic polynomial, hence the same eigenvalues, trace and determinant.
Why it is trueFactor C−1 and C out of λI−B. The determinants of C−1 and C multiply to 1.
ProofSpagnolie Lecture 17 ('Behold!')
The idea: Rewrite λI as C⁻¹(λI)C so that C⁻¹ and C can be pulled out of the whole expression. Then the determinant of a product is a product of determinants, and det C⁻¹ · det C = 1.
λI−B=C−1(λI)C−C−1AC.
C−1(λI)C=λC−1C=λI. The scalar λ slides past matrices.
The determinant of a product is the product of the determinants (2.7).
=det(λI−A).
det(C−1)det(C)=det(C−1C)=detI=1. These are numbers, so they can be reordered.
So the characteristic polynomial of a linear map T on a finite-dimensional space is well defined: compute it from the matrix of T in any basis. The same goes for the trace and the determinant of T. This answers a question you may have had: why would anyone care about the sum of diagonal entries? Because that sum does not depend on the basis.
Worked example Apostol 4.8 #10; MATH 375 HW9
Prove that A and its transpose have the same characteristic polynomial. Do they have the same eigenvectors?
Solution.
Transpose the matrix λI−A.(λI−A)T=λIT−AT=λI−AT. The transpose of a difference is the difference of the transposes, and IT=I.
Use the determinant of a transpose.det(λI−AT)=det((λI−A)T)=det(λI−A). A matrix and its transpose have the same determinant (2.7).
Conclude for eigenvalues.pAT=pA, so the eigenvalues, with multiplicity, agree. Eigenvalues are the roots of the characteristic polynomial.
Test eigenvectors on an example. For A=[3012] the eigenvector for 3 is (1,0). For AT=[3102] we get AT(1,0)=(3,1), which is not a multiple of (1,0), while AT(1,1)=(3,3)=3(1,1). One example is enough to show that “same eigenvectors” is false in general. Only the eigenvalues carry over.
Answer. The characteristic polynomials are equal. The eigenvectors can differ.
Worked example supports Apostol 4.9
Prove that tr(AB) = tr(BA) for n by n matrices, and deduce that tr(C⁻¹AC) = tr A.
Solution.
Write the diagonal entry of AB.(AB)ii=∑jaijbji. Entry (i,i) of a product is row i of A times column i of B.
Sum over the diagonal.tr(AB)=∑i∑jaijbji. The trace is the sum of the diagonal entries.
Do the same for BA.tr(BA)=∑j∑ibjiaij. Now the roles are swapped: (BA)jj=∑ibjiaij, summed over j.
Compare. The two are the same finite double sum, in a different order, with each product’s two factors written in the other order. A finite sum can be added in any order, and real numbers commute.
Deduce the second claim. Apply the first part to the matrices C−1 and AC: tr(C−1(AC))=tr((AC)C−1)=trA. (AC)C−1=A(CC−1)=A.
Answer.tr(AB)=tr(BA), so similar matrices have the same trace. (Note that AB=BA in general. Only the traces agree.)
Diagonalization
Definition T
Diagonalizable
A diagonal matrix has zeros everywhere except possibly on the diagonal. We write diag(d1,…,dn) for the one with d1,…,dn down the diagonal. A linear map T:V→V on a finite-dimensional space is diagonalizable if V has a basis in which the matrix of T is diagonal. A square matrix A is diagonalizable if the map x↦Ax is, equivalently if A is similar to a diagonal matrix.
In one lineA map or matrix is diagonalizable if some basis makes its matrix diagonal; equivalently, if there is a basis of eigenvectors.
Why it existsDiagonalizable maps are exactly the ones that can be understood as independent stretches along n directions.
Here is the same picture again, because the next theorem is about it. The two dashed lines are the two basis vectors we would choose. In that basis the grid is not the square grid but a grid made of lines parallel to the dashed lines, and the map only stretches that grid, by 3 in one direction and 2 in the other.
Theorem TApostol Thm 4.1
Diagonal form means an eigenbasis
Let e1,…,en be a basis of V. The matrix of T in this basis is diag(d1,…,dn) if and only if T(ek)=dkek for every k. So T is diagonalizable if and only if V has a basis of eigenvectors of T.
In one lineA map has a diagonal matrix in a basis exactly when every vector of that basis is an eigenvector. The diagonal entries are the eigenvalues.
Why it is trueColumn k of the matrix is the coordinates of T(ek). It is a multiple of the k-th basis vector exactly when ek is an eigenvector.
ProofApostol 4.1; Spagnolie Lecture 18
The idea: Recall how the matrix is built: column k holds the coordinates of T(e_k). Then compare.
The matrix (aik) of T satisfies T(ek)=a1ke1+⋯+anken.
Definition of the matrix of a map in a basis (2.5): T(ek)=∑iaikei, and column k of the matrix is (a1k,…,ank).
The matrix is diag(d1,…,dn)⟺T(ek)=dkek for every k.
Coordinates in a basis are unique (2.2), so the equation below says aik=0 for i=k and akk=dk.In the picture: ek is a point on a dashed line, and T(ek) stays on that same line.
That says each ek is an eigenvector of T with eigenvalue dk.
ek=O because it is a basis vector. The equation T(ek)=dkek is the definition of an eigenvector.
In matrix language: put the eigenvectors in as the columns of a matrix C, and the eigenvalues down the diagonal of D.
Theorem TApostol Thm 4.10; Spagnolie Lecture 18
Diagonalization as a factorization
Let A be an n by n matrix with independent eigenvectors u1,…,un and eigenvalues λ1,…,λn. Let C be the matrix whose k-th column is uk and let D=diag(λ1,…,λn). Then C is invertible and
A=CDC−1,equivalentlyD=C−1AC,equivalentlyAC=CD.
In one lineIf A has n independent eigenvectors, then A=CDC−1, where the columns of C are those eigenvectors and D is diagonal with the matching eigenvalues.
Why it is trueMultiplying by C turns the k-th standard basis vector into the k-th eigenvector, and A then multiplies that vector by its eigenvalue.
The idea: Compare the two matrices AC and CD column by column. Both have column k equal to λₖuₖ. Then use that C is invertible, because its columns are independent.
Column k of AC is Auk, which is λkuk.
Column k of a product AC is A times column k of C (matrix multiplication, 2.5).
Column k of CD is λkuk.
Column k of CD is C times column k of D, and column k of D is λk in position k and 0 elsewhere. So it is λk times column k of C.
AC=CD.
Two matrices with the same columns are equal.
C is invertible.
Cx=O means a combination of the columns of C is O. The columns are independent, so x=O. So N(C)={O}, hence C is one-to-one, hence onto by rank–nullity, hence invertible (2.3, 2.4).
A=CDC−1.
Multiply AC=CD on the right by C−1.
Why· Reading A = C D C⁻¹: change to the eigenbasis
Read it from right to left, applied to a vector x. First C−1x gives the coordinates of x in the eigenbasis (this is the change of basis of 2.5). Then D stretches each coordinate by its own eigenvalue, the easy step. Then C turns those coordinates back into ordinary ones. So A does the same thing as D, seen in the right coordinates. This is exactly what “similar matrices represent the same map” meant. And for powers, the middle pairs C−1C cancel:
Worked example Spagnolie Lecture 18 method; this matrix is the picture above
Diagonalize the matrix with rows (3, 1) and (0, 2), then compute A^5.
Solution.
Find the eigenvalues.det(λI−A)=(λ−3)(λ−2), so λ1=3 and λ2=2. The roots of the characteristic polynomial are the eigenvalues. Check with the trace theorem: 3+2=5=trA and 3⋅2=6=detA.
Find an eigenvector for 3. Solve (A−3I)x=O: the rows are (0,1) and (0,−1), so y=0 and x is free. Take u1=(1,0). A free variable gives a whole line of solutions, so we choose one non-zero member.
Find an eigenvector for 2. Solve (A−2I)x=O: the rows are (1,1) and (0,0), so y=−x. Take u2=(1,−1). The same method with the other eigenvalue. The two eigenvalues differ, so u1,u2 are independent and are a basis of R2.
Build C and D.C=[101−1] has the eigenvectors as columns, and D=diag(3,2) has the eigenvalues in the same order. Column 1 of C must go with the first diagonal entry of D.
Find C−1 and verify.C⋅C=I, so C−1=C, and CDC−1=[302−2][101−1]=[3012]=A. Multiplying back is the only reliable check on a sign slip.
Take the power.A5=CD5C−1 with D5=diag(243,32), so A5=[243032−32][101−1]=[243021132]. In (CDC−1)⋯(CDC−1) every inner C−1C cancels, so only the diagonal matrix is raised to the power.
The step-through below shows the same computation with every product written out.
Answer.A=CDC−1 with C=[101−1], D=diag(3,2), and A5=[243021132]. In general Ak=[3k03k−2k2k].
Your answerFor the same A=[3012], the top right entry of Ak is 3k−2k. What is the top right entry of A10?
Use 310=59049 and 210=1024.
310=59049 and 210=1024, so 59049−1024=58025. The formula comes from Ak=CDkC−1, with no repeated matrix multiplication.
Worked example Apostol 4.4 #2
Prove: if Ax = λx with x non-zero, then A^k x = λ^k x for every k ≥ 1.
Solution.
Base case. For k=1 this is the hypothesis Ax=λx. Induction needs a first case to start from.
Assume the case k−1. Suppose Ak−1x=λk−1x. This is the induction hypothesis.
Apply A once more.Akx=A(Ak−1x)=A(λk−1x)=λk−1Ax=λk−1λx=λkx. Linearity of A lets the scalar λk−1 come out, then Ax=λx is used again.
Answer. By induction the statement holds for all k≥1. So x is an eigenvector of Ak with eigenvalue λk. This one line is why A=CDC−1 gives Ak=CDkC−1.
Your answerA has the eigenvector x with eigenvalue −2. What is the eigenvalue of A5 for the same x?
Apply the rule Akx=λkx with λ=−2 and k=5.
By the example, A5x=(−2)5x=−32x. An odd power keeps the sign.
Quick checkx is an eigenvector of A with eigenvalue 3. What does A+2I do to x?
(A+2I)x=Ax+2x=3x+2x=5x. The vector stays an eigenvector, and the eigenvalue shifts by 2. It does not stay at 3 (that forgets the 2I) and it is not multiplied by 2 (that confuses adding 2I with scaling A).
Worked example Apostol 4.4 #2; MATH 375 HW9
Prove: if A is invertible and Ax = λx with x non-zero, then λ is not 0 and A⁻¹x = λ⁻¹x.
Solution.
Show λ=0. Suppose λ=0. Then Ax=O with x=O. We argue by contradiction, using what an invertible matrix cannot do.
Reach the contradiction. A non-zero vector sent to O means A is not one-to-one, so A is not invertible. An invertible map has null space {O} (2.4). This contradicts the hypothesis, so λ=0.
Apply A−1 to the equation.A−1(Ax)=A−1(λx) gives x=λA−1x. A−1A=I on the left, and linearity pulls the scalar λ out on the right.
Divide by λ.A−1x=λ−1x. This division is allowed only because step 2 showed λ=0.
Answer.x is an eigenvector of A−1 with eigenvalue 1/λ. For example A=[3012] has E(2) spanned by (1,−1), and A−1(1,−1)=21(1,−1).
Worked example Apostol 4.4 #4; MATH 375 HW9
Prove: if λ² is an eigenvalue of T² = T∘T for a real number λ, then λ or −λ is an eigenvalue of T.
Solution.
Start from the hypothesis. Take x=O with T2x=λ2x. This is what ”λ2 is an eigenvalue of T2” means.
Factor.T2−λ2I=(T−λI)(T+λI). The usual difference of squares. It is valid for maps because T commutes with I, so the cross terms λT and −λT cancel.
Apply the factorisation to x. Let y=(T+λI)x. Then (T−λI)y=T2x−λ2x=O. The right side is zero by step 1.
Case y=O. Then Tx+λx=O, so Tx=−λx with x=O. That is the definition of −λ being an eigenvalue.
Case y=O. Then (T−λI)y=O says Ty=λy with y=O. That is the definition of λ being an eigenvalue, with eigenvector y.
Answer. In either case one of λ, −λ is an eigenvalue of T. ■
Theorem TApostol Thm 4.10; Spagnolie Lecture 17
Distinct roots give a diagonalizable matrix
If A is n by n and pA has n distinct roots (in the scalars being used), then A is diagonalizable.
In one lineIf the characteristic polynomial has n different roots, the matrix is diagonalizable.
Why it is trueEach root is an eigenvalue, the eigenvectors are independent because the roots differ, and n independent vectors in n dimensions are a basis.
This is a corollary of two theorems already proved: the roots are eigenvalues (so each has an eigenvector), and eigenvectors for distinct eigenvalues are independent. By the “distinct eigenvalues give an eigenbasis” theorem they form a basis, and the factorization theorem gives A=CDC−1. In practice this settles most matrices you will meet.
Beyond the course: for understanding· Complex scalars
Everything above (null spaces, independence, determinants, every proof in this chapter) works unchanged if the scalars are complex numbers instead of real ones. Vectors then have complex entries. Spagnolie switches to complex scalars in Lecture 18 for exactly this reason: a real matrix can have complex eigenvalues (the rotation below), and over the complex numbers the fundamental theorem of algebra guarantees n eigenvalues with multiplicity. When we say a real matrix is diagonalizable “over R” we also require the roots to be real. “Over C” only requires enough eigenvectors.
When diagonalization fails: multiplicities
A repeated root can go either way. Both I=[1001] and the shear [1011] have characteristic polynomial (λ−1)2. The identity is already diagonal; the shear is not diagonalizable (details in the examples). To tell them apart we need two counts for each eigenvalue λ0 of an n by n matrix A.
The algebraic multiplicitym(λ0) is the number of times λ0 appears as a root of pA, that is, the exponent of (λ−λ0) in the factorization of pA. It is found from the polynomial. Example: if pA=(λ−3)2(λ−1) then m(3)=2 and m(1)=1.
The geometric multiplicityg(λ0) is the dimension of the eigenspace E(λ0): how many independent eigenvectors λ0 has. It is found from the matrix, by solving (λ0I−A)x=O.
For I these are m=2 and g=2. For the shear they are m=2 and g=1. Spagnolie states the general relation without proof ("1≤dimE(λ)≤m(λ)"). Here it is with a proof.
Theorem TSpagnolie Lecture 16 (stated); proof added here
Geometric multiplicity is at most algebraic multiplicity
If λ0 is an eigenvalue of the n by n matrix A and g=dimE(λ0), then (λ−λ0)g divides pA(λ). So 1≤g≤m(λ0).
In one lineAn eigenvalue never has more independent eigenvectors than its multiplicity as a root: 1≤g(λ0)≤m(λ0).
Why it is trueUse the eigenvectors of λ0 as the first columns of a new basis. In that basis the matrix has λ0 on the diagonal g times, which puts (λ−λ0)g in the characteristic polynomial.
Proofadded here; Spagnolie states it in Lecture 16
The idea: Build a basis whose first g vectors are eigenvectors of λ₀. The matrix in that basis has a block shape with λ₀ down the first g diagonal places and zeros below them. Expanding the determinant of λI − (that matrix) along the first column g times pulls out (λ − λ₀)^g. Similar matrices share the characteristic polynomial.
Let u1,…,ug be a basis of E(λ0).
E(λ0) is a subspace of dimension g (the eigenspace theorem), so it has a basis. g≥1 because λ0 is an eigenvalue.
Extend it to a basis u1,…,un of Rn and let C have these as columns.
B=C−1AC is the matrix of the same map in the new basis (2.5). For k≤g, Auk=λ0uk, so column k of B is λ0 in position k and 0 elsewhere.
λI−B=[(λ−λ0)IgO−XλI−Y].
Subtract B from λI block by block.
Expand along column 1, then repeat g times: det(λI−B)=(λ−λ0)gdet(λI−Y).
Column 1 has only one non-zero entry, λ−λ0 in the top place, so cofactor expansion along column 1 gives (λ−λ0) times the determinant of what is left. What is left has the same shape with g−1 in place of g.
pA(λ)=(λ−λ0)gdet(λI−Y). So λ0 is a root at least g times: g≤m(λ0).
Similar matrices share a characteristic polynomial (previous theorem).
Theorem BApostol Thm 4.10 and Spagnolie Lecture 18; the iff is added here
Diagonalizable exactly when the eigenspaces fill the space
Let A be n by n and suppose all n roots of pA lie in the scalars (always true over C). Let λ1,…,λr be the distinct eigenvalues, with multiplicities mi and gi. Then A is diagonalizable if and only if gi=mi for every i.
In one lineWith all roots among the scalars, A is diagonalizable if and only if g(λ)=m(λ) for every eigenvalue, that is, if and only if the dimensions of the eigenspaces add up to n.
Why it is trueEigenspaces for different eigenvalues are independent of each other, and g≤m with ∑m=n. So the eigenspace dimensions reach n only if each one reaches its m.
Proofadded here
The idea: Join bases of all the eigenspaces into one list. That list is independent (by the independence theorem), and it has g₁ + … + g_r vectors, which is at most m₁ + … + m_r = n. It is a basis exactly when it has n vectors, which needs every g to equal its m.
Claim: the joined list is linearly independent.
Choose a basis of each E(λi) and join the lists. Suppose a combination of the whole list is O. Group it as v1+⋯+vr=O, where vi is the part from the basis of E(λi), so vi∈E(λi).
If some vi were non-zero, the non-zero ones would be independent, contradicting v1+⋯+vr=O. So every vi=O.
Each non-zero vi is an eigenvector for λi. Eigenvectors with distinct eigenvalues are independent, so a combination of them with every coefficient equal to 1 cannot be O.
So all coefficients are zero and the claim holds. The list has g1+⋯+gr vectors.
vi is a combination of an independent list (the basis of E(λi)) and equals O, so all its coefficients are 0.
g1+⋯+gr≤m1+⋯+mr=n, with equality exactly when every gi=mi.
gi≤mi by the previous theorem, and the multiplicities of all roots add up to the degree n.
(⇐) If gi=mi for all i, we have an eigenbasis.
If every gi=mi the joined list has n independent vectors, a basis of eigenvectors. A is diagonalizable.
(⇒) If an eigenbasis exists, then gi=mi for all i.
Sort an eigenbasis by eigenvalue. The ni basis vectors with eigenvalue λi are independent and lie in E(λi), so ni≤gi. Then n=∑ni≤∑gi≤∑mi=n, so all the inequalities are equalities.
Quick checkOver R, which of these matrices is NOT diagonalizable?
The identity is already diagonal. The last matrix has two different eigenvalues, 3 and 2, so it is diagonalizable. The shear has the repeated eigenvalue 1 with algebraic multiplicity 2, but its eigenspace is only the line through (1,0), so g=1<m=2 and there is no eigenbasis.
Examples and non-examples
A recurrence in closed form. Fibonacci’s numbers 0,1,1,2,3,5,8,… come from “add the last two”. That rule does not look like a matrix, yet it becomes one, and then the machinery of this chapter gives a formula for the k-th term with no recursion at all.
Where this came from· Rabbits, and a formula with several owners
The sequence first appears in Fibonacci’s Liber Abaci (1202), where it counts pairs of rabbits month by month under a simple breeding rule. The closed formula below carries the name of Jacques Binet (1843), but Euler, de Moivre and Daniel Bernoulli knew it about a century earlier. The matrix method gives the formula without any guessing. The golden ratio shows up because it is the larger root of the characteristic polynomial of the “add the last two” matrix. So a rule that repeats (“add the last two, again and again”) is controlled by the eigenvalues of one matrix.
Worked example the method of Spagnolie Lecture 18 applied to a recurrence (Binet's formula)
Find a closed formula for the Fibonacci numbers F_k, where F_0 = 0, F_1 = 1 and F_(k+1) = F_k + F_(k-1).
Solution.
Turn the rule into a matrix. Put two consecutive terms in a vector uk=(Fk+1,Fk). Then uk+1=Auk with A=[1110], so uk=Aku0 and u0=(1,0). The new top entry is Fk+2=Fk+1+Fk and the new bottom entry is Fk+1. A rule that needs the last two terms becomes a rule on one vector.
Find the eigenvalues.pA(λ)=λ2−λ−1, with roots φ=21+5 and ψ=21−5. The trace is 1 and the determinant is −1. The roots add to 1 and multiply to −1, as the trace and determinant theorem says. They differ, so A is diagonalizable.
Find the eigenvectors.vφ=(φ,1) and vψ=(ψ,1). The second row of (A−λI)x=O is x−λy=0, so x=λy. The first row then reads λ2=λ+1, which both roots satisfy.
Write u0 in the eigenbasis.(1,0)=51(vφ−vψ). Solving c1vφ+c2vψ=(1,0): the second coordinate gives c1+c2=0 and the first gives c1(φ−ψ)=1, with φ−ψ=5.
Apply Ak piece by piece.uk=51(φkvφ−ψkvψ). A multiplies vφ by φ and vψ by ψ, so Ak multiplies them by φk and ψk. No matrix power is computed.
Read off the bottom entry.Fk=5φk−ψk. The bottom entry of uk=(Fk+1,Fk) is Fk, and both eigenvectors have bottom entry 1.
Check. For k=10: φ10≈122.99187 and ψ10≈0.00813, so F10=2.23607122.98374=55. That is the tenth Fibonacci number. Since ∣ψ∣<1, ψk dies away and Fk is the whole number nearest to φk/5.
The step-through below shows the same argument with every line written out.
Answer.Fk=5φk−ψk with φ=21+5 and ψ=21−5.
Your answerUse Fk≈φk/5 with φ≈1.618034 to estimate F15, then give the exact whole number it rounds to.
The second term ψk/5 has size well below 1, so the nearest whole number is the answer.
φ15≈1364.0007 and dividing by 5≈2.236068 gives 610.0003. The correction ψ15/5 is tiny, so F15=610. You can confirm by adding up: 0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610.
Non-example 1: the shear has too few eigenvectors. In the picture, “Shear” shows a single dashed line.
Worked example Spagnolie Lectures 16 and 18; Apostol 4.10 #1
Is the shear with rows (1, 1) and (0, 1) diagonalizable?
Solution.
Find the characteristic polynomial.det[λ−10−1λ−1]=(λ−1)2. The matrix is triangular, so the determinant is the product of the diagonal entries. So λ=1 is the only eigenvalue, with algebraic multiplicity m=2.
Find the eigenspace.(I−A)x=[00−10][xy]=[−y0]=O forces y=0. So E(1)={(x,0)}, the horizontal line, and g=1. The geometric multiplicity is the dimension of this null space.
Compare.g=1<2=m. By the iff theorem, a matrix is diagonalizable only if g=m for every eigenvalue. Equivalently, we need 2 independent eigenvectors in R2 and there is only one line of them.
Second argument (Spagnolie). If A=CDC−1, D would have both eigenvalues equal to 1, so D=I and A=CIC−1=I. But A=I. The only diagonalizable matrix whose eigenvalues are all equal to a is aI.
Answer. No. The shear is not diagonalizable. It has the same characteristic polynomial as I, yet I is diagonalizable, so the characteristic polynomial alone does not decide it.
Your answerLet A=200120002. Its only eigenvalue is 2. What is dimE(2), the number of independent eigenvectors?
Find the rank of A−2I and use rank plus nullity equals 3.
A−2I=000100000 has rank 1, so its null space has dimension 3−1=2. The solutions are y=0 with x and z free, spanned by (1,0,0) and (0,0,1). Here g=2<3=m, so A is not diagonalizable.
Non-example 2: rotation has no real eigenvectors, but has complex ones.
Worked example Spagnolie Lecture 18
Find the eigenvalues and eigenvectors of the quarter turn with rows (0, -1) and (1, 0).
Solution.
Characteristic polynomial.det[λ−11λ]=λ2+1. Expand the 2×2 determinant: λ⋅λ−(1)(−1).
Real roots?λ2+1=0 has none, so over R there is no eigenvalue and no eigenvector. This matches the preset “Rotate 90°”: no dashed line, because every direction is turned.
Allow complex numbers. The roots are λ=i and λ=−i, where i is the number with i2=−1. Over C (the complex numbers) every polynomial has its roots. We now let the vector entries be complex too.
Eigenvector for i.(iI−A)x=[i−11i]x=O. The first row says ix+y=0, so y=−ix. Take x=1: u1=(1,−i). Check: Au1=(0⋅1+(−1)(−i),1⋅1+0)=(i,1)=i(1,−i). Spagnolie writes (−1,i), which is −1 times this vector and lies on the same line.
Eigenvector for −i. Similarly u2=(1,i). Check: Au2=(−i,1)=−i(1,i). Same method with −i in place of i.
Cross-check.i+(−i)=0=trA and i⋅(−i)=1=detA. The trace and determinant theorem holds with complex eigenvalues.
Answer. No real eigenvalues. Over C: i with (1,−i) and −i with (1,i). So A=CDC−1 with D=diag(i,−i), and A2=CD2C−1=−I: two quarter turns make a half turn, which is −I.
A rotation by an angle θ has eigenvalues cosθ±isinθ. A complex diagonal matrix is how a rotation is written once the right complex basis is chosen.
Eigenfunctions: the same idea in a function space. Here V is infinite-dimensional, so there is no characteristic polynomial and no determinant, but the definition of eigenvector still works.
Worked example Apostol 4.4 #5, MATH 375 HW9
Find all eigenvalues and eigenfunctions of T(f)(t) = t f'(t) on the infinitely differentiable functions on (0, 1).
Solution.
Write the eigen-equation.T(f)=λf means tf′(t)=λf(t) for all t in (0,1). This is the definition, with a non-zero function f.
Find a quantity with derivative zero.dtd(t−λf(t))=t−λf′−λt−λ−1f=t−λ−1(tf′−λf)=0. The product rule. We multiply by t−λ because it turns the equation into “something has zero derivative”. (Dividing by f instead would fail where f is zero.)
Conclude it is constant. A function with zero derivative on an interval is constant, so t−λf(t)=K and f(t)=Ktλ. Mean value theorem from calculus. f=O means K=0.
Check the converse.T(tλ)=t⋅λtλ−1=λtλ, and tλ is differentiable on (0,1) for every real λ. We must make sure our answers are really in the space and really satisfy the equation.
Answer. Every real number λ is an eigenvalue, and E(λ)={Ktλ}, a one-dimensional space.
Where it is used
Used inside maths· Inside maths: differential equations y' = Ay
In MATH 376 you solve one equation y′=ay by y=y(0)eat. A system y′=Ay, with A a matrix and y(t) a vector, can be solved the same way. Try a solution that keeps its direction: y(t)=eλtv for a fixed vector v. Then y′=λeλtv and Ay=eλtAv, and the two are equal exactly when Av=λv. So eigenvectors are exactly the solutions that keep their shape. Because the equation is linear, sums of such solutions are also solutions.
Take A=[20−4−2] (MATH 375 HW10). Its eigenvalues are 2 with v=(1,0) and −2 with v=(1,1). The solution with y(0)=(p,q) is
(We found the two weights by writing (p,q)=(p−q)(1,0)+q(1,1), which is coordinates in the eigenbasis.) Check: at t=0 it gives (p,q), and differentiating the second coordinate gives −2qe−2t=−2⋅(second coordinate), as y′=Ay requires, because the second row of A is (0,−2). Start at (3,1) and you get (2e2t+e−2t,e−2t). One piece grows like e2t, the other dies like e−2t. The eigenvalue signs predict the long-term behaviour at once. In general y(t)=CetDC−1y(0), where etD is diag(eλ1t,…,eλnt).
Used in the real world· Engineering: vibration modes of two coupled carts
Two carts of mass 1 kg sit on a track. A spring of stiffness 100 N/m joins the left cart to a wall, another joins the carts, and a third joins the right cart to a wall. If x1,x2 are the displacements from rest, Newton’s law gives x1′′=−200x1+100x2 and x2′′=100x1−200x2, that is, x′′=−Kx with K=[200−100−100200]. Try a motion where both carts oscillate at the same frequency: x(t)=vcosωt. Then x′′=−ω2vcosωt, and the equation becomes Kv=ω2v. This is an eigenvalue problem.
The characteristic polynomial is (λ−200)2−1002, with roots λ=100 and 300. The eigenvector for 100 is (1,1): the carts move together, ω=100=10 rad/s (1.59 Hz). The eigenvector for 300 is (1,−1): the carts move in opposite directions, ω=300≈17.32 rad/s (2.76 Hz). These two are the normal modes. Every motion is a combination of them. Pull the left cart 1 cm and release both from rest: (1,0)=21(1,1)+21(1,−1), so
By the product formula for cosines, x1=cos(13.66t)cos(3.66t) and x2=sin(13.66t)sin(3.66t). The slow factor cos(3.66t) is zero at t=π/(2⋅3.66)≈0.43 s, when the left cart’s swing has died down and the right cart is moving with almost full amplitude. The energy sloshes from one cart to the other. Engineers compute these eigenvalues for bridges and buildings to keep the natural frequencies away from the frequency of wind or footsteps.
Used in the real world· Biology: a population model (Leslie matrix)
A fish population has three age groups: young, adult and old, counted once a year. Each adult produces 1.5 young per year and each old fish produces 1. Of the young, 60% survive to become adults. Of the adults, 50% survive to become old, and old fish die within the year. With x=(young,adult,old), next year’s population is Lx with
L=00.601.500.5100,pL(λ)=λ3−0.9λ−0.3.
The roots are 1.0847, −0.6749 and −0.4098. Check with the trace theorem: they add to 0=trL and multiply to 0.3=detL. Write the starting population in the eigenbasis: after k years each piece has been multiplied by λik. The two negative eigenvalues have size less than 1.0847, so their pieces fade relative to the first. Start with 100 young fish. After 12 years the population is (119.6,64.9,30.8), total 215.3. In year 13 the total grows by a factor 1.079, already near 1.0847, and the factor settles at 1.0847: the population grows about 8.5% a year in the long run. The eigenvector for 1.0847 is proportional to (1,0.6/λ,0.3/λ2), which as fractions of the total is (0.553,0.306,0.141). The simulated year-12 fractions are (0.555,0.301,0.143). So the dominant eigenvalue gives the long-run growth rate and the dominant eigenvector gives the stable age mix. (For matrices with no negative entries this behaviour is guaranteed by the Perron–Frobenius theorem; here we saw it by computing.)
Used in the real world· The web: PageRank is an eigenvector (preview of 2.11)
Take a web of three pages. Page 1 links to pages 2 and 3, page 2 links to page 3, and page 3 links to page 1. Let each page split one unit of “importance” equally among the pages it links to. The vector r of importances must be reproduced by this sharing: r=Mr, where column j of M shows how page j shares its vote,
M=02121001100.
So r is an eigenvector of M with eigenvalue 1. Solving gives r=(0.4,0.2,0.4). Check: Mr=(0.4,0.2,0.2+0.2)=r. Pages 1 and 3 are twice as important as page 2, because page 3 receives all of page 2’s vote and half of page 1’s. The other two eigenvalues of M are (−1±i)/2, of size 0.707, which is less than 1. So repeated multiplication Mkx shrinks everything except the eigenvalue-1 part: starting from (1,0,0), forty multiplications give (0.4000,0.2000,0.4000). That is how a real search engine finds the ranking of billions of pages, without diagonalizing anything. The original Google method also mixes in a 15% chance of jumping to a random page, so that the process cannot get stuck. Chapter 2.11 builds this properly.
Used in the real world· Data and geometry: principal axes (preview of 3.2 and PCA)
The set of points with 5x2+4xy+5y2=1 is an ellipse tilted at 45°. The matrix of this quadratic expression is S=[5225], with pS=λ2−10λ+21=(λ−7)(λ−3). The eigenvectors are (1,1) for 7 and (1,−1) for 3, and they are perpendicular. In the coordinates u=(x+y)/2 and v=(x−y)/2 along these directions, the equation becomes 7u2+3v2=1, because 5x2+4xy+5y2=3.5(x+y)2+1.5(x−y)2. The semi-axes are 1/7≈0.378 along (1,1) and 1/3≈0.577 along (1,−1). These are the principal axes, and the eigenvalues say how steeply the expression grows in each direction (a bigger eigenvalue gives a shorter axis). If S were the covariance matrix of two correlated measurements, the same eigenvectors would be the directions of greatest and least spread, with variances 7 and 3. That is principal component analysis (PCA), which keeps the directions with the largest eigenvalues. The fact that the two eigenvectors are perpendicular is not luck: it holds for every symmetric matrix (you can prove it in 2.9, and the spectral theorem in 3.1 makes it complete).
Used in the real world· Physics (B): quantum energy levels are eigenvalues
In quantum mechanics a particle is described by a function ψ, and its possible energies are the eigenvalues of an operator H (the Hamiltonian): Hψ=Eψ. For a particle trapped in a box [0,L] with ψ(0)=ψ(L)=0, H=−2mℏ2dx2d2. This is the second-derivative operator from Apostol 4.4 #9 (see the stretch problem below). Its eigenfunctions are ψn=sin(nπx/L), because ψn′′=−(nπ/L)2ψn, and its eigenvalues are
En=2mL2n2π2ℏ2,n=1,2,3,…
Only these energies are allowed. For an electron (m=9.109×10−31 kg) in a box 1 nm wide, E1=6.02×10−20 J =0.376 eV, E2=4E1=1.50 eV, E3=9E1=3.38 eV. A jump from level 2 to level 1 releases 3E1=1.128 eV, a photon of wavelength about 1240/1.128≈1100 nm (infrared). A quantum dot is a tiny box of this kind, and shrinking it increases En (it grows like 1/L2), which is why its colour depends on its size.
A preview· Preview: what the later chapters do with this
Three failures happened above: a repeated eigenvalue with too few eigenvectors (the shear), complex eigenvalues (the rotation), and in general a basis of eigenvectors that is not perpendicular. Chapter 3.6 (Jordan form) repairs the first: every matrix over C is similar to a matrix that is diagonal except for a few 1s directly above the diagonal, and the shear is the smallest example. Chapter 3.1 (the spectral theorem) says that a real symmetric matrix always has real eigenvalues and a perpendicular eigenbasis, as in the ellipse above. Spagnolie also stated the Schur decomposition: every square matrix is A=QTQH with Q having perpendicular unit columns (unitary, so QH, its conjugate transpose, is its inverse) and T upper triangular, with the eigenvalues on its diagonal. It is a weaker form of diagonalization that always works. A defective matrix such as [2121−2123] (repeated eigenvalue 1, one eigenvector) has A99=21[−9799−99101], found from A=I+N with N2=O. The Cayley–Hamilton theorem (pA(A)=O for every square matrix) is proved in the problems below for diagonalizable matrices only. And chapter 2.11 uses the eigenvalue 1 of a Markov matrix to find where a random process settles.
Traps
Watch out· The zero vector is never an eigenvector, but 0 can be an eigenvalue
If you solve (A−λI)x=O and get only x=O, then λ is not an eigenvalue. If the eigenvalue λ=0 appears, it is a real eigenvalue and it means A is not invertible (its eigenvectors are the non-zero null space vectors).
Watch out· 'The' eigenvector is a whole line, so answers differ and both are right
If you get (1,−1) and a classmate gets (−2,2), you may both be right. Multiples of an eigenvector are eigenvectors. To check your own answer, never compare with someone else’s: multiply A times your vector and see whether you get λ times it. As Spagnolie wrote on Piazza (@92), if your steps were sound and your arithmetic correct, you are guaranteed the right form, but it is always worth the check if you have time.
Watch out· Order matters in C D C⁻¹
The k-th column of C must be the eigenvector for the k-th diagonal entry of D. Swap two eigenvalues in D and you must swap the same two columns of C. The inverse goes on the right in A=CDC−1. Apostol writes the same thing as B=C−1AC (so his B is our D). Spagnolie writes UΛU−1. They are all the same statement.
Watch out· A repeated eigenvalue does not decide anything
Repeated eigenvalue does not mean “not diagonalizable” (the identity is diagonal) and it does not mean “diagonalizable” (the shear is not). Count eigenvectors: the geometric multiplicity must equal the algebraic multiplicity for every eigenvalue. Distinct eigenvalues, on the other hand, are a guarantee that the matrix is diagonalizable.
Watch out· Same eigenvalues does not mean similar
The identity and the shear both have only the eigenvalue 1 (twice), but they are not similar: if A=CIC−1 then A=I. Similar matrices must share their characteristic polynomial (so trace, determinant and eigenvalues), but sharing them is not enough. To show two matrices are not similar, Spagnolie’s method (Piazza @87, @90, HW10) is to assume AC=CB for an unknown C and show C must be singular.
Watch out· Eigenvalues of A + B and AB are not sums and products
The trace theorem is about one matrix. For A=[1011] and B=[1101] both eigenvalues are 1 and 1. But AB=[2111] has trace 3, not 1+1=2, and eigenvalues 23±5. Eigenvalues combine nicely only when the matrices share eigenvectors.
Watch out· Real matrix, complex eigenvalues
‘No real eigenvalue’ does not mean ‘no eigenvalue’. A rotation by 90° has the eigenvalues ±i. When the question says ‘over R’ and the characteristic polynomial has no real roots, the answer is that no real eigenvector exists, and you should not force one.
Watch out· Two characteristic polynomials in the books
Apostol and Spagnolie use det(λI−A), which starts with +λn. Other books (and some calculators) use det(A−λI), which starts with (−1)nλn. The roots are identical, so eigenvalues are unaffected, but the constant term has the opposite sign when n is odd.
Problems
check
Which of (2,−2), (0,0), (1,1) are eigenvectors of A=[3012]? Give the eigenvalue where there is one.
Solution
A(2,−2)=(6−2,−4)=(4,−4)=2(2,−2): yes, with λ=2. (0,0) is never an eigenvector, by definition. A(1,1)=(4,2) is not a multiple of (1,1): no.
checkLecture 16
Find the eigenvalues of 20053071−1 without expanding anything. What are its trace and determinant?
Solution
The matrix is upper triangular, so det(λI−A)=(λ−2)(λ−3)(λ+1) and the eigenvalues are the diagonal entries 2,3,−1. The trace is 2+3−1=4 and the determinant is 2⋅3⋅(−1)=−6, which are the sum and product of the eigenvalues.
checkMATH 375 HW9 (Apostol 3.17 #3a)
The matrix A=[023−1] has trace −1 and determinant −6. Write down its characteristic polynomial and its eigenvalues without computing det(λI−A) directly.
Solution
For a 2×2 matrix, pA(λ)=λ2−(trA)λ+detA=λ2+λ−6=(λ+3)(λ−2). The eigenvalues are −3 and 2. Direct check: det[λ−2−3λ+1]=λ(λ+1)−6, the same.
check
Does the rotation by 90°, [01−10], have an eigenvector in R2? Explain in one sentence using the picture.
Solution
No. Its characteristic polynomial λ2+1 has no real root. In the picture, a quarter turn sends every direction to a different direction, so no line stays on itself.
useApostol 4.10 #2(b), MATH 375 HW10
Diagonalize A=[1524]: find C and D with A=CDC−1.
Solution
Trace 5, determinant 4−10=−6, so pA=λ2−5λ−6=(λ−6)(λ+1). For λ=6: A−6I=[−552−2], so 5x=2y and u1=(2,5). For λ=−1: A+I=[2525], so x=−y and u2=(−1,1). Then C=[25−11] (determinant 7), D=diag(6,−1) and C−1=71[1−512]. Check: CD=[12301−1] and CDC−1=71[7351428]=[1524].
useApostol 4.10 #2(d), MATH 375 HW10
Is A=[2−110] diagonalizable?
Solution
Trace 2, determinant 1, so pA=λ2−2λ+1=(λ−1)2 and m(1)=2. A−I=[1−11−1] gives x+y=0, so E(1) is spanned by (1,−1) and g(1)=1. Since g<m, A is not diagonalizable.
useMATH 375 Lecture 18
For A=[74−8−5] find a formula for Ak, and then A100.
Solution
Trace 2, determinant −35+32=−3, so pA=λ2−2λ−3=(λ−3)(λ+1). For 3: 3I−A=[−4−488] gives u1=(2,1). For −1: −I−A=[−8−484] gives u2=(1,1). With C=[2111], C−1=[1−1−12], and Dk=diag(3k,(−1)k):
Check k=1: [74−8−5]. Check k=2: [178−16−7], which equals A⋅A. For k=100, (−1)100=1:
A100=[2⋅3100−13100−12−2⋅31002−3100].
useApostol 4.4 #7, MATH 375 HW9
Let V be the continuous functions on R for which ∫−∞xf(t)dt exists for every x, and let T(f)(x)=∫−∞xf(t)dt. Show that every positive λ is an eigenvalue of T, meaning there is a non-zero f in V with T(f)=λf.
Solution
Fix λ>0 and let f(x)=ex/λ. It is continuous. Then ∫−∞xet/λdt=λex/λ, which exists because 1/λ>0 makes et/λ→0 as t→−∞. So f∈V and T(f)=λf, with f=O. (Conversely, if Tf=λf then f=λ−1∫f is differentiable with λf′=f, so f=Kex/λ, and for λ<0 this blows up at −∞ so the integral does not exist. So only positive λ occur.)
proveApostol 4.8 #10, MATH 375 HW9
Prove that A and AT have the same characteristic polynomial. Do they have the same eigenvectors?
Solution
(λI−A)T=λIT−AT=λI−AT, because IT=I and the transpose of a difference is the difference of transposes. A matrix and its transpose have the same determinant (2.7). So det(λI−AT)=det((λI−A)T)=det(λI−A). The eigenvectors can differ: for A=[3012] the eigenvector for 3 is (1,0), but AT=[3102] has (1,1) for 3, since AT(1,1)=(3,3).
proveApostol 4.4 #2, MATH 375 HW9
Let Ax=λx with x=O. (a) For a polynomial q(t)=c0+c1t+⋯+cmtm, prove q(A)x=q(λ)x, where q(A)=c0I+c1A+⋯+cmAm. (b) If A is invertible, prove λ=0 and A−1x=λ−1x.
Solution
(a) By the worked example above, Ajx=λjx for j≥1, and A0x=Ix=x=λ0x. Then q(A)x=c0x+c1λx+⋯+cmλmx=q(λ)x by linearity.
(b) If λ=0 then Ax=O with x=O, so A is not one-to-one, contradicting invertibility. So λ=0. Apply A−1 to Ax=λx: x=λA−1x. Divide by λ: A−1x=λ−1x.
proveApostol 4.10 #1, MATH 375 HW10
Prove that A=[1011] and I have the same eigenvalues but are not similar.
Solution
Both have characteristic polynomial (λ−1)2, so the eigenvalues coincide (1, twice). Suppose A=CIC−1 for some invertible C. Then A=CC−1=I, which is false. So no such C exists, and A is not similar to I. (In general the identity is similar only to itself.)
provesupports Apostol 4.9
Prove that tr(AB)=tr(BA) for n×n matrices, and deduce tr(C−1AC)=trA.
Solution
The (i,i) entry of AB is ∑jaijbji, so tr(AB)=∑i∑jaijbji. Likewise tr(BA)=∑j∑ibjiaij. These are the same double sum with the order of summation exchanged and the factors in the other order, so they are equal. Then tr(C−1(AC))=tr((AC)C−1)=trA, applying the first part with the matrices C−1 and AC.
proveApostol 4.4 #4, MATH 375 HW9
Let T be a linear map from V to V. If λ2 is an eigenvalue of T2=T∘T (for a real number λ), prove that λ or −λ is an eigenvalue of T.
Solution
Let x=O with T2x=λ2x. Since T commutes with I, (T−λI)(T+λI)=T2−λ2I, so (T−λI)((T+λI)x)=O. Let y=(T+λI)x. If y=O, then Tx=−λx with x=O, so −λ is an eigenvalue. If y=O, then (T−λI)y=O says Ty=λy with y=O, so λ is an eigenvalue. Either way one of them is.
stretchApostol 4.4 #9, MATH 375 HW9 (the answer key shows only one half of the argument)
Let V={f∈C2[0,π]:f(0)=f(π)=0} (twice continuously differentiable functions that vanish at both ends) and T(f)=f′′. Here f′′ is only continuous and need not vanish at the ends, so T(f) may leave V. An eigenfunction here means a non-zero f in V with f′′=λf. Prove that the eigenvalues of T are exactly −n2 for n=1,2,3,…, with eigenfunctions csinnt.
Solution
Each sinnt is in V (it vanishes at 0 and π) and (sinnt)′′=−n2sinnt, so −n2 is an eigenvalue. (The key’s printed pair (n2,sinnt) has the wrong sign.) Now suppose f=O, f∈V, f′′=λf. The solutions of this equation are known from MATH 376.
λ>0, w=λ: f=Aewt+Be−wt. f(0)=0 gives B=−A. f(π)=A(ewπ−e−wπ)=0 and ewπ=e−wπ force A=0, so f=O. No eigenvalue.
λ=0: f=a+bt. f(0)=0 gives a=0 and f(π)=bπ=0 gives b=0. No eigenvalue.
λ=−w2, w>0: f=c1coswt+c2sinwt. f(0)=0 gives c1=0. Then f(π)=c2sinwπ=0 with c2=0 (else f=O) forces sinwπ=0, so w is a positive integer n.
So the eigenvalues are exactly −n2, and E(−n2) is spanned by sinnt. This same computation gives the quantum energy levels En∝n2 above.
Let A be a diagonalizable n×n matrix with characteristic polynomial p. Prove p(A)=O. Then check it for A=[1524].
Solution
Let u1,…,un be an eigenbasis with eigenvalues λ1,…,λn. By part (a) of the problem on polynomials, p(A)uk=p(λk)uk=0⋅uk=O, because each λk is a root of p. So p(A) sends every basis vector to O. Every x is ∑ckuk, and p(A) is linear, so p(A)x=∑ckp(A)uk=O. Hence p(A)=O. (The theorem is true for every square matrix, but the general proof needs more. Spagnolie said it was “harder, later in the book”; Apostol proves it in section 7.)
For A=[1524] we have p=λ2−5λ−6 and A2=[11251026]. So A2−5A−6I=[11−5−625−2510−1026−20−6]=O.
Summary
An eigenvector of T is a non-zero x with T(x)=λx, a direction that is only stretched. λ is its eigenvalue. The vectors for one λ, plus O, form the eigenspaceE(λ)=N(T−λI), a subspace.
Eigenvectors for different eigenvalues are independent (proof: apply T, subtract λk times the original, induct). So n distinct eigenvalues give a basis.
Eigenvalues are the roots of the characteristic polynomialdet(λI−A), because λI−A must have a non-zero null vector, so be non-invertible. Its form is λn−(trA)λn−1+⋯+(−1)ndetA.
With multiplicity, the trace is the sum of the eigenvalues and the determinant is the product. Similar matrices share all of these, so they belong to the map and not to the basis.
A is diagonalizable iff there is a basis of eigenvectors, iff A=CDC−1. Then Ak=CDkC−1: powers are easy, which gives Fibonacci’s closed form, population growth rates and solutions of y′=Ay.
It fails when an eigenvalue has fewer independent eigenvectors than its multiplicity as a root (g<m, the shear), and over R when the roots are complex (the rotation). Diagonalizable iff g=m for every eigenvalue.
The same idea works on function spaces: eλt for d/dt, sinnt for d2/dt2 with fixed ends (quantum energy levels).
Coming later: Jordan form (3.6) repairs the shear, and the spectral theorem (3.1) says symmetric matrices have a perpendicular eigenbasis.
Watch and read
The same ideas explained by someone else. Use these when an explanation here does not land.
MATH 376: The system y' = Ay is solved by finding eigenvectors: a solution that keeps its direction is e^(λt) times an eigenvector, and every solution is a sum of these. The sign of each eigenvalue says whether that part grows or dies.
CS 240: A recurrence such as Fibonacci is a matrix applied again and again. Its closed form (Binet's formula) is the eigenvalue computation below.
MATH 541: Eigenvalues over any field, the minimal polynomial, and Jordan form, which repairs the matrices that cannot be diagonalized.
CS 532 / AI: PCA keeps the top eigenvectors of a covariance matrix. PageRank is an eigenvector. In a recurrent network, whether the largest eigenvalue of the weight matrix is above or below 1 decides if signals explode or fade.