<< Chapter < Page | Chapter >> Page > |
Write a formula for the toolkit square root function horizontally stretched by a factor of 3.
$g(x)=f\left(\frac{1}{3}x\right)\text{\hspace{0.17em}}$ so using the square root function we get $\text{\hspace{0.17em}}g(x)=\sqrt{\frac{1}{3}x}$
When combining transformations, it is very important to consider the order of the transformations. For example, vertically shifting by 3 and then vertically stretching by 2 does not create the same graph as vertically stretching by 2 and then vertically shifting by 3, because when we shift first, both the original function and the shift get stretched, while only the original function gets stretched when we stretch first.
When we see an expression such as $\text{\hspace{0.17em}}\text{\hspace{0.17em}}2f(x)+3,\text{\hspace{0.17em}}$ which transformation should we start with? The answer here follows nicely from the order of operations. Given the output value of $\text{\hspace{0.17em}}f(x),\text{\hspace{0.17em}}$ we first multiply by 2, causing the vertical stretch, and then add 3, causing the vertical shift. In other words, multiplication before addition.
Horizontal transformations are a little trickier to think about. When we write $\text{\hspace{0.17em}}g(x)=f(2x+3),\text{\hspace{0.17em}}$ for example, we have to think about how the inputs to the function $\text{\hspace{0.17em}}g\text{\hspace{0.17em}}$ relate to the inputs to the function $\text{\hspace{0.17em}}\text{\hspace{0.17em}}f.\text{\hspace{0.17em}}$ Suppose we know $\text{\hspace{0.17em}}f(7)=12.\text{\hspace{0.17em}}$ What input to $\text{\hspace{0.17em}}g\text{\hspace{0.17em}}$ would produce that output? In other words, what value of $\text{\hspace{0.17em}}x\text{\hspace{0.17em}}$ will allow $\text{\hspace{0.17em}}g(x)=f(2x+3)=12?\text{\hspace{0.17em}}$ We would need $\text{\hspace{0.17em}}2x+3=7.\text{\hspace{0.17em}}$ To solve for $\text{\hspace{0.17em}}x,\text{\hspace{0.17em}}$ we would first subtract 3, resulting in a horizontal shift, and then divide by 2, causing a horizontal compression.
This format ends up being very difficult to work with, because it is usually much easier to horizontally stretch a graph before shifting. We can work around this by factoring inside the function.
Let’s work through an example.
We can factor out a 2.
Now we can more clearly observe a horizontal shift to the left 2 units and a horizontal compression. Factoring in this way allows us to horizontally stretch first and then shift horizontally.
When combining vertical transformations written in the form $\text{\hspace{0.17em}}af(x)+k,\text{\hspace{0.17em}}$ first vertically stretch by $\text{\hspace{0.17em}}a\text{\hspace{0.17em}}$ and then vertically shift by $\text{\hspace{0.17em}}k.$
When combining horizontal transformations written in the form $\text{\hspace{0.17em}}f(bx+h),\text{\hspace{0.17em}}$ first horizontally shift by $\text{\hspace{0.17em}}h\text{\hspace{0.17em}}$ and then horizontally stretch by $\text{\hspace{0.17em}}\frac{1}{b}.$
When combining horizontal transformations written in the form $\text{\hspace{0.17em}}f(b(x+h)),\text{\hspace{0.17em}}$ first horizontally stretch by $\text{\hspace{0.17em}}\frac{1}{b}\text{\hspace{0.17em}}$ and then horizontally shift by $\text{\hspace{0.17em}}h.$
Horizontal and vertical transformations are independent. It does not matter whether horizontal or vertical transformations are performed first.
Given [link] for the function $\text{\hspace{0.17em}}f(x),\text{\hspace{0.17em}}$ create a table of values for the function $\text{\hspace{0.17em}}g(x)=2f(3x)+1.$
$x$ | 6 | 12 | 18 | 24 |
$f(x)$ | 10 | 14 | 15 | 17 |
There are three steps to this transformation, and we will work from the inside out. Starting with the horizontal transformations, $\text{\hspace{0.17em}}f(3x)\text{\hspace{0.17em}}$ is a horizontal compression by $\text{\hspace{0.17em}}\frac{1}{3},\text{\hspace{0.17em}}$ which means we multiply each $\text{\hspace{0.17em}}x\text{-}$ value by $\text{\hspace{0.17em}}\frac{1}{3}.$ See [link] .
$x$ | 2 | 4 | 6 | 8 |
$f(3x)$ | 10 | 14 | 15 | 17 |
Looking now to the vertical transformations, we start with the vertical stretch, which will multiply the output values by 2. We apply this to the previous transformation. See [link] .
$x$ | 2 | 4 | 6 | 8 |
$2f(3x)$ | 20 | 28 | 30 | 34 |
Finally, we can apply the vertical shift, which will add 1 to all the output values. See [link] .
$x$ | 2 | 4 | 6 | 8 |
$g(x)=2f(3x)+1$ | 21 | 29 | 31 | 35 |
Notification Switch
Would you like to follow the 'Algebra and trigonometry' conversation and receive update notifications?