Original English by Jim Hefferon — 34 validated sections. The original mathematics and supplied answers below are preserved. This is a partial-book reading edition, not the complete book or an Everyday-English rewrite.

Source, reuse and conversion details

Source revision df2262e089a02651c127f1dd12649c4622ee1383; CC BY-SA 2.5 option, with original component credits retained. This is not an Everyday-English rewrite. The complete original source section is included. Cross-section references use the bound earlier local readers; retain those sibling files for offline use.

Notes about the original source and its answers

These thirteen findings are separate from the unchanged original text and formulas. Opening them can reveal answers. The source was read through; this is not an exhaustive correctness audit or human review. Current conversion and source notes: OpenAI Codex — GPT-6, Ultra effort. Answer containers may give only a pointer or a short argument.

  1. Source note 1: The second basis vector in the displayed coordinate system uses y_1 where the definition immediately above gives y_2. The two occurrences should use y_2.
  2. Source note 2: The next coordinate system again writes the second basis vector with y_1 in place of its defined y_2.
  3. Source note 3: The instruction says to concatenate the coordinate columns into a basis; the displayed object is the change of basis matrix.
  4. Source note 4: The reflection-inverse derivation includes an extra uninverted factor on the left. That side is a matrix times its own inverse, hence the identity, while the right side is the reflection matrix.
  5. Source note 5: The phrase “to translates a representation” should read “to translate a representation”.
  6. Source note 6: The sentence “The proof tells us what how the bases change” contains an extra word.
  7. Source note 7: The left side of this equality uses B_3 while the coordinate column and the basis defined alongside it use B_2.
  8. Source note 8: The proof explicitly establishes equal rank implies matrix equivalence, but omits the reverse direction of the stated if-and-only-if result.
  9. Source note 9: The question has six matrix subparts, but its answer lists only five size/rank entries. The entry for the fourth matrix is omitted, shifting the final two answer labels.
  10. Source note 10: The second identity expansion writes (1,0)=-(1,0)+0(0,1). The first coefficient should be +1.
  11. Source note 11: The blanket claim that matrix equivalence classes are not closed under addition omits the zero-rank class exception.
  12. Source note 12: The general n-dimensional similarity formula retains the subscript 2 on the standard basis in three places. These should use n.
  13. Source note 13: The diagram labels the downward domain change from B_1 to B_2 by Q, but the following equation defines Q as the change in the opposite direction, from B_2 to B_1.

Wide formulas, diagrams and tables scroll horizontally. Focus a region and use the arrow keys.

Source-preserving rebuild, navigation, source packaging and current deterministic checks: OpenAI Codex — GPT-6 Astra, Ultra effort. Jim Hefferon remains the author of the mathematics. Earlier intermediate-conversion runtime identity is not established by its retained receipts and is not reassigned to this rebuild. No human review or exhaustive proof certification is claimed.

Change of Basis

Representations vary with the bases. For instance, with respect to the bases ℰ 2 and

B = ⟨ ( 1 1 ) , ( 1 − 1 ) ⟩

e → 1 ∈ ℝ 2 has these different representations.

Rep ℰ 2 ( e → 1 ) = ( 1 0 ) Rep B ( e → 1 ) = ( 1 / 2 1 / 2 )

The same holds for maps: with respect to the basis pairs ℰ 2 , ℰ 2 and ℰ 2 , B , the identity map has these representations.

Rep ℰ 2 , ℰ 2 ( id ) = ( 1 0 0 1 ) Rep ℰ 2 , B ( id ) = ( 1 / 2 1 / 2 1 / 2 − 1 / 2 )

This section shows how to translate among the representations. That is, we will compute how the representations vary as the bases vary.

Changing Representations of Vectors

In converting Rep B ( v → ) to Rep D ( v → ) the underlying vector v → doesn’t change. Thus, the translation between these two ways of expressing the vector is accomplished by the identity map on the space, described so that the domain space vectors are represented with respect to B and the codomain space vectors are represented with respect to D .

V wrt B id ↓ V wrt D

(This diagram is vertical to fit with the ones in the next subsection.)

Definition 1.1 The change of basis matrix for bases B , D ⊂ V is the representation of the identity map id : V → V with respect to those bases.

Rep B , D ( id ) = ( ⋮ ⋮ Rep D ( β → 1 ) ⋯ Rep D ( β → n ) ⋮ ⋮ )

Remark 1.2 A better name would be ‘change of representation matrix’ but the above name is standard.

The next result supports the definition.

Lemma 1.3 To convert from the representation of a vector  v → with respect to B to its representation with respect to D use the change of basis matrix.

Rep B , D ( id ) Rep B ( v → ) = Rep D ( v → )

Conversely, if left-multiplication by a matrix changes bases M ⋅ Rep B ( v → ) = Rep D ( v → ) then M is a change of basis matrix.

Proof The first sentence holds because matrix-vector multiplication represents a map application and so Rep B , D ( id ) ⋅ Rep B ( v → ) = Rep D ( id ( v → ) ) = Rep D ( v → ) for each v → . For the second sentence, with respect to B , D the matrix M represents a linear map whose action is to map each vector to itself, and is therefore the identity map.

QED

Example 1.4 With these bases for ℝ 2 ,

B = ⟨ ( 2 1 ) , ( 1 0 ) ⟩ D = ⟨ ( − 1 1 ) , ( 1 1 ) ⟩

because

Rep D ( id ( ( 2 1 ) ) ) = ( − 1 / 2 3 / 2 ) D Rep D ( id ( ( 1 0 ) ) ) = ( − 1 / 2 1 / 2 ) D

the change of basis matrix is this.

Rep B , D ( i d ) = ( − 1 / 2 − 1 / 2 3 / 2 1 / 2 )

For instance, this is the representation of e → 2

Rep B ( ( 0 1 ) ) = ( 1 − 2 )

and the matrix does the conversion.

( − 1 / 2 − 1 / 2 3 / 2 1 / 2 ) ( 1 − 2 ) = ( 1 / 2 1 / 2 )

Checking that vector on the right is Rep D ( e → 2 ) is easy.

We finish this subsection by recognizing the change of basis matrices as a familiar set.

Lemma 1.5 A matrix changes bases if and only if it is nonsingular.

Proof For the ‘only if’ direction, if left-multiplication by a matrix changes bases then the matrix represents an invertible function, simply because we can invert the function by changing the bases back. Because it represents a function that is invertible, the matrix itself is invertible, and so is nonsingular.

For ‘if’ we will show that any nonsingular matrix M performs a change of basis operation from any given starting basis B (having  n vectors, where the matrix is n × n ) to some ending basis.

If the matrix is the identity  I then the statement is obvious. Otherwise because the matrix is nonsingular Corollary IV.3.23 says there are elementary reduction matrices such that R r ⋯ R 1 ⋅ M = I with r ≥ 1 . Elementary matrices are invertible and their inverses are also elementary so multiplying both sides of that equation from the left by R r − 1 , then by R r − 1 − 1 , etc., gives M as a product of elementary matrices M = R 1 − 1 ⋯ R r − 1 .

We will be done if we show that elementary matrices change a given basis to another basis, since then R r − 1 changes B to some other basis B r and R r − 1 − 1 changes B r to some B r − 1 , etc. We will cover the three types of elementary matrices separately; recall the notation for the three.

M i ( k ) ( c 1 ⋮ c i ⋮ c n ) = ( c 1 ⋮ k c i ⋮ c n ) P i , j ( c 1 ⋮ c i ⋮ c j ⋮ c n ) = ( c 1 ⋮ c j ⋮ c i ⋮ c n ) C i , j ( k ) ( c 1 ⋮ c i ⋮ c j ⋮ c n ) = ( c 1 ⋮ c i ⋮ k c i + c j ⋮ c n )

Applying a row-multiplication matrix  M i ( k ) changes a representation with respect to ⟨ β → 1 , … , β → i , … , β → n ⟩ to one with respect to ⟨ β → 1 , … , ( 1 / k ) β → i , … , β → n ⟩ .

v → = c 1 ⋅ β → 1 + ⋯ + c i ⋅ β → i + ⋯ + c n ⋅ β → n ↦ c 1 ⋅ β → 1 + ⋯ + k c i ⋅ ( 1 / k ) β → i + ⋯ + c n ⋅ β → n = v →

The second one is a basis because the first is a basis and because of the k ≠ 0 restriction in the definition of a row-multiplication matrix. Similarly, left-multiplication by a row-swap matrix P i , j changes a representation with respect to the basis ⟨ β → 1 , … , β → i , … , β → j , … , β → n ⟩ into one with respect to this basis ⟨ β → 1 , … , β → j , … , β → i , … , β → n ⟩ .

