Inverse Function Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Inverse Function.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

The inverse of a function ff is a function fโˆ’1f^{-1} that reverses ff: if f(a)=bf(a) = b then fโˆ’1(b)=af^{-1}(b) = a. It exists only when ff is one-to-one.

If ff turns aa into bb, then fโˆ’1f^{-1} turns bb back into aa. Reverse the process.

Read the full concept explanation โ†’

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: An inverse function reverses a function, turning each output back into the input that produced it.

Common stuck point: The procedure for inverse function is the easy part; the trap is reading fโˆ’1f^{-1} as a reciprocal. Asking "If I know the output, does this rule hand back the exact input that produced it?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: If I know the output, does this rule hand back the exact input that produced it?

Worked Examples

Example 1

easy
Find the inverse of f(x)=3xโˆ’7f(x) = 3x - 7.

Answer

fโˆ’1(x)=x+73f^{-1}(x) = \frac{x + 7}{3}

First step

1
Write y=3xโˆ’7y = 3x - 7.

Full solution

  1. 2
    Swap xx and yy: x=3yโˆ’7x = 3y - 7.
  2. 3
    Solve for yy: 3y=x+73y = x + 7, so y=x+73y = \frac{x + 7}{3}.
  3. 4
    Therefore fโˆ’1(x)=x+73f^{-1}(x) = \frac{x + 7}{3}.
To find an inverse, swap input and output then solve for the new output. The inverse 'undoes' the original function: applying ff then fโˆ’1f^{-1} returns the original input.

Example 2

medium
Find the inverse of f(x)=2x+5xโˆ’1f(x) = \frac{2x + 5}{x - 1} for xโ‰ 1x \neq 1.

Example 3

medium
Find the inverse of f(x)=3xโˆ’4x+2f(x) = \frac{3x - 4}{x + 2} and state its domain.

Example 4

medium
Find the inverse of f(x)=2x+3f(x) = \frac{2}{x+3} and state its domain and range.

Example 5

hard
If f(x)=ax+bcx+df(x) = \frac{ax + b}{cx + d} with adโˆ’bcโ‰ 0ad - bc \neq 0, find fโˆ’1(x)f^{-1}(x).

Example 6

hard
For f(x)=xx+1f(x) = \frac{x}{x+1} on Rโˆ–{โˆ’1}\mathbb{R} \setminus \{-1\}, find fโˆ’1f^{-1} and its domain.

Example 7

challenge
For f(x)=x+sinโกxf(x) = x + \sin x, prove that ff is invertible on R\mathbb{R} without finding fโˆ’1f^{-1} explicitly.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

easy
Find the inverse of f(x)=x4+2f(x) = \frac{x}{4} + 2.

Example 2

hard
If f(x)=2xf(x) = 2^x, find fโˆ’1(x)f^{-1}(x). Then verify by showing that f(fโˆ’1(8))=8f(f^{-1}(8)) = 8.

Example 3

easy
Find the inverse of f(x)=x+5f(x)=x+5.

Example 4

easy
Find the inverse of f(x)=3xf(x)=3x.

Example 5

easy
If f(2)=7f(2)=7, what is fโˆ’1(7)f^{-1}(7)?

Example 6

easy
Find the inverse of f(x)=2xโˆ’4f(x)=2x-4.

Example 7

easy
Is f(x)=x2f(x)=x^2 on all reals invertible?

Example 8

easy
Find the inverse of f(x)=x3f(x)=x^3.

Example 9

easy
If fโˆ’1(x)=xโˆ’2f^{-1}(x)=x-2, find f(x)f(x).

Example 10

easy
What is f(fโˆ’1(9))f(f^{-1}(9)) for any invertible ff?

Example 11

medium
Find the inverse of f(x)=x+1xโˆ’2f(x)=\frac{x+1}{x-2}.

Example 12

medium
Find the inverse of f(x)=xโˆ’3f(x)=\sqrt{x-3} for xโ‰ฅ3x\ge 3.

Example 13

medium
Find the inverse of f(x)=2xf(x)=2^x.

Example 14

