Composite and inverse functions
Studying this course? Keep your progress in one place.
Key facts
- A function gives each input in its domain exactly one output; the outputs form the range.
- : do first, then . In general .
- An inverse function exists only if is one-one; restrict the domain if needed.
- The domain of is the range of , and the range of is the domain of .
- The graph of is the reflection of in the line .
Domain, range and types
A function maps each input in its domain to exactly one output; the outputs make up the range.
A function is written or . The domain is the set of allowed inputs and the range is the set of outputs. The range depends on the domain: has range for but for .
A relation such as gives two outputs for one input, so it is not a function.
Worked example
Find the range of , .
- 1
Complete the square: .
- 2
The minimum is , at , and increases for .
One-one
- Each output from exactly one input
- e.g. f(x) = x³
Many-one
- Some outputs from two or more inputs
- e.g. f(x) = x², f(2) = f(−2)
Is , , one-one or many-one?
Composite functions
means : apply first, then .
With and :
A composite function is only defined where the range of lies inside the domain of . For and , needs . Repeated application is .
- 1
Input x
the starting value
- 2
Apply g
the nearest function acts first
- 3
Apply f
to the output of g
- 4
Output fg(x)
the final result
Worked example
With and , find and .
- 1
.
- 2
.
If and , what is ?
Inverse functions
Make the subject of , swap, and state the domain as the range of .
The inverse function undoes , so . It exists only for one-one functions, so use a restricted domain for a many-one function first.
The restricted domain tells you which root to take: never leave in an inverse.
- 1
Write y = f(x)
replace f(x) by y
- 2
Rearrange
make x the subject
- 3
Swap
replace y by x
- 4
State the domain
the range of the original f
Worked example
Find the inverse of , .
- 1
, so .
- 2
As , take the positive root: .
- 3
Swap: , with domain .
Worked example
Find the inverse of .
- 1
, so .
- 2
, so .
What is the inverse of ?
Graphs of inverses
is the reflection of in the line .
Inputs and outputs swap, so if is on then is on . This is a reflection in y = x. A vertical asymptote of becomes a horizontal asymptote of , and the reverse.
Where an increasing function meets its inverse the point lies on , so solve .
The point is on . Which point is on ?
Putting it together
Check domains and ranges first, simplify with inverse pairs such as , then solve.
To state the domain of a composite, check that the inner function’s range fits the outer domain. For and , is defined for all real .
Simplify with : . Always give the domain of an inverse.
- Domain of f⁻¹range of f
- Range of f⁻¹domain of f
Worked example
With and , solve .
- 1
.
- 2
gives , so .
- 3
needs , so and . Reject .
If the range of is , what is the domain of ?
Try an exam question
The function is defined by , . Find the range of , then find and state its domain.
[5 marks]
- [1]Completes the square: .
- [1]Range: .
- [1]Rearranges to .
- [1], taking the positive root as .
- [1]Domain of is .
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the value of .
1 mark, marked against the mark scheme
Find the value of .
1 mark, marked against the mark scheme