Unit 5, lesson 22

Invariant Subspaces and Block Matrices

What makes a subspace invariant under an operator, how an adapted basis turns invariance into a block upper triangular matrix, when the matrix becomes block diagonal, and what a reducing subspace adds.

  • Video 22
  • Invariant Blocks and Schur Form

Apply the real matrix with rows (2,1,0)(2, 1, 0), (0,3,0)(0, 3, 0) and (0,0,4)(0, 0, 4) to the standard basis vectors. The first one stays on its own axis, but the second one picks up a component along the first axis. So the second coordinate feeds into the first, while nothing flows back. This lesson explains how a proper nonzero subspace that an operator maps into itself produces a block of zeros in its matrix once a basis of that subspace is listed first, when a second zero block appears, and why the orthogonal complement of such a subspace can still fail to be mapped into itself.

Key terms

Invariant subspace

Definition Let VV be a vector space over F\mathbb{F}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, and let T∈Hom⁡(V,V)T \in \operatorname{Hom}(V, V) be an operator on VV. A subspace UU of VV is invariant under TT, or TT-invariant, if Tu∈UTu \in U for every u∈Uu \in U, that is,

T(U)⊆U.T(U) \subseteq U.

If U=span⁡{u1,…,uk}U = \operatorname{span}\{u_1, \dots, u_k\}, it is enough to check that Tu1,…,TukTu_1, \dots, Tu_k lie in UU, because

T(c1u1+⋯+ckuk)=c1Tu1+⋯+ckTuk\begin{aligned} &T(c_1u_1 + \cdots + c_ku_k) \\[0.4em] &\quad = c_1Tu_1 + \cdots + c_kTu_k \end{aligned}

and UU is closed under linear combinations. The subspaces {0}\{0\}, VV, ker⁡T\ker T and im⁡T\operatorname{im} T are always invariant, and so is every eigenspace of TT. A line span⁡{v}\operatorname{span}\{v\} with v≠0v \ne 0 is invariant exactly when vv is an eigenvector of TT. Invariance does not require TT to fix the vectors of UU, and it does not require them to be eigenvectors.

In plain words The operator may stretch, turn or collapse the vectors of UU, but it never pushes one of them out of UU.

Example Tuples such as (1,2,0)(1, 2, 0) stand for column vectors. Let

A=[210030004]A = \begin{bmatrix} 2 & 1 & 0 \\ 0 & 3 & 0 \\ 0 & 0 & 4 \end{bmatrix}

act on R3\mathbb{R}^3. Since Ae1=2e1Ae_1 = 2e_1, the line span⁡{e1}\operatorname{span}\{e_1\} is invariant. The line span⁡{e2}\operatorname{span}\{e_2\} is not, because Ae2=e1+3e2Ae_2 = e_1 + 3e_2. The plane span⁡{e1,e2}\operatorname{span}\{e_1, e_2\} is invariant, since Ae1Ae_1 and Ae2Ae_2 both lie in it, and yet it contains vectors that are not eigenvectors. For instance A(1,2,0)=(4,6,0)A(1, 2, 0) = (4, 6, 0), which is not a multiple of (1,2,0)(1, 2, 0).

Restriction of an operator

Definition Let VV be a vector space over F\mathbb{F}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, let T∈Hom⁡(V,V)T \in \operatorname{Hom}(V, V), and let UU be a TT-invariant subspace. The restriction of TT to UU is the operator T∣U∈Hom⁡(U,U)T|_U \in \operatorname{Hom}(U, U) given by

T∣U(u)=Tu,u∈U.T|_U(u) = Tu, \qquad u \in U.

It follows the same rule as TT, but its domain and codomain are both UU. Invariance is exactly what allows UU as the codomain. Without it, the rule only defines a map from UU to VV. Every eigenvector of T∣UT|_U is an eigenvector of TT with the same eigenvalue. If F=C\mathbb{F} = \mathbb{C} and UU is finite-dimensional and nonzero, then T∣UT|_U has an eigenvalue, by the fundamental theorem of algebra applied to its characteristic polynomial. So every nonzero finite-dimensional invariant subspace of a complex operator contains an eigenvector of TT. Over R\mathbb{R} this can fail.

In plain words Once TT keeps UU to itself, you can ignore the rest of VV and study TT as an operator on the smaller space UU.

