Quarry School

Domain and range trade places — quick review

In plain words

Picture a coat check.

Rule

If f is a one-to-one function, then: domain of f−1 = range of f, and range of f−1 = domain of f.

Step

  1. Make sure f is a one-to-one function, so that f−1 exists: no output repeated in a table, or a graph that passes the horizontal line test.

  2. Find the domain of f: every input f allows.

  3. Find the range of f: every output f actually produces. List only outputs that really come out, not every number you can imagine.

  4. Trade the two lists. Domain of f−1 = range of f. Range of f−1 = domain of f.

  5. Check with one pair. Pick an allowed input a and compute b = f(a). Then f−1(b) = a, so b must sit in your new domain and a must sit in your new range.

Question

The function f(x) = x−2 + 1 is a one-to-one function, so it has an inverse function. Without finding a formula for f−1, find the domain and the range of f−1. In plain words: which numbers may go into f−1, and which numbers can come out of it?

Answer

Domain of f−1: [1, ∞)
Range of f−1: [2, ∞)

Trap

Writing the domain of f again as the domain of f−1. The two functions trade their lists, and the two lists are often different. For f(x) = x−2 + 1 the tempting answer is 'domain of f−1: [2, ∞)', but [2, ∞) is what f−1 gives back, not what it takes in. To avoid this, write two labeled lines before you answer, 'goes into f−1' and 'comes out of f−1', and fill the first line from the outputs of f.

Strategy

  1. Confirm that f is a one-to-one function, so an inverse function exists.

  2. List what goes into f: its domain.

  3. List what comes out of f: its range.

  4. Write the range of f as the domain of f−1, and the domain of f as the range of f−1. Keep each bracket with its own list.

  5. Test one pair: compute b = f(a) for an allowed a, then confirm b is in the new domain and a is in the new range.

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.