- Home
- Courses
- Edexcel A-Level Maths
- Functions and Graphs
- Composite Functions
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.
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
Inside out
The composite means — apply the function first, then feed its output into . Work from the inside out.
Example 1If and , find .
Order matters
In general — swapping the order changes the result. Always check which function is written first (it acts last).
Example 1With the same f and g, find .
Tip — fg means f outside, g inside. The function nearest the x acts first.
Building the expression
To get as a formula, substitute the whole of into wherever appears, then simplify.
Example 1For , , find .
Formula recap
Common mistakes to avoid
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
Answer a few questions, then review anything you missed.
Prefer paper? Open the written self-check
Answer each question before opening its answer. This self-check does not record a quiz score.
means:
Show answer and explanation
Answer:
Inner function first.
With , ,
Show answer and explanation
Answer:
g(2)=4, f(4)=5.
With the same functions,
Show answer and explanation
Answer:
f(2)=3, g(3)=9.
In , which function acts first?
- g
- f
- Both at once
- Neither
Show answer and explanation
Answer: g
The inner one.
For , ,
Show answer and explanation
Answer:
Sub x² into f.
For the same functions,
Show answer and explanation
Answer:
Sub f into g: (2x+1)².
Keep practising
Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.
Related lessons
All 7 lessons- Same chapterThe Modulus FunctionUnderstanding |x| and sketching modulus graphs.
- Same chapterFunctions and MappingsDomain, range, and one-to-one vs many-to-one functions.
- Same chapterInverse FunctionsFinding inverse functions and their graphs.
Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.