Example For the matrix AA above and U=span⁡{e1,e2}U = \operatorname{span}\{e_1, e_2\}, the images Ae1=2e1Ae_1 = 2e_1 and Ae2=e1+3e2Ae_2 = e_1 + 3e_2 give the matrix of A∣UA|_U in the basis (e1,e2)(e_1, e_2),

[A∣U]=[2103].[A|_U] = \begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix}.

Its eigenvalues 22 and 33 are eigenvalues of AA, with eigenvectors e1e_1 and (1,1,0)(1, 1, 0) that lie in UU. There is no restriction of AA to span⁡{e2,e3}\operatorname{span}\{e_2, e_3\} as an operator, because Ae2Ae_2 leaves that plane. The real quarter turn with rows (0,−1)(0, -1) and (1,0)(1, 0) shows the failure over R\mathbb{R}. The whole plane R2\mathbb{R}^2 is invariant and nonzero, yet it contains no real eigenvector.

Adapted basis

Definition Let VV be a vector space over F\mathbb{F} of finite dimension nn, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, and let UU be a subspace of dimension rr. A basis

B=(u1,…,ur,w1,…,wn−r)\mathcal{B} = (u_1, \dots, u_r, w_1, \dots, w_{n-r})

of VV is adapted to UU if its first rr vectors u1,…,uru_1, \dots, u_r form a basis of UU. One always exists, since every basis of UU extends to a basis of VV. The remaining vectors span a complement W=span⁡{w1,…,wn−r}W = \operatorname{span}\{w_1, \dots, w_{n-r}\}, so V=U⊕WV = U \oplus W. When UU is neither {0}\{0\} nor VV, different extensions can give different complements. A vector lies in UU exactly when its last n−rn - r coordinates in B\mathcal{B} are zero. More generally, a basis is adapted to a direct sum V=U1⊕⋯⊕UkV = U_1 \oplus \cdots \oplus U_k when it lists a basis of U1U_1, then a basis of U2U_2, and so on.

In plain words List a basis of the subspace first. Then membership in the subspace becomes a visible pattern of zeros in the coordinates, and invariance becomes a pattern of zeros in the matrix.

Example In R2\mathbb{R}^2 let U=span⁡{(1,1)}U = \operatorname{span}\{(1, 1)\} and take b1=(1,1)b_1 = (1, 1) and b2=(0,1)b_2 = (0, 1). Writing (v1,v2)=c1b1+c2b2(v_1, v_2) = c_1b_1 + c_2b_2 gives

c1=v1,c2=v2−v1.c_1 = v_1, \qquad c_2 = v_2 - v_1.

So the second coordinate vanishes exactly when v1=v2v_1 = v_2, that is, exactly on UU. For instance (3,3)(3, 3) has coordinates (3,0)(3, 0), while (2,5)(2, 5) has coordinates (2,3)(2, 3). Choosing b2=(1,0)b_2 = (1, 0) instead gives another basis adapted to UU, with a different complement.

Block upper triangular matrix

Definition Let VV be a vector space over F\mathbb{F} of finite dimension nn, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, let T∈Hom⁡(V,V)T \in \operatorname{Hom}(V, V), and let B=(u1,…,ur,w1,…,wn−r)\mathcal{B} = (u_1, \dots, u_r, w_1, \dots, w_{n-r}) be a basis adapted to a subspace UU of dimension rr, with 0<r<n0 < r < n. Write [T]B[T]_{\mathcal{B}} for [T]B←B[T]_{\mathcal{B} \leftarrow \mathcal{B}}, whose jjth column holds the coordinates of the image of the jjth basis vector. Then UU is TT-invariant if and only if

[T]B=[BC0D],[T]_{\mathcal{B}} = \begin{bmatrix} B & C \\ 0 & D \end{bmatrix},

with B∈Fr×rB \in \mathbb{F}^{r \times r}, C∈Fr×(n−r)C \in \mathbb{F}^{r \times (n-r)}, D∈F(n−r)×(n−r)D \in \mathbb{F}^{(n-r) \times (n-r)} and a zero block of size (n−r)×r(n - r) \times r. A matrix of this shape is block upper triangular. The reason is that the first rr columns hold the coordinates of Tu1,…,TurTu_1, \dots, Tu_r, and their last n−rn - r entries vanish exactly when every TujTu_j lies in UU.

