You find a composite function by using the output of the inner function, , as the input of the outer function, . Therefore, (f(g(x))) means apply first, then apply .
The Method
A composite function combines two processes into one. In a real-world context, identify what each function does and check that the output units of match the required input units of .
Suppose a delivery company calculates the mass of a parcel from its volume using
where is the parcel's volume in litres and is its mass in kilograms. The delivery cost for a parcel of mass kilograms is
To find the cost directly from the volume, substitute the complete expression for into :
Thus, gives the delivery cost from a parcel volume of litres. For example, if , then
The delivery cost is therefore 23 currency units.
The order is determined by the flow of quantities through the model. In this example, volume is converted to mass, then mass is converted to cost. The reverse composition would require a cost to be entered into a function designed for volume, so it has no meaningful interpretation here.
A useful check is to evaluate the inner function first: , then . This must match the simplified rule.
The domain must also make contextual sense. Here, volume cannot be negative, so a suitable domain is . More formally, must be in the domain of , and must lie in the domain of .
A common misconception is that . This is generally false because changing the order changes which process happens first.
Exam Technique
This is AHL 2.7: Composite functions, so it is HL-only content and may appear in any GDC-active Math AI HL paper. Show the substitution explicitly, simplify accurately, state the contextual meaning and units, and check whether the composite function requires a restricted domain.