Linear Algebra, Changing Representations of Vectors
Up for GrabsUpdated 9 min read
In converting{R e p}_{B} ( \overset{→}{v} ) to {R e p}_{D} ( \overset{→}{v} )
the underlying vector \overset{→}{v} doesn't
change.
Thus,
this translation 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.
(The diagram is
vertical to fit with the ones in the next subsection.)
Definition 1.1
The change of basis matrixfor bases B , D ⊂ V
is the representation of the identity map \text{id} : V → V with respect to those bases.
{R e p}_{B , D} ( \text{id} ) = ( \begin{matrix}⋮ & & ⋮ \\ {R e p}_{D} ( {\overset{→}{β}}_{1} ) & \ ⋯ \ & {R e p}_{D} ( {\overset{→}{β}}_{n} ) \\ ⋮ & & ⋮\end{matrix} )
Lemma 1.2
Left-multiplication by the change of basis matrix for B , D converts a representation with respect to B to one with respect to D. Conversly, if left-multiplication by a matrix changes bases M ⋅ {R e p}_{B} ( \overset{→}{v} ) = {R e p}_{D} ( \overset{→}{v} ) then M is a change of basis matrix.
Proof
For the first sentence, for each \overset{→}{v}, as matrix-vector multiplication represents a map application, {R e p}_{B , D} ( \text{id} ) ⋅ {R e p}_{B} ( \overset{→}{v} ) = {R e p}_{D} ( \ \text{id} ( \overset{→}{v} ) \ ) = {R e p}_{D} ( \overset{→}{v} ). For the second sentence, with respect to B , D the matrix M represents some linear map, whose action is \overset{→}{v} ↦ \overset{→}{v}, and is therefore the identity map.
Example 1.3
With these bases for {ℝ}^{2},
B = ⟨ ( \begin{matrix}2 \\ 1\end{matrix} ) , ( \begin{matrix}1 \\ 0\end{matrix} ) ⟩ \ D = ⟨ ( \begin{matrix}− 1 \\ 1\end{matrix} ) , ( \begin{matrix}1 \\ 1\end{matrix} ) ⟩
because
{R e p}_{D} ( \ \text{id} ( ( \begin{matrix}2 \\ 1\end{matrix} ) ) ) = {( \begin{matrix}− 1 / 2 \\ 3 / 2\end{matrix} )}_{D} \ {R e p}_{D} ( \ \text{id} ( ( \begin{matrix}1 \\ 0\end{matrix} ) ) ) = {( \begin{matrix}− 1 / 2 \\ 1 / 2\end{matrix} )}_{D}
the change of basis matrix is this.
{R e p}_{B , D} ( i d ) = ( \begin{matrix}− 1 / 2 & − 1 / 2 \\ 3 / 2 & 1 / 2\end{matrix} )
We can see this matrix at work by finding the two representations of{\overset{→}{e}}_{2}
{R e p}_{B} ( ( \begin{matrix}0 \\ 1\end{matrix} ) ) = ( \begin{matrix}1 \\ − 2\end{matrix} ) \ {R e p}_{D} ( ( \begin{matrix}0 \\ 1\end{matrix} ) ) = ( \begin{matrix}1 / 2 \\ 1 / 2\end{matrix} )
and checking that the conversion goes as expected.
( \begin{matrix}− 1 / 2 & − 1 / 2 \\ 3 / 2 & 1 / 2\end{matrix} ) ( \begin{matrix}1 \\ − 2\end{matrix} ) = ( \begin{matrix}1 / 2 \\ 1 / 2\end{matrix} )
We finish this subsection by recognizing that the change of basis matrices
are familiar.
Lemma 1.4
A matrix changes bases if and only if it is nonsingular.
Proof
For one direction, if left-multiplication by a matrix changes bases then
the matrix represents an invertible function,
simply because the function is inverted by changing the bases back.
Such a matrix is itself invertible, and so nonsingular.
To finish, we will show that any nonsingular matrix M
performs a change of basis operation from any given starting basis B
to some ending basis.
Because the matrix is nonsingular, it will Gauss-Jordan reduce to the
identity, so there are elementatry reduction matrices such that{R}_{r} ⋯ {R}_{1} ⋅ M = I.
Elementary matrices are invertible and their inverses are also elementary,
so multiplying from the left first
by {{R}_{r}}^{− 1}, then by {{R}_{r − 1}}^{− 1}, etc., gives
M as a product of elementary matricesM = {{R}_{1}}^{− 1} ⋯ {{R}_{r}}^{− 1}.
Thus, we will be done if we show that elementary matrices
change a given basis to another basis, for 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}, ..., and
the net effect is that M changes B to {B}_{1}.
We will prove this about elementary matrices by covering the three types as
separate cases.
Applying a row-multiplication matrix
{M}_{i} ( k ) ( \begin{matrix}{c}_{1} \\ ⋮ \\ {c}_{i} \\ ⋮ \\ {c}_{n}\end{matrix} ) = ( \begin{matrix}{c}_{1} \\ ⋮ \\ k {c}_{i} \\ ⋮ \\ {c}_{n}\end{matrix} )
changes a representation with respect to⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{i} , … , {\overset{→}{β}}_{n} ⟩
to one with respect to⟨ {\overset{→}{β}}_{1} , … , ( 1 / k ) {\overset{→}{β}}_{i} , … , {\overset{→}{β}}_{n} ⟩
in this way.
\overset{→}{v} = {c}_{1} ⋅ {\overset{→}{β}}_{1} + … + {c}_{i} ⋅ {\overset{→}{β}}_{i} + … + {c}_{n} ⋅ {\overset{→}{β}}_{n}
↦ \ {c}_{1} ⋅ {\overset{→}{β}}_{1} + … + k {c}_{i} ⋅ ( 1 / k ) {\overset{→}{β}}_{i} + … + {c}_{n} ⋅ {\overset{→}{β}}_{n} = \overset{→}{v}
Similarly, left-multiplication by a row-swap matrix {P}_{i , j}
changes a representation with respect to the basis⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{i} , … , {\overset{→}{β}}_{j} , … , {\overset{→}{β}}_{n} ⟩
into one with respect to the basis⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{j} , … , {\overset{→}{β}}_{i} , … , {\overset{→}{β}}_{n} ⟩ in this way.
\overset{→}{v} = {c}_{1} ⋅ {\overset{→}{β}}_{1} + … + {c}_{i} ⋅ {\overset{→}{β}}_{i} + … + {c}_{j} {\overset{→}{β}}_{j} + … + {c}_{n} ⋅ {\overset{→}{β}}_{n}
↦ \ {c}_{1} ⋅ {\overset{→}{β}}_{1} + … + {c}_{j} ⋅ {\overset{→}{β}}_{j} + … + {c}_{i} ⋅ {\overset{→}{β}}_{i} + … + {c}_{n} ⋅ {\overset{→}{β}}_{n} = \overset{→}{v}
And, a representation with respect to⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{i} , … , {\overset{→}{β}}_{j} , … , {\overset{→}{β}}_{n} ⟩
changes via left-multiplication by a row-combination matrix{C}_{i , j} ( k ) into a representation with respect to⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{i} − k {\overset{→}{β}}_{j} , … , {\overset{→}{β}}_{j} , … , {\overset{→}{β}}_{n} ⟩
\overset{→}{v} = {c}_{1} ⋅ {\overset{→}{β}}_{1} + … + {c}_{i} ⋅ {\overset{→}{β}}_{i} + {c}_{j} {\overset{→}{β}}_{j} + … + {c}_{n} ⋅ {\overset{→}{β}}_{n}
↦ \ {c}_{1} ⋅ {\overset{→}{β}}_{1} + … + {c}_{i} ⋅ ( {\overset{→}{β}}_{i} − k {\overset{→}{β}}_{j} ) + … + ( k {c}_{i} + {c}_{j} ) ⋅ {\overset{→}{β}}_{j} + … + {c}_{n} ⋅ {\overset{→}{β}}_{n} = \overset{→}{v}
(the definition of reduction matrices specifies that i ≠ k and k ≠ 0 and so this last one is a basis).
Corollary 1.5
A matrix is nonsingular if and only if it represents the identity map with respect to some pair of bases.
In the next subsection we will
see how to translate among representations of
maps, that is, how to change{R e p}_{B , D} ( h ) to {R e p}_{\overset{̂}{B} , \overset{̂}{D}} ( h ).
The above corollary is a special case of this, where the domain and range are
the same space, and where the map is the identity map.
Exercises
This exercise is recommended for all readers.
Problem 1
In {ℝ}^{2}, where
D = ⟨ ( \begin{matrix}2 \\ 1\end{matrix} ) , ( \begin{matrix}− 2 \\ 4\end{matrix} ) ⟩
find the change of basis matrices from D to {ℰ}_{2} and
from {ℰ}_{2} to D.
Multiply the two.
This exercise is recommended for all readers.
Problem 2
Find the change of basis matrix for B , D ⊆ {ℝ}^{2}.
B = {ℰ}_{2},D = ⟨ {\overset{→}{e}}_{2} , {\overset{→}{e}}_{1} ⟩B = {ℰ}_{2},
D = ⟨ ( \begin{matrix}1 \\ 2\end{matrix} ) , ( \begin{matrix}1 \\ 4\end{matrix} ) ⟩
B = ⟨ ( \begin{matrix}1 \\ 2\end{matrix} ) , ( \begin{matrix}1 \\ 4\end{matrix} ) ⟩,D = {ℰ}_{2}B = ⟨ ( \begin{matrix}− 1 \\ 1\end{matrix} ) , ( \begin{matrix}2 \\ 2\end{matrix} ) ⟩,
D = ⟨ ( \begin{matrix}0 \\ 4\end{matrix} ) , ( \begin{matrix}1 \\ 3\end{matrix} ) ⟩
Problem 3
For the bases in Problem 2,
find the change of basis matrix in the other direction, from D to B.
This exercise is recommended for all readers.
Problem 4
Find the change of basis matrix for each B , D ⊆ {𝒫}_{2}.
B = ⟨ 1 , x , {x}^{2} ⟩ , D = ⟨ {x}^{2} , 1 , x ⟩B = ⟨ 1 , x , {x}^{2} ⟩ , D = ⟨ 1 , 1 + x , 1 + x + {x}^{2} ⟩B = ⟨ 2 , 2 x , {x}^{2} ⟩ , D = ⟨ 1 + {x}^{2} , 1 − {x}^{2} , x + {x}^{2} ⟩
This exercise is recommended for all readers.
Problem 5
Decide if each changes bases on {ℝ}^{2}.
To what basis is {ℰ}_{2} changed?
( \begin{matrix}5 & 0 \\ 0 & 4\end{matrix} )( \begin{matrix}2 & 1 \\ 3 & 1\end{matrix} )( \begin{matrix}− 1 & 4 \\ 2 & − 8\end{matrix} )( \begin{matrix}1 & − 1 \\ 1 & 1\end{matrix} )
Problem 6
Find bases such that this matrix represents the identity map
with respect to those bases.
( \begin{matrix}3 & 1 & 4 \\ 2 & − 1 & 1 \\ 0 & 0 & 4\end{matrix} )
Problem 7
Conside 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.
Problem 8
Where does this matrix
( \begin{matrix}cos ( 2 θ ) & sin ( 2 θ ) \\ sin ( 2 θ ) & − cos ( 2 θ )\end{matrix} )
send the standard basis for {ℝ}^{2}?
Any other bases?
Hint.
Consider the inverse.
This exercise is recommended for all readers.
Problem 9
What is the change of basis matrix with respect to B , B?
Problem 10
Prove that a matrix changes bases if and only if it is invertible.
Problem 11
Finish the proof of Lemma 1.4.
This exercise is recommended for all readers.
Problem 12
Let H be a n \ × \ n nonsingular matrix.
What basis of {ℝ}^{n} does H change to the standard basis?
This exercise is recommended for all readers.
Problem 13
- In
{𝒫}_{3}with basisB = ⟨ 1 + x , 1 − x , {x}^{2} + {x}^{3} , {x}^{2} − {x}^{3} ⟩we have this
represenatation.
{R e p}_{B} ( 1 − x + 3 {x}^{2} − {x}^{3} ) = {( \begin{matrix}0 \\ 1 \\ 1 \\ 2\end{matrix} )}_{B}
Find a basis D
giving this different representation for the same
polynomial.
{R e p}_{D} ( 1 − x + 3 {x}^{2} − {x}^{3} ) = {( \begin{matrix}1 \\ 0 \\ 2 \\ 0\end{matrix} )}_{D}
- State and prove that any nonzero vector
representation can be changed to any other.
Hint.
The proof of Lemma 1.4
is constructive— it not only says the bases change, it shows
how they change.
Problem 14
Let V , W be vector spaces, and let B , \overset{̂}{B} be bases for
V and D , \overset{̂}{D} be bases for W.
Where h : V → W is linear, find a formula relating{R e p}_{B , D} ( h ) to {R e p}_{\overset{̂}{B} , \overset{̂}{D}} ( h ).
This exercise is recommended for all readers.
Problem 15
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?
This exercise is recommended for all readers.
Problem 16
Find a matrix having this effect.
( \begin{matrix}1 \\ 3\end{matrix} ) \ ↦ \ ( \begin{matrix}4 \\ − 1\end{matrix} )
That is, find a M that left-multiplies the
starting vector to yield the ending vector.
Is there a matrix having these two effects?
( \begin{matrix}1 \\ 3\end{matrix} ) ↦ ( \begin{matrix}1 \\ 1\end{matrix} ) \ ( \begin{matrix}2 \\ − 1\end{matrix} ) ↦ ( \begin{matrix}− 1 \\ − 1\end{matrix} )
( \begin{matrix}1 \\ 3\end{matrix} ) ↦ ( \begin{matrix}1 \\ 1\end{matrix} ) \ ( \begin{matrix}2 \\ 6\end{matrix} ) ↦ ( \begin{matrix}− 1 \\ − 1\end{matrix} )
Give a necessary and sufficient condition for there to be a
matrix such that{\overset{→}{v}}_{1} ↦ {\overset{→}{w}}_{1} and {\overset{→}{v}}_{2} ↦ {\overset{→}{w}}_{2}.
For more exercises see Abstract Algebra/3x3 real matrices.
Where this page came from
This page was imported from Wikibooks. From “Linear Algebra” on Wikibooks, by its contributors, under CC BY-SA 4.0. Changed here: set as a page; navigation and edit links left out; each image under its own licence, credited in its caption.
Nobody has written it yet — it is the source material at a new address, which is why search engines are asked to skip it and why no one earns from it. It is up for grabs: take it on, and it is yours to rewrite and to earn from.