01 / 21

Determine
Domain & Range

Learn to identify the set of all valid inputs and possible outputs for any function: algebraic, graphical, or contextual.

College Algebra

What Is the Domain?

The domain of a function \( f \) is the set of all input values \( x \) for which \( f(x) \) is defined. Think of it as every value you are allowed to plug into the function.

Interval
\( [2, 5) \) means \( 2 \le x < 5 \)
Set-Builder
\( \{x \mid x \neq 3\} \) means all reals except 3

What Is the Range?

The range of a function \( f \) is the set of all output values \( y = f(x) \) that the function actually produces. It answers: "What \( y \)-values can this function reach?"

Domain
(inputs \(x\))
\(f\)
Range
(outputs \(y\))

Why Domain & Range Matter

Understanding domain and range is essential because it tells you where a function lives. Without this knowledge, you might plug in values that produce undefined results or miss possible outputs entirely.

Modeling
Real-world contexts often restrict inputs: time \( t \geq 0 \), distances are positive, populations are whole numbers.
Composition
When composing \( f(g(x)) \), the range of \( g \) must fit inside the domain of \( f \).
Graphing
Knowing the range helps you set the correct window and identify horizontal asymptotes.

Core Rule: Domain Restrictions

Three algebraic situations restrict the domain. Memorize these: they cover the vast majority of problems you will encounter.

1
Division by zero: If \( x \) appears in a denominator, set the denominator \( \neq 0 \) and exclude those values.
2
Even roots of negatives: For \( \sqrt[n]{\text{expression}} \) where \( n \) is even, the expression under the radical must be \( \ge 0 \).
3
Logarithms of non-positives: For \( \ln(\text{expression}) \) or \( \log(\text{expression}) \), the argument must be \( > 0 \).

Reading Domain from a Graph

On a graph, the domain is the set of all \( x \)-values covered by the curve. Scan left to right: where does the graph exist?

x
y
-1
1
2
3
4
1
2
→
(-1, 0)
\( \text{Domain: } [-1, \infty) \)
\( \text{Range: } [0, \infty) \)

Domain vs Range: Key Distinction

Domain Range
Definition All valid inputs \( x \) All possible outputs \( y \)
Axis Horizontal (\( x \)-axis) Vertical (\( y \)-axis)
How to find Look for restrictions (division, radicals, logs) Analyze function behavior, endpoints, asymptotes
Graph scan Left → Right Bottom → Top
Notation \( \{x \mid \text{condition}\} \) \( \{y \mid \text{condition}\} \)

Strategies for Finding the Range

1
Graph it: Sketch or use technology. Read the \( y \)-values the curve reaches from bottom to top.
2
Solve for \( x \): Rewrite \( y = f(x) \) and solve for \( x \) in terms of \( y \). The values of \( y \) that give real solutions form the range.
3
Use known parent functions: If you recognize the shape (\( x^2 \), \( |x| \), \( \sqrt{x} \), \( 1/x \)), apply transformations to the parent range.
4
Check extrema and asymptotes: Find the minimum/maximum values and any horizontal asymptotes to bound the range.

How to Apply: Step by Step

1
Identify the function type: Is it polynomial, rational, radical, logarithmic, piecewise, or a combination?
2
Find domain restrictions: Set denominators \( \neq 0 \), radicands \( \ge 0 \), and log arguments \( > 0 \). Solve the resulting inequalities.
3
Write the domain: Express the allowed \( x \)-values in interval notation, combining with \( \cup \) if needed.
4
Determine the range: Use graphing, algebraic inversion, or known parent-function behavior. Always check endpoints and asymptotes.
5
Verify with test values: Plug boundary values of the domain into \( f \) and confirm the outputs match your claimed range.

Example 1: Rational Function

x
y
-2
-1
1
2
3
4
1
2
-1
-2
\(x = 3\)
\( \text{Domain: } (-\infty, 3) \cup (3, \infty) \)
\( \text{Range: } (-\infty, 0) \cup (0, \infty) \)

Example 2: Radical Function

1
Radicand \( \ge 0 \): \( 5 - x \ge 0 \implies x \le 5 \).
2
Domain: \( (-\infty, 5] \).
3
Range: The square root outputs \( \ge 0 \). When \( x = 5 \), \( f(5) = 0 \). As \( x \to -\infty \), \( f(x) \to \infty \). Range: \( [0, \infty) \).

Example 3: Reading a Graph

Determine the domain and range from this graph of a piecewise function.

x
y
-1
1
2
3
4
5
6
1
2
3
4
\(y = x + 2\)
\(y = 2\)
\( \text{Domain: } [-1, 6] \)
\( \text{Range: } [1, 4] \)

Example 4: Quadratic Function

1
Domain: Polynomials are defined for all real numbers. Domain: \( (-\infty, \infty) \).
2
Vertex: \( x = -\frac{b}{2a} = -\frac{4}{2(-1)} = 2 \). Then \( f(2) = -4 + 8 - 1 = 3 \). Vertex: \( (2, 3) \).
3
Range: Since \( a = -1 < 0 \), the parabola opens downward. The vertex is the maximum. Range: \( (-\infty, 3] \).

Example 5: Logarithmic Function

1
Argument \( > 0 \): \( 2x + 6 > 0 \implies x > -3 \).
2
Domain: \( (-3, \infty) \).
3
Range: The natural log function has range \( (-\infty, \infty) \). Since \( 2x + 6 \) takes all positive values as \( x \) ranges over \( (-3, \infty) \), the range is \( (-\infty, \infty) \).

Common Mistakes to Avoid

✕ Forgetting Multiple Restrictions
A function like \( \frac{\sqrt{x}}{x-4} \) has two restrictions: \( x \geq 0 \) and \( x \neq 4 \). Combine them: \( [0, 4) \cup (4, \infty) \).
✕ Confusing ( ) and [ ]
Use parentheses for excluded endpoints (open dots, asymptotes, \( \pm\infty \)) and brackets for included endpoints (closed dots, attained values).
✕ Assuming Range = Domain
Many students report the domain when asked for the range. Always check: are you describing \( x \)-values or \( y \)-values?

Quick Reference by Function Type

Function Type Domain Range
Polynomial \( (-\infty, \infty) \) Depends on degree and leading coefficient
Rational \( \frac{p(x)}{q(x)} \) All \( x \) where \( q(x) \neq 0 \) Exclude horizontal asymptote value (check)
\( \sqrt{g(x)} \) \( g(x) \geq 0 \) \( [0, \infty) \) (possibly bounded above)
\( \ln(g(x)) \) \( g(x) > 0 \) \( (-\infty, \infty) \)
\( |g(x)| \) Same as \( g(x) \) \( [0, \infty) \) (non-negative)

Question 1 of 5

What is the domain of \( f(x) = \dfrac{1}{x^2 - 9} \)?

Question 2 of 5

What is the range of \( f(x) = x^2 + 1 \)?

Question 3 of 5

What is the domain of \( g(x) = \sqrt{3x - 12} \)?

Question 4 of 5

What is the domain of \( h(x) = \log_2(x + 5) \)?

Question 5 of 5

A function has domain \( [-2, 6] \) and a graph that reaches a minimum \( y \)-value of \(-3\) and a maximum \( y \)-value of \(5\). What is the range?