Skip to main content

Inverse and composite functions: VCE Math Methods Unit 2 Year 11

Syllabus dot point

“Composite functions f∘gf \circ g and g∘fg \circ f, the existence and form of inverse functions f−1f^{-1}, the relationship between a function and its inverse (reflection in y=xy = x, domain and range swap), and the one-to-one restriction”

8 min read

Quick answer

Composite functions apply one function inside another ((f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)), gg first then ff), and inverse functions f−1f^{-1} undo ff (f(f−1(x))=xf(f^{-1}(x)) = x); f−1f^{-1} exists only when ff is one-to-one (passes the horizontal line test), is found algebraically by swapping xx and yy and solving for yy, has swapped domain and range, and is graphed as the reflection of ff in the line y=xy = x.

Jump to a section
  1. What this dot point is asking
  2. Composite functions
  3. Inverse functions
  4. Verifying the inverse
  5. Examples in context
  6. Try this
  7. Exam-style questions

What this dot point is asking

VCAA wants you to construct composite functions, determine when an inverse function exists, find the inverse algebraically, and recognise the graphical relationship between a function and its inverse.

Composite functions

A composite function applies one function inside another:

(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x))

Read "f of g of x". Apply gg first, then ff.

The order matters: f∘gf \circ g is in general not the same as g∘fg \circ f.

Domain considerations: the composite f(g(x))f(g(x)) requires xx to be in the domain of gg, and g(x)g(x) to be in the domain of ff.

Worked example

f(x)=xf(x) = \sqrt{x}, g(x)=x−4g(x) = x - 4.

(f∘g)(x)=f(x−4)=x−4(f \circ g)(x) = f(x - 4) = \sqrt{x - 4}, defined for x≥4x \geq 4.

(g∘f)(x)=g(x)=x−4(g \circ f)(x) = g(\sqrt{x}) = \sqrt{x} - 4, defined for x≥0x \geq 0.

Different functions with different domains.

Inverse functions

The inverse of ff is the function f−1f^{-1} such that:

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

on appropriate domains.

When does f−1f^{-1} exist?

f−1f^{-1} exists if and only if ff is one-to-one: no two inputs map to the same output. Equivalently, ff passes the horizontal line test.

Functions that are not one-to-one (parabolas, sin⁡\sin on R\mathbb{R}) require a domain restriction to be invertible.

Finding f−1f^{-1} algebraically

  1. Write y=f(x)y = f(x).
  2. Swap xx and yy.
  3. Solve for yy.
  4. Write f−1(x)=f^{-1}(x) = (the solved expression).

Domain and range swap

Under inversion:

  • Domain of f−1f^{-1} = range of ff.
  • Range of f−1f^{-1} = domain of ff.

Graphical relationship

The graph of f−1f^{-1} is the reflection of the graph of ff in the line y=xy = x.

If (a,b)(a, b) is on ff, then (b,a)(b, a) is on f−1f^{-1}.

Intersections of ff and f−1f^{-1} lie on y=xy = x. To find them, solve f(x)=xf(x) = x.

Worked examples

Linear
f(x)=3x+2f(x) = 3x + 2. Swap: x=3y+2x = 3y + 2. Solve: y=(x−2)/3y = (x - 2)/3. So f−1(x)=(x−2)/3f^{-1}(x) = (x - 2)/3.
Quadratic with restriction
f:[0,∞)→[0,∞)f: [0, \infty) \to [0, \infty), f(x)=x2f(x) = x^2. Swap: x=y2x = y^2. Solve (positive root, since range of f−1f^{-1} is [0,∞)[0, \infty)): y=xy = \sqrt{x}. So f−1(x)=xf^{-1}(x) = \sqrt{x} on [0,∞)[0, \infty).
Exponential
f(x)=2xf(x) = 2^x. The inverse is f−1(x)=log⁡2(x)f^{-1}(x) = \log_2(x) on (0,∞)(0, \infty).

Verifying the inverse

To check g(x)=f−1(x)g(x) = f^{-1}(x), verify both f(g(x))=xf(g(x)) = x and g(f(x))=xg(f(x)) = x on the appropriate domains.

