Shifts move a graph without changing its shape. This part changes the shape: a negative sign flips the graph over an axis, and a multiplier stretches or squeezes it. A multiplier outside the function acts on outputs (vertical); a multiplier inside acts on inputs (horizontal).
01 · Reflections over the x-axis and the y-axis
g(x) = −f(x) reflects the graph over the x-axis: every output is multiplied by −1.
g(x) = f(−x) reflects the graph over the y-axis: every input is multiplied by −1.
Choose a toolkit function and a reflection. The arrows show each key point jumping across the mirror line.
02 · Vertical stretches and compressions: g(x) = a·f(x)
Multiply every output by a. If |a| > 1 the graph is stretched vertically; if 0 < |a| < 1 it is compressed vertically. If a < 0, there is also a reflection over the x-axis.
03 · Horizontal stretches and compressions: g(x) = f(bx)
Every input is multiplied by 1/b. If |b| > 1 the graph is compressed horizontally by a factor of 1/|b|; if 0 < |b| < 1 it is stretched horizontally by a factor of 1/|b|. If b < 0, there is also a reflection over the y-axis.
04 · Reflections and stretches of a table
For a table, decide whether the change acts on the inputs (inside) or the outputs (outside), then do the arithmetic on that row.
05 · Combining transformations step by step
First factor the inside: bx + c = b(x − h) with h = −c/b. Then transform the inputs (horizontal stretch or compression and reflection, then the horizontal shift h), and finally the outputs (vertical stretch or compression and reflection by a, then the vertical shift d).
Choose a toolkit graph and the four numbers, or load the example. Use Next step to apply one transformation at a time and follow the key points in the table.
Guided problems · Reflections and Stretches
Original problems on reflections, stretches, compressions, and combinations. Open a hint if you need one, check your answers, then try another set.
Check your understanding · Reflections and Stretches
Answer each question on paper first, then open the answer to check yourself.
How do the graphs of y = −f(x) and y = f(−x) differ from the graph of f?
Show answer
−f(x) multiplies the outputs by −1 (reflection over the x-axis). f(−x) multiplies the inputs by −1 (reflection over the y-axis).
Describe the transformations in g(x) = 3f(x/5).
Show answer
A vertical stretch by a factor of 3 (outputs × 3) and a horizontal stretch by a factor of 5 (inputs × 5).
Describe the transformations in h(x) = 2f(3x + 6) − 4.
Show answer
Factor: h(x) = 2f(3(x + 2)) − 4. Horizontal compression by 1/3, shift left 2, vertical stretch by 2, shift down 4.
The point (3, 2) is on the graph of f. Find the matching point on g(x) = −2f(x/3) + 4.
Show answer
Inputs × 3: x = 9. Outputs × (−2), then + 4: y = −4 + 4 = 0. The point is (9, 0).