2.3PureStretch

Composite Functions

A composite function applies one function and then another: means “do first, then ”. Order matters, and the inner function’s output must be valid input for the outer one.

25 min Video by Zeeshan Zamurred Functions and Graphs
Edexcel A level Maths: 2.3 Composite FunctionsWatch the full walkthrough before the notes below.
Open on YouTube

What you'll be able to do

  • Understand composite function notation
  • Evaluate fg(x) and gf(x)
  • Recognise that order matters
  • Build composite functions algebraically
1

Inside out

The composite means — apply the function first, then feed its output into . Work from the inside out.

Do first, then .
1.
2.
Answer
2

Order matters

In general — swapping the order changes the result. Always check which function is written first (it acts last).

1.
2.
Answer (≠ )

Tip — fg means f outside, g inside. The function nearest the x acts first.

3

Building the expression

To get as a formula, substitute the whole of into wherever appears, then simplify.

1Replace in with : .
Answer

Formula recap

Inner function first.
Order matters.
A function composed with itself.

Common mistakes to avoid

Doing f first in fg(x).
fg(x) = f(g(x)) — the inner function g acts first.
Assuming fg(x) = gf(x).
They are usually different; check the order.

Key takeaways

  • fg(x) = f(g(x)): apply the inner function first.
  • Order matters — fg and gf are generally different.
  • Build the formula by substituting g(x) into f.

Test yourself

Ready to lock in Composite Functions? Pick a mode and earn XP & Dobloons.