Free access until 31 December 2026 · Physics and Maths questions and notes, updated continuously · Build a test

2 · IB Maths

Function transformations

Build y = a·f(b(x − c)) + d from a base function. Each parameter stretches, shifts or reflects the graph in its own way; track one point to see exactly where it goes.

Predict first

Start from the default settings (f(x) = x², a = 1, b = 1, c = 0, d = 0, Tracked point u = 1.0). Set b to 2.0. Where is the image of the tracked point (1, 1)?

Grey: y = f(x). Dark: the transformed graph. Open dot: tracked point on f. Gold dot: its image.

y = a f(b(x − c)) + d
(u, f(u)) → (u ÷ b + c, a f(u) + d)
b, c act inside the bracket (horizontal)
a, d act outside (vertical)
Equation
Tracked point
Its image

Try this

  1. Press "Squash: b = 2" and follow the tracked point. Does the image move towards the y-axis or away from it? Explain using u ÷ b.
  2. Set c = 2 and d = 1 using the sliders, then swap to f(x) = |x|. Find the new vertex and check it against (c, d).
  3. For f(x) = sin(x), make a = −1 and b = −1 together. Compare the result with a = −1 alone and with b = −1 alone, and say what each reflection does.

Common error: shifting the wrong way inside the bracket. In f(b(x − c)) the graph moves c units to the right, and a bigger b squashes the graph horizontally by a factor of b rather than stretching it.