Transformations of graphs
In a minute
A , or stretch turns a graph you know into a new one. Changes outside the function act on as they look; changes inside the bracket act on the opposite way, so moves right. In models, each transformation has a meaning: a delay, a new starting level, a faster cycle.
You'll be able to
- Translate a graph with , and write the translation as a vector.
- Reflect a graph in the -axis with and in the -axis with .
- Stretch a graph with and , and say which axis stays .
- Combine transformations in the right order, and track a point, an or a domain through them.
- Read the constants of a model as transformations of a base graph, and say what each one means in context.
Before you start2 quick questions on what this builds on
Revise first: 2.4 Key features of graphs and 2.5 Modelling with functions
Translations
A ball is thrown and its height is metres after seconds. A second ball follows the same path, but is thrown seconds later. At time it has only been flying for seconds, so its height is .
So moves the graph units right, not left. Throwing from m higher gives : a change outside acts on the output, as it looks.
Each of these moves is a : the graph slides without turning or changing size.
In the vector, the top number is the horizontal move (positive is right) and the bottom number is the vertical move (positive is up). So moves a graph units left and unit up, giving .
Try it first, then reveal one step at a time.
- The vector gives (left ) and (up ).
- Replace by , and add outside: .
- The asymptote of is . Moving up carries it to ; moving left doesn't change a horizontal line.
- Check: moves to , and .
Try it first, then reveal one step at a time.
- (a) s later is a move right: replace by . m higher is a move up. So , the translation by .
- (b) Graph and find its maximum: .
- Translate that point: .
- Interpret: the second ball is highest, at m, about s after the first ball was thrown.
Reflections in the axes
Put a minus sign outside: . Every output changes sign, so moves to . The graph flips over the -axis.
Put the minus sign on the input: . At the new graph does what the old one did at . So moves to , and the graph flips over the -axis.
Each flip is a in an axis.
Points on the mirror line don't move: they are . So keeps every -intercept, and keeps the -intercept.
Try it first, then reveal one step at a time.
- A reflection in the -axis is . Replace every by , keeping the brackets.
- .
- An odd power keeps the minus sign and an even power loses it: and .
- So . Check: , because the -intercept is invariant.
Try it first, then reveal one step at a time.
- is a reflection in the -axis: moves to . The lowest point of becomes the highest point of .
- The minimum of the is at , where .
- Reflect in the -axis: .
- Interpret: the river is deepest, m, in the middle, m from the bank.
- The banks and are on the -axis, so they are invariant: the depth there is , as it should be.
Stretches
To change a model's output from metres to centimetres, multiply it by : . Points move away from the -axis; points on it stay put.
This is a .
A scale factor between and squashes the graph towards the -axis, but it is still called a stretch. A negative also reflects: is a stretch with scale factor and a reflection in the -axis.
Now change the input. A wheel that turns twice as fast reaches, after minutes, the place the old wheel reached after minutes. Its height is , and each event happens in half the time.
This is a , and its scale factor is the reciprocal of the number inside.
Exam questions may say which axis stays fixed. A vertical stretch acts parallel to the -axis and leaves the -axis invariant. A horizontal stretch acts parallel to the -axis and leaves the -axis invariant.
Try it first, then reveal one step at a time.
- (a) A vertical stretch with scale factor , with the -axis invariant.
- (b) The maximum of is at , where .
- The stretch keeps and multiplies the height: .
- (c) Break-even is where profit is : at and . These points are on the -axis, so they are invariant. Zero dollars is zero euros.
Try it first, then reveal one step at a time.
- (a) with : a horizontal stretch with scale factor , with the vertical axis invariant.
- (b) On the normal wheel, the top is where , so and minutes. The height there is m.
- The stretch divides every time by and keeps every height: moves to .
- Interpret: the rider reaches the top, still m up, after minutes instead of . One turn takes minutes instead of .
Combining transformations
Start with . Stretch vertically with scale factor , giving . Then translate by , giving .
Swap the order. Translating first gives . The stretch then doubles every output, the included: . That is a different graph, so order matters.
Inside the bracket the order is reversed. For with , translate units right first, then stretch horizontally with scale factor . Or stretch first and then translate units right, since .
Horizontal and vertical changes don't interfere, so the inside changes can go before, after or between the outside ones.
Try it below. Choose the base and set the vertical stretch to and the shift up to . The vertex sits at . The sliders use their own letters, so go by their names.
(1, 1) maps to (1.00, 1.00)
Try it first, then reveal one step at a time.
- (a) Inside: . Translate by , then stretch horizontally with scale factor .
- Outside: stretch vertically with scale factor , then translate by .
- (b) New : solve , so .
- New : . So the image is .
- Check: .
Try it first, then reveal one step at a time.
- (a) A translation by and a vertical stretch with scale factor . One is horizontal and one vertical, so either order works.
- (b) Graph with the window , . Its maximum is . Keep these full values.
- Transform the point: and .
- Interpret: sequel downloads peak about weeks after the first launch, at about thousand a week.
- The domain moves too: is defined for , and is inside it. Graph itself to check.
Transformations in models
Most models in this topic are a simple graph, transformed: lines, , exponentials, cubics and waves. Each constant is one transformation, with a meaning in context.
Take a model , with and in degrees. From : a vertical stretch with scale factor sets the amplitude. A horizontal stretch with scale factor sets the period, . A translation by sets the principal axis.
Try it first, then reveal one step at a time.
- Vertical stretch, scale factor : the temperature swings above and below its middle value.
- Horizontal stretch, scale factor : one cycle takes hours, one day.
- Translation by , after the vertical stretch: the middle temperature is .
- The vertical stretch must come before the translation, or the would be stretched too.
- Vertical stretch, scale factor ; horizontal stretch, scale factor ; then translation by .
An exponential model , with , works the same way. From : a vertical stretch with scale factor , then a translation by . The moves to . When , that is the level the quantity approaches over time.
Try it first, then reveal one step at a time.
- (a) is translated by . The asymptote moves up to : the tea cools towards the room's temperature, .
- (b) Write the model out: .
- Solve : graph and with the window , , and find the intersection.
- The GDC gives , so about minutes after the first pour.
- That is minutes after the second cup was poured.
Common mistakes
- Moving left, or right. Inside the bracket the sign works the other way: moves the graph units right.
- Giving as the scale factor of . The scale factor is , so halves every -coordinate.
- Translating before stretching. means stretch by , then translate by ; the other order gives .
- Confusing with . changes the outputs and mirrors in the -axis; changes the inputs and mirrors in the -axis.
- Moving the curve but not its asymptotes or domain. Transform them too: a model for translated right holds for .
- Rounding a turning point before transforming it. Keep the GDC's full values and round only the final coordinates.
Exam tips
- ‘Describe’ a transformation: name it and give every detail, such as ‘horizontal stretch, scale factor ’ or ‘translation by ’. For several, give them in an order that works: the right transformations in the wrong order can lose a mark.
- ‘Sketch’ a transformed graph: move the endpoints, turning points, intercepts and asymptotes first, then join them with the right shape. Mark schemes check where those points land.
- When a question asks for after a transformation, writing it in terms of , such as with the numbers in, is usually enough. Substitute the formula for only if the question needs it.
Key takeaways
Practise this
11 past-paper questions on Transformations of graphs in the AI HL bank, each with a mark scheme and a worked explanation.