Skip to main content

Inverse and composite functions (VCE Maths Methods Unit 1)

Syllabus dot point

“Define inverse and composite functions, identify when an inverse function exists (one-to-one), find inverse functions algebraically, and graph inverse and composite functions”

7 min read

Quick answer

An inverse f−1f^{-1} exists only when ff is one-to-one (passes the horizontal line test); find it by swapping xx and yy in y=f(x)y=f(x) and solving, swapping domain and range, and reflecting in y=xy=x. A composite (f∘g)(x)=f(g(x))(f\circ g)(x)=f(g(x)) applies gg first and is not commutative.

Jump to a section
  1. What this dot point is asking
  2. What is an inverse function
  3. When does an inverse exist
  4. Finding f−1f^{-1} algebraically
  5. Graphical relationship
  6. Composite functions
  7. Domain of a composite
  8. Restricting the domain to create an inverse
  9. The graphical link and self-inverse functions
  10. In one sentence
  11. Examples in context
  12. Try this
  13. Exam-style questions

What this dot point is asking

VCAA wants you to define inverse and composite functions, find inverses algebraically when one exists, restrict domains when necessary, and connect inverse functions graphically (reflection in y=xy = x).

What is an inverse function

A function f−1f^{-1} is the inverse of ff if:

f(f−1(x))=xandf−1(f(x))=xf(f^{-1}(x)) = x \quad \text{and} \quad f^{-1}(f(x)) = x

The inverse undoes what the function does.

When does an inverse exist

A function has an inverse only if it is one-to-one: each yy-value comes from exactly one xx-value. Equivalently, the function passes the horizontal line test.

Most polynomials of even degree are not one-to-one over their full domain. To define an inverse, restrict the domain so the function becomes one-to-one (e.g. x≥2x \ge 2 for f(x)=(x−2)2f(x) = (x-2)^2).

Finding f−1f^{-1} algebraically

  1. Write y=f(x)y = f(x).
  2. Swap xx and yy.
  3. Solve for yy in terms of xx.
  4. Choose the correct branch (using the domain restriction).
  5. The result is f−1(x)f^{-1}(x).

Graphical relationship

The graph of y=f−1(x)y = f^{-1}(x) is the reflection of y=f(x)y = f(x) in the line y=xy = x. Domain and range swap:

dom(f−1)=ran(f),ran(f−1)=dom(f)\text{dom}(f^{-1}) = \text{ran}(f), \quad \text{ran}(f^{-1}) = \text{dom}(f)

Composite functions

(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)). Apply gg first, then ff.

For f(x)=x2f(x) = x^2 and g(x)=x+3g(x) = x + 3:

  • (f∘g)(x)=f(g(x))=(x+3)2(f \circ g)(x) = f(g(x)) = (x + 3)^2.
  • (g∘f)(x)=g(f(x))=x2+3(g \circ f)(x) = g(f(x)) = x^2 + 3.

Composition is not commutative in general: f∘g≠g∘ff \circ g \neq g \circ f.

Domain of a composite

For f∘gf \circ g, the domain is {x∈dom(g):g(x)∈dom(f)}\{x \in \text{dom}(g) : g(x) \in \text{dom}(f)\}. Both conditions must hold.

Restricting the domain to create an inverse

Many functions are not one-to-one over their natural domain, so VCAA requires you to restrict the domain to the largest interval on which ff is one-to-one before an inverse exists. For a parabola f(x)=(x−h)2+kf(x) = (x - h)^2 + k, the turning point at x=hx = h is the boundary: restricting to x≥hx \ge h (the increasing branch) or x≤hx \le h (the decreasing branch) makes ff one-to-one. The branch you choose determines the sign taken when you solve for yy, so always carry the restriction through to the final answer and use it to select between the ++ and −- square root.

The same idea governs  \sqrt{\,} and reciprocal functions: state the maximal domain that keeps the function one-to-one, then the inverse exists on the corresponding range. Examiners frequently penalise answers that produce a "±\pm" inverse, because an inverse must itself be a function (one output per input).

Because reflecting in y=xy = x swaps the roles of xx and yy, the graph of f−1f^{-1} is the mirror image of ff in that line. A consequence worth remembering for the exam: where ff and f−1f^{-1} intersect, they often meet on the line y=xy = x (so solving f(x)=xf(x) = x can locate intersection points more quickly than solving f(x)=f−1(x)f(x) = f^{-1}(x) directly). A function that is its own inverse, such as f(x)=1xf(x) = \dfrac{1}{x} or f(x)=a−xf(x) = a - x, is symmetric in the line y=xy = x, so f(f(x))=xf(f(x)) = x for all valid xx.

