Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Find the Range of a Function

The range is the set of outputs the function actually produces. Find where the outputs bottom out or top out, check whether those values are reached, and see how far the outputs run in each direction.

Recognize the task

The question asks "what values can f(x)f(x) take?", "state the range", or needs the range to give the domain of an inverse. Typical inputs: a quadratic x2−4x+1x^2 - 4x + 1, a shifted root x−1+2\sqrt{x - 1} + 2, a reciprocal 1x−3\frac{1}{x - 3}, a function on a closed interval. Test: find the domain first, then ask where the outputs are smallest and largest on it.
Range and its notation are defined in the range lesson.

Ways to do it

Track the lowest and highest outputsusual
m≤f(x)≤M  ⇒  range⊆[m,M]m \leq f(x) \leq M \;\Rightarrow\; \text{range} \subseteq [m, M]
Use the vertex, the endpoints and the end behavior (range by behavior).
Solve for xalgebraic
y=f(x)  ⇒  x=…(y)y = f(x) \;\Rightarrow\; x = \ldots(y)
Keep every yy for which a real xx in the domain exists (range algebraically).
From the graphgraph
range=shadow of the graph on the y-axis\text{range} = \text{shadow of the graph on the } y\text{-axis}
Read the lowest and highest heights the curve reaches (range from a graph).

Steps

StepOn f(x)=x2−4x+1f(x) = x^2 - 4x + 1
1Find the domain. The range depends on which inputs are allowed; a restricted domain can cut the range.R\mathbb{R}
2Find where the function turns or starts. For a quadratic, use the vertex formula x=−b2ax = -\frac{b}{2a}. For a root, use the starting point; on an interval, use the endpoints too.x=−−42=2x = -\frac{-4}{2} = 2
3Evaluate the function there. This output is a candidate for the lowest or highest value.Substitution ↗f(2)=4−8+1=−3f(2) = 4 - 8 + 1 = -3
4Read the end behavior. Ask where the outputs go as xx moves to the ends of the domain or toward an excluded value.a=1>0a = 1 > 0: f(x)→∞f(x) \to \infty at both ends
5Write the range. Use a bracket for a value that is reached and a parenthesis for one that is only approached.[−3,∞)[-3, \infty)

Worked examples

Example 1 · a shifted square root

starting point
f(x)=x−1+2f(x) = \sqrt{x - 1} + 2 on [1,∞)[1, \infty)
domain first
x−1\sqrt{x - 1} takes every value ≥0\geq 0
starts at 00, grows forever
[2,∞)[2, \infty)
add 22 to every output

Example 2 · a reciprocal

solve for x
y=1x−3⇒x=3+1yy = \dfrac{1}{x - 3} \Rightarrow x = 3 + \dfrac{1}{y}
solve for xx
a real xx exists for every y≠0y \neq 0
1y\frac{1}{y} needs y≠0y \neq 0
(−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty)
00 is never an output

Example 3 · a quadratic on a closed interval

restricted domain
f(x)=x2f(x) = x^2 on [−1,3][-1, 3]
f(−1)=1f(-1) = 1, f(3)=9f(3) = 9
endpoint outputs
f(0)=0f(0) = 0 at the vertex inside
the curve turns inside
[0,9][0, 9]
lowest 00, highest 99
Move a parabola or a root and watch the output interval change in the range visualizer.

See it happen

The range is the shadow the graph casts on the yy-axis. Shine a light from the side: the lowest point of the curve sets the bottom of the shadow and the highest point sets the top. If the curve keeps climbing, the shadow runs to infinity. If it only creeps toward a level, like 2x2^x toward 00, the shadow stops just short of it, which is why that end gets a parenthesis.

Common mistakes

Taking the y-intercept as the vertex height

✗ f(x)=x2−4x+1f(x) = x^2 - 4x + 1 has range [1,∞)[1, \infty) because f(0)=1f(0) = 1
✓ the vertex is at x=2x = 2: f(2)=−3f(2) = -3, range [−3,∞)[-3, \infty)

Using only the endpoint outputs

✗ x2x^2 on [−1,3][-1, 3]: range [f(−1),f(3)]=[1,9][f(-1), f(3)] = [1, 9]
✓ the vertex lies inside: f(0)=0f(0) = 0, range [0,9][0, 9]

Forgetting that a square root is never negative

✗ y=x⇒x=y2y = \sqrt{x} \Rightarrow x = y^2, so the range is R\mathbb{R}
✓ x≥0\sqrt{x} \geq 0 always: range [0,∞)[0, \infty)

Closing an end that is only approached

✗ the range of 2x2^x is [0,∞)[0, \infty)
✓ 2x>02^x > 0 for every xx: range (0,∞)(0, \infty)
The ranges of the common families are collected in range of common function types.