Stretching and Compressing a Graph — Cheat sheet

Choose “Save as PDF” in the print dialog.
On this page

Key method

For g(x)=af(bx)g(x)=a f(bx) with nonzero a,ba,b, (u,v)(u,v) becomes (u/b,av)(u/b,av). Thus ∣a∣>1|a|>1 stretches vertically, while ∣b∣>1|b|>1 compresses horizontally. Negative factors also reflect.

Example

For f(x)=x2f(x)=x^2, g(x)=3f(x)g(x)=3f(x) triples every output. The point (2,4)(2,4) becomes (2,12)(2,12). For h(x)=f(2x)h(x)=f(2x), the same old input 22 is reached at x=1x=1, so its point becomes (1,4)(1,4). Although f(2x)=4x2f(2x)=4x^2 here, horizontal and vertical scaling are different constructions.

Avoid this mistake

A multiplier of zero collapses a graph and is not an invertible stretch. Track this as its own case.