Function Transformations- Rules and Examples

What Function Transformations Actually Are

Function transformations let you take a basic graph and move it, flip it, stretch it, or squash it. That's it. Once you understand the handful of moves available, you can graph any transformation without plotting point-by-point.

Every transformation follows a simple rule: change the equation, get a new graph. The tricky part is knowing which change produces which effect. Most students mix up horizontal vs. vertical moves. This guide fixes that.

Horizontal Shifts

Horizontal shifts move the graph left or right. They come from changes inside the function parentheses.

The rule: f(x - h) shifts right by h. f(x + h) shifts left by h.

The sign is backwards from what you'd expect. When you see f(x - 3), the graph moves right 3 units. The minus sign inside means "everything happens later," which pushes the graph to the right.

When you see f(x + 5), the graph moves left 5 units. The plus inside means "everything happens sooner," pulling the graph left.

Example

f(x) = x² becomes g(x) = (x - 2)². The parabola shifts right 2 units. The vertex moves from (0,0) to (2,0).

Vertical Shifts

Vertical shifts move the graph up or down. They come from changes outside the function parentheses.

The rule: f(x) + k shifts up by k. f(x) - k shifts down by k.

This one works intuitively. Add something outside, the graph goes up. Subtract something, it goes down.

Example

f(x) = x² becomes h(x) = x² + 4. The parabola shifts up 4 units. The vertex moves from (0,0) to (0,4).

Reflections

Reflections flip the graph across an axis. You spot them by negative signs.

Think of it this way: the negative is attached to whatever axis controls that direction. Negative outside → flip the y-direction. Negative inside → flip the x-direction.

Example

f(x) = √x reflected across the x-axis gives -f(x) = -√x. The graph, which normally sits in the first quadrant, now hangs below the x-axis.

Stretching and Compressing

These transformations change the graph's size. They come from coefficients multiplied with the function or with x.

Vertical Stretch/Compress

|a| > 1 stretches the graph vertically. Points get farther from the x-axis. 0 < |a| < 1 compresses it. Points get closer to the x-axis.

The coefficient goes outside the function: a·f(x).

Horizontal Stretch/Compress

Horizontal changes work inversely. 0 < |b| < 1 stretches the graph horizontally. |b| > 1 compresses it.

The coefficient goes inside the function: f(bx).

This inverse relationship trips up a lot of people. A coefficient greater than 1 inside the parentheses makes the graph wider, not narrower. Remember: bx compresses x, so you need smaller x-values to get the same output. The graph squishes toward the y-axis.

Combined Transformations

Most functions use multiple transformations at once. The general form is:

y = a·f(b(x - h)) + k

You must apply these in the right order, or you'll get the wrong graph.

The Correct Order

  1. Horizontal shifts (inside the parentheses)
  2. Horizontal stretches/compressions
  3. Reflections across the y-axis
  4. Vertical stretches/compressions
  5. Reflections across the x-axis
  6. Vertical shifts (outside everything)

Or remember it as: horizontal changes first, then vertical changes. Within each group: stretches/compressions before reflections, shifts last.

Transformation Cheat Sheet

Transformation Equation Change Effect on Graph
Shift Right f(x - h) Moves right by h units
Shift Left f(x + h) Moves left by h units
Shift Up f(x) + k Moves up by k units
Shift Down f(x) - k Moves down by k units
Reflect x-axis -f(x) Flips upside-down
Reflect y-axis f(-x) Mirrors left-to-right
Vertical Stretch a·f(x), |a| > 1 Graph gets taller
Vertical Compress a·f(x), 0 < |a| < 1 Graph gets shorter
Horizontal Stretch f(bx), 0 < |b| < 1 Graph gets wider
Horizontal Compress f(bx), |b| > 1 Graph gets narrower

How to Graph a Transformed Function

Here's the step-by-step process that actually works:

Step 1: Identify the Base Function

Start with the parent function. Is it a parabola? Square root? Absolute value? Know what the original looks like before you change it.

Step 2: Pull Out Each Transformation

Write down what you're doing to the function in plain terms. "Shift right 3, stretch vertically by 2, flip over x-axis, move up 1."

Step 3: Find Key Points

Pick 3-5 anchor points on the original graph. The vertex, y-intercept, and x-intercepts usually work best.

Step 4: Apply Transformations to Each Point

Transform each point one operation at a time. Work through your list: shift, stretch, reflect, shift again.

Step 5: Plot and Connect

Mark your transformed points. Connect them using the same shape as the original. Parabolas stay parabolas. Straight lines stay straight.

Example: Graphing y = -2(x + 1)² + 3

Starting with f(x) = x².

Key points on f(x) = x²: (0,0), (1,1), (-1,1)

Transforming:

The vertex starts at (0,0), shifts to (-1, 3). The parabola opens downward with a stretch factor of 2. That's your graph.

Common Mistakes to Avoid

Quick Reference for Common Functions

These are the transformations for basic functions you'll encounter most often:

Once you know the parent graph, the transformations just tell you where to move it and how to stretch it. That's the whole game.