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.
2Inverse of a straight line
- 1y = 3x − 6.
- 2Swap: x = 3y − 6.
- 33y = x + 6 → y = x3 + 2.Make y the subject.
- 4h−1(x) = 13x + 2.The inverse of a line is always a line.
3Inverse of a parabola
- 1y = 2x² → swap: x = 2y².
- 2y² = x2.
- 3y = ±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.
4Inverse of an exponential
- 1y = 2x → swap: x = 2y.
- 2y = log₂ x.A logarithm is exactly the tool for making an exponent the subject.
5Domain and range swap over
range of f−1 = domain of f
- 1k has domain x ∈ ℝ and range y > 0.An exponential is never zero or negative.
- 2So 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.
- 1Determine the equation of h−1, the inverse of h(x) = 3x − 6, in the form y = …
Show answer ▾Hide answer ▴
x = 3y − 6 → y = 13x + 2 - 2Determine the inverse of f(x) = 2x².
Show answer ▾Hide answer ▴
x = 2y² → y = ±x2 - 3Is the inverse of f(x) = 2x² a function? Give a reason.
Show answer ▾Hide answer ▴
No — because of the ±, one x-value gives two y-values, so it fails the vertical line test. - 4Restrict the domain of f(x) = 2x² so that f−1 is a function.
Show answer ▾Hide answer ▴
x ≥ 0 (or x ≤ 0) - 5Determine the equation of k−1 if k(x) = 2x.
Show answer ▾Hide answer ▴
y = log₂ x - 6Write down the domain and range of k−1 if k(x) = 2x.
Show answer ▾Hide answer ▴
Domain x > 0; range y ∈ ℝ - 7The graph of f−1 is the reflection of f in which line?
Show answer ▾Hide answer ▴
y = x - 8The point (2 ; 7) lies on f. Write down a point on f−1.
Show answer ▾Hide 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.