Eigenvalue Diagonalization
Eigenvalue Decomposition, Diagonalization, and Matrix Powers
1. The eigenvalue equation in matrix form
For a square matrix A∈Rn×n, an eigenvector si∈Rn and its eigenvalue λi∈R satisfy
Applying A to an eigenvector therefore changes its scale but not its direction.
Suppose A has k eigenvectors being considered. Place them as the columns of a matrix:
Place the corresponding eigenvalues on the diagonal of a matrix Λ:
The ordering must match: the eigenvalue λi on the diagonal of Λ must correspond to the eigenvector si in column i of S.
Multiplying A by S applies A to each column of S:
Multiplying S by Λ scales each column si by its corresponding eigenvalue. Thus,
The matrix equation AS=SΛ is the eigenvalue equation written for several eigenvectors at once. It holds whether or not there are enough eigenvectors to form a basis.
2. Diagonalization
If an n×n matrix A has n linearly independent eigenvectors, those eigenvectors form a basis for Rn. In that case, the eigenvector matrix S is square and invertible.
Starting from
multiply on the right by S−1:
This factorization is called the eigendecomposition or diagonalization of A.
S contains the eigenvectors as columns.
Λ is diagonal and contains the corresponding eigenvalues.
S−1 converts from eigenvector coordinates back to the original coordinates.
The diagonal matrix Λ makes many operations on A easier. However, not every matrix can be diagonalized: the matrix must have enough linearly independent eigenvectors. The discussion here focuses on real eigenvalues and eigenvectors; more generally, some real matrices require complex eigenvalues and eigenvectors.
3. Computing powers of a diagonalizable matrix
Using A=SΛS−1, the square of A is
Because S−1S=I, the middle factors cancel:
The same cancellation occurs for higher powers, giving
Since Λ is diagonal, its power is especially easy to compute:
Thus, raising A to a large power can be reduced to raising each eigenvalue to that power, followed by matrix multiplications.
Computational benefit
If a general matrix multiplication costs roughly np operations, where p is the matrix-multiplication exponent, computing Ak by repeated multiplication costs roughly knp operations. Once a diagonalization is available, computing Λk takes about n scalar exponentiations, and forming SΛkS−1 requires two matrix multiplications. The cost is therefore roughly
in addition to the cost of finding the decomposition.
For large k, reusing the same decomposition can make the calculation substantially more efficient. The advantage is less compelling when only one small power is needed, because computing the eigendecomposition also has a cost.
4. Inverses and negative powers
The inverse of a product reverses the order of the factors. If A=SΛS−1, then
The inverse of a diagonal matrix is obtained by taking the reciprocal of each diagonal entry:
This requires every eigenvalue to be nonzero. More generally, for an invertible diagonalizable matrix,
where the diagonal entries of Λ−k are λi−k.
5. Matrix powers in evolving systems
Many mathematical models describe a system using a state vector. Its components represent measurements or quantities that describe the system at a particular step. A matrix specifies how the state changes from one step to the next.
A first-order difference equation has the form
where xk is the state at step k. Repeated substitution gives
Diagonalization makes the long-term behavior of such a system easier to analyze. The powers of the eigenvalues indicate whether different components of the state grow, shrink, or remain constant.
This type of state-transition model is also related to a Markov chain. In a Markov model, the next state depends on the current state, and transition probabilities are encoded in a matrix. The exact placement of probabilities in the matrix depends on whether states are represented as column or row vectors.
A second-order difference equation depends on both of the two preceding states. It can often be rewritten as a first-order matrix equation by putting the current and preceding values together into a larger state vector.
6. Matrix exponentials
The scalar exponential has the Taylor series
A matrix exponential is defined by the corresponding series:
If A is diagonalizable, then its powers can be computed through Λ, so the series can be evaluated through the eigenvalues. In particular,
where eΛ is diagonal with entries eλi.
Matrix exponentials are important in solving systems of differential equations, just as matrix powers are useful for discrete-time systems.
7. State vectors expressed in an eigenbasis
If A has n linearly independent eigenvectors, those eigenvectors form a basis. Any initial state x0∈Rn can be expressed as a linear combination of them:
In matrix form,
where c is the vector of coordinates of x0 in the eigenvector basis.
Applying A to x0 gives
After k steps,
Each eigenvector component evolves independently by a factor of λik. This provides a direct way to understand the behavior of a system:
If ∣λi∣>1, the corresponding component grows in magnitude.
If ∣λi∣<1, it decays toward zero.
If ∣λi∣=1, it does not decay in magnitude, though its sign or direction may change.
When one eigenvalue has magnitude strictly larger than all the others, its component often dominates the system’s long-term behavior.
8. Fibonacci numbers as a matrix system
The Fibonacci sequence begins with
and each later term is the sum of the two preceding terms:
This is a second-order difference equation. To express it as a first-order matrix equation, define the state vector
Then
Thus the Fibonacci recurrence is represented by
The initial state is
so xk=Akx0.
Eigenvalues of the Fibonacci transition matrix
The characteristic equation is
For this matrix, it becomes
with roots
The first eigenvalue is the golden ratio, often denoted by ϕ:
The other eigenvalue is approximately −0.618. Since ∣λ1∣>1 and ∣λ2∣<1, the component associated with λ1 grows, while the component associated with λ2 shrinks in magnitude.
An eigenvector corresponding to an eigenvalue λ is
Therefore, eigenvectors for the two eigenvalues are
Closed-form Fibonacci formula
Write the initial state as a combination of the eigenvectors:
Using x0=[1,0]T gives
Solving yields
Consequently,
The second component of xk is Fk, so
This is an exact closed-form expression for the Fibonacci numbers. Because ∣λ2∣<1, the term λ2k becomes very small for large k. Therefore,
for large k. The dominant eigenvalue explains why Fibonacci numbers grow approximately like the kth power of the golden ratio.
9. Applications of eigenvalue analysis
Principal Component Analysis
Principal Component Analysis (PCA) uses eigenvalue decomposition of a data set’s covariance matrix. The eigenvectors identify directions of variation in the data, while the associated eigenvalues indicate how much variation occurs in those directions. This allows data to be represented using a smaller number of important directions.
Quantum mechanics and semiconductors
Linear algebra is central to quantum mechanics. The Schrödinger equation is an eigenvalue equation, and the allowed energy levels of a system are eigenvalues of an energy operator called the Hamiltonian. In semiconductors, discrete allowed energy levels and energy gaps help explain how electronic devices work.
Markov chains and PageRank
A Markov chain represents transitions between states using a stochastic transition matrix. Its long-term behavior can be analyzed through eigenvectors and eigenvalues, including steady-state distributions. The PageRank algorithm uses this kind of analysis: a web page’s rank is related to the long-run behavior of a transition process over links between pages.
Hidden Markov models and language processing
Hidden Markov models use state-transition ideas related to Markov chains. They have been applied to tasks such as part-of-speech tagging, where a sequence of observed words is used to infer a sequence of underlying grammatical states.
Key takeaways
The eigenvalue equations for several eigenvectors can be written compactly as AS=SΛ.
If A has enough linearly independent eigenvectors, it can be diagonalized as A=SΛS−1.
Diagonalization turns matrix powers into powers of the eigenvalues: Ak=SΛkS−1.
A state evolving by xk+1=Axk satisfies xk=Akx0, and its long-term behavior is governed by the eigenvalues.
The Fibonacci recurrence can be rewritten as a matrix system; its dominant eigenvalue gives both the growth rate and a closed-form expression for the sequence.

Ask anything
We've read this whole study set, so questions about it get the best answers.