Composite functions

Tier: #Higher

🔗What you need to know first
How to

A composite function applies one function to the result of another. The notation $fg(x)$ means "apply $g$ first, then $f$".

$$fg(x) = f(g(x))$$

Example: $f(x) = 2x + 1$ and $g(x) = x^2$. $$fg(x) = f(g(x)) = f(x^2) = 2x^2 + 1$$ $$gf(x) = g(f(x)) = g(2x+1) = (2x+1)^2$$

Note that in general $fg(x) \neq gf(x)$ — order matters.

Evaluating at a specific value: $$fg(3) = f(g(3)) = f(9) = 2(9)+1 = 19$$

Or substitute $x = 3$ directly into $fg(x) = 2x^2 + 1$: $2(9)+1 = 19$ ✓

Caution with notation: $fg(x)$ means $f$ applied after $g$ — the rightmost function is applied first. Some students misread this.

Common error: applying $f$ before $g$ in $fg(x)$. Always read right-to-left: $f$ of $g$ of $x$.

Questions to practise

Practise these questions →

New to Bow Tie Maths? It generates questions on this topic, marks them instantly, and tracks what you've mastered. Free to sign up.

📝Past paper questions
💬What the examiners say
  • "A pleasing number of candidates were able to find the composite function. The second mark for finding the inverse was not dependent on getting part (a) correct, so even if your composite was wrong, you could still earn the mark for part (b) if your inverse working was correct."
⬆️How you can quickly improve
  • To find an inverse function, write y = f(x), swap x and y, rearrange to make y the subject, and always express the final answer in terms of x.
  • For a composite function fg(x), apply g first, then substitute the result into f — work from the inside outward.
  • When squaring a bracket, write it out as two separate brackets (3x − 1)(3x − 1) and multiply every term — never skip the middle terms.
💡Watch
ℹ️Calculator tricks