Vertical Stretches and Compressions
You'll learn how multiplying a function by a constant changes its steepness and vertical spacing from the x-axis.
The Core Idea
When you multiply an entire function by a constant, you scale all its output values (y-values) by that factor, while leaving the x-values unchanged. This creates a vertical stretch or compression of the graph.
The rule: If you have a function f(x), then:
g(x) = a · f(x)wherea > 0
What happens:
- If
a > 1: The graph stretches vertically — it gets taller, pulled away from the x-axis - If
0 < a < 1: The graph compresses vertically — it gets flatter, pushed toward the x-axis - If
a < 0: The graph flips upside down (reflects over the x-axis) and stretches or compresses
A Helpful Analogy
Think of the function's graph like a rubber sheet. Grabbing it at every point and pulling straight up (or pushing down) by the same factor is a vertical stretch or compression. You're not moving anything left or right — only changing heights.
Example
Starting with f(x) = x²:
g(x) = 3·x²stretches it vertically by factor 3. Whenx = 2, instead off(2) = 4, you getg(2) = 12h(x) = (1/2)·x²compresses it by factor 1/2. Whenx = 2, you geth(2) = 2
Notice the vertex stays at the origin (0,0) because 0 · a = 0 for any a.
Key Takeaway: Multiplying a function by a constant a vertically stretches it if |a| > 1 and compresses it if |a| < 1, always scaling outputs while keeping inputs fixed.