Finding the domain and range of a function is a fundamental skill in algebra and calculus, and expressing these sets using interval notation helps you communicate the results clearly and precisely. This guide walks you through the process of determining the domain and range for various types of functions and then converting those results into interval notation, a format that uses parentheses and brackets to indicate whether endpoints are included or excluded. Whether you are a high‑school student tackling quadratic equations or a college learner exploring rational functions, mastering interval notation will make your mathematical writing cleaner and more professional.
Steps to Determine Domain and Range
1. Identify the Function Type
The first step is to recognize the kind of function you are working with. Different functions have different restrictions:
- Polynomial functions (e.g., f(x) = x³ – 2x + 1) have no restrictions; their domain is all real numbers.
- Rational functions (e.g., f(x) = (x + 3)/(x – 2)) are limited by the denominator.
- Radical functions (e.g., f(x) = √(x + 5)) require the radicand to be non‑negative.
- Logarithmic functions (e.g., f(x) = ln(x – 4)) need a positive argument.
2. Apply Restrictions to Find the Domain
Write down each restriction and translate it into an inequality:
- Denominator ≠ 0: For f(x) = 1/(x – 2), set x – 2 ≠ 0 → x ≠ 2.
- Radicand ≥ 0: For f(x) = √(x + 5), set x + 5 ≥ 0 → x ≥ ‑5.
- Argument > 0: For f(x) = ln(x + 1), set x + 1 > 0 → x > ‑1.
Combine all valid inequalities using logical and (∧) or or (∨) as appropriate. As an example, a function with both a square‑root and a denominator might require x ≥ ‑5 and x ≠ 0, leading to two separate intervals That alone is useful..
3. Express the Domain in Inequality Form
Before converting to interval notation, it’s helpful to keep the domain in inequality form. This step reinforces your understanding of the restrictions and makes the conversion straightforward.
4. Convert to Interval Notation
Interval notation uses parentheses ( ) to indicate that an endpoint is excluded and brackets [ ] to indicate that an endpoint is included. The symbol ∞ (infinity) denotes an unbounded interval.
- x > ‑2 → (‑2, ∞)
- x ≤ 5 → (‑∞, 5]
- x ≥ ‑5 and x ≠ 0 → (‑∞, ‑5] ∪ (0, ∞)
Remember to use the union symbol ∪ when the domain consists of more than one separate interval.
5. Determine the Range
Finding the range often requires a different approach:
- Graphical method: Sketch the function or use a graphing calculator to see the set of y‑values the function actually attains.
- Algebraic method: Solve the function for x in terms of y and apply the same restrictions you used for the domain, then reinterpret the result as a set of y values.
Here's one way to look at it: with f(x) = x², solving y = x² gives x = ±√y. Since x can be any real number, y must be ≥ 0, leading to the range y ≥ 0 That's the part that actually makes a difference..
6. Convert the Range to Interval Notation
Once you have the range expressed as inequalities, follow the same conversion rules as the domain. For f(x) = x², the range y ≥ 0 becomes [0, ∞).
Scientific Explanation of Interval Notation
Interval notation is a concise way to describe continuous sets of real numbers. It originated from the need to express solutions to inequalities without writing out every possible value. The notation uses:
- Parentheses ( ) for open intervals, meaning the endpoint is not part of the set.
- Brackets [ ] for closed intervals, meaning the endpoint is part of the set.
- Infinity symbols ∞ and ‑∞ for unbounded intervals, which are always expressed with parentheses because infinity is not a real number.
When a set consists of two or more disjoint intervals, the union symbol ∪ joins them. Take this case: the domain of f(x) = 1/(x – 1) + √(x + 2) might be (‑∞, ‑2] ∪ (1, ∞).
Understanding the logic behind interval notation helps you avoid common mistakes, such as using a bracket with infinity or forgetting to include a point where a function is defined Simple, but easy to overlook..
Frequently Asked Questions
Q: Can a domain be expressed as a single number?
A: Yes. If the domain consists of only one real number, say x = 3, interval notation writes it as [3, 3]. Some textbooks also use the notation {3} for a set containing a single element It's one of those things that adds up..
Q: How do I handle functions with both a square‑root and a denominator?
A: First, write the restrictions separately: radicand ≥ 0 and denominator ≠ 0. Then combine them using logical and. Take this: f(x) = √(x + 4)/(x – 2) yields x ≥ ‑4 and x ≠ 2, resulting in the domain (‑∞, ‑4] ∪ (2, ∞) Worth keeping that in mind..
**Q: Why is the range of a rational function sometimes written as *(‑∞, a) ∪ (a,