v → = c 1 ⋅ β → 1 + ⋯ + c i ⋅ β → i + ⋯ + c j β → j + ⋯ + c n ⋅ β → n ↦ c 1 ⋅ β → 1 + ⋯ + c j ⋅ β → j + ⋯ + c i ⋅ β → i + ⋯ + c n ⋅ β → n = v →

And, a representation with respect to ⟨ β → 1 , … , β → i , … , β → j , … , β → n ⟩ changes via left-multiplication by a row-combination matrix C i , j ( k ) into a representation with respect to ⟨ β → 1 , … , β → i − k β → j , … , β → j , … , β → n ⟩

v → = c 1 ⋅ β → 1 + ⋯ + c i ⋅ β → i + c j β → j + ⋯ + c n ⋅ β → n ↦ c 1 ⋅ β → 1 + ⋯ + c i ⋅ ( β → i − k β → j ) + ⋯ + ( k c i + c j ) ⋅ β → j + ⋯ + c n ⋅ β → n = v →

(the definition of C i , j ( k ) specifies that i ≠ j and k ≠ 0 ).

QED

Corollary 1.6 A matrix is nonsingular if and only if it represents the identity map with respect to some pair of bases.

Exercises

  1. Exercise 1.7 Worked answer

    Recommended. In ℝ 2 , where

    D = ⟨ ( 2 1 ) , ( − 2 4 ) ⟩

    find the change of basis matrices from D to ℰ 2 and from ℰ 2 to D . Multiply the two.

    Back to Exercise 1.7

    Answer. For the matrix to change bases from D to ℰ 2 we need that Rep ℰ 2 ( id ( δ → 1 ) ) = Rep ℰ 2 ( δ → 1 ) and that Rep ℰ 2 ( id ( δ → 2 ) ) = Rep ℰ 2 ( δ → 2 ) . Of course, the representation of a vector in ℝ 2 with respect to the standard basis is easy.

    Rep ℰ 2 ( δ → 1 ) = ( 2 1 ) Rep ℰ 2 ( δ → 2 ) = ( − 2 4 )

    Concatenating those two together to make the columns of the change of basis matrix gives this.

    Rep D , ℰ 2 ( id ) = ( 2 − 2 1 4 )

    For the change of basis matrix in the other direction we can calculate Rep D ( id ( e → 1 ) ) = Rep D ( e → 1 ) and Rep D ( id ( e → 2 ) ) = Rep D ( e → 2 ) (this job is routine) or we can take the inverse of the above matrix. Because of the formula for the inverse of a 2 × 2 matrix, this is easy.

    Rep ℰ 2 , D ( id ) = 1 10 ⋅ ( 4 2 − 1 2 ) = ( 4 / 10 2 / 10 − 1 / 10 2 / 10 )

  2. Exercise 1.8 Worked answer

    Which of these matrices could be used to change bases?

    1. ( 1 2 3 4 )

    2. ( 0 − 1 1 − 1 )

    3. ( 2 3 − 1 0 1 0 )

    4. ( 2 3 − 1 0 1 0 4 7 − 2 )

    5. ( 0 2 0 0 0 6 1 0 0 )

    Back to Exercise 1.8

    Answer. If the matrix is nonsingular then it can be a change of basis matrix. For all of these matrices we can check that by eye.

    1. This is nonsingular since the second row is not a multiple of the first.

    2. This is nonsingular.

    3. This matrix is singular, since to be nonsingular a matrix must be square.

    4. This matrix is singular since twice the first row plus the second row equals the third row.

    5. Nonsingular.

  3. Exercise 1.9 Worked answer

    Recommended. Find the change of basis matrix for B , D ⊆ ℝ 2 .

    1. B = ℰ 2 , D = ⟨ e → 2 , e → 1 ⟩

    2. B = ℰ 2 , D = ⟨ ( 1 2 ) , ( 1 4 ) ⟩

    3. B = ⟨ ( 1 2 ) , ( 1 4 ) ⟩ , D = ℰ 2

    4. B = ⟨ ( − 1 1 ) , ( 2 2 ) ⟩ , D = ⟨ ( 0 4 ) , ( 1 3 ) ⟩

    Back to Exercise 1.9

    Answer. Concatenate Rep D ( id ( β → 1 ) ) = Rep D ( β → 1 ) and Rep D ( id ( β → 2 ) ) = Rep D ( β → 2 ) to make the change of basis matrix Rep B , D ( id ) .

    1. ( 0 1 1 0 )

    2. ( 2 − 1 / 2 − 1 1 / 2 )

    3. ( 1 1 2 4 )

    4. ( 1 − 1 − 1 2 )

  4. Exercise 1.10 Worked answer

    Recommended. Find the change of basis matrix for each B , D ⊆ 𝒫 2 .

    1. B = ⟨ 1 , x , x 2 ⟩ , D = ⟨ x 2 , 1 , x ⟩

    2. B = ⟨ 1 , x , x 2 ⟩ , D = ⟨ 1 , 1 + x , 1 + x + x 2 ⟩

    3. B = ⟨ 2 , 2 x , x 2 ⟩ , D = ⟨ 1 + x 2 , 1 − x 2 , x + x 2 ⟩

    Back to Exercise 1.10

    Answer. The vectors Rep D ( id ( β → 1 ) ) = Rep D ( β → 1 ) , Rep D ( id ( β → 2 ) ) = Rep D ( β → 2 ) , and Rep D ( id ( β → 3 ) ) = Rep D ( β → 3 ) make the change of basis matrix Rep B , D ( id ) .

    1. ( 0 0 1 1 0 0 0 1 0 )

    2. ( 1 − 1 0 0 1 − 1 0 0 1 )

    3. ( 1 − 1 1 / 2 1 1 − 1 / 2 0 2 0 )

    E.g., for the first column of the first matrix, 1 = 0 ⋅ x 2 + 1 ⋅ 1 + 0 ⋅ x .

  5. Exercise 1.11 Worked answer

    For the bases in Exercise 1.9, find the change of basis matrix in the other direction, from D to B .

    Back to Exercise 1.11

    Answer. One way to go is to find Rep B ( δ → 1 ) and Rep B ( δ → 2 ) , and then concatenate them into the columns of the desired change of basis matrix. Another way is to find the inverse of the matrices that answer Exercise 1.9.

    1. ( 0 1 1 0 )

    2. ( 1 1 2 4 )

    3. ( 2 − 1 / 2 − 1 1 / 2 )

    4. ( 2 1 1 1 )

  6. Exercise 1.12 Worked answer

    Recommended. Decide if each changes bases on ℝ 2 . To what basis is ℰ 2 changed?

    1. ( 5 0 0 4 )

    2. ( 2 1 3 1 )

    3. ( − 1 4 2 − 8 )

    4. ( 1 − 1 1 1 )

    Back to Exercise 1.12

    Answer. A matrix changes bases if and only if it is nonsingular.

    1. This matrix is nonsingular and so changes bases. Finding to what basis ℰ 2 is changed means finding D such that

      Rep ℰ 2 , D ( id ) = ( 5 0 0 4 )

      and by the definition of how a matrix represents a linear map, we have this.

      Rep D ( id ( e → 1 ) ) = Rep D ( e → 1 ) = ( 5 0 ) Rep D ( id ( e → 2 ) ) = Rep D ( e → 2 ) = ( 0 4 )

      Where

      D = ⟨ ( x 1 y 1 ) , ( x 2 y 2 ) ⟩

      we can either solve the system

      ( 1 0 ) = 5 ( x 1 y 1 ) + 0 ( x 2 y 1 ) ( 0 1 ) = 0 ( x 1 y 1 ) + 4 ( x 2 y 1 )

      or else just spot the answer (thinking of the proof of Lemma 1.5).

      D = ⟨ ( 1 / 5 0 ) , ( 0 1 / 4 ) ⟩

    2. Yes, this matrix is nonsingular and so changes bases. To calculate D , we proceed as above with

      D = ⟨ ( x 1 y 1 ) , ( x 2 y 2 ) ⟩

      to solve

      ( 1 0 ) = 2 ( x 1 y 1 ) + 3 ( x 2 y 1 ) and ( 0 1 ) = 1 ( x 1 y 1 ) + 1 ( x 2 y 1 )

      and get this.

      D = ⟨ ( − 1 3 ) , ( 1 − 2 ) ⟩

    3. No, this matrix does not change bases because it is singular.

    4. Yes, this matrix changes bases because it is nonsingular. The calculation of the changed-to basis is as above.

      D = ⟨ ( 1 / 2 − 1 / 2 ) , ( 1 / 2 1 / 2 ) ⟩

  7. Exercise 1.13 Worked answer

    For each space find the matrix changing a vector representation with respect to B to one with respect to  D .

    1. V = ℝ 3 , B = ℰ 3 , D = ⟨ ( 1 2 3 ) , ( 1 1 1 ) , ( 0 1 − 1 ) ⟩

    2. V = ℝ 3 , B = ⟨ ( 1 2 3 ) , ( 1 1 1 ) , ( 0 1 − 1 ) ⟩ , D = ℰ 3

    3. V = 𝒫 2 , B = ⟨ x 2 , x 2 + x , x 2 + x + 1 ⟩ , D = ⟨ 2 , − x , x 2 ⟩

    Back to Exercise 1.13

    Answer.

    1. Start by computing the effect of the identity function on each element of the starting basis  B . Obviously this is the effect.

      ( 1 0 0 ) ⟼ id ( 1 0 0 ) ( 0 1 0 ) ⟼ id ( 0 1 0 ) ( 0 0 1 ) ⟼ id ( 0 0 1 )

      Now represent the three outputs with respect to the ending basis.

      Rep D ( ( 1 0 0 ) ) = ( − 2 / 3 5 / 3 − 1 / 3 ) Rep D ( ( 0 1 0 ) ) = ( 1 / 3 − 1 / 3 2 / 3 ) Rep D ( ( 0 0 1 ) ) = ( 1 / 3 − 1 / 3 − 1 / 3 )

      Concatenate them into a basis.

      Rep B , D ( id ) = ( − 2 / 3 1 / 3 1 / 3 5 / 3 − 1 / 3 − 1 / 3 − 1 / 3 2 / 3 − 1 / 3 )

    2. One way to find this is to take the inverse of the prior matrix, since it converts bases in the other direction. Alternatively, we can compute these three

      Rep ℰ 3 ( ( 1 2 3 ) ) = ( 1 2 3 ) Rep ℰ 3 ( ( 1 1 1 ) ) = ( 1 1 1 ) Rep ℰ 3 ( ( 0 1 − 1 ) ) = ( 0 1 − 1 )

      and put them in a matrix.

      Rep B , D ( id ) = ( 1 1 0 2 1 1 3 1 − 1 )

    3. Representing id ( x 2 ) , id ( x 2 + x ) , and  id ( x 2 + x + 1 ) with respect to the ending basis gives this.

      Rep D ( x 2 ) = ( 0 0 1 ) Rep D ( x 2 + x ) = ( 0 − 1 1 ) Rep D ( x 2 + x + 1 ) = ( 1 / 2 − 1 1 )

      Put them together.

      Rep B , D ( id ) = ( 0 0 1 / 2 0 − 1 − 1 1 1 1 )

  8. Exercise 1.14 Worked answer

    Find bases such that this matrix represents the identity map with respect to those bases.

    ( 3 1 4 2 − 1 1 0 0 4 )

    Back to Exercise 1.14

    Answer. This question has many different solutions. One way to proceed is to make up any basis B for any space, and then compute the appropriate D (necessarily for the same space, of course). Another, easier, way to proceed is to fix the codomain as ℝ 3 and the codomain basis as ℰ 3 . This way (recall that the representation of any vector with respect to the standard basis is just the vector itself), we have this.

    B = ⟨ ( 3 2 0 ) , ( 1 − 1 0 ) , ( 4 1 4 ) ⟩ D = ℰ 3

  9. Exercise 1.15 Worked answer

    Consider the vector space of real-valued functions with basis ⟨ sin ⁡ ( x ) , cos ⁡ ( x ) ⟩ . Show that ⟨ 2 sin ⁡ ( x ) + cos ⁡ ( x ) , 3 cos ⁡ ( x ) ⟩ is also a basis for this space. Find the change of basis matrix in each direction.

    Back to Exercise 1.15

    Answer. Checking that B = ⟨ 2 sin ⁡ ( x ) + cos ⁡ ( x ) , 3 cos ⁡ ( x ) ⟩ is a basis is routine. Call the natural basis D . To compute the change of basis matrix Rep B , D ( id ) we must find Rep D ( 2 sin ⁡ ( x ) + cos ⁡ ( x ) ) and Rep D ( 3 cos ⁡ ( x ) ) , that is, we need x 1 , y 1 , x 2 , y 2 such that these equations hold.

    x 1 ⋅ sin ⁡ ( x ) + y 1 ⋅ cos ⁡ ( x ) = 2 sin ⁡ ( x ) + cos ⁡ ( x ) x 2 ⋅ sin ⁡ ( x ) + y 2 ⋅ cos ⁡ ( x ) = 3 cos ⁡ ( x )

    Obviously this is the answer.

    Rep B , D ( id ) = ( 2 0 1 3 )

    For the change of basis matrix in the other direction we could look for Rep B ( sin ⁡ ( x ) ) and Rep B ( cos ⁡ ( x ) ) by solving these.

    w 1 ⋅ ( 2 sin ⁡ ( x ) + cos ⁡ ( x ) ) + z 1 ⋅ ( 3 cos ⁡ ( x ) ) = sin ⁡ ( x ) w 2 ⋅ ( 2 sin ⁡ ( x ) + cos ⁡ ( x ) ) + z 2 ⋅ ( 3 cos ⁡ ( x ) ) = cos ⁡ ( x )

    An easier method is to find the inverse of the matrix found above.

    Rep D , B ( id ) = ( 2 0 1 3 ) − 1 = 1 6 ⋅ ( 3 0 − 1 2 ) = ( 1 / 2 0 − 1 / 6 1 / 3 )

  10. Exercise 1.16 Worked answer

    Where does this matrix

    ( cos ⁡ ( 2 θ ) sin ⁡ ( 2 θ ) sin ⁡ ( 2 θ ) − cos ⁡ ( 2 θ ) )

    send the standard basis for ℝ 2 ? Any other bases? Hint. Consider the inverse.

    Back to Exercise 1.16

    Answer. We start by taking the inverse of the matrix, that is, by deciding what is the inverse to the map of interest.

    Rep D , ℰ 2 ( id ) Rep D , ℰ 2 ( id ) − 1 = 1 − cos 2 ⁡ ( 2 θ ) − sin 2 ⁡ ( 2 θ ) ⋅ ( − cos ⁡ ( 2 θ ) − sin ⁡ ( 2 θ ) − sin ⁡ ( 2 θ ) cos ⁡ ( 2 θ ) ) = ( cos ⁡ ( 2 θ ) sin ⁡ ( 2 θ ) sin ⁡ ( 2 θ ) − cos ⁡ ( 2 θ ) )

    This is more tractable than the representation the other way because this matrix is the concatenation of these two column vectors

    Rep ℰ 2 ( δ → 1 ) = ( cos ⁡ ( 2 θ ) sin ⁡ ( 2 θ ) ) Rep ℰ 2 ( δ → 2 ) = ( sin ⁡ ( 2 θ ) − cos ⁡ ( 2 θ ) )

    and representations with respect to ℰ 2 are transparent.

    δ → 1 = ( cos ⁡ ( 2 θ ) sin ⁡ ( 2 θ ) ) δ → 2 = ( sin ⁡ ( 2 θ ) − cos ⁡ ( 2 θ ) )

    This pictures the action of the map that transforms D to ℰ 2 (it is, again, the inverse of the map that is the answer to this question). The line lies at an angle θ to the x  axis.

    Supplied-answer reflection diagram. On the left, delta one=(cos 2 theta, sin 2 theta) and delta two=(sin 2 theta, minus cos 2 theta) are drawn relative to the reflection line. Under f they map to the standard basis vectors e one and e two on the right.

    This map reflects vectors over that line. Since reflections are self-inverse, the answer to the question is: the original map reflects about the line through the origin with angle of elevation θ . (Of course, it does this to any basis.)

  11. Exercise 1.17 Worked answer

    Recommended. What is the change of basis matrix with respect to B , B ?

    Back to Exercise 1.17

    Answer. The appropriately-sized identity matrix.

  12. Exercise 1.18 Worked answer

    Prove that a matrix changes bases if and only if it is invertible.

    Back to Exercise 1.18

    Answer. Each is true if and only if the matrix is nonsingular.

  13. Exercise 1.19 Worked answer

    Finish the proof of Lemma 1.5.

    Back to Exercise 1.19

    Answer. What remains is to show that left multiplication by a reduction matrix represents a change from another basis to B = ⟨ β → 1 , … , β → n ⟩ .

    Application of a row-multiplication matrix M i ( k ) translates a representation with respect to the basis ⟨ β → 1 , … , k β → i , … , β → n ⟩ to one with respect to B , as here.

    v → = c 1 ⋅ β → 1 + ⋯ + c i ⋅ ( k β → i ) + ⋯ + c n ⋅ β → n ↦ c 1 ⋅ β → 1 + ⋯ + ( k c i ) ⋅ β → i + ⋯ + c n ⋅ β → n = v →

    Apply a row-swap matrix P i , j to translates a representation with respect to the basis ⟨ β → 1 , … , β → j , … , β → i , … , β → n ⟩ to one with respect to ⟨ β → 1 , … , β → i , … , β → j , … , β → n ⟩ . Finally, applying a row-combination matrix C i , j ( k ) changes a representation with respect to ⟨ β → 1 , … , β → i + k β → j , … , β → j , … , β → n ⟩ to one with respect to B .

    v → = c 1 ⋅ β → 1 + ⋯ + c i ⋅ ( β → i + k β → j ) + ⋯ + c j β → j + ⋯ + c n ⋅ β → n ↦ c 1 ⋅ β → 1 + ⋯ + c i ⋅ β → i + ⋯ + ( k c i + c j ) ⋅ β → j + ⋯ + c n ⋅ β → n = v →

    (As in the part of the proof in the body of this subsection, the various conditions on the row operations, e.g., that the scalar k is nonzero, assure that these are all bases.)

  14. Exercise 1.20 Worked answer

    Recommended. Let H be an n × n nonsingular matrix. What basis of ℝ n does H change to the standard basis?

    Back to Exercise 1.20

    Answer. Taking H as a change of basis matrix H = Rep B , ℰ n ( id ) , its columns are

    ( h 1 , i ⋮ h n , i ) = Rep ℰ n ( id ( β → i ) ) = Rep ℰ n ( β → i )

    and, because representations with respect to the standard basis are transparent, we have this.

    ( h 1 , i ⋮ h n , i ) = β → i

    That is, the basis is the one composed of the columns of H .

  15. Exercise 1.21 Worked answer

    Recommended.

    1. In 𝒫 3 with basis B = ⟨ 1 + x , 1 − x , x 2 + x 3 , x 2 − x 3 ⟩ we have this representation.

      Rep B ( 1 − x + 3 x 2 − x 3 ) = ( 0 1 1 2 ) B

      Find a basis D giving this different representation for the same polynomial.

      Rep D ( 1 − x + 3 x 2 − x 3 ) = ( 1 0 2 0 ) D

    2. State and prove that we can change any nonzero vector representation to any other.

    Hint. The proof of Lemma 1.5 is constructive—it not only says the bases change, it shows how they change.

    Back to Exercise 1.21

    Answer.

    1. We can change the starting vector representation to the ending one through a sequence of row operations. The proof tells us what how the bases change. We start by swapping the first and second rows of the representation with respect to B to get a representation with respect to a new basis B 1 .

      Rep B 1 ( 1 − x + 3 x 2 − x 3 ) = ( 1 0 1 2 ) B 1 B 1 = ⟨ 1 − x , 1 + x , x 2 + x 3 , x 2 − x 3 ⟩

      We next add − 2 times the third row of the vector representation to the fourth row.

      Rep B 3 ( 1 − x + 3 x 2 − x 3 ) = ( 1 0 1 0 ) B 2 B 2 = ⟨ 1 − x , 1 + x , 3 x 2 − x 3 , x 2 − x 3 ⟩

      (The third element of B 2 is the third element of B 1 minus − 2 times the fourth element of B 1 .) Now we can finish by doubling the third row.

      Rep D ( 1 − x + 3 x 2 − x 3 ) = ( 1 0 2 0 ) D D = ⟨ 1 − x , 1 + x , ( 3 x 2 − x 3 ) / 2 , x 2 − x 3 ⟩

    2. Here are three different approaches to stating such a result. The first is the assertion: where V is a vector space with basis B and v → ∈ V is nonzero, for any nonzero column vector z → (whose number of components equals the dimension of V ) there is a change of basis matrix M such that M ⋅ Rep B ( v → ) = z → . The second possible statement: for any ( n -dimensional) vector space V and any nonzero vector v → ∈ V , where z → 1 , z → 2 ∈ ℝ n are nonzero, there are bases B , D ⊂ V such that Rep B ( v → ) = z → 1 and Rep D ( v → ) = z → 2 . The third is: for any nonzero v → member of any vector space (of dimension  n ) and any nonzero column vector (with n components) there is a basis such that v → is represented with respect to that basis by that column vector.

      The first and second statements follow easily from the third. The first follows because the third statement gives a basis D such that Rep D ( v → ) = z → and then Rep B , D ( id ) is the desired  M . The second follows from the third because it is just a doubled application of it.

      A way to prove the third is as in the answer to the first part of this question. Here is a sketch. Represent v → with respect to any basis B with a column vector z → 1 . This column vector must have a nonzero component because v → is a nonzero vector. Use that component in a sequence of row operations to convert z → 1 to z → . (We could fill out this sketch as an induction argument on the dimension of V .)

  16. Exercise 1.22 Worked answer

    Let V , W be vector spaces, and let B , B ^ be bases for V and D , D ^ be bases for W . Where h : V → W is linear, find a formula relating Rep B , D ( h ) to Rep B ^ , D ^ ( h ) .

    Back to Exercise 1.22

    Answer. This is the topic of the next subsection.

  17. Exercise 1.23 Worked answer

    Recommended. Show that the columns of an n × n change of basis matrix form a basis for ℝ n . Do all bases appear in that way: can the vectors from any ℝ n basis make the columns of a change of basis matrix?

    Back to Exercise 1.23

    Answer. A change of basis matrix is nonsingular and thus has rank equal to the number of its columns. Therefore its set of columns is a linearly independent subset of size n in ℝ n and it is thus a basis. The answer to the second half is also ‘yes’; all implications in the prior sentence reverse (that is, all of the ‘if …then …’ parts of the prior sentence convert to ‘if and only if’ parts).

  18. Exercise 1.24 Worked answer

    Recommended. Find a matrix having this effect.

    ( 1 3 ) ↦ ( 4 − 1 )

    That is, find a M that left-multiplies the starting vector to yield the ending vector. Is there a matrix having these two effects?

    1. ( 1 3 ) ↦ ( 1 1 ) ( 2 − 1 ) ↦ ( − 1 − 1 )

    2. ( 1 3 ) ↦ ( 1 1 ) ( 2 6 ) ↦ ( − 1 − 1 )

    Give a necessary and sufficient condition for there to be a matrix such that v → 1 ↦ w → 1 and v → 2 ↦ w → 2 .

    Back to Exercise 1.24

    Answer. In response to the first half of the question, there are infinitely many such matrices. One of them represents with respect to ℰ 2 the transformation of ℝ 2 with this action.

    ( 1 0 ) ↦ ( 4 0 ) ( 0 1 ) ↦ ( 0 − 1 / 3 )

    The problem of specifying two distinct input/output pairs is a bit trickier. The fact that matrices have a linear action precludes some possibilities.

    1. Yes, there is such a matrix. These conditions

      ( a b c d ) ( 1 3 ) = ( 1 1 ) ( a b c d ) ( 2 − 1 ) = ( − 1 − 1 )

      can be solved

      a + 3 b = 1 c + 3 d = 1 2 a − b = − 1 2 c − d = − 1

      to give this matrix.

      ( − 2 / 7 3 / 7 − 2 / 7 3 / 7 )

    2. No, because

      2 ⋅ ( 1 3 ) = ( 2 6 ) but 2 ⋅ ( 1 1 ) ≠ ( − 1 − 1 )

      no linear action can produce this effect.

    3. A sufficient condition is that { v → 1 , v → 2 } be linearly independent, but that’s not a necessary condition. A necessary and sufficient condition is that any linear dependences among the starting vectors appear also among the ending vectors. That is,

      c 1 v → 1 + c 2 v → 2 = 0 → implies c 1 w → 1 + c 2 w → 2 = 0 → .

      The proof of this condition is routine.

