Graph Transformations- How to Shift a Graph Left and Right

Graph Transformations: The Short Version

Graph transformations let you move, stretch, and flip graphs without redrawing them from scratch. If you're trying to shift a graph left or right, there's one rule that trips everyone up: the sign inside the parentheses does the opposite.

That's it. Remember that, and you're halfway there.

Why Horizontal Shifts Work Backwards

Here's what confuses people. You want to move a graph to the right, so you subtract inside the parentheses. You want to move it left, so you add. It feels wrong because it is backwards from what you'd expect.

When you see f(x - 3), the graph shifts 3 units right. When you see f(x + 2), the graph shifts 2 units left.

Think of it this way: the transformation happens opposite to the sign. You're replacing x with (x - 3), which means every point that was at x = 0 now needs x - 3 = 0 to trigger. Solve that: x = 3. The whole graph moved right to x = 3.

The Rule in Plain English

The variable inside the parentheses controls horizontal movement. A minus sign moves the graph right. A plus sign moves it left. Don't ask why—just memorize it and move on.

Horizontal vs Vertical Shifts

Vertical shifts are simpler. They work exactly like you'd expect.

Horizontal shifts live inside the parentheses. Vertical shifts live outside. That's the distinction that matters.

Examples That Actually Make Sense

Example 1: Simple Right Shift

Start with f(x) = x² (a basic parabola with vertex at the origin).

Apply the transformation g(x) = f(x - 4)

The graph shifts 4 units right. The vertex moves from (0, 0) to (4, 0).

Example 2: Simple Left Shift

Start with f(x) = √x (a curve starting at the origin).

Apply the transformation g(x) = f(x + 3)

The graph shifts 3 units left. The starting point moves from (0, 0) to (-3, 0).

Example 3: Combining with Other Transformations

Most real problems stack multiple transformations together. Take h(x) = f(x - 2) + 5 where f(x) is your original function.

First, the inside parentheses tell you to shift 2 units right. Then, the +5 outside tells you to shift 5 units up. Do these in order—horizontal first, then vertical.

Quick Reference Table

Transformation What It Does Example
f(x - h) Shift h units RIGHT f(x - 3) moves right 3
f(x + h) Shift h units LEFT f(x + 2) moves left 2
f(x) - k Shift k units DOWN f(x) - 4 moves down 4
f(x) + k Shift k units UP f(x) + 1 moves up 1

Common Mistakes That'll Cost You Points

Confusing horizontal and vertical shifts. Remember: horizontal is inside parentheses, vertical is outside. Mix these up and you'll get every problem wrong.

Forgetting the sign flip. Students write "f(x + 2) shifts right" when it actually shifts left. The minus sign inside the parentheses shifts right. The plus sign shifts left. No exceptions.

Ignoring the magnitude. In f(x - 5), the shift is 5 units—not 5 in some abstract sense. The number tells you exactly how far to move.

Trying to combine steps mentally. Write it out. Identify the horizontal shift first, then the vertical shift. Trying to do both at once is where errors happen.

Getting Started: How to Shift Any Graph

Step 1: Identify the original function. This is your baseline.

Step 2: Look inside the parentheses for x. Whatever's added or subtracted there controls horizontal movement.

Step 3: Apply the sign flip rule. Minus inside = shift right. Plus inside = shift left.

Step 4: Look outside the function for additions or subtractions. These control vertical movement and work the normal way.

Step 5: Apply the shifts in order. Horizontal first, then vertical. This keeps things consistent.

Step 6: Pick a few key points from the original graph and move them according to your calculated shifts. Sketch from there.

What About Stretching and Reflecting?

Horizontal shifts are just one piece. You can also:

These combine with shifts. A function like -2f(3x - 6) + 4 involves a horizontal shift right 2, a horizontal compression by factor 3, a vertical stretch by factor 2, a reflection over the x-axis, and a vertical shift up 4. One transformation at a time.

The Bottom Line

Horizontal shifts come down to one counterintuitive rule: the sign inside the parentheses does the opposite of what you'd guess. Minus means right. Plus means left. Everything else follows from that.

Practice with basic functions—parabolas, square roots, absolute value—before mixing in stretches and reflections. Master the shifts first. The rest builds on this.