Core Concept

Domain vs. Range

Domain → [Function] → Range
(inputs) (outputs)

Finding Domain

What Restricts the Domain?

For most functions, the domain is "all real numbers." But two situations create restrictions:

1. Division by Zero

Any value of x that makes the denominator = 0 must be excluded.

f(x) = 1/(x − 3)
x ≠ 3
2. Even Roots of Negatives

You can't take a square root (or 4th root, etc.) of a negative number.

f(x) = √(x − 4)
x ≥ 4

Example 1

Domain of a Rational Function

Find the domain of f(x) = 5 / (x² − 9).

1. Set the denominator ≠ 0:
2. x² − 9 ≠ 0
3. x² ≠ 9
4. x ≠ 3 and x ≠ −3

Domain: all real numbers except 3 and −3.

In interval notation: (−∞, −3) ∪ (−3, 3) ∪ (3, +∞)

Example 2

Domain of a Square Root Function

Find the domain of g(x) = √(2x − 6).

1. The expression inside √ must be ≥ 0:
2. 2x − 6 ≥ 0
3. 2x ≥ 6
4. x ≥ 3

Domain: x ≥ 3, or in interval notation: [3, +∞)

Finding Range

Determining the Range

The range can be trickier to find analytically. For simpler functions, think about what outputs are possible:

Linear functions like f(x) = 2x + 1: domain and range are both all real numbers.

Quadratic functions like f(x) = x²: since squaring always gives a non-negative result, the range is f(x) ≥ 0, or [0, +∞).

Square root functions like f(x) = √x: the output is always ≥ 0, so range is [0, +∞).

For complex functions, graphing is often the best way to see the range visually.

Example 3

Range of a Quadratic

Find the range of f(x) = (x − 2)² + 3.

1. (x − 2)² is always ≥ 0 (squaring anything is non-negative)
2. So the minimum value of (x − 2)² is 0, when x = 2
3. Therefore the minimum of f(x) = 0 + 3 = 3
4. f(x) can grow arbitrarily large as x moves away from 2

Range: f(x) ≥ 3, or [3, +∞)

Watch Out

Common Mistakes

Your Turn

Try It Yourself

Q1. Find the domain of f(x) = 1/(x + 7).

Show Answer

Set denominator ≠ 0: x + 7 ≠ 0, so x ≠ −7. Domain: all reals except −7.

Q2. Find the domain of g(x) = √(x + 5).

Show Answer

x + 5 ≥ 0, so x ≥ −5. Domain: [−5, +∞).

Q3. State the range of f(x) = x² + 1.

Show Answer

x² ≥ 0 always, so f(x) ≥ 0 + 1 = 1. Range: f(x) ≥ 1, or [1, +∞).

Key Takeaways

1-Minute Summary

← Lesson 2: Evaluating Functions Next: Function Notation →