Changing Map Representations

The first subsection shows how to convert the representation of a vector with respect to one basis to the representation of that same vector with respect to another basis. We next convert the representation of a map with respect to one pair of bases to the representation with respect to a different pair—we convert from Rep B , D ( h ) to Rep B ^ , D ^ ( h ) . Here is the arrow diagram.

V wrt B → H h W wrt D id ↓ id ↓ V wrt B ^ → H ^ h W wrt D ^

To move from the lower-left to the lower-right we can either go straight over, or else up to V B then over to W D and then down. So we can calculate H ^ = Rep B ^ , D ^ ( h ) either by directly using B ^ and D ^ , or else by first changing bases with Rep B ^ , B ( id ) then multiplying by H = Rep B , D ( h ) and then changing bases with Rep D , D ^ ( id ) .

Theorem 2.1 To convert from the matrix  H representing a map  h with respect to B , D to the matrix  H ^ representing it with respect to  B ^ , D ^ use this formula.

H ^ = Rep D , D ^ ( id ) ⋅ H ⋅ Rep B ^ , B ( id ) ( ∗ )

Proof This is evident from the diagram.

QED

Example 2.2 The matrix

T = ( cos ⁡ ( π / 6 ) − sin ⁡ ( π / 6 ) sin ⁡ ( π / 6 ) cos ⁡ ( π / 6 ) ) = ( 3 / 2 − 1 / 2 1 / 2 3 / 2 )

