Skip to content
Geometry and Algebra

Eigenvalues, eigenvectors and diagonalisation

Definition and geometric meaning, the characteristic polynomial, diagonalisation and multiplicities, uses for matrix powers, dynamical systems, circuits and Fibonacci.

A matrix transforms vectors by rotating and stretching them, but for almost every matrix there are special directions that are not rotated: vectors along those directions are just multiplied by a number. They are the eigenvectors, and the number is the eigenvalue. Finding them means choosing the frame in which the transformation becomes as simple as it gets. The idea underpins the mechanics of vibrations, the stability of control systems, data compression and even Google’s PageRank algorithm.

Definition

Let A be an n\times n matrix. A non-zero vector \mathbf v is an eigenvector of A with eigenvalue \lambda if

    \[ A\mathbf v = \lambda\,\mathbf v \]

The unit circle mapped to an ellipse: eigenvectors keep their direction
The matrix A = \begin{pmatrix}2 & 1\\ 1 & 2\end{pmatrix} maps the circle to an ellipse. The vector \mathbf v_1 along the diagonal is just stretched by 3, \mathbf v_2 stays the same (eigenvalue 1); a generic vector \mathbf w changes direction. The eigenvectors are the axes of the ellipse.

The eigenvectors for the same \lambda, together with the zero vector, form a subspace, the eigenspace V_\lambda = \ker(A - \lambda I).

How to find them: the characteristic polynomial

A\mathbf v = \lambda\mathbf v can be rewritten as (A - \lambda I)\mathbf v = \mathbf 0. This homogeneous system has a non-zero solution if and only if the matrix is not invertible, that is

    \[ p(\lambda) = \det(A - \lambda I) = 0 \]

p(\lambda) is a polynomial of degree n, the characteristic polynomial. Its roots are the eigenvalues; for each one, the eigenvectors are found by solving (A - \lambda I)\mathbf v = \mathbf 0.

Example. For the matrix in the figure:

    \[ \det\begin{pmatrix} 2 - \lambda & 1\\ 1 & 2 - \lambda \end{pmatrix} = (2 - \lambda)^2 - 1 = \lambda^2 - 4\lambda + 3 = (\lambda - 1)(\lambda - 3) \]

  • \lambda = 3: (A - 3I)\mathbf v = \mathbf 0 gives -x + y = 0, eigenvectors t\,(1, 1).
  • \lambda = 1: (A - I)\mathbf v = \mathbf 0 gives x + y = 0, eigenvectors t\,(1, -1).

Two useful checks: the sum of the eigenvalues is the trace (the sum of the diagonal, here 2 + 2 = 4 = 3 + 1) and their product is the determinant (4 - 1 = 3 = 3\cdot 1).

Matrices without real eigenvalues. The 90° rotation, \begin{pmatrix}0 & -1\\ 1 & 0\end{pmatrix}, has characteristic polynomial \lambda^2 + 1: no direction in the plane stays put under a rotation, and the eigenvalues are complex, \pm i. This is why many courses work over the complex numbers, where every polynomial has roots.

Diagonalisation

A is diagonalisable if there is a basis of \mathbb R^n made of eigenvectors. In that basis the matrix becomes diagonal, with the eigenvalues on the diagonal:

    \[ P^{-1}AP = D = \begin{pmatrix} \lambda_1 & & \\ & \ddots & \\ & & \lambda_n \end{pmatrix} \]

where P has the eigenvectors as columns. Indeed AP has columns A\mathbf v_i = \lambda_i\mathbf v_i, that is AP = PD.

When it is diagonalisable

Eigenvectors of distinct eigenvalues are independent. We prove it for two: if a\mathbf v_1 + b\mathbf v_2 = \mathbf 0, applying A gives a\lambda_1\mathbf v_1 + b\lambda_2\mathbf v_2 = \mathbf 0; subtracting \lambda_2 times the first, a(\lambda_1 - \lambda_2)\mathbf v_1 = \mathbf 0, so a = 0 (since \lambda_1 \ne \lambda_2 and \mathbf v_1 \ne \mathbf 0), and then b = 0. For k eigenvectors the same argument works by induction.

It follows that if A has n distinct real eigenvalues, it is diagonalisable. With repeated eigenvalues you need to check: for each eigenvalue the geometric multiplicity (dimension of the eigenspace) must equal the algebraic multiplicity (how many times it is a root of the polynomial). The classic counterexample is \begin{pmatrix}1 & 1\\ 0 & 1\end{pmatrix}: eigenvalue 1 twice, but only one eigenvector (1, 0) up to multiples. It is not diagonalisable.

What it is for

Matrix powers. If A = PDP^{-1}, then A^k = PD^kP^{-1}, and D^k is computed by raising the diagonal entries to the power. For the matrix in the figure, A^{10} only needs 3^{10} and 1^{10}.

Discrete dynamical systems. In \mathbf x_{k+1} = A\mathbf x_k the component along the eigenvector \mathbf v_i is multiplied by \lambda_i at every step. If every eigenvalue has modulus less than 1 the system goes to zero (it is stable); if one has modulus greater than 1 it blows up. IIR digital filters and digital controllers are designed precisely by looking at where the eigenvalues lie.

Differential equations. The system \dot{\mathbf x} = A\mathbf x, which describes for example an RLC circuit or two masses linked by springs, splits in the eigenvector basis into n independent equations \dot y_i = \lambda_i y_i, with solutions e^{\lambda_i t}. The eigenvalues are the “modes” of the system: for a circuit they are the poles, and their real part tells whether the circuit is stable.

Fibonacci. The sequence F_{k+1} = F_k + F_{k-1} can be written with the matrix \begin{pmatrix}1 & 1\\ 1 & 0\end{pmatrix}, whose eigenvalues are \varphi = (1 + \sqrt5)/2 \approx 1.618 and (1 - \sqrt5)/2. Diagonalising gives Binet’s formula, F_k = (\varphi^k - (1 - \varphi)^k)/\sqrt5, and shows why the ratio of two consecutive terms tends to the golden ratio.

Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Would love your thoughts, please comment.x
()
x