While IB occasionally specifically ask about composite functions, the more common usage is to recognize composite functions when differentiating, to be able to apply the chain rule, and in HL to recognize integration by substitution.
Given some composite function h(x)=(f∘g)(x), if and only ifg(x0) is part of f’s domain, then x0 is part of h’s domain, and (f∘g)(x0) is part of h’s range.
Domain and range
Finding domain and range of a composite function does not come up often, could get time-consuming, and typically the given question is somewhat simple. It’s not worth it to spend too much time practising this.
Example: Find domain and range of f(x)=2lnx+4−1.
Define inner function gi(x)=2lnx+4, and outer function go(x)=x−1, such that f(x)=(go∘gi)(x).
go only accepts non-negative numbers. We need
gi(x)=2lnx+4lnxx≥0≥−2≥e−2
Note: SL students only have to solve linear and quadratic inequalities.
We were able to exploit the fact that lnx is strictly increasing, such that lnb>lna⟺b>a
Restricting gi(x) to x≥e−2 is still able to cover the entire domain of go. So the range of go∘gi is same as the range of go, which is y≥−1.
Domain: x≥e−2. Range: y≥−1■
Properties
f∘g is generally not g∘f
(h∘g)∘f=h∘(g∘f)
Assuming f and g are invertible, then combining previous property with properties of inverse functions we get
g−1∘g∘f=f
g∘f−1∘f=g
and also
g∘g−1∘f=f
g∘f∘f−1=g
But
f∘g∘f−1=g
g∘f∘g−1=f
The following two examples are two different cases. First one is given f and g∘f to find g; second is given g and g∘f to find f.
Example: Let f(x)=3x−1 and (g∘f)(x)=34x−2. Find g(−2).
Method 1:g=g∘f∘f−1
To find f−1, we solve for y in x=3y−1. This requires knowledge of logarithms. A quick refresher is that 8=23⟺log28=3.