represents, with respect to ℰ 2 , ℰ 2 , the transformation t : ℝ 2 → ℝ 2 that rotates vectors through the counterclockwise angle of π / 6 radians.

Counterclockwise rotation through pi/6. The vector (1,3) in the left axes maps to ((minus 3 plus square root of 3)/2, (1 plus 3 square root of 3)/2) in the right axes. The mapping arrow is labelled t subscript pi/6.

We can translate T to a representation with respect to these

B ^ = ⟨ ( 1 1 ) ( 0 2 ) ⟩ D ^ = ⟨ ( − 1 0 ) ( 2 3 ) ⟩

by using the arrow diagram above.

ℝ wrt ℰ 2 2 → T t ℝ wrt ℰ 2 2 id ↓ id ↓ ℝ wrt B ^ 2 → T ^ t ℝ wrt D ^ 2

The picture illustrates that we can compute  T ^ either directly by going along the square’s bottom, or as in formula ( ∗ ) by going up on the left, then across the top, and then down on the right, with T ^ = Rep ℰ 2 , D ^ ( id ) ⋅ T ⋅ Rep B ^ , ℰ 2 ( id ) . (Note again that the matrix multiplication reads right to left, as the three functions are composed and function composition reads right to left.)

Find the matrix for the left-hand side, the matrix  Rep B ^ , ℰ 2 ( id ) , in the usual way: find the effect of the identity matrix on the starting basis  B ^ — which is no effect at all—and then represent those basis elements with respect to the ending basis  ℰ 2 .

