Linear Algebra, Any Matrix Represents a Linear Map
Up for GrabsUpdated 14 min read
The prior subsection shows that
the action of a linear map h is described by a matrix H,
with respect to appropriate bases, in this way.
\overset{→}{v} = {( \begin{matrix}{v}_{1} \\ ⋮ \\ {v}_{n}\end{matrix} )}_{B} \ \overset{h}{{⟼}_{H}} \ {( \begin{matrix}{h}_{1 , 1} {v}_{1} + … + {h}_{1 , n} {v}_{n} \\ ⋮ \\ {h}_{m , 1} {v}_{1} + … + {h}_{m , n} {v}_{n}\end{matrix} )}_{D} = h ( \overset{→}{v} )
In this subsection, we will show the converse, that
each matrix represents a linear map.
Recall that, in the definition of the matrix representation of a linear map,
the number of columns of the matrix is the dimension of the map's
domain and the number of rows of the matrix is the dimension of the
map's codomain.
Thus, for instance,
a {}2 \ × \ 3 matrix cannot represent a map from {ℝ}^{5} to{ℝ}^{4}.
The next result says that, beyond this restriction on the dimensions,
there are no other limitations: the{}2 \ × \ 3 matrix represents a map from any
three-dimensional space to any two-dimensional space.
Theorem 2.1
Any matrix represents a homomorphism between vector spaces of
appropriate dimensions, with respect to any pair of bases.
Proof
For the matrix
H = ( \begin{matrix}{h}_{1 , 1} & {h}_{1 , 2} & … & {h}_{1 , n} \\ {h}_{2 , 1} & {h}_{2 , 2} & … & {h}_{2 , n} \\ & ⋮ \\ {h}_{m , 1} & {h}_{m , 2} & … & {h}_{m , n}\end{matrix} )
fix any n-dimensional domain space V and any
m-dimensional codomain space W.
Also fix basesB = ⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{n} ⟩ andD = ⟨ {\overset{→}{δ}}_{1} , … , {\overset{→}{δ}}_{m} ⟩ for those spaces.
Define a function h : V → W by: where \overset{→}{v} in the domain
is represented as
{R e p}_{B} ( \overset{→}{v} ) = {( \begin{matrix}{v}_{1} \\ ⋮ \\ {v}_{n}\end{matrix} )}_{B}
then its image h ( \overset{→}{v} ) is the member the codomain represented by
{R e p}_{D} ( \ h ( \overset{→}{v} ) \ ) = {( \begin{matrix}{h}_{1 , 1} {v}_{1} + … + {h}_{1 , n} {v}_{n} \\ ⋮ \\ {h}_{m , 1} {v}_{1} + … + {h}_{m , n} {v}_{n}\end{matrix} )}_{D}
that is,h ( \overset{→}{v} ) = h ( {v}_{1} {\overset{→}{β}}_{1} + … + {v}_{n} {\overset{→}{β}}_{n} ) is defined to be( {h}_{1 , 1} {v}_{1} + … + {h}_{1 , n} {v}_{n} ) ⋅ {\overset{→}{δ}}_{1} + … + ( {h}_{m , 1} {v}_{1} + … + {h}_{m , n} {v}_{n} ) ⋅ {\overset{→}{δ}}_{m}.
(This is well-defined by the uniqueness of the representation{R e p}_{B} ( \overset{→}{v} ).)
Observe that h has simply been defined to make it the map that is
represented with respect to B , D by the matrix H.
So to finish, we need only check that h is linear.
If \overset{→}{v} , \overset{→}{u} ∈ V are such that
{R e p}_{B} ( \overset{→}{v} ) = ( \begin{matrix}{v}_{1} \\ ⋮ \\ {v}_{n}\end{matrix} ) \ \text{and} \ {R e p}_{B} ( \overset{→}{u} ) = ( \begin{matrix}{u}_{1} \\ ⋮ \\ {u}_{n}\end{matrix} )
and c , d ∈ ℝ then the calculation
\begin{matrix}h ( c \overset{→}{v} + d \overset{→}{u} ) & = ( {h}_{1 , 1} ( c {v}_{1} + d {u}_{1} ) + … + {h}_{1 , n} ( c {v}_{n} + d {u}_{n} ) ) ⋅ {\overset{→}{δ}}_{1} + \\ & \ ⋯ + ( {h}_{m , 1} ( c {v}_{1} + d {u}_{1} ) + … + {h}_{m , n} ( c {v}_{n} + d {u}_{n} ) ) ⋅ {\overset{→}{δ}}_{m} \\ & = c ⋅ h ( \overset{→}{v} ) + d ⋅ h ( \overset{→}{u} )\end{matrix}
provides this verification.
Example 2.2
Which map the matrix represents depends on which bases are used.
If
H = ( \begin{matrix}1 & 0 \\ 0 & 0\end{matrix} ) , \ {B}_{1} = {D}_{1} = ⟨ ( \begin{matrix}1 \\ 0\end{matrix} ) , ( \begin{matrix}0 \\ 1\end{matrix} ) ⟩ , \ \text{and} \ {B}_{2} = {D}_{2} = ⟨ ( \begin{matrix}0 \\ 1\end{matrix} ) , ( \begin{matrix}1 \\ 0\end{matrix} ) ⟩ ,
then {h}_{1} : {ℝ}^{2} → {ℝ}^{2} represented by H
with respect to {B}_{1} , {D}_{1} maps
( \begin{matrix}{c}_{1} \\ {c}_{2}\end{matrix} ) = {( \begin{matrix}{c}_{1} \\ {c}_{2}\end{matrix} )}_{{B}_{1}} \ ↦ \ {( \begin{matrix}{c}_{1} \\ 0\end{matrix} )}_{{D}_{1}} = ( \begin{matrix}{c}_{1} \\ 0\end{matrix} )
while {h}_{2} : {ℝ}^{2} → {ℝ}^{2} represented by H
with respect to {B}_{2} , {D}_{2} is this map.
( \begin{matrix}{c}_{1} \\ {c}_{2}\end{matrix} ) = {( \begin{matrix}{c}_{2} \\ {c}_{1}\end{matrix} )}_{{B}_{2}} \ ↦ \ {( \begin{matrix}{c}_{2} \\ 0\end{matrix} )}_{{D}_{2}} = ( \begin{matrix}0 \\ {c}_{2}\end{matrix} )
These two are different. The first is projection onto the x axis, while the second is projection onto the y axis.
So not only is any linear map described by a
matrix but any matrix describes a linear map.
This means that we can, when convenient,
handle linear maps entirely as matrices,
simply doing the computations, without
have to worry that a matrix of interest does not represent
a linear map on some pair of spaces of interest.
(In practice, when we are working with a matrix but no spaces or bases have
been specified, we will often take the
domain and codomain to be {ℝ}^{n} and {ℝ}^{m} and use the standard
bases.
In this case, because the
representation is transparent— the representation with respect to the
standard basis of \overset{→}{v} is \overset{→}{v}— the
column space of the matrix equals the range of the map.
Consequently,
the column space of H is often denoted by ℛ ( H ).)
With the theorem, we have characterized linear maps as
those maps that act in this matrix way.
Each linear map is described by a matrix and each matrix describes a
linear map.
We finish this section by illustrating how a matrix can be used to tell things
about its maps.
Theorem 2.3
The rank of a matrix equals the rank of any map that it represents.
Proof
Suppose that the matrix H is m \ × \ n.
Fix domain and codomain spaces V and W of dimension n and m, with
bases B = ⟨ {\overset{→}{β}}_{1} , … , {\overset{→}{β}}_{n} ⟩ and D.
Then H represents some linear map h between those spaces with respect
to these bases whose rangespace
\begin{matrix}\{ h ( \overset{→}{v} ) \ | \ \overset{→}{v} ∈ V \} & = \{ h ( {c}_{1} {\overset{→}{β}}_{1} + … + {c}_{n} {\overset{→}{β}}_{n} ) \ | \ {c}_{1} , … , {c}_{n} ∈ ℝ \} \\ & = \{ {c}_{1} h ( {\overset{→}{β}}_{1} ) + … + {c}_{n} h ( {\overset{→}{β}}_{n} ) \ | \ {c}_{1} , … , {c}_{n} ∈ ℝ \}\end{matrix}
is the span [ \{ h ( {\overset{→}{β}}_{1} ) , … , h ( {\overset{→}{β}}_{n} ) \} ].
The rank of h is the dimension of this rangespace.
The rank of the matrix is its column rank (or its row rank; the two are equal).
This is the dimension of the column space of the matrix, which is the span of
the set of column vectors[ \{ {R e p}_{D} ( h ( {\overset{→}{β}}_{1} ) ) , … , {R e p}_{D} ( h ( {\overset{→}{β}}_{n} ) ) \} ].
To see that the two spans have the same dimension, recall that a
representation with respect to a basis gives an isomorphism{\text{Rep}}_{D} : W → {ℝ}^{m}.
Under this isomorphism, there is a linear relationship among members of the
rangespace if and only if the same relationship holds in the
column space, e.g,\overset{→}{0} = {c}_{1} h ( {\overset{→}{β}}_{1} ) + … + {c}_{n} h ( {\overset{→}{β}}_{n} ) if and only if\overset{→}{0} = {c}_{1} {R e p}_{D} ( h ( {\overset{→}{β}}_{1} ) ) + … + {c}_{n} {R e p}_{D} ( h ( {\overset{→}{β}}_{n} ) ).
Hence, a subset of the rangespace is linearly independent if and only if the
corresponding subset of the column space is linearly independent.
This means that the size of the largest linearly independent subset of the
rangespace equals the size of the largest linearly independent subset of the
column space, and so the two spaces have the same dimension.
Example 2.4
Any map represented by
( \begin{matrix}1 & 2 & 2 \\ 1 & 2 & 1 \\ 0 & 0 & 3 \\ 0 & 0 & 2\end{matrix} )
must, by definition, be from a three-dimensional domain
to a four-dimensional codomain.
In addition, because the rank of this matrix is two
(we can spot this by eye or get it with Gauss' method), any map represented by this matrix has a two-dimensional rangespace.
Corollary 2.5
Let h be a linear map represented by a matrix H.
Then h is onto if and only if the rank of H equals the number
of its rows,
and h is one-to-one if and only if the rank of H equals the number of its columns.
Proof
For the first half, the dimension of the rangespace of h is the rank of h,
which equals the rank of H by the theorem.
Since the dimension of the codomain of h is the number of rows in H,
if the rank of H equals the number of rows, then the dimension of the
rangespace equals the dimension of the codomain.
But a subspace with the same dimension as its superspace must equal
that superspace
(a basis for the rangespace is a linearly independent subset of the codomain,
whose size is equal to the dimension of the codomain, and so this set is
a basis for the codomain).
For the second half,
a linear map is one-to-one if and only if it is an isomorphism
between its domain and its range, that is, if and only if its domain has the
same dimension as its range.
But the number of columns in H is the dimension of h's domain, and
by the theorem the rank of H equals the dimension of
h's range.
The above results end any confusion caused by our use of the
word "rank" to mean apparently different things when applied to matrices and
when applied to maps.
We can also justify the dual use of "nonsingular".
We've defined a matrix to be nonsingular if it is square and is
the matrix of coefficients of a linear system with a unique solution,
and we've defined a linear map to be nonsingular if it is one-to-one.
Corollary 2.6
A square matrix represents nonsingular maps if and only if it is a nonsingular matrix.
Thus, a matrix represents an isomorphism if and only if it is square and nonsingular.
Proof
Immediate from the prior result.
Example 2.7
Any map from {ℝ}^{2} to {𝒫}_{1} represented
with respect to any pair of bases by
( \begin{matrix}1 & 2 \\ 0 & 3\end{matrix} )
is nonsingular because this matrix has rank two.
Example 2.8
Any map g : V → W represented by
( \begin{matrix}1 & 2 \\ 3 & 6\end{matrix} )
is not nonsingular because this matrix is not nonsingular.
We've now seen that the relationship between maps and
matrices goes both ways: fixing bases, any linear map is represented by a
matrix and any matrix describes a linear map.
That is, by fixing spaces and bases we get
a correspondence between maps and matrices.
In the rest of this chapter we will explore this correspondence.
For instance, we've defined for linear maps the operations of addition
and scalar multiplication and we shall see what the corresponding matrix
operations are.
We shall also see the matrix operation that represent the map operation
of composition.
And, we shall see how to find the matrix that represents a map's inverse.
Exercises
This exercise is recommended for all readers.
Problem 1
Decide if the vector is in the column space of the matrix.
( \begin{matrix}2 & 1 \\ 2 & 5\end{matrix} ),( \begin{matrix}1 \\ − 3\end{matrix} )( \begin{matrix}4 & − 8 \\ 2 & − 4\end{matrix} ),( \begin{matrix}0 \\ 1\end{matrix} )( \begin{matrix}1 & − 1 & 1 \\ 1 & 1 & − 1 \\ − 1 & − 1 & 1\end{matrix} ),( \begin{matrix}2 \\ 0 \\ 0\end{matrix} )
This exercise is recommended for all readers.
Problem 2
Decide if each vector lies in the range of the map from {ℝ}^{3}
to {ℝ}^{2} represented with respect to the standard bases by the matrix.
( \begin{matrix}1 & 1 & 3 \\ 0 & 1 & 4\end{matrix} ),( \begin{matrix}1 \\ 3\end{matrix} )( \begin{matrix}2 & 0 & 3 \\ 4 & 0 & 6\end{matrix} ),( \begin{matrix}1 \\ 1\end{matrix} )
This exercise is recommended for all readers.
Problem 3
Consider this matrix, representing a transformation of {ℝ}^{2},
and these bases for that space.
\frac{1}{2} ⋅ ( \begin{matrix}1 & 1 \\ − 1 & 1\end{matrix} ) \ B = ⟨ ( \begin{matrix}0 \\ 1\end{matrix} ) , ( \begin{matrix}1 \\ 0\end{matrix} ) ⟩ \ D = ⟨ ( \begin{matrix}1 \\ 1\end{matrix} ) , ( \begin{matrix}1 \\ − 1\end{matrix} ) ⟩
- To what vector in the codomain
is the first member of B mapped? - The second member?
- Where is a general vector from the domain (a vector with
components x and y) mapped?
That is, what transformation of {ℝ}^{2} is represented with
respect to B , D by this matrix?
Problem 4
What transformation ofF = \{ a cos θ + b sin θ \ | \ a , b ∈ ℝ \}
is represented with respect toB = ⟨ cos θ − sin θ , sin θ ⟩ andD = ⟨ cos θ + sin θ , cos θ ⟩ by this matrix?
( \begin{matrix}0 & 0 \\ 1 & 0\end{matrix} )
This exercise is recommended for all readers.
Problem 5
Decide if {}1 + 2 x is in the range of the map from {ℝ}^{3} to{𝒫}_{2} represented with respect to {ℰ}_{3} and⟨ 1 , 1 + {x}^{2} , x ⟩ by this matrix.
( \begin{matrix}1 & 3 & 0 \\ 0 & 1 & 0 \\ 1 & 0 & 1\end{matrix} )
Problem 6
Example 2.8 gives a matrix that is
nonsingular, and is therefore associated with maps that are nonsingular.
- Find the set of column vectors representing the members of
the nullspace of any map represented by this matrix. - Find the nullity of any such map.
- Find the set of column vectors representing the members of
the rangespace of any map represented by this matrix.
- Find the rank of any such map.
- Check that rank plus nullity equals the dimension of the
domain.
This exercise is recommended for all readers.
Problem 7
Because
the rank of a matrix equals the rank of any map it represents, if
one matrix represents two different mapsH = {R e p}_{B , D} ( h ) = {R e p}_{\overset{̂}{B} , \overset{̂}{D}} ( \overset{̂}{h} )
(where h , \overset{̂}{h} : V → W)
then the dimension of the rangespace of
h equals the dimension of the rangespace of \overset{̂}{h}.
Must these equal-dimensioned rangespaces actually be the same?
This exercise is recommended for all readers.
Problem 8
Let V be an n-dimensional space with bases B and
D.
Consider a map that sends, for \overset{→}{v} ∈ V,
the column vector representing \overset{→}{v} with
respect to B to the column vector representing \overset{→}{v} with
respect to D.
Show that is a linear transformation of {ℝ}^{n}.
Problem 9
Example 2.2 shows that changing the pair of
bases can change the map that a matrix
represents, even though the domain and codomain remain the same.
Could the map ever not change?
Is there a matrix H, vector spaces V and W, and
associated pairs of bases {B}_{1} , {D}_{1} and {B}_{2} , {D}_{2} (with{B}_{1} ≠ {B}_{2} or {D}_{1} ≠ {D}_{2} or both)
such that the map represented
by H with respect to {B}_{1} , {D}_{1} equals the map represented
by H with respect to {B}_{2} , {D}_{2}?
This exercise is recommended for all readers.
Problem 10
A square matrix is a diagonal matrix if it is all zeroes
except possibly for the entries on its upper-left to lower-right
diagonal— its {}1 , 1 entry, its {}2 , 2 entry, etc.
Show that a linear map is an isomorphism if there are bases such that,
with respect to those bases, the map is represented by a diagonal matrix
with no zeroes on the diagonal.
Problem 11
Describe geometrically the action on {ℝ}^{2} of
the map represented with respect to the standard
bases {ℰ}_{2} , {ℰ}_{2} by this matrix.
( \begin{matrix}3 & 0 \\ 0 & 2\end{matrix} )
Do the same for these.
( \begin{matrix}1 & 0 \\ 0 & 0\end{matrix} ) \ ( \begin{matrix}0 & 1 \\ 1 & 0\end{matrix} ) \ ( \begin{matrix}1 & 3 \\ 0 & 1\end{matrix} )
Problem 12
The fact that for any linear map the rank plus the nullity
equals the dimension of the domain shows that a necessary
condition for the existence of a homomorphism between two spaces, onto
the second space, is that there be no gain in dimension.
That is, where h : V → W is onto, the dimension of W must
be less than or equal to the dimension of V.
- Show that this (strong) converse holds:
no gain in dimension implies that
there is a homomorphism and, further,
any matrix with the correct size and correct rank
represents such a map. - Are there bases for
{ℝ}^{3}such that
this matrix
H = ( \begin{matrix}1 & 0 & 0 \\ 2 & 0 & 0 \\ 0 & 1 & 0\end{matrix} )
represents a map from {ℝ}^{3} to {ℝ}^{3} whose range is
the x y plane subspace of {ℝ}^{3}?
Problem 13
Let V be an n-dimensional space and suppose
that \overset{→}{x} ∈ {ℝ}^{n}.
Fix a basis B for V and consider the map{h}_{\overset{→}{x}} : V → ℝ given\overset{→}{v} ↦ \overset{→}{x} ⋅ {R e p}_{B} ( \overset{→}{v} ) by the dot product.
- Show that this map is linear.
- Show that for any linear map
g : V → ℝthere is
an \overset{→}{x} ∈ {ℝ}^{n} such that g = {h}_{\overset{→}{x}}.
- In the prior item we fixed the basis and varied the
\overset{→}{x}to get all possible linear maps.
Can we get all possible linear maps by fixing an\overset{→}{x}and
varying the basis?
Problem 14
Let V , W , X be vector spaces with bases B , C , D.
- Suppose that
h : V → W
is represented with respect toB , Cby the matrix H.
Give the matrix representing the scalar multipler h(wherer ∈ ℝ) with
respect toB , Cby expressing it in terms of H. - Suppose that
h , g : V → Ware represented with
respect to B , C by H and G.
Give the matrix representing h + g with
respect to B , C by expressing it in terms of H and G.
- Suppose that
h : V → Wis represented
with respect toB , Cby H andg : W → Xis represented with respect toC , Dby G.
Give the matrix representingg ∘ hwith
respect toB , Dby expressing it in terms of H and G.
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.