Transformations of graphs
Translations, stretches and reflections move and reshape a graph in predictable ways. Knowing how relates to lets you fit a model to data by adjusting a few parameters, describe a sequence of transformations precisely, and find where any point ends up.
1What you need to know
Tick these off as you go. By the end of the page you should be able to do all of them without notes.
- Translate graphs: and AHL 2.8
- Stretch graphs: (vertical) and (horizontal)AHL 2.8
- Reflect graphs: in the -axis and in the -axisAHL 2.8
- Apply a sequence of transformations, in the right order, and find images of pointsAHL 2.8
- Describe transformations fully, using correct vocabularyAHL 2.8
2Notes & worked examples
Each idea is followed by a worked example. Try the question yourself first, then reveal the solution one step at a time.
Changes outside the brackets act on the output, so they move the graph vertically and do exactly what they say. Changes inside the brackets act on the input, so they move the graph horizontally and do the opposite of what you might expect: moves right, and squashes the graph by a factor .
2.1 The four basic transformations
| New graph | Transformation of | Point goes to |
|---|---|---|
| translation by | ||
| translation by | ||
| vertical stretch, scale factor | ||
| horizontal stretch, scale factor | ||
| reflection in the -axis | ||
| reflection in the -axis |
2.2 Combining transformations
For , a safe order is: horizontal stretch by , then horizontal translation by ; vertical stretch by , then vertical translation by . Vertical and horizontal changes do not affect each other, but within each direction the stretch must come before the translation for this form.
2.3 Transformations in modelling
Many models are a standard graph after transformations. For example is stretched horizontally (period hours), translated 9 hours right, stretched vertically by 8 and translated up 15. Each parameter has a meaning in context.
On a TI-Nspire Graphs page, define and then enter to see the transformed graph next to the original. To explore, use sliders: menu → Actions → Insert Slider, name it , and enter . Use Trace or a point on the graph to check where a point moves.
3Explore it
The navy curve is y = f(x); the red curve is y = a·f(b(x − c)) + d. Change one parameter at a time and predict what will happen before you move the slider.
4Common mistakes & exam tips
Common mistakes
- Moving to the left. Inside the brackets, moves the graph 3 to the right.
- Describing as a stretch with scale factor 2. It is scale factor .
- Applying the vertical translation before the stretch for .
- Writing "moved" or "shifted" instead of the full description: "translation by ", "vertical stretch, scale factor ".
- In , translating by instead of .
Exam tips
- A full description names the transformation, gives the direction and the size: "horizontal stretch, scale factor 2".
- Track one or two key points (such as a vertex) through the transformations, then sketch.
- For , factorise first: .
- In context, interpret each parameter: amplitude, period, phase shift, principal axis.
5Practice
Fluency questions build the basics. Problem-solving questions make you think about which method to use.
6Exam-style questions
Original questions in the style of the IB Maths AI HL exam, with full markschemes. Your GDC is allowed throughout: use it, but write down what you entered and what it gave you. Give yourself about 1 minute per mark.
The points and lie on the graph of . The graph of , where , is obtained from by a sequence of transformations.
- (a)Describe fully the sequence of transformations.[3]
- (b)Find the images of and on the graph of .[3]
| (a) | |
| horizontal stretch, scale factor 2 | A1 |
| vertical stretch, scale factor 3 | A1 |
| translation by (after the vertical stretch) | A1 |
| (b) | |
| doubles, | (M1) |
| A1 | |
| A1 | |
The graph of is stretched vertically by scale factor 0.5 and then translated by to give .
- (a)Write down in the form .[2]
- (b)Find the -intercept of the graph of .[1]
- (c)Find the -intercepts of the graph of .[3]
| (a) | |
| A2 | |
| A1 for 0.5, A1 for the translation. | |
| (b) | |
| A1 | |
| (c) | |
| (M1) | |
| (A1) | |
| , | A1 |
The temperature, °C, in a city hours after midnight is modelled by , where and the angle is in radians. The model has a period of 24 hours, a maximum of 23 °C at 15:00 and a minimum of 7 °C.
- (a)Find the values of , and .[3]
- (b)Find the smallest value of .[2]
- (c)Describe fully the transformations that map to .[3]
| (a) | |
| A1 | |
| A1 | |
| A1 | |
| (b) | |
| maximum when | (M1) |
| A1 | |
| (c) | |
| horizontal stretch, scale factor , then translation 9 units right | A1 |
| vertical stretch, scale factor 8 | A1 |
| then translation 15 units up | A1 |
7Check yourself
Six quick questions, marked instantly. Aim for 6/6 before moving on. Fractions like 3/2 are accepted.
8Past-paper practice
Once you are scoring well above, try these real IB Maths AI HL questions on this topic. Your school or teacher will have the papers.
| Paper | Question | Focus | Difficulty |
|---|---|---|---|
| May 2021 · TZ1 · Paper 1 | Q17 | Translating y = ln x to pass through given points | ★★☆ |
| Nov 2024 · Paper 1 | Q10 | Sequence of transformations from y = ln x | ★★☆ |
| May 2025 · TZ3 · Paper 1 | Q16 | Translating and stretching a cosine graph | ★★☆ |
