Inverse Functions

On this page

How to find an inverse function, and a value of one, by undoing the steps of the function in reverse order, including roots, powers and composite functions.

Key facts

f^{-1} undoes f: if f(4)=13, then f^{-1}(13)=4

The inverse undoes each step in reverse order: f(x)=2x+5 multiplies by 2 then adds 5, so f^{-1} subtracts 5 then divides by 2

  • f^{-1}(x) is the inverse function. It is not the reciprocal \dfrac{1}{f(x)}.
  • To find f^{-1}(x), write y=f(x) and make x the subject. Write the answer with x as its letter. (Swapping x and y first, then making y the subject, also gets the marks.)
  • To find f^{-1}(a) for a number a, solve f(x)=a. To show that f^{-1}(a)=b, show that f(b)=a.
  • fg^{-1}(x) means f(g^{-1}(x)): find g^{-1}(x) first, then put it into f.

Worked example 1: An inverse value

g(x)=7-2x

Find g^{-1}(13)

  1. g^{-1}(13) is the input that g takes to 13, so solve g(x)=13
  2. 7-2x=13so -2x=6so x=-3
  3. g^{-1}(13)=-3. Check: g(-3)=7+6=13
  4. Do not work out g(13): that runs the function forwards. Dividing by −2 changes the sign.

Now try this

f(x)=4(x+5)

Find f^{-1}(12)

  1. Solve f(x)=12: 4(x+5)=12, so x+5=3
  2. x=-2so f^{-1}(12)=-2. Check: f(-2)=4\times3=12

More like this: practice questions

Worked example 2: The inverse of a linear function

f(x)=\dfrac{4x+1}{7}

Find f^{-1}(x)

  1. y=\dfrac{4x+1}{7}
  2. 7y=4x+1so 7y-1=4xso x=\dfrac{7y-1}{4}
  3. f^{-1}(x)=\dfrac{7x-1}{4}
  4. Write the answer in terms of x, not y. The reciprocal \dfrac{7}{4x+1} is a common wrong answer.

Now try this

f(x)=\dfrac{9-2x}{5}

Find f^{-1}(x)

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. y=\dfrac{9-2x}{5}, so 5y=9-2x and 2x=9-5y
  2. x=\dfrac{9-5y}{2}so f^{-1}(x)=\dfrac{9-5x}{2}

More like this: practice questions

Worked example 3: Undoing a square root

For x\geqslant0, g(x)=\dfrac{\sqrt{x}+1}{3}

Find g^{-1}(x)

  1. y=\dfrac{\sqrt{x}+1}{3}
  2. 3y=\sqrt{x}+1so \sqrt{x}=3y-1
  3. Square both sides: x=(3y-1)^2
  4. g^{-1}(x)=(3x-1)^2
  5. The square root is the first step of g, so squaring is the last step of g^{-1}. Squaring too early gives the wrong answers 3x^2-1 and 3(x^2-1).

Now try this

f(x)=\dfrac{x^3-3}{2}

Find f^{-1}(x)

Type a cube root with the ∛ key or as a power, for example ∛(x+1) or (x+1)^(1/3), and fractions with /

  1. y=\dfrac{x^3-3}{2}, so 2y=x^3-3 and x^3=2y+3
  2. Take the cube root of both sides: x=\sqrt[3]{2y+3}so f^{-1}(x)=\sqrt[3]{2x+3}

More like this: practice questions

Worked example 4: The inverse of a composite function

f(x)=\sqrt[3]{x} and g(x)=5-2x

h(x)=fg(x)

Find h^{-1}(x)

  1. fg means use g first, then f: h(x)=\sqrt[3]{5-2x}
  2. y=\sqrt[3]{5-2x}so y^3=5-2x
  3. 2x=5-y^3so x=\dfrac{5-y^3}{2}
  4. h^{-1}(x)=\dfrac{5-x^3}{2}
  5. Using f first gives 5-2\sqrt[3]{x}, which is gf(x). The papers also set this as “h=(fg)^{-1}. Find h(x)”: the same steps.

Now try this

For x>0, f(x)=3x-2 and g(x)=x^2

The function h is such that h=(fg)^{-1}

Find h(x)

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. fg(x)=3x^2-2. Write y=3x^2-2 and make x the subject: x^2=\dfrac{y+2}{3}
  2. x=\sqrt{\dfrac{y+2}{3}}so h(x)=\sqrt{\dfrac{x+2}{3}}

More like this: practice questions

Practice questions