← Back to the lesson

Pure Mathematics 1 (9709) · Functions · Quick revision

Composite functions and their domains

Read the order

fg(x)=f(g(x))fg(x)=f(g(x)). Apply gg first, then feed its output into ff. Put the full inside expression into every input position.

For f(x)=5−2xf(x)=5-2x on [−2,3)[-2,3) and g(x)=x+1g(x)=x+1 on R\mathbb R, the two orders give different results at x=1x=1.

For fg of 1, applying g and then f gives 1. Applying f and then g gives 4.

Check both domains

Check that xx is allowed in gg and g(x)g(x) is allowed in ff. For all of gg's domain to work, its whole range must lie inside the domain of ff.

In the example above, solve −2≤x+1<3-2\le x+1<3. The domain of the restricted composite fgfg is [−3,2)[-3,2).

Keep exclusions and recover rules

Record square-root conditions and both sets of denominator restrictions before simplifying. To recover an inside rule, undo the outside rule. To recover an outside rule, express the composite in terms of the first output and state where it is reached.