Write Domain and Range in Interval Notation Calculator
Interval notation is a concise way to represent sets of real numbers. This guide explains how to properly write the domain and range of functions using interval notation, with practical examples and a built-in calculator.
What is Interval Notation?
Interval notation is a mathematical shorthand for describing ranges of real numbers. It's commonly used in calculus, algebra, and other branches of mathematics to specify the domain and range of functions.
There are several types of interval notation:
- Closed interval: [a, b] - includes all numbers from a to b, including a and b
- Open interval: (a, b) - includes all numbers from a to b, excluding a and b
- Half-open intervals: [a, b) and (a, b] - include one endpoint but not the other
- Infinite intervals: [a, ∞) and (-∞, b] - include all numbers from a to infinity or negative infinity to b
Interval notation is different from set notation, which uses curly braces { } to list elements. For example, [1, 5] in interval notation represents the same set as {1, 2, 3, 4, 5} in set notation.
How to Write Domain and Range in Interval Notation
When writing the domain and range of a function, you need to consider:
- The values of x that are allowed as inputs (domain)
- The resulting values of y that the function produces (range)
Steps to Write Domain and Range
- Identify the function's restrictions (if any) to determine the domain
- Use interval notation to express the domain
- Determine the minimum and maximum output values of the function
- Use interval notation to express the range
Common Domain and Range Examples
For a linear function f(x) = 2x + 3:
- Domain: All real numbers (-∞, ∞)
- Range: All real numbers (-∞, ∞)
For a quadratic function f(x) = x²:
- Domain: All real numbers (-∞, ∞)
- Range: [0, ∞) because the minimum value is 0
Examples
Example 1: Linear Function
Function: f(x) = 3x - 2
- Domain: All real numbers (-∞, ∞)
- Range: All real numbers (-∞, ∞)
Example 2: Square Root Function
Function: f(x) = √(x - 1)
- Domain: [1, ∞) because the expression under the square root must be non-negative
- Range: [0, ∞) because the square root function outputs non-negative values
Example 3: Rational Function
Function: f(x) = 1/(x - 2)
- Domain: All real numbers except x = 2 (-∞, 2) ∪ (2, ∞)
- Range: All real numbers except y = 0 (-∞, 0) ∪ (0, ∞)
Common Mistakes
When writing domain and range in interval notation, avoid these common errors:
- Using incorrect interval brackets (open vs. closed)
- Forgetting to exclude values that make the function undefined
- Including values that are outside the actual range of the function
- Using set notation instead of interval notation
Always double-check your work by testing values at the endpoints of your intervals to ensure they satisfy the function's conditions.