f(k·x): squeeze or stretch horizontally
Horizontal scale (k > 0) — (x, y) → (x/k, y)
f(2x) divides every x-value by 2. The graph is squeezed toward the y-axis. It is compressed horizontally by a factor of ½.
f(½x) goes the other way: every x-value is multiplied by 2, so the graph is stretched horizontally.
Points on the y-axis stay put, because 0 ÷ k = 0. The y-values never change.
Here f is the piecewise graph from (−2, 0) to (4, 0). The point (3, 1) lands at (1.5, 1) on f(2x), and (−2, 0) lands at (−1, 0).
| x | 2x | f(2x) |
|---|
| −1 | −2 | 0 |
| −1/2 | −1 | 1 |
| 0 | 0 | 2 |
| 1.5 | 3 | 1 |
| 2 | 4 | 0 |
f(2x) reaches each output at half the old x.
Example
(6, 5) is on f. Where does it land on f(2x)?
Solve 2x = 6, so x = 3. The point is (3, 5).
Trap: The 2 in f(2x) makes the graph narrower, and the x-values get divided by 2. Students often multiply them by 2 instead.