3.2 - Composite and inverse functions
Learn to combine function rules in the right order and find a function that reverses a mapping. You will keep track of allowed inputs and choose the correct square-root branch when an inverse needs a domain restriction. This lesson is for Higher students.
The order of a composite function (Higher)
Two machines use the rules “double, then subtract ” and “square, then add ”. Starting with , can reversing their order really change the final answer? We will get one way and the other.
You already know
A function gives one output for each allowed input. In , replace every input variable in the rule for by the whole expression , using brackets where needed.
A second machine can act on the first machine's output. Read a nested expression from the innermost brackets outwards.
Composite function
A composite function applies one function, then another. Pearson's notation is
It means do first, then . It does not mean multiply the two outputs. This notation is not supplied on the Higher formulae sheet: learn it.
For the opening machines, let and , both with all real inputs. When forming a rule, insert the complete inner expression into the outer rule before expanding.
Worked example 1: apply the rightmost function first
Question. For and , find and .
Plan. Apply , then substitute its output into .
Why double the whole bracket? The input to is , including its constant.
Answer. , and .
Check. Directly, goes to , then .
Now change only the order. The same functions and same starting input will give a different answer.
Worked example 2: reverse the order
Question. For and , find and .
Plan. Apply , then substitute its output into .
Why retain the bracket before squaring? The output of is the entire expression .
Answer. , and .
Check. Directly, , then .
The opening puzzle shows that order matters: and are usually different functions, although some special pairs do give the same rule.
Watch out
The wrong line applies first. That is . For , start with : .
Write the nested form first when unsure of the order. It makes the first operation visible.
Allowed inputs of a composite (Higher)
A composite is a journey through two domains. The starting input must be allowed by the first function; its output must then be allowed by the second. A restriction on an intermediate value can therefore exclude a different starting input.
For , first check the domain of , then require to lie in the domain of . The Higher formulae sheet does not supply these domain rules. Use the original functions, even if later simplification hides a restriction.
Worked example 3: an intermediate value is forbidden
Question. Let and , each with its largest real domain. Find and its domain.
Plan. Substitute into , then exclude an intermediate input of .
Why exclude , rather than ? Starting at makes output , which cannot accept.
Answer. , with domain all real .
Check. At , the intermediate value is , and , so is allowed here.
Change only the outer operation: replace the reciprocal by a square root, so , and keep . Now the intermediate value must be at least , rather than merely different from .
Worked example 4: a square-root restriction
Question. Let and , each with its largest real domain. Find and its domain.
Plan. Substitute into the root and require its inside expression to be nonnegative.
Why include ? The intermediate value is , giving output , which is defined.
Answer. , with domain .
Check. Starting at gives , then ; the composite also gives .
Order affects the domain as well as the expression. For the original reciprocal and , reversing the order gives
Here acts first, and adding creates no further exclusion. Also retain a restriction if cancellation hides it: composing with itself simplifies to , but input remains forbidden.
Watch out
The wrong restriction “” for copies the outer function's restriction without checking what reaches it. Solve , giving .
Check the root condition on the complete substituted expression in the next problem.
Finding an inverse algebraically (Higher)
If a machine triples its input and adds , undo it by subtracting and dividing by . Reverse both the operations and their order.
Inverse function
An inverse function, written , reverses a function's input-output pairs. Its domain is the original range, and its range is the original domain. The notation does not mean the reciprocal .
To find a rule, write , solve for the old input , then use as the input name in the inverse rule. These inverse methods are not supplied on the Higher formulae sheet.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account