Section 7 Matrix Transformations
Focus Questions
By the end of this section, you should be able to give precise and thorough answers to the questions listed below. You may want to keep these questions in mind to focus your thoughts as you complete the section.
What is a matrix transformation?
What properties do matrix transformations have? (In particular, what properties make matrix transformations linear?)
What is the domain of a matrix transformation defined by an
matrix? Why?What are the range and codomain of a matrix transformation defined by an
matrix? Why?What does it mean for a matrix transformation to be one-to-one? If
is a matrix transformation represented as what are the conditions on that make a one-to-one transformation?What does it mean for a matrix transformation to be onto? If
is a matrix transformation represented as what are the conditions on that make an onto transformation?
Subsection Application: Computer Graphics
As we will discuss, left multiplication by anSubsection Introduction
In this section we will consider special functions which take vectors as inputs and produce vectors as outputs. We will use matrix multiplication to produce the output vectors. IfDefinition 7.2.
A matrix transformation is a function
for some
Preview Activity 7.1.
We now consider other transformations from
(a)
Suppose a transformation
(i)
Find
Plot all input vectors and their images on the same axes in
(b)
The transformation in the introduction performs a reflection across the
(c)
Suppose a transformation
where
(i)
Find
(ii)
Plot all input vectors and their images on the same axes in
(iii)
Is there an input vector which produces
(iv)
Find all input vectors that produce the output vector
Subsection Properties of Matrix Transformations
A matrix transformation is a function. When dealing with functions in previous mathematics courses we have used the terms domain and range with our functions. Recall that the domain of a function is the set of all allowable inputs into the function and the range of a function is the set of all outputs of the function. We do the same with transformations. IfDefinition 7.4.
The range of a matrix transformation
and
Activity 7.2.
Let
(a)
Exactly which vector is
(b)
If
Subsection Onto and One-to-One Transformations
The problems we have been asking about solutions to systems of linear equations can be rephrased in terms of matrix transformations. The question about whether a systemActivity 7.3.
Let
(a)
Find
(b)
What are the domain and codomain of
(c)
Can you find a vector
(d)
Which
(e)
The previous question can be rephrased as a matrix equation question. We are asking whether
Definition 7.5.
A matrix transformation
Activity 7.4.
Let
(a)
Find
(b)
What are the domain and codomain of
(c)
Find
Set up an equation to solve for such
(d)
Assume more generally that for some vector
Definition 7.6.
A matrix transformation
Theorem 7.7.
Let
The matrix equation
has a solution for every vector inEvery vector
in can be written as a linear combination of the columns ofThe span of the columns of
isThe matrix
has a pivot position in each row.The matrix transformation
from to defined by is onto.
Theorem 7.8.
Let
The matrix equation
has a unique solution for every vector in the span of the columns ofThe matrix equation
has the unique solutionThe columns of
are linearly independent.The matrix
has a pivot position in each column.The matrix transformation
from to defined by is one-to-one.
Subsection Examples
What follows are worked examples that use the concepts from this section.Example 7.9.
Let
(a)
Identify the domain of
Solution.
Since
(b)
Is
Solution.
Technology shows that the reduced row echelon form of
Since
(c)
Is
Solution.
Since the reduced row echelon form of
Example 7.10.
A matrix transformation
is a contraction in the
(a)
Find a matrix
Solution.
Since
the matrix
(b)
Sketch the square
Solution.
We can determine the image of
Since
Subsection Summary
In this section we determined how to represent any matrix transformation fromA matrix transformation is a function
defined by for some matrix-
A matrix transformation
from to satisfiesfor any scalars
and and any vectors and in The fact that preserves linear combinations is why we say that is a linear transformation. -
An
matrix defines the matrix transformation viaThe domain of this transformation is
because the matrix-vector product is only defined if is an vector. If
is an matrix, then the codomain of the matrix transformation defined by is This is because the matrix-vector product with an vector is an vector. The range of is the subset of the codomain of consisting of all vectors of the form for vectors in the domain ofA matrix transformation
from to is one-to-one if each in is the image of at most one in If is a matrix transformation represented as then is one-to-one if each column of is a pivot column, or if the columns of are linearly independent.A matrix transformation
from to is onto if each in is the image of at least one in If is a matrix transformation represented as then is onto if each row of contains a pivot position, or if the span of the columns of is all of
Exercises Exercises
1.
Given matrix
2.
Suppose the transformation
Determine if
3.
Suppose
Find
4.
Given a matrix transformation defined as
determine the matrix
5.
Suppose a matrix transformation
Use the matrix transformation properties to determine
6.
For each of the following matrices, determine if the transformation
(a)
(b)
(c)
(d)
7.
Come up with an example of a one-to-one transformation from
8.
Come up with an example of an onto transformation from
9.
Come up with an example of a one-to-one but not onto transformation from
10.
Two students are talking about when a matrix transformation is one-to-one.
Student 1: If we have a matrix transformation, then we need to check thathas a unique solution for every for which has a solution, right?
Student 2: Well, that's the definition. Eachin the codomain has to be the image of at most one in the domain. So when is in the range, corresponding to having a solution, then there is exactly one solution
Student 1: But wouldn't it be enough to check thathas a unique solution? Doesn't that translate to the other vectors? If there is a unique solution for one then there can't be infinitely many solutions for another
Student 2: I don't know. It feels to me as if changing the right hand side could change whether there is a unique solution, or infinitely many solutions, or no solution.Which part of the above conversation do you agree with? Which parts need fixing?
11.
Show that if
12.
Label each of the following statements as True or False. Provide justification for your response.
(a) True/False.
The range of a transformation is the same as the codomain of the transformation.
(b) True/False.
The codomain of a transformation
(c) True/False.
A one-to-one transformation is a transformation where each input has a unique output.
(d) True/False.
A one-to-one transformation is a transformation where each output can only come from a unique input.
(e) True/False.
If a matrix transformation from
(f) True/False.
A matrix transformation from
(g) True/False.
A matrix transformation from
(h) True/False.
A matrix transformation from
(i) True/False.
If the columns of a matrix
(j) True/False.
If the columns of a matrix
(k) True/False.
If
(l) True/False.
If
(m) True/False.
If
(n) True/False.
If
(o) True/False.
If the transformations
(p) True/False.
If the transformations
Subsection Project: The Geometry of Matrix Transformations
In this section we will consider certain types of matrix transformations and analyze their geometry. Much more would be needed for real computer graphics, but the essential ideas are contained in our examples. A GeoGebra applet is available atgeogebra.org/m/rh4bzxee
for you to use to visualize the transformations in this project.
Project Activity 7.5.
We begin with transformations that produce the rotated dancing image in Figure 7.1. Let
These matrices are the rotation matrices.
(a)
Suppose
(i)
Find the images of
(ii)
Plot the points determined by the vectors from part i. The matrix transformation
(b)
Now let
Follow the steps indicated to show that
(i)
Use the angle sum trigonometric identities
to show that
(ii)
Now explain why the counterclockwise rotation around the origin by an angle
Project Activity 7.6. Different matrix transformations.
(a)
Let
Determine the entries of the output vector
(b)
Let
Determine the entries of the output vector