Transformations of functions
- You can move, flip and stretch without plotting any points again.
- One simple rule: a change outside the bracket does what it says. A change inside does the opposite.
Outside the bracket: vertical, as written. Inside the bracket: horizontal, the opposite way (so moves left).
The four transformations
For each one, first ask: is it outside or inside the bracket?
- : translate up by , vector . Outside, as written.
- : translate right by , vector (the textbook's primary form). The sign flips, so goes left, vector . Inside, the opposite way.
- : stretch factor parallel to the -axis (vertical). Outside, as written.
- : stretch factor parallel to the -axis (horizontal). Inside, the reciprocal.
- Two reflections are just stretches with a minus sign. flips in the -axis. flips in the -axis.
- Same rule: the minus outside changes the output, the minus inside changes the input.
Drag it: watch a, b and c reshape the curve
Drag the three sliders in (here is a parabola) and watch the gold curve change; the vertex moves straight to .
y = (x + 0)2 + 0·the parent curve, untouched
Notice: the b inside the bracket moves the curve the opposite way you might expect, while a and c outside act exactly as written.
- Notice this: move to and the curve moves right, not left.
- The bracket holds . So a positive moves the graph the opposite way to the sign. This is the inside-the-bracket rule, and now you can see it.
Before and after: one worked transformation
Here is the starting curve and the curve it becomes after a move right, a vertical stretch and a move up, where the vertex moves from to .
Why inside the bracket runs backwards
The inside rule often seems backwards — here is the short reason.
Why does f(x + 3) move LEFT, not right?
reaches a height when the bracket equals the value that gave that height in . To make equal that value, must be 3 smaller. So the new graph reaches the same height 3 steps sooner. That is a move left. Same idea for : the bracket reaches each value when is half as big, so the graph is squashed left to right by factor .
Describing a transformation in the exam
- A common question gives you a quadratic and asks how maps onto it.
- What to do: complete the square first (see Quadratics §1.2). Then read the bracket as horizontal and everything outside as vertical.
Worked example
Real exam: describe how maps onto (9709/12 March 2022 Q5b)
- Complete the square so the bracket is clean: .
- The is inside, so it is horizontal: translate right by 2, vector .
- The is outside: stretch factor 2 parallel to the -axis.
- The is outside: translate up by 6, vector .
(9709/12 March 2022 Q5(b)) The mark scheme grades the order here, because the stretch and the up 6 are both vertical. See the Deeper below.
When the order matters (and when it does not)
One horizontal + one vertical: order does not matter. A sideways move and an up-or-down move do not affect each other. So you may write them in either order and both score. (9709/12 March 2022 Q5)
Two moves in the same direction: order does matter. Above, the stretch and the up 6 are both outside the bracket. “Stretch then up 6” gives . But “up 6 then stretch” gives , a different curve. So for two moves in the same direction, you cannot use any order. Use the order that gives the right answer.
When a single transformation is really two
The hardest version writes a combined transformation as one expression and asks you to split it into two single moves, so read inside and outside separately.
Worked example
Real exam: describe fully the two transformations in (9709/12 Oct/Nov 2021 Q2a)
- The is inside the bracket, so it is horizontal and you take the reciprocal factor: a stretch parallel to the -axis, factor .
- The is outside, so it is vertical and as written: a translation (down 3).
(9709/12 Oct/Nov 2021 Q2(a)) Here the two moves point in different directions, so the mark scheme accepts either order.
Worked example
Same paper, the follow-up: lies on , find the matching point on (Q2b)
The new curve is made from by changing to and taking away 3, so to get back to , undo each step on the coordinates of .
- At , , so (undo the down 3 by adding it back).
- The input that actually receives is , so the original point is .
(9709/12 Oct/Nov 2021 Q2(b)) A point on the new curve matches the original only after you undo both moves: the horizontal squash and the vertical shift.
Where the marks go
Common mistake
Common mistake
Now you try
The graph of is stretched by factor 3 parallel to the -axis and then translated by . Write down the equation of the resulting graph in terms of . (textbook 2.5-style)
Your turn— tap to reveal the worked answer (textbook 2.5-style)
Both moves are outside the bracket (vertical). A stretch of factor 3 multiplies the output: . The move down 2 then takes away 2:
Order matters here because both are vertical. Stretching then moving down 2 gives , the answer asked for.