Contents / Linear Algebra / Eigenvalues and Eigenvectors
Chapter 7
Eigenvalues and Eigenvectors
The characteristic polynomial, diagonalization, complex eigenvalues, powers, and Markov chains.
Introduction
A matrix acting on a vector usually does two things at once: it turns the vector and it changes its length. Those two effects are tangled together, and that is what makes a matrix hard to think about. The whole of this chapter rests on a single observation: for almost every matrix there are a few special directions along which the turning does not happen at all. Along those directions the matrix does nothing but scale, and a scaling is something anyone can understand.
Find those directions and the matrix stops being a block of numbers and becomes a list of stretch factors. Products become products of numbers. Powers become powers of numbers. A hundredth power, which would take ninety-nine matrix multiplications to compute directly, becomes a hundredth power of each of scalars. Long-run behaviour — where a population settles, whether a vibration dies out, what fraction of customers ends up with which brand — is read off from whether those numbers are bigger or smaller than .
The plan is the standard one. First the definition and the eigenspaces, with the one structural theorem that makes everything else work: eigenvectors belonging to different eigenvalues cannot be linearly dependent. Then the characteristic polynomial, which turns "find the special directions" into "find the roots of a polynomial", and which carries the trace and the determinant as its outer coefficients. Then diagonalization — the statement that an eigenbasis exists — with the exact criterion for when it fails. Then the three places where eigenvalues repay the effort: complex eigenvalues and rotation, powers and difference equations, and Markov chains.
Throughout, is a square matrix with real entries unless stated otherwise, and is the identity.
7.1Eigenvalues, eigenvectors and eigenspaces
Definition 7.1 (Eigenvalue and eigenvector). Let be an matrix. A scalar is an eigenvalue of if there is a nonzero vector with
Any such is an eigenvector of corresponding to , and the pair is an eigenpair.
Three details in that definition do real work. The matrix must be square, because and have to live in the same space before they can be compared. The vector must be nonzero, because holds for every scalar whatsoever; allowing would make every number an eigenvalue and the definition would say nothing. The scalar , by contrast, is allowed to be zero: for a nonzero says exactly that has a nontrivial null space, so is an eigenvalue of precisely when is singular. That is the first of many bridges between this chapter and the earlier ones.
Geometrically, is an eigenvector when lies on the line through and . The line is mapped into itself; slides points along it by the factor . If the line is stretched, if it is compressed toward the origin, if the direction is reversed as well, and if the entire line is crushed to the origin.
Notice that the definition is easy to check even though it is hard to solve. Given a candidate , multiply and compare; no theory is needed. Producing the eigenvectors from scratch is the difficult direction, and the next section builds the machine for it.
Intuition. Put a sheet of rubber over the plane and mark a circle of arrows pointing out from the origin. Apply the matrix : every arrow moves, and almost every arrow also swings toward the horizontal, because the horizontal component is tripled while the vertical component is halved. Two arrows do not swing at all — the horizontal one, which merely triples, and the vertical one, which merely halves. Those two are the eigenvectors, and and are their eigenvalues. An arrow at is not an eigenvector: it starts on the line and lands on the line .
Example 7.2 (Checking a candidate). Is an eigenvector of ? Is ?
Solution. Multiply and compare. First
Is a multiple of ? The first entry demands the factor , which would give , not . So is not an eigenvector.
Now
That is not a multiple of either, since a multiple of with first entry is . Neither vector works. Sanity check: the eigenvalues of this turn out to be and (trace , determinant ), and one may verify that and are the eigenvectors — a reminder that a randomly chosen vector is essentially never an eigenvector.□
The eigenvectors for a fixed are not isolated. If then for every scalar , and if and then . Eigenvectors for one eigenvalue are therefore closed under linear combination, once is thrown back in. The clean way to say this is that they form a null space.
Definition 7.3 (Eigenspace). Let be an eigenvalue of . The eigenspace of belonging to is
Its dimension is the geometric multiplicity of . The nonzero vectors of are exactly the eigenvectors for .
The equality is the whole computational content of the definition, and it comes from one line of algebra:
The step that inserts is not decoration. You cannot subtract the scalar from the matrix ; what you subtract is the matrix , which has down the diagonal and zeros elsewhere. Once the equation reads , finding the eigenspace is just the row reduction you already know how to do, and is the number of free variables in the reduced system.
Because an eigenvalue has at least one eigenvector by definition, always. And because is a null space it is a subspace, so it is genuinely a plane or a line or a higher-dimensional flat through the origin, never a scattered set of directions.
Example 7.4 (An eigenspace of dimension two). Let
Show that is an eigenvalue and find a basis for .
Solution. Form and row reduce:
The three rows are identical, so the system collapses to the single equation , i.e. with and free. Writing the general solution in terms of the free variables,
So is an eigenvalue (there are nonzero solutions), a basis for is , and the geometric multiplicity of is : the eigenspace is a plane, and every vector in that plane is doubled by .
Sanity check on the first basis vector: ✓.□
Pitfall. An eigenvector is never unique. Every nonzero multiple of an eigenvector is another eigenvector for the same eigenvalue, and when the eigenspace has dimension or more, so is every nonzero combination of two independent ones. "Find the eigenvector for " is not a well-posed instruction; "find a basis for ", "find the unit eigenvector with positive first entry", or "find " are.
Example 7.5 (A negative eigenvalue: reflection). The matrix swaps the two coordinates of a vector. Find its eigenvalues and eigenspaces geometrically, then confirm them algebraically.
Solution. Geometrically, swapping coordinates is the reflection of the plane across the line . A reflection fixes every vector on its mirror line and reverses every vector perpendicular to it, so we should expect on the line and on the line .
Algebraically: , so ; and , so . Since these are two independent vectors in , the eigenspaces are exactly the two lines and there is nothing else to find.
Check against the invariants: ✓ and ✓ — a reflection reverses orientation, which is what the negative determinant records.□
For one important family, no computation is needed at all.
Theorem 7.6 (Eigenvalues of a triangular matrix). If is upper triangular, lower triangular or diagonal, its eigenvalues are exactly the entries on its main diagonal.
Proof. Suppose is upper triangular with diagonal entries . Then is upper triangular too, with diagonal entries , since subtracting changes nothing off the diagonal. The determinant of a triangular matrix is the product of its diagonal entries, so
This vanishes exactly when equals some . By the equivalence , those are precisely the eigenvalues. The lower triangular case is identical, and a diagonal matrix is both.∎
Remark. The theorem says nothing about the eigenvectors of a triangular matrix, and it must not be stretched that far. The matrix has eigenvalue twice over, yet its eigenspace is only one-dimensional. Reading the eigenvalues off the diagonal is free; finding the eigenspaces is still work.
Example 7.7 (A triangular matrix, read off). Find the eigenvalues of
and determine, without computing anything else, whether is invertible.
Solution. The matrix is upper triangular, so the eigenvalues are the diagonal entries: (appearing twice), and .
Since is not among them, is invertible — the criterion " is an eigenvalue is singular" is exactly the statement singular in eigenvalue clothing. One may confirm it directly: the determinant of a triangular matrix is ✓, and is also the product of the four eigenvalues, which is no accident (see the next section).□
Now the structural theorem of the whole chapter. It is what makes eigenvectors useful as a coordinate system rather than a collection of curiosities.
Theorem 7.8 (Independence of eigenvectors for distinct eigenvalues). Let be eigenvectors of belonging to distinct eigenvalues . Then is linearly independent.
Proof. Suppose not. Among all dependent subsets of the list, the set is dependent, so some is a linear combination of the ones before it; choose the smallest such . Then
and is independent by minimality of . Apply to both sides, using :
Multiply the first equation by and subtract:
Because are independent, every coefficient vanishes: for each . The eigenvalues are distinct, so , forcing . But then , contradicting the requirement that an eigenvector be nonzero. Hence no such exists and the set is independent.∎
The proof is worth rereading, because the trick in it — apply , then subtract times the original relation, and watch one term disappear — recurs constantly. What makes the argument run is precisely that the eigenvalues differ; two eigenvectors for the same eigenvalue may of course be dependent, and in a one-dimensional eigenspace they always are.
Corollary 7.9 (At most distinct eigenvalues). An matrix has at most distinct eigenvalues.
Proof. Eigenvectors for distinct eigenvalues are independent, and any independent set in has at most members.∎
Finally, a handful of rules let you transport a known eigenpair to related matrices with no extra work. Each is one line from the definition.
Proposition 7.10 (Eigenpairs of related matrices). Suppose with . Then the same satisfies
and, if is invertible (so ),
More generally for any polynomial .
Proof. For the power: , and induction continues the pattern. For and , multiply out: and . For the inverse, first note : if then with , so is singular. Apply to to get , then divide by . The polynomial statement follows by combining the three: .∎
Example 7.11 (Using the rules instead of computing). A matrix has eigenvalues . Find the eigenvalues of , of , of , and compute .
Solution. Each rule acts on eigenvalues one at a time, and the eigenvectors never move.
Squaring gives . Inverting gives (legitimate, since is not an eigenvalue, so is invertible). Shifting by gives .
For the determinant, use , so that has eigenvalues , and . Since the determinant is the product of the eigenvalues,
Sanity check by another route: , and . Here and has eigenvalues , so . The product is ✓ — the shift by sent the eigenvalue to , making singular.□
7.2The characteristic polynomial
The definition tells you how to check an eigenvector but not how to find an eigenvalue. Turning into a search procedure needs only one more idea: a null space is nontrivial exactly when the matrix is singular, and singularity is detected by the determinant.
Theorem 7.12 (Characteristic equation). A scalar is an eigenvalue of the matrix if and only if
Proof. is an eigenvalue there is a nonzero with the homogeneous system with coefficient matrix has a nontrivial solution is not invertible . Each equivalence is a clause of the Invertible Matrix Theorem from the earlier chapter on determinants.∎
Definition 7.13 (Characteristic polynomial and algebraic multiplicity). The characteristic polynomial of is
Its algebraic multiplicity at an eigenvalue is the largest such that divides .
Why is a polynomial at all? Expand the determinant by the cofactor formula: every term is a product of entries of , one from each row and column, and each entry is either a constant or a constant minus . A product of such factors is a polynomial in of degree at most , and a sum of them is too.
Proposition 7.14 (Degree, leading coefficient, outer coefficients). For an matrix ,
where . In particular has degree exactly , so by the Fundamental Theorem of Algebra has exactly eigenvalues in when counted with algebraic multiplicity.
Proof. In the cofactor expansion of , exactly one term contains diagonal entries, namely
and this is the only term of degree or : any other term of the expansion omits at least two diagonal entries (a permutation that moves one index must move another), so it contains at most factors involving and has degree at most .
Expanding the displayed product, the coefficient is and the coefficient is , since a term of degree is obtained by choosing the constant from exactly one factor.
For the constant term, set : .∎
Those outer coefficients are the two cheapest facts you can know about a matrix, and they give free checks on every eigenvalue computation.
Theorem 7.15 (Trace and determinant from the eigenvalues). Let be the eigenvalues of in , listed with algebraic multiplicity. Then
Proof. Over the polynomial of degree with leading coefficient factors completely:
(The right-hand side has leading term , matching the previous proposition, and its roots are exactly with the right multiplicities.)
Put : the left side is and the right side is , giving the product formula.
For the sum, read off the coefficient of on the right: a term of that degree comes from taking from all but one factor, so the coefficient is . Comparing with from the proposition and cancelling gives the trace formula.∎
Intuition. For a matrix these two facts are the eigenvalue algorithm. Trace and determinant are the sum and the product of the two eigenvalues, so the eigenvalues are the roots of
For : trace , determinant , so and the eigenvalues are and — obtained without writing a single determinant of a matrix with in it.
Method 7.16 (Finding eigenvalues and eigenspaces). For an matrix :
- Form by subtracting from each diagonal entry.
- Compute . For use ; for expand along the row or column with the most zeros.
- Factor and list its roots with multiplicities. These are the eigenvalues and their algebraic multiplicities.
- Check: the roots must sum to and multiply to .
- For each eigenvalue , row reduce and read a basis of off the free variables. Its size is the geometric multiplicity.
- Check each basis vector by multiplying: should be on the nose.
Example 7.17 (A characteristic polynomial). Find the eigenvalues and eigenspaces of .
Solution. Trace , determinant , so
giving and , each of algebraic multiplicity . Check: ✓ and ✓.
For : , which reduces to the single equation . With free, .
For : , reducing to , so .
Check: ✓ and ✓.□
Example 7.18 (A with a repeated root). Find the characteristic polynomial, the eigenvalues with their algebraic multiplicities, and the geometric multiplicities for
Solution. Every row of sums to , so : without any determinant we already know is an eigenvalue with eigenvector .
For the rest, note , a matrix of rank . So has dimension and is an eigenvalue with geometric multiplicity . The equation is , with basis .
That accounts for three eigenvalues . Check against the invariants: the sum is ✓. The characteristic polynomial is therefore
so the algebraic multiplicity of is , matching its geometric multiplicity, while has both multiplicities equal to . The determinant is ; a direct cofactor computation confirms ✓.□
Example 7.19 (A repeated root whose eigenspace is too small). Find the eigenvalues and geometric multiplicities of
Solution. The matrix is upper triangular, so the eigenvalues are : algebraic multiplicity for and for .
For ,
whose rows force and , leaving only free. So has dimension — strictly less than the algebraic multiplicity .
For , forces then , so , dimension .
In total supplies only independent eigenvectors in . That shortfall is exactly the obstruction studied in the next section.□
Two matrices that represent the same transformation in different coordinates must have the same eigenvalues, since eigenvalues are stretch factors and stretching does not depend on how you label points. The algebraic version of that statement is the following, and it is the reason the characteristic polynomial deserves to be called an invariant.
Theorem 7.20 (Similarity preserves the characteristic polynomial). If for some invertible (that is, and are similar), then . Consequently and have the same eigenvalues with the same algebraic multiplicities, the same trace and the same determinant.
Proof. Because ,
Take determinants and use multiplicativity:
Since the two characteristic polynomials are identical, so are their roots, their multiplicities, and (by the previous results) the trace and determinant read off the outer coefficients.∎
Pitfall. Similarity is a much stronger relation than "same characteristic polynomial". The matrices and have the same characteristic polynomial , yet they are not similar: for every invertible , so the first matrix is similar only to itself. The converse of the theorem is false.
Remark. Also beware of two look-alike relations. Similarity () is not row equivalence: row operations wreck eigenvalues, since row reduces to , whose eigenvalues are . And and do share a characteristic polynomial, because — a fact used later to prove that every stochastic matrix has eigenvalue .
One classical theorem belongs here because it is a statement about the characteristic polynomial, even though its full proof needs more machinery than this chapter develops.
Theorem 7.21 (Cayley–Hamilton). Every square matrix satisfies its own characteristic equation: if , then , the zero matrix.
Proof. For a diagonalizable the argument is immediate and worth seeing now. Write with . For any polynomial one has , because and the identity terms match. Now is the diagonal matrix with entries , and each is a root of , so and hence .
The general case follows because every matrix is a limit of diagonalizable ones (perturb the eigenvalues to make them distinct) and is continuous; a purely algebraic proof uses the adjugate identity and belongs to a later course.∎
Example 7.22 (Cayley–Hamilton as a labour-saving device). Let . Use Cayley–Hamilton to express as a polynomial in , and evaluate the entry of .
Solution. Trace , determinant , so and Cayley–Hamilton gives
Checking the entry directly: , so the entry is ✓ — as the theorem promises for every entry.
Rearranging, , so
Sanity check against the inverse formula ✓.□
7.3Diagonalization
Everything so far has been preparation for one question: when can the eigenvectors of be used as a coordinate system for the whole space? If they can, then in those coordinates does nothing but scale the axes, and every computation with becomes arithmetic with numbers.
Definition 7.23 (Diagonalizable). An matrix is diagonalizable if there exist an invertible matrix and a diagonal matrix with
equivalently . A matrix that is not diagonalizable is called defective.
Theorem 7.24 (The Diagonalization Theorem). An matrix is diagonalizable if and only if has linearly independent eigenvectors.
Moreover, holds exactly when the columns of are independent eigenvectors of and the diagonal entries of are the corresponding eigenvalues, in the same order.
Proof. Let have columns and let . Computing the two sides of column by column:
(The second identity is just the rule that multiplying on the right by a diagonal matrix scales columns.) Hence
() Suppose with invertible. Then , so each column satisfies . Invertibility of makes its columns independent — in particular none is — so each is a genuine eigenvector with eigenvalue , and there are of them, independent.
() Suppose are independent eigenvectors with . Assemble them as the columns of ; independence of vectors in makes invertible. Put . By that equivalence, , and multiplying on the right by gives .
The "moreover" clause is exactly that equivalence read in both directions: the th column of and the th diagonal entry of must be an eigenpair, which is why reordering the columns of forces the same reordering of .∎
The theorem is constructive, and it is worth being explicit about what the two factors mean. The columns of are a basis of eigenvectors, so is the coordinate vector of in that basis. Reading from right to left: convert to eigencoordinates, scale the th coordinate by , convert back. The complicated matrix is a scaling seen through a change of coordinates.
Nothing in the theorem asks for distinct eigenvalues, and nothing asks for a unique answer. The matrix is never unique — rescale a column, or swap two columns together with the matching diagonal entries of , and the factorisation still holds.
Corollary 7.25 (Distinct eigenvalues suffice). If an matrix has distinct eigenvalues, it is diagonalizable.
Proof. Choose one eigenvector for each of the distinct eigenvalues. By the theorem on independence of eigenvectors for distinct eigenvalues, these vectors are independent, so the Diagonalization Theorem applies.∎
Pitfall. The corollary is a one-way street. Distinct eigenvalues imply diagonalizable; diagonalizable does not imply distinct eigenvalues. The identity matrix has the single eigenvalue repeated times and is already diagonal. Answering "is it diagonalizable?" with "no, it has a repeated eigenvalue" is the most common error in this chapter.
What a repeated eigenvalue does is create the possibility of failure, and the precise measure of it is the gap between the two multiplicities.
Theorem 7.26 (Geometric multiplicity is at most algebraic). For every eigenvalue of ,
Proof. The lower bound holds because an eigenvalue has an eigenvector by definition.
For the upper bound, put and choose a basis of . Extend it to a basis of and let be the invertible matrix with these as columns. Since for , the first columns of are , so
for some blocks and . The block triangular determinant rule gives
So divides , and because similar matrices share a characteristic polynomial. Hence the algebraic multiplicity of in is at least .∎
Theorem 7.27 (Diagonalizability criterion). An matrix whose characteristic polynomial factors completely over the scalars in use is diagonalizable if and only if
Equivalently, the geometric multiplicities must sum to .
Proof. Let the distinct eigenvalues be with algebraic multiplicities summing to (this is the hypothesis that factors completely), and geometric multiplicities .
Collecting a basis of each eigenspace produces vectors, and they are independent as a combined set: if a linear combination is zero, group the terms by eigenvalue as with . Were some nonzero, the nonzero ones would be eigenvectors for distinct eigenvalues summing to , contradicting their independence. So each , and then each group's coefficients vanish because each eigenspace basis is independent.
So has independent eigenvectors, and it has no more: any set of eigenvectors decomposes into the eigenspaces, each contributing at most independent members. By the Diagonalization Theorem, is diagonalizable . Since for each by the previous theorem and , the sum equals if and only if for every .∎
Intuition. Think of each eigenvalue as having a budget of dimensions it is entitled to, with the budgets adding to . The eigenspace is what the eigenvalue actually spends. It can never overspend, and diagonalizability means every eigenvalue spends its whole budget. A defective matrix has an eigenvalue that underspends — it claims a double root but only delivers one direction — and the missing dimensions cannot be borrowed from anywhere else.
Method 7.28 (Diagonalizing a matrix).
- Compute and factor it; record each eigenvalue with its algebraic multiplicity.
- For each eigenvalue, row reduce and write down a basis of .
- Compare: if some geometric multiplicity is less than the algebraic one, stop — is defective and no exists.
- Otherwise place the basis eigenvectors as the columns of , in any order you like, and put the matching eigenvalues in the same order along the diagonal of .
- Check column by column. This is cheaper than inverting and catches order errors.
Example 7.29 (Diagonalizing a matrix). Diagonalize
whose eigenvalues were found earlier to be .
Solution. From the earlier computation, and is the plane with basis .
Multiplicities: has algebraic and geometric ; has algebraic and geometric . They match everywhere, so is diagonalizable, with
Check column by column, which avoids inverting . Column 1: ✓. Column 2: ✓. Column 3: ✓.
Note that the answer is not unique: swapping the last two columns of (and, harmlessly here, the matching diagonal entries) gives another valid factorisation, as does scaling any column.□
Example 7.30 (A defective matrix). Show that
is not diagonalizable.
Solution. The eigenvalues are (algebraic multiplicity ) and (algebraic multiplicity ), read off the diagonal.
The eigenspaces were computed in the previous section: and . Since for , the criterion fails and is defective.
It is worth seeing why no clever choice of could rescue it. Diagonalizing would require three independent eigenvectors; but every eigenvector lies in , and the largest independent set available there is , which spans only a plane. The vector is in no eigenspace, so no basis of made of eigenvectors exists.
Sanity check on the diagnosis: , which is not a multiple of , confirming that the second standard basis vector is genuinely not an eigenvector.□
Remark. Defective matrices are not a dead end, only a different normal form. Every square matrix is similar to a Jordan form: block diagonal, with each block a repeated eigenvalue on the diagonal and 's just above it, like the block visible in the example above. That construction, and the powers it yields for defective matrices, are the subject of the chapter on Jordan form.
One large family is always diagonalizable, and beautifully so. The result is proved in the chapter on orthogonality, where the tools for it (orthogonal projections and the Gram–Schmidt process) are available; it is recorded here because it answers "is this matrix diagonalizable?" at a glance for symmetric data.
Theorem 7.31 (Real Spectral Theorem). If is real and symmetric (), then all eigenvalues of are real, eigenvectors for distinct eigenvalues are orthogonal, and is diagonalizable by an orthogonal matrix:
Proof. Only the reality of the eigenvalues is short enough to give here. Let with possibly complex, and write for the conjugate transpose. Then
Taking the conjugate transpose of the left side and using with real gives , so that number is real; and is real and positive. Hence is real. The orthogonality and the construction of appear in the orthogonality chapter.∎
7.4Eigenvectors and linear transformations
Diagonalization was presented as a matrix factorisation. Its real meaning is about coordinates, and stating it that way explains why appears on one side and on the other.
Let be any basis of and write for the coordinate vector of relative to : the column of weights with . Assembling the basis vectors as the columns of gives , so .
Definition 7.32 (Matrix of a transformation relative to a basis). Let and let be a basis of . The matrix of relative to is the matrix satisfying
its th column is .
Theorem 7.33 (Diagonalization is a change of basis). With the matrix whose columns are the basis ,
In particular, is diagonalizable if and only if there is a basis of eigenvectors, and in that basis is diagonal with the eigenvalues on the diagonal.
Proof. For any , and . Since a matrix is determined by its action on all of , .
If consists of eigenvectors, then , whose -coordinate vector is ; that is the th column of a diagonal matrix. Conversely if is diagonal then , so each is an eigenvector.∎
Intuition. Suppose a shop tracks customers as a vector (subscribers, non-subscribers) and the monthly update matrix mixes the two. The standard coordinates are the ones the data arrives in, but they are not the ones the dynamics prefer. Change to the eigenbasis and the two new coordinates — say "total population" and "imbalance between the groups" — evolve completely independently, each multiplied by its own number every month. Nothing about the shop changed; the bookkeeping did.
Example 7.34 (Reading a transformation in its eigenbasis). Let , whose eigenpairs were found above: with and with . Take and compute directly from the definition.
Solution. Apply to each basis vector and express the result in -coordinates.
, so the first column of is .
, so the second column is .
Hence , exactly as the theorem predicts, and no inversion of was needed: writing the image of an eigenvector in the eigenbasis is trivial because the image is a multiple of the vector itself.□
Remark. Similarity is now interpretable: and are similar precisely when they are two matrix descriptions of the same transformation in two different bases. That is why similar matrices share a characteristic polynomial, a trace, a determinant, a rank and a set of eigenvalues — those are properties of the transformation, not of the bookkeeping. They need not share eigenvectors: the vectors get relabelled by .
7.5Complex eigenvalues and rotation
A real matrix can easily have no real eigenvalue at all. The rotation by ,
moves every line through the origin off itself, so no nonzero real vector satisfies . Its characteristic polynomial is , which has no real roots — and two complex ones. Allowing complex scalars is not an evasion; it is the only way to see what a rotation is doing algebraically.
Everything proved so far holds verbatim over : eigenvalues are the roots of , eigenspaces are null spaces of computed with complex arithmetic, and the multiplicity theory is unchanged. One extra symmetry appears when the matrix itself is real.
Theorem 7.35 (Complex eigenvalues of a real matrix come in conjugate pairs). Let be a real square matrix. If is an eigenvalue with eigenvector , then is an eigenvalue with eigenvector , and and have the same algebraic and geometric multiplicities.
Proof. Conjugation commutes with sums and products of complex numbers, so applied entrywise it commutes with matrix multiplication: . Conjugating and using (the entries are real) gives
and since . So is an eigenpair. The multiplicities agree because has real coefficients, so and roots come in conjugate pairs of equal order; conjugation is an invertible map from onto , so the dimensions match too.∎
Corollary 7.36 (Odd size forces a real eigenvalue). Every real matrix with odd has at least one real eigenvalue.
Proof. The complex eigenvalues split into conjugate pairs of non-real ones and a set of real ones. The non-real ones occupy an even number of slots, so with odd at least one slot is left for a real eigenvalue.∎
The geometric content of a complex eigenvalue is entirely contained in one matrix.
Definition 7.37 (Rotation–scaling matrix). For real not both zero, the matrix
is called a rotation–scaling matrix.
Proposition 7.38 (Geometry of ). Let and let be the argument of , so and . Then
so rotates the plane by and scales it by . Its eigenvalues are , each of modulus , and .
Proof. The factorisation is immediate from , , and the remaining matrix is the standard rotation by .
For the eigenvalues, and , so , whose roots are
Their modulus is , and their product is ✓.∎
Intuition. A complex eigenvalue is a rotation and a stretch packaged as one number: is how much the matrix expands each turn and is how far it turns. If the trajectory spirals inward to the origin; if it spirals outward; if it circles forever on an ellipse. That single number decides the fate of the system before any trajectory is computed.
The remarkable fact is that every real matrix with non-real eigenvalues is a rotation–scaling in disguise — that is, similar to a of the above form, using only real matrices.
Theorem 7.39 (Real canonical form in the plane). Let be a real matrix with eigenvalue , , and let be an eigenvector for . Write and set
Then is invertible and
Proof. Write with real. Expanding and separating real and imaginary parts (legitimate since , , are real):
These two equations say exactly that with the stated , since the first column of is and the second is .
It remains to see that are independent, so that is invertible. If for a real (or ), then is a complex multiple of a real vector, so with real and nonzero — forcing real, contradicting . Hence is invertible and .∎
Example 7.40 (A full complex ). Analyse : find its eigenvalues, their modulus and argument, an eigenvector, and the real canonical form.
Solution. Trace , determinant , so
Check: ✓ and ✓.
Modulus: . Argument of : radians, about . So each application of turns the plane roughly and expands it by ; areas scale by ✓.
Take and solve . The first row reads
Choosing gives , so . (The second row, , gives ✓, as it must for a singular matrix.)
Now split into real and imaginary parts: and , so
Verify by checking instead. Left: . Right: ✓.
So in the coordinate system given by and , the map is a rotation by together with a stretch by . Trajectories spiral outward.□
Pitfall. Two sign conventions trip people up. First, choose the eigenvector for (the one with negative imaginary part) if you want exactly as written; the conjugate eigenvector produces , a rotation the other way. Second, , not — a rotation–scaling by multiplies areas by .
Example 7.41 (Eigenvalues of a pure rotation). Find the eigenvalues of the rotation matrix and say for which it has a real eigenvector.
Solution. Here , , so is already a rotation–scaling matrix with . Its eigenvalues are
both of modulus : a rotation neither expands nor contracts, and ✓.
These are non-real unless , i.e. (where , every vector an eigenvector with ) or (where , every vector an eigenvector with ). For every other angle there is no real eigenvector, which is exactly the geometric statement that a genuine rotation leaves no line fixed.□
7.6Powers, difference equations and the Fibonacci numbers
Here is where diagonalization earns its keep. A single matrix product costs about multiplications, so computing head-on is out of the question by hand. Diagonalized, it costs nothing beyond raising numbers to the fiftieth power.
Theorem 7.42 (Powers of a diagonalizable matrix). If with , then for every integer
If is invertible the formula also holds for negative , with .
Proof. Induct on . The case is the hypothesis. Assuming ,
The inner collapsing is the entire trick, and it is why the factorisation must have on the left and on the right. That is the diagonal matrix of th powers is immediate from multiplying diagonal matrices entrywise. For , note , and negative powers follow by induction on .∎
Intuition. Squaring a matrix by hand is about twenty-seven multiplications; the fiftieth power by repeated squaring is still a dozen such rounds, with the entries growing into numbers no one wants to write down. In the eigenbasis the same computation is three calls to a power function. The matrix was never the hard part — the coordinates were.
Example 7.43 (A fiftieth power). Let , with eigenpairs , and , from before. Find a formula for and evaluate the entry of .
Solution. Take and . Then , so
Hence
which multiplies out to
Check at : ✓. Check the trace at general : , the sum of the eigenvalues of ✓.
So the entry of is .□
A difference equation of order becomes a matrix power once the last values are stacked into a vector. The classic case is the one Fibonacci wrote down in 1202.
Example 7.44 (A closed form for the Fibonacci numbers). The Fibonacci numbers are , and . Find a formula for that involves no recursion.
Solution. Stack two consecutive terms: let . The recurrence says
so and everything reduces to powers of .
Eigenvalues: trace , determinant , so and
distinct, so is diagonalizable. For an eigenvalue , has second row , so works. Thus and .
Expand the initial vector in this eigenbasis: solve . The second coordinate gives , and the first gives . Since , we get and . Therefore
and reading off the second coordinate (which is ) gives Binet's formula
Check at : ✓. At : , so ✓. At : , , difference — dividing by gives ✓.
Notice what the formula reveals that the recursion hides: , so the second term dies away, and is the nearest integer to . The Fibonacci numbers grow geometrically with ratio the golden ratio, and the dominant eigenvalue is the reason.□
Remark. The last observation is the idea behind the power method, the standard numerical algorithm for a large matrix's dominant eigenvalue. Write in an eigenbasis with . Then
and every ratio . So repeatedly multiplying by and rescaling to keep the length under control drives the vector toward the dominant eigenvector, and the factor by which it grows each step approaches . It needs and a strictly dominant eigenvalue, and it converges at the rate .
7.7Discrete dynamical systems
A system whose state is a vector and whose update rule is a fixed matrix is a discrete dynamical system:
so that . Populations split into age classes, predator–prey models, and the Markov chains of the next section all have this form. The question is never "what is " but "what happens in the long run", and the eigenvalues answer it.
Theorem 7.45 (Solution in an eigenbasis). Suppose is diagonalizable with eigenpairs forming a basis, and write the initial state as . Then
Proof. Apply to the expansion and use term by term, which is the proposition on eigenpairs of related matrices.∎
The formula makes the long-run behaviour transparent: each eigendirection evolves on its own, and its weight is multiplied by every step. Direction dies out if , blows up if , and holds steady if . Whichever eigenvalue is largest in modulus eventually dominates every other term, so — unless its coefficient happens to be zero — the trajectory lines up with the corresponding eigenvector.
Definition 7.46 (Classification of the origin). For with a real matrix, the origin is
- an attractor (sink) if for every eigenvalue: all trajectories tend to ;
- a repeller (source) if for every eigenvalue: all trajectories except grow without bound;
- a saddle point if one eigenvalue has and another : trajectories are pulled in along one eigendirection and pushed out along the other.
With complex eigenvalues the same trichotomy applies with , and the trajectories spiral: inward for , outward for , and around a closed ellipse when .
Intuition. Picture a marble on a landscape that is redrawn by at every tick. An attractor is a bowl — release the marble anywhere and it rolls to the bottom. A repeller is the top of a hill. A saddle is a mountain pass: approach along the ridge running down into the pass and you slide in, but the least push along the other axis sends you away. That is why saddle points are so delicate in practice: the stable direction is exactly one line, and no real trajectory stays on it once rounding errors appear.
Example 7.47 (A saddle point). Classify the origin for with
and describe the trajectory starting at .
Solution. is lower triangular, so the eigenvalues are and . Since , the origin is a saddle point.
Eigenvectors: for , forces , so . For , gives , so .
Expand : solving gives from the first coordinate and then . So
The second term shrinks to zero while the first grows, so the trajectory escapes to infinity along the direction — its slope tends to . Check : the formula gives , and directly ✓.□
Example 7.48 (A spiral). Classify the origin for .
Solution. This is a rotation–scaling matrix with , , so its eigenvalues are with modulus
Since exactly, trajectories neither grow nor decay: the matrix is the rotation by , and every trajectory travels forever around the circle through . The origin is neither an attractor nor a repeller — it is a centre.
Sanity check: , so areas are preserved, consistent with a pure rotation ✓. Change the matrix to and the eigenvalues become , modulus : an inward spiral, and the origin becomes an attractor.□
Pitfall. The classification uses , not . The matrix has both eigenvalues negative but both of modulus greater than , so the origin is a repeller — trajectories flip sides at every step while marching outward. Similarly contributes decay, not growth.
7.8Markov chains and steady states
The single most common dynamical system in applications keeps track of how a fixed population is distributed among finitely many states, and moves a fixed fraction from each state to each other state at every step.
Definition 7.49 (Stochastic matrix and probability vector). A probability vector is a vector with non-negative entries summing to . A square matrix is (column) stochastic if every column is a probability vector: all entries are non-negative and each column sums to . The sequence with a probability vector is a Markov chain, and is its state vector after steps.
The entry is read as the probability that an item currently in state moves to state next step; the column sums are because the item must go somewhere. A first consequence is that a Markov chain conserves total mass: if the entries of sum to then so do those of , because summing the entries of groups into .
Theorem 7.50 (Every stochastic matrix has eigenvalue ). If is column stochastic, then is an eigenvalue of , and every eigenvalue of satisfies .
Proof. The column sums of are the row sums of , so where . Hence is an eigenvalue of . Since , the matrices and have the same characteristic polynomial, so is an eigenvalue of as well.
For the bound, let with , and let be an entry of largest modulus. Row of reads , so
Dividing by gives , and the same eigenvalues serve for .∎
Note the proof produces the eigenvector for , not for . The eigenvector of itself is a genuinely new object and is the point of the whole theory.
Definition 7.51 (Steady-state vector). A steady-state (or equilibrium) vector for a stochastic matrix is a probability vector with
Equivalently, is an eigenvector for , normalised so that its entries sum to .
Definition 7.52 (Regular stochastic matrix). A stochastic matrix is regular if some power has all entries strictly positive.
Theorem 7.53 (Perron–Frobenius for regular chains). If is a regular stochastic matrix, then is a simple eigenvalue, every other eigenvalue satisfies , and has a unique steady-state vector , whose entries are all strictly positive. Moreover, for every initial probability vector ,
and the columns of all converge to .
Proof. The full proof is a highlight of matrix analysis and is beyond this chapter, but the convergence half is transparent when is diagonalizable. Write in an eigenbasis with and for . Then
because each . Finally : the entries of every sum to , the entries of sum to , and the entries of each () sum to — for if is an eigenvector for , applying the mass-conservation identity gives , forcing . Taking the sum of entries on both sides of the expansion therefore yields .
What the regularity hypothesis buys is exactly the two facts assumed here: no other eigenvalue on the unit circle, and simple.∎
Pitfall. Regularity is not a technicality. The stochastic matrix swaps the two states every step; its powers alternate between and and never become positive. Its eigenvalues are and , the second of modulus , and the chain starting at oscillates forever instead of converging. A steady state still exists — — but nothing approaches it.
Intuition. Imagine a thousand rental cars shuffled between depots by a fixed set of percentages every night. Individual cars keep moving forever — nothing settles down at the level of a single car. What settles is the count at each depot: eventually as many cars arrive at depot each night as leave it, and the numbers stop changing even though the cars do not. The steady-state vector is that balance of flows, and is precisely the statement "arrivals equal departures, everywhere at once".
Method 7.54 (Finding the steady state).
- Form .
- Solve the homogeneous system by row reduction. The solution space is a line when is regular.
- Take any nonzero solution and divide it by the sum of its entries. The result is the unique steady-state probability vector.
- Check: should return exactly, and the entries of should sum to .
Example 7.55 (Long-run market share). Each year, of city dwellers stay in the city and move to the suburbs; of suburbanites move to the city and stay. With state vector the transition matrix is
If the population starts city and suburb, what is the distribution after one year, and what is the long-run distribution?
Solution. Confirm is stochastic: the columns sum to and ✓, and all entries are positive, so is regular.
After one year,
entries still summing to ✓.
For the steady state, solve :
so , i.e. . Taking gives ; dividing by the entry sum ,
Check: ✓. In the long run live in the city and in the suburbs, regardless of the starting split.
The second eigenvalue is worth knowing too: and one eigenvalue is , so the other is . The deviation from equilibrium therefore shrinks by a factor each year — about years to cut the gap by , since .□
Example 7.56 (A three-state chain). A rental company has depots , , . Of the cars at , half stay and a quarter go to each of and ; of those at , half stay, a quarter goes to and a quarter to ; of those at , all move to . Find the long-run distribution of the fleet.
Solution. Columns are "from", rows are "to":
with column sums ✓. Every entry of is positive (each depot can reach every depot in two steps), so is regular.
Solve , i.e. the system
From the second equation, . Substituting into the third, . Check against the first: ✓ (the three equations must be dependent, since is an eigenvalue).
Take : then and , so an unnormalised steady vector is with entry sum . Normalising,
Check the first component of : ✓. In the long run about of the fleet sits at , at and at .□
Summary. The chapter in one page.
is an eigenvalue of iff ; the eigenspace is , and algebraic multiplicity.
The characteristic polynomial has degree , and , . Similar matrices share it.
is diagonalizable iff it has independent eigenvectors, iff every geometric multiplicity equals the algebraic one. distinct eigenvalues is sufficient, never necessary. Real symmetric matrices always qualify.
, which solves as . Behaviour is decided by : attractor, repeller, saddle, or spiral.
Real matrices have complex eigenvalues in conjugate pairs; means rotation by and scaling by , made explicit by with .
A regular stochastic matrix has a unique positive steady state with , and every chain converges to it.
- **Calling an eigenvector.** for every , so the zero vector is excluded by definition. The eigen*space*, however, does contain — it is a subspace.
- **Writing . ** You cannot subtract a scalar from a matrix. The correct object is , which subtracts from each diagonal entry only.
- Concluding "repeated eigenvalue, therefore not diagonalizable." has one eigenvalue repeated times and is already diagonal. A repeated eigenvalue is only a warning to compute and compare it with the algebraic multiplicity.
- Concluding "diagonalizable, therefore invertible", or the reverse. is diagonal and singular; is invertible and defective. Invertibility is about whether is an eigenvalue; diagonalizability is about multiplicities.
- **Mismatching the columns of and the diagonal of . ** The th column of must be an eigenvector for the th diagonal entry of . Reordering one without the other silently produces a wrong matrix; checking column by column catches it.
- **Using for the eigenvalue of . ** The rule is , and it needs . Likewise the eigenvalues of are , not .
- **Assuming or can be read off from the eigenvalues of and . ** They cannot, unless and share an eigenvector. and both have eigenvalues , but their sum has eigenvalues and .
- Forgetting the sanity checks. The eigenvalues must sum to the trace and multiply to the determinant. These two tests take seconds and catch almost every arithmetic slip in a characteristic polynomial.
- **Classifying a dynamical system by the sign of instead of . ** decays; grows. For complex eigenvalues the relevant quantity is the modulus .
- Normalising a steady-state vector to unit length. A steady-state vector is scaled so that its entries *sum to *, not so that its norm is — it is a distribution, not a direction.