Domain and Range
Where Functions Live
Before you can evaluate a function, you need to know: where is it defined? Plug $x = -5$ into $f(x) = \sqrt{x}$ and your calculator protests. Divide by zero and mathematics breaks. The domain tells you which inputs are “legal,” and the range tells you what outputs are possible.
Mastering domain and range is your first line of defense against illegal operations, and it builds intuition for later topics like limits and continuity.
Prerequisite Map
Quick Reference
| Property | Value |
|---|---|
| Chapter | 1 - Functions and Limits |
| Section | 1.1 |
| Difficulty | Beginner |
| Time | ~20 minutes |
Key Concepts
Definitions
Domain: The set of all input values $x$ for which $f(x)$ is defined.
Range: The set of all output values $f(x)$ that the function actually produces.
swapping domain and range.
This is the input-output-confusion error. The domain is the set of inputs -- the values you are allowed to feed in. The range is the set of outputs -- the values the function actually produces. Students sometimes say “the range of $f(x) = x^2$ is all real numbers” because the input can be any real number. It cannot: the outputs of $x^2$ are all non-negative, so the range is $[0, \infty)$, not $(-\infty, \infty)$. Whenever you write down domain or range, pause and ask: “Am I describing inputs or outputs?”
reading domain from the physical shape of a graph.
This is a form of the iconic-graph error. When a graph of $f(x) = \sqrt{16 - x^2}$ appears to “end” at $x = -4$ and $x = 4$, the temptation is to say the curve stops because the function has decided to stop. The curve ends because inputs outside $[-4, 4]$ make the radicand negative, so the function is not defined there. The domain is $[-4, 4]$ because of an algebraic fact about the formula, not because of the picture’s visual boundary. The shape of the curve on screen is a consequence of the domain restriction, not its cause.
Finding Domain: The Two Main Restrictions
| Restriction | Rule | Example |
|---|---|---|
| Square roots | Radicand $\geq 0$ | $\sqrt{x-3}$ requires $x \geq 3$ |
| Denominators | Denominator $\neq 0$ | $\frac{1}{x-2}$ requires $x \neq 2$ |
Process for finding domain:
- Start with all real numbers ($-\infty, \infty$)
- Remove values that cause problems:
- Square roots of negatives
- Division by zero
- Express in interval notation
Interval Notation Quick Reference
| Notation | Meaning | Number Line |
|---|---|---|
| $(a, b)$ | All $x$ with $a < x < b$ | Open circles at both ends |
| $[a, b]$ | All $x$ with $a \leq x \leq b$ | Closed circles at both ends |
| $[a, b)$ | All $x$ with $a \leq x < b$ | Closed at $a$, open at $b$ |
| $(a, \infty)$ | All $x > a$ | Open at $a$, extends right |
| $(-\infty, b]$ | All $x \leq b$ | Extends left, closed at $b$ |
Union: Use $\cup$ to combine disjoint intervals. Example: $(-\infty, 2) \cup (2, \infty)$ means “all real numbers except 2.”
Finding Range
From a graph: Look at the vertical extent: what $y$-values are covered?
From a formula: Analyze the function’s behavior:
- What’s the smallest output?
- What’s the largest?
- Are there gaps?
Practice Problems
Find the domain of $f(x) = \sqrt{x + 5}$.
Find the domain of $g(x) = \frac{3x + 1}{x^2 - 9}$.
Find the domain of $h(x) = \frac{\sqrt{x - 2}}{x - 5}$.
For $f(x) = \sqrt{16 - x^2}$:
- Find the domain.
- Sketch the graph by recognizing the shape.
- Find the range.
- Find a formula for a function whose domain is $(-\infty, 3) \cup (3, \infty)$.
- Find a formula for a function whose domain is $[2, 7]$.
- Find a formula for a function whose domain is $(-\infty, -1) \cup [4, \infty)$.
- Is it possible to have a function with domain $(0, 1) \cup (2, 3)$ using only square roots and rational expressions? Justify your answer.
Mastery Checklist
Mental Model
The Bouncer Analogy:
Think of domain restrictions as bouncers at a club:
- The square root bouncer says: “You can’t come in if you’d make me take the square root of a negative.”
- The denominator bouncer says: “You can’t come in if you’d make me divide by zero.”
To find the domain, figure out who gets turned away, and everyone else can enter.
| Previous | Up | Next |
|---|---|---|
| Function Representations | Ch1 §1 Skills | Difference Quotient |
Last updated: 2026-01-22