When UU is invariant, BB is the matrix of T∣UT|_U in the basis (u1,…,ur)(u_1, \dots, u_r), and CC holds the UU components of Tw1,…,Twn−rTw_1, \dots, Tw_{n-r}. The block DD is the matrix of the operator w↦P(Tw)w \mapsto P(Tw) on W=span⁡{w1,…,wn−r}W = \operatorname{span}\{w_1, \dots, w_{n-r}\}, where PP is the projection onto WW along UU. When WW is invariant as well, DD is the matrix of T∣WT|_W. Otherwise TT does not restrict to an operator on WW. A vector whose coordinates split into blocks c∈Frc \in \mathbb{F}^r and d∈Fn−rd \in \mathbb{F}^{n-r} is sent to the vector with blocks Bc+CdBc + Cd and DdDd.

The characteristic polynomial χT(t)=det⁡(tI−[T]B)\chi_T(t) = \det(tI - [T]_{\mathcal{B}}) factors even when C≠0C \ne 0,

χT(t)=χB(t) χD(t).\chi_T(t) = \chi_B(t)\,\chi_D(t).

Indeed, tI−[T]BtI - [T]_{\mathcal{B}} is again block upper triangular. In the permutation expansion of its determinant, every term that uses an entry of the zero block vanishes. A surviving term must send the last n−rn - r rows to the last n−rn - r columns, and hence the first rr rows to the first rr columns, so the sum of these terms factors. In particular det⁡T=det⁡Bdet⁡D\det T = \det B \det D.

In plain words The zero block says that nothing in UU produces a component outside UU. The block CC still allows influence in the other direction, from the complement into UU, so the coupling runs one way.

Example Let

A=[3−111].A = \begin{bmatrix} 3 & -1 \\ 1 & 1 \end{bmatrix}.

Since A(1,1)=(2,2)A(1, 1) = (2, 2), the line U=span⁡{(1,1)}U = \operatorname{span}\{(1, 1)\} is invariant. In the adapted basis b1=(1,1)b_1 = (1, 1), b2=(0,1)b_2 = (0, 1) we get Ab1=2b1Ab_1 = 2b_1 and Ab2=(−1,1)=−b1+2b2Ab_2 = (-1, 1) = -b_1 + 2b_2, so

[A]B=[2−102],χA(t)=(t−2)2.\begin{gathered} [A]_{\mathcal{B}} = \begin{bmatrix} 2 & -1 \\ 0 & 2 \end{bmatrix}, \\[0.4em] \chi_A(t) = (t - 2)^2. \end{gathered}

Here B=[2]B = [2], C=[−1]C = [-1] and D=[2]D = [2]. No choice of complement makes CC zero. An invariant complement would be another invariant line, hence another eigenline, but A−2IA - 2I has rank 11, so the only eigenline is UU itself.

Block diagonal matrix

Definition Let VV be a finite-dimensional vector space over F\mathbb{F}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, let T∈Hom⁡(V,V)T \in \operatorname{Hom}(V, V), and let V=U⊕WV = U \oplus W with UU and WW nonzero. In a basis B\mathcal{B} that lists a basis of UU and then a basis of WW,

[T]B=[B00D][T]_{\mathcal{B}} = \begin{bmatrix} B & 0 \\ 0 & D \end{bmatrix}

if and only if both UU and WW are TT-invariant. A matrix of this shape is block diagonal. The lower left block vanishes exactly when UU is invariant, and the upper right block vanishes exactly when every basis vector of WW is sent into WW. In that case BB and DD are the matrices of T∣UT|_U and T∣WT|_W, and

χT=χT∣U χT∣W.\chi_T = \chi_{T|_U}\,\chi_{T|_W}.

The same holds for V=U1⊕⋯⊕UkV = U_1 \oplus \cdots \oplus U_k, where invariance of every UiU_i is equivalent to a block diagonal matrix with one block for each UiU_i. The blocks themselves need not be diagonal. Invariance of UU alone gives only block upper triangular form. An invariant complement may fail to exist, and when one exists it need not be orthogonal to UU.

In plain words Block diagonal means the operator splits into independent pieces, one on each subspace, with no influence between them in either direction.