Finding and verifying an inverse

Step 1: Write the function as an equation in xx and yy

To find the inverse of f(x)=2x+1f(x) = 2x + 1, rewrite the rule as an equation by replacing f(x)f(x) with yy. This lets us treat xx and yy symmetrically in the next step.

y=2x+1y = 2x + 1

Step 2: Swap xx and yy, then solve for yy

The inverse function reverses the roles of input and output, so we exchange xx and yy and then isolate the new yy. Subtracting 11 from both sides and then dividing by 22 gives the inverse rule.

x=2y+1  ⟹  x−1=2y  ⟹  y=x−12x = 2y + 1 \implies x - 1 = 2y \implies y = \dfrac{x - 1}{2}

So f−1(x)=x−12f^{-1}(x) = \dfrac{x - 1}{2}.

Step 3: Verify using both composite orders

A true inverse must satisfy f(f−1(x))=xf(f^{-1}(x)) = x and f−1(f(x))=xf^{-1}(f(x)) = x. We check both directions to confirm there is no mistake in the algebra.

f(f−1(x))=2⋅x−12+1=(x−1)+1=x✓f(f^{-1}(x)) = 2 \cdot \dfrac{x - 1}{2} + 1 = (x - 1) + 1 = x \checkmark

f−1(f(x))=(2x+1)−12=2x2=x✓f^{-1}(f(x)) = \dfrac{(2x + 1) - 1}{2} = \dfrac{2x}{2} = x \checkmark

Step 4: State the domain and range of the inverse

Because ff is a linear function with no restrictions, its domain and range are both all real numbers R\mathbb{R}. Swapping domain and range for the inverse gives the same result: f−1f^{-1} also has domain and range R\mathbb{R}.

Final answer: f−1(x)=x−12f^{-1}(x) = \dfrac{x - 1}{2}, with domain and range R\mathbb{R}.

Common traps
Treating f−1f^{-1} as 1/f1/f
f−1f^{-1} is the inverse function (a different concept from the reciprocal). For f(x)=2x+1f(x) = 2x + 1, the inverse is x−12\dfrac{x - 1}{2}, not 12x+1\dfrac{1}{2x + 1}.
Forgetting to restrict the domain
f(x)=x2f(x) = x^2 has no inverse over all real xx, but ff restricted to x≥0x \ge 0 has inverse f−1(x)=xf^{-1}(x) = \sqrt{x}.
Confusing composite functions with multiplication
f∘gf \circ g means f(g(x))f(g(x)), not the product f(x)g(x)f(x)g(x).
Ignoring the composite-domain test
(f∘g)(x)(f \circ g)(x) is only defined where g(x)g(x) lies in the domain of ff; check ran(g)⊆dom(f)\text{ran}(g) \subseteq \text{dom}(f).

In one sentence

A function has an inverse f−1f^{-1} only when it is one-to-one (passes the horizontal line test); f−1f^{-1} is found by swapping xx and yy in y=f(x)y = f(x) and solving, has domain and range swapped from ff, and is graphed as the reflection of ff in the line y=xy = x; composite functions (f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)) apply gg first then ff and are generally non-commutative.

Examples in context

Example 1. Converting a unit-conversion rule. A currency desk converts Australian dollars to a foreign amount with f(x)=1.4x−2f(x) = 1.4x - 2 (a 1.41.4 rate minus a $2\$2 fixed fee). To recover the dollars paid from the foreign amount received, invert: y=1.4x−2y = 1.4x - 2, swap to x=1.4y−2x = 1.4y - 2, solve y=x+21.4y = \frac{x + 2}{1.4}. So f−1(x)=x+21.4f^{-1}(x) = \frac{x + 2}{1.4}. A foreign amount of 19.619.6 came from f−1(19.6)=21.61.4=15.43f^{-1}(19.6) = \frac{21.6}{1.4} = 15.43 dollars, and indeed f(15.43)≈19.6f(15.43) \approx 19.6.

Example 2. Composing two processes. A factory applies a markup g(x)=1.1xg(x) = 1.1x then a flat handling charge f(x)=x+5f(x) = x + 5. The total cost is the composite (f∘g)(x)=f(g(x))=1.1x+5(f \circ g)(x) = f(g(x)) = 1.1x + 5. Applied to a $40\$40 item: 1.1(40)+5=$491.1(40) + 5 = \$49. Reversing the order, (g∘f)(x)=1.1(x+5)=1.1x+5.5(g \circ f)(x) = 1.1(x + 5) = 1.1x + 5.5, gives $49.50\$49.50, confirming composition is not commutative.

