Horizontal stretch & compression
The rule. The rule g(x) = f(b·x) multiplies the input by b, which stretches or squashes the graph in the sideways direction — and it works backwards. When b is bigger than 1, the graph is squeezed horizontally to 1/b of its width, because the input reaches each value b times faster. When b is between 0 and 1, the graph stretches wider. Because the multiplier is inside the function, it always scales the graph horizontally and in the opposite way from what you might expect.
How to approach it
Start here. Check that the multiplier is inside the function, so it scales the input.
Plan
- If b is bigger than 1, compress the graph horizontally by a factor of 1/b.
- If b is between 0 and 1, stretch the graph horizontally.
- The sideways scaling works backwards from the size of b.
Work it. Scale each x-coordinate by 1/b.
Check yourself. Is the scaling horizontal, and does b bigger than 1 give a compression rather than a stretch?
Worked examples
Worked example 1
The point (6, 4) lies on y = f(x). Find the corresponding point on g(x) = f(3x).
The point (6, 4) on f means f(6) = 4. The multiplier 3 is inside the function, so it scales the input and works backwards. We want the matching point on g.
Plan
- The multiplier 3 is inside, so it scales the input and works backwards.
- Multiply the x-coordinate 6 by 1/3.
- Keep the y-coordinate 4.
| xnew = (1)/(3) · 6 | an inside multiplier scales x by 1/b |
| = 2 | simplify |
| ynew = 4 | a horizontal scaling leaves y unchanged |
Check. Check: g(2) = f(3 · 2) = f(6) = 4, so (2, 4) is on g. The point moved closer to the y-axis, a horizontal compression by 1/3.
Answer: the point is (2, 4)
Worked example 2
The point (3, 5) lies on y = f(x). Find the corresponding point on g(x) = f((1/2)x).
The point (3, 5) on f means f(3) = 5. The multiplier 1/2 is inside the function, so it scales the input and works backwards. Since 1/2 is between 0 and 1, the graph stretches wider.
Plan
- The multiplier 1/2 is inside, so it scales the input and works backwards.
- Scale the x-coordinate by 1/b, which is 2.
- Keep the y-coordinate 5.
| xnew = 2 · 3 | an inside multiplier scales x by 1/b = 2 |
| = 6 | simplify |
| ynew = 5 | a horizontal scaling leaves y unchanged |
Check. Check: g(6) = f((1/2)(6)) = f(3) = 5, so (6, 5) is on g. The point moved farther from the y-axis, a horizontal stretch.
Answer: the point is (6, 5)
Common mistakes
Stretch and compression reversed
Calls f(bx) with b bigger than 1 a horizontal stretch instead of a compression by 1/b. Fix: an inside multiplier bigger than 1 squeezes the graph horizontally.
Horizontal scaling treated as vertical
Reads the inside multiplier as an up-and-down change. Fix: an inside multiplier scales the graph horizontally.
Scaling confused with a shift
Treats the inside multiplier as a sideways shift instead of a stretch or compression. Fix: multiplying the input scales the graph, it does not slide it.
Related lessons
- Before this: Horizontal shifts
- Before this: Vertical stretch & compression
Practice this until it sticks
The adaptive tutor has 5 practice questions on this skill, names the exact mistake when you miss one, and gives you a fresh problem to confirm the fix. It is part of the Digital SAT program: $59 once, 12 months of access, no renewal.
See the Digital SAT programEnroll