Rep B ^ , ℰ 2 ( id ) = ( 1 0 1 2 )

This calculation is easy when the ending basis is the standard one.

There are two ways to compute the matrix for going down the square’s right side, Rep ℰ 2 , D ^ ( id ) . We could calculate it directly as we did for the other change of basis matrix. Or, we could instead calculate it as the inverse of the matrix for going up Rep D ^ , ℰ 2 ( id ) . That matrix is easy to find and we have a formula for the 2 × 2 inverse, so that’s what is in the equation below.

Rep B ^ , D ^ ( t ) = ( − 1 2 0 3 ) − 1 ( 3 / 2 − 1 / 2 1 / 2 3 / 2 ) ( 1 0 1 2 ) = ( ( 5 − 3 ) / 6 ( 3 + 2 3 ) / 3 ( 1 + 3 ) / 6 3 / 3 )

The matrix is messier but the map that it represents is the same. For instance, to replicate the effect of t in the picture, start with B ^ ,

Rep B ^ ( ( 1 3 ) ) = ( 1 1 ) B ^

apply T ^ ,

( ( 5 − 3 ) / 6 ( 3 + 2 3 ) / 3 ( 1 + 3 ) / 6 3 / 3 ) B ^ , D ^ ( 1 1 ) B ^ = ( ( 11 + 3 3 ) / 6 ( 1 + 3 3 ) / 6 ) D ^

and check it against D ^ .

11 + 3 3 6 ⋅ ( − 1 0 ) + 1 + 3 3 6 ⋅ ( 2 3 ) = ( ( − 3 + 3 ) / 2 ( 1 + 3 3 ) / 2 )

Example 2.3 Changing bases can make the matrix simpler. On ℝ 3 the map

( x y z ) ⟼ t ( y + z x + z x + y )

is represented with respect to the standard basis in this way.

Rep ℰ 3 , ℰ 3 ( t ) = ( 0 1 1 1 0 1 1 1 0 )

Representing it with respect to

B = ⟨ ( 1 − 1 0 ) , ( 1 1 − 2 ) , ( 1 1 1 ) ⟩

gives a matrix that is diagonal.

Rep B , B ( t ) = ( − 1 0 0 0 − 1 0 0 0 2 )

Naturally we usually prefer representations that are easier to understand. We say that a map or matrix has been diagonalized when we find a basis  B such that the representation is diagonal with respect to B , B , that is, with respect to the same starting basis as ending basis. Chapter Five finds which maps and matrices are diagonalizable.

The rest of this subsection develops the easier case of finding two bases B , D such that a representation is simple. Recall that the prior subsection shows that a matrix is a change of basis matrix if and only if it is nonsingular.

Definition 2.4 Same-sized matrices H and H ^ are matrix equivalent if there are nonsingular matrices P and Q such that H ^ = P H Q .

Corollary 2.5 Matrix equivalent matrices represent the same map, with respect to appropriate pairs of bases.

Proof This is immediate from equation ( ∗ ) above.

QED

Exercise 2.24 checks that matrix equivalence is an equivalence relation. Thus it partitions the set of matrices into matrix equivalence classes.

All matrices:

The collection of matrices is partitioned into matrix-equivalence classes. Points H and H hat lie within the same region; dots indicate further classes.

H matrix equivalent
to H ^

We can get insight into the classes by comparing matrix equivalence with row equivalence (remember that matrices are row equivalent when they can be reduced to each other by row operations). In H ^ = P H Q , the matrices P and Q are nonsingular and thus each is a product of elementary reduction matrices by Lemma IV.4.7. Left-multiplication by the reduction matrices making up P performs row operations. Right-multiplication by the reduction matrices making up Q performs column operations. Hence, matrix equivalence is a generalization of row equivalence—two matrices are row equivalent if one can be converted to the other by a sequence of row reduction steps, while two matrices are matrix equivalent if one can be converted to the other by a sequence of row reduction steps followed by a sequence of column reduction steps.

Consequently, if matrices are row equivalent then they are also matrix equivalent since we can take Q to be the identity matrix. The converse, however, does not hold: two matrices can be matrix equivalent but not row equivalent.

Example 2.6 These two are matrix equivalent

( 1 0 0 0 ) ( 1 1 0 0 )

because the second reduces to the first by the column operation of taking − 1 times the first column and adding to the second. They are not row equivalent because they have different reduced echelon forms (both are already in reduced form).

We close this section by giving a set of representatives for the matrix equivalence classes.

Theorem 2.7 Any m × n matrix of rank k is matrix equivalent to the m × n matrix that is all zeros except that the first k diagonal entries are ones.

( 1 0 … 0 0 … 0 0 1 … 0 0 … 0 ⋮ 0 0 … 1 0 … 0 0 0 … 0 0 … 0 ⋮ 0 0 … 0 0 … 0 )

This is a block partial-identity form.

( I Z Z Z )

Proof Gauss-Jordan reduce the given matrix and combine all the row reduction matrices to make P . Then use the leading entries to do column reduction and finish by swapping the columns to put the leading ones on the diagonal. Combine the column reduction matrices into Q .

QED

Example 2.8 We illustrate the proof by finding P and Q for this matrix.

( 1 2 1 − 1 0 0 1 − 1 2 4 2 − 2 )

First Gauss-Jordan row-reduce.

( 1 − 1 0 0 1 0 0 0 1 ) ( 1 0 0 0 1 0 − 2 0 1 ) ( 1 2 1 − 1 0 0 1 − 1 2 4 2 − 2 ) = ( 1 2 0 0 0 0 1 − 1 0 0 0 0 )

Then column-reduce, which involves right-multiplication.

( 1 2 0 0 0 0 1 − 1 0 0 0 0 ) ( 1 − 2 0 0 0 1 0 0 0 0 1 0 0 0 0 1 ) ( 1 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 ) = ( 1 0 0 0 0 0 1 0 0 0 0 0 )

Finish by swapping columns.

( 1 0 0 0 0 0 1 0 0 0 0 0 ) ( 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 1 ) = ( 1 0 0 0 0 1 0 0 0 0 0 0 )

Finally, combine the left-multipliers together as P and the right-multipliers together as Q to get P H Q .

