Invariant Subspaces
Suppose you have a linear map that shears, rotates, and stretches a vector space all at once. Is there any smaller piece of the space that the map does not scramble into the rest? This question asks whether a subspace can absorb an operator's action without spilling outside itself. It is the question of invariant subspaces. It is one of the organizing ideas of linear algebra. Invariant subspaces matter because they let us break a large, tangled linear problem into smaller pieces. If a subspace is invariant under an operator , then restricted to is itself a bona fide linear operator on . Studying on the whole space can be partly reduced to studying on . We also study on some complementary piece. This is the seed from which eigenvectors, diagonalization, and triangularization all grow. An eigenvector spans a one-dimensional invariant subspace. A basis that triangularizes an operator is built by chaining together a flag of invariant subspaces of increasing dimension. The big picture is this: every linear operator carries a hidden geometry. This geometry is a collection of subspaces that it maps into themselves. This geometry constrains exactly how "complicated" can be. Operators with rich collections of invariant subspaces (lots of small invariant pieces) are simple. Operators with only the trivial invariant subspaces ( and ) are, in a precise sense, irreducible. Such operators cannot be decomposed further. This article gives the precise definition of an invariant subspace. It proves the basic structural facts: restriction operators, the link to eigenvectors, and the existence of invariant subspaces for operators on finite-dimensional complex vector spaces. It works through concrete numerical examples. It shows exactly why each hypothesis in the theorems is needed. It closes by connecting invariant subspaces to the machinery of eigenvalues, diagonalization, and triangularization that they set up.
- An invariant subspace of is a subspace with for every .
- If is -invariant, then is a genuine operator on , called the restriction.
- Eigenvectors give the simplest nontrivial examples: the span of an eigenvector is a -dimensional invariant subspace.
- Over , every operator on a finite-dimensional nonzero vector space has an eigenvector, hence a -dimensional invariant subspace — this is false over in general.
- Invariant subspaces let you build block-triangular matrix representations, the first step toward diagonalization and triangularization.
- Key idea: invariant subspaces are exactly the pieces of on which acts "closed off," letting a hard global problem split into smaller local ones.
Where this lives today
Invariant subspaces are not a museum piece — they are the backbone of how linear operators are analyzed across mathematics and its applications.
- Diagonalization and triangularization: a basis of eigenvectors is precisely a basis built from a chain of -dimensional invariant subspaces, and Schur's triangularization theorem builds an entire increasing chain (a "flag") of invariant subspaces to put any complex matrix into upper-triangular form.
- Markov chains and stochastic processes: the invariant subspace (in fact, invariant vector) fixed by a transition matrix is exactly the stationary distribution of the chain — a -dimensional invariant subspace for eigenvalue .
- Quantum mechanics: observables are modeled by self-adjoint operators on Hilbert spaces, and invariant subspaces correspond to conserved quantities and superselection sectors; the eigenspaces of the Hamiltonian are invariant subspaces carrying definite energy.
- Control theory: the controllable and unobservable subspaces of a linear dynamical system are invariant subspaces of the system matrix, and their structure determines whether a system can be steered or must be decomposed into controllable/uncontrollable parts.
- Numerical linear algebra: algorithms like the QR algorithm and Krylov subspace methods iteratively build up approximate invariant subspaces to compute eigenvalues of very large matrices without full diagonalization.
- Representation theory: an invariant subspace under a group's linear action is called a subrepresentation, and Schur's Lemma (irreducibility precisely means no nontrivial invariant subspaces) is the representation-theoretic descendant of this article's core idea.
- Cryptography and coding theory: linear feedback shift registers and certain stream ciphers are analyzed via invariant subspaces of the underlying linear recurrence operator, controlling period length and structure of the output sequence.
Ask the tutor: How do chains of invariant subspaces get combined to prove every complex matrix can be triangularized?
Let be a vector space over a field (in this article, or ), and let be a linear operator. A subspace is called invariant under (or -invariant) if
Equivalently, writing , the subspace is -invariant exactly when . Two invariant subspaces exist for every operator on every : the zero subspace and the whole space . These are called the trivial invariant subspaces. When is -invariant, the restriction of to , denoted , is the function
Because is -invariant, really does land in , and since is linear, is linear; hence is a well-defined linear operator on .
Intuition
Think of as a machine that takes vectors in and moves them somewhere else in . A subspace is invariant if the machine, when fed only vectors from , never spits out anything that leaves — takes and folds it back into itself, possibly stretching, rotating, or collapsing vectors within , but never launching them into the rest of . The cleanest invariant subspaces come from eigenvectors. If for some scalar and nonzero , then the line (or one-dimensional subspace) is invariant: any vector in has the form , and . Geometrically, acts on this line by pure scaling — it cannot rotate the line into some other direction, because it is forced to send back into . A useful mental picture in : take a linear map that stretches along one axis and compresses along another, fixing both axes as lines. Each axis is a -dimensional invariant subspace, and the whole map is diagonal with respect to this pair of invariant lines — this is exactly the geometric content of diagonalizability. Contrast this with a rotation by in : no line through the origin is sent back into itself (every line gets rotated to a different line), so this operator, viewed as acting on , has no nontrivial invariant subspaces at all. This single example is the cleanest illustration of why real and complex scalars behave so differently for this theory.
Let be a vector space over , let be linear, and let be a -dimensional subspace. Then is -invariant if and only if for some eigenvector of .
() Suppose where is an eigenvector of , meaning and for some scalar . Let be arbitrary. Then for some scalar , and by linearity of ,
Hence , so is -invariant.
() Suppose is a -dimensional -invariant subspace. Since , pick any nonzero ; then (a nonzero vector in a -dimensional space spans it, since is linearly independent and forces to be a basis of ). Because is -invariant, , so there is a scalar with
Since , this exhibits as an eigenvector of with eigenvalue , and . This completes the proof; both directions used only the definitions of invariant subspace, eigenvector, and -dimensional subspace, with no circular appeal to later results.
∎Let be linear and let be -invariant. Then defined by is a linear operator on .
First, is well-defined as a map into : for , invariance gives , so as required. Linearity is inherited directly from . For and scalars ,
where the middle equality uses linearity of on all of (in particular on the vector ), and note since is a subspace, so the left side is meaningful. Hence satisfies the definition of a linear operator on .
∎Let be a finite-dimensional, nonzero vector space over , and let be linear. Then has an eigenvalue; equivalently, has a -dimensional invariant subspace.
Let . Fix any nonzero vector (possible since ), and consider the vectors
This is a list of vectors in an -dimensional space, so it is linearly dependent (a list of more than vectors in is always linearly dependent, a basic fact about spanning and dimension). Hence there exist scalars , not all zero, such that
Let be the largest index with (such exists since not all are zero); note is not required — we handle and together via polynomial factorization. Form the polynomial
Since is algebraically closed (the Fundamental Theorem of Algebra), factors completely into linear factors:
for some (if , this factorization is vacuous and ; we address that case below). Substituting the operator for (valid since polynomials in commute and combine exactly as polynomials in a scalar, because powers of a single operator commute with each other), we get the operator identity
where denotes the identity operator on . Since , this means
Case : Then and the dependence relation reads , forcing since — but was chosen nonzero, a contradiction. So cannot occur, and in fact always. Case : The composite operator sends the nonzero vector to , so this composite is not injective (it has a nonzero vector in its kernel). A composition of linear operators on a finite-dimensional space fails to be injective only if at least one of the factors fails to be injective — indeed, if every factor were injective, each would be invertible (an injective operator on a finite-dimensional space is invertible, since injective implies the rank equals , forcing surjectivity too, by the Rank–Nullity Theorem-type dimension count), and a composition of invertible operators is invertible, hence injective — contradicting that the composite sends to . Therefore some factor is not injective, meaning there is a nonzero vector with
Since , this exhibits as an eigenvector of with eigenvalue . By Eigenvalues and Eigenvectors theory (or directly, as proved above in this article as the eigenvector–invariant-line correspondence), is then a -dimensional -invariant subspace.
∎Let be a finite-dimensional vector space over with , and let be linear. Then has a nontrivial invariant subspace, that is, an invariant subspace with .
By the theorem above, has an eigenvector , so is a -invariant subspace with . Since , we have , and since , . Thus .
∎Worked examples
Example 1 (a genuinely asymmetric matrix and an invariant plane). Let be given in the standard basis by the matrix
Consider , the -plane, where , . We check invariance directly by computing on a basis of :
Both basis vectors of map back into , and since a general element of is , linearity gives
So is indeed -invariant — note that this hinges entirely on the fact that the and entries of (the coefficients that would send -multiples into the plane, or that would push into the direction) happen to vanish. In matrix language: relative to the ordered basis , the matrix of becomes block upper triangular,
with the top-left block acting on the invariant plane . This is the mechanism by which invariant subspaces produce simplified (block-triangular) matrix representations — precisely the first step toward Triangularization of Operators. We can also verify is invariant via eigenvectors, cross-checking Example 1 against the eigenvector theorem. The restriction has matrix in the basis (reading off the coefficients computed above: , ). Its eigenvalues solve , giving — both of which are also eigenvalues of itself, since an eigenvector of , sitting inside , is automatically an eigenvector of on . Direct check: solving ,
row-reducing gives and , so up to scaling — and indeed this lies in . This matches the block-triangular structure exactly.
Example 2 (a rotation-plus-scaling in , invariant subspaces found via complexification-style reasoning kept entirely real). Let have matrix
Here the top-left block acts on as a rotation-like map with no real eigenvalues (its characteristic polynomial is , whose roots are not real), while is a genuine eigenvector with eigenvalue . First, is -invariant: and . But — and this is the point of this example — contains no -dimensional invariant subspace of its own. Indeed, suppose were -invariant with . By the eigenvector correspondence theorem, would need to be a real eigenvector of , i.e. satisfy for real . This forces (compute: , , so ; if then , impossible for real ; if then , contradicting ). So no real works, and has no nontrivial invariant lines — this is a genuine real-linear-algebra phenomenon (compare with the rotation example in the Intuition section). Second, is -invariant since , matching the eigenvector correspondence exactly with eigenvalue . So on has exactly the nontrivial invariant subspaces (2-dimensional) and (1-dimensional), plus any subspace built from unions — but note is the whole space (trivial) and (trivial); there is no further nontrivial invariant subspace strictly between dimensions and other than itself. This illustrates that the number and dimension of invariant subspaces genuinely depends on the field: had we instead viewed as acting on , the block would contribute two new -dimensional complex invariant subspaces (spanned by complex eigenvectors for ), matching the guarantee of the Existence Theorem over .
The Existence Theorem above requires to be a vector space over (or any algebraically closed field). Drop this hypothesis and work over instead, and the conclusion can fail completely. Let and let be rotation by , with matrix
Suppose, for contradiction, that has a real eigenvalue with eigenvector . Then gives the system
Substituting the second equation into the first: , so . Since is real, , forcing . Then as well, so — contradicting . Hence has no real eigenvalues, and by the eigenvector–invariant-line correspondence theorem, has no -dimensional invariant subspace. Since , the only subspaces of are , all -dimensional lines, and itself; having ruled out invariant lines, the only invariant subspaces left are the trivial ones and . So has no nontrivial invariant subspace at all — the clean geometric fact that a rotation sends every line through the origin to a different line. This shows the algebraic-closedness hypothesis in the Existence Theorem is not a technicality: over , an operator on a space of dimension can have a totally trivial invariant-subspace lattice, while over this is impossible for .
Scope, edge cases & common traps
| Situation | What holds | What can fail |
|---|---|---|
| = span of an eigenvector | Always -invariant, dimension | — |
| , field | always has a -dim invariant subspace | Fails over (rotation example) |
| , field | May have no nontrivial invariant subspace | Common misconception: assuming real operators always triangularize |
| both -invariant | and are also -invariant | need not even be a subspace |
| restricted operator | Always linear, well-defined on | Its eigenvalues are eigenvalues of , but may have more eigenvalues outside |
| Infinite-dimensional | Existence-of-eigenvalue argument breaks down | The proof used essentially (the list needs a finite ) |
The mathematician behind it
Origins · 1 minDavid Hilbert and how this was discovered
Hilbert's program of studying integral equations and quadratic forms in infinitely many variables led him to systematically study operators through the subspaces they preserve, laying groundwork later formalized as the theory of invariant subspaces in both finite- and infinite-dimensional settings. His school at Göttingen turned questions about "what a linear transformation cannot mix together" into a central organizing question of analysis and algebra, a viewpoint that directly informs how eigenvalues, spectral decomposition, and operator triangularization are taught today.
The modern finite-dimensional treatment of invariant subspaces, phrased purely in terms of vector spaces and linear operators rather than matrices, crystallized through the abstract linear algebra tradition of the early-to-mid 20th century, building on ideas of eigenvalue theory going back to Cauchy and Jacobi in the 19th century, and formalized in the operator-theoretic language associated with Hilbert and later von Neumann.
Origins · 1 minhow this was discovered
Is every subspace of automatically invariant under every operator ?
No. Invariance is a genuine condition relating the specific subspace to the specific operator ; most subspaces fail it for most operators. For example, take to be rotation by in and let be the -axis. Then sends the vector to , which is not in , so is not invariant under this . In general, whether is -invariant depends on both the geometry of and the specific action of ; the only subspaces invariant under every operator simultaneously are the trivial ones, and .
Do invariant subspaces always come from eigenvectors?
Not in general — only -dimensional invariant subspaces correspond exactly to eigenvectors (as proved in this article). Higher-dimensional invariant subspaces need not be spanned by eigenvectors, and can even exist when no real eigenvector is available at all. Example 2 in the worked examples above shows a -dimensional invariant subspace on which the restricted operator has no real eigenvalues whatsoever — that plane is invariant as a whole even though no individual line inside it is invariant.
Why does the field matter so much — why does behave differently from ?
The key ingredient is that is algebraically closed: every nonconstant polynomial with complex coefficients has a complex root (the Fundamental Theorem of Algebra), while real polynomials like have no real root. The existence-of-eigenvalue proof crucially factors a polynomial built from into linear factors, which is only guaranteed over an algebraically closed field. Over , this factorization can stall at irreducible quadratic factors (like in Example 2), which correspond to -dimensional invariant subspaces without any invariant line inside them, or in the worst case (a rotation) to no nontrivial invariant subspace at all.
If is -invariant, is there always a complementary invariant subspace with ?
Not always — this is a subtler question than mere existence of . For self-adjoint or normal operators on an inner-product space, the orthogonal complement of an invariant subspace is also invariant, giving such a decomposition (this uses the extra structure of an inner product). But for a general operator, an invariant subspace can fail to have any invariant complement. A standard example is on : the line is invariant, but no complementary invariant line exists, since has only one eigenvalue with a one-dimensional eigenspace.
How do invariant subspaces relate to matrix representations?
If is a -invariant subspace of and you choose a basis of by first listing a basis of and then extending to a basis of , the matrix of in this basis becomes block upper triangular: the bottom-left block is entirely zero, because vectors in (the first basis block) map back into under , contributing nothing to the coordinates outside . This is exactly the phenomenon seen in Example 1 above, and it is the finite-dimensional mechanism underlying triangularization: chaining together a whole flag of invariant subspaces, one inside the next, produces a fully upper-triangular matrix.
Can the zero subspace or the whole space count as "the" invariant subspace in a theorem about existence?
Typically no — theorems about existence of invariant subspaces (like the Existence Theorem in this article) are only interesting when they guarantee a nontrivial one, strictly between and in dimension. The trivial subspaces and are invariant under every operator automatically and carry no information about 's structure; the substantive content is always about finding smaller invariant pieces, which is why the Existence Theorem is usually paired with the corollary guaranteeing a nontrivial invariant subspace whenever .
What is the connection to representation theory's notion of "irreducibility"?
An operator (or a group action) is called irreducible precisely when its only invariant subspaces are the trivial ones and — exactly the situation exhibited by the -rotation counterexample. Irreducible operators/representations are the "atoms" out of which more complex ones are built, analogous to how prime numbers build up integers; Schur's Lemma in representation theory is a deep structural statement about maps between irreducible representations, and it traces its logical DNA directly back to the basic definition of invariant subspace given here.