Suppose the graph of \(g(x)\) is the same as \(f(x)\text{,}\) but shifted up by 2 and stretched horizontally by 7. Write the formula for \(g(x)\) in terms of \(f(x)\text{.}\)
When the question asks for the equation "in terms of" \(f(x)\text{,}\) that means that you are just applying it to the function notation. There should still be the letter \(f\) in your answer, and there is no explicit formula for \(f(x)\) that you need to worry about.
So, the key to this problem is to figure out how each transformation changes the function notation:
-
Shifting up by 2:
-
Up is vertical, so this is applied to the outside.
-
Shifts are adding/subtracting.
-
We will add 2 to the outside of the function.
-
-
Stretching horizontally by 7:
-
Horizontally is applied to the inside.
-
Stretch is a scale, so we are multiplying or dividing.
-
Remember: horizontal transformations are backwards! So, we will divide the inputs by 7.
-
We put this all together to get the final answer: \(g(x)=f\left(\frac{x}{7}\right)+2\text{,}\) which can also be written as \(g(x)=f\left(\frac{1}{7}x\right)+2\text{.}\)