medium
For f(x)=4xโˆ’1f(x)=4x-1, solve fโˆ’1(x)=2f^{-1}(x)=2.

Example 15

medium
Find the inverse of f(x)=1xf(x)=\frac{1}{x}.

Example 16

medium
If ff and gg are inverses and g(5)=3g(5)=3, find f(3)f(3).

Example 17

medium
Find the inverse of f(x)=x2+1f(x)=x^2+1 restricted to xโ‰ฅ0x\ge 0.

Example 18

challenge
If f(x)=2xโˆ’3x+1f(x)=\frac{2x-3}{x+1}, find fโˆ’1(1)f^{-1}(1).

Example 19

challenge
A linear function satisfies f(x)=fโˆ’1(x)f(x)=f^{-1}(x) for all xx and f(x)=ax+bf(x)=ax+b with aโ‰ 1a\neq 1. Find aa.

Example 20

challenge
If f(g(x))=xf(g(x))=x for all xx and f(x)=3x+2f(x)=3x+2, find g(x)g(x).

Example 21

medium
Find the inverse of f(x)=x2+3f(x)=\frac{x}{2}+3.

Example 22

medium
If f(x)=logโก3xf(x)=\log_3 x, find fโˆ’1(x)f^{-1}(x).

Example 23

easy
Find the inverse of f(x)=5xโˆ’2f(x) = 5x - 2.

Example 24

easy
Find the inverse of f(x)=xโˆ’72f(x) = \frac{x-7}{2}.

Example 25

easy
What is the inverse of f(x)=xf(x) = x?

Example 26

easy
Is f(x)=โˆฃxโˆฃf(x) = |x| invertible on all real numbers?

Example 27

medium
Find the inverse of f(x)=x+5f(x) = \sqrt{x+5} for xโ‰ฅโˆ’5x \geq -5.

Example 28

medium
If f(x)=e3xf(x) = e^{3x}, find fโˆ’1(x)f^{-1}(x).

Example 29

medium
Find fโˆ’1(x)f^{-1}(x) for f(x)=lnโก(xโˆ’2)f(x) = \ln(x - 2).

Example 30

medium
For f(x)=6โˆ’2xf(x) = 6 - 2x, solve fโˆ’1(x)=4f^{-1}(x) = 4.

Example 31

medium
If ff is invertible and f(a)=bf(a) = b, f(b)=cf(b) = c, what is fโˆ’1(c)f^{-1}(c)?

Example 32

medium
On what domain is f(x)=x2f(x) = x^2 invertible, and what is the inverse?

Example 33

medium
Two functions are graphed: y=f(x)y = f(x) and y=fโˆ’1(x)y = f^{-1}(x). What is the relationship between the two graphs?

Example 34

medium
For f(x)=7f(x) = 7 (a constant function), is ff invertible?

Example 35

hard
Find all linear functions f(x)=ax+bf(x) = ax + b that satisfy f=fโˆ’1f = f^{-1}.

Example 36

hard
If f(x)=x3+1f(x) = x^3 + 1, find (fโˆ’1)โ€ฒ(2)(f^{-1})'(2). (Use the rule (fโˆ’1)โ€ฒ(b)=1/fโ€ฒ(a)(f^{-1})'(b) = 1/f'(a) where f(a)=bf(a)=b.)

Example 37

hard
Show that if ff and gg are both invertible, then (fโˆ˜g)โˆ’1=gโˆ’1โˆ˜fโˆ’1(f \circ g)^{-1} = g^{-1} \circ f^{-1}.

Example 38

hard
Let f(x)=tanโกxf(x) = \tan x on (โˆ’ฯ€/2,ฯ€/2)(-\pi/2, \pi/2). Find fโˆ’1(1)f^{-1}(1) and state its general form.

Example 39

hard
Suppose f:Rโ†’Rf: \mathbb{R} \to \mathbb{R} is invertible and continuous. What can you say about the monotonicity of ff?

Example 40

challenge
Find a function ff that is its own inverse (i.e., fโˆ˜f=idf \circ f = \mathrm{id}) and is NOT linear.

Background Knowledge

These ideas may be useful before you work through the harder examples.

function definition