Skip to content
One hour with George, then a written plan the next working day. Book yours.

Inverse and reciprocal practice

To invert a function, swap the roles of input and output and solve for the new output. For a formula that means writing y, exchanging x and y, and isolating y again. The reciprocal 1/x is a special case, because it is its own inverse. Whichever family you face, finish by composing the two functions to confirm that you get x back.

For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.

Book your first session
Our own practice item
Invert f(x) = (3x - 1) / (x + 2) and verify

Find the inverse of f(x) = (3x - 1) / (x + 2), where x is not -2, and verify it by composition.

  1. Write y = (3x - 1) / (x + 2) and swap the letters: x = (3y - 1) / (y + 2).
  2. Clear the fraction: x(y + 2) = 3y - 1, so xy + 2x = 3y - 1.
  3. Gather the y terms on one side: 2x + 1 = 3y - xy = y(3 - x).
  4. Divide by 3 - x: y = (2x + 1) / (3 - x), with x not 3.
  5. Compose: f(g(x)) = (3(2x + 1)/(3 - x) - 1) / ((2x + 1)/(3 - x) + 2). Multiply the top and bottom by 3 - x to get (6x + 3 - 3 + x) / (2x + 1 + 6 - 2x) = 7x / 7 = x.

Answer the inverse is g(x) = (2x + 1) / (3 - x). Its domain, all x except 3, is the range of f, and the restriction on f's domain, x not -2, becomes the range of g.

Original problem by George Li Tutoring; the method is the inverse-function method of OpenStax, Algebra and Trigonometry 2e

This page is about practice across families. For the idea of one-to-one functions and why only they have inverses, read the guide to finding an inverse function first.

Which families come up most?

Which families come up most?
FunctionInverseCondition to remember
f(x) = 2x + 5(x - 5) / 2None, all real numbers
f(x) = x^2 with x at least 0the square root of xThe restriction is required
f(x) = the square root of (x - 3)x^2 + 3Only for x at least 0
f(x) = e^xln xDomain of ln x is x above 0
f(x) = ln xe^xRange of e^x is y above 0
f(x) = x^3 + 1the cube root of (x - 1)None, cube roots take every real number
f(x) = 1 / x with x not 01 / xThe function is its own inverse

Notice how often the domain of one function becomes the range of the other. When an inverse looks wrong, comparing those two sets is the fastest check.

Why is the reciprocal its own inverse?

The reciprocal function sends a nonzero number to 1 divided by it. Applying it twice sends x to 1 / (1 / x), which is x. Since f of f of x is x, f is its own inverse. Its graph is symmetric about the line y = x, which is the same mirror line that relates any function to its inverse, so the graph maps onto itself.

Do not confuse this with the notation f^(-1). The small -1 there marks an inverse function. It does not mean the reciprocal, so f^(-1)(x) and 1 / f(x) are different things for almost every function. For f(x) = 2x + 5, the inverse is (x - 5) / 2, while the reciprocal is 1 / (2x + 5).

How do you handle a quadratic?

A parabola repeats outputs, so cut the domain first. For f(x) = (x - 2)^2 + 1, restrict to x at least 2, where the function only rises. Then y = (x - 2)^2 + 1 swaps to x = (y - 2)^2 + 1, so (y - 2)^2 = x - 1 and y - 2 = the square root of (x - 1), because y must stay at least 2. The inverse is g(x) = 2 + the square root of (x - 1), for x at least 1. Had you restricted to x at most 2, the inverse would be 2 minus that square root. The choice of piece is part of the answer.

How do you handle exponentials, logarithms and roots?

Apply the operation that undoes each step, working from the outside in.

  • For f(x) = ln(x + 4), write y = ln(x + 4), swap to x = ln(y + 4), and apply the exponential: e^x = y + 4, so y = e^x - 4.
  • For f(x) = 4x^3 - 5, swap and solve: x = 4y^3 - 5, so y^3 = (x + 5) / 4 and y is the cube root of (x + 5) / 4.
  • For f(x) = the square root of (2x + 6), square after swapping: x^2 = 2y + 6, so y = (x^2 - 6) / 2. The output of f is never negative, so the inverse applies only for x at least 0.

Practice problems

These are original to George Li Tutoring. Find each inverse and say what its domain is.

  1. f(x) = (x - 4) / 3
  2. f(x) = 2 / (x - 1) + 3, for x not 1
  3. f(x) = ln(x - 2) + 1
  4. f(x) = (x + 1)^2 - 3, for x at least -1
  5. f(x) = 2x^3 + 7

Answers: 1) 3x + 4, for all real x. 2) Swap: x - 3 = 2 / (y - 1), so y - 1 = 2 / (x - 3) and the inverse is 2 / (x - 3) + 1, for x not 3. 3) Swap to x = ln(y - 2) + 1, so e^(x - 1) = y - 2 and the inverse is e^(x - 1) + 2, for all real x. 4) Swap to x = (y + 1)^2 - 3, so (y + 1)^2 = x + 3, and because y is at least -1 the inverse is the square root of (x + 3) minus 1, for x at least -3. 5) Swap to x = 2y^3 + 7, so y^3 = (x - 7) / 2 and the inverse is the cube root of (x - 7) / 2, for all real x.

Work these without notes, then compose each pair to check it. A slip in clearing a fraction or in a domain note is the most common error, and a short session with a tutor on the math tutoring page usually finds the habit behind it. The study planner can place the practice in your week.

Common questions

Is the inverse the same as the reciprocal?

No. The inverse undoes the function, while the reciprocal is 1 divided by the function's output. They share a superscript of -1 in notation, and for 1/x alone the two happen to agree.

Do all functions have an inverse?

Only one-to-one functions do, meaning each output comes from exactly one input. A function that repeats outputs, such as x^2, needs its domain cut to a piece where it does not.

What if my answer does not compose back to x?

Look for an algebra slip in the solving step. A common one is moving a term across the equals sign without changing its sign. Then check that both compositions, in each order, give x.

How do I find the domain of an inverse?

It is the range of the original function. Read the range from the graph or from the formula, and note any restriction you placed on the original's domain.

Sources