Try this

Q1. Find the inverse of f(x)=3x−7f(x) = 3x - 7. [2 marks]

  • Cue. Swap and solve: f−1(x)=x+73f^{-1}(x) = \frac{x + 7}{3}.

Q2. For f(x)=x2+1f(x) = x^2 + 1 with domain x≤0x \le 0, find f−1(x)f^{-1}(x) and state its domain. [3 marks]

  • Cue. x=y2+1⇒y=−x−1x = y^2 + 1 \Rightarrow y = -\sqrt{x - 1} (negative branch from x≤0x \le 0); domain x≥1x \ge 1.

Q3. Let f(x)=2xf(x) = 2x and g(x)=x−3g(x) = x - 3. Find (f∘g)(x)(f \circ g)(x) and (g∘f)(x)(g \circ f)(x). [2+2 marks]

  • Cue. (f∘g)(x)=2(x−3)=2x−6(f \circ g)(x) = 2(x - 3) = 2x - 6; (g∘f)(x)=2x−3(g \circ f)(x) = 2x - 3.

Exam-style questions

Questions in the style of VCAA 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.

Practice4 marks
Let f(x)=(x−2)2+1f(x) = (x - 2)^2 + 1 with domain restricted to x≥2x \ge 2. (a) Find f−1(x)f^{-1}(x). (b) State the domain and range of f−1f^{-1}.
Show worked answer →

(a) Find the inverse. Let y=(x−2)2+1y = (x - 2)^2 + 1.

Swap xx and yy: x=(y−2)2+1x = (y - 2)^2 + 1.

Solve for yy: (y−2)2=x−1(y - 2)^2 = x - 1, so y−2=±x−1y - 2 = \pm\sqrt{x - 1}.

Original domain was x≥2x \ge 2, which means y≥1y \ge 1 for the restricted ff. Choose the ++ branch: y=2+x−1y = 2 + \sqrt{x - 1}.

f−1(x)=2+x−1f^{-1}(x) = 2 + \sqrt{x - 1}.

(b) Domain and range of f−1f^{-1}. Domain of f−1f^{-1} = range of ff = [1,∞)[1, \infty). Range of f−1f^{-1} = domain of ff = [2,∞)[2, \infty).

Markers reward swap-and-solve, sign choice from the restricted domain, and the explicit swap of domain and range.

Practice5 marks
Let f(x)=2−1x−3f(x) = 2 - \dfrac{1}{x - 3} for x>3x > 3 and let g(x)=x2g(x) = x^2 for x≥0x \ge 0. (a) Find f−1(x)f^{-1}(x) and state its domain. (b) Determine whether the composite (f∘g)(x)(f \circ g)(x) is defined, justifying your answer.
Show worked answer →

(a) Write y=2−1x−3y = 2 - \dfrac{1}{x - 3}, swap to get x=2−1y−3x = 2 - \dfrac{1}{y - 3}, then solve: 1y−3=2−x\dfrac{1}{y - 3} = 2 - x, so y−3=12−xy - 3 = \dfrac{1}{2 - x} and f−1(x)=3+12−xf^{-1}(x) = 3 + \dfrac{1}{2 - x}.

The domain of f−1f^{-1} equals the range of ff. As x>3x > 3, x−3>0x - 3 > 0, so 1x−3>0\dfrac{1}{x - 3} > 0 and f(x)<2f(x) < 2; as x→∞x \to \infty, f(x)→2−f(x) \to 2^{-}. Range of ff is (−∞,2)(-\infty, 2), so the domain of f−1f^{-1} is x<2x < 2.

(b) For f∘gf \circ g to be defined, every output of gg must lie in dom(f)=(3,∞)\text{dom}(f) = (3, \infty). But ran(g)=[0,∞)\text{ran}(g) = [0, \infty), which includes values ≤3\le 3, so g(x)∈dom(f)g(x) \in \text{dom}(f) fails for those xx. Hence (f∘g)(x)(f \circ g)(x) is not defined over the full domain of gg; it is only defined where g(x)>3g(x) > 3, i.e. x>3x > \sqrt{3}.

Markers reward the correct inverse, the range argument for the domain, and the composite-domain test ran(g)⊆dom(f)\text{ran}(g) \subseteq \text{dom}(f).

Practise this

Sources & how we know this

ExamExplained