Function Transformation- Graphs, Rules, and Practice Problems
What Function Transformations Actually Are
Function transformations let you take a basic graph and move it, flip it, or stretch it without changing its fundamental shape. You work with parent functions like f(x) = x² or f(x) = |x|, then apply rules to shift, reflect, or resize them.
This is a core skill in algebra and precalculus. Once you understand the patterns, you can look at any transformed equation and instantly picture what the graph looks like.
The Four Basic Types of Transformations
1. Vertical Shifts
Add or subtract a number outside the function:
- f(x) + k shifts the graph up by k units
- f(x) - k shifts the graph down by k units
Example: f(x) + 3 moves everything up 3 units. f(x) - 2 moves everything down 2 units. Simple.
2. Horizontal Shifts
Add or subtract a number inside the function:
- f(x - h) shifts the graph right by h units
- f(x + h) shifts the graph left by h units
Watch the sign carefully. Inside the parentheses, the sign is opposite of the direction. f(x - 4) goes right 4, not left.
3. Reflections
- -f(x) flips the graph over the x-axis (vertical reflection)
- f(-x) flips the graph over the y-axis (horizontal reflection)
Think of it this way: the negative sign is on the outside, it flips vertically. The negative sign is on the inside (on the x), it flips horizontally.
4. Stretches and Compressions
- a · f(x) where |a| > 1: vertical stretch (graph gets taller)
- a · f(x) where 0 < |a| < 1: vertical compression (graph gets shorter)
- f(bx) where |b| > 1: horizontal compression (graph gets narrower)
- f(bx) where 0 < |b| < 1: horizontal stretch (graph gets wider)
The factor a affects the vertical dimension. The factor b affects the horizontal dimension. Larger absolute values compress in that direction.
Transformation Rules Reference Table
| Transformation | Applied To | Effect on Graph |
|---|---|---|
| f(x) + k | Outside function | Shift up k units |
| f(x) - k | Outside function | Shift down k units |
| f(x - h) | Inside function | Shift right h units |
| f(x + h) | Inside function | Shift left h units |
| -f(x) | Outside function | Reflect over x-axis |
| f(-x) | Inside function | Reflect over y-axis |
| a · f(x), |a| > 1 | Outside function | Vertical stretch |
| a · f(x), 0 < |a| < 1 | Outside function | Vertical compression |
| f(bx), |b| > 1 | Inside function | Horizontal compression |
| f(bx), 0 < |b| < 1 | Inside function | Horizontal stretch |
Order Matters: Applying Multiple Transformations
When you have multiple transformations, apply them in this order:
- Horizontal stretches/compressions first
- Reflections over axes
- Horizontal shifts
- Vertical shifts
For example, -2f(x - 3) + 1 means:
- Shift right 3
- Reflect over x-axis
- Stretch vertically by factor of 2
- Shift up 1
How to Graph Transformations
Here's the step-by-step process:
Step 1: Identify the Parent Function
Start with the basic graph. For quadratic equations, that's f(x) = x². For absolute value, that's f(x) = |x|.
Step 2: Find Key Points
Mark the vertex or intercepts on the parent graph. These are your reference points.
Step 3: Apply Each Transformation
Work through your transformations one at a time. Move each key point according to the rules.
Step 4: Sketch the New Graph
Connect your transformed points using the same basic shape as the parent function.
Practice Problems
Problem 1
Describe the transformation from f(x) to g(x) = f(x - 2) + 5
Shift right 2 units, shift up 5 units.
Problem 2
Graph h(x) = -(x + 1)² starting from f(x) = x²
Step 1: f(x + 1) shifts left 1 unit
Step 2: -(x + 1)² reflects over x-axis
Result: An upside-down parabola shifted left 1 unit, with vertex at (-1, 0)
Problem 3
Write the function for a parabola that is stretched vertically by 3, reflected over the x-axis, and shifted right 4 and down 2
Start with f(x) = x²
Apply transformations in order:
- Stretch by 3: 3f(x)
- Reflect over x-axis: -3f(x)
- Shift right 4: -3f(x - 4)
- Shift down 2: -3f(x - 4) - 2
Final answer: g(x) = -3(x - 4)² - 2
Problem 4
Identify all transformations in g(x) = ½|x - 3| + 4
- ½ outside: vertical compression by factor of ½
- (x - 3) inside: shift right 3 units
- +4 outside: shift up 4 units
Common Mistakes to Avoid
- Getting horizontal shift direction wrong: Remember, inside the parentheses, the sign is opposite. f(x - 5) goes right 5.
- Confusing stretch with shift: Stretches change the shape size. Shifts move the entire graph without changing shape.
- Forgetting the order of operations: When combining transformations, apply them in the correct sequence or you'll get the wrong graph.
- Mixing up horizontal and vertical factors: The coefficient outside the function (a) affects vertical dimensions. The coefficient inside (b) affects horizontal dimensions.
Quick Test: Identify These Transformations
Try these on your own before checking the answers:
- g(x) = f(x + 7) → Shift left 7
- g(x) = -f(x) → Reflect over x-axis
- g(x) = 4f(x) → Vertical stretch by factor of 4
- g(x) = f(2x) → Horizontal compression by factor of 2
- g(x) = f(x) - 6 → Shift down 6
If you got those right, you understand the basics. The only way to get better is practice—graph these transformations, compare them to the parent functions, and check your work.