Understanding how to write the domain and range of g using interval notation is a fundamental skill in algebra and precalculus that bridges the gap between graphical intuition and algebraic precision. That said, whether you are analyzing a simple polynomial, a rational function with asymptotes, or a piecewise-defined relation, the ability to express the set of possible inputs and outputs concisely allows for clearer communication and deeper analysis. This guide provides a comprehensive walkthrough of the concepts, rules, and strategies required to master this notation for any function g.
Understanding the Core Concepts: Domain and Range
Before diving into the specific syntax of interval notation, it is essential to solidify what the domain and range actually represent in the context of a function g.
The Domain is the complete set of all possible independent values (usually x-values) for which the function g(x) is defined. In simpler terms, it answers the question: "What numbers am I allowed to plug into this function?" Restrictions typically arise from:
- Division by zero: Denominators cannot equal zero.
- Even roots of negative numbers: Square roots (and other even indices) require non-negative radicands in the real number system.
- Logarithmic arguments: The input of a logarithm must be strictly positive.
- Real-world context: If g models a physical scenario (like height over time), the domain may be restricted to non-negative values.
The Range is the complete set of all possible dependent values (usually y-values or g(x) values) that result from substituting the domain values into the function. It answers: "What values does the function actually output?" Finding the range is often more challenging than finding the domain because it requires understanding the function's behavior—its peaks, valleys, asymptotes, and end behavior Easy to understand, harder to ignore..
Decoding Interval Notation: The Syntax
Interval notation is the standard mathematical shorthand for describing subsets of the real number line. Still, it uses a combination of brackets and parentheses to indicate whether endpoints are included or excluded. Mastering this syntax is the first step to writing the domain and range of g correctly.
The Symbols and Their Meanings
- Parentheses
( ): Indicate open intervals. The endpoint is not included in the set. This corresponds to strict inequalities (<or>) and is used for infinity symbols (since infinity is not a number you can reach) or values where the function is undefined (holes, vertical asymptotes). - Brackets
[ ]: Indicate closed intervals. The endpoint is included in the set. This corresponds to inclusive inequalities (≤or≥) and is used when the function is defined at that specific endpoint. - Infinity Symbols
∞and-∞: Always accompanied by parentheses. You never write[∞or∞]. - Union Symbol
∪: Used to join two or more disjoint intervals. This is critical when the domain or range consists of separate "chunks" (e.g., a rational function with a vertical asymptote splitting the domain in two).
Common Interval Patterns
| Inequality | Interval Notation | Description |
|---|---|---|
a < x < b |
(a, b) |
Open interval; endpoints excluded. Also, |
a ≤ x ≤ b |
[a, b] |
Closed interval; endpoints included. |
a ≤ x < b |
[a, b) |
Half-open; a included, b excluded. |
x > a |
(a, ∞) |
All numbers greater than a. Day to day, |
x ≥ a |
[a, ∞) |
All numbers greater than or equal to a. |
x < b |
(-∞, b) |
All numbers less than b. |
| All Real Numbers | (-∞, ∞) |
The entire real number line. |
Step-by-Step Strategy for Finding Domain and Range
The process differs slightly depending on whether you are given an equation, a graph, or a table of values. That said, the algebraic approach is the most common requirement in coursework Surprisingly effective..
1. Analyzing the Equation (Algebraic Method)
For the Domain:
- Start with the assumption: The domain is all real numbers
(-∞, ∞). - Identify restrictions: Look for denominators, even roots (radicals), and logarithms.
- Solve restriction equations:
- Denominator: Set denominator
= 0and solve for x. Exclude these values. - Even Root: Set radicand
≥ 0and solve for x. Keep these values. - Logarithm: Set argument
> 0and solve for x. Keep these values.
- Denominator: Set denominator
- Express in interval notation: Use
∪to combine allowed intervals if exclusions split the number line.
For the Range:
- Solve for x in terms of y (inverse logic): Swap x and y (or g(x)) and solve for the new y. The domain of this inverse relation is the range of the original function.
- Analyze function behavior: For polynomials, find the vertex (quadratics) or use calculus/end behavior (higher degree). For rational functions, find horizontal asymptotes and check if the function crosses them.
- Graph mentally or physically: Visualizing the graph is often the fastest way to determine the range.
2. Analyzing the Graph (Visual Method)
If the graph of g is provided:
- Domain: Project the graph onto the x-axis. Look left to right. Here's the thing — what x-values are covered? Now, note open circles (holes) vs. Because of that, closed circles (filled points) and arrows (infinity). In real terms, * Range: Project the graph onto the y-axis. Look bottom to top. Worth adding: what y-values are covered? Apply the same logic regarding open/closed endpoints.
Worked Examples: Writing Domain and Range of g
Let’s apply these principles to specific function types to demonstrate how to write the domain and range of g using interval notation in practice Worth keeping that in mind..
Example 1: A Rational Function
Function: g(x) = (2x + 1) / (x - 3)
Finding the Domain:
The only restriction is the denominator.
x - 3 ≠ 0 → x ≠ 3
The function is defined for all real numbers except 3.
Domain: (-∞, 3) ∪ (3, ∞)
Finding the Range:
Rational functions of this form (linear/linear) have a horizontal asymptote at the ratio of leading coefficients: y = 2/1 = 2.
We must check if y = 2 is ever actually reached.
Set g(x) = 2:
(2x + 1) / (x - 3) = 2
2x + 1 = 2x - 6
1 = -6 (Contradiction)
The function never equals 2.
Range: (-∞, 2) ∪ (2, ∞)
Example 2: A Radical Function (Even Index)
Function: g(x) = √(5 - x)
Finding the Domain:
The radicand must be non-negative.
5 - x ≥ 0
-x ≥ -5
x ≤ 5
Domain: `(-∞, 5]
Finding the Range:
The square root function produces outputs starting from 0 and extending to infinity. Since the radicand decreases as x increases, the maximum value of the square root occurs when x is at its minimum (negative infinity), giving us g(x) approaching infinity. The minimum value occurs at x = 5, where g(5) = 0.
Range: [0, ∞)
Example 3: A Logarithmic Function
Function: g(x) = ln(x + 2)
Finding the Domain:
The argument of the logarithm must be positive.
x + 2 > 0
x > -2
Domain: (-2, ∞)
Finding the Range:
The natural logarithm function has a domain of all positive real numbers and a range of all real numbers. Since x + 2 spans from 0 (exclusive) to infinity as x spans from -2 (exclusive) to infinity, the output of ln(x + 2) spans from negative infinity to positive infinity.
Range: (-∞, ∞)
Example 4: A Polynomial Function
Function: g(x) = x² - 4x + 3
Finding the Domain:
Polynomials have no restrictions.
Domain: (-∞, ∞)
Finding the Range:
This is a quadratic opening upward. Find the vertex:
x-coordinate: x = -b/(2a) = 4/(2) = 2
y-coordinate: g(2) = 4 - 8 + 3 = -1
Since the parabola opens upward, the minimum value is -1, and the function extends to infinity.
Range: [-1, ∞)
Example 5: A Piecewise Function
Function:
g(x) = { x + 1, if x < 0
{ x², if x ≥ 0
Finding the Domain:
Both pieces are defined for their respective domains, and together they cover all real numbers.
Domain: (-∞, ∞)
Finding the Range:
For x < 0: g(x) = x + 1 spans from negative infinity to 1 (exclusive).
For x ≥ 0: g(x) = x² spans from 0 to infinity.
Combined range: (-∞, 1) ∪ [0, ∞) = (-∞, ∞)
Range: (-∞, ∞)
Example 6: A Function with a Hole
Function: g(x) = (x² - 4)/(x - 2)
Finding the Domain:
Factor numerator: (x - 2)(x + 2)/(x - 2)
For x ≠ 2, this simplifies to g(x) = x + 2
There's a hole at x = 2.
Domain: (-∞, 2) ∪ (2, ∞)
Finding the Range:
The simplified function g(x) = x + 2 is a line with slope 1 and y-intercept 2, but with a hole at x = 2. When x = 2, g(x) would equal 4, but this point is excluded.
Range: (-∞, 4) ∪ (4, ∞)
Conclusion
Determining the domain and range of a function requires systematic analysis of its algebraic structure. Still, for the domain, identify and exclude values that create undefined mathematical operations—zeros in denominators, negative values under even roots, and non-positive arguments in logarithms. Express the remaining valid x-values using interval notation, combining intervals with the union symbol when necessary Worth keeping that in mind..
For the range, employ multiple strategies depending on the function type. Still, rational functions benefit from analyzing horizontal asymptotes and checking whether the function attains those values. Also, radical functions typically have restricted outputs based on the radical's properties. Polynomials' ranges depend on their degree and leading coefficient, with quadratics requiring vertex analysis. Logarithmic functions always have range all real numbers, while piecewise functions require examining each piece separately Surprisingly effective..
Visual analysis provides an intuitive approach when graphs are available, projecting coverage onto the respective axes. This method is particularly valuable for confirming analytical results and understanding complex behaviors.
Mastering these techniques enables precise characterization of function behavior, facilitating deeper mathematical understanding and effective problem-solving across various applications in calculus, modeling, and mathematical analysis.