Skip to main content
MST HUB
Grade 12 · Mathematics

Functions and inverse functions

Questions, answers, definitions and videos for Functions and inverse functions, Grade 12 Mathematics (CAPS).

Study notes

What makes a relation a function?

A function gives exactly one output (yy) for each input (xx).

  • One-to-one: each yy-value comes from only one xx-value (e.g. y=2x+1y = 2x + 1).
  • Many-to-one: different xx-values can give the same yy-value (e.g. y=x2y = x^2: both 22 and −2-2 give 44). This is still a function.
  • One-to-many is not a function (e.g. a circle).

Vertical line test: if any vertical line cuts the graph more than once, it is not a function.

The inverse of a function

The inverse f−1f^{-1} "undoes" ff. To find it:

  1. Swap xx and yy.
  2. Make yy the subject.

The graph of f−1f^{-1} is the reflection of ff in the line y=xy = x. Every point (a;b)(a; b) on ff becomes (b;a)(b; a) on f−1f^{-1}. The domain of ff is the range of f−1f^{-1}, and the other way round.

Linear: f(x)=2x−4f(x) = 2x - 4. Swap: x=2y−4x = 2y - 4, so f−1(x)=x+42=12x+2f^{-1}(x) = \frac{x + 4}{2} = \frac{1}{2}x + 2.

Quadratic: g(x)=2x2g(x) = 2x^2. Swap: x=2y2x = 2y^2, so y=±x2y = \pm\sqrt{\frac{x}{2}}. This inverse is not a function (one-to-many). To make it a function, restrict the domain of gg, e.g. x≥0x \geq 0; then g−1(x)=x2g^{-1}(x) = \sqrt{\frac{x}{2}}, x≥0x \geq 0.

Exponential: the inverse of y=bxy = b^x is the logarithmic function y=log⁡bxy = \log_b x (see the next topic).

The inverse of a function is itself a function only if the original function is one-to-one.

Common mistakes

  • Writing f−1(x)=1f(x)f^{-1}(x) = \frac{1}{f(x)}. The −1-1 means inverse, not a power.
  • Forgetting to restrict the domain of y=ax2y = ax^2 so that its inverse is a function.
  • Reflecting in the xx-axis or yy-axis instead of the line y=xy = x.
  • Not swapping the domain and range.

Practice questions

Try each question on paper first, then tap Show answer to check your working.

  1. Question 1 (easy)

    Determine the inverse of f(x)=3x+6f(x) = 3x + 6 in the form f−1(x)=…f^{-1}(x) = \dots

    Show answer

    x=3y+6x = 3y + 6, so 3y=x−63y = x - 6 and f−1(x)=13x−2f^{-1}(x) = \frac{1}{3}x - 2.

  2. Question 2 (easy)

    Is y=x2y = x^2 a one-to-one or a many-to-one function? Is its inverse a function? Explain.

    Show answer

    It is many-to-one (e.g. x=3x = 3 and x=−3x = -3 both give y=9y = 9). Its inverse, y=±xy = \pm\sqrt{x}, is not a function, because one xx-value gives two yy-values.

  3. Question 3 (medium)

    g(x)=2x2g(x) = 2x^2 with x≥0x \geq 0.

    (a) Determine g−1(x)g^{-1}(x).

    (b) Write down the domain and range of g−1g^{-1}.

    Show answer

    (a) x=2y2x = 2y^2, so y2=x2y^2 = \frac{x}{2}, and since y≥0y \geq 0: g−1(x)=x2g^{-1}(x) = \sqrt{\frac{x}{2}}.

    (b) Domain: x≥0x \geq 0. Range: y≥0y \geq 0.

  4. Question 4 (medium)

    The point (3;8)(3; 8) lies on the graph of hh. Which point must lie on h−1h^{-1}? Explain.

    Show answer

    (8;3)(8; 3). The inverse swaps the xx- and yy-coordinates (a reflection in y=xy = x).

  5. Question 5 (exam level)

    The diagram shows f(x)=2x−4f(x) = 2x - 4, its inverse f−1f^{-1}, and the line y=xy = x.

    The straight line f with equation y = 2x minus 4 and its inverse, a less steep line, drawn on the same axes together with the dashed line y = x. The two lines are mirror images in y = x, and all three meet at the point P.

    (a) Determine f−1(x)f^{-1}(x).

    (b) Determine the coordinates of PP, where ff and f−1f^{-1} intersect.

    (c) For which values of xx is f(x)>f−1(x)f(x) > f^{-1}(x)?

    Show answer

    (a) x=2y−4x = 2y - 4, so f−1(x)=12x+2f^{-1}(x) = \frac{1}{2}x + 2.

    (b) ff and f−1f^{-1} meet on the line y=xy = x: 2x−4=x2x - 4 = x, so x=4x = 4. P(4;4)P(4; 4).

    (Check with the inverse: 12(4)+2=4\frac{1}{2}(4) + 2 = 4 ✓)

    (c) ff is steeper, so it lies above f−1f^{-1} to the right of PP: x>4x > 4.

Latest questions

Ask a question

Definitions

No definitions added yet.

Videos

No videos added yet.