( 1 − 1 0 0 1 0 − 2 0 1 ) ( 1 2 1 − 1 0 0 1 − 1 2 4 2 − 2 ) ( 1 0 − 2 0 0 0 1 0 0 1 0 1 0 0 0 1 ) = ( 1 0 0 0 0 1 0 0 0 0 0 0 )

Corollary 2.9 Matrix equivalence classes are characterized by rank: two same-sized matrices are matrix equivalent if and only if they have the same rank.

Proof Two same-sized matrices with the same rank are equivalent to the same block partial-identity matrix.

QED

Example 2.10 The 2 × 2 matrices have only three possible ranks: zero, one, or two. Thus there are three matrix equivalence classes.

All 2 × 2 matrices:

The two-by-two matrices are partitioned into three matrix-equivalence classes. Stars mark canonical representatives: the zero matrix, the diagonal matrix with entries 1 and 0, and the identity matrix.

Three equivalence
classes

Each class consists of all of the 2 × 2 matrices with the same rank. There is only one rank zero matrix. The other two classes have infinitely many members; we’ve shown only the canonical representative.

One nice thing about the representative in Theorem 2.7 is that we can completely understand the linear map when it is expressed in this way: where the bases are B = ⟨ β → 1 , … , β → n ⟩ and D = ⟨ δ → 1 , … , δ → m ⟩ then the map’s action is

c 1 β → 1 + ⋯ + c k β → k + c k + 1 β → k + 1 + ⋯ + c n β → n ↦ c 1 δ → 1 + ⋯ + c k δ → k + 0 → + ⋯ + 0 →

where k is the rank. Thus we can view any linear map as a projection.

( c 1 ⋮ c k c k + 1 ⋮ c n ) B ⟼ ( c 1 ⋮ c k 0 ⋮ 0 ) D

