AP® Precalculus · Unit 2 · Topic 2.8

Restricting a Domain to Invert

A function only has an inverse if each output comes from exactly one input. When a function like y = x2 fails this, you restrict its domain to a piece where it passes the test, then invert that piece.

Inverting a function means swapping inputs and outputs: f−1 undoes whatever f did. That swap only works cleanly if f never sends two different inputs to the same output. y = x2 breaks this immediately, because x = 3 and x = -3 both give y = 9. If you tried to invert that, the inverse would have to send 9 back to both 3 and -3, and a function can't output two values for one input. So the full parabola has no inverse.

The fix is to cut the domain down to a piece where each output really does come from only one input. For y = x2, restricting to x ≥ 0 keeps the right half of the parabola, where every y-value traces back to exactly one x-value. Now inversion works: solve for x and keep the root that matches the restricted domain. For f(x) = x2 - 4 with x ≥ 0, write y = x2 - 4, add 4 to get x2 = y + 4, then take the square root. Since x ≥ 0, you keep only the positive root: x = √(y + 4). Swapping variable names gives f−1(x) = √(x + 4).

This is exactly why square root and logarithm functions exist as the tame, single-valued inverses of squaring and exponentials: someone already restricted the domain for you. It also matters once a function models something real, because the math restriction (like x ≥ 0) might not be the only limit. A square's side length can't be negative, but it also can't exceed whatever material or space the context allows, so the inverse's domain can shrink further than the algebra alone demands.

Key terms

Invertible
A function is invertible when every output traces back to exactly one input, so swapping inputs and outputs still gives a function.
One-to-one
A function where no two different inputs ever produce the same output.
Restricted domain
A smaller set of input values chosen so a function becomes one-to-one and therefore invertible.
Inverse function
The function that reverses another function's input-output pairing, often written f−1(x).

Watch it explained

  1. How it worksHow does one output value coming from two inputs block a function from being invertible?
  2. Worked exampleFind the inverse of f(x) = x² - 4 once the domain is restricted to x from 0 onward.
  3. Going furtherWhat contextual limits might shrink the useful domain of an inverse in a real model?

Check yourself

Your turn1 of 2
For f(x) = x2 - 7 restricted to x ≥ 0, find its inverse f−1(x), as an expression in x.

End of topic.