Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools


Range of a Function






What Comes Out

The domain tells what goes in. The range tells what comes out. Every function transforms its inputs into outputs, but not every number appears as a result. The squaring function never produces a negative. The sine function never exceeds one. The reciprocal function never reaches zero.

The range is the complete set of output values — every number the function actually produces as the input varies across the entire domain. Finding it requires understanding not just what the function does at particular points, but what it can and cannot do overall.

Key Terms

Range— the set of all output values a function actually produces
Domain— the set of all inputs; range and domain together describe the full input-output picture
Inverse Function— the range of ff becomes the domain of f−1f^{-1}
Transformation— vertical transformations directly alter the range


See All Function Definitions →


What is Range

Which numbers can come out of f(x) = x²?
Can it give 55? 0.250.25? −1-1? The formula says what to do with an input, but not which outputs are possible.
Trying inputs one at a time never settles it.
Plug in a few numbers and record what comes out. Every new input gives another output, but no list of inputs can be finished — there are infinitely many — so the list can never show that some value is missing.
input xoutput x²
−39
−11
00
0.50.25
24
Turn the question around: pick an output and ask whether some input reaches it.
Instead of throwing darts and noting where they land, choose a target and check whether it can be hit. For x2=yx^2 = y that means looking for a number whose square is yy.
target output yan input with x² = yreached?
93yes
5√5 ≈ 2.236yes
0.250.5yes
00yes
−1noneno
−4noneno
Every target from 00 upward is reached, by its square root; every negative target is missed, because no square is negative.
The definition
The range of a function is the set of all outputs it actually produces as the input runs through the domain.
So the range of f(x)=x2f(x) = x^2 on all real numbers is [0,∞)[0, \infty).
A range is a set of numbers, and it depends on both the rule and the domain.
The range of a function is the set of all output values the function produces. As the input varies across the entire domain, the range collects every resulting output.
Consider f(x)=x2f(x) = x^2 with domain (−∞,∞)(-\infty, \infty). Squaring any real number produces a non-negative result: 0,1,4,9,0.250, 1, 4, 9, 0.25, and so on. Negative outputs never appear. The range is [0,∞)[0, \infty).
Consider g(x)=2x+1g(x) = 2x + 1 with domain (−∞,∞)(-\infty, \infty). As xx takes every real value, 2x+12x + 1 also takes every real value — there is no output this linear function cannot reach. The range is (−∞,∞)(-\infty, \infty).
The range depends on both the rule and the domain. The same formula with different domains can produce different ranges. If f(x)=x2f(x) = x^2 is restricted to domain [1,3][1, 3], the outputs span from 12=11^2 = 1 to 32=93^2 = 9, giving range [1,9][1, 9].
x^2 on the domain [1, 3] has range [1, 9]xy−11234246810range [1, 9]f(x) = x² on [1, 3](1, 1)(3, 9)domain [1, 3]Same rule, smaller domain: the outputs fill exactly [1, 9]
The domain shapes the range

The section's third example: the rule x² kept only on the domain [1, 3] (solid), with the rest of the parabola faint. The outputs start at f(1) = 1 and end at f(3) = 9, both reached, so the range is the closed interval [1, 9] marked on the y-axis, far smaller than the [0, ∞) of the full parabola.

Change the domain and the range changes with it, even when the rule stays the same.
Range answers the question: what values can this function actually produce? It is the complete collection of outputs, nothing more and nothing less.
The table is persuasive, but six targets are not a proof.
It checked six values. To be sure of [0,∞)[0, \infty), it must be shown that every y≥0y \geq 0 is reached (take x=yx = \sqrt{y}) and that no negative yy ever is (a square is never negative). Arguments of that kind are what finding the range algebraically is about.
The rest of the page covers range notation, range versus codomain, finding the range algebraically, by behaviour and from a graph, and the ranges of common function types.

Range Notation

Notation

Range Notation

