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).