Method · Functions
How to Find a Composite Function
A composite function feeds the output of one function into another. In Add Math, means , apply first, then .
To find it, substitute the inner function into the outer function and simplify.
What a composite function is for
A composite function combines two functions into a single new function by using the output of one as the input of the other. In Add Math we write the composite of after as , which means , the inner function acts first, then acts on that result.
The composite is a genuinely new function with its own rule and its own graph, not a product of the two. This method answers questions such as "given and , find ", "evaluate ", or "if is known, find the missing function".
It is a core Form 4 Functions skill, and it also underpins inverse functions, because a function composed with its inverse returns the input unchanged.
Understanding composition well is what lets you read the notation confidently. Two functions written side by side with no operation sign always mean composition, so is never " times ".
Getting this straight early makes the whole Functions chapter far less confusing.
When to use this method
Reach for composition whenever a question gives you two functions and asks for a combined one written as , , , or asks you to evaluate a stacked expression like . The tell-tale sign is two function definitions followed by a request that places one function inside another.
You also use composition when a question defines directly and asks you to find one of the original functions, or to solve an equation such as . Because Functions opens the syllabus and composition appears in both Paper 1 and Paper 2, recognising the notation quickly saves time.
Whenever you see two function letters together with no plus, minus or multiplication sign between them, read it as composition and decide which function acts first.
The steps
Work in this order so the substitution never goes wrong:
- 1
Identify the inner and outer function
In , the inner function is (it acts first) and the outer function is . Read the letters right to left.
- 2
Write out the outer function
Write the outer rule with its input shown clearly, for example , so you can see every slot the input goes into.
- 3
Substitute the whole inner function
Replace every input slot of the outer function with the entire inner expression, keeping it inside brackets.
- 4
Expand and simplify
Multiply out the brackets and collect like terms until you have one tidy expression in .
- 5
Evaluate if a number is asked
For a value like , either substitute into your composite, or work inside-out: compute first, then apply .
Order matters
In almost every case . Always check which function is written closest to , that one acts first.
Worked example
Try this yourself first, then check each line against the solution.
The functions and are defined by and . Find (a) , (b) , and hence (c) the value of .
Show worked solution
(a) means , so is the inner function. Replace the input of with the whole of :
(b) means , so now is the inner function. Replace the input of with the whole of :
Notice that and are different, this confirms that the order of composition matters.
(c) For , substitute into :
Answer
, , and . Check inside-out: , then , which matches.
The inside-out check in the note is worth building into a habit. Computing first and then applying is a completely independent route to the same answer, so if the two methods disagree you know at once that a bracket or a sign has slipped somewhere.
Common mistakes to avoid
- Reading as . It means , a substitution, never a product.
- Getting the order backwards. In the function acts first, so substitute into , not the other way round.
- Substituting into only some of the terms. Every input slot of the outer function must be replaced by the whole inner expression.
- Dropping the brackets around the inner function, for example writing instead of .
- Assuming . They are usually different functions, so always compute the one the question actually asks for.
How a teacher helps you get it right
Most lost marks in composition come from a single decision, which function acts first, and from dropping the brackets in the very next line. In a one-to-one lesson our teacher watches you set up and stops the moment the wrong function goes inside, so the habit is corrected before it hardens.
Because our teachers are experienced, you get someone who explains why acts first, not just tells you to memorise it. Lessons are online and taught in English, while SPM papers are set in both Malay and English, so we make sure the notation reads the same to you in either version.
We also drill the inside-out check so a slip never survives to the final line.
Get 1-to-1 help.
Book a Trial ClassFrequently asked questions
What does actually mean?
It means : apply the inner function first, then apply to the result. The function written closest to always acts first.
It is not .
Is the same as ?
Usually no. Composition is not commutative, so and are normally different functions.
Always compute the exact one the question asks for, and never assume they are equal.
How do I evaluate something like ?
Two ways give the same answer. Either find first and substitute , or work inside-out: compute , then apply to that value.
Doing both is a quick way to check your work.
What does mean in this chapter?
In Functions, means , the function composed with itself, not . So if , then .
How is composition connected to inverse functions?
A function and its inverse undo each other, so and . That identity is a reliable way to confirm you have found an inverse correctly.
Source:SRC-DSKP-EN