Transformations of graphs: translations, reflections and stretches of y = f(x)
TutorAura guide · Updated
Once you know the shape of one graph, graph transformations let you sketch a whole family of related graphs without plotting points. Change to and the graph moves up 3; change it to and it moves left 3, which is the part everyone gets wrong at first. This guide gives the full table of rules, explains why the inside-the-bracket ones go the "wrong" way, and shows how to track a point such as a turning point through each transformation.
Key takeaways
- Outside the bracket changes y: f(x) + a moves up a, af(x) stretches vertically by a.
- Inside the bracket changes x, backwards: f(x + a) moves left a, f(ax) squashes horizontally by a.
- −f(x) reflects in the x-axis; f(−x) reflects in the y-axis.
- To find where a point goes, apply the rule to its coordinates.
The rules in one table
| New graph | What happens to | Point goes to |
|---|---|---|
| Translate up by | ||
| Translate left by | ||
| Reflect in the x-axis | ||
| Reflect in the y-axis | ||
| Stretch vertically, scale factor | ||
| Stretch horizontally, scale factor |
A translation is often written as a vector: is and is .
Why f(x + 3) moves left, not right
Take . To get the output that used to give at , you now need , so . Every point arrives 3 earlier along the x-axis: the whole graph shifts left.
The same logic explains : to get the old output at you now need , so . The graph is squashed towards the y-axis, halving every x-coordinate.
Rule of thumb: inside the bracket, do the opposite of what you see.
Worked example: tracking a turning point
The graph of has a maximum at . Find the maximum of each transformed graph.
| Graph | Maximum |
|---|---|
| , now a minimum | |
Points on the x-axis don't move under a vertical stretch (their y-coordinate is 0), and points on the y-axis don't move under a horizontal one.
Quadratics in completed square form
This is where the rules meet completing the square. Starting from , which has its vertex at the origin:
- is moved right 3: vertex .
- then moves up 4: vertex .
- flips it: a maximum at .
So always has its turning point at , and you can sketch it straight away.
Trigonometric graphs
The same rules transform , and graphs. Starting from :
- has amplitude 2 (peaks at 2 and −2).
- completes a cycle in 180° instead of 360°.
- is shifted 30° to the right.
- oscillates between 0 and 2.
Knowing that is itself a translation of the sine graph 90° to the left.
Combining transformations
When two transformations are combined, the order matters for some pairs. For , stretch first then translate (the +1 is outside the ×2). For , write it as : translate left 3, then squash by factor , or equivalently squash first and then translate left 3 (not 6). Writing the inside as removes the ambiguity.
Practice questions
The graph of passes through .
- Where does the point go on ?
- On ?
- On ?
- On ?
- Sketch and state its turning point.
Answers: 1. . 2. . 3. . 4. . 5. A U-shaped parabola with minimum at , crossing the y-axis at .
Frequently asked questions
Does f(x + 2) move the graph left or right?
Left, by 2. Transformations inside the bracket change the x-values in the opposite direction to the sign.
What is the difference between 2f(x) and f(2x)?
2f(x) doubles every y-value (a vertical stretch). f(2x) halves every x-value (a horizontal squash). Points on the x-axis are fixed by the first; points on the y-axis by the second.
How do I find the turning point of a transformed quadratic?
Write it as y = a(x + p)² + q; the turning point is (−p, q). If a is negative it's a maximum, otherwise a minimum.
Sources
- GCSE mathematics: subject content and assessment objectives. Department for Education.
- Cambridge International AS & A Level Mathematics 9709. Cambridge International.
Keep reading
Completing the square: the method, solving equations and finding turning points
The halve-and-square method, the a ≠ 1 case, solving equations and reading off the turning point.
Functions in maths: notation, composite functions and inverse functions
Function notation, substituting values, composite functions and finding inverses, with examples.
Transformations: reflection, rotation, translation and enlargement
The four transformations, how to do them, and how to describe them fully.
Online graphing calculator
Plot up to five graphs, trace them, and find roots, intercepts and intersections.