When does a function have an inverse, and how do we form, evaluate and graph composite and inverse functions?
Form composite functions, determine when a function has an inverse, find and graph the inverse, and use restriction of domain to invert non-one-to-one functions
A focused answer to the HSC Maths Advanced dot point on composite and inverse functions. Composition order and domain, the horizontal line test, finding the inverse by swapping and solving, the reflection in , and restricting domains to invert non-one-to-one functions, with worked examples.
Reviewed by: AI editorial process; not yet individually human-reviewed
Have a quick question? Jump to the Q&A page
What this dot point is asking
NESA wants you to form composite functions and , determine when a function has an inverse using the horizontal line test or one-to-one criterion, find the inverse algebraically, sketch it as the reflection in , and restrict the domain of a non-one-to-one function so an inverse exists.
The answer
Composite functions
The composite is the function : apply first, then to the result.
Domain: must be in the domain of , and must be in the domain of . In other words, the natural domain of is
Composition is not commutative: usually .
Composition is associative: .
When does an inverse exist
A function has an inverse (on its given domain) if and only if it is one-to-one: every value of in the range comes from exactly one .
Equivalent test (the horizontal line test): every horizontal line meets the graph at most once. Strictly increasing or strictly decreasing functions are automatically one-to-one. Many "natural" functions like , , , and are not one-to-one on their natural domain and need their domain restricted.
Finding an inverse algebraically
The inverse "undoes" : for and for .
To find from :
- Swap and .
- Solve for in terms of .
- State the domain of , which is the range of .
The inverse graph
The graph of is the reflection of the graph of in the line . Point on corresponds to on . Horizontal asymptotes of become vertical asymptotes of and vice versa.
If is increasing, so is . If is decreasing, so is .
See the inverse appear as a reflection, stage by stage
Take (whose inverse is , found below). The four panels build the inverse purely by reflecting in , with no algebra, so you can see why swapping coordinates is the same as mirroring.
Stage 1, draw the function and the mirror line. Plot and the dashed line . The line is the mirror; every point will be flipped across it. Mark the -intercept to track later.
Stage 2, reflect a single point. Take a point on , say . Reflecting in swaps its coordinates to give . The connector between them crosses at right angles, which is exactly what "reflection in " means.
Stage 3, reflect the whole graph. Reflect every point of in the same way and the images trace out a new straight line: . The original is now muted; its mirror image is the inverse, in accent. Because is increasing, so is its inverse.
Stage 4, read off the swapped intercepts. The reflection swaps the axes, so the -intercept of at becomes the -intercept of at . This is the graphical face of "domain and range swap" and is a quick way to sketch an inverse without finding its equation.
Restricting the domain
For a non-one-to-one function , choose a domain on which is one-to-one, then invert. Different restrictions give different inverses.
- : restrict to to get . Restricting to gives .
- : standard restriction is . Inverse is on .
- : standard restriction is . Inverse is on .
Operations and inverses
The inverse of a composition reverses the order:
provided both inverses exist on appropriate domains. Think of putting on socks then shoes: to undo, take off shoes then socks.
How exam questions ask about composite and inverse functions
These dot points are examined with a small set of recurring instructions. Translate each one to the method:
- "Find and ." Substitute the inner function into the outer one, both ways, and simplify. They usually differ, so compute both; do not assume symmetry (2022 HSC Q18).
- "State the domain of ." Two conditions: in the domain of , and in the domain of . The binding one is whichever restricts more.
- "Find " or "find the inverse function." Swap and , solve for , and state the domain of (which is the range of ).
- "Does have an inverse?" or "is one-to-one?" Apply the horizontal line test, or argue is strictly increasing/decreasing. If it fails, the answer is no on that domain.
- "State a restriction so that has an inverse, then find it." Pick an interval on which is monotonic (for , take or ), then invert; the restriction decides the sign of the square root (2021 HSC Q19).
- "Sketch and on the same axes." Draw , draw dashed, and reflect; mark that intercepts and asymptotes swap axes. You do not need the inverse's equation to draw it.
- "Show that " or "verify the inverse." Compute (and/or ) and show it simplifies to .
- "Where do and meet?" For an increasing , intersections lie on , so solve .
Exam-style practice questions
Practice questions written in the style of NESA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.
2022 HSC Q184 marksLet and . Find , , and the inverse function .Show worked answer β
Composition is "outside applied to inside".
.
.
To invert , swap and and solve: .
.
Markers reward correct composition in both orders (they differ), the swap-and-solve method for the inverse, and a tidy final expression.
2021 HSC Q194 marksThe function is not one-to-one on . State a domain restriction that makes one-to-one, find the inverse on that restricted domain, and state the domain and range of the inverse.Show worked answer β
Restrict to . On this domain, is increasing and one-to-one, with range .
Inverse: swap and in to get with , so .
on domain with range .
Markers expect a domain choice that yields a one-to-one function, a correct inverse derived by swap-and-solve with the right sign, and a domain and range that match.
Related dot points
- Apply translations, reflections and dilations to the graph of a function and identify the resulting equation
A focused answer to the HSC Maths Advanced dot point on graph transformations. Vertical and horizontal translations, reflections in the axes, vertical and horizontal dilations, the order of combined transformations, and how each affects the equation, with worked examples.
- Sketch graphs of sums, differences, products, quotients, squares and reciprocals of two known functions
A focused answer to the HSC Maths Advanced dot point on combining functions graphically. How to build sketches of , , , and from the graphs of and , where features come from, and what asymptotes and zeros do, with worked examples.
- Graph exponential and logarithmic functions, identify their asymptotes, use the reflection in the line y=x that makes them inverse functions, apply translations, reflections and dilations, and state the domain and range of each
The Year 11 Maths Advanced answer on exponential and logarithmic graphs: the shapes of y=a^x and y=log_a x, their horizontal and vertical asymptotes, why the two curves are exact mirror images in the line y=x, how translations, reflections and dilations move them, and how to state domain and range, with code-checked diagrams and original practice questions.
- Sketch and interpret graphs of , and , identifying amplitude, period, phase shift and vertical shift
A focused answer to the HSC Maths Advanced dot point on graphs of trigonometric functions. Key features of , and , and how amplitude , period , phase shift and vertical shift transform them, built up stage by stage, with worked examples.