Consider a linear operator $A$ on an $n$ dimensional space1. We can write it down as an $n \times n$ matrix. How should we think about the action of $A$ geometrically? A convenient way is to look for subspaces that $A$ maps into themselves. If a vector starts in such a subspace, applying $A$ keeps it there, so we can study $A$ on that subspace alone and not worry about the rest of the space. Such a subspace is called an invariant subspace. Both the eigen decomposition and the Jordan decomposition2 can be seen as ways of breaking the space down into invariant subspaces, in each of which $A$ has a very simple behavior. This is why I like to call both of them invariant subspace decompositions, and this is the point of view that I will take in this note.
I will first explain the eigen decomposition of diagonalizable matrices and discuss why it gives us a useful way of thinking about linear operators. Then, we will see why and when a matrix is non-diagonalizable, and how the Jordan decomposition gives us a similar way of thinking that is not restricted to diagonalizable matrices. Finally, we will move to infinite dimensions, where the very first step of all of this turns into a famous open problem. Let’s begin!
Invariant Subspaces
A subspace $S$ is an invariant subspace for $A$ if $A$ maps every vector of $S$ to a vector of $S$. More formally,
\[\forall s \in S: \; As \in S.\]Note that the zero subspace and the whole space are always invariant, so they are not very interesting. We are after the ones in between.
A good example to keep in mind is the rotation of three dimensional space by an angle $\theta$ about the $z$ axis. It has two invariant subspaces that are easy to spot:
- The $z$ axis. A vector on the axis is not moved at all.
- The $xy$ plane. A vector in this plane is turned by $\theta$, but it stays on the plane.
These two subspaces are enough to describe the rotation completely. Every vector $v$ can be written uniquely as $v = u + w$, where $u$ is on the axis and $w$ is on the plane. (When this is the case, we say that the space is the direct sum of the two subspaces.) The rotation leaves $u$ alone and turns $w$, and what it does to one of them has nothing to do with the other.
So instead of one operator on a three dimensional space, we have two simpler ones: the identity on a line, and a rotation of a plane.
This is what makes invariant subspaces interesting. On an invariant subspace we can study $A$ without worrying about what it does to the rest of the space. And if the whole space is a direct sum of invariant subspaces, we can study $A$ one piece at a time.
Let’s make this a bit more concrete. Suppose $S$ is an invariant subspace of $A$ and we pick a basis $\phi_1, \cdots, \phi_d$ for it. Put these vectors side by side as the columns of an $n \times d$ matrix $\Phi$. Each $A\phi_j$ is again in $S$, which means that it is a combination of the $\phi$’s. If we write the coefficients of these combinations in the columns of a small $d \times d$ matrix $B$, we get
\[A\Phi = \Phi B.\]Think about this equality for a moment. On the left we have the big operator. On the right we have a small one, $B$, which is how $A$ looks from inside $S$ when the $\phi$’s are used as coordinates. Everything that $A$ does to $S$ is recorded in $B$, and nothing outside of $S$ is involved. (For the rotation, taking $S$ to be the $xy$ plane with the basis $(1, 0, 0)$ and $(0, 1, 0)$ gives the usual $2 \times 2$ rotation matrix as $B$.) We will see this equation repeatedly throughout this note. Each time, the only thing that changes is how we choose $S$.
Now suppose that the whole space is a direct sum of invariant subspaces, $V = S_1 \oplus \cdots \oplus S_r$. As before, this means that every vector can be written in exactly one way as a sum of vectors, one from each $S_i$. If we collect a basis for each of them and use all of these vectors together as a basis for $V$, then in this basis $A$ becomes block diagonal, with one block for each subspace:
\[\begin{bmatrix} B_1 & & \\ & \ddots & \\ & & B_r \end{bmatrix}.\]Each block acts on its own subspace and never interacts with the others. For the rotation example we don’t even need to change the basis. Its matrix in the standard basis is
\[\begin{bmatrix} \cos\theta & -\sin\theta & 0 \\ \sin\theta & \cos\theta & 0 \\ 0 & 0 & 1 \end{bmatrix},\]with a $2 \times 2$ block for the plane and a $1 \times 1$ block for the axis.
This gives us a strategy that we’ll pursue: cut the space into invariant subspaces that are as small as possible, and then understand the action of the operator (the block) on each one.
Diagonalization
In this section and the next we work over the field of complex numbers. So, assume that our vectors and matrices are complex-valued.
Preliminaries
Let’s start by recalling what eigenvalues and eigenvectors are. A scalar $\lambda$ is an eigenvalue of $A$ if there exists a non-zero vector $v$ such that
\[Av = \lambda v.\]We call $v$ an eigenvector corresponding to the eigenvalue $\lambda$. On the line spanned by $v$, the effect of $A$ is very simple: it just multiplies every vector by the scalar $\lambda$. In other words, this line is an invariant subspace, and apart from the zero subspace it is the smallest one imaginable. (This is our equation $A\Phi = \Phi B$ with a single column, where $B$ is just the number $\lambda$.)
The eigenvectors corresponding to an eigenvalue, together with the zero vector, form a linear subspace called the eigenspace of that eigenvalue. The dimension of the eigenspace is called the geometric multiplicity of that eigenvalue.
Given a linear operator, how can we find its eigenvalues? Starting from the definition, we get
\[Av = \lambda v \iff (A - \lambda I)v = 0 \iff v \in \ker (A - \lambda I).\]So, for $\lambda$ to be an eigenvalue, the kernel of $A - \lambda I$ must contain a non-zero vector, which happens exactly when $\det (A - \lambda I) = 0$. This determinant is a polynomial of degree $n$ in the variable $\lambda$. It is so widely used that it has a name of its own: it is called the characteristic polynomial of $A$, and its roots are precisely the eigenvalues of $A$.
Two points to note here:
-
The characteristic polynomial of a real matrix may have complex roots. So the eigenvalues of a real matrix may be complex. A prime example of this is a rotation of the plane by an angle $\theta$. Unless $\theta$ is a multiple of $\pi$, it turns every line through the origin into a different line, so it cannot have a real eigenvector, and you can check that its eigenvalues are $\cos\theta \pm i \sin\theta$.
An Aside: For a real matrix, a pair of complex eigenvalues $a \pm ib$ gives an invariant plane instead of an invariant line. If $x + iy$ is an eigenvector for $a + ib$, where $x$ and $y$ are real vectors, then $x$ and $y$ are linearly independent and
\[A \, [x \mid y] = [x \mid y] \begin{bmatrix} a & b \\ -b & a \end{bmatrix}.\]You can check this by taking the real and imaginary parts of $A(x + iy) = (a + ib)(x + iy)$. This is our equation again: the plane spanned by $x$ and $y$ is invariant, and in the coordinates given by $x$ and $y$, $A$ acts on it as a rotation combined with a scaling by $\sqrt{a^2 + b^2}$. The $xy$ plane of the rotation from the previous section is the simplest example.
-
The characteristic polynomial may have repeated roots. For instance, consider the shear matrix
\[\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}\]with characteristic polynomial $(\lambda - 1)^2$. It has a double root, $\lambda = 1$, so the shear has only one eigenvalue, and you can check that all of its eigenvectors are multiples of $(1, 0)$. The multiplicity of an eigenvalue as a root of the characteristic polynomial is called the algebraic multiplicity of that eigenvalue. In this example, $\lambda = 1$ has an algebraic multiplicity of $2$ but a geometric multiplicity of $1$.
Keep the distinction between algebraic and geometric multiplicities in mind: the algebraic multiplicity is the multiplicity of $\lambda$ as a root of the characteristic polynomial, and the geometric multiplicity is the dimension of $\ker (A - \lambda I)$. Also, note that the algebraic multiplicity is never smaller than the geometric multiplicity (see here).
For our purposes, it is worth pointing out one more fact. Over the complex numbers every non-constant polynomial has a root. This means that every matrix has at least one eigenvalue3, and therefore at least one invariant line. We will come back to this at the end of the note.
Eigen Decomposition
Now we use the eigenvalues and eigenvectors of $A$ to write it in a simpler and more understandable form. The best case is when there are enough invariant lines to fill the whole space, that is, when $A$ has $n$ linearly independent eigenvectors $q_1, \cdots, q_n$ with eigenvalues $\lambda_1, \cdots, \lambda_n$ (some of which may be equal). This happens exactly when the geometric multiplicity of every eigenvalue is equal to its algebraic multiplicity. A matrix that satisfies this is called diagonalizable. Otherwise, it is called defective.
Using the eigenvalues and eigenvectors we create two important matrices, $\Lambda$ and $Q$. $\Lambda$ is a diagonal matrix with the eigenvalues on its diagonal, and $Q$ is created by putting the corresponding eigenvectors next to each other:
\[\Lambda = \mathrm{diag}(\lambda_1, \cdots, \lambda_n), \qquad Q = [q_1 \mid q_2 \mid \cdots \mid q_n].\]Note that:
- $Q$ is invertible, because its columns are linearly independent.
- $Q$ can be thought of as a change-of-basis matrix. If $c$ holds the coordinates of a vector in the basis $q_1, \cdots, q_n$, then $Qc$ is the same vector in the standard coordinates, and $Q^{-1}$ takes us back. From here on, we call this basis the eigenbasis and the corresponding coordinates the eigen coordinates.
Notice that $AQ = Q\Lambda$. This is just the equality $Av = \lambda v$, applied to all $n$ eigenvectors at once:
\[\begin{aligned} AQ &= A \, [q_1 \mid q_2 \mid \cdots \mid q_n] \\ &= [\lambda_1 q_1 \mid \lambda_2 q_2 \mid \cdots \mid \lambda_n q_n] \\ &= Q \Lambda. \end{aligned}\]It is also our equation $A\Phi = \Phi B$, written for all the $n$ invariant lines at once, which is why $B$ is diagonal here. Multiplying both sides by $Q^{-1}$ from the right gives the eigen decomposition of $A$:
\[A = Q \Lambda Q^{-1}.\]This decomposition explains what $A$ does to a vector $v$ in a very simple manner:
- We change the coordinate system to the eigen coordinates and represent $v$ as a combination of the $q_i$’s. ($Q^{-1}v$)
- In the eigen coordinates, $A$ has a very simple behavior: it multiplies the $i$-th coordinate by $\lambda_i$. ($\Lambda Q^{-1}v$)
- Finally, we bring the result back to the standard coordinates. ($Q \Lambda Q^{-1}v$)
This gives a very convenient way of thinking about diagonalizable linear operators: we should see them in their eigen coordinates. There, the effect on each coordinate is simple and disentangled from the other coordinates. A linear operator can warp the space in many different ways, for example by rotating, reflecting, shearing, projecting or scaling. A diagonalizable operator, when viewed in its eigen coordinates, just scales each coordinate by its own factor.
Let’s walk through a pictorial example. Take the matrix
\[\begin{bmatrix} 5/4 & 1/2 \\ 1/4 & 1 \end{bmatrix},\]whose eigenvalues are $3/2$ and $3/4$, with eigenvectors $(1, 1/2)$ and $(1, -1)$. The figure below shows what it does to the plane, twice. On the left we follow the standard grid, and on the right we follow a grid whose lines run along the two eigenvectors. In both pictures the faint grid shows where the lines start, and one cell is shaded so that you can follow it.
Use Cases
Representing a matrix in this form has one very important computational implication: its powers become easy to compute. To see this, note that
\[A^k = (Q \Lambda Q^{-1})(Q \Lambda Q^{-1}) \cdots (Q \Lambda Q^{-1}) = Q \Lambda^k Q^{-1},\]and because $\Lambda$ is diagonal, we can simply raise each of its diagonal entries to the $k$-th power to get $\Lambda^k$. The same thing works for the matrix exponential, $e^A = Q e^\Lambda Q^{-1}$, where $e^\Lambda$ is a diagonal matrix with $e^{\lambda_1}, \cdots, e^{\lambda_n}$ on its diagonal. This is significant, because matrix exponentials come up in many places, most notably in differential equations (hence in dynamical systems, control theory, etc.).
Before closing the page on this section, it is worth noting once more what makes all of this so easy. We decomposed the space into $n$ separate one dimensional invariant subspaces, and on each of them $A$ has the simple effect of multiplying by a scalar. So $A^k$ just multiplies by that scalar $k$ times, and what happens on one line has nothing to do with what happens on the others.
Jordan Decomposition
Non-Diagonalizability
As we saw, a matrix is non-diagonalizable if it has an eigenvalue whose algebraic and geometric multiplicities do not coincide. The shear is the simplest example. It has only one invariant line, and one line cannot fill a plane.
How can this happen and what does it mean? To see this, let us change the shear operator a little:
\[A_\epsilon = \begin{bmatrix} 1 & 1 \\ 0 & 1 + \epsilon \end{bmatrix}.\]For any $\epsilon \neq 0$ this matrix has two different eigenvalues, $1$ and $1 + \epsilon$, with eigenvectors
\[q_1 = \begin{bmatrix} 1 \\ 0 \end{bmatrix}, \qquad q_2 = \begin{bmatrix} 1 \\ \epsilon \end{bmatrix}.\]So $A_\epsilon$ has two invariant lines and is diagonalizable. Now let $\epsilon$ go to zero. The two eigenvalues move towards each other, and at the same time the second line turns towards the first one. At $\epsilon = 0$ they are the same line. In other words, a matrix like the shear is what we get when two invariant lines of a diagonalizable matrix are pushed onto each other.
Is anything left of the second direction? The difference $q_2 - q_1 = (0, \epsilon)$ shrinks to zero. But if we divide it by the gap between the two eigenvalues, we get
\[\frac{q_2 - q_1}{\epsilon} = \begin{bmatrix} 0 \\ 1 \end{bmatrix}\]for every $\epsilon$ (with this choice of $q_2$). This vector survives the collision!
It is no longer an eigenvector, but it is the next best thing:
\[\left( \begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix} - I \right) \begin{bmatrix} 0 \\ 1 \end{bmatrix} = \begin{bmatrix} 1 \\ 0 \end{bmatrix}.\]The matrix in the parentheses is the shear with its eigenvalue subtracted ($A - \lambda I$, with $\lambda = 1$). It sends our vector to the eigenvector that did survive, and it sends that eigenvector to zero.
This is a remarkable fact, so let’s linger on it some more. Call the vector that survived $v = (0, 1)$. The operator $A$ sends $q_1$ to $\lambda q_1$, since it is an ordinary eigenvector. What does it do to $v$? Moving the $\lambda v$ in the equation above to the other side, we get
\[Av = \lambda v + q_1.\]So $A$ stretches $v$ by $\lambda$ as if it were an eigenvector, except that it adds a residual along the actual eigenvector. For the shear $\lambda = 1$, so the stretch does nothing and only the residual is visible. But nothing here depends on that. If we replace the two $1$’s on the diagonal of the shear by any other number $\lambda$, both equations, $Aq_1 = \lambda q_1$ and $Av = \lambda v + q_1$, still hold.
Keep these two vectors in mind. They are our first example of a chain.
A non-diagonalizable matrix4 does not have enough eigenvectors to make a basis, so we have to make a concession. Remember why a basis of eigenvectors was so appealing: it decomposed the whole space into $n$ one dimensional invariant subspaces, and $A$ acted on each of them independently. In the Jordan decomposition we still decompose the space into invariant subspaces, but we allow them to have more than one dimension. In return, we ask that the effect of $A$ on each of them, in an appropriate basis, be almost as simple as multiplying by a scalar. We will see exactly what “almost” means below. But first, let us define these subspaces.
Generalized Eigenspace
Remember that the eigenspace corresponding to the eigenvalue $\lambda$ was $\ker (A - \lambda I)$. The generalized eigenspace corresponding to an eigenvalue $\lambda$ is defined simply as
\[E_\lambda = \ker (A - \lambda I)^n.\]You can think of $E_\lambda$ as the vectors that are eventually sent to zero by $A - \lambda I$: eigenvectors are sent to zero by one application, some other vectors are first sent to the eigenspace and then to zero after two applications, and so on. This subspace has three important properties:
- It is an invariant subspace for $A$.
- Its dimension is equal to the algebraic multiplicity of $\lambda$.
- If $\lambda_1, \cdots, \lambda_r$ are the different eigenvalues of $A$, then $V = E_{\lambda_1} \oplus \cdots \oplus E_{\lambda_r}$.
The first property is easy to see. $A$ commutes with $(A - \lambda I)^n$, so if $(A - \lambda I)^n v = 0$ then $(A - \lambda I)^n A v = A (A - \lambda I)^n v = 0$. The proofs for the other two are a bit more involved, but you can see this, or Sections 8A and 8B of Axler’s book, if you are interested.
The third property is the important one. It says that the space always splits into invariant subspaces, one for each eigenvalue, whether $A$ is diagonalizable or not. (When $A$ is diagonalizable, these are just the eigenspaces.) Notice also that we needed the eigenvalues, the roots of the characteristic polynomial, just to define these pieces. What is left is to understand what $A$ does inside one of them.
Chains
Fix an eigenvalue $\lambda$ and write $N = A - \lambda I$. By definition, applying $N$ enough times sends every vector of $E_\lambda$ to zero. This means that if we start from any non-zero vector of $E_\lambda$ and keep applying $N$, we get a sequence of non-zero vectors that ends at zero:
\[v_m \; \xrightarrow{N} \; v_{m-1} \; \xrightarrow{N} \; \cdots \; \xrightarrow{N} \; v_1 \; \xrightarrow{N} \; 0.\]We call this a chain of length $m$, and its vectors are called generalized eigenvectors. The vector $v_j$ is said to be of rank $j$, because it takes $j$ applications of $N$ to send it to zero. A generalized eigenvector of rank $1$ is a regular eigenvector. For the shear, the chain is $(0, 1) \to (1, 0) \to 0$.
It helps to picture a chain as a ladder, with $v_1$ on the bottom rung and $v_m$ on the top one. Applying $N$ moves every vector one rung down, and the bottom rung falls off to zero.
Notice that the whole chain is generated by its top vector: start from $v_m$, keep applying $N$, and you visit every rung. Start from $v_1$ instead and you only get a line. We will come back to this at the end.
What does $A$ do to a chain? Since $A = \lambda I + N$,
\[A v_1 = \lambda v_1, \qquad A v_j = \lambda v_j + v_{j-1} \quad \text{for } j > 1.\]In particular, the span of a chain is an invariant subspace. The vectors of a chain are also linearly independent, so we can use them as a basis for their span, and in this basis our equation $A\Phi = \Phi B$ becomes
\[A \, [v_1 \mid v_2 \mid \cdots \mid v_m] = [v_1 \mid v_2 \mid \cdots \mid v_m] \begin{bmatrix} \lambda & 1 & & \\ & \lambda & \ddots & \\ & & \ddots & 1 \\ & & & \lambda \end{bmatrix}.\]The matrix on the right is called a Jordan block. Its $j$-th column holds the coordinates of $Av_j$: a $\lambda$ on the diagonal for $\lambda v_j$, and (for $j > 1$) a $1$ right above it for $v_{j-1}$.
So here is what $A$ does along each vector of the chain. It stretches $v_j$ by $\lambda$, as if it were an eigenvector, and then pushes it along the rung below by adding $v_{j-1}$. This is the same residual that we saw in the picture of the shear, repeated on every rung. Only the bottom rung, $v_1$, has nothing below it, so it is the one true eigenvector of the chain. Every other rung fails to be an eigenvector by exactly one copy of the rung below it5.
This leak from each rung to the one below it is the only difference between a Jordan block and a diagonal matrix, and it is what “almost” meant.
Can a chain be cut into smaller independent pieces? No. $N$ only moves things down the ladder, so an invariant subspace that contains a vector reaching up to rung $j$ must contain $v_j$ and every rung below it. This means that the non-zero invariant subspaces inside the span of a chain are exactly
\[\mathrm{span}\{v_1\} \subset \mathrm{span}\{v_1, v_2\} \subset \cdots \subset \mathrm{span}\{v_1, \cdots, v_m\},\]and nothing else6. These are the shaded boxes in the figure above: each of them is a bottom part of the ladder. They are nested inside each other, so no two of them can be put side by side to make up the whole span. A chain is a piece that cannot be split any further.
It turns out that chains are all we need: every generalized eigenspace $E_\lambda$ has a basis that is made of chains. The number of chains of $\lambda$ is equal to its geometric multiplicity (each chain ends in its own eigenvector), and their lengths add up to its algebraic multiplicity. If we put all the chains of all the eigenvalues side by side in a matrix $P$, we get the Jordan decomposition
\[A = P J P^{-1},\]where $J$ is block diagonal with one Jordan block for each chain. $P$ is analogous to $Q$ in the eigen decomposition and $J$ is analogous to $\Lambda$. In fact, a diagonalizable matrix is just the special case in which every chain has length one.
An Example
To see how chains are found, consider the matrix below:
\[A = \begin{bmatrix} 1 & 0 & 0 & 0 & 0 \\ 3 & 1 & 0 & 0 & 0 \\ 6 & 3 & 2 & 0 & 0 \\ 10 & 6 & 3 & 2 & 0 \\ 15 & 10 & 6 & 3 & 2 \end{bmatrix}.\]It is triangular, so its eigenvalues can be read from its diagonal: $\lambda_1 = 1$ with algebraic multiplicity $2$, and $\lambda_2 = 2$ with algebraic multiplicity $3$. You can verify that both of them have a geometric multiplicity of $1$. So there are only two invariant lines in a five dimensional space, and we should expect one chain of length $2$ and one chain of length $3$.
Let us find the chain of $\lambda_2 = 2$. We start from the bottom of the chain, which is a regular eigenvector. Solving $(A - 2I)x = 0$ gives $x_1 = x_2 = x_3 = x_4 = 0$ and leaves $x_5$ free. To keep the numbers simple later on, we choose
\[v_1 = (0, 0, 0, 0, 9).\]Next, we climb up. The vector above $v_1$ must be mapped to $v_1$ by $A - 2I$, so we solve $(A - 2I)x = v_1$ for $x$:
\[\begin{bmatrix} -1 & 0 & 0 & 0 & 0 \\ 3 & -1 & 0 & 0 & 0 \\ 6 & 3 & 0 & 0 & 0 \\ 10 & 6 & 3 & 0 & 0 \\ 15 & 10 & 6 & 3 & 0 \end{bmatrix} \begin{bmatrix} x_1 \\ x_2 \\ x_3 \\ x_4 \\ x_5 \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 9 \end{bmatrix},\]which gives us $x_1 = x_2 = x_3 = 0$ and $x_4 = 3$, while $x_5$ is free and we set it to zero. This is $v_2$. One more step, solving $(A - 2I)x = v_2$, gives $x_1 = x_2 = 0$, $x_3 = 1$ and $x_4 = -2$. Putting it all together, the chain is
\[v_3 = (0, 0, 1, -2, 0) \; \to \; v_2 = (0, 0, 0, 3, 0) \; \to \; v_1 = (0, 0, 0, 0, 9) \; \to \; 0.\]A few quick exercises to sanity check this:
- Verify that $(A - 2I)x = v_3$ has no solution. So the chain stops at length $3$, as expected.
- Verify that $v_1, v_2, v_3$ span $\ker (A - 2I)^5$, the generalized eigenspace of $\lambda_2$.
- Find the chain of $\lambda_1 = 1$ in the same way. One answer is $w_2 = (1, 0, -15, 44, -60) \to w_1 = (0, 3, -9, 9, -3) \to 0$.
- Bonus: think about what we should do if the set of solutions to one of these systems is more than one dimensional7.
Putting the two chains side by side, $P = [w_1 \mid w_2 \mid v_1 \mid v_2 \mid v_3]$, we get $A = PJP^{-1}$ with
\[J = \begin{bmatrix} 1 & 1 & & & \\ & 1 & & & \\ & & 2 & 1 & \\ & & & 2 & 1 \\ & & & & 2 \end{bmatrix}.\]In the coordinates given by $P$, this matrix that looked complicated is just two chains, one of length $2$ and one of length $3$, that have nothing to do with each other. This again comes from the fact that each block in $J$ corresponds to an invariant subspace, and the effect of $A$ on it can be studied independently.
Powers of a Jordan Block
Inside an invariant line, $A^k$ just multiplies by $\lambda^k$. What happens inside a chain? Computing the powers is not as straightforward as with diagonal matrices, but it is still simple, because we can consider one block at a time.
Take one Jordan block of size $m$ and write it as $\lambda I + N$, where $N$ now stands for the same block with zeros on its diagonal. In the coordinates of the chain, $N$ is a shift: it sends $(c_1, c_2, \cdots, c_m)$ to $(c_2, \cdots, c_m, 0)$. If we shift a list of length $m$ to the left $m$ times, nothing is left, so $N^m = 0$. Now, $\lambda I$ and $N$ commute, so we can use the binomial theorem:
\[(\lambda I + N)^k = \sum_{j=0}^{\min(k, \, m-1)} \binom{k}{j} \lambda^{k-j} N^j.\]The sum never goes beyond $j = m - 1$, because all the higher powers of $N$ are zero. In a diagonal matrix, the $k$-th power only knows about $\lambda^k$. Here it also knows about $k\lambda^{k-1}$, $\binom{k}{2}\lambda^{k-2}$ and so on, which are the derivatives of $\lambda^k$, each divided by a factorial.
This has a curious consequence: a chain can count. For the shear we have $\lambda = 1$ and
\[\begin{bmatrix} 1 & 1 \\ 0 & 1 \end{bmatrix}^k = \begin{bmatrix} 1 & k \\ 0 & 1 \end{bmatrix}.\]The number of steps appears inside the matrix! A diagonalizable matrix whose only eigenvalue is $1$ could never do this, because it would have to be the identity. Here is a way to see where the $k$ comes from. Before the collision, $A_\epsilon^k$ multiplies $q_1$ by $1$ and $q_2$ by $(1 + \epsilon)^k$. It therefore sends the vector $(q_2 - q_1)/\epsilon$ to itself plus $q_2$ times $((1 + \epsilon)^k - 1)/\epsilon$, the difference of the two factors divided by $\epsilon$. When $\epsilon$ goes to zero, this becomes the derivative of $\lambda^k$ at $\lambda = 1$, which is exactly $k$.
The Invariant Subspace Problem
Finite Dimensions
Let us look back at what we did. Every decomposition in this note was built out of invariant subspaces, and to find the very first one we needed a single fact: every matrix has an eigenvector, that is, an invariant line. We got it from a root of the characteristic polynomial.
This one fact, used over and over, already takes us quite far. Pick an eigenvector $q_1$ and use it as the first vector of a basis. Since $Aq_1 = \lambda_1 q_1$, the first column of $A$ in this basis is $(\lambda_1, 0, \cdots, 0)$. The $(n-1) \times (n-1)$ block in the lower right corner is again a matrix, so it has an eigenvector too, and we can repeat the same thing for it. After $n$ steps, $A$ is upper triangular8. Being upper triangular says exactly that, for every $j$, the span of the first $j$ vectors of the basis is invariant. So we get a nested family of invariant subspaces of every dimension from $1$ to $n$, just like the ones inside a chain. We did not need anything other than finding one invariant line, $n$ times.
So, over the complex numbers, “does $A$ have an invariant subspace other than zero and the whole space?” is not an interesting question in finite dimensions. The answer is always yes as soon as $n \geq 2$, and everything interesting is about how small the pieces can be and how they fit together.
Infinite Dimensions
Now let us allow infinitely many coordinates. Our space is $\ell^2$, the space of sequences $x = (x_1, x_2, x_3, \cdots)$ of complex numbers with $\sum_j \lvert x_j \rvert^2 < \infty$, and our operators are bounded linear maps on it9. The definition of an invariant subspace stays the same, with one adjustment: we only consider closed subspaces, which are the ones that contain the limits of their convergent sequences.
The first thing to ask is whether our starting point survives: does every operator still have an eigenvector? Remember that an invariant line is the same thing as the line of an eigenvector (if the line of $x$ is invariant, then $Ax$ must be a multiple of $x$), and that everything in this note was built on having one. In finite dimensions we got it from the characteristic polynomial, but now there is no determinant to give us one. So let us test the question on the simplest infinite dimensional operators that we can write down, which are the infinite versions of something we already know. Remember that in the coordinates of a chain, $N$ shifts a list of length $m$ to the left. There are two natural shifts on infinite lists, the left shift and the right shift:
\[\begin{aligned} L(x_1, x_2, x_3, \cdots) &= (x_2, x_3, x_4, \cdots), \\ R(x_1, x_2, x_3, \cdots) &= (0, x_1, x_2, \cdots). \end{aligned}\]On a finite list of length $m$ the two shifts are very similar. The left shift is our $N$, and the right shift, which sends $(c_1, \cdots, c_m)$ to $(0, c_1, \cdots, c_{m-1})$, is the same ladder run upwards. Both are a single chain, both have $0$ as their only eigenvalue, and each of them has exactly one invariant line. For the left shift this line is spanned by $(1, 0, \cdots, 0)$, the entry that falls off at the front. For the right shift it is spanned by $(0, \cdots, 0, 1)$, the entry that is pushed off at the end.
On infinite lists, however, they behave very differently. The left shift suddenly has infinitely many eigenvalues, each with its own eigenvector! For any number $\lambda$ with $\lvert \lambda \rvert < 1$, the sequence $x = (1, \lambda, \lambda^2, \cdots)$ is in $\ell^2$ and $Lx = \lambda x$. The right shift, on the other hand, has no eigenvector at all. To see this, suppose that $Rx = \lambda x$, that is,
\[(0, x_1, x_2, \cdots) = (\lambda x_1, \lambda x_2, \lambda x_3, \cdots).\]If $\lambda = 0$, the left hand side must be zero, which means that $x = 0$. Otherwise, comparing the first entries gives $x_1 = 0$, then comparing the second entries gives $x_2 = x_1 / \lambda = 0$, and so on. In both cases $x = 0$. On a finite list the right shift had an eigenvector only because the list had an end, and the last entry had nowhere to go. An infinite list has no end, so nothing ever falls off.
So the answer is no, and the first step of everything we did in this note can fail in infinite dimensions. The right shift has no eigenvector, which means that it has no invariant line. In fact, it has no finite dimensional invariant subspace of any size (other than zero), because on such a subspace it would act as a matrix, and a matrix always has an eigenvector. (The left shift shows that the opposite can happen too. On finite lists the two shifts were mirror images of each other. On infinite lists, one of them has too many eigenvectors and the other one has none.)
But notice that the right shift still has invariant subspaces. Let $M_j$ be the set of sequences whose first $j$ entries are zero. It is a closed subspace, and shifting to the right keeps the first $j$ entries zero, so $M_j$ is invariant. This gives us
\[\ell^2 \supset M_1 \supset M_2 \supset M_3 \supset \cdots,\]a nested family of invariant subspaces, just like the ones that we found inside a chain10.
So, in infinite dimensions, we should stop asking for eigenvectors and instead ask:
Does every bounded linear operator on $\ell^2$ even have a closed invariant subspace other than zero and the whole space?
This is the invariant subspace problem11. Think about what each answer would mean. Everything that we did in this note, the eigen decomposition, the chains, the triangular form, started by finding one invariant subspace and then repeating. If the answer is yes, then every operator on $\ell^2$, no matter how wild, has at least one part that can be studied on its own, and there is a first step to build on. If the answer is no, then there is an operator that cannot be taken apart at all. In finite dimensions there is always some vector, an eigenvector, that stays on its own line. An operator with no invariant subspace would be one where every non-zero vector behaves like the top of a chain that never ends: keep applying the operator, and the combinations of the vectors that you get come arbitrarily close to every vector of the space. Such an operator would be a single piece.
Here is what is known:
- For compact operators the answer is yes (Aronszajn and Smith, 1954). These are the operators that can be approximated arbitrarily well by operators with a finite dimensional range, which makes them the closest relatives of matrices. The same holds for any operator that commutes with a non-zero compact operator (Lomonosov, 1973).
- On some other infinite dimensional spaces (Banach spaces), the answer is no (Enflo, 1987; Read, 1984).
- For $\ell^2$ itself the problem is open. Two preprints from 2023 claimed a positive answer, but as of this writing neither of them has been confirmed12.
A Dynamical Reading
All of this has a natural meaning in the language of dynamical systems. Think of $A$ as one step of a linear system, $x_{k+1} = A x_k$. An invariant subspace is then a set of states that the system never leaves: a smaller system living inside the big one. An operator with no invariant subspace would be a system with no smaller system inside it, of any size.
The same idea applies to nonlinear systems. Given a system $s_{k+1} = F(s_k)$, we stop following the state and follow functions of the state, or measurements, instead. The Koopman operator $K$ sends a function $g$ to $g \circ F$, which is the value of $g$ one step later. $K$ is always linear, but the price is that it acts on a space of functions, which is infinite dimensional. Its invariant subspaces are the families of measurements that are closed under time: their values one step later are linear combinations of their current values. For a finite family $\phi_1, \cdots, \phi_d$ this is our equation once more, $K\Phi = \Phi B$, and it means that the nonlinear system looks exactly linear through these features13.
Such a family may contain smaller families of the same kind. In finite dimensions, the smallest ones are always single eigenvectors: one measurement that is just multiplied by a number at each step. The invariant subspace problem asks whether this is still true in infinite dimensions, or whether there can be infinitely many measurements that evolve linearly as a whole, but are so entangled that no smaller part of them evolves linearly by itself. Remarkably, a single simple system decides the question. Take the unit disk of the complex plane, $\lvert s \rvert < 1$, and the map
\[F(s) = \frac{s + 1/2}{1 + s/2},\]under which every point of the disk simply drifts to $1$. The Koopman operator of this system contains a copy of every bounded operator on $\ell^2$. So the invariant subspace problem has a positive answer if and only if no such entangled family exists for this one system14. Unfortunately, this does not make the problem any easier. All of the difficulty has just moved into the space of measurements.
-
I use $A$ for both the linear operator $A: V \to V$ and its matrix in the standard basis. It is important not to conflate the two. The operator is a function on $V$, and its matrix depends on the basis that we choose for $V$. Usually $V = \mathbb{R}^n$ or $\mathbb{C}^n$ and we use the standard basis. ↩
-
What I refer to as the Jordan decomposition is more commonly known as the Jordan normal form or the Jordan canonical form (see this). Using the Jordan normal form $J$ of a matrix $A$, we can write $A = PJP^{-1}$, which is very similar (in spirit) to the eigen decomposition of diagonalizable matrices. For this reason, I decided to call it the Jordan decomposition. ↩
-
This is usually proved with determinants, as we did here. For a proof that does not use them, see S. Axler, Linear Algebra Done Right. ↩
-
Non-diagonalizable matrices are rare: the matrices that are not diagonalizable over the complex numbers form a set of measure zero, so a matrix whose entries are drawn from a continuous distribution is almost surely diagonalizable. But this is less comforting than it sounds, because being close to a non-diagonalizable matrix already causes trouble. For $A_\epsilon$, the two eigenvectors are almost parallel when $\epsilon$ is small, and the condition number of $Q = [q_1 \mid q_2]$ is about $2 / \epsilon$. Any computation that goes through $Q^{-1}$ becomes very sensitive to small errors. ↩
-
In coordinates the same thing looks different, which can be confusing. If $x = c_1 v_1 + \cdots + c_m v_m$, the coordinate of $Ax$ on rung $j$ is $\lambda c_j + c_{j+1}$: every rung receives from the rung above it. The top coordinate receives nothing and is simply multiplied by $\lambda$. This does not make $v_m$ an eigenvector, because $v_m$ still sends a copy of itself to the rung below. ↩
-
Here is the full argument. A subspace is invariant under $A$ exactly when it is invariant under $N = A - \lambda I$. Take a non-zero invariant subspace inside the span of the chain, and among its vectors pick one whose highest rung, $v_j$, is as high as possible. Applying $N$ to it repeatedly gives vectors whose highest rungs are $v_{j-1}, \cdots, v_1$, and from all of these together we can recover each of $v_1, \cdots, v_j$. So the subspace contains $\mathrm{span}\{v_1, \cdots, v_j\}$, and by the choice of $j$ it cannot contain anything more. ↩
-
Any two solutions of $(A - \lambda I)x = v_j$ differ by a vector of the eigenspace. So this happens exactly when the geometric multiplicity of $\lambda$ is larger than one, that is, when $\lambda$ has more than one chain. Climbing up from the bottom then needs care, because not every eigenvector can be climbed from. It is safer to work from the top down: the number of chains of length at least $k$ is $\dim \ker (A - \lambda I)^k - \dim \ker (A - \lambda I)^{k-1}$, so we can start from the vectors that need the largest number of applications of $A - \lambda I$ to reach zero, walk down from them, and then repeat one level lower with new vectors. At each level $k$, the vectors that we pick, together with the chain vectors that are already on that level, must be independent modulo $\ker (A - \lambda I)^{k-1}$. ↩
-
This is 5.47 in Axler’s book. ↩
-
Bounded means that there is a constant $c$ such that $\lVert Ax \rVert \leq c \lVert x \rVert$ for every $x$. In finite dimensions every linear map is bounded, so we never had to mention it. Both of the shifts below are bounded with $c = 1$. ↩
-
The right shift has many more invariant subspaces than these. A theorem of Beurling describes all of them, and its statement needs complex analysis (see this). The original paper is A. Beurling, On two problems concerning linear transformations in Hilbert space, Acta Mathematica 81. ↩
-
The problem is usually stated for complex Banach spaces in general (see this). Here $\ell^2$ stands for a separable infinite dimensional Hilbert space, which is the best known case that is still open. ↩
-
arXiv:2305.15442 by Enflo and arXiv:2307.08176 by Neville. For a recent survey, see Chalendar and Partington, Recent perspectives on the invariant subspace problem. These are all above my pay grade. ↩
-
The operator goes back to B. O. Koopman, Hamiltonian systems and transformation in Hilbert space, PNAS 17 (1931). For the methods, of which dynamic mode decomposition is the best known, see Brunton, Budišić, Kaiser and Kutz, Modern Koopman theory for dynamical systems, SIAM Review 64 (2022). ↩
-
Here the measurements are the functions $a_0 + a_1 s + a_2 s^2 + \cdots$ whose coefficients are in $\ell^2$. Precisely, for every bounded operator $T$ on $\ell^2$ there are a closed invariant subspace of $K$ and a number $c \neq 0$ such that $K - I$ on this subspace is $cT$ in different coordinates. This is due to Nordgren, Rosenthal and Wintrobe, Invertible composition operators on $H^p$, Journal of Functional Analysis 73 (1987). See also Section 3 of the survey by Chalendar and Partington. ↩
Citation
If you would like to cite this note, you can use the following entry.
@misc{hedayatian2026invariant,
author = {Hedayatian, Saeed},
title = {Invariant Subspace Decomposition},
year = {2026},
month = {November},
url = {https://conflictednerd.github.io/blog/2026/Invariant-Subspace-Decomposition/}
}