2.10 Composite and inverse functions — Learn
Prerequisites: substituting into an expression; rearranging a formula; solving a modulus equation from 2.9; the graph of .
By the end of this section you can: use function notation and state a domain and a range; form a composite function and explain why order matters; decide whether a function has an inverse; and find an inverse by rearranging, including after restricting the domain.
1. Function language
A function is a rule that turns each allowed input into exactly one output. The set of allowed inputs is the domain, and the set of outputs is the range.
has the whole real line as its domain and the whole real line as its range.
A function is one-to-one when different inputs always give different outputs. Only a one-to-one function can be reversed, because the reverse rule must give a single answer for each output.
2. Composite functions
A composite function applies one function and then another. The notation , often written , means "apply first, then ".
Example 1. Given and , find and .
Substitute into :
Substitute into :
The two answers are different, so and are not the same. The order of the functions matters. Work from the inside out.
The domain of a composite is the set of inputs allowed by the first function applied, and then by the second. If and , then needs .
3. Inverse functions
The inverse function undoes . If sends to , then sends back to . Composing a function with its inverse returns the input:
To find an inverse, write , make the subject, then swap the letters.
Example 2. Find the inverse of .
Write . Add :
Divide by :
Swap the letters to name the inverse as a function of :
Check: .
Example 3. Find the inverse of , where .
Write and multiply both sides by :
Expand and collect the terms on one side:
Divide by :
Swap the letters:
4. The graph of an inverse
The graph of is the graph of reflected in the line . The reflection swaps the two coordinates, which is exactly what reversing a function does. The domain of is the range of , and the range of is the domain of .
Example 4. The function has domain . Find its inverse.
Write . Then . The domain selects the positive root, so . Swap the letters:
Without the restriction, has no inverse: , so the reverse rule would not know whether to return or .
Watch out. Two errors appear again and again.
Treating as a product. means , not .
Assuming every function has an inverse. A function must be one-to-one. is not, so restrict its domain; a function such as is one-to-one already.
Re-check: after finding an inverse, compose both ways. Both compositions must give on the allowed domain.
5. Try it: reflecting a graph in
Predict first. The figure draws the line and its reflection in the line . Before you touch the sliders, choose a point on the line, read its two coordinates, and predict the coordinates of its image. Write the prediction down.
Test. Move the slider for the position of along the graph, and watch the image. Then change the gradient and the intercept of , and watch both lines move together.
Explain. Write two sentences saying why the image of the point is , and why the reflected graph is the graph of the inverse function.
Progress check
Return to the chapter problem. The height of the arch at a distance from the centre is
- State the domain and the range of .
- Show that is not one-to-one by comparing and .
- Restrict the domain to and find the inverse function .
- Use the inverse to find the distance from the centre at which the arch is m high. Compare your answer with the interval you found in 2.6.
You should now be able to
- use function notation and state a domain and a range;
- form a composite function and explain why order matters;
- decide whether a function is one-to-one and so has an inverse;
- find an inverse by rearranging and swapping the letters;
- restrict a domain to make an inverse possible;
- state the domain and range of an inverse.