Module 3 · Functions · Lesson 17 of 84
Domain and range
Finding domains from formulas and graphs, interval notation and piecewise functions.
In this lesson · about 18 minutes
- Find the domain of a function from its formula
- Read domain and range from a graph
- Know the domain and range of the toolkit functions
- Evaluate and graph piecewise functions
The domain is every input a function will accept. Unless a problem says otherwise, it is all real numbers, minus anything that would break the formula. Two things break formulas in this course:
- Division by zero. In f(x) = 1/(x − 4), x cannot be 4.
- Even roots of negative numbers. In g(x) = √(x + 2), we need x + 2 ≥ 0, so x ≥ −2.
Real situations add their own limits. If C(n) is the cost of n concert tickets, n must be a whole number from 0 up to the number of seats.
The range is every output. On a graph, the domain is the spread of the graph from left to right and the range is its spread from bottom to top.
Try it · interactive
Domain and range explorer
Pick a function and move a. The shaded band is the domain; watch how the restriction moves with a.
What is under the square root cannot be negative: x − 2 ≥ 0, so x ≥ 2.
Domain (allowed inputs)
[2, ∞)
Range (possible outputs)
[0, ∞)
The blue band shows the domain: the x values where the function is defined.
Loading practice…
Whiteboard · watch and try
Piecewise functions: a parking fee
Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.
Domains and ranges of the toolkit functions
| Function | Domain | Range |
|---|---|---|
| f(x) = x, x³, ∛x | (−∞, ∞) | (−∞, ∞) |
| f(x) = x², |x| | (−∞, ∞) | [0, ∞) |
| f(x) = √x | [0, ∞) | [0, ∞) |
| f(x) = 1/x | (−∞, 0) ∪ (0, ∞) | (−∞, 0) ∪ (0, ∞) |
| f(x) = 1/x² | (−∞, 0) ∪ (0, ∞) | (0, ∞) |
Check your understanding0 of 4 correct
Key terms
Say the meaning to yourself, then tap a card to check.
Quiz score: 0 of 4
Practice sets mastered: 0 of 1
Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.