Transformations
You can graph a new function by shifting, stretching or flipping one you already know, with no point-plotting. Changes outside the function move it up and down; changes inside move it sideways, and in the opposite direction from what the sign suggests.
What the symbols mean
- Vertical stretch
|a| > 1 stretches, |a| < 1 squashes, and a negative a flips the graph over the x-axis.
- Horizontal shift
Moves the graph right by h; f(x + 3) moves it left by 3.
- Vertical shift
Moves the graph up by k.
Explanation
A transformation is simply moving or reshaping a graph you already know: sliding it, stretching it or flipping it. If you know what looks like, you know what looks like without plotting a single point. The formula has three dials: (stretch it taller or flatter, and flip it if negative), (slide it left or right) and (slide it up or down). That's all there is. It's the same idea you saw with the parabola's vertex form, now for any graph.
| Change | Effect |
|---|---|
| up | |
| right | |
| reflect over the x-axis | |
| reflect over the y-axis | |
| stretch vertically by |
Outside changes are easy. Adding to every output just raises every point by , and multiplying every output by stretches every height by . They do what they look like.
A common mistake. Since moves the graph up, it's tempting to think moves it left, toward the minus. It moves right. Think about when the new graph reaches the value : that happens when , so at . Everything happens 2 units later, so the graph slides right. Inside changes act on the input, so they work backwards from what you'd guess.
Order. Do stretches and reflections before shifts. A stretch scales distances from the axis, so if you shift first, the stretch scales the shift too.
See it
Worked examples
Describe in terms of .
- 1
Inside, is , so the graph shifts left 1.
Practice
Type your answer and check it. Solve them all to complete the lesson.
Where does the graph of start?
Shift left 4 and down 1. Enter the new function.
How is built from ?
If is on , which point is on ?
If is on , which point is on ?
A game character's jump follows the curve . A level designer shifts the whole jump 4 units right and 6 units up. Where does the point of the jump end up?
The graph of has its highest point at . Where is the highest point of ?
The hardest one here. Get it, and you've got this lesson.
The point is on the graph of . Which point must be on the graph of ?
Where it's used
Animators and game engines move, scale and mirror sprites with exactly these operations. A delay in a signal is a horizontal shift; an amplifier is a vertical stretch.