π
θ
E = mc²
y = mx+b
Δ
φ
λ
HomeLessonsGrade 12
Grade 12 · Functions · 11 min read

Inverse Functions (Grade 12)

Finding the inverse of a line, a parabola and an exponential function, why y = x² needs a restricted domain, and how to state whether an inverse is a function.

The inverse undoes the function. Every (x ; y) on f becomes (y ; x) on f−1, so the graph of f−1 is the reflection of f in the line y = x.

1The method (three steps, every time)

  • Write the function as y = …
  • Swap x and y.
  • Make y the subject — that is f−1.
-4-22468-8-448xyh(x) = 3x − 6h−1(x)y = x(0 ; −6)
h(x) = 3x − 6 and its inverse. Each is the mirror image of the other in the dashed line y = x.

2Inverse of a straight line

Worked Exampleh(x) = 3x − 6. Determine h−1
  1. 1
    y = 3x − 6.
  2. 2
    Swap: x = 3y − 6.
  3. 3
    3y = x + 6 → y = x3 + 2.
    Make y the subject.
  4. 4
    h−1(x) = 13x + 2.
    The inverse of a line is always a line.
24682468xyy = 2x², x ≥ 0y = (x/2)y = x(2 ; 8)(8 ; 2)
y = 2x² restricted to x ≥ 0, with its inverse. The point (2 ; 8) becomes (8 ; 2).

3Inverse of a parabola

Worked Examplef(x) = 2x². Determine f−1
  1. 1
    y = 2x² → swap: x = 2y².
  2. 2
    y² = x2.
  3. 3
    y = ±x2.
    Square roots give TWO answers — the ± is essential.
⚠️

Because of the ±, the inverse of an unrestricted parabola is not a function — one x-value gives two y-values, so it fails the vertical line test.

To force it to be a function you restrict the domain of f. If x ≥ 0 then f−1(x) = x2; if x ≤ 0 then f−1(x) = −x2.

-4-22468-4-22468xyy = 2xy = log₂ xy = x(0 ; 1)(1 ; 0)
y = 2x and y = log₂ x are reflections of each other in y = x. The y-intercept (0 ; 1) becomes the x-intercept (1 ; 0).

4Inverse of an exponential

f(x) = bx  ⇔  f−1(x) = logb x
Worked Examplek(x) = 2x. Determine k−1
  1. 1
    y = 2x → swap: x = 2y.
  2. 2
    y = log₂ x.
    A logarithm is exactly the tool for making an exponent the subject.

5Domain and range swap over

domain of f−1 = range of f
range of f−1 = domain of f
Worked ExampleState the domain and range of k−1 if k(x) = 2x
  1. 1
    k has domain x ∈ ℝ and range y > 0.
    An exponential is never zero or negative.
  2. 2
    So k−1 has domain x > 0 and range y ∈ ℝ.
    They simply trade places.
💡

Quick check: the y-intercept of f becomes the x-intercept of f−1. For k(x) = 2x the point (0 ; 1) becomes (1 ; 0).

Practice exercises

Work each one out, then click to reveal the answer.

  1. 1
    Determine the equation of h−1, the inverse of h(x) = 3x − 6, in the form y = …
    Show answer ▾
    x = 3y − 6 → y = 13x + 2
  2. 2
    Determine the inverse of f(x) = 2x².
    Show answer ▾
    x = 2y² → y = ±x2
  3. 3
    Is the inverse of f(x) = 2x² a function? Give a reason.
    Show answer ▾
    No — because of the ±, one x-value gives two y-values, so it fails the vertical line test.
  4. 4
    Restrict the domain of f(x) = 2x² so that f−1 is a function.
    Show answer ▾
    x ≥ 0 (or x ≤ 0)
  5. 5
    Determine the equation of k−1 if k(x) = 2x.
    Show answer ▾
    y = log₂ x
  6. 6
    Write down the domain and range of k−1 if k(x) = 2x.
    Show answer ▾
    Domain x > 0; range y ∈ ℝ
  7. 7
    The graph of f−1 is the reflection of f in which line?
    Show answer ▾
    y = x
  8. 8
    The point (2 ; 7) lies on f. Write down a point on f−1.
    Show answer ▾
    (7 ; 2)
🧠

Quick Quiz

5 quick questions on what you just read. Take it when you feel ready.

Now practise it

Download Grade 12 past papers and worksheets on this topic.

Go to Grade 12 papers →