Exercises

  1. Exercise 2.11 Worked answer

    Recommended. Decide if these are matrix equivalent.

    1. ( 1 3 0 2 3 0 ) , ( 2 2 1 0 5 − 1 )

    2. ( 0 3 1 1 ) , ( 4 0 0 5 )

    3. ( 1 3 2 6 ) , ( 1 3 2 − 6 )

    Back to Exercise 2.11

    Answer.

    1. Yes, each has rank two.

    2. Yes, they have the same rank.

    3. No, they have different ranks.

  2. Exercise 2.12 Worked answer

    Which of these are matrix equivalent to each other?

    1. ( 1 2 3 4 5 6 7 8 9 )

    2. ( 1 3 − 1 − 3 )

    3. ( − 5 1 0 − 1 0 1 )

    4. ( 0 − 1 0 5 )

    5. ( 1 0 1 2 0 2 1 3 1 )

    6. ( 3 1 0 9 3 0 − 3 − 1 0 )

    Back to Exercise 2.12

    Answer. Group the matrices into classes characterized by the condition that all matrices in the same class are the same size and the same rank.

    1. 3 × 3 , rank  2

    2. 2 × 2 , rank  1

    3. 2 × 3 , rank  2

    4. 3 × 3 , rank  2

    5. 3 × 3 , rank  1

  3. Exercise 2.13 Worked answer

    Recommended. Find the canonical representative of the matrix equivalence class of each matrix.

    1. ( 2 1 0 4 2 0 )

    2. ( 0 1 0 2 1 1 0 4 3 3 3 − 1 )

    Back to Exercise 2.13

    Answer. We need only compute the rank of each.

    1. ( 1 0 0 0 0 0 )

    2. ( 1 0 0 0 0 1 0 0 0 0 1 0 )

  4. Exercise 2.14 Worked answer

    Suppose that, with respect to

    B = ℰ 2 D = ⟨ ( 1 1 ) , ( 1 − 1 ) ⟩

    the transformation t : ℝ 2 → ℝ 2 is represented by this matrix.

    ( 1 2 3 4 )

    Use change of basis matrices to represent t with respect to each pair.

    1. B ^ = ⟨ ( 0 1 ) , ( 1 1 ) ⟩ , D ^ = ⟨ ( − 1 0 ) , ( 2 1 ) ⟩

    2. B ^ = ⟨ ( 1 2 ) , ( 1 0 ) ⟩ , D ^ = ⟨ ( 1 2 ) , ( 2 1 ) ⟩

    Back to Exercise 2.14

    Answer. Recall the diagram and the formula.

    ℝ wrt B 2 → T t ℝ wrt D 2 id ↓ id ↓ ℝ wrt B ^ 2 → T ^ t ℝ wrt D ^ 2 T ^ = Rep D , D ^ ( id ) ⋅ T ⋅ Rep B ^ , B ( id )

    1. These two

      ( 1 1 ) = 1 ⋅ ( − 1 0 ) + 1 ⋅ ( 2 1 ) ( 1 − 1 ) = ( − 3 ) ⋅ ( − 1 0 ) + ( − 1 ) ⋅ ( 2 1 )

      show that

      Rep D , D ^ ( id ) = ( 1 − 3 1 − 1 )

      and similarly these two

      ( 0 1 ) = 0 ⋅ ( 1 0 ) + 1 ⋅ ( 0 1 ) ( 1 1 ) = 1 ⋅ ( 1 0 ) + 1 ⋅ ( 0 1 )

      give the other nonsingular matrix.

      Rep B ^ , B ( id ) = ( 0 1 1 1 )

      Then the answer is this.

      T ^ = ( 1 − 3 1 − 1 ) ( 1 2 3 4 ) ( 0 1 1 1 ) = ( − 10 − 18 − 2 − 4 )

      Although not strictly necessary, a check is reassuring. Arbitrarily fixing

      v → = ( 3 2 )

      we have that

      Rep B ( v → ) = ( 3 2 ) B ( 1 2 3 4 ) B , D ( 3 2 ) B = ( 7 17 ) D

      and so t ( v → ) is this.

      7 ⋅ ( 1 1 ) + 17 ⋅ ( 1 − 1 ) = ( 24 − 10 )

      Doing the calculation with respect to B ^ , D ^ starts with

      Rep B ^ ( v → ) = ( − 1 3 ) B ^ ( − 10 − 18 − 2 − 4 ) B ^ , D ^ ( − 1 3 ) B ^ = ( − 44 − 10 ) D ^

      and then checks that this is the same result.

      − 44 ⋅ ( − 1 0 ) − 10 ⋅ ( 2 1 ) = ( 24 − 10 )

    2. These two

      ( 1 1 ) = 1 3 ⋅ ( 1 2 ) + 1 3 ⋅ ( 2 1 ) ( 1 − 1 ) = − 1 ⋅ ( 1 2 ) + 1 ⋅ ( 2 1 )

      show that

      Rep D , D ^ ( id ) = ( 1 / 3 − 1 1 / 3 1 )

      and these two

      ( 1 2 ) = 1 ⋅ ( 1 0 ) + 2 ⋅ ( 0 1 ) ( 1 0 ) = − 1 ⋅ ( 1 0 ) + 0 ⋅ ( 0 1 )

      show this.

      Rep B ^ , B ( id ) = ( 1 1 2 0 )

      With those, the conversion goes in this way.

      T ^ = ( 1 / 3 − 1 1 / 3 1 ) ( 1 2 3 4 ) ( 1 1 2 0 ) = ( − 28 / 3 − 8 / 3 38 / 3 10 / 3 )

      As in the prior item, a check provides some confidence that we did this calculation without mistakes. We can for instance, fix the vector

      v → = ( − 1 2 )

      (this is arbitrary, taken from thin air). Now we have

      Rep B ( v → ) = ( − 1 2 ) ( 1 2 3 4 ) B , D ( − 1 2 ) B = ( 3 5 ) D

      and so t ( v → ) is this vector.

      3 ⋅ ( 1 1 ) + 5 ⋅ ( 1 − 1 ) = ( 8 − 2 )

      With respect to B ^ , D ^ we first calculate

      Rep B ^ ( v → ) = ( 1 − 2 ) ( − 28 / 3 − 8 / 3 38 / 3 10 / 3 ) B ^ , D ^ ( 1 − 2 ) B ^ = ( − 4 6 ) D ^

      and, sure enough, that is the same result for t ( v → ) .

      − 4 ⋅ ( 1 2 ) + 6 ⋅ ( 2 1 ) = ( 8 − 2 )

  5. Exercise 2.15 Worked answer

    What sizes are P and Q in the equation H ^ = P H Q ?

    Back to Exercise 2.15

    Answer. Where H and H ^ are m × n , the matrix P is m × m while Q is n × n .

  6. Exercise 2.16 Worked answer

    Recommended. Consider the spaces V = 𝒫 2 and  W = ℳ 2 × 2 , with these bases.

    B = ⟨ 1 , 1 + x , 1 + x 2 ⟩ D = ⟨ ( 0 0 0 1 ) , ( 0 0 1 1 ) , ( 0 1 1 1 ) , ( 1 1 1 1 ) ⟩ B ^ = ⟨ 1 , x , x 2 ⟩ D ^ = ⟨ ( − 1 0 0 0 ) , ( 0 − 1 0 0 ) , ( 0 0 1 0 ) , ( 0 0 0 1 ) ⟩

    We will find P and  Q to convert the representation of a map with respect to B , D to one with respect to B ^ , D ^

    1. Draw the appropriate arrow diagram.

    2. Compute P and  Q .

    Back to Exercise 2.16

    Answer.

    1. This is the arrow diagram.

      V wrt B → H h W wrt D id ↓ id ↓ V wrt B ^ → H ^ h W wrt D ^

      The diagram gives H ^ = P H Q where Q = Rep B ^ , B ( id ) and P = Rep D , D ^ ( id ) (remembering that the operation done first is written on the right).

    2. We want Q = Rep B ^ , B ( id ) and P = Rep D , D ^ ( id ) . For Q we do these calculations (done here by eye).

      Rep B ( id ( 1 ) ) = ( 1 0 0 ) Rep B ( id ( x ) ) = ( − 1 1 0 ) Rep B ( id ( x 2 ) ) = ( − 1 0 1 )

      These calculations give P .

      Rep D ^ ( id ( ( 0 0 0 1 ) ) ) = ( 0 0 0 1 ) Rep D ^ ( id ( ( 0 0 1 1 ) ) ) = ( 0 0 1 1 ) Rep D ^ ( id ( ( 0 1 1 1 ) ) ) = ( 0 − 1 1 1 ) Rep D ^ ( id ( ( 1 1 1 1 ) ) ) = ( − 1 − 1 1 1 )

      This is the answer.

      P = ( 0 0 0 − 1 0 0 − 1 − 1 0 1 1 1 1 1 1 1 ) Q = ( 1 − 1 − 1 0 1 0 0 0 1 )

  7. Exercise 2.17 Worked answer

    Recommended. Find the change of basis matrices Q and  P that will convert the representation of a t : ℝ 2 → ℝ 2 with respect to B , D to one with respect to B ^ , D ^ .

    B = ⟨ ( 1 0 ) , ( 1 1 ) ⟩ D = ⟨ ( 0 1 ) , ( − 1 0 ) ⟩ B ^ = ℰ 2 D ^ = ⟨ ( 1 − 1 ) , ( 0 1 ) ⟩

    Back to Exercise 2.17

    Answer. This is the arrow diagram.

    V wrt B → T t W wrt D id ↓ id ↓ V wrt B ^ → T ^ t W wrt D ^

    Where Q = Rep B ^ , B ( id ) and P = Rep D , D ^ ( id ) the equation is T ^ = P T Q .

    These are the calculations for Q = Rep B ^ , B ( id ) (done by eye).

    Rep B ( id ( ( 1 0 ) ) ) = ( 1 0 ) Rep B ( id ( ( 0 1 ) ) ) = ( − 1 1 )

    So we get this.

    Q = ( 1 − 1 0 1 )

    These calculations give P = Rep D , D ^ ( id ) .

    Rep D ^ ( id ( ( 0 1 ) ) ) = ( 0 1 ) Rep D ^ ( id ( ( − 1 0 ) ) ) = ( − 1 − 1 )

    Concatenate them to make the other matrix.

    P = ( 0 − 1 1 − 1 )

  8. Exercise 2.18 Worked answer

    Recommended. Find the P and  Q to express H via P H Q as a block partial identity matrix.

    H = ( 2 1 1 3 − 1 0 1 3 2 )

    Back to Exercise 2.18

    Answer. Gauss’s Method gives this.

    ( 2 1 1 3 − 1 0 1 3 2 ) ⟶ − ( 1 / 2 ) ρ 1 + ρ 3 − ( 3 / 2 ) ρ 1 + ρ 2 ( ⟶ ρ 2 + ρ 3 ( ⟶ − ( 2 / 5 ) ρ 2 ( 1 / 2 ) ρ 1 ( ( 1 1 / 2 1 / 2 0 1 3 / 5 0 0 0 )

    Column operations complete the job of reaching the canonical form for matrix equivalence.

    ⟶ − ( 3 / 5 ) col 2 + col 3 ( ⟶ − ( 1 / 5 ) col 1 + col 3 − ( 1 / 2 ) col 1 + col 2 ( ( 1 0 0 0 1 0 0 0 0 )

    Then these are the two matrices.

    P = ( 1 0 0 0 − 2 / 5 0 0 0 1 ) ( 1 / 2 0 0 0 1 0 0 0 1 ) ( 1 0 0 0 1 0 0 1 1 ) ( 1 0 0 0 1 0 − 1 / 2 0 1 ) ( 1 0 0 − 3 / 2 1 0 0 0 1 ) = ( 1 / 2 0 0 3 / 5 − 2 / 5 0 − 2 1 1 ) Q = ( 1 0 0 0 1 − 3 / 5 0 0 1 ) ( 1 − 1 / 2 0 0 1 0 0 0 1 ) ( 1 0 − 1 / 5 0 1 0 0 0 1 ) = ( 1 − 1 / 2 − 1 / 5 0 1 − 3 / 5 0 0 1 )

  9. Exercise 2.19 Worked answer

    Recommended. Use Theorem 2.7 to show that a square matrix is nonsingular if and only if it is equivalent to an identity matrix.

    Back to Exercise 2.19

    Answer. Any n × n matrix is nonsingular if and only if it has rank n , that is, by Theorem 2.7, if and only if it is matrix equivalent to the n × n matrix whose diagonal is all ones.

  10. Exercise 2.20 Worked answer

    Show that, where A is a nonsingular square matrix, if P and Q are nonsingular square matrices such that P A Q = I then Q P = A − 1 .

    Back to Exercise 2.20

    Answer. If P A Q = I then Q P A Q = Q , so Q P A = I , and so Q P = A − 1 .

  11. Exercise 2.21 Worked answer

    Why does Theorem 2.7 not show that every matrix is diagonalizable (see Example 2.3)?

    Back to Exercise 2.21

    Answer. By the definition following Example 2.3, a matrix M is diagonalizable if it represents M = Rep B , D ( t ) a transformation with the property that there is some basis B ^ such that Rep B ^ , B ^ ( t ) is a diagonal matrix—the starting and ending bases must be equal. But Theorem 2.7 says only that there are B ^ and D ^ such that we can change to a representation Rep B ^ , D ^ ( t ) and get a diagonal matrix. We have no reason to suspect that we could pick the two B ^ and D ^ so that they are equal.

  12. Exercise 2.22 Worked answer

    Must matrix equivalent matrices have matrix equivalent transposes?

    Back to Exercise 2.22

    Answer. Yes. Row rank equals column rank, so the rank of the transpose equals the rank of the matrix. Same-sized matrices with equal ranks are matrix equivalent.

  13. Exercise 2.23 Worked answer

    What happens in Theorem 2.7 if k = 0 ?

    Back to Exercise 2.23

    Answer. Only a zero matrix has rank zero.

  14. Exercise 2.24 Worked answer

    Show that matrix equivalence is an equivalence relation.

    Back to Exercise 2.24

    Answer. For reflexivity, to show that any matrix is matrix equivalent to itself, take P and Q to be identity matrices. For symmetry, if H 1 = P H 2 Q then H 2 = P − 1 H 1 Q − 1 (inverses exist because P and Q are nonsingular). Finally, for transitivity, assume that H 1 = P 2 H 2 Q 2 and that H 2 = P 3 H 3 Q 3 . Then substitution gives H 1 = P 2 ( P 3 H 3 Q 3 ) Q 2 = ( P 2 P 3 ) H 3 ( Q 3 Q 2 ) . A product of nonsingular matrices is nonsingular (we’ve shown that the product of invertible matrices is invertible; in fact, we’ve shown how to calculate the inverse) and so H 1 is therefore matrix equivalent to H 3 .

  15. Exercise 2.25 Worked answer

    Recommended. Show that a zero matrix is alone in its matrix equivalence class. Are there other matrices like that?

    Back to Exercise 2.25

    Answer. By Theorem 2.7, a zero matrix is alone in its class because it is the only m × n of rank zero. No other matrix is alone in its class; any nonzero scalar product of a matrix has the same rank as that matrix.

  16. Exercise 2.26 Worked answer

    What are the matrix equivalence classes of matrices of transformations on ℝ 1 ? ℝ 3 ?

    Back to Exercise 2.26

    Answer. There are two matrix equivalence classes of 1 × 1 matrices—those of rank zero and those of rank one. The 3 × 3 matrices fall into four matrix equivalence classes.

  17. Exercise 2.27 Worked answer

    How many matrix equivalence classes are there?

    Back to Exercise 2.27

    Answer. For m × n matrices there are classes for each possible rank: where k is the minimum of m and n there are classes for the matrices of rank 0 , 1 , …, k . That’s k + 1 classes. (Of course, totaling over all sizes of matrices we get infinitely many classes.)

  18. Exercise 2.28 Worked answer

    Are matrix equivalence classes closed under scalar multiplication? Addition?

    Back to Exercise 2.28

    Answer. They are closed under nonzero scalar multiplication since a nonzero scalar multiple of a matrix has the same rank as does the matrix. They are not closed under addition, for instance, H + ( − H ) has rank zero.

  19. Exercise 2.29 Worked answer

    Let t : ℝ n → ℝ n represented by T with respect to ℰ n , ℰ n .

    1. Find Rep B , B ( t ) in this specific case.

      T = ( 1 1 3 − 1 ) B = ⟨ ( 1 2 ) , ( − 1 − 1 ) ⟩

    2. Describe Rep B , B ( t ) in the general case where B = ⟨ β → 1 , … , β → n ⟩ .

    Back to Exercise 2.29

    Answer. Here is the picture.

    ℝ wrt ℰ 2 2 → T t ℝ wrt ℰ 2 2 id ↓ id ↓ ℝ wrt B 2 → T ^ t ℝ wrt B 2

    There are two ways to move from the lower left to the lower right. The first is direct, using T ^ = Rep B , B ( t ) . The second moves up, then over, then down, using Rep ℰ 2 , B ( id ) ⋅ T ⋅ Rep B , ℰ 2 ( id ) (remember that they get written right-to-left, so the “up” matrix is on the right, in order to have that when applied to a Rep B ( v → ) the matrix applied first is Rep B , ℰ 2 ( id ) ). We write S for Rep B , ℰ 2 ( id ) ; of the two we choose this one because it is easier to calculate. So we have T ^ = S − 1 T S .

    1. We have

      Rep B , ℰ 2 ( id ) = S = ( 1 − 1 2 − 1 )

      and

      Rep ℰ 2 , B ( id ) = Rep B , ℰ 2 ( id ) − 1 = S − 1 = ( 1 − 1 2 − 1 ) − 1 = ( − 1 1 − 2 1 )

      and thus the answer is this.

      Rep B , B ( t ) = ( − 1 1 − 2 1 ) ( 1 1 3 − 1 ) ( 1 − 1 2 − 1 ) = ( − 2 0 − 5 2 )

      As a quick check, we can take a vector at random

      v → = ( 4 5 )

      giving

      Rep ℰ 2 ( v → ) = ( 4 5 ) ( 1 1 3 − 1 ) ( 4 5 ) = ( 9 7 ) = t ( v → )

      while the calculation with respect to B , B

      Rep B ( v → ) = ( 1 − 3 ) ( − 2 0 − 5 2 ) B , B ( 1 − 3 ) B = ( − 2 − 11 ) B

      yields the same result.

      − 2 ⋅ ( 1 2 ) − 11 ⋅ ( − 1 − 1 ) = ( 9 7 )

    2. As in the first item of this question

      S = Rep B , ℰ 2 ( id ) = ( β → 1 ⋯ β → n ) Rep ℰ 2 , B ( id ) = S − 1 = Rep B , ℰ 2 ( id ) − 1

      so, writing S for the matrix whose columns are the basis vectors, we have that Rep B , B ( t ) = T ^ = S − 1 T S .

  20. Exercise 2.30 Worked answer

    1. Let V have bases B 1 and B 2 and suppose that W has the basis D . Where h : V → W , find the formula that computes Rep B 2 , D ( h ) from Rep B 1 , D ( h ) .

    2. Repeat the prior question with one basis for V and two bases for W .

    Back to Exercise 2.30

    Answer.

    1. The adapted form of the arrow diagram is this.

      V wrt B 1 → H h W wrt D id ↓ Q id ↓ P V wrt B 2 → H ^ h W wrt D

      Since there is no need to change bases in W (or we can say that the change of basis matrix P is the identity), we have Rep B 2 , D ( h ) = Rep B 1 , D ( h ) ⋅ Q where Q = Rep B 2 , B 1 ( id ) .

    2. Here, this is the arrow diagram.

      V wrt B → H h W wrt D 1 id ↓ Q id ↓ P V wrt B → H ^ h W wrt D 2

      We have that Rep B , D 2 ( h ) = P ⋅ Rep B , D 1 ( h ) where P = Rep D 1 , D 2 ( id ) .

  21. Exercise 2.31 Worked answer

    1. If two matrices are matrix equivalent and invertible, must their inverses be matrix equivalent?

    2. If two matrices have matrix equivalent inverses, must the two be matrix equivalent?

    3. If two matrices are square and matrix equivalent, must their squares be matrix equivalent?

    4. If two matrices are square and have matrix equivalent squares, must they be matrix equivalent?

    Back to Exercise 2.31

    Answer.

    1. Here is the arrow diagram, and a version of that diagram for inverse functions.

      V wrt B → H h W wrt D id ↓ Q id ↓ P V wrt B ^ → H ^ h W wrt D ^ V wrt B ← H − 1 h − 1 W wrt D id ↓ Q id ↓ P V wrt B ^ ← H ^ − 1 h − 1 W wrt D ^

      Yes, the inverses of the matrices represent the inverses of the maps. That is, we can move from the lower right to the lower left by moving up, then left, then down. In other words, where H ^ = P H Q (and P , Q invertible) and H , H ^ are invertible then H ^ − 1 = Q − 1 H − 1 P − 1 .

    2. Yes; this is the prior part repeated in different terms.

    3. No, we need another assumption: if H represents h with respect to the same starting as ending bases B , B , for some B then H 2 represents h ∘ h . As a specific example, these two matrices are both rank one and so they are matrix equivalent

      ( 1 0 0 0 ) ( 0 0 1 0 )

      but the squares are not matrix equivalent—the square of the first has rank one while the square of the second has rank zero.

    4. No. These two are not matrix equivalent but have matrix equivalent squares.

      ( 0 0 0 0 ) ( 0 0 1 0 )

  22. Exercise 2.32 Worked answer

    Square matrices are similar if they represent the same transformation, but each with respect to the same ending as starting basis. That is, Rep B 1 , B 1 ( t ) is similar to Rep B 2 , B 2 ( t ) .

    1. Give a definition of matrix similarity like that of Definition 2.4.

    2. Prove that similar matrices are matrix equivalent.

    3. Show that similarity is an equivalence relation.

    4. Show that if T is similar to T ^ then T 2 is similar to T ^ 2 , the cubes are similar, etc.

    5. Prove that there are matrix equivalent matrices that are not similar.

    Back to Exercise 2.32

    Answer.

    1. The arrow diagram suggests the definition.

      V wrt B 1 → T t V wrt B 1 id ↓ id ↓ V wrt B 2 → T ^ t V wrt B 2

      Call matrices T , T ^ similar if there is a nonsingular matrix P such that T ^ = P − 1 T P .

    2. Take P − 1 to be P and take P to be Q .

    3. This is as in Exercise 2.24. Reflexivity is obvious: T = I − 1 T I . Symmetry is also easy: T ^ = P − 1 T P implies that T = P T ^ P − 1 (multiply the first equation from the right by P − 1 and from the left by P ). For transitivity, assume that T 1 = P 2 − 1 T 2 P 2 and that T 2 = P 3 − 1 T 3 P 3 . Then T 1 = P 2 − 1 ( P 3 − 1 T 3 P 3 ) P 2 = ( P 2 − 1 P 3 − 1 ) T 3 ( P 3 P 2 ) and we are finished on noting that P 3 P 2 is an invertible matrix with inverse P 2 − 1 P 3 − 1 .

    4. Assume T ^ = P − 1 T P . For squares, T ^ 2 = ( P − 1 T P ) ( P − 1 T P ) = P − 1 T ( P P − 1 ) T P = P − 1 T 2 P . Higher powers follow by induction.

    5. These two are matrix equivalent but their squares are not matrix equivalent.

      ( 1 0 0 0 ) ( 0 0 1 0 )

      By the prior item, matrix similarity and matrix equivalence are thus different.

References cited in this section