Article Contents
- What is the Domain?
- When the Domain is All Real Numbers
- Restriction: Division by Zero
- Restriction: Square Roots
- Combining Restrictions
- Interval Notation
- Reading the Domain from a Graph
- Common Mistakes
- Interactive Exercises
1. What is the Domain? {#what-is-domain}
The domain of a function f (written D(f)) is the set of all allowed inputs -- all values of x for which f(x) is defined and produces a real number.
D(f)={x∈R∣f(x) is defined}
Think of it this way
The domain answers: "Which values of x can I plug in?"
2. When the Domain is All Real Numbers {#domain-all-reals}
For many common functions, every real number is a valid input:
| Function | Domain | Why |
| f(x)=2x+3 | D(f)=R | Linear -- no restrictions |
| f(x)=x2−5x+1 | D(f)=R | Polynomial -- no restrictions |
| f(x)=x3 | D(f)=R | Polynomial -- no restrictions |
| f(x)=7 | D(f)=R | Constant -- no restrictions |
Rule: Polynomials (expressions with
x,
x2,
x3, ...) always have domain
R.
3. Restriction: Division by Zero {#division-by-zero}
Division by zero is undefined. If the function has x in a denominator, we must exclude values that make the denominator zero.
Example 1: f(x)=x1
The denominator is x. Set it equal to zero:
x=0
So x=0 is not allowed.
D(f)=R∖{0}=(−∞,0)∪(0,+∞)
Example 2: f(x)=x−23
x−2=0⟹x=2
D(f)=R∖{2}
Example 3: f(x)=x2−4x+1
Factor the denominator:
x2−4=(x−2)(x+2)=0⟹x=2 or x=−2
D(f)=R∖{−2,2}
4. Restriction: Square Roots {#square-roots}
The expression under a square root must be non-negative (greater than or equal to zero).
Example 1: f(x)=x
x≥0
D(f)=[0,+∞)
Example 2: f(x)=x−3
x−3≥0⟹x≥3
D(f)=[3,+∞)
Example 3: f(x)=5−x
5−x≥0⟹x≤5
D(f)=(−∞,5]
5. Combining Restrictions {#combining-restrictions}
Some functions have both a fraction and a square root.
Example: f(x)=x−11
Two conditions:
- Square root requires: x−1≥0⟹x≥1
2. Denominator requires: x−1=0⟹x−1=0⟹x=1
Combining: x>1.
D(f)=(1,+∞)
Example: f(x)=x−4x
- Square root requires: x≥0
- Denominator requires: x=4
D(f)=[0,4)∪(4,+∞)
6. Interval Notation {#interval-notation}
We use intervals to describe the domain concisely:
| Notation | Meaning |
| (a,b) | All x with a<x<b (endpoints excluded) |
| [a,b] | All x with a≤x≤b (endpoints included) |
| [a,b) | All x with a≤x<b |
| (a,+∞) | All x with x>a |
| (−∞,b] | All x with x≤b |
| R | All real numbers = (−∞,+∞) |
| R∖{c} | All real numbers except c |
Union of intervals
When the domain has a "gap", we use ∪ (union):
D(f)=(−∞,2)∪(2,+∞)
This means all real numbers except x=2.
7. Reading the Domain from a Graph {#domain-from-graph}
On a graph, the domain is the set of all x-values where the graph exists.
Look at the horizontal extent of the graph -- from the leftmost to the rightmost point.
8. Common Mistakes {#common-mistakes}
| Mistake | Correction |
| Forgetting to check the denominator | Always set denominator =0 |
| Writing x−3≥0 instead of x−3≥0 | The condition goes on the expression under the root |
| Using > instead of ≥ for square roots | 0=0 is defined, so include the boundary |
| Ignoring the case …1 | Here the expression under the root must be strictly positive (>0) |
9. Interactive Exercises {#interactive-exercises}
Practice finding domains:
Summary
| Function type | Domain rule |
| Polynomial (x2+3x−1) | D(f)=R |
| Fraction (g(x)a) | g(x)=0 |
| Square root (g(x)) | g(x)≥0 |
| Root in denominator (g(x)a) | g(x)>0 |
Related Articles