IB Maths AA HL
Topic 2 โ Functions
Paper 1 & 2
~8 min read
Composite Transformations of Graphs
When two or more transformations are applied at once, the order matters โ apply them in the wrong sequence and the answer will be off. The good news: vertical and horizontal transformations don’t interfere with each other, so the only sequencing you need to think about is within each direction. Vertical follows order of operations; horizontal works backwards.
๐ What you need to know
- Vertical composite: y = af(x) + b โ apply vertical stretch SF a first, then translate by (0, b). Order = order of operations on y.
- Horizontal composite: y = f(ax + b) โ apply translate by (โb, 0) first, then horizontal stretch SF 1/a. Order = reverse of order of operations on x.
- Negative a in either form means there’s also a reflection โ in the x-axis for โf(x), in the y-axis for f(โx).
- Vertical and horizontal are independent: you can do all the horizontal work first, then all the vertical work โ or vice versa. As long as the within-direction order is right.
- Point mapping: for y = af(bx + c) + d, a point (p, q) on f maps to ((p โ c)/b, aq + d).
- State the transformations explicitly: examiners want each transformation named (translation by what vector, stretch by what SF, in which direction).
Vertical composite โ af(x) + b
Order: stretch first, translate second
y = f(x) โ y = af(x) โ y = af(x) + b
Step 1: vertical stretch with scale factor a. Step 2: translate by a‘s output by b. Doing the translation first would give the wrong answer (af(x) + ab instead of af(x) + b).
๐ค Why stretch before translate?
Read the equation as if you’re computing y: take f(x), multiply by a, then add b. The transformations follow that same order โ stretch first (multiplication), then translate (addition).
Effect on a point: (p, q) on y = f(x) maps to (p, aq + b) on y = af(x) + b. The x-coordinate stays put โ it’s a vertical-only transformation.
Horizontal composite โ f(ax + b)
Order: translate first, stretch second
y = f(x) โ y = f(x + b) โ y = f(ax + b)
Step 1: translate by (โb, 0). Step 2: horizontal stretch with scale factor 1/a. The order is the reverse of the order of operations on x โ that’s the part that trips students up.
๐ค Why is horizontal order reversed?
Horizontal transformations work on the input to f. To “undo” the operations you read left-to-right, you have to apply the transformations right-to-left. So in f(ax + b), the “+ b” gets handled first (giving the translation), then the “aร” handles afterwards (giving the stretch).
Effect on a point: (p, q) on y = f(x) maps to ((p โ b)/a, q) on y = f(ax + b). The y-coordinate is untouched.
Factoring shortcut: rewrite f(ax + b) as f(a(x + b/a)). Now you can do the stretch first (SF 1/a) and then the translation by (โb/a, 0) โ both orders give the same final graph. Pick whichever feels easier.
Mixing horizontal and vertical
Full composite
y = af(bx + c) + d โ (p, q) โ (p โ cb, aq + d)
Horizontal work
new x = (p โ c) รท b
handles b and c only โ needs reverse order
Vertical work
new y = aq + d
handles a and d only โ natural order
Treat the horizontal and vertical work as two separate problems. Solve the x-side using “(p โ c) รท b” and the y-side using “aq + d“. Then combine. No need to worry about which goes first โ they’re independent.
๐งญ Recipe โ applying composite transformations
- Identify the form: af(x) + b (vertical only), f(ax + b) (horizontal only), or af(bx + c) + d (both).
- Vertical part: stretch SF a first, then translate by b (or d). Apply (p, q) โ (p, aq + b).
- Horizontal part: translate by โb (or โc) first, then stretch SF 1/a. Apply (p, q) โ ((p โ b)/a, q).
- Combine the two โ horizontal and vertical never interfere.
- Negative coefficients: include the matching reflection (in x-axis if vertical SF is negative; in y-axis if horizontal SF is negative).
Worked examples
WE 1Find the equation after a vertical composite
The graph of f(x) = x2 โ 4 is transformed by a vertical stretch with scale factor 2 followed by a translation by the vector 0
5. Find the equation of the new graph.
Apply y โ 2y + 5 to f(x)
y = 2f(x) + 5
y = 2(xยฒ โ 4) + 5
y = 2xยฒ โ 8 + 5
y = 2xยฒ โ 3
y = 2xยฒ โ 3
stretch first (everything ร2), then translate (+5). Translating first would have shifted the โ4 along with everything else and given the wrong constant
WE 2Apply a vertical composite to key points
The graph of y = f(x) has a maximum at A(3, 7) and a minimum at B(โ1, โ2). Find the new coordinates of A and B on the graph of y = 4f(x) โ 6.
Apply y โ 4y โ 6 to each y-coordinate
A(3, 7) โ (3, 4(7) โ 6) = (3, 22)
B(โ1, โ2) โ (โ1, 4(โ2) โ 6) = (โ1, โ14)
max (3, 22); min (โ1, โ14)
x-coordinates are untouched because it’s a vertical-only transformation
WE 3Apply a horizontal composite โ the tricky one
The graph of y = f(x) passes through the point C(8, 5) and has a vertical asymptote at x = โ3. Find the corresponding feature on the graph of y = f(2x + 4).
Apply x โ (x โ b)/a with a = 2, b = 4
new x = (old x โ 4)/2
Image of C(8, 5)
new x = (8 โ 4)/2 = 2
y unchanged: 5
point: (2, 5)
Image of VA x = โ3
new x = (โ3 โ 4)/2 = โ7/2
VA: x = โ7/2
horizontal-only โ y-coordinate of the point doesn’t move; verify by step-by-step: translate by (โ4, 0) gives (4, 5) and x = โ7, then horizontal stretch SF 1/2 halves the x-coords
WE 4Describe the sequence of transformations
The graph of y = f(x) is transformed to give the graph of y = 3f(x) โ 4. Describe the sequence of transformations.
Identify the form: af(x) + b with a = 3, b = โ4
vertical-only composite
Order: stretch first, then translate
step 1: vertical stretch parallel to the y-axis, scale factor 3
step 2: translation by the vector (0, โ4)
vertical stretch SF 3, then translation by (0, โ4)
naming both the stretch direction (“parallel to y-axis”) and the translation vector picks up full marks
WE 5Describe a horizontal composite
The graph of y = f(x) is transformed to give the graph of y = f(3x โ 9). Describe the sequence of transformations.
Identify the form: f(ax + b) with a = 3, b = โ9
horizontal-only composite
Order: translate first, then stretch
step 1: translation by (โb, 0) = (9, 0) โ right by 9
step 2: horizontal stretch parallel to the x-axis, scale factor 1/3
translation by (9, 0), then horizontal stretch SF 1/3
factoring as f(3(x โ 3)) gives an equivalent description: stretch SF 1/3 first, then translation by (3, 0). Both are correct โ the final graph is the same.
WE 6Full composite โ horizontal and vertical together
The graph of y = f(x) passes through the point (10, 4). Find the image of this point on the graph of y = 12f(x + 6) โ 3.
Identify: af(bx + c) + d with a = 1/2, b = 1, c = 6, d = โ3
Horizontal: new x = (p โ c)/b = (10 โ 6)/1 = 4
10 โ 4
Vertical: new y = aq + d = (1/2)(4) โ 3 = 2 โ 3 = โ1
4 โ โ1
image: (4, โ1)
treat horizontal and vertical separately โ solve each independently, then combine. b = 1 means no horizontal stretch, just the translation by (โ6, 0)
๐ก Top tips
- Vertical follows order of operations on y: af(x) + b means multiply (stretch), then add (translate).
- Horizontal reverses the order of operations on x: f(ax + b) means deal with the +b first (translate), then the aร (stretch).
- Use the point map: (p, q) โ ((p โ c)/b, aq + d) is the fastest route when you need the image of a point.
- Factor out the coefficient inside the bracket when in doubt: f(2x + 6) = f(2(x + 3)) makes the order obvious.
- Horizontal and vertical are independent โ treat them as two separate problems and combine at the end.
- For a sketch question: pick 2 or 3 labelled points, transform each one, plot, then connect with the same shape as the original.
- State each transformation with full IB language: “translation by the vector (…)” and “stretch parallel to the x/y-axis with scale factor (…)”.
โ Common mistakes
- Doing horizontal in the natural order: translating before factoring out the coefficient gives the wrong answer.
- Translating before stretching for vertical composites: af(x) + b โ a(f(x) + b). Distributing the a changes the constant.
- Forgetting the reciprocal in the horizontal stretch: f(2x + 4) involves SF 1/2, not 2.
- Writing “translation of (5, 0)” instead of “translation by the vector (5, 0)” โ examiners want the right wording.
- Mixing horizontal and vertical shifts in a single calculation. Handle them separately to avoid sign errors.
- Skipping a transformation in the description: every coefficient or constant in the equation corresponds to one transformation. Account for each.
- Incorrect order in the description: even if the final graph is right, examiners deduct marks for stating the wrong sequence.
And that closes Section 2.5 โ Transformations of Graphs. The four types โ translations, reflections, stretches, and composites โ work for every function you’ve met so far and every one you’ll meet later. The next section, Polynomial Functions, dives back into algebra: factor and remainder theorems, repeated roots, and the tools for handling cubics, quartics, and beyond.
Need help with Composite Transformations?
Get 1-on-1 help from an IB examiner who knows exactly what Paper 1 & 2 are looking for.
Book Free Session โ