Domain — Definition, How to Find & Examples
Domain
The set of values of the independent variable(s) for which a function or relation is defined. Typically, this is the set of x-values that give rise to real y-values.
Note: Usually domain means domain of definition, but sometimes domain refers to a restricted domain.

![Ellipse on xy-plane with points (-1,1), (5,1), (2,3), (2,-1) labeled. Domain is [-1,5]; x-values run from -1 to 5.](d_assets/d105.gif)
See also
Key Formula
Domain of f={x∈R∣f(x) is defined}
Where:
- x = The independent variable (input) of the function
- f(x) = The function rule applied to x
- R = The set of all real numbers
Worked Example
Problem: Find the domain of f(x) = 1 / (x − 3).
Step 1: Identify operations that restrict the domain. This function has a fraction, so the denominator cannot equal zero.
x−3=0
Step 2: Solve for the excluded value by setting the denominator equal to zero.
x−3=0⟹x=3
Step 3: The domain is all real numbers except x = 3. Write this in set-builder notation.
{x∈R∣x=3}
Step 4: Equivalently, express the domain in interval notation.
(−∞,3)∪(3,∞)
Answer: The domain is all real numbers except 3, written as (−∞, 3) ∪ (3, ∞).
Another Example
This example involves a square root restriction (radicand ≥ 0), unlike the first example which involved a denominator restriction (denominator ≠ 0). It shows that different operations create different types of domain restrictions.
Problem: Find the domain of g(x) = √(2x − 6).
Step 1: Identify the restricting operation. A square root requires its radicand (the expression inside) to be greater than or equal to zero.
2x−6≥0
Step 2: Solve the inequality for x.
2x≥6⟹x≥3
Step 3: Write the domain in interval notation. Since x = 3 is included (the square root of 0 is defined), use a square bracket.
[3,∞)
Answer: The domain is x ≥ 3, or [3, ∞) in interval notation.
Frequently Asked Questions
How do you find the domain of a function?
Start with all real numbers and then remove any values that cause undefined operations. The most common restrictions are: denominators that equal zero (division by zero is undefined), negative numbers under even-index radicals (square roots, fourth roots, etc.), and negative or zero arguments inside logarithms. Whatever x-values remain after removing these form the domain.
What is the difference between domain and range?
The domain is the set of all valid input values (x-values) you can plug into a function. The range is the set of all output values (y-values) the function actually produces. Think of the domain as what goes in, and the range as what comes out.
What is the domain of a polynomial function?
Every polynomial function (such as f(x) = x², f(x) = 3x³ − 2x + 1, etc.) has a domain of all real numbers, written as (−∞, ∞). Polynomials involve only addition, subtraction, multiplication, and non-negative integer exponents, so no input value causes an undefined result.
Domain vs. Range
| Domain | Range | |
|---|---|---|
| Definition | Set of all valid input values (x-values) | Set of all resulting output values (y-values) |
| What it answers | "What can I put in?" | "What can come out?" |
| How to find it | Look for values that cause undefined operations (division by zero, negative square roots, etc.) | Analyze the function's behavior, graph, or solve for x in terms of y |
| On a graph | The horizontal extent (left-right spread) of the graph | The vertical extent (up-down spread) of the graph |
| Example for f(x) = x² | (−∞, ∞) | [0, ∞) |
Why It Matters
Domain appears throughout algebra, precalculus, and calculus whenever you define or analyze a function. You need the domain to graph functions accurately, solve equations involving radicals or rational expressions, and set up real-world models where inputs must make physical sense (for example, a length cannot be negative). In calculus, knowing the domain is essential for determining where a function is continuous and differentiable.
Common Mistakes
Mistake: Only excluding values where the denominator is zero but forgetting about square root restrictions (or vice versa).
Correction: Check every operation in the function. For a function like f(x) = √(x) / (x − 4), you need both x ≥ 0 (square root) and x ≠ 4 (denominator), giving the domain [0, 4) ∪ (4, ∞).
Mistake: Confusing domain with range — stating the y-values when asked for the domain.
Correction: Domain always refers to the input (independent variable, usually x). Range refers to the output (dependent variable, usually y). If you're asked for the domain, focus on which x-values are allowed.
Related Terms
- Range — The set of output values paired with domain
- Function — A relation whose domain maps to unique outputs
- Relation — A broader pairing of inputs and outputs
- Independent Variable — The variable whose values form the domain
- Domain of Definition — The natural domain where a function is defined
- Restricted Domain — A deliberately limited subset of the full domain
- Interval Notation — Common notation for expressing domain intervals
- Set-Builder Notation — Notation describing domain with conditions
