You are about to erase your work on this activity. Are you sure you want to do this?
Updated Version Available
There is an updated version of this activity. If you update to the most recent version of this activity, then your current progress on this activity will be erased. Regardless, your record of completion will remain. How would you like to proceed?
Mathematical Expression Editor
Geometric Transformations of the Plane
In Exploration exp:shapeTransformation we saw how geometric shapes in the plane can be manipulated with
matrix transformations. In this section we will study matrix transformations of
the plane in more detail by applying matrix transformations to pixels in
photos. We will treat every pixel of a picture as a point or a vector in . A
transformation is applied to each pixel, and the output pixel is colored the
same color as the input pixel. The figure below shows the result of one such
transformation.
Not all transformations are matrix transformations. Practice Problem prob:translation_does_not_work offers a
cautionary tale of what happens when we try to find a matrix for a transformation
when such a matrix does not exist. Luckily, many familiar transformations, including
rotations, scalings, reflections, and shears, are matrix transformations. We will focus
our attention on those.
Recall that by Observation obs:imagesOfijk of Matrix Transformations, we can find a matrix for each
transformation by examining what the transformation does to the standard basis
vectors and .
Horizontal and Vertical Scaling
Let us attempt to find a matrix for the transformation that stretches an image
vertically by a factor of 2, as shown in the figure below.
Consider what this transformation does to the standard unit vectors. We observe
that and .
This allows us to construct a candidate for the transformation matrix , by making
the images of and the columns of . Thus,
We can now check to see what this matrix does to an arbitrary point . Treating this
point as a vector , we compute
Thus, this transformation takes point to point . So, the proposed transformation
doubles all -coordinates resulting in a vertical stretch by a factor of 2.
In general, a vertical stretch (or compression) leaves unchanged, and scales the
vector while preserving its vertical direction. Thus, a vertical stretch (or
compression) maps to , and maps to for some positive number . Similarly, a
horizontal stretch (or compression) maps to , and maps to .
Horizontal and Vertical Scaling
A matrix transformation induced by
where (), scales objects in the plane vertically by a factor of .
A matrix transformation induced by
where (), scales objects in the plane horizontally by a factor of .
In stating the above formula we stipulated that . If we were to allow to be
zero, what would the resulting transformations accomplish? In what way
would the resulting matrices be fundamentally different from matrices and ?
What would happen if were allowed to be negative? (See Practice Problem
prob:k0)
Horizontal and Vertical Shears
A horizontal shear is a transformation that takes an arbitrary point and maps it to
the point . The effect of this transformation is that all points along a fixed horizontal
line slide to the left or to the right by a fixed amount. Note that the higher the point
is above the -axis, the greater is the magnitude of , resulting in a greater amount of
horizontal slide.
Adding a scalar multiple of the component to the component can be accomplished
by matrix multiplication. Observe that
A vertical shear is a transformation that takes an arbitrary point and maps it to the
point . This too, can be accomplished by matrix multiplication.
Horizontal and Vertical Shears
A matrix transformation induced by
shears the plane horizontally.
A matrix transformation induced by
shears the plane vertically.
Find the matrix of a matrix transformation that shears the image of a seagull, as
shown in the figure below.
Consider what this transformation does to the standard unit vectors.
The tip of the vector slides up a vertical line and its -component remains the same.
Vector stays fixed. We observe that and . This allows us to construct , by making
the images of and the columns of . Thus,
Rotations about the Origin
It turns out that rotations about the origin are also matrix transformations. You will
have an opportunity to revisit and prove this claim in Problem prob:linOfRotRef of Additional
Exercises.
Let be a transformation that rotates countercolockwise about the origin by . Find a
matrix that induces .
Consider the action of on the standard unit vectors.
We observe that and . This allows us to construct the matrix , by making the images
of and the columns of . Thus,
In general, we find the rotation matrix by determining the images of vectors and
.
Counterclockwise Rotation A matrix transformation induced by
rotates the plane counterclockwise through angle about the origin.
Reflections about Lines of the Form
When a point is reflected about a line, its image is located on the opposite side of the
line and the same distance away from the line as the original point. This is another
example of a matrix transformation. (We will prove that this is a matrix
transformation in Problem prob:linOfRotRef of Additional Exercises.)
For example, the figure below shows the reflection of point about line . Note that the
reflection lies on a line through perpendicular to .
Our task is to find the matrix of a reflection of the plane about an arbitrary line
through the origin.
In this problem we will find the matrix for the reflection about the and axes.
You can easily do this on your own by finding the images of vectors and
.
We will start with the reflection about the -axis.
So, the matrix that induces the reflection about the -axis is
Next, we will consider the reflection about the -axis.
Thus, the matrix that induces the reflection about the -axis is
Now we will turn our attention to transformations that reflect the plane about the
line . We will assume that .
Consider the vector and its reflection.
Observe that the head of the image vector, , will lie on the line that passes
through and is perpendicular to the line . The equation of this line is given
by
The head of will also lie on the circle with equation
To find the image of we need to determine where the line intersects the circle.
Substitution gives us
After a little algebra we get
The quadratic formula yields
The solution corresponds to the head of the vector . So, the -component of is . We
find the -component of by substituting into Equation eq:reflectionline.
Thus, the image of under this reflection is given by
Next we need to find the image of . The head of is located at one of the intersections
of line and the circle .
Find matrix that reflects the image of the duck about the line .
Note that the eye of the duck in Example ex:reflectedduck is located on the line . The reflection
leaves the eye fixed in place. The eye is an example of a fixed point. In Practice
Problem prob:fixedpoint you will be asked to show that every point along the line is a fixed
point.
Composition of Linear Transformations
If a matrix transformation is followed by another matrix transformation, the
resulting transformation can be represented as a product of the two matrices that
induce the individual transformations. Thus, if is induced by and is induced by ,
then is induced by .
Remember that matrix multiplication is not commutative, so the order in which the
matrices are multiplied is of utmost importance.
Consider the following example which incorporates a reflection as well as a rotation
of vectors.
(a)
Find the matrix of the linear transformation which is obtained by first
rotating all vectors counterclockwise by an angle of and then reflecting
across the -axis.
(b)
Multiply the vector by the matrix you found in part (a) to illustrate how
the transformation works.
(a)
Using Formula form:rotation, the matrix of the transformation which involves rotating
through an angle of is
As we learned in Exploration init:reflectionxyaxes, the matrix for the transformation which reflects
all vectors about the -axis is .
Therefore, the matrix of the linear transformation which first rotates through
and then reflects through the -axis is given by
(b)
From unit circle trigonometry, we know that makes a angle with the -axis. If
we rotate counterclockwise by , it will point straight up.
Following the rotation with reflection across the -axis will make it point straight
down. Sure enough,
You can use the GeoGebra interactive below to decompose a matrix into a product
of two matrices corresponding to the basic transformations we discussed above:
scalings, rotations, shears and reflections.
Consider the matrix . This matrix induces a transformation that can be
broken into two parts: (1) a reflection followed by (2) a shear. Find matrices
and that induce the reflection and the shear respectively. Verify that the
product of the two matrices is equal to (be careful about the order of the
product!).
Let . Use the GeoGebra interactive above to visually examine the transformation
induced by . The composition of which transformations is equivalent to the
transformation induced by ?
Rotation by 180 degrees.Reflection about the -axis,
followed by a reflection about the -axis.Reflection about the -axis, followed by a
reflection about the -axis.All of the above.
Let . Use the GeoGebra interactive above to visually examine the transformation
induced by . The composition of which transformations is equivalent to the
transformation induced by ?
Reflection about the -axis, followed by a reflection
about the line .Reflection about the -axis, followed by a reflection about the -axis.All of the above.None of the above.
In this problem we will consider compositions of two reflections and use geometry to
illustrate non-commutativity of matrix multiplication. Let
be a reflection about the line . Let
be a reflection about the line . We will denote the standard matrices for these
transformations by and , and use geometry to demonstrate that .
To do this, consider transformations and . Transformation is induced by , and is
induced by .
The figure on the left illustrates the action of on a single point . First, is reflected
about the line , then is reflected about the line .
The figure on the right shows the action of on the same point . The point is first
reflected about the line , followed by a reflection about the line . The final images of
point under and are clearly different.
Since , we conclude that .
Some pairs of matrices do commute. For example, geometry makes it is easy to see
that two rotation matrices commute.
If we were to allow to be zero, what would the resulting transformations
accomplish?
(b)
If , in what way would the resulting matrices be fundamentally different
from matrices and ?
(c)
Do and have inverses? What about and ?
(d)
What would happen if we allowed to be negative?
Find a matrix that would double the length of a photo horizontally, and triple the
height of the photo.
(Sheared Sheep) Find a matrix that induces the transformation shown in the
figure.
Suppose a 1 by 1 photo of a chipmunk was shifted as shown in the figure.
Suppose we tried to construct a standard matrix for this transformation by making
the images of and the columns of . We would obtain
Does this matrix describe the transformation? If so, prove it. If not, explain why
not.
A transformation that shifts all points in the plane horizontally or vertically by a
fixed amount is called a translation. Is a matrix transformation? Prove your claim.
A reflection about the line followed by another reflection about the same line,
returns all points to their original position. Prove this using matrix multiplication.
Prove that every point along the line in Example ex:reflectedduck is a fixed point.
The figure below shows a sequence of two matrix transformations that accomplishes
a reflection about the line . The first transformation is a reflection of the plane
about the -axis. The second transformation is a rotation of the plane about
the origin. Find matrices that induce the two transformations and verify
that their product (in the correct order) is the reflection matrix of Example
ex:reflectedduck.