Stretching and Compressing Functions

A stretch changes a graph’s proportions rather than its position. Multiplying the function stretches it vertically; multiplying the variable stretches it horizontally — in the opposite direction from what you would expect.

--

Translations move a graph and reflections flip it; a stretch changes its proportions. Multiplying the function stretches it vertically, while multiplying the variable stretches it horizontally — and the second of these works in the direction you would not expect.

Concept Vertical stretch

the amplitude changes, the period does not
a > 1 — stretched vertically, taller.
0 < a < 1 — compressed vertically, flatter.

Every output is multiplied by , so the height changes while the horizontal positions stay put. For a sine wave this is exactly the amplitude: runs from −5 to 5, and from −0.4 to 0.4.

Concept Horizontal stretch

the period changes, the amplitude does not
a > 1 — compressed horizontally; the cycle repeats faster.
0 < a < 1 — stretched horizontally; the cycle repeats slower.

This is the reversal to watch for. A larger squeezes the graph rather than widening it, because reaches at the value the parent only reached at — the graph gets there five times sooner.

Note The four cases
Form a > 1 0 < a < 1 What changes
a · f(x) Stretch Compress Height, or amplitude
f(a x) Compress Stretch Width, or period

The pattern matches the translation rules exactly: whatever acts on the whole function behaves as expected, and whatever acts on the variable inside behaves in reverse.

Example Four sine transformations
— vertical stretch, amplitude 5, running from −5 to 5.
— vertical compression, amplitude 0.4.
— horizontal compression; five complete cycles fit where one did.
— horizontal stretch; the cycle takes longer to complete.
⟹ amplitude comes from the outer factor, period from the inner one

In and the same number produces opposite effects on opposite properties. Reading which side of the function the coefficient sits on is the whole skill.

Summary
  1. a · f(x) scales the graph vertically: a > 1 stretches, 0 < a < 1 compresses.
  2. f(ax) scales it horizontally, and in reverse: a > 1 compresses, 0 < a < 1 stretches.
  3. The vertical factor sets the amplitude; the horizontal one sets the period.
  4. Acting on the whole function behaves as expected; acting on the variable inside behaves in reverse.