Horizontal Shifts of Functions
What You'll Learn
You'll learn how modifying the input (argument) of a function by adding or subtracting a constant shifts its graph horizontally to the left or right.
The Core Idea
When you replace x with (x - h) inside a function, you shift the entire graph horizontally. Here's the rule that surprises many students:
- Subtracting inside shifts RIGHT:
f(x - 3)moves the graph 3 units to the right - Adding inside shifts LEFT:
f(x + 2)moves the graph 2 units to the left
Yes, it's backwards from what you might expect! Think of it this way: to get the same output value from f(x - 3) that you used to get at x = 0, you now need to plug in x = 3. The function is "waiting" for a larger input, so the graph shifts right.
Why It Works This Way
Consider the point where f(x) = 5 when x = 4.
For g(x) = f(x - 2), we want to find where g(x) = 5. We need the inside expression to equal 4:
x - 2 = 4x = 6
So the same output now happens at x = 6 instead of x = 4—the point moved 2 units right.
Visual Analogy
Imagine a timeline of events. If you say "everything happens 2 hours later than scheduled," events shift to the right on the timeline. That's like f(x - 2).
Example
If the point (1, 9) is on the graph of f(x), then:
- The point
(4, 9)is on the graph off(x - 3)(shifted right 3) - The point
(-1, 9)is on the graph off(x + 2)(shifted left 2)
Key Takeaway: The transformation f(x - h) shifts the graph right by h units; f(x + h) shifts it left by h units—the direction is opposite to the sign inside the parentheses.