Combining Transformations: Section 1.3 Transformations of Graphs
Combining Transformations: Section 1.3 Transformations of Graphs
3 Transformations of Graphs
Combining Transformations
Example Problem 1: Start with the function f ( x ) = x , and write the function which
results from the given transformations. Then decide if the results from parts (a) and (b)
are equivalent.
SOLUTION
(a) f ( x ) = x → g ( x) = x + 7 → h ( x) = x − 2 + 7
Up 7 Right 2
(b) f ( x ) = x → g ( x) = x−2 → h ( x) = x − 2 + 7
Right 2 Up 7
(c) Yes, parts (a) and (b) yield the same function.
Example Problem 2: Start with the function f ( x ) = x , and write the function which
results from the given transformations. Then decide if the results from parts (a) and (b)
are equivalent.
SOLUTION
(a) f ( x ) = x → g ( x) = 2 x → h ( x) = 2 x − 5
Stretch vertically Down 5
by a factor of 2
(b) f ( x ) = x → g ( x) = x −5 → h ( x) = 2 ( x −5 )
Down 5 Stretch vertically
by a factor of 2
(c) No, parts (a) and (b) do not yield the same function, since 2 x − 5 ≠ 2 x − 10 .
Both graphs are shown below to emphasize the difference in the final results (but we
can see that the above functions are different without graphing the functions).
y y
x x
2 4 6 8 10 2 4 6 8 10
−2 −2
−4 h ( x) = 2 x − 5 −4
−6 −6
−8 −8
−10 −10
h ( x) = 2 ( )
x − 5 = 2 x − 10
Example Problem 3: Start with the function f ( x ) = x , and write the function which
results from the given transformations. Then decide if the results from parts (a) and (b)
are equivalent.
SOLUTION
(a) f ( x ) = x → g ( x) = −x → h ( x) = −x + 6
Reflect in the y -axis Up 6
(b) f ( x ) = x → g ( x) = x + 6 → h ( x) = −x + 6
Up 6 Reflect in the y -axis
(c) Yes, parts (a) and (b) yield the same function.
Example Problem 4: Start with the function f ( x ) = x , and write the function which
results from the given transformations. Then decide if the results from parts (a) and (b)
are equivalent.
SOLUTION
(a) f ( x ) = x → g ( x) = −x → h ( x ) = − ( x + 2)
Reflect in the y -axis Left 2
Note: In part (a), h ( x ) can also be written as h ( x ) = − x − 2 .
(b) f ( x ) = x → g ( x) = x + 2 → h ( x) = −x + 2
Left 2 Reflect in the y -axis
(c) No, parts (a) and (b) do not yield the same function, since −x − 2 ≠ −x + 2 .
Both graphs are shown below to emphasize the difference in the final results (but we
can see that the above functions are different without graphing the functions).
6 6
4 4
2 2
x x
−8 −6 −4 −2 2 4 −8 −6 −4 −2 2 4
−2 −2
−4 −4
Example Problem 5: Start with the function f ( x ) = x , and write the function which
results from the given transformations. Then decide if the results from parts (a) and (b)
are equivalent.
SOLUTION
(a) f ( x ) = x → g ( x) = − x → h ( x) = − x + 4
Reflect in the x-axis Up 4
(b) f ( x ) = x → g ( x) = x + 4 → h ( x) = − ( x +4 )
Up 4 Reflect in the x-axis
(c) No, parts (a) and (b) do not yield the same function, since − x + 4 ≠ − x − 4 .
Both graphs are shown below to emphasize the difference in the final results (but we
can see that the above functions are different without graphing the functions).
4 4
2 2
x x
−2 2 4 6 8 −2 2 4 6 8
−2 −2
−4 −4
−6 −6
8 8
Example Problem 6: Start with the function f ( x ) = x , and write the function which
results from the given transformations. Then decide if the results from parts (a) and (b)
are equivalent.
(c) Do parts (a) and (b) yield the same function? (You should be able to tell without
graphing.)
SOLUTION
(a) f ( x ) = x → g ( x ) = 3x → h ( x ) = 3( x − 6)
Shrink horizontally Right 6
by a factor of 13
(b) f ( x ) = x → g ( x) = x−6 → h ( x ) = 3x − 6
Right 6 Shrink horizontally
by a factor of 13
(c) No, parts (a) and (b) do not yield the same function, since 3 x − 18 ≠ 3x − 6 .
Both graphs are shown below to emphasize the difference in the final results (but we
can see that the above functions are different without graphing the functions).
6 6
4 4
2 2
x x
−2 2 4 6 8 10 12 14 16 −2 2 4 6 8 10 12 14 16
−2 −2
−4 −4
Looking for a Pattern – When Does the Order of Transformations Matter?
When deciding whether the order of the transformations matters, it helps to think about
whether a transformation affects the graph vertically (i.e. changes the y-values) or
horizontally (i.e. changes the x-values).
A summary of the results from Examples 1 through 6 are below, along with whether or
not each transformation had a vertical or horizontal effect on the graph.
In examples 2, 4, 5 and 6, the order of the transformations did matter. Notice that
example 2 had two vertically-oriented transformations, example 4 had two horizontally-
oriented transformations, example 5 had two vertically-oriented transformations, and
example 6 had two horizontally-oriented transformations.
When you perform two or more transformations that have a vertical effect on the
graph, the order of those transformations may affect the final results. Similarly,
when you perform two or more transformations that have a horizontal effect on the
graph, the order of those transformations may affect the final results. The
vertically-oriented transformations do not affect the horizontally-oriented
transformations, and vice versa.
Let us now return to the function used at the start of this discussion:
SOLUTION:
First, decide on the transformations that need to be performed on f ( x ) = 3 x + 2 − 7
(without consideration of correct order). Make a note of whether each transformation has
a horizontal or vertical effect on the graph.
f ( x) = 3 x + 2 − 7 f ( x) = 3 x + 2− 7 f ( x ) = 3 x + 2 −7
↑ ↑ ↑
Vertical Stretch, factor of 3 Shift left 2 Shift down 7
(Vertical Effect) (Horizontal Effect) (Vertical Effect)
Notice that the shift to the left is the only transformation that has a horizontal effect on
the graph. This transformation can be performed at any point in the graphing process.
We need to be more careful about the order in which we perform the vertical stretch and
the downward shift, since they both have a vertical effect on the graph. Perform the
following transformations algebraically on g ( x ) = x to see which one gives the desired
function, f ( x ) = 3 x + 2 − 7 . (The shift left is written first, but we could put that
transformation at any point in the process and get the same result.)
Choice 1:
Shift left 2 units, then stretch vertically by a factor of 3, then shift downward 7 units:
g ( x) = x → h ( x) = x + 2 → k ( x) = 3 x + 2 → f ( x) = 3 x + 2 − 7
Left 2 Vertical stretch, Down 7
factor of 3
Choice 2:
Shift left 2 units, then shift downward 7 units, then stretch vertically by a factor of 3:
g ( x) = x → h ( x) = x + 2 → k ( x) = x + 2 − 7 → f ( x) = 3 ( x+2 −7 )
Left 2 Down 7
Vertical stretch,
factor of 3
Notice that our final result for Choice 2 can be written as f ( x ) = 3 x + 2 − 21 , which is
not the desired function.
We can see from the analysis above that Choice 1 yields the desired function for Example
Problem 7, which means that in this particular example, the vertical stretch needs to be
performed before the downward shift. Since the left shift can be performed at any point in
the process, any of the following order of transformations would yield the correct graph:
Shift left 2 units, then stretch vertically by a factor of 3, then shift downward 7 units.
Stretch vertically by a factor of 3, then shift left 2 units, then shift downward 7 units.
Stretch vertically by a factor of 3, then shift downward 7 units, then shift left 2 units.
In this course, you would only need to give one of the answers from the above list (not all
three). This explanation is given to help you understand that there can be multiple
solutions for a given problem – and how to determine an acceptable order of
transformations for the given problem.
SOLUTION:
First, decide on the transformations that need to be performed on f ( x ) = − x + 2 − 7
(without consideration of correct order). Make a note of whether each transformation has
a horizontal or vertical effect on the graph.
f ( x) = −x + 2− 7 f ( x) = −x + 2− 7 f ( x ) = − x + 2 −7
↑ ↑
Reflect in the y -axis Shift left 2 Shift down 7
(Horizontal Effect) (Horizontal Effect) (Vertical Effect)
Notice that the downward shift is the only transformation that has a vertical effect on the
graph. This transformation can be performed at any point in the graphing process.
We need to be more careful about the order in which we perform the reflection in the y-
axis and the shift to the left, since they both have a horizontal effect on the graph.
Perform the following transformations algebraically on g ( x ) = x to see which one
gives the desired function, f ( x ) = − x + 2 − 7 . (The downward shift is written first, but
we could put that transformation at any point in the process and get the same result.)
Choice 1:
Downward shift of 7 units, then reflect in the y-axis, then shift left 2 units.
g ( x) = x → h ( x) = x −7 → k ( x) = −x − 7 → f ( x ) = − ( x + 2) − 7
Down 7 Reflect in the Shift left 2 units
y -axis
Notice that our final result for Choice 1 can be written as f ( x ) = − x − 2 − 7 , which is
not the desired function.
Choice 2:
Downward shift of 7 units, then shift left 2 units, then reflect in the y-axis.
g ( x) = x → h ( x) = x −7 → k ( x) = x + 2 − 7 → f ( x) = −x + 2 − 7
Down 7 Shift left 2 units Reflect in the
y -axis
We can see from the analysis above that Choice 2 yields the desired function for Example
Problem 8, which means that in this particular example, the shift to the left needs to be
performed before the reflection in the y-axis. Since the downward shift can be performed
at any point in the process, any of the following order of transformations would yield the
correct graph:
Shift downward 7 units, then shift left 2 units, then reflect in the y-axis.
Shift left 2 units, then shift downward 7 units, then reflect in the y-axis.
Shift left 2 units, then reflect in the y-axis, then shift downward 7 units.
As mentioned in Example Problem 7, you would only need to give one of the answers
from the above list (not all three). This explanation is given to help you understand that
there can be multiple solutions for a given problem – and how to determine an acceptable
order of transformations for the given problem.
Choice 1:
Shift downward 7 units (can be done at any time), reflect in the y-axis, then shift right 2
units:
g ( x ) = x → h ( x ) = x − 7 → k ( x ) = − x − 7 → f ( x ) = − ( x − 2) − 7
Down 7 Reflect in the Shift right 2 units
y -axis
Notice that our final result for Choice 1 can be written as f ( x ) = − x + 2 − 7 , which is
the desired function.
Choice 2:
Shift downward 7 units (can be done at any time), shift right 2 units, then reflect in the y-
axis.
g ( x) = x → h ( x) = x −7 → k ( x) = x − 2 − 7 → f ( x) = −x − 2 − 7
Down 7 Shift right 2 units Reflect in the
y -axis
Notice that Choice 2 does not yield the desired function.
We can see from the alternate analysis above that Choice 1 yields the desired function for
Example Problem 8, which means that in this particular example, the reflection in the y-
axis needs to be performed before the shift to the right. Since the downward shift can be
performed at any point in the process, any of the following order of transformations
would yield the correct graph:
Shift downward 7 units, then reflect in the y-axis, then shift right 2 units.
Reflect in the y-axis, then shift downward 7 units, then shift right 2 units.
Reflect in the y-axis, then shift right 2 units, then shift downward 7 units.
Remember that when we used a shift to the left instead, we obtained the following
solutions as well:
Shift downward 7 units, then shift left 2 units, then reflect in the y-axis.
Shift left 2 units, then shift downward 7 units, then reflect in the y-axis.
Shift left 2 units, then reflect in the y-axis, then shift downward 7 units.
In all of the examples above, we have discussed problems where there were two or three
transformations. What if there are four or more transformations? In that case, look at
the vertically-oriented transformations and decide the order in which they need to be
done. Look at the horizontally-oriented transformations and decide the order in which
they need to be done. Then remember that the vertically-oriented transformations have no
effect on the horizontally-oriented transformations, and vice versa.
SOLUTION:
(a) In order to save time, we have chosen an example that is similar to Example Problems
7 and 8.
*For simplicity, we are choosing to focus on a left shift for this problem, instead of
factoring out a negative under the radical, where f ( x ) = 3 − ( x − 2 ) − 7 , and
focusing on a right shift instead. As seen in Example Problem 8, we would obtain
additional solutions if we considered a right shift as an alternate means of solving this
problem. (The point of these detailed explanations is not for the student to be able to
list all possible orders of transformations, but to be able to determine one order of
transformations for any given problem which would yield a correct graph.)
Let us look first at the vertically-oriented transformations. (Temporarily put aside the
horizontally-oriented transformations, and just look at what is happening ‘outside’ the
radical sign.) As in Example Problem 7, the vertical stretch needs to be performed
before the downward shift.
All the solutions involving a left shift are shown below. You do not need to find all
of the answers below; any one of the solutions below would be acceptable. (Note:
If we looked at all the possibilities involving a right shift, we would add six more
solutions which would yield the same graph.)
Stretch vertically by a factor of 3, then shift downward 7 units, then shift left 2
units, then reflect in the y-axis.
Shift left 2 units, then reflect in the y-axis, then stretch vertically by a factor of 3,
then shift downward 7 units.
Stretch vertically by a factor of 3, then shift left 2 units, then shift downward 7
units, then reflect in the y-axis.
Stretch vertically by a factor of 3, then shift left 2 units, then reflect in the y-axis,
then shift downward 7 units,.
Shift left 2 units, then stretch vertically by a factor of 3, then reflect in the y-axis,
then shift downward 7 units.
Shift left 2 units, then stretch vertically by a factor of 3, then shift downward 7
units, then reflect in the y-axis.
(b) To graph the function, we can choose any one of the solutions shown above (and
obtain the same result). We will perform the transformations in the order listed for
the first solution listed above:
Stretch vertically by a factor of 3, then shift downward 7 units, then shift left 2
units, then reflect in the y-axis. All steps are shown consecutively below.
Step 1: y = x Step 2: y = 3 x
(Stretch vertically by a factor of 3)
y y
8 8
6 6
4 4
2 2
x x
−8 −6 −4 −2 2 4 6 8 10 −8 −6 −4 −2 2 4 6 8 10
−2 −2
−4 −4
−6 −6
−8 −8
10 10
Step 3: y = 3 x − 7 Step 4: y = 3 x + 2 − 7
(Shift downward 7 units) (Shift left 2 units)
y y
8 8
6 6
4 4
2 2
x x
−8 −6 −4 −2 2 4 6 8 10 −8 −6 −4 −2 2 4 6 8 10
−2 −2
−4 −4
−6 −6
−8 −8
10 10
Step 5: y = f ( x ) = 3 − x + 2 − 7
(Reflect in the y-axis)
y
8
6
Step 5 represents
4
the final result.
2
x
−8 −6 −4 −2 2 4 6 8 10
−2
−4
−6
−8
10