Example For the 3×33 \times 3 matrix AA with rows (2,1,0)(2, 1, 0), (0,3,0)(0, 3, 0) and (0,0,4)(0, 0, 4), the plane span⁡{e1,e2}\operatorname{span}\{e_1, e_2\} and the line span⁡{e3}\operatorname{span}\{e_3\} are both invariant, so the standard basis already gives the two blocks

[2103]and[4].\begin{bmatrix} 2 & 1 \\ 0 & 3 \end{bmatrix} \quad \text{and} \quad \begin{bmatrix} 4 \end{bmatrix}.

The first block is not diagonal, because e2e_2 still feeds into e1e_1 inside the plane. The line span⁡{e1}\operatorname{span}\{e_1\} also has an invariant complement, the plane spanned by (1,1,0)(1, 1, 0) and e3e_3, since A(1,1,0)=(3,3,0)A(1, 1, 0) = (3, 3, 0) and Ae3=4e3Ae_3 = 4e_3. In the basis e1e_1, (1,1,0)(1, 1, 0), e3e_3 the matrix is diag⁡(2,3,4)\operatorname{diag}(2, 3, 4). That complement is not perpendicular to e1e_1, since e1⋅(1,1,0)=1e_1 \cdot (1, 1, 0) = 1.

Reducing subspace

Definition Let VV be a finite-dimensional inner product space over F\mathbb{F}, where F\mathbb{F} is R\mathbb{R} or C\mathbb{C}, let T∈Hom⁡(V,V)T \in \operatorname{Hom}(V, V) with adjoint T∗T^{*}, and let UU be a subspace of VV. The subspace UU reduces TT, or is a reducing subspace for TT, if both UU and U⊥U^{\perp} are TT-invariant. The key fact is that if UU is TT-invariant, then U⊥U^{\perp} is T∗T^{*}-invariant. Indeed, for w∈U⊥w \in U^{\perp} and every u∈Uu \in U,

⟨u,T∗w⟩=⟨Tu,w⟩=0,\langle u, T^{*}w \rangle = \langle Tu, w \rangle = 0,

because Tu∈UTu \in U, so T∗w∈U⊥T^{*}w \in U^{\perp}. Applying this fact to the pair U⊥U^{\perp}, TT and to the pair UU, T∗T^{*}, and using (U⊥)⊥=U(U^{\perp})^{\perp} = U and (T∗)∗=T(T^{*})^{*} = T, gives the test

U reduces T  ⟺  U is invariantunder T and T∗.\begin{gathered} U \text{ reduces } T \\[0.4em] \iff U \text{ is invariant} \\[0.4em] \text{under } T \text{ and } T^{*}. \end{gathered}

Since V=U⊕U⊥V = U \oplus U^{\perp}, an orthonormal basis of UU followed by an orthonormal basis of U⊥U^{\perp} is adapted to this sum, and UU reduces TT exactly when the matrix of TT in that basis is block diagonal. If TT is self-adjoint, so that T=T∗T = T^{*}, every invariant subspace reduces TT.

In plain words An invariant subspace blocks influence in one direction. A reducing subspace blocks it in both, and the adjoint controls the second direction. Self-adjoint operators get the second direction for free.

Example Use the dot product on R3\mathbb{R}^3, so the adjoint of the matrix AA with rows (2,1,0)(2, 1, 0), (0,3,0)(0, 3, 0), (0,0,4)(0, 0, 4) is ATA^{\mathsf{T}}. The line span⁡{e1}\operatorname{span}\{e_1\} is invariant under AA but does not reduce it, since ATe1=(2,1,0)A^{\mathsf{T}}e_1 = (2, 1, 0) leaves the line. Equivalently, its orthogonal complement span⁡{e2,e3}\operatorname{span}\{e_2, e_3\} is not invariant, because Ae2=e1+3e2Ae_2 = e_1 + 3e_2. The plane span⁡{e1,e2}\operatorname{span}\{e_1, e_2\} does reduce AA, since ATe1=(2,1,0)A^{\mathsf{T}}e_1 = (2, 1, 0) and ATe2=(0,3,0)A^{\mathsf{T}}e_2 = (0, 3, 0) stay in it, and indeed its complement span⁡{e3}\operatorname{span}\{e_3\} is invariant. For the symmetric matrix with rows (2,1)(2, 1) and (1,2)(1, 2), the invariant line through (1,1)(1, 1) has the invariant orthogonal complement through (1,−1)(1, -1), as the self-adjoint case predicts, since (1,−1)(1, -1) is sent to itself.

