Mathematical Methods · Units 3 & 4

Inverse Functions

Understand inverse functions the easy way, with plain English intuition, the one to one test, how to swap domain and range, the reflection in y equals x, worked examples and an auto marked practice test. VCE Maths Methods Units 3 and 4.

Learn

Every undo button is an inverse function in disguise. You did something, and the inverse is the exact set of steps that walks you back to where you started. In maths, if a function takes 33 and turns it into 1111, its inverse takes 1111 and hands you back 33. The whole topic is just this one idea, made careful, plus one rule about when the undo is even allowed.

When does an undo exist

Not every action can be undone cleanly. If two different inputs land on the same output, the undo gets confused about where to send it back. That is exactly the rule. A function has an inverse function only when it is one to one, meaning every output comes from one and only one input.

The parabola f(x)=x2f(x) = x^2 over all real numbers fails this. Both x=3x = 3 and x=−3x = -3 give 99, so asked to undo 99 the inverse cannot choose between 33 and −3-3. We say ff is many to one, and a many to one function has no inverse function. The fix is to chop the domain down, for example to x≥0x \geq 0, so that each output traces back to a single input.

Finding the inverse rule

Once you know the inverse exists, the recipe is short. The key move is to swap xx and yy, because the inverse sends outputs back to inputs, which is the original relationship read backwards.

  1. Write y=f(x)y = f(x).
  2. Swap every xx with yy and every yy with xx.
  3. Make yy the subject again. That new rule is f−1(x)f^{-1}(x).

For f(x)=2x−6f(x) = 2x - 6 you write y=2x−6y = 2x - 6, swap to get x=2y−6x = 2y - 6, then rearrange to y=x+62y = \frac{x + 6}{2}. Watch out for one classic mix up. The inverse f−1f^{-1} is not the reciprocal 1f(x)\frac{1}{f(x)}. The little −1-1 is notation for undoing, not a power of minus one.

Swapping domain and range

Inputs and outputs trade places when you take an inverse, so the two sets trade places too.

domain of f−1=range of f,range of f−1=domain of f\text{domain of } f^{-1} = \text{range of } f, \qquad \text{range of } f^{-1} = \text{domain of } f

This is where marks are won and lost. Many students find the rule correctly and then quote the domain of ff as the domain of f−1f^{-1}, which is backwards. Always find the range of the original first, because that is what becomes the domain of the inverse. When you restrict a domain to force an inverse to exist, the same restriction decides which square root branch you keep, positive or negative.

The graph is a mirror

Here is the prettiest part. Because finding an inverse swaps the two coordinates of every point, sending (a,b)(a, b) to (b,a)(b, a), the graph of f−1f^{-1} is the graph of ff reflected in the line y=xy = x. Fold the page along that diagonal line and the two curves land on top of each other.

-4-224 -4-224
The curve y = x² − 4 on x ≥ 0 (blue) and its inverse y = √(x + 4) (red) are mirror images in the dashed line y = x.

This gives a fast trick for a common exam question. To find where ff meets f−1f^{-1}, you do not need the inverse rule at all. Any meeting point sits on the mirror line y=xy = x, so just solve

f(x)=xf(x) = x

and read off the coordinates. When you answer, give the full coordinate pair, not only the xx value, and never hand back the equation of the inverse when the question asked for points. Those two slips are among the most common ways students drop marks on this topic.

See the recipe and the mirror in action in the Worked Examples tab, then test yourself in Try It.

Lock it in with active recall

Active recall

Answer from memory first, then flip. Rate yourself and each card returns on a spaced schedule (1 → 3 → 7 → 16 days).

When does a function have an inverse function?
What are the three steps to find an inverse rule?
How do the domain and range of f−1f^{-1} relate to those of ff?
Is the inverse f−1f^{-1} the same as the reciprocal 1f(x)\tfrac{1}{f(x)}?
What single reflection turns the graph of ff into the graph of f−1f^{-1}?
Fast way to find where ff meets f−1f^{-1}?
Recall · Power Functions
Which is one to one on its full domain: y=x2y = x^2 or y=x3y = x^3?
Recall · Composite Functions
What does f−1(f(x))f^{-1}(f(x)) simplify to?