Common errors
Confusing f−1(x)f^{-1}(x) with 1/f(x)1/f(x)
Inverse function vs reciprocal. Different things.
Forgetting domain restriction
Asking for the inverse of x2x^2 on R\mathbb{R} is not well-defined. Restrict to make ff one-to-one.
Wrong root sign on quadratic inverse
Solving y=x2y = x^2 gives x=±yx = \pm\sqrt{y}; the correct sign depends on the restricted domain.
Composite order confusion
(f∘g)(x)=f(g(x))(f \circ g)(x) = f(g(x)): apply gg first. Many students apply ff first by mistake.
Domain ignored in composite
f(g(x))f(g(x)) requires xx in the domain of gg AND g(x)g(x) in the domain of ff.

Examples in context

Example 1. Chained discounts. An online store applies a 10%10\% discount g(p)=0.9pg(p) = 0.9p, then a $5\$5 voucher f(p)=p−5f(p) = p - 5. The final price is (f∘g)(p)=0.9p−5(f \circ g)(p) = 0.9p - 5. On a $50\$50 item that is 0.9(50)−5=$400.9(50) - 5 = \$40. To recover the original price from a final price, invert: y=0.9p−5y = 0.9p - 5 gives p=y+50.9p = \frac{y + 5}{0.9}, so f−1-stylef^{-1}\text{-style} reversal of $40\$40 returns 450.9=$50\frac{45}{0.9} = \$50.

Example 2. Temperature scale inverse. A sensor reports F(c)=1.8c+32F(c) = 1.8c + 32 (Celsius to Fahrenheit). Its inverse converts back: swap f=1.8c+32f = 1.8c + 32 to get c=f−321.8c = \frac{f - 32}{1.8}, so F−1(f)=f−321.8F^{-1}(f) = \frac{f - 32}{1.8}. A reading of 212∘212^\circF gives 1801.8=100∘\frac{180}{1.8} = 100^\circC, confirming F(100)=212F(100) = 212.

Try this

Q1. For f(x)=x+4f(x) = x + 4 and g(x)=3xg(x) = 3x, find (f∘g)(x)(f \circ g)(x) and (g∘f)(x)(g \circ f)(x). [2+2 marks]

  • Cue. (f∘g)(x)=3x+4(f \circ g)(x) = 3x + 4; (g∘f)(x)=3(x+4)=3x+12(g \circ f)(x) = 3(x + 4) = 3x + 12.

Q2. Find the inverse of f(x)=5x−1f(x) = 5x - 1 and verify f(f−1(2))=2f(f^{-1}(2)) = 2. [3 marks]

  • Cue. f−1(x)=x+15f^{-1}(x) = \frac{x + 1}{5}; f−1(2)=0.6f^{-1}(2) = 0.6, f(0.6)=3−1=2f(0.6) = 3 - 1 = 2.

Q3. State why f(x)=x2f(x) = x^2 on R\mathbb{R} has no inverse, and give a domain restriction that fixes this. [2 marks]

  • Cue. Not one-to-one (fails horizontal line test); restrict to x≥0x \ge 0, giving f−1(x)=xf^{-1}(x) = \sqrt{x}.

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.

Year 11 SAC-style4 marks
Given f(x)=2x−3f(x) = 2x - 3 and g(x)=x2+1g(x) = x^2 + 1. (a) Find (f∘g)(x)(f \circ g)(x). (b) Find f−1(x)f^{-1}(x).
Show worked answer →

(a) Composite. (f∘g)(x)=f(g(x))=f(x2+1)=2(x2+1)−3=2x2−1(f \circ g)(x) = f(g(x)) = f(x^2 + 1) = 2(x^2 + 1) - 3 = 2 x^2 - 1.

(b) Inverse. Let y=2x−3y = 2x - 3. Swap: x=2y−3x = 2y - 3. Solve: y=(x+3)/2y = (x + 3)/2.

So f−1(x)=(x+3)/2f^{-1}(x) = (x + 3)/2.

Check: f(f−1(x))=2⋅(x+3)/2−3=x+3−3=xf(f^{-1}(x)) = 2 \cdot (x+3)/2 - 3 = x + 3 - 3 = x. Confirmed.

Markers reward correct composite notation (apply gg first, then ff) and the swap-and-solve procedure for the inverse.

Practise this

Sources & how we know this

ExamExplained