Function Transformations
Function Transformations
Function transformations provide a unified framework for taking a "parent" function and altering its graph to create a new function. By understanding a few basic rules, you can sketch the graph of complex functions without having to plot points from scratch.
The General Transformation Formula
Any function f(x) can be transformed into a new function y using the general formula:
y=af(b(xโh))+k
Each parameterโa, b, h, and kโcontrols a specific change to the graph.
Vertical Changes (Outside the Function)
Changes that occur outside the function notation affect the graph vertically (the y-values).
- a (Vertical Stretch/Compression & Reflection):
- If โฃaโฃ>1, the graph is vertically stretched by a factor of a.
- If 0<โฃaโฃ<1, the graph is vertically compressed by a factor of a.
- If a is negative, the graph is reflected across the x-axis.
- k (Vertical Translation):
- If k>0, the graph shifts up by k units.
- If k<0, the graph shifts down by k units.
Horizontal Changes (Inside the Function)
Changes that occur inside the function notation affect the graph horizontally (the x-values). Note: Horizontal changes generally act opposite to what you might intuitively expect.
- b (Horizontal Stretch/Compression & Reflection):
- If โฃbโฃ>1, the graph is horizontally compressed by a factor of โฃbโฃ1โ.
- If 0<โฃbโฃ<1, the graph is horizontally stretched by a factor of โฃbโฃ1โ.
- If b is negative, the graph is reflected across the y-axis.
- h (Horizontal Translation):
- Notice the formula uses (xโh).
- If you have (xโ3), then h=3, meaning the graph shifts right 3 units.
- If you have (x+3), then h=โ3, meaning the graph shifts left 3 units.
The Order of Transformations
When applying multiple transformations, the order matters. Always follow the order of operations (PEMDAS/BEDMAS). A standard sequence is:
- Horizontal/Vertical Stretches and Compressions
- Reflections (over the x-axis or y-axis)
- Translations (shifts left/right and up/down)
Tip: Always factor out b inside the function before determining your horizontal shift. For example, f(2xโ4) should be rewritten as f(2(xโ2)) to see that the shift is right 2 units, not 4.
Example Problems
Example 1: Describing Transformations
Problem: Describe the transformations from the parent function y=xโ to y=โ2x+3โโ1.
Solution: Let's identify our parameters based on y=af(xโh)+k:
- a=โ2: The negative sign means a reflection over the x-axis. The 2 means a vertical stretch by a factor of 2.
- h=โ3: Because it is (x+3), the graph is shifted left 3 units.
- k=โ1: The graph is shifted down 1 unit.
Example 2: Sketching a Transformed Graph
Problem: Given the graph of f(x), sketch y=f(2x)โ3.
Solution:
- Identify the parameters: b=2 and k=โ3.
- Horizontal Compression: The 2x inside the function means every x-coordinate of the original graph is divided by 2 (a horizontal compression by a factor of 21โ).
- Vertical Shift: The โ3 outside the function means every y-coordinate is decreased by 3 (shifted down 3 units).
- To sketch: Take key points (x,y) from the original graph and apply the mapping (x,y)โ(2xโ,yโ3).