Check yourself

  1. Let AA be the real matrix with rows (4,−1)(4, -1) and (2,1)(2, 1). Is the line through (1,1)(1, 1) invariant under AA? Is the line through (1,0)(1, 0)? Write the matrix of AA in the basis b1=(1,1)b_1 = (1, 1), b2=(0,1)b_2 = (0, 1).
Show the answer

Since A(1,1)=(3,3)=3(1,1)A(1, 1) = (3, 3) = 3(1, 1), the line through (1,1)(1, 1) is invariant. Since A(1,0)=(4,2)A(1, 0) = (4, 2) is not a multiple of (1,0)(1, 0), the line through (1,0)(1, 0) is not. Next, Ab2=(−1,1)=−b1+2b2Ab_2 = (-1, 1) = -b_1 + 2b_2, so

[A]B=[3−102].[A]_{\mathcal{B}} = \begin{bmatrix} 3 & -1 \\ 0 & 2 \end{bmatrix}.

The zero below the diagonal records the invariant line. As a check, (t−3)(t−2)=t2−5t+6(t - 3)(t - 2) = t^2 - 5t + 6, and indeed AA has trace 55 and determinant 66.

  1. Does the real quarter turn RR with rows (0,−1)(0, -1) and (1,0)(1, 0) have an invariant line in R2\mathbb{R}^2? Does it have an invariant line in C2\mathbb{C}^2 when it acts on complex vectors?
Show the answer

Not in R2\mathbb{R}^2. A real invariant line would be spanned by a real v≠0v \ne 0 with Rv=cvRv = cv for some real cc. Applying RR twice gives R2v=c2vR^2v = c^2v, but R2=−IR^2 = -I, so c2v=−vc^2 v = -v and c2=−1c^2 = -1, which no real number satisfies. The only real invariant subspaces are {0}\{0\} and R2\mathbb{R}^2.

In C2\mathbb{C}^2 it does. The vectors (1,−i)(1, -i) and (1,i)(1, i) satisfy R(1,−i)=i(1,−i)R(1, -i) = i(1, -i) and R(1,i)=−i(1,i)R(1, i) = -i(1, i), so the complex lines they span are invariant. Which subspaces are invariant depends on the field.

  1. Let AA be the real matrix with rows (1,1,0)(1, 1, 0), (1,1,0)(1, 1, 0) and (0,2,5)(0, 2, 5), and use the dot product on R3\mathbb{R}^3. Show that U=span⁡{e3}U = \operatorname{span}\{e_3\} is invariant, decide whether it reduces AA, and write the matrix of AA in the orthonormal basis B=(e3,e1,e2)\mathcal{B} = (e_3, e_1, e_2).
Show the answer

Since Ae3=5e3Ae_3 = 5e_3, the line UU is invariant. Its orthogonal complement is span⁡{e1,e2}\operatorname{span}\{e_1, e_2\}. The image Ae1=(1,1,0)Ae_1 = (1, 1, 0) stays in it, but Ae2=(1,1,2)Ae_2 = (1, 1, 2) does not, so UU does not reduce AA. The adjoint test agrees, since ATe3=(0,2,5)A^{\mathsf{T}}e_3 = (0, 2, 5) is not a multiple of e3e_3.

In the basis (e3,e1,e2)(e_3, e_1, e_2) the images of the basis vectors are 5e35e_3, then e1+e2e_1 + e_2, then 2e3+e1+e22e_3 + e_1 + e_2, so

[A]B=[502011011].[A]_{\mathcal{B}} = \begin{bmatrix} 5 & 0 & 2 \\ 0 & 1 & 1 \\ 0 & 1 & 1 \end{bmatrix}.

This is block upper triangular with B=[5]B = [5], C=[02]C = \begin{bmatrix} 0 & 2 \end{bmatrix} and DD the block with rows (1,1)(1, 1) and (1,1)(1, 1), whose characteristic polynomial is t2−2tt^2 - 2t. Hence χA(t)=t(t−2)(t−5)\chi_A(t) = t(t - 2)(t - 5). The line does have an invariant complement, spanned by the eigenvectors (5,−5,2)(5, -5, 2) and (3,3,−2)(3, 3, -2) for the eigenvalues 00 and 22, but that complement is not U⊥U^{\perp}.

How this lesson connects