Composite Functions
A joins two rules: the first output becomes the next input. The notation does not mean .
means . The inner (right-most) function acts first. Keep its whole output in brackets when you substitute it into the outer rule.
The right-most function acts first
In , the function nearest the goes first. So says: put through , then put that result through . Read it from the inside out.
Worked example
First use numbers: and
For , do first: , then do : . So .
In the other order, gives . The same input gives a different output because the order changed.
In general . Never swap the order unless you have checked that the two results are equal.
How to build one
Worked example
Textbook 2.4: and , find and
- : do first, so put into the “double and add 3” machine: .
- Expand and tidy: .
- : do first, so put into the “square and subtract 1” machine, keeping it in a bracket: .
- Expand the square first, then subtract: .
If asked to solve , form the composite first, then solve the resulting equation: , so or .
If the question gives a number, evaluate one stage at a time. For the function , write and then , so . The middle value proves that f was used twice. (9709/12 Oct/Nov 2021 Q3(a))
Find the smallest k so the composite can be formed
A composite exists over the whole stated domain only when every output of the inner function is an allowed input of the outer function: inner range inside outer domain.
Worked example
for , for : find the smallest for which can be formed
- is an increasing line, so on its smallest output is at : .
- Force that lowest output into 's domain : .
- Solve: , so the smallest allowed value is the boundary.
(9709-style)
Two checks before you finish
Common mistake
Common mistake
Now you try
The function is defined for , where is a constant. Express in terms of and . (9709/12 May/June 2020 Q5)
Show worked answer
Do twice. Put the inner in for the input, inside a bracket:
Now expand the bracket and simplify:
