Algebra 2 · Functions and transformations

Domain and range

Which inputs are allowed, and which outputs actually occur.

Can you feed it any number?

Some functions accept any number you give them, some reject a single value, and some reject a whole half of the number line. In this lesson three things decide the question — and a plain polynomial triggers none of them.

The domain lists the inputs a function accepts; the range lists the outputs it produces. Only three things ever restrict a domain, and knowing all three makes the question mechanical.

The restrictionWhyExample
A zero denominatorDivision by zero is undefined\frac{1}{x-2}
A root of a negativeNo real root\sqrt{x-5}
The context of the problemAmounts are not negativeA count of items

Two worked examples

Example 1 — a denominator

  1. Take f(x) = \frac{1}{x - 2}.
  2. The denominator vanishes at x = 2.
  3. So that single value is excluded, and everything else is allowed.
  4. The domain is every real except 2.

Example 2 — a root

  1. Take g(x) = \sqrt{x - 5}.
  2. The inside must be non-negative. x - 5 \ge 0
  3. So the domain is x \ge 5.
  4. And the range is y \ge 0, because a root never returns a negative.
  5. The two answers are different questions with different reasons.
A denominator excludes a single value; a root excludes a half-line; with neither — every real.