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:

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:

Watch the sign carefully. Inside the parentheses, the sign is opposite of the direction. f(x - 4) goes right 4, not left.

3. Reflections

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

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:

  1. Horizontal stretches/compressions first
  2. Reflections over axes
  3. Horizontal shifts
  4. Vertical shifts

For example, -2f(x - 3) + 1 means:

  1. Shift right 3
  2. Reflect over x-axis
  3. Stretch vertically by factor of 2
  4. 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:

Final answer: g(x) = -3(x - 4)² - 2

Problem 4

Identify all transformations in g(x) = ½|x - 3| + 4

Common Mistakes to Avoid

Quick Test: Identify These Transformations

Try these on your own before checking the answers:

  1. g(x) = f(x + 7) → Shift left 7
  2. g(x) = -f(x) → Reflect over x-axis
  3. g(x) = 4f(x) → Vertical stretch by factor of 4
  4. g(x) = f(2x) → Horizontal compression by factor of 2
  5. 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.