Worked examples

Worked Example 1Equation and domain of an inverse, from a real exam

For f:(−∞,1]→Rf : (-\infty, 1] \to R, f(x)=x2−2xf(x) = x^2 - 2x, determine the equation and the domain for the inverse function f−1f^{-1}.

  1. 1

    Write ff in turning-point form and swap xx and yy.

    x=(y−1)2−1x = (y-1)^2 - 1
  2. 2

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

    y=1±x+1y = 1 \pm \sqrt{x+1}
  3. 3

    Since the original domain is (−∞,1](-\infty,1], the inverse range is (−∞,1](-\infty,1], so take the negative root. The domain of f−1f^{-1} is the range of ff. The report notes the most common error was choosing the positive arm 1+x+11+\sqrt{x+1}.

    f−1(x)=1−x+1,domain [−1,∞)f^{-1}(x) = 1 - \sqrt{x+1},\quad \text{domain } [-1,\infty)
Answer
f−1(x)=1−x+1, domain [−1,∞)f^{-1}(x) = 1 - \sqrt{x+1},\ \text{domain } [-1, \infty)

VCAA 2023 Mathematical Methods Exam 1, Q7c

Worked Example 2Largest domain that gives an inverse, from a real exam

Let g(x)=e2x−8ex+7g(x) = e^{2x} - 8e^{x} + 7, where x∈Rx \in R. The function g(x)g(x) has exactly one stationary point, a local minimum. Find the largest value of aa such that when gg is restricted to the domain (−∞,a](-\infty, a] it has an inverse function.

  1. 1

    Differentiate and set equal to zero to locate the local minimum.

    g′(x)=2e2x−8ex=2ex(ex−4)=0g'(x) = 2e^{2x} - 8e^{x} = 2e^{x}(e^{x} - 4) = 0
  2. 2

    Solve for xx (since ex>0e^x>0).

    ex=4  ⟹  x=log⁡e(4)e^{x} = 4 \implies x = \log_e(4)
  3. 3

    The largest domain on which gg is one-to-one ends at the turning point. The report warns against letting u=exu=e^x, finding u=4u=4, then wrongly taking a=4a=4 instead of a=log⁡e4a=\log_e 4.

    a=log⁡e(4)a = \log_e(4)
Answer
a=log⁡e(4)a = \log_e(4)

VCAA 2025 Mathematical Methods Exam 1, Q5b

Worked Example 3Finding an inverse rule

Find the rule for the inverse of f(x)=2x−6f(x) = 2x - 6, and state its domain and range. The domain of ff is RR.

  1. 1

    Write yy for f(x)f(x), then swap xx and yy. Swapping is the whole trick.

    y=2x−6⇒x=2y−6y = 2x - 6 \quad\Rightarrow\quad x = 2y - 6
  2. 2

    Make yy the subject again.

    x+6=2y⇒y=x+62x + 6 = 2y \quad\Rightarrow\quad y = \frac{x + 6}{2}
  3. 3

    The domain of f−1f^{-1} is the range of ff, and the range of f−1f^{-1} is the domain of ff. Here ff has range RR and domain RR.

    f−1(x)=x+62,domain R,range Rf^{-1}(x) = \frac{x + 6}{2}, \quad \text{domain } R, \quad \text{range } R
Answer
f−1(x)=x+62, domain R, range Rf^{-1}(x) = \dfrac{x + 6}{2}, \ \text{domain } R, \ \text{range } R
Worked Example 4Restricting the domain to make an inverse exist

The function g(x)=x2−4g(x) = x^2 - 4 has domain [0,∞)[0, \infty). Find g−1g^{-1}, and state its domain and range.

  1. 1

    On [0,∞)[0, \infty) the parabola is one to one, so an inverse function exists. Find the range of gg first, because it becomes the domain of g−1g^{-1}.

    range of g=[−4,∞)\text{range of } g = [-4, \infty)
  2. 2

    Write y=x2−4y = x^2 - 4, swap, then make yy the subject. Keep only the branch that matches the original domain.

    x=y2−4⇒y=x+4x = y^2 - 4 \quad\Rightarrow\quad y = \sqrt{x + 4}
  3. 3

    Take the positive root because the range of g−1g^{-1} must equal the domain of gg, which was [0,∞)[0, \infty).

    g−1(x)=x+4g^{-1}(x) = \sqrt{x + 4}
  4. 4

    State both sets. Domain of g−1g^{-1} is the range of gg; range of g−1g^{-1} is the domain of gg.

    domain [−4,∞),range [0,∞)\text{domain } [-4, \infty), \quad \text{range } [0, \infty)
