Skip to main content
ExamExplained
TAS · Specialist Mathematics
Specialist Mathematics study scene
§-Syllabus dot point
TASSpecialist MathematicsSyllabus dot point

How do we combine functions and reverse them while keeping domain and range correct?

Form composite and inverse functions, determining the correct domain and range of each.

Composition of functions, the existence of inverses, finding inverse functions and restricting domains, with attention to domain and range, for TCE Mathematics Specialised Unit 3.

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

This dot point opens the functions and sketching graphs topic. Before sketching the more exotic graphs in this strand, you need full control of how functions combine and reverse, and a disciplined habit of tracking domain and range at every step.

Composition of functions

The composite function fgf \circ g is defined by (fg)(x)=f(g(x))(f \circ g)(x) = f(g(x)): apply gg first, then ff. Order matters, because in general f(g(x))g(f(x))f(g(x)) \ne g(f(x)).

For example, if f(x)=xf(x) = \sqrt{x} (domain x0x \ge 0) and g(x)=x4g(x) = x - 4, then f(g(x))=x4f(g(x)) = \sqrt{x - 4} requires x40x - 4 \ge 0, so the domain of the composite is x4x \ge 4, narrower than the domain of gg alone.

Inverse functions

The inverse f1f^{-1} undoes ff, so f1(f(x))=xf^{-1}(f(x)) = x. An inverse function exists only when ff is one-to-one, meaning no horizontal line crosses the graph more than once. If ff is many-to-one, you must restrict its domain to a piece on which it is one-to-one before an inverse exists.

Finding an inverse

To find an inverse: write y=f(x)y = f(x), swap xx and yy, then solve for yy. State the domain of the inverse, which equals the range of the original.

Checking with composition

A reliable check is to confirm f(f1(x))=xf(f^{-1}(x)) = x. Here f(f1(x))=(x+4)24=x+44=xf(f^{-1}(x)) = (\sqrt{x + 4})^2 - 4 = x + 4 - 4 = x on the stated domain. If the composition does not return xx, an algebra error or a domain mistake has crept in.

Inverses of rational functions

Many TASC questions ask for the inverse of a rational function of the form f(x)=ax+bcx+df(x) = \dfrac{ax + b}{cx + d}. The method is always the same: write y=f(x)y = f(x), swap xx and yy, then solve the resulting equation for yy by clearing the denominator and collecting the yy terms on one side. The domain of the inverse is found from the range of the original, and for these functions the excluded value of the inverse is the horizontal asymptote of ff (namely y=acy = \tfrac{a}{c}).

Why this matters

Composition and inverses underpin the rest of the sketching topic, where reciprocal, absolute value and rational functions are all built by transforming and combining simpler functions. Tracking domain and range carefully here prevents errors that would otherwise propagate into every later graph.

Exam-style practice questions

Practice questions written in the style of TASC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

TCE 20235 marksLet f(x)=2x+1x3f(x) = \dfrac{2x + 1}{x - 3} for x3x \ne 3. (a) Find the inverse function f1(x)f^{-1}(x) and state its domain. (b) Hence show that ff is self-inverse, that is f(f(x))=xf(f(x)) = x.
Show worked answer →

(a) Set y=2x+1x3y = \dfrac{2x + 1}{x - 3} and swap xx and yy: x=2y+1y3x = \dfrac{2y + 1}{y - 3}. Clear the denominator: x(y3)=2y+1x(y - 3) = 2y + 1, so xy3x=2y+1xy - 3x = 2y + 1. Collect the yy terms: xy2y=3x+1xy - 2y = 3x + 1, so y(x2)=3x+1y(x - 2) = 3x + 1 and y=3x+1x2y = \dfrac{3x + 1}{x - 2}. Hence f1(x)=3x+1x2f^{-1}(x) = \dfrac{3x + 1}{x - 2}, with domain x2x \ne 2 (the value x=2x = 2 is the horizontal asymptote of ff, which ff never attains). (3 marks)

(b) Since f1(x)=3x+1x2f^{-1}(x) = \dfrac{3x + 1}{x - 2}, this is a different expression from ff, so ff is not literally identical to its inverse; instead verify directly. f(f(x))=2(2x+1x3)+12x+1x33f(f(x)) = \dfrac{2\left(\frac{2x+1}{x-3}\right) + 1}{\frac{2x+1}{x-3} - 3}. Multiply top and bottom by x3x - 3: the numerator becomes 2(2x+1)+(x3)=5x12(2x + 1) + (x - 3) = 5x - 1 and the denominator becomes (2x+1)3(x3)=x+10(2x + 1) - 3(x - 3) = -x + 10. This is not identically xx, so ff is not self-inverse; the verification shows the composite is 5x110x\dfrac{5x - 1}{10 - x}, confirming that you must compute f1f^{-1} by the swap-and-solve method rather than assuming self-inversion. Markers reward the correct swap-and-solve inverse and a stated domain. (2 marks)

TCE 20244 marksGiven f(x)=x2f(x) = \sqrt{x - 2} (domain x2x \ge 2) and g(x)=x2+1g(x) = x^2 + 1, find f(g(x))f(g(x)) and state its domain and range.
Show worked answer →

Compute the composite: f(g(x))=g(x)2=x2+12=x21f(g(x)) = \sqrt{g(x) - 2} = \sqrt{x^2 + 1 - 2} = \sqrt{x^2 - 1}.

The composite requires g(x)g(x) to lie in the domain of ff, that is g(x)2g(x) \ge 2. So x2+12x^2 + 1 \ge 2, giving x21x^2 \ge 1, that is x1x \le -1 or x1x \ge 1. This is the domain of f(g(x))f(g(x)).

For the range, x210x^2 - 1 \ge 0 over this domain and is unbounded above, so x210\sqrt{x^2 - 1} \ge 0 and the range is y0y \ge 0. Markers reward checking that the range of the inner function lands in the domain of the outer function, the restricted domain x1x \le -1 or x1x \ge 1, and the range y0y \ge 0.

ExamExplained