4.5Isomorphisms and change of basis
A basis of length turns into : every vector gets a column of coordinates, and every linear map gets a matrix. But a vector space has many bases, and nothing in prefers one of them. This section studies that freedom. First we make precise when two vector spaces differ only in the names of their vectors; for finite-dimensional spaces this happens exactly when their dimensions agree. Then we work out how coordinates and matrices change with the basis. This takes one formula, and it leads to similarity: two square matrices are similar exactly when they are matrices of one operator in two bases. Whatever all matrices of an operator have in common, such as their rank and their trace, is then a property of the operator itself, and the freedom to pick the basis becomes a proof technique.
Throughout, is a field.
4.5.1Isomorphisms
The coordinate map of a basis of length is a linear bijection (Proposition 1.6.19, Proposition 1.6.16). Through it, and have the same arithmetic: adding two vectors adds their coordinate columns, and scaling a vector scales its column. So is with different names for the vectors. Linear bijections are exactly the maps that rename vectors in this way.
By Proposition 2.7.7, a linear map is an isomorphism if and only if it is bijective, since the inverse function of a bijective linear map is automatically linear. So to show that is an isomorphism, we may either show that it is injective and surjective, or exhibit a linear two-sided inverse.
- (a)For every basis of of length , the coordinate map is an isomorphism, with inverse
(Example 2.5.14(c)). For and the basis , it is the map , so . - (b)Stacking the columns of a matrix,
, is a linear bijection : both spaces use entrywise operations, and unstacking is an inverse. So . - (c)The map is an isomorphism from onto the plane
of , with inverse . This is the sense in which is “a copy of ” (Exercise 4.1.41(f)), even though is not a subset of . - (d)The map , , is an isomorphism. It is linear because the operations on are pointwise. Its inverse sends to the map , since every satisfies .
- (a)Complex conjugation is a bijection that respects addition and multiplication by real numbers, so it is an isomorphism of vector spaces over . It is not linear over : , while . Whether a map is an isomorphism depends on the field, as dimension does (Remark 4.1.6).
- (b)The bijection , , is not additive, since . A bijection between vector spaces renames the vectors, but unless it respects the operations, the arithmetic does not survive the renaming.
Proposition 4.5.4 (Isomorphism is an equivalence relation). For all vector spaces , , and over :
- (a);
- (b)if , then ;
- (c)if and , then .
Uses. Definition 4.5.1 (Isomorphism), Proposition 2.5.17 (Algebra of inverses), Example 2.5.14 (Invertible maps and matrices)
So the vector spaces over fall into isomorphism classes (Section A.3). Within a class, every statement that is phrased in terms of the vector space operations transfers from one space to another. Here are the statements we use most.
Proposition 4.5.5 (Isomorphisms preserve linear structure). Let be an isomorphism.
- (a)A list in is linearly independent if and only if
is. It spans if and only if spans , and it is a basis of if and only if is a basis of . - (b)For every subspace of , is a subspace of , and is an isomorphism from onto .
- (c) is finite-dimensional if and only if is, and in that case . More generally,
for every finite-dimensional subspace of .
Uses. Theorem 2.6.11 (Injectivity is decided at ), Proposition 2.5.17 (Algebra of inverses), Proposition 4.2.3 (Properties of restriction), Proposition 2.6.8 (Kernels and images are subspaces), Proposition 2.7.7 (Bijective linear maps are invertible), Definition 4.1.5 (Dimension)
Techniques. Fix an arbitrary element and chase it (Technique 1.3.13)
Since is linear, for all scalars ,
(a) Suppose is independent, and
For the converses, recall that is an isomorphism (Proposition 2.5.17(a)) and that . Applying what we just proved to and the list shows that if is independent or spanning, then so is . The statement about bases combines the two.
(b) By Proposition 4.2.3(c), , so its image is a subspace of (Proposition 2.6.8). It is injective by Proposition 4.2.3(a), and it maps onto its own image. So it is a linear bijection , hence an isomorphism (Proposition 2.7.7).
(c) If is a finite list spanning , then is a finite list spanning by (a); applying this to gives the converse. If is finite-dimensional with basis , then is a basis of of the same length by (a), so . Finally, if is a finite-dimensional subspace of , apply this to the isomorphism
Now the main theorem. By (c), isomorphic spaces have equal dimensions. The converse is the surprise: for finite-dimensional spaces, dimension is the only thing that can tell two vector spaces apart.
We give two proofs. The first works with bases directly; the second assembles the isomorphism from coordinate maps and gets the dimension count from rank–nullity.
Proof (with bases).
Uses. Proposition 4.5.5 (Isomorphisms preserve linear structure), Theorem 2.2.1 (Linear maps are determined by a basis), Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Proposition 2.7.7 (Bijective linear maps are invertible), Definition 4.1.5 (Dimension)
Techniques. Construct a map by choosing it on a basis (Technique 2.2.4)
If , then by Proposition 4.5.5(c).
Conversely, suppose . If , then and , and the zero map is a bijection between them. If , choose bases of and of . By Theorem 2.2.1 there is a linear map with for each . It carries a basis of to a basis of , so it is bijective by Proposition 2.6.22(c), and an isomorphism by Proposition 2.7.7.
For the last statement: , so a finite-dimensional space of dimension is isomorphic to by what we just proved. Conversely, if , then is finite-dimensional with by Proposition 4.5.5(c). □
Proof (with coordinate maps and rank–nullity).
Uses. Example 2.5.14 (Invertible maps and matrices), Proposition 4.5.4 (Isomorphism is an equivalence relation), Theorem 4.2.11 (Rank–nullity), Theorem 2.6.11 (Injectivity is decided at ), Proposition 4.5.5 (Isomorphisms preserve linear structure)
Techniques. Dimension counting (Technique 4.2.24)
Suppose . For both spaces are , as in the first proof. For , choose bases of and of . The coordinate maps and are isomorphisms (Example 2.5.14(c)), so by Proposition 4.5.4, is an isomorphism. Explicitly, it sends to : it is the map of the first proof.
Conversely, let be an isomorphism. Then (Theorem 2.6.11) and , so by Theorem 4.2.11(b),
The last statement follows as in the first proof. □
Technique 4.5.7 (Transport along an isomorphism). An isomorphism carries every statement about that is phrased in terms of the vector space operations (independence, span, bases, subspaces and their dimensions, kernels and images of linear maps) to the corresponding statement about , and back. So to answer such a question about an unfamiliar space, transport it along an isomorphism to a space where it is easier, answer it there, and transport the answer back.
Reach for it when the space is made of polynomials, matrices, functions, or linear maps, and the question only involves linear structure. The usual target is , through coordinates: Proposition 1.6.20 was an early instance, and Theorem 4.5.6 says that every -dimensional space can be transported to . The canonical example is the computation of below, which transports the question to matrices. Be careful to transport only statements made of the linear operations: a property such as “every entry is positive” or “the polynomial has a root” is not preserved by isomorphisms.
Used in 4 places and 2 practice exercises
Theorem 4.5.8, Exercise 4.5.41, Exercise 4.5.42, Exercise 4.8.12; 2 practice exercises.
The dimension of
In Section 2.4 we saw that is a linear bijection (Proposition 2.4.12). In the language of this section, it is an isomorphism, and Technique 4.5.7 gives the dimension of .
Theorem 4.5.8 (Dimension of ). Let and be finite-dimensional with and . Then is finite-dimensional, and
If and , are bases of , , then is an isomorphism .
Proof (by transport to matrices).
Uses. Proposition 2.4.12 (Matrices of sums and scalar multiples), Theorem 2.3.20 (Linear maps correspond to matrices), Proposition 4.5.5 (Isomorphisms preserve linear structure), Example 4.1.7 (Dimensions of the standard spaces), Proposition 2.1.4 (Linear maps preserve and negatives)
Techniques. Transport along an isomorphism (Technique 4.5.7)
If , then , and every linear map is zero since (Proposition 2.1.4). If , then every map into is zero. In both cases has dimension .
Now let . By Proposition 2.4.12 and Theorem 2.3.20, is a linear bijection from onto , that is, an isomorphism. Since (Example 4.1.7(a)), Proposition 4.5.5(c) shows that is finite-dimensional of dimension . □
The second proof writes down a basis of . It is longer, but it shows what the isomorphism does: it matches a natural basis of with the standard basis of .
Proof (with an explicit basis).
Uses. Theorem 2.2.1 (Linear maps are determined by a basis), Definition 2.3.1 (Matrix of a linear map), Definition 1.6.1 (Basis), Definition 1.5.1 (Linear independence), Definition 2.1.21 (Pointwise operations)
Techniques. Construct a map by choosing it on a basis (Technique 2.2.4), Check it on a basis (Technique 2.2.7)
The zero cases are as in the first proof, so let , and let and be bases of and . For and , let be the linear map with
(Theorem 2.2.1). We show that the maps , listed in any order, form a basis of .
They span. Let , and write
for each , because only the terms with survive. Two linear maps that agree on a basis are equal (Theorem 2.2.1), so .
They are independent. Suppose
So has a basis of maps, and . □
The coefficients in the second proof are the entries of , and
Two special cases come up constantly. For an operator space, ; so for every , the operators are dependent, which is Proposition 4.1.31(b) again. For , . The linear maps are the linear functionals, and is the dual space of , the subject of Section 13.1.
Exercise 4.5.9. Sort the following vector spaces over into isomorphism classes.
- (a).
- (b).
- (c).
- (d)The upper triangular matrices in .
- (e).
- (f).
- (g).
Uses. Theorem 4.5.6 (Classification by dimension), Theorem 4.5.8 (Dimension of ), Example 4.1.7 (Dimensions of the standard spaces), Definition 2.4.26 (Trace)
By Theorem 4.5.6, two finite-dimensional spaces are isomorphic exactly when their dimensions agree. We compute the dimensions.
(a) (Example 4.1.7). (b) , with basis . (c) by Theorem 4.5.8. (d) An upper triangular matrix is with unique coefficients, so the six matrix units with form a basis: dimension . (e) means that the constant coefficient vanishes, so is a basis: dimension . (f) by Theorem 4.5.8. (g) has trace when , and then it equals
So the classes are and .
4.5.2Change of coordinates
The conversion between the two readings is the matrix of the identity map with different bases on the two sides, which we met in Section 2.3.5. We give it a name.
Definition 4.5.10 (Change-of-coordinates matrix). Let be a vector space with , and let and be bases of . The change-of-coordinates matrix from to is
whose -th column holds the -coordinates of the -th vector of . By Theorem 2.3.9,
As with every matrix of a map, the subscripts are target first: eats -coordinates and returns -coordinates. Books disagree on which of the two matrices to call “the change-of-basis matrix from to ”, so it is safest to trust the subscripts and not the words. We drop the subscript from when the space is clear.
Example 4.5.11 (Two grids in the plane). Let be a field in which , let be the standard basis of , and let . The columns of are the standard coordinates of the vectors of , which are those vectors themselves. The columns of are the -coordinates of and , which we find by solving:
For , we get
The general rules are consequences of the composition theorem.
Proposition 4.5.12 (Calculus of change of coordinates). Let , , and be bases of , where .
- (a)
, and . - (b) is invertible, with inverse .
- (c) is the only matrix with for every .
Uses. Theorem 2.4.2 (The matrix of a composite), Example 2.3.6 (The zero map and the identity map), Definition 2.5.12 (Invertible), Theorem 2.3.9 (The matrix of a map computes the map), Definition 2.3.1 (Matrix of a linear map)
Techniques. Translate between maps and matrices (Technique 2.3.27)
(a) By Theorem 2.4.2 applied to , with on the domain, in the middle, and on the target,
(b) By (a) with ,
(c) converts coordinates by Theorem 2.3.9. Conversely, suppose for every . Taking , the -th vector of , whose -coordinates are , gives . The left side is the -th column of , and the right side is the -th column of (Definition 2.3.1). □
In there is a standard way to compute. For a basis of , is the matrix with columns , since . For two bases and of , route through the standard basis: by Proposition 4.5.12,
To compute without computing first, row reduce : if , then , and the reduction ends at (Theorem 3.3.10).
Exercise 4.5.13. Over , let and .
- (a)Show that both lists are bases of , and compute .
- (b)The vector has . Find and , and check your answer.
Uses. Proposition 4.5.12 (Calculus of change of coordinates), Definition 4.5.10 (Change-of-coordinates matrix), Proposition 2.5.28 (Inverse of a matrix), Proposition 1.1.24 ( is a field if and only if is prime)
(a) Let and . Then and are nonzero in , so both matrices are invertible (Proposition 2.5.28), their columns are independent (Corollary 3.5.25), and two independent vectors in form a basis (Theorem 4.1.10(b)). Since , we have and
So
Check:
(b)
Check:
The next example changes coordinates in a polynomial space, where the new coordinates have a meaning of their own.
Example 4.5.14 (Expanding around a point). Let , with and
the three vectors of span (their span contains , , and ), so they form a basis (Corollary 4.1.11(b)). The displayed identities give the columns of the change-of-coordinates matrix, and expanding and in powers of gives the columns of its inverse:
(Multiply them to check that the product is .) So for ,
Over , the new coordinates are , , and : changing to the basis is Taylor expansion at .
The matrix also appeared in Example 2.4.13, as the matrix in the basis of the shift . The next remark explains why.
Remark 4.5.15 (Moving the grid or moving the vectors). A change-of-coordinates matrix is also the matrix of an operator in a single basis. Given bases and of , let be the operator with for each (Theorem 2.2.1). The -th column of is , which is also the -th column of . So
by Proposition 4.5.12(b) and Proposition 2.5.20(b) ( is invertible because it carries a basis to a basis). In Example 4.5.14, , so is the substitution and is .
So there are two ways to read the same matrix. In the passive reading, the vectors stay put and the grid changes from to . In the active reading, the grid stays put and the vectors move by . Moving the grid forward by looks, in coordinates, exactly like moving the vectors back by .
So every change-of-coordinates matrix is invertible. Conversely, every invertible matrix changes coordinates, from any given basis to a suitable new one. This is what makes the change-of-basis formula below reversible.
Proposition 4.5.16 (Every invertible matrix changes coordinates). Let be a basis of , and let
(a)There is exactly one basis of with , namely
- (b)There is exactly one basis of with .
Proof (through coordinates).
Uses. Definition 4.5.10 (Change-of-coordinates matrix), Definition 1.6.14 (Coordinates), Corollary 3.5.25 (The invertible matrix theorem), Theorem 4.1.10 (Independent lists are short), Proposition 1.6.20 (Coordinates translate questions about into ), Proposition 4.5.12 (Calculus of change of coordinates), Proposition 2.5.17 (Algebra of inverses)
Techniques. Uniqueness via two candidates (Technique 1.1.8)
(a) Let be the -th column of . For any basis , the -th column of is (Definition 4.5.10). So holds exactly when for every , that is, when
(b) By Proposition 4.5.12(b), for a basis we have if and only if . The matrix is invertible (Proposition 2.5.17(a)), so by (a) there is exactly one such basis. □
Proof (by moving the basis).
Uses. Theorem 2.3.20 (Linear maps correspond to matrices), Proposition 2.5.20 (Inverses and matrices), Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Remark 4.5.15 (Moving the grid or moving the vectors)
Techniques. Translate between maps and matrices (Technique 2.3.27)
(a) By Theorem 2.3.20(b) there is with , and is invertible because is (Proposition 2.5.20(b)). So
(b) As in the first proof, apply (a) to . □
In particular, for a fixed basis , the map is a bijection from the set of bases of onto the set of invertible matrices. Over a field with elements, the number of invertible matrices is therefore the number of bases of , which Corollary 4.1.35 computed: .
4.5.3The change-of-basis formula
Now let , where and . If we replace the basis of by and the basis of by , how is the new matrix related to the old one?
Theorem 4.5.17 (Change of basis). Let and be bases of , let and be bases of , and let . Then
In particular, if and , then
Intuition (Reading the formula). Read the right side from right to left, as the composite it is. Start with the -coordinates of a vector . The factor converts them into -coordinates, in which we know how to apply ; the factor does so and produces the -coordinates of ; and converts those into -coordinates. The result is what does in one step.
There is also a bookkeeping rule. In a product of matrices of maps, adjacent subscripts must match, like dominoes:
The first proof is the lecture’s: the formula is the composition theorem applied to , with each copy of a space carrying a different basis.
Proof (by composition).
Uses. Theorem 2.4.2 (The matrix of a composite), Proposition 2.1.24 (Algebra of composition), Proposition 4.5.12 (Calculus of change of coordinates)
Techniques. Translate between maps and matrices (Technique 2.3.27)
By Proposition 2.1.24(b), . Apply Theorem 2.4.2 to , with on the domain, on the middle copy of , and on :
Apply it again to , with on , on the middle copy of , and on the target:
For , take and . Then by Proposition 4.5.12(b). □
The second proof chases a single vector through the diagram of Figure 4.5.1. It is the lecture’s proof of
Proof (by chasing a vector).
Uses. Theorem 2.3.9 (The matrix of a map computes the map), Proposition 1.6.16 (The coordinate map is a bijection), Definition 2.3.8 (Matrix–vector product)
Techniques. Translate between maps and matrices (Technique 2.3.27), Fix an arbitrary element and chase it (Technique 1.3.13)
Let be the right side of the formula, and let . Applying Theorem 2.3.9 three times (to , to , and to ),
and
The first proof is shorter, because Theorem 2.4.2 already did the vector chase once and for all. The second is the one to remember when the subscripts get confusing: follow one vector around the diagram, and the order of the factors takes care of itself.
Example 4.5.18 (An oblique projection). Let and in . The vectors and form a basis of over every field, since has . Let be the projection onto along : and . Its matrix in is obvious, and the theorem converts it into the standard matrix. With
Check: and . Here we used the theorem with as the new basis:
Example 4.5.19 (Differentiation, revisited). In Example 2.3.22(c), with in , we found the matrix of differentiation on in the basis by applying to each basis vector. The theorem gives it from , where . Here
as found there. Scaling the third basis vector by divides the third column by and multiplies the third row by .
Uses. Theorem 4.5.17 (Change of basis), Proposition 2.3.16 (The matrix of ), Definition 2.3.1 (Matrix of a linear map)
By Proposition 2.3.16, , and
Directly:
Matrices of one map
Every pair of bases gives a matrix of , and by the theorem they are all of the form with and invertible. The converse also holds, because every invertible matrix is a change-of-coordinates matrix.
Corollary 4.5.21 (Matrices of one linear map). Let with and , let and be bases of and , and let . For , the following are equivalent.
- (a) for some bases of and of .
- (b) for some invertible and .
- (c).
Uses. Theorem 4.5.17 (Change of basis), Proposition 4.5.12 (Calculus of change of coordinates), Proposition 4.5.16 (Every invertible matrix changes coordinates), Proposition 4.3.1 (Invertible factors preserve rank), Theorem 3.5.27 (Rank normal form), Proposition 2.5.17 (Algebra of inverses)
Techniques. Proving TFAE (Technique 2.7.1)
We prove (a) (b) and (b) (c).
(a) (b). By Theorem 4.5.17,
(b) (a). By Proposition 4.5.16(a) there is a basis of with , and by part (b) there is a basis of with . By Theorem 4.5.17,
(b) (c). This is Proposition 4.3.1.
(c) (b). Let . By Theorem 3.5.27 there are invertible and with
So when the domain and the target may carry unrelated bases, the matrix of can be any matrix of rank , and nothing else about is visible. Choosing the bases well, the matrix becomes as simple as possible.
Corollary 4.5.22 (Rank normal form for linear maps). Let , where and are nonzero and finite-dimensional, and let . There are bases of and of with
Proof (from the matrix version).
Uses. Corollary 4.5.21 (Matrices of one linear map), Proposition 4.2.15 (Rank through any matrix)
Proof (by building the bases).
Uses. Theorem 4.1.16 (Extending to a basis), Theorem 4.2.11 (Rank–nullity), Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Definition 2.3.1 (Matrix of a linear map)
Techniques. Extend a basis of a subspace (Technique 4.1.18)
The second proof is the one sketched after the second proof of rank–nullity (Section 4.2), and the first is Corollary 3.5.29 transported to abstract spaces. For operators, where the same basis must be used on both sides, much more survives. That is the subject of the next subsection.
4.5.4Similarity
For we compare with , so we use one basis for both. By Theorem 4.5.17, the matrices of in two bases are related by
Definition 4.5.23 (Similar matrices). Matrices are similar if
for some invertible . We then write .
The lecture writes the same condition as ; take . To check a proposed , it is easier to verify (and that is invertible) than to compute .
Uses. Definition 4.5.23 (Similar matrices), Proposition 2.5.17 (Algebra of inverses), Proposition 2.4.14 (Algebra of matrices)
First, . If , multiplying by on the left and on the right gives
and is invertible. □
The definition is a statement about matrices, but its meaning is a statement about operators.
Theorem 4.5.25 (Similar matrices are one operator in two bases). Let with . The following are equivalent.
- (a).
- (b)Whenever , , and is a basis of with , there is a basis of with .
- (c)There are a vector space with , an operator , and bases , of with and .
Moreover, if , then , where is the list of columns of .
Uses. Theorem 4.5.17 (Change of basis), Proposition 4.5.16 (Every invertible matrix changes coordinates), Proposition 4.5.12 (Calculus of change of coordinates), Proposition 2.3.16 (The matrix of )
Techniques. Proving TFAE (Technique 2.7.1), Translate between maps and matrices (Technique 2.3.27)
We prove (a) (b) (c) (a).
(a) (b). Let , and let , , and be as in (b). By Proposition 4.5.16(a), there is a basis of with . By Theorem 4.5.17,
(b) (c). Take , , and the standard basis ; then (Proposition 2.3.16), and (b) provides .
(c) (a). Let , which is invertible (Proposition 4.5.12(b)). By Theorem 4.5.17,
For the last claim, apply the proof of (a) (b) to and . By Proposition 4.5.16(a), the -th vector of is , the -th column of . □
Example 4.5.26 (A similarity and a non-similarity).
- (a)Let be a field with , and let . Then
and . So in the basis , the operator doubles the first basis vector and kills the second, and with , the matrix whose columns are these vectors,
(Check:
- (a)Over , the same matrix is not similar to , which is now the zero matrix: for every , so the only matrix similar to is . Whether two matrices are similar can depend on the field.
Similarity invariants
A similarity invariant is a quantity or property of square matrices that is the same for any two similar matrices. Here are the ones available so far.
Proposition 4.5.27 (Similarity invariants). Let with . Then:
- (a);
- (b);
- (c) for every ; in particular ;
- (d)
for every ; in particular ; - (e) is invertible if and only if is, and then ;
- (f).
Proof (by matrix algebra).
Uses. Definition 4.5.23 (Similar matrices), Proposition 4.3.1 (Invertible factors preserve rank), Proposition 2.4.28 (Cyclicity of the trace), Proposition 2.4.14 (Algebra of matrices), Proposition 2.5.17 (Algebra of inverses), Proposition 2.4.23 (Transpose of a product)
Techniques. Cyclicity of trace (Technique 2.4.29)
Write with invertible.
(a) By Proposition 4.3.1,
(b) By Proposition 2.4.28 with the factors and ,
(c) We show by induction on . For both sides are . If it holds for , then
So , and their ranks agree by (a).
(d)
(e) If is invertible, then is a product of invertible matrices, hence invertible, with (Proposition 2.5.17(b)). So . The converse follows by symmetry, since .
(f) By Proposition 2.4.23 and Proposition 2.5.17(d),
The second proof uses Theorem 4.5.25: since and are matrices of one operator, anything defined from the operator alone is the same for both. It reaches (a), (c), (d), and (e), but not (b) or (f), because the trace and the transpose are defined through matrices.
Proof (through the operator).
Uses. Theorem 4.5.25 (Similar matrices are one operator in two bases), Proposition 4.2.15 (Rank through any matrix), Theorem 2.4.2 (The matrix of a composite), Proposition 2.4.12 (Matrices of sums and scalar multiples), Example 2.3.6 (The zero map and the identity map), Proposition 2.5.20 (Inverses and matrices)
Techniques. Translate between maps and matrices (Technique 2.3.27)
By Theorem 4.5.25, (a) (c), there are , , and bases , with and .
(a) By Proposition 4.2.15,
(c) By Theorem 2.4.2 and induction on , and (with and Example 2.3.6 for ). So and are matrices of the single operator , and they are similar by Theorem 4.5.25, (c) (a).
(d) By Proposition 2.4.12 and Example 2.3.6, and are the matrices of in the two bases.
(e) By Proposition 2.5.20(b), is invertible if and only if is, if and only if is; and then and are the matrices of in the two bases. □
Remark 4.5.28 (What the invariants cannot do). Equal invariants do not make matrices similar. The matrices
both have trace and rank . But , since shifts , while has rank . By (c), rules out . Similarly, and have the same rank and trace, and has rank like ; but
The determinant is one more invariant (Proposition 5.4.17), and the characteristic polynomial, which contains both the trace and the determinant, is a stronger one (Section 7.3). None of these decides similarity on its own. Over , the ranks of for all and do decide it; this is the content of the Jordan form (Section 10.3).
Technique 4.5.29 (Rule out similarity with an invariant). To show that and are not similar, find a similarity invariant on which they differ: trace, rank, rank of a power , rank of for a well-chosen , and later the determinant and the characteristic polynomial. To show that they are similar, invariants are not enough: produce an with , usually by finding a basis in which the operator has matrix (Theorem 4.5.25).
Reach for the cheapest invariants first. Trace and rank take seconds. If they agree, look for a structural difference: is one matrix nilpotent, or a scalar multiple of , or does drop rank for some where does not? The canonical example is Remark 4.5.28.
Used in 9 places and 4 practice exercises
Exercise 4.5.32, Exercise 4.5.44, Exercise 4.5.45, Exercise 4.5.46, Exercise 4.8.4, Problem 4.13, Exercise 7.3.38, Exercise 7.4.43, Exercise 7.6.43; 4 practice exercises.
Invariants of an operator
Because the trace is a similarity invariant, it can be assigned to an operator, just as the rank was in Definition 4.2.14.
Definition 4.5.30 (Trace of an operator). Let be finite-dimensional with , and let . The trace of is
where is any basis of .
The definition does not depend on : by Theorem 4.5.17, the matrices of in two bases are similar, and similar matrices have the same trace (Proposition 4.5.27(b)). In the same way,
Example 4.5.31 (The trace of transposition). Let be . In the basis of matrix units (Proposition 1.6.7(b)), . The diagonal entry of in the position belonging to is the -coordinate of , which is if and otherwise. So
Over there is a second basis to check this against. fixes the symmetric matrices, a subspace of dimension , and negates the skew-symmetric ones, of dimension . In a basis made of a basis of each, is diagonal with entries and entries , and its trace is again
Exercise 4.5.32. Let . Decide which of the following matrices are similar to . For each one that is, find with .
- (a).
- (b).
- (c).
Uses. Proposition 4.5.27 (Similarity invariants), Theorem 4.5.25 (Similar matrices are one operator in two bases), Definition 4.5.23 (Similar matrices)
Techniques. Rule out similarity with an invariant (Technique 4.5.29)
(a) Not similar: for every invertible .
(c) Not similar: (Proposition 4.5.27(b)).
(b) Similar. Both matrices have trace and rank , which only says that similarity is possible. Let
4.5.5Choosing a convenient basis
The change-of-basis formula also gives a proof technique: if a statement does not depend on the basis, we may prove it in whichever basis makes it easiest.
Technique 4.5.33 (Choose a convenient basis). Many statements about a linear map (or a matrix ) are invariant under change of basis: they hold for one matrix of if and only if they hold for all of them, or for if and only if they hold for (or for ). To prove such a statement, first check this invariance, then choose bases in which the matrix is as simple as possible, prove the statement there, and transport the conclusion back.
For maps between two spaces, the best possible matrix is the rank normal form (Corollary 4.5.22), and in matrix language this says: to prove something about that survives , assume . For operators, the bases must agree on both sides, and the convenient bases come from the operator itself: bases adapted to a subspace that preserves (below), bases of the form (Exercise 4.5.50, Exercise 4.5.43), and later bases of eigenvectors (Section 7.4) and triangularizing bases (Section 7.5).
Used in 17 places and 6 practice exercises
Exercise 4.5.41, Exercise 4.5.42, Exercise 4.5.43, Exercise 4.5.49, Exercise 4.5.50, Exercise 4.5.51, Exercise 4.5.52, Exercise 4.5.53, Exercise 4.5.55, Exercise 4.8.12, Theorem 7.5.22, Problem 7.6, Problem 7.10, Problem 7.11, Proposition 8.2.2, Corollary 8.2.28, Exercise 8.3.43; 6 practice exercises.
Example 4.5.34 (A matrix with ). We show that for every there is with . (Such an is a generalized inverse of ; if is invertible, is the only choice.)
For the claim is easy: works. By block multiplication (Theorem 2.4.34),
The statement survives : if and with and invertible, then satisfies
By Theorem 3.5.27, every is for some invertible , (namely, invert the factors in ). So every has a generalized inverse,
In terms of maps: if with and , let send for and for . Then , as one checks on the basis . The matrix computation is this argument in coordinates.
Bases adapted to a subspace
For an operator, the convenient basis must work on both sides at once. The first source of such bases is a subspace that maps into itself.
Proposition 4.5.35 (Preserved subspaces give block triangular matrices). Let , , and a basis of . Let and
for some , , and
Uses. Definition 2.3.1 (Matrix of a linear map), Definition 1.6.14 (Coordinates), Proposition 2.6.22 (Testing injectivity and surjectivity on a basis), Definition 4.2.1 (Restriction)
Techniques. Check it on a basis (Technique 2.2.7)
A vector lies in if and only if its -coordinates satisfy : if they do,
The list is a basis of , so
In that case
If also the span of the last basis vectors is mapped into itself, the same argument shows that the block is zero, and is block diagonal. Subspaces with are called invariant subspaces of ; they are studied in Section 7.2.
Technique 4.5.36 (Choose a basis adapted to a preserved subspace). If maps a subspace into itself, take a basis of and extend it to a basis of (Theorem 4.1.16). In this basis the matrix of is block upper triangular (Proposition 4.5.35), the top left block is the matrix of on , and a question about splits into a question about on and one about the bottom right block. If is assembled from several preserved subspaces, list bases of each in turn, and the matrix becomes block diagonal.
Reach for it when you can see a subspace that preserves: a kernel or image of something commuting with , the span of a vector fixed or scaled by , or the span of . It is the first step of triangularization (Section 7.5) and of the Jordan form (Section 10.3).
Used in 8 places and 2 practice exercises
Exercise 4.5.42, Problem 4.4, Problem 4.12, Problem 4.13, Corollary 7.3.16, Exercise 7.3.41, Theorem 7.4.15, Lemma 7.5.11; 2 practice exercises.
Example 4.5.37 (The cyclic permutation of coordinates). Let be the matrix with
Suppose in . Then is a basis of : if
so
The matrix is block diagonal because both and are preserved. The trace is , as it must be, and becomes , which is easy to check by hand. Over , turns out to be similar to the rotation by (Exercise 4.5.43), which matches the picture of as a rotation of about the line .
If in , then , so and no longer fill ; the list still gives a block upper triangular matrix, but not a block diagonal one.
The normal forms ahead are all answers to one question: in the best basis, how simple can the matrix of an operator be? For maps between two spaces, Corollary 4.5.22 gave the complete answer. For operators the answer is diagonal when there is a basis of eigenvectors (Section 7.4), upper triangular over (Section 7.5), and the Jordan form in general over (Section 10.3).
Exercises
Exercise 4.5.38. Over , let
- (a)Show that is a basis of , and compute .
- (b)Find .
- (c)Compute .
- (d)Is the same list a basis of ?
Uses. Proposition 4.5.12 (Calculus of change of coordinates), Corollary 3.5.25 (The invertible matrix theorem), Theorem 4.1.10 (Independent lists are short), Theorem 3.3.10 ()
(a) Let
and one checks over ; for instance, the first row of the product is
(b)
(c)
Check the first column:
(d) No: over ,
Exercise 4.5.39. Prove or disprove.
- (a)Every change-of-coordinates matrix is invertible.
- (b)If , then and have the same diagonal entries, possibly in a different order.
- (c)If is injective and , then is an isomorphism.
- (d)Two matrices in with the same rank and the same trace are similar.
- (e)If and , then .
- (f)The only matrix similar to is .
Uses. Proposition 4.5.12 (Calculus of change of coordinates), Example 4.5.26 (A similarity and a non-similarity), Theorem 4.2.11 (Rank–nullity), Proposition 4.1.21 (Dimensions of subspaces), Remark 4.5.28 (What the invariants cannot do), Theorem 4.5.8 (Dimension of ), Theorem 4.5.6 (Classification by dimension)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18)
(a) True, by Proposition 4.5.12(b).
(b) False. Over , (Example 4.5.26), and the diagonals and differ.
(c) True. , so by Theorem 4.2.11,
(d) False. and both have rank and trace , and they are not similar (Remark 4.5.28).
(e) True. is finite-dimensional: if is a basis of , then is a surjective linear map (every is for the with and ), so by Theorem 4.2.11. Then Theorem 4.5.8 gives , so and (Theorem 4.5.6).
(f) True.
Exercise 4.5.40. Let and . In , let and
- (a)Show that is a basis, and that the entry of is for and for .
- (b)Find the entries of in the same way.
- (c)Taking and , deduce that is if and if .
Uses. Corollary 4.1.11 (Spanning lists are long), Definition 4.5.10 (Change-of-coordinates matrix), Proposition 4.5.12 (Calculus of change of coordinates)
Here an integer such as stands for the corresponding sum of ′s in .
(a) By the binomial theorem in ,
So lie in , which is therefore all of . A spanning list of length is a basis (Corollary 4.1.11(b)). The display gives , the -th column of : its -th entry is for and for .
(b) Similarly
(c) By Proposition 4.5.12(b), the two matrices are inverse to each other. The entry of is, for ,
since only contribute. With and , this entry of is if and if , which is the identity. (The case is covered by taking larger.)
Exercise 4.5.41. Let and be finite-dimensional with and , and let be nonzero. Show that
is a subspace of of dimension . Give two proofs: one by choosing a basis of that contains , and one by rank–nullity.
Solution (with a convenient basis).
Uses. Theorem 4.1.16 (Extending to a basis), Theorem 4.5.8 (Dimension of ), Proposition 4.5.5 (Isomorphisms preserve linear structure), Proposition 1.6.7 (Standard bases)
Techniques. Choose a convenient basis (Technique 4.5.33), Transport along an isomorphism (Technique 4.5.7), Dimension counting (Technique 4.2.24)
If , then , of dimension . Let . Extend to a basis of (Theorem 4.1.16), and choose a basis of . The first column of is , which is exactly when . So the isomorphism of Theorem 4.5.8 carries onto
consists of the combinations of the matrix units with , which are independent (Proposition 1.6.7(b)); so is a subspace with . Then is a subspace of with , by Proposition 4.5.5(b) and (c) applied to the isomorphism .
Solution (by rank–nullity).
Uses. Definition 2.1.21 (Pointwise operations), Theorem 4.1.16 (Extending to a basis), Theorem 2.2.1 (Linear maps are determined by a basis), Theorem 4.2.11 (Rank–nullity), Theorem 4.5.8 (Dimension of ), Proposition 2.6.8 (Kernels and images are subspaces)
Techniques. Dimension counting (Technique 4.2.24), Choose a convenient basis (Technique 4.5.33)
Let , . It is linear because the operations on are pointwise:
Exercise 4.5.42. Let and be finite-dimensional with and , and let and be subspaces with and . Show that
is a subspace of of dimension . In particular, the operators with form a subspace of of dimension .
Uses. Theorem 4.1.16 (Extending to a basis), Theorem 4.5.8 (Dimension of ), Proposition 4.5.5 (Isomorphisms preserve linear structure), Proposition 4.5.35 (Preserved subspaces give block triangular matrices), Proposition 1.6.7 (Standard bases), Proposition 2.6.22 (Testing injectivity and surjectivity on a basis)
Techniques. Choose a convenient basis (Technique 4.5.33), Choose a basis adapted to a preserved subspace (Technique 4.5.36), Transport along an isomorphism (Technique 4.5.7)
Let be a basis of , extended to a basis of , and a basis of , extended to a basis of (Theorem 4.1.16). A vector of lies in if and only if its -coordinates vanish after position , as in the proof of Proposition 4.5.35. Since
So the isomorphism (Theorem 4.5.8) carries our set onto the set of matrices whose entries in those positions vanish. is the span of the matrix units in the other positions, which are independent (Proposition 1.6.7(b)); so is a subspace of that dimension. By Proposition 4.5.5(b), (c), applied to the inverse isomorphism, our set is a subspace of of the same dimension. For and , take and .
Exercise 4.5.43. For
- (a)Show that if for every , then for some .
(b)Suppose is not a scalar multiple of . Show that there is such that is a basis of , and that in this basis has the matrix
- (c)Deduce that two matrices in , neither a scalar multiple of , with the same trace and the same value of , are similar.
- (d)Show that for every .
- (e)Show that the matrix of Example 4.5.37 is similar over to the rotation matrix .
Uses. Exercise 2.5.46, Theorem 4.1.10 (Independent lists are short), Theorem 4.5.25 (Similar matrices are one operator in two bases), Proposition 4.5.24 (Similarity is an equivalence relation), Proposition 1.5.14 (Appending a vector)
Techniques. Choose a convenient basis (Technique 4.5.33)
(a) By hypothesis , , and
(b) By (a) there is with . Then (as lies in every span), so the list is independent, and is independent by Proposition 1.5.14. Two independent vectors in form a basis (Theorem 4.1.10(b)). In this basis, sends the first vector to the second vector , with coordinates . By Exercise 2.5.46(a),
with coordinates . So the matrix is .
(c) Let and be non-scalar with and . Then . By (b) and Theorem 4.5.25, and , so (Proposition 4.5.24).
(d) If , then . Otherwise is not scalar either, since and . The diagonal of is that of , and
(e) is not scalar, , and
Exercise 4.5.44. Keep the notation of Exercise 4.5.43.
- (a)Show that
for all , and deduce that is a similarity invariant. - (b)Show that every is similar to exactly one matrix in the list consisting of for and for .
- (c)Deduce that over there are exactly similarity classes of matrices.
Uses. Exercise 4.5.43, Proposition 4.5.27 (Similarity invariants), Definition 4.5.23 (Similar matrices)
Techniques. Rule out similarity with an invariant (Technique 4.5.29)
(a) For and ,
since the terms and cancel. If , then
(b) Existence. If is scalar, it is in the list. Otherwise
Uniqueness. A scalar matrix is similar only to itself (Exercise 4.5.39(f)), so it is not similar to any other matrix of the list; the matrices are not scalar, because of the entry . Finally, has trace and
(c) Over the list has scalar matrices and matrices , and by (b) each similarity class contains exactly one of them. So there are classes.
Exercise 4.5.45. Find the error in the following argument, and show that its conclusion is false.
Claim. Any two matrices of the same rank are similar.
Proof. By Theorem 3.5.27 there are invertible with
Uses. Definition 4.5.23 (Similar matrices), Corollary 4.5.21 (Matrices of one linear map), Proposition 4.5.27 (Similarity invariants)
Techniques. Rule out similarity with an invariant (Technique 4.5.29)
The error is in the last sentence. Similarity requires : the left factor must be the inverse of the right factor. The argument produces with and both invertible, but nothing forces . What it proves is that and are matrices of one linear map with possibly different bases on the domain and the target (Corollary 4.5.21).
The claim is false: and both have rank , but their traces are and , so they are not similar (Proposition 4.5.27(b)).
Exercise 4.5.46. Let
- (a)If and , then .
- (b)If , then .
- (c)If , then
for every . - (d)If , then .
Uses. Definition 4.5.23 (Similar matrices), Proposition 4.5.27 (Similarity invariants), Lemma 2.4.24 (Matrix units)
Techniques. Finding counterexamples and minimal examples (Technique 1.4.18), Rule out similarity with an invariant (Technique 4.5.29)
We write for the matrix units (here in ). Swapping and in the standard basis shows : with the matrix of the swap, .
(a) False. Take and . Then , while has rank . If in , then has rank ; if , it is the zero matrix, of rank . Either way the ranks differ, so the sums are not similar.
(b) False. With , , and , we get and (Lemma 2.4.24(c)). Only is similar to .
(c) True: apply Proposition 4.5.27(d) with in place of .
(d) False. and satisfy , but is not similar to .
Uses. Lemma 2.4.24 (Matrix units), Proposition 2.4.27 (The trace is linear), Definition 2.4.26 (Trace), Proposition 1.6.7 (Standard bases)
Techniques. Cyclicity of trace (Technique 2.4.29), Check it on a basis (Technique 2.2.7)
If , then
Step 1. For and invertible , the hypothesis with gives
Step 2. Let . By Lemma 2.4.24(c),
Step 3. Take . By Lemma 2.4.24(c), and
If , choose any (possible since ); then . If , we get
Conclusion. For
Conversely, every is linear and similarity-invariant (Proposition 2.4.27, Proposition 4.5.27(b)).
Uses. Definition 4.5.30 (Trace of an operator), Lemma 2.4.24 (Matrix units), Proposition 1.6.7 (Standard bases), Proposition 2.4.12 (Matrices of sums and scalar multiples), Proposition 2.4.27 (The trace is linear)
Techniques. Study a linear map on a space of matrices (Technique 4.2.29)
In the basis of matrix units (Proposition 1.6.7(b), Lemma 2.4.24), the -coordinate of a matrix is its entry. So the diagonal entry of in the position of is the entry of
Summing over all and (Definition 4.5.30),
With , the operator has trace
Exercise 4.5.49. Let , and let satisfy . Let .
- (a)Show that fixes every vector of , that , and that a basis of followed by a basis of is a basis of .
- (b)Deduce that in this basis
, with ones, and that . - (c)Show that two matrices with and are similar if and only if .
Uses. Theorem 4.2.11 (Rank–nullity), Proposition 1.5.14 (Appending a vector), Theorem 4.1.10 (Independent lists are short), Definition 4.5.30 (Trace of an operator), Theorem 4.5.25 (Similar matrices are one operator in two bases), Proposition 4.5.27 (Similarity invariants), Proposition 4.5.24 (Similarity is an equivalence relation)
Techniques. Choose a convenient basis (Technique 4.5.33)
(a) If , then
(b) and , so the matrix of in this basis has columns
(c) If , then (Proposition 4.5.27(a)). Conversely, if both have rank , apply (b) to and on : each has matrix in a suitable basis, so and by Theorem 4.5.25, and by Proposition 4.5.24.
Exercise 4.5.50. Let , and let satisfy and . Let be the matrix with in positions
- (a)Show that for some basis of .
- (b)Deduce that any two matrices with , , and are similar.
- (c)Show that .
Uses. Proposition 4.1.26 (Nilpotent chains are independent), Theorem 4.1.10 (Independent lists are short), Theorem 4.5.25 (Similar matrices are one operator in two bases), Proposition 4.5.24 (Similarity is an equivalence relation), Proposition 2.4.23 (Transpose of a product)
Techniques. Choose a convenient basis (Technique 4.5.33), Apply an operator to a relation to kill terms (Technique 4.1.25)
(a) Since , there is with , and . By Proposition 4.1.26 with , the list
(b) and satisfy the hypotheses of (a) on (since ). So and by Theorem 4.5.25, and (Proposition 4.5.24).
(c) for and , so
Uses. Proposition 4.3.16 (Rank-one matrices), Proposition 2.4.28 (Cyclicity of the trace), Theorem 4.2.11 (Rank–nullity), Theorem 4.1.16 (Extending to a basis), Proposition 1.5.14 (Appending a vector), Theorem 4.1.10 (Independent lists are short), Theorem 4.5.25 (Similar matrices are one operator in two bases), Proposition 4.5.27 (Similarity invariants)
Techniques. Write a rank-one matrix as (Technique 4.3.17), Choose a convenient basis (Technique 4.5.33)
By Proposition 4.3.16, with . Then
Case . Then , so . Let be a basis of ; by Proposition 1.5.14, is independent, so (reordering) is a basis of (Theorem 4.1.10(b)). sends to and each to , so its matrix in this basis is .
Case . Then . Some entry of is nonzero; let , so and . Extend to a basis of (Theorem 4.1.16). Since , , so as before is a basis of . sends to , the second basis vector, and the other basis vectors to . So its matrix is .
In both cases Theorem 4.5.25 gives the similarity. Two matrices of rank with the same trace are similar to the same matrix, hence to each other; conversely, similar matrices have the same trace (Proposition 4.5.27(b)).
Uses. Theorem 3.5.27 (Rank normal form), Proposition 2.5.17 (Algebra of inverses), Example 2.5.14 (Invertible maps and matrices)
Techniques. Choose a convenient basis (Technique 4.5.33)
By Theorem 3.5.27, for some invertible , , where ; so with and invertible. If with and invertible, then , and and are invertible (Proposition 2.5.17(b)). So it suffices to treat .
Choose with and , which is possible because has at least three elements. Let
with entries (respectively ) followed by entries (respectively ). Then , and and are invertible because their diagonal entries are nonzero (Example 2.5.14(d)).
Over , the only invertible matrix is , and . So is not a sum of two invertible matrices.
Uses. Exercise 4.5.52, Theorem 3.5.27 (Rank normal form), Theorem 2.4.34 (Block multiplication), Proposition 2.5.17 (Algebra of inverses)
Techniques. Choose a convenient basis (Technique 4.5.33), Block decomposition (Technique 2.4.35)
As in the solution of Exercise 4.5.52, with , invertible, and it suffices to write with , invertible. All arithmetic is in , where .
Block diagonal matrices. If
Small blocks. Over :
- .
- , and both summands are invertible: has inverse (multiply to check), and vice versa.
, and is its own inverse. with
is invertible: its columns , , span , since . is invertible: if
, then (from the first two entries) and the third entry is .
Cutting into blocks. If , then is a block diagonal matrix of blocks . If , then since ,
Exercise 4.5.54. This exercise shows what goes wrong in infinite dimensions.
- (a)Let be the subspace of polynomials in whose constant coefficient is . Show that
, , is an isomorphism. So is isomorphic to a proper subspace of itself, and , regarded as an operator on , is injective but not surjective. - (b)Explain why a finite-dimensional space is never isomorphic to a proper subspace of itself.
- (c)Show that differentiation is surjective but not injective.
- (d)Show that if and is infinite-dimensional, then so is .
Uses. Definition 1.2.13 (Polynomials), Proposition 2.7.7 (Bijective linear maps are invertible), Proposition 4.5.5 (Isomorphisms preserve linear structure), Proposition 4.1.21 (Dimensions of subspaces), Example 2.1.9 (Maps of polynomials)
(a) For
(b) If is a subspace of a finite-dimensional and , then (Proposition 4.5.5(c)), so by Proposition 4.1.21(b).
(c)
(d) If were finite-dimensional, then , being isomorphic to , would be finite-dimensional by Proposition 4.5.5(c), applied to an isomorphism .
Exercise 4.5.55. Let , the rotation by .
- (a)Show that is similar over to , by finding .
- (b)Show that is not similar over to any diagonal matrix in .
- (c)Show that is similar over to , and interpret the similarity geometrically.
Uses. Theorem 4.5.25 (Similar matrices are one operator in two bases), Definition 4.5.23 (Similar matrices), Proposition 2.5.28 (Inverse of a matrix)
Techniques. Choose a convenient basis (Technique 4.5.33)
(a)
(b) Suppose
(c) With
Geometrically, is the rotation by , and the similarity is a change of basis from to , which reverses the orientation of the plane. A counterclockwise quarter turn, viewed in a mirror, is a clockwise one. So over , a rotation and its inverse are similar, although they are different operators.
Uses. Theorem 4.5.17 (Change of basis), Definition 4.5.30 (Trace of an operator), Proposition 2.5.28 (Inverse of a matrix)
and , so in the basis (a basis over every field, since ),
Check: and
More practice
The practice bank has 29 exercises on this section’s topics.