Horizontal Stretches and Compressions
What you'll learn: How multiplying the input of a function affects the horizontal scaling of its graph.
The Core Idea
When you multiply the input of a function by a constant, you stretch or compress the graph horizontally. This might seem backwards at first, but here's the key:
- Multiplying the input by a constant greater than 1 causes a horizontal compression (the graph gets narrower)
- Multiplying the input by a constant between 0 and 1 causes a horizontal stretch (the graph gets wider)
If you have a function f(x) and create a new function g(x) = f(bx) where b is positive:
- When
b > 1, the graph compresses horizontally by a factor of1/b - When
0 < b < 1, the graph stretches horizontally by a factor of1/b
Why It Works This Way
Think of it like a movie playing at different speeds. If you have f(2x), you're asking "what would normally happen at x=2?" but now it happens at x=1. Every event occurs sooner, so the graph compresses toward the y-axis.
Conversely, with f(0.5x), events that would happen at x=1 now happen at x=2 — everything is delayed, stretching the graph away from the y-axis.
Example Without Code
If f(x) = x² has a point at (4, 16), then:
f(2x)compresses by factor ½: the point moves to (2, 16)f(0.5x)stretches by factor 2: the point moves to (8, 16)
Notice the y-values stay the same — only horizontal positions change.
Key Takeaway: Multiplying the input by b scales the graph horizontally by factor 1/b — larger b means narrower graphs, smaller b means wider graphs.