Lecture 42 · Week 11· 19:47
Invariant subspaces
Invariant subspaces, triangularisation over ℂ.
Saved in this browser only. No account needed.
TranscriptThe full text of the lecture. Click any sentence to play the video from there.
Today: subspaces a map keeps
Welcome back. An eigenvector of an operator spans a line, and the operator sends that line into itself: every vector on the line is only stretched. Today we ask the same question for subspaces of any dimension. Which subspaces does a linear map keep? Here is a picture. Turn space by a quarter turn around the vertical axis. Every vector on the axis stays where it is, so the axis is kept.
The horizontal floor is kept too. A vector in the floor is turned, but it stays in the floor. Yet no line in the floor is kept. Watch the floor turn. Every line through the origin lands on a different line, so the floor contains no eigenvector. It is kept as a whole, not line by line.
Subspaces that a map keeps are called invariant subspaces. Here is the plan. First the definition and the first examples. Then invariant lines, and a way to find many invariant subspaces at once. Then what an invariant subspace does to the matrix of a map: it creates a block of zeros. And finally the main theorem: whenever the characteristic polynomial splits, and so always over the complex numbers, a square matrix is similar to an upper triangular matrix.
Invariant subspaces
Let V be a vector space over a field F, and T an operator on V, that is, a linear map from V to itself. A subspace U of V is invariant under T if T sends every vector of U into U. In symbols: T of u lies in U, for every u in U. We also say that U is T invariant. So T does not just send the vectors of U somewhere in V. It keeps them inside U. Whether a subspace is invariant depends on the subspace and the map together.
Four subspaces are invariant under every operator. The zero subspace, since T of zero is zero. And the whole space V, since T maps V into V. The kernel of T is invariant: if u is in the kernel, then T of u is the zero vector, which lies in the kernel. And the image of T is invariant: T of any vector lies in the image, so in particular T of a vector of the image does.
Now the quarter turn around the vertical axis, as a matrix A. It sends x, y, z to minus y, x, z. Written in full, with the hidden zeros and ones, the first row of A is zero, minus one, zero, the second row is one, zero, zero, and the third row is zero, zero, one. The z axis is invariant: A sends the vector (zero, zero, z), to itself.
And the x y plane is invariant: A sends the vector (x, y, zero), to the vector (minus y, x, zero), which again has third entry zero. But the x axis is not invariant. A sends e one to e two, which leaves the x axis. And the x y plane contains no eigenvector. If A sends the vector (x, y, zero), to lambda times itself, then minus y equals lambda x, and x equals lambda y.
Substituting the first into the second, x equals minus lambda squared x, so one plus lambda squared, times x, is zero. For a real lambda, one plus lambda squared is not zero, so x is zero, and then y is zero. So the x y plane is invariant as a whole, although no line inside it is.
Invariant lines
Which lines are invariant? Here is the proposition. Let v be a nonzero vector in V. The line spanned by v is invariant under T exactly when v is an eigenvector of T. Here is the proof. If T of v is lambda v, then T of c v is c times T of v, which is c lambda v, again a multiple of v. So the line is invariant. Conversely, if the line is invariant, then T of v lies on it, so T of v is lambda v for some scalar lambda. Since v is nonzero, v is an eigenvector.
In the plane, take the matrix with the rows (one, one), and (minus one, three). It sends the vector (one, one), to the vector (two, two), on its own line, so that line is invariant. But it sends e two to the vector (one, three), off the line of e two, so that line is not invariant. So invariant subspaces extend the idea of an eigenvector: the invariant lines are exactly the eigenvector lines. And, like the x y plane, an invariant subspace of higher dimension may contain no eigenvector at all.
Commuting maps
Many invariant subspaces come from maps that commute with T. Here is the proposition. Let S and T be operators on V, with S T equal to T S. Then the kernel and the image of S are invariant under T. The proof is two lines. If u is in the kernel of S, then S of T of u equals T of S of u, which is T of zero, which is zero. So T of u is in the kernel of S. And if w is in the image of S, say w equals S of v, then T of w is T of S of v, which equals S of T of v. That is S of a vector, so it lies in the image of S.
The first choice is S equal to T minus lambda I. It commutes with T: both products equal T squared minus lambda T. So for every scalar lambda, the kernel and the image of T minus lambda I are invariant under T. In particular, every eigenspace is invariant, since E lambda is the kernel of T minus lambda I. Next lecture builds polynomials in T, such as T squared minus three T plus two I. Each of them commutes with T, so their kernels and images are invariant too.
Restrictions and block matrices
If U is invariant under T, then T maps U into U, so we can view T as an operator on U alone. This is the restriction of T to U. It sends each u in U to T of u. Without invariance, T of u could leave U, and the restriction would not be an operator on U. For the quarter turn, the restriction to the x y plane is the quarter turn of the plane, with the rows (zero, minus one), and (one, zero). The restriction to the z axis is the identity of the axis, with the one by one matrix one.
Now the matrix of T. Take a basis b one up to b k of U, and extend it to a basis b one up to b n of V. Column j of the matrix of T holds the coordinates of T of b j. For j at most k, the vector b j lies in U, so T of b j lies in U. So T of b j is a combination of b one up to b k alone, and its last n minus k coordinates are zero.
This is the theorem on the block triangular form. The first k columns have zeros below row k: a block of zeros in the lower left corner. The top left block is the matrix of the restriction, and the other two blocks are A one two and A two two. The converse holds too. If the first k columns have zeros below row k, then each T of b j lies in U, and so does T of every combination of them. So an invariant subspace and a block of zeros in this corner are the same thing. The blocks also split the characteristic polynomial. By the block determinant formula of lecture thirty five, the characteristic polynomial of T is the characteristic polynomial of the restriction, times that of A two two. So every eigenvalue of the restriction is an eigenvalue of T.
If V is the direct sum of two invariant subspaces, and the basis joins a basis of each, then the top right block is zero too, and the matrix is block diagonal. The quarter turn shows exactly this. R three is the direct sum of the x y plane and the z axis, both invariant, so A is block diagonal: a two by two block for the plane, and a one by one block for the axis. Diagonalisation is the extreme case, with n invariant lines and blocks of size one. Don't get confused here. Every invariant subspace gives a block of zeros in the lower left corner, in a basis that starts with a basis of it. But the upper right block is zero only when the remaining basis vectors span a second invariant subspace. The shear of lecture thirty nine has the invariant line of e one, but no second invariant line, so no basis makes its matrix diagonal: triangular is the best it gets.
Triangular matrices
Now push the idea as far as it goes. When is the matrix of T upper triangular? Column j has zeros below row j exactly when T of b j is a combination of b one up to b j. Write V j for the span of b one up to b j. Here is the proposition. The matrix of T is upper triangular exactly when every V j is invariant under T. For the proof, if every V j is invariant, then T of b j lies in V j, and that gives column j.
Conversely, if the matrix is upper triangular, then for each i up to j, T of b i lies in V i, which is inside V j. So T maps a spanning list of V j into V j, and by linearity it maps all of V j into V j. So an upper triangular matrix is a chain of invariant subspaces, each one dimension bigger than the last: a line, then a plane through that line, and so on, up to V. The first of them is an eigenvector line. The first column is lambda one followed by zeros, so T of b one is lambda one times b one.
And the diagonal shows the eigenvalues. By lecture thirty eight, the characteristic polynomial of a triangular matrix is the product of its diagonal entries minus t. So the eigenvalues are the diagonal entries, each repeated as often as its algebraic multiplicity. This is why the quarter turn of the plane has no upper triangular matrix over the real numbers: it has no eigenvector, so no invariant line can start the chain.
Triangularisation
Not every operator has a diagonal matrix: the shear of lecture thirty nine has only one eigenvector line. But when the characteristic polynomial splits, the next best thing is always possible. Here is the theorem. Let A be an n by n matrix over F, whose characteristic polynomial splits into linear factors over F. Then there is an invertible matrix P over F such that P inverse A P is upper triangular. Over the complex numbers every polynomial splits, by the fundamental theorem of algebra from lecture forty one. So every complex square matrix is similar to an upper triangular matrix.
Don't confuse this with diagonalisation. A diagonal matrix needs n independent eigenvectors, and the shear has only one line of them. A triangular matrix needs only a chain of invariant subspaces, and the shear has one: the line of e one inside the plane. Its matrix is already upper triangular. The proof is by induction on n, and it is worth taking slowly. For n equal to one, every one by one matrix is upper triangular, so take P equal to the identity. Now let n be at least two. The characteristic polynomial splits, so it has a root lambda in F, and A has an eigenvector v one for lambda. Extend v one to a basis of F n, and put the basis vectors into the columns of an invertible matrix P one.
The line of v one is invariant, so by the block triangular form, P one inverse A P one has the first column lambda followed by zeros. Next to lambda is a row A one two, and below it a block A two two, of size n minus one. Similar matrices have the same characteristic polynomial, so the characteristic polynomial of A is lambda minus t, times that of A two two. It splits, so the second factor splits too, and by the induction hypothesis there is an invertible Q with Q inverse A two two Q upper triangular. Now put P equal to P one times the block matrix with one and Q on its diagonal. By block multiplication, P inverse A P has lambda in the corner, zeros below it, A one two Q beside it, and Q inverse A two two Q in the lower right.
That is upper triangular, and this proves the theorem. The proof is also a method: find one eigenvector, extend it to a basis, and repeat with the smaller block.
Two examples
Let's triangularise an example. Take the matrix A with the rows (one, one), and (minus one, three). Its characteristic polynomial is one minus t, times three minus t, minus one times minus one. That is t squared, minus four t, plus four, which is t minus two, squared. So two is the only eigenvalue. A minus two I has the rows (minus one, one), and (minus one, one). That leaves one equation: minus x one, plus x two, equals zero. So E two is the line spanned by the vector (one, one), and A is not diagonalisable.
But it can be triangularised. Take b one equal to (one, one), and extend it by b two equal to e two, which is (zero, one). Then P has the columns b one and b two, and P inverse has the rows (one, zero), and (minus one, one). First A P. Its first column is A times b one: in the first coordinate, one plus one is two, and in the second, minus one plus three is two. Its second column is A times e two, the second column of A, which is (one, three). Then P inverse times A P. P inverse times the vector (two, two), is the vector (two, zero), since minus two plus two is zero. And P inverse times the vector (one, three), is the vector (one, two), since minus one plus three is two.
So P inverse A P is upper triangular, with two and two on the diagonal, and one above. The diagonal holds the eigenvalue two, twice, as it must. In the picture, the line through b one is invariant, and A doubles b one. And A sends b two to b one plus two b two: twice itself, plus a step along the invariant line. Now a three by three example. Take the matrix B whose first row is (two, zero, one), its second row is (one, one, one), and its third row is (minus one, zero, zero).
Expand the determinant of B minus t I along the second column, whose only nonzero entry is one minus t. That gives one minus t, times two minus t times minus t, plus one, which is one minus t, cubed. So one is the only eigenvalue. Every row of B minus I is a multiple of (one, zero, one), so E one is the plane x one plus x three equals zero. It is spanned by b one equal to (zero, one, zero), and b two equal to (minus one, zero, one). E one has dimension two, less than three, so B is not diagonalisable. But the line of b one and the plane E one are invariant, so they are the first two steps of the chain, and we complete the basis with b three equal to e one.
B times b three is the first column of B, the vector (two, one, minus one). Writing it as c one b one, plus c two b two, plus c three b three, the third entry gives c two equal to minus one, the second gives c one equal to one, and the first then gives c three equal to one. So B sends b one and b two to themselves, and b three to b one, minus b two, plus b three. Their coordinates are the columns of P inverse B P: upper triangular, with one, one, one on its diagonal. Here is the picture, with the matrix of B in the b basis below B itself. The plane E one is spanned by b one and b two. The top left block of the matrix is the identity, so B sends b one to b one, and b two to b two, and every vector of the plane stays exactly where it is.
Compare two other blocks. With the diagonal block two, one half, b one would double and b two would halve: each line stays invariant, and the plane is stretched within itself. With a one above the diagonal, b two would go to b one plus b two: the plane is sheared within itself, and of the lines in the plane, only the line of b one stays invariant. Either way the plane maps into itself, because the two zeros below the block keep the images of b one and b two in the plane. Now the vector outside the plane. Look at the plane edge on, as a floor. The third column says that B b three is b one, minus b two, plus b three. The corner entry one keeps b three at the same height above the floor, and the entries one and minus one above it slide it parallel to the floor, by the step b one minus b two. A vector c one b one, plus c two b two, plus c three b three slides by c three times that step: the higher it is, the further it slides. This is a shear, like the one in lecture thirty nine, standing on the floor. Turning the view, the plane E one and the line of b one stay where they are, while b three leaves its own line.
Over the real numbers, triangularisation can fail. The quarter turn of the plane has the characteristic polynomial t squared plus one, which does not split, and no real basis makes its matrix upper triangular. Over the complex numbers it is even diagonalisable. Don't get confused: this does not contradict the theorem. The theorem needs a characteristic polynomial that splits over the field we work in. Over the real numbers, t squared plus one does not split, so the theorem promises nothing there. Over the complex numbers it is t minus i, times t plus i, and the triangular form exists.
Summary
To sum up. A subspace U is invariant under T when T maps U into U. The invariant lines are exactly the eigenvector lines, and the kernels and images of maps that commute with T, such as the eigenspaces, are invariant. An invariant subspace gives a block of zeros in the matrix, and a chain of invariant subspaces gives an upper triangular matrix. Whenever the characteristic polynomial splits, and so always over the complex numbers, a square matrix is similar to an upper triangular one. Before the next lecture, read section nine point two of the course book, try the problems on sheet eleven about invariant subspaces and triangularisation, and do the lecture check on this lecture's page at Open Semester dot com. Next time: polynomials of matrices, and the Cayley–Hamilton theorem. See you there.
In this lecture
Materials
Check yourself
3 questions, from warm-up to stretch
Work each one out on paper, type your answer and press Check. Stuck? Open a hint; the worked solution is there when you need it.
- Question 1 of 3 Warm-up
Let . The line is -invariant, since . There is exactly one other -invariant line, : find . Is the line -invariant?
Hint 1 of 2
By Proposition 9.2.4, a line is invariant exactly when it is spanned by an eigenvector. So find the other eigenvalue of and its eigenvectors, and test : is a multiple of ?
Hint 2 of 2
. One root is , the eigenvalue of ; for the other root , solve .
Worked solution
- By Proposition 9.2.4, the invariant lines are exactly the lines spanned by eigenvectors.
- . So the eigenvalues are and .
- For : gives , so , the line we were given.
- For : gives , so and . Check: .
- Each eigenspace is a line, so these two lines are the only invariant lines. is not a multiple of , so is not invariant.
- Question 2 of 3 Core
Let over . Find its only eigenvalue . Then triangularise as in Example 9.2.13: take , an eigenvector, and , and . Then : find and .
Hint 1 of 2
. Then work out column by column ( and ), find , and multiply .
Hint 2 of 2
and is the second column of . For use the formula: .
Worked solution
- . So is the only eigenvalue.
- gives , so : is an eigenvector, and its line is invariant.
- has the columns and , the second column of : .
- , so . Then . So and .
- In the basis : and ; indeed . The diagonal holds the eigenvalue twice, as Proposition 9.2.11 predicts.
- Question 3 of 3 Stretch
Let over : a quarter turn of the -plane, and a stretch by along the -axis. How many -invariant lines (through ) are there in ? Is the plane -invariant? Is similar, over , to an upper triangular matrix?
Hint 1 of 2
Invariant lines are eigenvector lines (Proposition 9.2.4), so find the real eigenvalues and their eigenspaces. For the plane, test its basis: where does send ? For the last part, use Theorem 9.2.12 and its converse (Remark 9.2.15): does split over ?
Hint 2 of 2
Expand along the third row: .
Worked solution
- Along the third row, . Over the only root is , since .
- : the first two rows give (from and ), and is free. So , the -axis.
- By Proposition 9.2.4 the invariant lines are the eigenvector lines, so there is exactly : the -axis.
- , so that plane is not invariant. (The -plane is invariant, as in Example 9.2.3.)
- A real triangular form would make split over (Remark 9.2.15(a)). Since does not split over , is not similar over to an upper triangular matrix. Equivalently, by Proposition 9.2.11 the chain would need an invariant plane containing the invariant line , the -axis; but a plane through the -axis contains a nonzero vector of the -plane, and is turned a quarter, which leaves that plane.
How did it go?