Apply transformations including horizontal and vertical shifts, stretches, and reflections to a function. Express the result of these transformations graphically and algebraically.
Subsection2.4.1Activities
Remark2.4.1.
Informally, a transformation of a given function is an algebraic process by which we change the function to a related function that has the same fundamental shape, but may be shifted, reflected, and/or stretched in a systematic way.
Activity2.4.2.
Consider the following two graphs.
(a)
How is the graph of \(f(x)+1\) related to that of \(f(x)\text{?}\)
Shifted up \(1\) unit
Shifted left \(1\) unit
Shifted down \(1\) unit
Shifted right \(1\) unit
Answer.
A
Activity2.4.3.
Consider the following two graphs.
(a)
How is the graph of \(f(x)-2\) related to that of \(f(x)\text{?}\)
Shifted up \(2\) units
Shifted left \(2\) units
Shifted down \(2\) units
Shifted right \(2\) units
Answer.
C
Remark2.4.4.
Notice that in Activity 2.4.2 and Activity 2.4.3, the \(y\)-values of the transformed graph are changed while the \(x\)-values remain the same.
Definition2.4.5.
Given a function \(f(x)\) and a constant \(c\text{,}\) the transformed function \(g(x)=f(x)+c\) is a vertical translation of the graph of \(f(x)\text{.}\) That is, all the outputs change by \(c\) units. If \(c\) is positive, the graph will shift up. If \(c\) is negative, the graph will shift down.
Activity2.4.6.
Consider the following two graphs.
(a)
How is the graph of \(f(x+1)\) related to that of \(f(x)\text{?}\)
Shifted up by 1 unit
Shifted left 1 unit
Shifted down 1 unit
Shifted right 1 unit
Answer.
B
Activity2.4.7.
Consider the following two graphs.
(a)
How is the graph of \(f(x-3)\) related to that of \(f(x)\text{?}\)
Shifted up by 3 units
Shifted left 3 units
Shifted down 3 units
Shifted right 3 units
Answer.
D
Remark2.4.8.
Notice that in Activity 2.4.6 and Activity 2.4.7, the \(x\)-values of the transformed graph are changed while the \(y\)-values remain the same.
Definition2.4.9.
Given a function \(f(x)\) and a constant \(c\text{,}\) the transformed function \(g(x)=f(x+c)\) is a horizontal translation of the graph of \(f(x)\text{.}\) If \(c\) is positive, the graph will shift left. If \(c\) is negative, the graph will shift right.
Activity2.4.10.
Describe how the graph of the function is a transformation of the graph of the original function \(f\text{.}\)
(a)
\(f(x-4)+1\)
Shifted down \(4\) units
Shifted left \(4\) units
Shifted down \(1\) unit
Shifted right \(4\) units
Shifted up \(1\) unit
Answer.
D and E
(b)
\(f(x+3)-2\)
Shifted down \(2\) units
Shifted left \(3\) units
Shifted up \(3\) unit
Shifted right \(3\) units
Shifted up \(2\) unit
Answer.
A and B
Activity2.4.11.
Consider the following two graphs.
(a)
How is the graph of \(-f(x)\) related to that of \(f(x)\text{?}\)
Shifted down \(2\) units
Reflected over the \(x\)-axis
Reflected over the \(y\)-axis
Shifted right \(2\) units
Answer.
B
Activity2.4.12.
Consider the following two graphs.
(a)
How is the graph of \(f(-x)\) related to that of \(f(x)\text{?}\)
Shifted down \(2\) units
Reflected over the \(x\)-axis
Reflected over the \(y\)-axis
Shifted left \(2\) units
Answer.
C
Remark2.4.13.
Notice that in Activity 2.4.11, the \(y\)-values of the transformed graph are changed while the \(x\)-values remain the same. While in Activity 2.4.12, the \(x\)-values of the transformed graph are changed while the \(y\)-values remain the same.
Definition2.4.14.
Given a function \(f(x)\text{,}\) the transformed function \(g(x)=-f(x)\) is a vertical reflection of the graph of \(f(x)\text{.}\) That is, all the outputs are multiplied by \(-1\text{.}\) The new graph is a reflection of the old graph about the \(x\)-axis.
Definition2.4.15.
Given a function \(f(x)\text{,}\) the transformed function \(y=g(x)=f(-x)\) is a horizontal reflection of the graph of \(f(x)\text{.}\) That is, all the inputs are multiplied by \(-1\text{.}\) The new graph is a reflection of the old graph about the \(y\)-axis.
Activity2.4.16.
Consider the following graph of the function \(f(x)\text{.}\)
(a)
How is the graph of \(-f(x+2)+3\) related to that of \(f(x)\text{?}\)
Shifted up \(2\) units
Shifted up \(3\) units
Reflected over the \(x\)-axis
Reflected over the \(y\)-axis
Shifted left \(3\) units
Shifted left \(2\) units
Answer.
B, C and F
(b)
Which of the following represents the graph of the transformed function \(g(x)=-f(x+2)+3\text{?}\)
Answer.
A
Remark2.4.17.
Notice that in Activity 2.4.16 the resulting graph is different if you perform the reflection first and then the vertical shift, versus the other order. When combining transformations, it is very important to consider the order of the transformations. Be sure to follow the order of operations.
Activity2.4.18.
Consider the following two graphs.
(a)
How is the graph of \(g(x)\) related to that of \(f(x)\text{?}\)
Shifted up \(3\) units
Shifted up \(1\) unit
Reflected over the \(x\)-axis
Reflected over the \(y\)-axis
Shifted left \(1\) unit
Shifted right \(4\) units
Answer.
A and D
(b)
List the order the transformations must be applied.
Answer.
Reflect over the \(y\)-axis and then shift up \(4\) units.
(c)
Write an equation for the graphed function \(g(x)\) using transformations of the graph \(f(x)\text{.}\)
\(\displaystyle g(x)=-f(x)+3\)
\(\displaystyle g(x)=f(-x)+3 \)
\(\displaystyle g(x)=f(-x+3) \)
\(\displaystyle g(x)=-f(x+3) \)
Answer.
B
Activity2.4.19.
Consider the following two graphs.
(a)
Consider the \(y\)-value of the two graphs at \(x=1\text{.}\) How do they compare?
The \(y\)-value of \(2f(x)\) is twice that of \(f(x)\text{.}\)
The \(y\)-value of \(2f(x)\) is half that of \(f(x)\text{.}\)
The \(y\)-value of \(2f(x)\) and \(f(x)\) are the same.
The \(y\)-value of \(2f(x)\) is negative that of \(f(x)\text{.}\)
Answer.
A
(b)
How is the graph of \(2f(x)\) related to that of \(f(x)\text{?}\)
Vertically stretched by a factor of \(2\)
Vertically compressed by a factor of \(2\)
Horizontally stretched by a factor of \(2\)
Horizontally compressed by a factor of \(2\)
Answer.
A
Activity2.4.20.
Consider the following two graphs.
(a)
Consider an \(x\)-value of the two graphs where \(y=1\text{.}\) How do they compare?
The \(x\)-value of \(f(2x)\) is twice that of \(f(x)\text{.}\)
The \(x\)-value of \(f(2x)\) is half that of \(f(x)\text{.}\)
The \(x\)-value of \(f(2x)\) and \(f(x)\) are the same.
The \(x\)-value of \(f(2x)\) is negative that of \(f(x)\text{.}\)
Answer.
B
(b)
How is the graph of \(f(2x)\) related to that of \(f(x)\text{?}\)
Vertically stretched by a factor of \(2\)
Vertically compressed by a factor of \(2\)
Horizontally stretched by a factor of \(2\)
Horizontally compressed by a factor of \(2\)
Answer.
D
Remark2.4.21.
Notice that in Activity 2.4.19 the \(y\)-values are doubled while the \(x\)-values remain the same. While, in Activity 2.4.20 the \(x\)-values are cut in half while the \(y\)-values remain the same.
Definition2.4.22.
Given a function \(f(x)\text{,}\) the transformed function \(g(x)=af(x)\) is a vertical stretch or vertical compression of the graph of \(f(x)\text{.}\) That is, all the outputs are multiplied by \(a\text{.}\) If \(a \gt 1\text{,}\) the new graph is a vertical stretch of the old graph away from the \(x\)-axis. If \(0 \lt a \lt 1\text{,}\) the new graph is a vertical compression of the old graph towards the \(x\)-axis. Points on the \(x\)-axis are unchanged.
Definition2.4.23.
Given a function \(f(x)\text{,}\) the transformed function \(g(x)=f(ax)\) is a horizontal stretch or horizontal compression of the graph of \(f(x)\text{.}\) That is, all the inputs are divided by \(a\text{.}\) If \(a \gt 1\text{,}\) the new graph is a horizontal compression of the old graph toward the \(y\)-axis. If \(0 \lt a \lt 1\text{,}\) the new graph is a horizontal stretch of the old graph away from the \(y\)-axis. Points on the \(y\)-axis are unchanged.
Remark2.4.24.
We often use a set of basic functions with which to begin transformations. We call these parent functions.
Activity2.4.25.
Consider the function \(g(x)=3\sqrt{-x}+2\)
(a)
Identify the parent function \(f(x)\text{.}\)
\(\displaystyle f(x)=x^{2}\)
\(\displaystyle f(x)=\lvert x \rvert\)
\(\displaystyle f(x)=\sqrt{x}\)
\(\displaystyle f(x)=x\)
Answer.
C
(b)
Graph the parent function \(f(x)\text{.}\)
Answer.
(c)
How is the graph of \(g(x)\) related to that of the parent function\(f(x)\text{?}\)
Reflected over the \(x\)-axis
Reflected over the \(y\)-axis
Shifted down \(2\) units
Shifted up \(2\) units
Vertically stretched by a factor of \(3\)
Horizontally compressed by a factor of \(3\)
Answer.
B, D, and E
(d)
Graph the transformed function \(g(x)\text{.}\)
Answer.
Activity2.4.26.
Consider the following graph of the function \(g(x)\text{.}\)
(a)
Identify the parent function.
\(\displaystyle f(x)=x^{2}\)
\(\displaystyle f(x)=\lvert x \rvert\)
\(\displaystyle f(x)=\sqrt{x}\)
\(\displaystyle f(x)=x\)
Answer.
A
(b)
How is the graph of \(g(x)\) related to that of the parent function\(f(x)\text{?}\)
Reflected over the \(x\)-axis
Reflected over the \(y\)-axis
Shifted down \(3\) units
Shifted up \(3\) units
Shifted left \(2\) units
Shifted right \(2\) units
Answer.
A, B, and D
(c)
Write an equation to represent the transformed function \(g(x)\text{.}\)