Start with the vector and apply the matrix with rows and again and again. The outputs , and follow no obvious pattern, and the fiftieth one seems to need fifty multiplications. Yet in a well-chosen pair of coordinates the same matrix only stretches one axis by and leaves the other alone, and then every power is easy to write down. This lesson builds those coordinates from eigenvectors, writes the matrix as , and shows how to recognize a matrix for which no such coordinates exist. Here and below, a tuple such as stands for a column vector.
Key terms
Eigenbasis
Definition Let be a real matrix. An eigenbasis of is an ordered basis of in which every vector is an eigenvector of , so that for real numbers . The eigenvalues in this list need not be distinct. The eigenvector matrix is invertible because its columns form a basis, and denotes the diagonal matrix with on its diagonal in the same order. The coordinates of a vector in this basis, its eigen-coordinates, are
A few eigenvectors are not enough. The list must contain linearly independent eigenvectors.
In plain words An eigenbasis is a set of axes along which the matrix only stretches, shrinks or flips. Each axis comes with its own factor, the eigenvalue.
Example Let be the matrix with rows and . The vectors and satisfy and . The matrix
has determinant , so is an eigenbasis of , and the matching diagonal matrix has entries and in that order. The reversed list is also an eigenbasis, but then the diagonal entries must be reversed too, to and .
Diagonalization
Definition A real matrix is diagonalizable over if there are an invertible real matrix and a real diagonal matrix with
Such a factorization is a diagonalization of . The following theorem says exactly which and work. Let be invertible with columns , and let be diagonal with entries . Then if and only if for every , that is, if and only if the columns of form an eigenbasis of with eigenvalues in matching order. The proof compares columns. Since is invertible, is equivalent to , and column of is while column of is . So is diagonalizable over exactly when has an eigenbasis of , and then is the matrix of the map in that eigenbasis. Allowing complex entries in and gives diagonalizability over , and the choice of scalars can change the answer.
In plain words Read from right to left. First finds the eigen-coordinates of , then scales each coordinate by its own eigenvalue, and finally turns the scaled coordinates back into a vector in standard coordinates. Only the middle step carries out the action of . The outer two steps change how the vector is described, not the vector itself.
Example For the eigenbasis of above, , so and
The column check behind it is . Both sides have columns and , which are and .
Matrix powers in eigen-coordinates
Definition If with diagonal, then for every integer
where . The reason is that neighboring factors cancel. For example , and each further factor of cancels one more pair . To apply to a vector , compute its eigen-coordinates , multiply each by , and multiply the result by . If every is nonzero, then is invertible with , and the formula holds for negative as well.
In plain words In eigen-coordinates a power of the matrix is just a power of each eigenvalue. The coordinates never mix, so each one is simply multiplied by its own eigenvalue at every step.
Example For and , the eigen-coordinates are , so . After steps the first coordinate has been multiplied by and the second by , so
For this gives , and direct multiplication agrees, since and . Multiplying out gives the whole power,
Repeated linear update
Definition A repeated linear update is a sequence of vectors in produced by a fixed real matrix through the rule
so that . Such a rule is also called a discrete linear dynamical system. Suppose has an eigenbasis with eigenvalues , and write the starting vector as . Then
A term with grows when , dies out when and stays fixed when , and a negative makes it change sign at every step.
In plain words Split the starting state into eigenvector pieces, let each piece evolve on its own by its eigenvalue, and add the pieces back together. What the update means in an application comes from the equations. The update , given by triples the sum and keeps the difference , so it does not conserve the total.
Example Each year percent of the people in town stay and percent move to town , while percent of the people in stay and percent move to . With listing the populations of and in thousands after years,
The matrix sends to itself and to , so its eigenvalues are and . Starting from , solving gives , and therefore
This gives and , and as grows the populations approach . The total stays because each column of the matrix adds up to .
Diagonalizability test
Definition Let be a real matrix whose distinct real eigenvalues are , and let be the eigenspace of . Then is diagonalizable over if and only if
The reason is that bases of the separate eigenspaces, listed together, always form a linearly independent list. In a linear relation among these vectors, group the terms by eigenspace. Each group adds up to a vector of its eigenspace. If some of these sums were not , they would be eigenvectors for distinct eigenvalues adding up to , which their independence rules out. So every group adds up to , and since each group uses the vectors of one basis, all coefficients are zero. The combined list is an eigenbasis exactly when it has vectors. Conversely, an eigenbasis has at most of its vectors in each , so when one exists the dimensions add up to at least , and the independent combined list shows they never add up to more. Several consequences follow. If has distinct real eigenvalues, it is diagonalizable over , but this sufficient condition is not necessary, as the diagonal matrix with entries below shows. If the characteristic polynomial factors into real linear factors, then is diagonalizable over if and only if every eigenvalue has geometric multiplicity equal to its algebraic multiplicity, since the algebraic multiplicities add up to and no geometric multiplicity exceeds its algebraic one. If has a nonreal root, then is not diagonalizable over . A defective matrix, one with an eigenvalue whose geometric multiplicity is smaller than its algebraic multiplicity, is not diagonalizable even when complex scalars are allowed.
In plain words Count independent eigenvector directions. If they fill the whole space, the matrix can be diagonalized. A repeated eigenvalue causes no trouble when its eigenspace is as large as its multiplicity, and it blocks diagonalization when the eigenspace falls short.
Example The diagonal matrix with entries has a repeated eigenvalue, yet and have dimensions adding up to , so it is diagonalizable. It is already diagonal. By contrast,
has , but has rows and , so has dimension . Every eigenvector of lies on the first axis, so any matrix built from eigenvectors of is singular, and no diagonalization exists. Powers can still be computed directly. They are
for example has rows and . A diagonal matrix with entries would lose the upper right entry. Generalized eigenvectors and the Jordan form describe matrices like .
Check yourself
- The matrix with rows and has eigenvectors for the eigenvalue and for the eigenvalue . Use eigen-coordinates to find , and check the answer by direct multiplication.
Show the answer
Solve . The equations and give and . Scaling each coordinate by the cube of its eigenvalue gives
Direct multiplication gives the chain , , , , which agrees. The negative eigenvalue makes the second piece change sign at every step.
- The matrix with rows and has eigenvalues and . Find an eigenbasis, write , and give a formula for . Check the formula at .
Show the answer
The matrix has rows and , so . The matrix has rows and , so . The two eigenvectors form an eigenbasis, and
Multiplying out gives
At the bracket has rows and , and one third of it is .
- Which of the matrices with rows , with rows and with rows are diagonalizable over ? A classmate says that because is the only eigenvalue of . What is wrong?
Show the answer
The matrix is already diagonal. The matrix is triangular with distinct eigenvalues and , so it is diagonalizable, with eigenvectors and . The matrix has the single eigenvalue with algebraic multiplicity , but has rows and , so has dimension . It is defective and not diagonalizable. The classmate replaced by a diagonal matrix of its eigenvalues, which is valid only with an eigenbasis. In fact has rows and , so . A diagonalizable matrix whose only eigenvalue is would equal , and does not.