Range borrows every mark domain notation owns — intervals, set-builder, unions — and adds three twists of its own: the output letter, the arrow signature that declares both sets at once, and the braces that list a finite range outright. The table below compares the forms side by side.
The interval brackets, set-builder bar and ∪\cup are owned by domain notation; the inequality signs by inequality notation; f(x)f(x) by function notation.
{y∣y≥0}\{y \mid y \geq 0\}
the set of all y such that y is at least zero
The letter announces the axis: domains speak in xx, ranges in yy — the same set-builder grammar, output side. On a graph the identical interval marks now measure vertical extent, not horizontal.
CasesInequality form follows the switch — y≥−3y \geq -3, 0<y≤50 < y \leq 5; a range like [0,∞)[0, \infty) carries no letter at all, and only context (or the axis it describes) says whether it lists inputs or outputs.
Do not confuseA domain statement. {x∣x≥0}\{x \mid x \geq 0\} and {y∣y≥0}\{y \mid y \geq 0\} name the same set of numbers — the letter is bookkeeping, not mathematics; what differs is which question the set answers.
f:R→Rf: \mathbb{R} \to \mathbb{R}
f from R to R
The signature: source set before the arrow, declared target after it — domain and codomain in one line, before any formula appears. Range vs Codomain below leans on it: the range lives inside the set the arrow points at, equal to it only for onto functions.
CasesThe general shape f:A→Bf: A \to B scales to any sets; linear algebra writes transformations the same way, T:Rn→RmT: \mathbb{R}^n \to \mathbb{R}^m — the image playing the range's role.
Same glyph elsewhereThe same arrow means approach in limit notation — x→ax \to a is motion toward a value, f:A→Bf: A \to B a static declaration; nothing approaches anything in a signature.
{2,5,7}\{2, 5, 7\}
the set containing two, five, and seven
The roster spelling for finite ranges: braces list the outputs outright — exactly these values, nothing between them. The braces are set-theory marks; a step function's range is written this way.
CasesDiscreteness is the trigger — a function taking only the values 22, 55, 77 gets the roster, never an interval; mixed cases splice the two: {0}∪(1,∞)\{0\} \cup (1, \infty).
Do not confuseInterval brackets. Three bracket shapes, three species: {2,7}\{2, 7\} is two numbers, [2,7][2, 7] every number between, (2,7)(2, 7) the same minus the endpoints — swapping brace for bracket silently adds infinitely many values.
DownloadPNG2×PDF
Notation · Cheat sheet
Function Notation at a Glance
The marks from the notation cards across the function pages: how each is read and what it means. Every group links to the full card on its page.
Basics
f(x)f(x)
f of x
ff names the rule, f(x)f(x) its output; never f times x.
g(t),  P(n)g(t), \; P(n)
g of t; P of n
Any letter can name a function; tt hints at time, nn at counting.
f(x+1)f(x + 1)
f of x plus one
Whatever is in the brackets replaces xx everywhere.
Domain
[2,5)[2, 5)
two included, five excluded
Square bracket in, round bracket out.
{x∣x≥0}\{x \mid x \geq 0\}
all x such that
Set-builder: the variable, then the test it must pass.
(a,b)∪(c,d)(a, b) \cup (c, d)
a union of intervals
For domains in separate pieces, as (−∞,−1)∪(1,∞)(-\infty, -1) \cup (1, \infty).
RangeThis page
{y∣y≥0}\{y \mid y \geq 0\}
all y such that
The same grammar on the output side.
f:R→Rf: \mathbb{R} \to \mathbb{R}
f from R to R
Domain, then codomain; the range may be smaller.
{2,5,7}\{2, 5, 7\}
exactly these outputs
A finite range listed in braces.
Function arithmetic
(f+g)(x)(f + g)(x)
f plus g, of x
Equals f(x)+g(x)f(x) + g(x); the same for f−gf - g.
(fg)(x)(fg)(x)
f times g, of x
Equals f(x) g(x)f(x)\,g(x).
(fg)(x)\left(\frac{f}{g}\right)(x)
f over g, of x
Equals f(x)g(x)\frac{f(x)}{g(x)}, only where g(x)≠0g(x) \neq 0.
Composition
f∘gf \circ g
f after g
Feed the output of gg into ff; read right to left.
f(g(x))f(g(x))
f of g of x
The same thing, evaluated inside out.
fg(x)fg(x)
ambiguous
Could mean a product; avoid it for composition.
Inverse functions
f−1(x)f^{-1}(x)
f inverse of x
The function that undoes ff: f−1(f(x))=xf^{-1}(f(x)) = x.
1f(x),  (f(x))−1\frac{1}{f(x)}, \; (f(x))^{-1}
one over f of x
The reciprocal: a different thing.
Dom(f),  Ran(f)\text{Dom}(f), \; \text{Ran}(f)
domain and range of f
They swap: Dom(f−1)=Ran(f)\text{Dom}(f^{-1}) = \text{Ran}(f).
Piecewise functions
{2xx<05x≥0\begin{cases} 2x & x < 0 \\ 5 & x \geq 0 \end{cases}
defined by cases
Use the row whose condition holds.
x<1,  x≥1x < 1, \; x \geq 1
split at the boundary
Each cut point belongs to exactly one row.
∙,  ∘\bullet, \; \circ
solid dot, open dot
On a graph: endpoint included, endpoint excluded.
Transformations
af(b(x−h))+ka f(b(x - h)) + k
the four-knob form
Outside letters move it vertically, inside letters horizontally.
f(x−h)f(x - h)
f of x minus h
Shifts right by hh: the sign goes the opposite way.
−f(x)-f(x) vs f(−x)f(-x)
two mirrors
Flip across the xx-axis against flip across the yy-axis.
Same marks, different job
f−1f^{-1} vs 1f\frac{1}{f}The inverse function against the reciprocal.
f(x)f(x)The brackets apply ff; they never mean multiplication.
(2,5)(2, 5)An open interval in a domain; a point in the plane on a graph.
the bar ∣\midSuch that, inside set braces; given, inside P(⋅)P(\cdot); divides, between integers.
Function Notation at a Glance·/functions/basicsLearn Math Class
DownloadPNG2×PDF
Layout
NotationWhat it representsExample
Intervala continuous run of values — brackets include endpoints, parentheses exclude them[0, ∞) — all non-negative reals
Set-buildera property that every y in the range must satisfy{y | y ≥ 0} — equivalent to [0, ∞)
Inequalitythe bounding condition stated directlyy ≥ −3, or 0 < y ≤ 5
Uniondisconnected pieces joined with ∪(−∞, −1] ∪ [1, ∞)
Discrete seta finite list of explicit values{2, 5, 7}
Range NotationLearn Math Class

Range vs Codomain

The codomain is the set where outputs are declared to live. The range is the set of outputs actually produced.

RULE
The range is always a subset of the codomain, but they need not be equal.

If a function f:R→Rf: \mathbb{R} \to \mathbb{R} is defined by f(x)=x2f(x) = x^2, the codomain is all real numbers — that is where outputs are said to land. But the range is only [0,∞)[0, \infty), because negative numbers never actually appear as outputs.

In elementary algebra, the codomain is usually taken to be all real numbers by default, and the focus falls on the range. The distinction becomes important in abstract mathematics, where functions are defined precisely as mappings from domain to codomain.

A function is onto (or surjective) when every element of the codomain is actually achieved — that is, when the range equals the codomain. The function f(x)=x3f(x) = x^3 from R\mathbb{R} to R\mathbb{R} is onto: every real number is the cube of some real number. The function f(x)=x2f(x) = x^2 from R\mathbb{R} to R\mathbb{R} is not onto: negative numbers are in the codomain but not in the range.
-10-5510-55f(x) = x³
f(x) = x³: the range is the whole codomain

The band on the y-axis covers every height: each real number is the cube of some real number, so the range of x³ equals its codomain ℝ and the function is onto. For x², by contrast, the band stops at 0 and the negative half of the codomain is never reached. Compare the two on the range explorer.

Onto means the range leaves no part of the codomain unused.
The two sets side by side, with the squaring and cubing examples from this section.
DownloadPNG2×PDF
range

Range and codomain, side by side

Where outputs are allowed to land, and where they actually land.

2compared
What it is
Codomain
the set where outputs are declared to live
Range
the set of outputs actually produced
Fixed by
Codomain
the definition f:A→Bf: A \to B
Range
the rule of the function
Squaring on the reals
Codomain
R\mathbb{R}
Range
[0,∞)[0, \infty)
Negative numbers are in the codomain but never appear as outputs.
Cubing on the reals
Codomain
R\mathbb{R}
Range
R\mathbb{R}
Every real number is the cube of some real number, so the range fills the codomain: the function is onto.
In elementary algebra
Codomain
usually all real numbers, by default
Range
the set that is actually asked for
The range is always a subset of the codomain; the two are equal exactly when the function is onto.
Range and codomain, side by side·/functions/rangeLearn Math Class
The two example rows are the whole story: with squaring the range falls short of the codomain, with cubing it fills it. Whether a function is onto is a question about the codomain as much as about the rule, and in elementary algebra, where the codomain is all of R\mathbb{R} by default, the range is the set worth finding.

Finding Range Algebraically

One algebraic method for finding range reverses the input-output relationship. Write y=f(x)y = f(x), then solve for xx in terms of yy. The values of yy for which this is possible — where a real solution xx exists in the domain — form the range.

For f(x)=2x+5f(x) = 2x + 5, write y=2x+5y = 2x + 5 and solve:

Finding Range Algebraically
x=y−52x = \frac{y - 5}{2}

This produces a real xx for every real yy. The range is (−∞,∞)(-\infty, \infty).

For f(x)=x2f(x) = x^2, write y=x2y = x^2 and solve:

Finding Range Algebraically
x=±yx = \pm\sqrt{y}

This produces real solutions only when y≥0y \geq 0. The range is [0,∞)[0, \infty).

For f(x)=1x−3f(x) = \dfrac{1}{x - 3}, write y=1x−3y = \dfrac{1}{x - 3} and solve:

Finding Range Algebraically
x−3=1yx - 3 = \frac{1}{y}
Finding Range Algebraically
x=3+1yx = 3 + \frac{1}{y}

This requires y≠0y \neq 0. The range is (−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty).

Pitfall: Forgetting that a square root is never negative
Solving y=xy = \sqrt{x} to x=y2x = y^2 and stopping gives range (−∞,∞)(-\infty, \infty), since every yy yields an xx. Yet y=−2y = -2 gives x=4x = 4, and 4=2\sqrt{4} = 2, not −2-2. The range is [0,∞)[0, \infty).

Radical functions need one extra step in this method. Solving y=x−1y = \sqrt{x - 1} for xx means squaring both sides, which gives x=y2+1x = y^2 + 1, a formula that produces a real xx for every real yy. The squared equation and the original are not the same statement: the original also carries the sign of the square root, which the solved form no longer shows.

The method works well for rational, quadratic, and simple radical functions. For more complex functions, other approaches may be needed.

For step-by-step results on your own function, use the range calculator on Functions Explorer.
The method on the third function of this section. Press Next to carry out one step at a time.
DownloadPNG2×PDF
f(x)=1x−3f(x) = \dfrac{1}{x - 3}Step 1 of 4
Step
f(x)=1x−3f(x) = \dfrac{1}{x - 3}
1
Write y=f(x)y = f(x)
y=1x−3y = \dfrac{1}{x - 3}
2
Solve for xx in terms of yy
x=3+1yx = 3 + \dfrac{1}{y}
3
Find the values of yy that give a real xx
y≠0y \neq 0
4
Those values form the range
(−∞,0)∪(0,∞)(-\infty, 0) \cup (0, \infty)
Finding a range by solving for the input·/functions/rangeLearn Math Class
-10-5510-55f(x) = 1/x
f(x) = 1/x: every output except 0

Solving y = 1/x for x gives x = 1/y, which works for every y except 0, and the graph agrees: the band covers the whole y-axis with a single open dot at 0. The section's 1/(x − 3) is this curve moved 3 to the right, which leaves the heights, and so the range (−∞, 0) ∪ (0, ∞), unchanged. See it on the range explorer.

Whatever value of y makes the solved equation impossible is the value missing from the range.

Finding Range by Analyzing Behavior

Understanding how a function behaves — its extrema, its trends, its limits — reveals its range without explicit algebraic solving.

A continuous function on an interval with an absolute minimum mm and no upper bound has range [m,∞)[m, \infty). Such a function with an absolute maximum MM and no lower bound has range (−∞,M](-\infty, M]. A function bounded both above and below has range contained in some interval [m,M][m, M].

Monotonic functions — those that only increase or only decrease — are easier to analyze. A continuous, strictly increasing function on domain [a,b][a, b] has range [f(a),f(b)][f(a), f(b)]. A continuous, strictly decreasing function on [a,b][a, b] has range [f(b),f(a)][f(b), f(a)].

Pitfall: Using only the endpoint outputs
Taking f(x)=x2f(x) = x^2 on [−1,3][-1, 3] to have range [f(−1),f(3)]=[1,9][f(-1), f(3)] = [1, 9] misses the vertex inside the interval, where f(0)=0f(0) = 0. The range is [0,9][0, 9].

On a restricted domain [a,b][a, b], the two endpoint outputs f(a)f(a) and f(b)f(b) always belong to the range, since both endpoints are inputs. What lies between them depends on how the function moves across the interval: it may rise steadily, fall steadily, or turn one or more times before it reaches the far end.

End behavior determines whether the range extends to infinity. If f(x)→∞f(x) \to \infty as x→∞x \to \infty, the range has no upper bound. If f(x)→−∞f(x) \to -\infty as x→−∞x \to -\infty, the range has no lower bound.

Fact: Never zero, yet no smallest output
The two-variable polynomial x2+(xy−1)2x^2 + (xy - 1)^2 is never 00: x=0x = 0 leaves (−1)2=1(-1)^2 = 1, and x≠0x \neq 0 makes x2>0x^2 > 0. Yet y=1xy = \frac{1}{x} with x→0x \to 0 drives it toward 00, so its range is (0,∞)(0, \infty), which no one-variable polynomial can have.

Horizontal asymptotes suggest range boundaries. If f(x)→2f(x) \to 2 as x→∞x \to \infty, the value 22 is approached but may or may not be achieved. Whether 22 is in the range requires further analysis — checking if any xx actually produces f(x)=2f(x) = 2.

A lower bound that is approached but never reached leaves the range open at that end. The exponential 2x2^x behaves this way at 00: its outputs get smaller than any positive number, yet 00 itself never appears, so its range is written (0,∞)(0, \infty), with a parenthesis.
-10-5510-55f(x) = eˣ
f(x) = eˆx: approaching 0, never reaching it

eˆx only increases, and as x runs left its outputs sink toward the horizontal asymptote y = 0 without ever arriving. So 0 is the edge of the range but not part of it: the band is (0, ∞), with an open dot at 0. The asymptote marks the boundary; the open dot records that it is never achieved. Compare bounded and unbounded families on the range explorer.

A horizontal asymptote is a candidate boundary; whether it is included has to be checked separately.

Finding Range from Graph

When a function is presented graphically, the range is read as the vertical extent — the set of yy-values that the graph actually reaches.

Trace the graph and observe: what is the lowest point? What is the highest point? Does the graph extend upward or downward without bound?

Solid dots at endpoints indicate included values. If the highest point on the graph is a solid dot at y=5y = 5, then 55 is in the range. Use a bracket.

Fact: Every interval reaches every number
Conway's base-13 function takes every real value on every interval, however short, so cutting its domain down to (0,0.001)(0, 0.001) leaves its range all of R\mathbb{R}. It reads its output from the tail of the input's base-13 digits, and every interval holds numbers with every possible tail.

Open dots indicate excluded values. If the graph approaches but never reaches y=5y = 5, the range excludes 55. Use a parenthesis.

Horizontal asymptotes mark values the function approaches but typically does not achieve. A graph approaching y=0y = 0 as x→∞x \to \infty suggests 00 is a boundary of the range, likely excluded.

Gaps in the graph vertically appear as values of yy with no corresponding point on the curve. If no point on the graph has yy-coordinate 33, then 33 is not in the range.

For functions on restricted domains, check only the portion of the graph over that domain. The range may be smaller than the range on the natural domain.
-10-5510-55f(x) = x²
f(x) = x²: range [0, ∞) read off the y-axis

The shaded band on the vertical axis marks the heights the curve actually reaches: from the vertex at 0, included as a closed dot, upward without bound, and nothing below. Range is the vertical shadow of the graph. Switch to sin x and watch the band shrink to [−1, 1] on the range explorer.

Gaps in the band are the outputs the function never produces.

Range of Common Function Types

Each function family has characteristic range patterns.

Linear functions f(x)=mx+bf(x) = mx + b with m≠0m \neq 0 have range (−∞,∞)(-\infty, \infty). The line extends infinitely up and down. Constant functions f(x)=cf(x) = c have range {c}\{c\}, a single value.

Quadratic functions f(x)=ax2+bx+cf(x) = ax^2 + bx + c have range [k,∞)[k, \infty) when a>0a > 0 and (−∞,k](-\infty, k] when a<0a < 0, where kk is the yy-coordinate of the vertex.

Pitfall: Taking the constant term as the vertex height
For f(x)=x2−4x+1f(x) = x^2 - 4x + 1, reading the range as [1,∞)[1, \infty) uses f(0)=1f(0) = 1, the yy-intercept. The vertex is at x=2x = 2, with f(2)=4−8+1=−3f(2) = 4 - 8 + 1 = -3, so the range is [−3,∞)[-3, \infty).

For a quadratic in standard form, the vertex height kk does not appear in the formula; it has to be computed. The vertex sits at x=−b2ax = -\dfrac{b}{2a}, and substituting that input back into ff gives its height. Completing the square reaches the same number by rewriting the function as a(x−h)2+ka(x - h)^2 + k.

Absolute value functions f(x)=∣x∣f(x) = |x| have range [0,∞)[0, \infty). The output is never negative.

Square root functions f(x)=xf(x) = \sqrt{x} have range [0,∞)[0, \infty). Cube root functions f(x)=x3f(x) = \sqrt[3]{x} have range (−∞,∞)(-\infty, \infty).

Exponential functions f(x)=axf(x) = a^x with a>0a > 0, a≠1a \neq 1 have range (0,∞)(0, \infty). Outputs are always positive but never zero.

Logarithmic functions f(x)=log⁡a(x)f(x) = \log_a(x) have range (−∞,∞)(-\infty, \infty). Every real number is a possible output.

Sine and cosine have range [−1,1][-1, 1]. Tangent has range (−∞,∞)(-\infty, \infty).

These patterns provide quick answers for standard functions and anchor the analysis for transformed versions. The table below collects every common family with its form and default range — useful as a lookup card.
DownloadPNG2×PDF
Layout
Function familyFormDefault range
Linear (non-constant)f(x) = mx + b, m ≠ 0(−∞, ∞)
Constantf(x) = c{c}
Quadratic, opens upf(x) = ax² + bx + c, a > 0[k, ∞), where k is the vertex y-coordinate
Quadratic, opens downf(x) = ax² + bx + c, a < 0(−∞, k]
Absolute valuef(x) = |x|[0, ∞)
Square rootf(x) = √x[0, ∞)
Cube rootf(x) = ∛x(−∞, ∞)
Exponentialf(x) = aˣ, a > 0, a ≠ 1(0, ∞)
Logarithmicf(x) = logₐ(x)(−∞, ∞)
Sine / cosinef(x) = sin(x) or cos(x)[−1, 1]
Tangentf(x) = tan(x)(−∞, ∞)
Range of Common Function TypesLearn Math Class
-10-5510-55f(x) = |x|
f(x) = |x|: outputs from 0 upward

The V never dips below the axis, so its vertical band starts at 0 with a closed dot and runs upward: the same range as the parabola although the shape is different. Families with a minimum share this pattern; families with a horizontal asymptote, like eˆx, have an open endpoint instead. Compare them on the range explorer.

Recognising the family is often the fastest route to the range.
DownloadPNG2×PDF
Before you read
Ranges of the common families
Knowing the family tells you the range before any calculation. Here is the range of each common function type.
  • L0Range by function type
    • L1Polynomial and absolute value
      • L2Constantf(x) = c{c}
      • L2Linearmx + b, m ≠ 0(−∞, ∞)
      • L2Quadratic, a > 0vertex at height k[k, ∞)
      • L2Quadratic, a < 0vertex at height k(−∞, k]
      • L2Absolute value|x|[0, ∞)
    • L1Roots
      • L2Square root√x[0, ∞)
      • L2Cube root∛x(−∞, ∞)
    • L1Exponential and logarithmic
      • L2Exponentialaˣ(0, ∞)
      • L2Logarithmiclogₐ x(−∞, ∞)
    • L1Trigonometric
      • L2Sine and cosine[−1, 1]
      • L2Tangent(−∞, ∞)
Takeaway
Recognise the family first
Identify the family, read off its basic range, then adjust for any transformations.
Range of each common function type·/functions/rangeLearn Math Class

Effect of Transformations on Range

Transformations modify a function's graph, and vertical transformations directly affect the range.

Vertical translation shifts the range. If f(x)f(x) has range [a,b][a, b], then f(x)+kf(x) + k has range [a+k,b+k][a + k, b + k]. Adding 33 to a function shifts its entire range up by 33.

Vertical stretch and compression scale the range. If f(x)f(x) has range [a,b][a, b], then c⋅f(x)c \cdot f(x) has range [ca,cb][ca, cb] when c>0c > 0, and [cb,ca][cb, ca] when c<0c < 0 (the interval reverses).

Vertical reflection flips the range. If f(x)f(x) has range [a,b][a, b], then −f(x)-f(x) has range [−b,−a][-b, -a]. A function with range [0,∞)[0, \infty) becomes a function with range (−∞,0](-\infty, 0].

Horizontal transformations — shifts, stretches, reflections in the yy-axis — do not change the range directly. They change which xx-values produce which outputs, but not the collection of outputs itself. A horizontal shift moves the graph left or right without altering its vertical extent.

Pitfall: Shifting before scaling
For g(x)=2sin⁡(x)+5g(x) = 2\sin(x) + 5, adding 55 to [−1,1][-1, 1] first and then doubling gives [8,12][8, 12]. Each output is 2y+52y + 5 with yy in [−1,1][-1, 1], running from 2(−1)+5=32(-1) + 5 = 3 to 2(1)+5=72(1) + 5 = 7: the range is [3,7][3, 7].

Combining transformations requires tracking each effect. For g(x)=2f(x−3)+5g(x) = 2f(x - 3) + 5, the range of ff is first scaled by 22, then shifted up by 55. The horizontal shift by 33 does not affect the range.

The table below collects each vertical transformation's effect on a known range [a,b][a, b], with horizontal transformations listed as a single row to make explicit that they leave the range untouched.
DownloadPNG2×PDF
Layout
TransformationFormIf f has range [a, b], then g has range
Vertical translationg(x) = f(x) + k[a + k, b + k] — shifted by k
Vertical scale, c > 0g(x) = c · f(x)[ca, cb] — scaled by c
Vertical scale, c < 0g(x) = c · f(x)[cb, ca] — scaled and reversed
Vertical reflectiong(x) = −f(x)[−b, −a] — flipped across 0
Any horizontal transformationf(x − h), f(bx), f(−x)[a, b] — unchanged
Effect of Transformations on RangeLearn Math Class
-10-5510-55g(x) = f(x) + 3
g(x) = f(x) + 3: the parabola and its range move up by 3

Adding 3 to every output lifts the whole graph by 3, so the range [0, ∞) of x² becomes [3, ∞): vertical transformations act directly on the range. A horizontal shift would leave the range alone. Move the parameter k and watch the lowest point rise and fall on the transformations explorer.

Reflection in the x-axis is the vertical transformation that turns the range upside down.

Range from Context

In applications, the range carries physical meaning and may be constrained by real-world limits.

A function modeling height produces only non-negative outputs. A ball thrown upward cannot have negative height (assuming ground level is zero). The range is bounded below by 00 and above by the maximum height reached.

A function modeling population produces non-negative integers — or non-negative real numbers if continuous approximation is acceptable. Population cannot be negative, and zero means extinction.

Probabilities lie between 00 and 11 inclusive. A function giving probability as output has range contained in [0,1][0, 1].

Percentages lie between 00 and 100100. Temperatures may have physical lower bounds (absolute zero) or practical bounds from the context.

Context can also reveal the range conceptually. If C(x)C(x) represents the cost of producing xx items and includes a fixed startup cost of 500 dollars, then the range begins at 500500 or higher, not at zero.

Interpreting the range means translating mathematical bounds into real-world meaning. "The range is {0,1,…,255}\{0, 1, \ldots, 255\}" might mean "the brightness level varies from completely dark to maximum intensity."
A formula says which outputs are possible; the situation decides which of them can actually occur.

Range and Invertibility

RULE
The range of a function becomes the domain of its inverse, and the domain of a function becomes the range of its inverse.

This swap is fundamental to understanding inverse functions.

If f(x)=x2f(x) = x^2 with domain [0,∞)[0, \infty) has range [0,∞)[0, \infty), then its inverse f−1(x)=xf^{-1}(x) = \sqrt{x} has domain [0,∞)[0, \infty) and range [0,∞)[0, \infty).

If g(x)=exg(x) = e^x with domain (−∞,∞)(-\infty, \infty) has range (0,∞)(0, \infty), then its inverse g−1(x)=ln⁡(x)g^{-1}(x) = \ln(x) has domain (0,∞)(0, \infty) and range (−∞,∞)(-\infty, \infty).

The swap is symmetric and complete. Every output of ff is an input of f−1f^{-1}. Every input of ff is an output of f−1f^{-1}.

When a function is not one-to-one on its natural domain, restricting the domain restricts the range as well. The function f(x)=x2f(x) = x^2 on (−∞,∞)(-\infty, \infty) has range [0,∞)[0, \infty). Restricting to domain [0,∞)[0, \infty) keeps the range as [0,∞)[0, \infty). Restricting to domain [−3,0][-3, 0] changes the range to [0,9][0, 9].

Understanding this relationship is essential for correctly defining and working with inverse functions.
-10-5510-55f(x) = eˣ · f⁻¹(x) = ln(x)
eˆx and ln x: range and domain trade places

The outputs of eˆx fill (0, ∞); reflected in the dashed line y = x, those same values become the inputs of ln x, whose domain is (0, ∞). In the other direction, every real input of eˆx reappears as an output of ln x, so its range is all of ℝ. Watch the swap for other pairs on the inverse function explorer.

Finding one function's range therefore also finds its inverse's domain.

Common Pitfalls

Four mistakes come up again and again when finding the range of a function. Each is marked where it happens in the sections above; here each is worked through in full, with the wrong and the right working side by side.
DownloadPNG2×PDF
1Forgetting that a square root is never negative
The algebraic method is applied to a radical function: the equation y=f(x)y = f(x) is squared to solve for xx, and the range is read from the solved form alone. Squaring hides the fact that a square root only produces non-negative outputs.
Start
y=xy = \sqrt{x} gives x=y2x = y^2.
Wrong turn
Error here
This produces a real xx for every real yy, so the range is given as (−∞,∞)(-\infty, \infty).
Right path
The original equation also requires y≥0y \geq 0, because x\sqrt{x} is never negative. Every y≥0y \geq 0 is reached, at x=y2x = y^2, so the range is [0,∞)[0, \infty).
Why it happensThe solved form looks like the end of the method, and squaring both sides feels like a harmless step. It is not reversible: y=2y = 2 and y=−2y = -2 both square to 44.
How to checkSubstitute the solved xx back into the original function. For y=−2y = -2, x=4x = 4, and 4=2\sqrt{4} = 2, not −2-2, so −2-2 is not in the range.
2Using only the endpoint outputs
On a restricted domain [a,b][a, b], the range is taken to be the interval between f(a)f(a) and f(b)f(b). That rule holds for monotonic functions only; a function that turns inside the interval can go higher or lower than both endpoints.
Wrong turn
Error here
f(x)=x2f(x) = x^2 on [−1,3][-1, 3] has f(−1)=1f(-1) = 1 and f(3)=9f(3) = 9, so the range is given as [1,9][1, 9].
Right path
The parabola falls from x=−1x = -1 to its vertex at x=0x = 0 and then rises to x=3x = 3. The lowest output is f(0)=0f(0) = 0 and the highest is f(3)=9f(3) = 9, so the range is [0,9][0, 9].
Why it happensThe endpoint rule is quick and correct for the increasing and decreasing functions it is usually taught with, and a sketch is often skipped.
How to checkLook for turning points inside the interval. Compare the outputs there with the endpoint outputs, and take the smallest and largest of all of them.
3Taking the constant term as the vertex height
For a quadratic ax2+bx+cax^2 + bx + c, the number cc is used as the boundary of the range. But c=f(0)c = f(0) is the yy-intercept, and the boundary of the range is the height of the vertex.
Wrong turn
Error here
f(x)=x2−4x+1f(x) = x^2 - 4x + 1 opens upward, and its range is given as [1,∞)[1, \infty).
Right path
The vertex is at x=−−42⋅1=2x = -\dfrac{-4}{2 \cdot 1} = 2, and f(2)=4−8+1=−3f(2) = 4 - 8 + 1 = -3. The range is [−3,∞)[-3, \infty). Completing the square agrees: x2−4x+1=(x−2)2−3x^2 - 4x + 1 = (x - 2)^2 - 3.
Why it happensIn vertex form a(x−h)2+ka(x - h)^2 + k the constant at the end is the vertex height, and that reading is carried over to standard form, where the constant means something else.
How to checkEvaluate the function at one more input, such as the vertex. Here f(2)=−3f(2) = -3 is an output below 11, so [1,∞)[1, \infty) cannot be the range.
4Shifting before scaling
When a function is both stretched and shifted vertically, the shift is applied to the range first and the stretch second. The stretch then scales the shift as well.
Start
For g(x)=2sin⁡(x)+5g(x) = 2\sin(x) + 5,
Wrong turn
Error here
The range [−1,1][-1, 1] of sin⁡\sin is shifted to [4,6][4, 6] and then doubled to [8,12][8, 12].
Right path
The formula doubles each output and then adds 55. Doubling gives [−2,2][-2, 2], and adding 55 gives [3,7][3, 7].
Why it happensThe +5+5 is the easiest part of the formula to spot, so it is handled first, without checking the order in which the formula actually acts on an output.
How to checkCompute the outputs at the extremes of the parent. sin⁡(x)=1\sin(x) = 1 gives 2(1)+5=72(1) + 5 = 7, and sin⁡(x)=−1\sin(x) = -1 gives 2(−1)+5=32(-1) + 5 = 3; 1212 never appears.
Common pitfalls in finding a range·/functions/rangeLearn Math Class
Each slip claims outputs the function never reaches, or misses some it does. A square root is never negative, a minimum can lie inside the interval rather than at its ends, the vertex height comes from ff at the vertex and not from the constant term, and 2sin⁡(x)+52\sin(x) + 5 doubles before it adds. Substituting back, or evaluating at the turning points and at the extremes of the parent function, catches each slip.

Summary of Methods for Finding Range

Six different paths lead to a function's range: algebraic inversion, behavior analysis, graphical reading, family recognition, contextual constraints, and the domain–range swap of an inverse. Which method fits depends on how the function is presented and what is already known about it. The table below collects each approach with the situation that calls for it, how the method works, and a small example — useful as a study guide and as a checklist when a single method does not yield a clean answer.
DownloadPNG2×PDF
Layout
MethodWhen to use itHow it worksQuick example
Algebraic inversionrational, quadratic, or simple radical formssolve y = f(x) for x; the y-values giving a real solution form the rangey = x² → x = ±√y, so y ≥ 0 → range [0, ∞)
Behavior analysisextrema, monotonicity, or end behavior is clearfind min/max; check end limits and asymptotescontinuous, strictly increasing on [a, b] → range [f(a), f(b)]
Graphical readinggraph is given visuallytrace the vertical extent; check solid vs open dots and asymptotescurve reaches max y = 5 with a solid dot → 5 is included
Family recognitionfunction matches a common parentlook up the family's typical range, then adjust for any transformationsaˣ has range (0, ∞); shifting up by k gives (k, ∞)
Contextual constraintapplied or physical problemsconstrain by physical meaning — height ≥ 0, probability in [0, 1], etc.cost function with $500 startup → range begins at 500
Inverse swapthe inverse is known or easy to identifyrange of f equals domain of f⁻¹f = eˣ has range = domain of ln = (0, ∞)
Summary of Methods for Finding RangeLearn Math Class
The six methods from the table, as a checklist: first how the function is given, then what is already known about it.
DownloadPNG2×PDF
every route at once
finding the range

Which method for the range?

How the function is presented, and what is already known about it, picks the method.
1
Is the graph given?
yes
Read it from the graph
trace the vertical extent; check solid and open dots, and asymptotes→ Range from a graph
no
2
An applied or physical problem?
yes
Constrain by meaning
height ≥ 0, probability in [0, 1], and so on→ Range from context
a cost with a 500-dollar start-up: the range begins at 500
no
3
Is the inverse known or easy to find?
yes
Swap with the inverse
the range of f is the domain of f⁻¹→ Range and invertibility
eˣ: range = domain of ln = (0, ∞)
no
4
Does it match a common parent?possibly shifted or stretched
yes
Look up the family
take the parent's range, then adjust for the transformations→ Common function types
aˣ has range (0, ∞); shifting up by k gives (k, ∞)
no
5
Can y = f(x) be solved for x?rational, quadratic, simple radical forms
yes
Solve for x
the y-values that give a real x form the range→ Finding range algebraically
y = x² → x = ±√y, so y ≥ 0
no
Analyze the behavior
find the minimum and maximum; check end limits and asymptotes→ Analyzing behavior
Which method for the range?·/functions/rangeLearn Math Class
The last exit is the general fallback: behavior analysis needs no inverse and no equation solved for xx, only the extrema, the end behavior and any asymptotes. When one method gives no clean answer, a second one from the table often settles it.

Skills You Should Learn

Each skill opens its step-by-step method page. Skills marked "On this page" are taught above.
Taught on this page
More functions methods
  • Find the domain of a functionList every operation that can fail (denominators, even roots, logs), solve each condition, and intersect the results.
  • Find the inverse of a functionCheck that the function is one-to-one, write y=f(x)y = f(x), swap xx and yy, and solve for yy.
  • Analyze a functionWork through domain, intercepts, symmetry, rise and fall, turning points, end behavior and range in a fixed order.

Range FAQ

Why is the range harder to find than the domain?

+
Because the domain is read off the formula directly by excluding what breaks it, while the range asks what values the function actually reaches, which depends on its whole behaviour. There is no single mechanical rule. You usually have to reason from the graph, from known shapes, or by solving for the input.Read more →

What is the range of a quadratic function?

+
Everything from the vertex upward if the parabola opens up, and everything from the vertex downward if it opens down. The vertex supplies the single boundary value, and the sign of the leading coefficient decides which side is kept. This is why finding the vertex is the whole job for quadratics.Read more →

Is the range of a function always all real numbers?

+
No. Only certain families reach every real value, such as odd-degree polynomials and the logarithm. Squaring never produces a negative, exponentials never reach zero, and sine stays between −1 and 1. The range depends entirely on the shape of the function, so it must be worked out rather than assumed.Read more →

Is a horizontal asymptote ever part of the range?

+
Sometimes. The asymptote describes the ends of the graph, and the curve may still pass through that height elsewhere. exe^x never reaches its asymptote y=0y = 0, so its range is (0,∞)(0, \infty). But xx2+1\frac{x}{x^2 + 1} also levels off toward y=0y = 0 and equals 00 at x=0x = 0, so its range is [−12,12][-\frac{1}{2}, \frac{1}{2}], with 00 inside. Solving f(x)=Lf(x) = L for the asymptote height LL decides each case.Read more →

Is the range on [a, b] always the interval between f(a) and f(b)?

+
No, only for a continuous function that rises the whole way or falls the whole way. A function that turns inside the interval can go above or below both ends: x2x^2 on [−1,3][-1, 3] has f(−1)=1f(-1) = 1 and f(3)=9f(3) = 9, yet its vertex gives f(0)=0f(0) = 0, so the range is [0,9][0, 9], not [1,9][1, 9]. The safe method compares the endpoint outputs with the output at every turning point inside.Read more →

Can a polynomial have range (0,∞)(0, \infty)?

+
Not in one variable, but in two it can. A one-variable polynomial is constant, takes every real value (odd degree), or reaches a lowest or highest value (even degree), so its range is {c}\{c\}, R\mathbb{R}, [m,∞)[m, \infty) or (−∞,M](-\infty, M]. x2+(xy−1)2x^2 + (xy - 1)^2 is never 00, since x=0x = 0 leaves 11 and x≠0x \neq 0 makes x2>0x^2 > 0, yet y=1xy = \frac{1}{x} with x→0x \to 0 drives it toward 00: its range is (0,∞)(0, \infty).Read more →