Quarry School

Restricting a domain so an inverse exists — quick review

In plain words

Picture a town on a long straight road.

Rule

A restricted domain is a smaller set of inputs than the full domain of a function. If f fails the horizontal line test, choose a restricted domain on which f is one-to-one. On that piece f has an inverse function. The usual choice also keeps every output of f, so the inverse accepts all of them. For f(x) = x2 the usual restricted domain is x ≥ 0, written [0, ∞). The domain of f−1 is then the range of f, and the range of f−1 is the restricted domain.

Step

  1. Run the horizontal line test on the whole graph. If no horizontal line meets it twice, stop: the function already has an inverse and needs no restriction.

  2. If the test fails and the graph turns around once, as a parabola or an absolute value graph does, find that turn. For a squared expression, the turn is where the part being squared equals 0. For x2 that is x = 0. For (x − 2)2 it is x = 2.

  3. For a graph with that one turn, keep the turning point and everything on one side of it. Unless the problem names a side, keep the right side: x ≥ the turning value.

  4. Run the horizontal line test again on the kept piece only. Every horizontal line must now meet it at most once.

  5. Check whether any output was lost. The usual choice keeps the range of the whole function; a piece with a smaller range still has an inverse, but that inverse accepts fewer numbers.

  6. Write the restricted domain next to the formula, for example f(x) = x2, x ≥ 0. It is now part of the function.

  7. Trade places: the domain of f−1 is the range of f, and the range of f−1 is the restricted domain. Every answer the inverse gives must lie in the restricted domain.

Question

The function f(x) = x2 fails the horizontal line test. Choose a restricted domain so that f has an inverse, give the domain and range of f−1, and find f−1(25).

Answer

Restricted domain: x ≥ 0, or [0, ∞).
Domain of f−1: [0, ∞).
Range of f−1: [0, ∞).
f−1(25) = 5.

Trap

The most common mistake is to restrict the domain on paper and then forget it. Once you keep x ≥ 0 for f(x) = x2, the inputs −1, −2, −3 and the rest are gone. So f−1(9) is 3 only. It is not "3 or −3", and it is not −3. To avoid the mistake, write the restricted domain beside the formula every time you write the function, and check that each answer from the inverse lies inside the restricted domain.

Strategy

  1. Run the horizontal line test on the whole graph.

  2. If it fails and the graph turns around once, find the turning point: for a squared expression, set the part being squared equal to 0 and solve.

  3. For a graph with one turn, keep the turning point and one side of it. Use the side the problem names, or the right side if none is named.

  4. Run the horizontal line test again on the kept piece.

  5. Check whether the kept piece still has the range of the whole function, as the usual choice does.

  6. Write the restricted domain beside the formula, then trade domain and range to describe the inverse.

Term

inverse function

Definition

A function that undoes another one. It takes each output of the first function back to the input it came from.

Term

one-to-one function

Definition

A function in which no two different inputs share an output. Every output comes from exactly one input, so the function can be undone.

Term

horizontal line test

Definition

A check done on a graph. If no horizontal line crosses the graph more than once, the function is a one-to-one function and has an inverse function.

Term

domain

Definition

The set of all inputs a function accepts. For an inverse function, the domain is the range of the original function.

Term

range

Definition

The set of all outputs a function actually produces. For an inverse function, the range is the domain of the original function.

Term

the line y = x

Definition

The diagonal line through the origin where both coordinates are equal, such as (2, 2). The graph of a function and the graph of its inverse function are mirror images across it.

Term

restricted domain

Definition

A domain made smaller on purpose. When the inputs kept are picked so that no two of them give the same output, the function becomes one-to-one on them and gains an inverse function.