Understanding the Domain and Range of a Function Graph Using Interval Notation
When you first encounter a function on a graph, the most common questions are: “What values can the input take?Mastering how to read and write these sets using interval notation is essential for students, engineers, data scientists, and anyone who works with mathematical models. ” These questions lead directly to the concepts of the domain and range of a function. In practice, ”* and *“What values can the output produce? This guide breaks down the ideas, shows step‑by‑step examples, explains the underlying theory, and answers common questions—so you can confidently determine the domain and range of any graph.
1. Introduction to Domain and Range
A function associates each input (usually represented by (x)) with exactly one output (represented by (y)).
Here's the thing — - The domain is the set of all admissible inputs. - The range is the set of all attainable outputs And that's really what it comes down to..
When a graph is given, the domain is the horizontal span of the graph that actually exists, while the range is the vertical span. Interval notation provides a concise way to describe these sets, especially when they involve infinite bounds or excluded points And that's really what it comes down to..
2. Reading a Graph to Find the Domain
2.1 Identify the Horizontal Extent
-
Locate the leftmost and rightmost points where the graph is defined.
- If the graph starts at a point and continues indefinitely to the right, the right bound is (+\infty).
- If it extends indefinitely to the left, the left bound is (-\infty).
-
Check for gaps or holes (open circles) Took long enough..
- A hole at (x = a) means (a) is not in the domain.
-
Consider asymptotes.
- A vertical asymptote at (x = b) excludes (b) from the domain but does not otherwise limit the interval.
2.2 Write the Domain in Interval Notation
- Use parentheses
()for excluded endpoints, brackets[]for included endpoints. - Use
∞for infinity, with a sign. - Separate multiple intervals with commas.
Example 1:
Graph of (y = \sqrt{4 - (x-2)^2}) (a semicircle centered at ((2,0)) with radius 2).
- Horizontal extent: from (x = 0) to (x = 4).
- Both endpoints are included because the semicircle touches the x‑axis there.
- Domain: ([0, 4]).
Example 2:
Graph of (y = \frac{1}{x-3}).
- Vertical asymptote at (x = 3).
- Domain: ((-\infty, 3) \cup (3, \infty)).
3. Reading a Graph to Find the Range
3.1 Identify the Vertical Extent
-
Locate the lowest and highest points the graph reaches.
- If the graph stretches upward forever, the upper bound is (+\infty).
- If it stretches downward forever, the lower bound is (-\infty).
-
Check for horizontal asymptotes.
- A horizontal asymptote at (y = c) means the graph approaches (c) but never reaches it.
- If the graph touches the asymptote (tangent), then (c) is included.
-
Spot holes (open circles) on the graph Simple as that..
- If the graph has a hole at (y = d), then (d) is excluded from the range.
3.2 Write the Range in Interval Notation
Follow the same rules as for the domain.
Example 3:
Graph of (y = \tan x) over ((- \frac{\pi}{2}, \frac{\pi}{2})) That's the whole idea..
- Vertical asymptotes at (\pm \frac{\pi}{2}).
- The function takes every real value between the asymptotes.
- Range: ((-\infty, \infty)).
Example 4:
Graph of (y = \ln(x-1)).
- Domain: ((1, \infty)).
- As (x \to 1^+), (y \to -\infty); as (x \to \infty), (y \to \infty).
- Range: ((-\infty, \infty)).
4. Interval Notation Rules Recap
| Symbol | Meaning | Example |
|---|---|---|
[ |
Included endpoint | ([0, 5]) includes 0 and 5 |
] |
Included endpoint | ([2, 7)) includes 2, not 7 |
( |
Excluded endpoint | ((-\infty, 3)) excludes 3 |
) |
Excluded endpoint | ((4, \infty)) excludes 4 |
∪ |
Union of intervals | ((-\infty, 0) \cup (2, \infty)) |
∞ |
Infinity | ((-\infty, \infty)) |
- Closed endpoints (
[,]) indicate that the function actually attains that value. - Open endpoints (
(,)) indicate that the function approaches but never reaches that value.
5. Common Pitfalls and How to Avoid Them
| Pitfall | Why It Happens | Fix |
|---|---|---|
| Assuming the domain is always all real numbers | Misreading asymptotes or holes | Carefully inspect the graph for discontinuities |
| Forgetting to include endpoints where the graph touches the axis | Missing closed brackets | Check if the graph actually reaches the endpoint |
| Misinterpreting asymptotes as part of the graph | Thinking asymptotes are limits the function reaches | Remember asymptotes are never attained |
Using ∞ incorrectly (e.g., [0, ∞) for a bounded graph) |
Overlooking an upper bound | Verify the highest point the graph reaches |
6. Step‑by‑Step Example: A Piecewise Function
Consider the function:
[ f(x)= \begin{cases} x^2 & \text{if } x \le 2 \ 3x - 1 & \text{if } 2 < x < 5 \ -2 & \text{if } x \ge 5 \end{cases} ]
6.1 Domain
- The first piece is defined for all (x \le 2).
- The second piece is defined for (2 < x < 5).
- The third piece is defined for (x \ge 5).
All real numbers are covered, so the domain is ((-\infty, \infty)).
6.2 Range
-
First piece (x^2) for (x \le 2):
- Minimum at (x=0) gives (0).
- As (x \to -\infty), (x^2 \to \infty).
- Range: ([0, \infty)).
-
Second piece (3x-1) for (2 < x < 5):
- At (x=2^+), value (\approx 5).
- At (x=5^-), value (\approx 14).
- Range: ((5, 14)).
-
Third piece constant (-2) for (x \ge 5):
- Range: ({-2}).
Combine all ranges:
- The union of ([0, \infty)), ((5, 14)), and ({-2}).
- Since ([0, \infty)) already covers ((5, 14)), the overall range is ([0, \infty) \cup {-2}).
Consider this: - Even so, (-2) is not in ([0, \infty)), so we keep it separate. - Final Range: ({-2} \cup [0, \infty)).
7. FAQ
Q1: How do I handle a graph that has a hole at a point?
A: Exclude that point from the interval. Use parentheses. Example: if the graph has a hole at (x=3), write the domain as ((-\infty, 3) \cup (3, \infty)).
Q2: What if the function touches an asymptote but never crosses it?
A: If the function touches the asymptote (tangent), include the value. If it merely approaches it, exclude it. For horizontal asymptote (y=c): if the graph touches (y=c) at some point, write ([... , c]); otherwise, write ((-\infty, c)) or ((c, \infty)) as appropriate.
Q3: Can the domain or range be a single number?
A: Yes. A constant function (f(x)=k) has domain ((-\infty, \infty)) and range ({k}), which in interval notation is just ([k, k]).
Q4: How do I express a domain that is a single interval with both ends excluded?
A: Use parentheses at both ends: ((a, b)).
Q5: What if the graph has multiple disconnected pieces?
A: Write each piece as a separate interval and join them with a union symbol ∪. Example: ((-\infty, -1] \cup [2, 5)) But it adds up..
8. Conclusion
Determining the domain and range of a function from its graph is a foundational skill in mathematics. By carefully examining the horizontal and vertical extents, noting asymptotes, holes, and endpoints, and applying the concise language of interval notation, you can describe these sets precisely and communicate them clearly in any mathematical context. With practice, the process becomes intuitive, enabling you to tackle more complex functions, analyze real‑world data, and build a solid basis for further study in calculus, algebra, and beyond.