Inverse functions and their graphs

Inverse functions and their graphs

Spec 1.2 · Edexcel International A Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • The inverse function f−1f^{-1} reverses ff: if f(a)=bf(a)=b then f−1(b)=af^{-1}(b)=a.
  • An inverse exists only if ff is one-one.
  • To find f−1f^{-1}: write y=f(x)y=f(x), make xx the subject, then swap the letters.
  • Domain of f−1f^{-1} = range of ff, and range of f−1f^{-1} = domain of ff.
  • The graph of f−1f^{-1} is the reflection of ff in y=xy=x.

When an inverse exists

A function has an inverse only if it is one-one, so each output comes from exactly one input.

The inverse function f−1f^{-1} undoes ff, so f−1f(x)=ff−1(x)=xf^{-1}f(x)=ff^{-1}(x)=x.

A many-one function, such as g(x)=x2−6x+5g(x)=x^2-6x+5 on R\mathbb{R} where g(2)=g(4)g(2)=g(4), has no inverse. Restricting the domain (for example to x⩾3x\geqslant3) can fix that.

A horizontal line should cross a one-one graph at most once.

−11234567−4−2246810xy(2, −3)(4, −3)y = x² − 6x + 5y = −3
g(x) = x² − 6x + 5 is many-one: the horizontal line y = −3 meets it twice, at x = 2 and x = 4, so g has no inverse on ℝ.

Which of these functions, defined on R\mathbb{R}, is one-one?

Finding the inverse

Write y=f(x)y=f(x), make xx the subject, then swap the letters.

Make xx the subject of a formula: for a fraction, multiply out and collect the xx terms; for a square, complete the square.

For g(x)=x2−6x+5=(x−3)2−4g(x)=x^2-6x+5=(x-3)^2-4 on x⩾3x\geqslant3: x=3+y+4x=3+\sqrt{y+4}, so g−1(x)=3+x+4g^{-1}(x)=3+\sqrt{x+4}. Choose the root that fits the domain.

  1. 1

    Write y = f(x)

    replace f(x) with y

  2. 2

    Make x the subject

    multiply out, collect x terms, or complete the square

  3. 3

    Swap the letters

    so f⁻¹(x) is a function of x

The three steps for any inverse.

Worked example

Find f−1(x)f^{-1}(x) for f(x)=2x+1x−3f(x)=\frac{2x+1}{x-3}.

What is f−1(x)f^{-1}(x) for f(x)=3x−2f(x)=3x-2?

Domain and range swap

The domain of the inverse is the range of ff, and the range of the inverse is the domain of ff.

For f(x)=2x+1x−3=2+7x−3f(x)=\frac{2x+1}{x-3}=2+\frac{7}{x-3}, the range is f(x)≠2f(x)\neq2, so f−1f^{-1} has domain x≠2x\neq2.

For f(x)=2ex−5f(x)=2\mathrm{e}^x-5, the range is f(x)>−5f(x)>-5, so f−1(x)=ln⁡x+52f^{-1}(x)=\ln\frac{x+5}{2} has domain x>−5x>-5.

Always use the range of ff to state the domain of f−1f^{-1}.

−6−4−2246−6−4−2246xyy = −5x = −5(0, −3)(−3, 0)y = f(x)y = f⁻¹(x)y = x
f(x) = 2eˣ − 5 and its inverse are reflections in y = x: the range y > −5 of f becomes the domain x > −5 of the inverse.
  • Domain of f−1f^{-1}range of ff
  • Range of f−1f^{-1}domain of ff

f(x)=2ex−5f(x)=2\mathrm{e}^x-5 for x∈Rx\in\mathbb{R}. What is the domain of f−1f^{-1}?

Graphs of inverses

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

A point (a,b)(a,b) on one graph becomes (b,a)(b,a) on the other, because a reflection in y=xy=x swaps the coordinates.

For f(x)=2ex−5f(x)=2\mathrm{e}^x-5, (0,−3)(0,-3) lies on ff, so (−3,0)(-3,0) lies on f−1f^{-1}.

If ff is increasing, the graphs meet on y=xy=x, so f(x)=f−1(x)f(x)=f^{-1}(x) can be solved as f(x)=xf(x)=x. For g(x)=x2−4xg(x)=x^2-4x (x⩾2x\geqslant2) this gives x=5x=5.

−6−5−4−3−2−11234−6−4−224xy(0, −3)(−3, 0)y = 2eˣ − 5y = ln((x + 5)/2)y = x
y = f(x) and y = f⁻¹(x) are mirror images in the dashed line y = x. The point (0, −3) maps to (−3, 0).

The point (2,7)(2,7) lies on y=f(x)y=f(x). Which point lies on y=f−1(x)y=f^{-1}(x)?

Self-inverse functions

A self-inverse function equals its own inverse, so applying it twice gives back xx.

If f−1=ff^{-1}=f, the function is self-inverse, so ff(x)=x\mathrm{ff}(x)=x. The graph is symmetrical about y=xy=x.

For example f(x)=x+3x−1f(x)=\frac{x+3}{x-1} gives x=y+3y−1x=\frac{y+3}{y-1}, which is the same rule. The simplest example is f(x)=1xf(x)=\frac1x.

−4−3−2−11234−4−3−2−11234xy(1, 1)(−1, −1)y = 1/xy = x
f(x) = 1/x is self-inverse: its graph is symmetrical about y = x.
  • Self-inversef−1=ff^{-1}=f, so ff(x)=x\mathrm{ff}(x)=x

Is f(x)=3−xf(x)=3-x self-inverse?

Try an exam question

The function f is defined by f(x)=3x+1x−2f(x)=\frac{3x+1}{x-2}, x∈Rx\in\mathbb{R}, x≠2x\neq2. (a) Find f−1(x)f^{-1}(x). (b) State the domain of f−1f^{-1}.

[5 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which expression is f−1(x)f^{-1}(x)?

1 mark, marked against the mark scheme

Revision notes