Answer
g−1(x)=x+4, domain [−4,∞), range [0,∞)g^{-1}(x) = \sqrt{x + 4}, \ \text{domain } [-4, \infty), \ \text{range } [0, \infty)
Worked Example 5Where a graph meets its own inverse

The graph of f(x)=xf(x) = \sqrt{x} meets the graph of f−1f^{-1}. Find the coordinates of every point of intersection.

  1. 1

    The graphs of ff and f−1f^{-1} are mirror images in the line y=xy = x. So any intersection sits on that mirror line. Solve f(x)=xf(x) = x instead of f(x)=f−1(x)f(x) = f^{-1}(x).

    x=x\sqrt{x} = x
  2. 2

    Square both sides and solve.

    x=x2⇒x2−x=0⇒x(x−1)=0x = x^2 \quad\Rightarrow\quad x^2 - x = 0 \quad\Rightarrow\quad x(x - 1) = 0
  3. 3

    So x=0x = 0 or x=1x = 1. Both lie in the domain x≥0x \ge 0. Give full coordinates, not just the xx values.

    x=0  or  x=1x = 0 \ \text{ or } \ x = 1
Answer
(0,0) and (1,1)(0, 0) \text{ and } (1, 1)

Practice questions

Practice test

Try it yourself

6 questions, 8 marks

Choose your answers, then submit to see your score and the full worked solutions. Multiple choice is marked for you, just like Exam 2 Section A.

Q1.The inverse of f(x)=3x+9f(x) = 3x + 9, where the domain of ff is RR, has rule f−1(x)=f^{-1}(x) =

1mark
Need a hint?
Write y=3x+9y = 3x + 9, swap xx and yy, then make yy the subject. The inverse is not the reciprocal.

Q2.Which one of the following functions does not have an inverse function over the domain shown?

1mark
Need a hint?
An inverse function exists only when the function is one to one. Try the horizontal line test on each.

Q3.The function f(x)=x−1f(x) = \sqrt{x - 1} has domain [1,∞)[1, \infty) and range [0,∞)[0, \infty). The domain of f−1f^{-1} is

1mark
Need a hint?
Domain and range swap when you take an inverse. Which set of the original becomes the domain of the inverse?

Q4.The graphs of f(x)=x2−2f(x) = x^2 - 2, x≥0x \geq 0, and its inverse f−1f^{-1} intersect at a single point. The coordinates of that point are

1mark
Need a hint?
Any intersection lies on the line y=xy = x, so solve f(x)=xf(x) = x and check it fits the domain x≥0x \geq 0.

Q5.The graph of y=f−1(x)y = f^{-1}(x) is obtained from the graph of y=f(x)y = f(x) by

1mark
Need a hint?
Taking an inverse swaps the coordinates of every point, sending (a,b)(a, b) to (b,a)(b, a). Which reflection does that?

Q6.Let f(x)=(x−1)2f(x) = (x - 1)^2 with domain [1,∞)[1, \infty). Find the rule for f−1f^{-1} and state the domain and range of f−1f^{-1}.

3marks

Work this on paper. The worked solution appears once you submit.

Frequently asked questions

How do you find the inverse of a function?
Write y equals f of x, swap every x with y, then make y the subject again. The rearranged rule is the inverse. Remember to swap the domain and range as well, since the domain of the inverse is the range of the original.
Why doesn't every function have an inverse?
An inverse only exists when the function is one to one, meaning each output comes from exactly one input. A function like x squared over all real numbers is many to one, so you cannot undo it cleanly. You fix this by restricting the domain so each output traces back to a single input.
Is the inverse the same as the reciprocal?
No. The inverse f to the power minus one undoes the function, while the reciprocal is one over f of x. The little minus one is notation for undoing, not an actual power of minus one, so do not confuse the two.