Composite and inverse functions (SACE Stage 2 Specialist Mathematics)
“Form composite functions and find inverse functions, attending to domain and range and the condition for an inverse to exist.”
A composite means "do first, then ": , and it is only defined where lands in the domain of . A function has an inverse exactly when it is one-to-one (passes the horizontal line test). To find , swap and and solve for ; its graph is the reflection of in the line , with domain and range swapped.
Jump to a section
What this dot point is asking
You need to form composite functions with correct domains, determine when an inverse function exists, find inverse functions, and relate a function and its inverse graphically.
Composite functions
The composite applies first and feeds the result into . Order matters: in general .
is defined only when is in the domain of and lies in the domain of . Always check the inner output is allowed as an input to the outer function - the natural domain of the composite can be smaller than the domain of alone.
For example, if and , then , defined only for , even though itself is defined for all real .
When does an inverse exist?
An inverse function reverses : if then . For this reversal to be a function, each output must come from exactly one input.
A function is one-to-one (injective) if different inputs always give different outputs. Graphically, it passes the horizontal line test: no horizontal line meets the graph more than once. A function has an inverse function if and only if it is one-to-one. A many-to-one function (such as on all of ) has no inverse unless its domain is restricted.
Restricting the domain can create an inverse: on is one-to-one and has inverse .
Finding an inverse algebraically
The mechanical recipe: write , swap and , then solve for . The domain of is the range of , and the range of is the domain of .
Find the inverse of , stating its domain
The domain of excludes .
Step 1: Swap and
The mechanical recipe for finding an inverse is to write and then swap the roles of and . This reflects the graph in the line , which is exactly what inversion does geometrically.
Set and swap variables:
Step 2: Solve for algebraically
Multiply both sides by to clear the denominator, then collect all terms on one side and factor.
Collect terms:
So
Step 3: Determine the domain of from the range of
The domain of is the range of , because the inverse swaps inputs and outputs. As , , and is never attained (the horizontal asymptote is approached but not reached), so the range of is all reals except .
Hence the domain of is , consistent with the denominator .
Final answer: , domain .
Composing more than two functions
Composition extends to three or more functions, applied from the inside out. For you evaluate first, feed the result to , then to . Each layer narrows the domain: a value is allowed only if it survives every stage. This nesting is exactly the structure the chain rule differentiates, so a clear grasp of composition here pays off directly in the calculus topics. When asked to decompose a function - to write as - identify the outer operation () and the inner expression (); the decomposition is rarely unique, but the natural one names the last operation performed as the outer function.
The graphical relationship
The graph of is the reflection of the graph of in the line . Consequently a point on corresponds to on , and any intersection of with its inverse lies on the line (for increasing functions). Composing a function with its inverse returns the input:
each on the appropriate domain.
To check your inverse is correct, compute ; it should simplify to . This catches algebra slips far more reliably than re-reading the rearrangement.
- Reversing the order of composition
- applies first. Writing instead is a frequent error.
- Ignoring the composite's domain
- The inner function's output must be a legal input for the outer function; the composite domain may be smaller than expected.
- Inverting a many-to-one function
- A function with no domain restriction may fail the horizontal line test and have no inverse. State and use a restricted domain when needed.
- Forgetting to swap domain and range
- The domain of is the range of . Stating the inverse rule without its restricted domain is an incomplete answer.
Exam-style questions
Questions in the style of SACE Board exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.
SACE 2022-style2 marksCalculator-assumed. The graph of is drawn for . Explain why is a function but does not have an inverse function.Show worked answer →
is a function because every in maps to exactly one value of ; the graph passes the vertical line test. [1 mark]
However, is not one-to-one over this domain: the curve rises then falls (it has a maximum), so a horizontal line such as cuts the graph more than once, meaning two different values give the same output. [1 mark]
For an inverse to exist the function must be one-to-one (pass the horizontal line test), so the domain would need restricting to an interval on which is strictly monotonic.
SACE 2022-style1 markCalculator-assumed. The rule is restricted to a domain on which it is one-to-one. Explain why this restricted function does have an inverse.Show worked answer →
Since , restricting the domain to an interval on which it is strictly monotonic makes the function one-to-one. [1 mark]
Because each output is now produced by exactly one input, the graph passes the horizontal line test, so the mapping can be reversed: every in the range corresponds to a single . A one-to-one function always has an inverse.
SACE 2023-style3 marksCalculator-free. Given for , find and state its domain.Show worked answer →
Set and swap variables: .
Solve: , so , giving , hence and .
So (this function is self-inverse). The domain of is the range of , which is .
Marks: one for swapping and rearranging, one for solving for , one for stating the domain .