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 โ€” 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

  1. Identify the form: af(x) + b (vertical only), f(ax + b) (horizontal only), or af(bx + c) + d (both).
  2. Vertical part: stretch SF a first, then translate by b (or d). Apply (p, q) โ†’ (p, aq + b).
  3. Horizontal part: translate by โˆ’b (or โˆ’c) first, then stretch SF 1/a. Apply (p, q) โ†’ ((p โˆ’ b)/a, q).
  4. Combine the two โ€” horizontal and vertical never interfere.
  5. 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 1

Find 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 2

Apply 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 3

Apply 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 4

Describe 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 5

Describe 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 6

Full 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

โš  Common mistakes

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 โ†’