Write the Domain and Range Using Interval Notation
Introduction
When studying algebra, pre‑calculus, or any higher‑level mathematics, domain and range are two fundamental concepts that describe the set of all possible input values and the set of all resulting output values for a function. This article will guide you step by step through the process, illustrate each step with concrete examples, and highlight common pitfalls to avoid. Mastering the way to express these sets with interval notation is essential for clear communication, efficient problem‑solving, and success on standardized tests. By the end, you will be able to write the domain and range of any function confidently using interval notation Turns out it matters..
You'll probably want to bookmark this section.
Understanding Domain and Range
What is the Domain?
The domain of a function is the collection of all input values (typically x‑values) for which the function is defined. In everyday terms, it answers the question: “What numbers can I plug into the function without causing an error?”
What is the Range?
The range is the set of all output values (typically y‑values) that the function produces when the domain is applied. It answers: “What values can the function output?”
Both concepts are tightly linked; the domain determines which inputs are allowed, and the corresponding outputs form the range.
Basics of Interval Notation
Interval notation is a concise way to describe a set of real numbers between two endpoints. The most common symbols are:
- Open interval
(a, b)– includes all numbers greater than a and less than b, but excludes the endpoints. - Closed interval
[a, b]– includes both endpoints a and b. - Half‑open (or mixed) interval
[a, b)or(a, b]– includes one endpoint and excludes the other. - Infinite interval
(a, ∞)or(-∞, b)– extends indefinitely in one direction; the infinity symbol always uses a parenthesis because infinity is not a real number.
Italic terms such as open interval and closed interval help distinguish these cases.
Steps to Write Domain and Range in Interval Notation
-
Identify Restrictions
Look for values that make the function undefined:- Division by zero (e.g.,
1/x). - Even roots of negative numbers in the real number system (e.g.,
√x). - Logarithms of non‑positive numbers (e.g.,
log x).
- Division by zero (e.g.,
-
Determine the Natural Extent
If no explicit restriction exists, the domain is usually all real numbers, which is written as(-∞, ∞). -
Express the Set Using Interval Symbols
- Use parentheses for exclusive endpoints.
- Use brackets for inclusive endpoints.
- Combine intervals with the union symbol
∪when the domain consists of separate pieces.
-
Repeat for Range
Apply the same scrutiny to the output values. Sometimes you must solve the function for x in terms of y to see which y values are attainable Took long enough.. -
Check Edge Cases
Verify whether the function actually reaches the boundary points. Take this:f(x) = √xhas domain[0, ∞)but range[0, ∞)as well; the endpoint 0 is included because√0 = 0.
Worked Examples
Example 1: Simple Polynomial
Consider f(x) = 2x + 3.
-
Domain: Polynomials are defined for every real number.
-
Interval notation:
(-∞, ∞). -
Range: Linear functions with non‑zero slope take all real values No workaround needed..
-
Interval notation:
(-∞, ∞).
Example 2: Rational Function
g(x) = 1 / (x - 2).
-
Domain: The denominator cannot be zero, so
x - 2 ≠ 0→x ≠ 2. -
Interval notation:
(-∞, 2) ∪ (2, ∞). -
Range: Solve
y = 1 / (x - 2)forx:x - 2 = 1 / y→x = 2 + 1 / y.
The only value that makesxundefined is wheny = 0(division by zero). Thusy ≠ 0Most people skip this — try not to.. -
Interval notation:
(-∞, 0) ∪ (0, ∞).
Example 3: Square Root Function
h(x) = √(x + 1).
-
Domain: The radicand must be non‑negative:
x + 1 ≥ 0→x ≥ -1Still holds up.. -
Interval notation:
[-1, ∞). -
Range: Square root outputs are also non‑negative:
h(x) ≥ 0Turns out it matters.. -
Interval notation:
[0, ∞)Easy to understand, harder to ignore..
Example 4: Piecewise Function
p(x) = { x^2 if x ≤ 0 -x + 2 if x > 0 }
-
Domain: Both pieces are defined for all real numbers, so the domain is
(-∞, ∞). -
Range:
- For
x ≤ 0,x^2yields values in[0, ∞). - For
x > 0,-x + 2yields values in( -∞, 2 ). - Combine:
[0, ∞) ∪ (-∞, 2) = (-∞, ∞).
- For
Example 5: Logarithmic Function
q(x) = log(x - 3) Easy to understand, harder to ignore..
-
Domain: Argument of log must be positive:
x - 3 > 0→x > 3. -
Interval notation:
(3, ∞)Most people skip this — try not to.. -
Range: Logarithm outputs can be any real number.
-
Interval notation:
(-∞, ∞).
Common Mistakes and How to Avoid Them
- Forgetting to exclude endpoints