MathematicsDiscrete MathematicsEasy

Range (function)

Also known as:ImageImage SetOutput Set

The range of a function is the set of all actual output values produced when the function is applied to every element of its domain. Unlike the codomain (which is the set of all possible outputs), the range is the set of values that are actually achieved. Determining the range is essential in understanding a function's behaviour and is applied in signal processing, statistics, and optimisation problems.

Key Formula

Range(f) = { f(x) | x is in the domain of f }

LaTeX: \text{Range}(f) = \{ f(x) \mid x \in \text{Domain}(f) \}

SymbolMeaningUnit
fThe functionmapping
xAn element of the domaininput value
f(x)The corresponding outputoutput value

Worked Example

Problem

Find the range of f(x) = x² − 4 for x ∈ ℝ.

Solution

Step 1: Recognise that x² ≥ 0 for all real x. — Therefore x² − 4 ≥ 0 − 4 = −4. Step 2: As x → ±∞, f(x) → +∞. So the function takes all values from −4 upward. Step 3: At x = 0, f(0) = −4 (minimum value). The function increases without bound. — Range = [−4, +∞)

Answer

Range of f(x) = x² − 4 is [−4, +∞), with minimum value −4 at x = 0.

Range vs Codomain: Key Distinctions

ConceptDefinitionExample f(x)=x², f: ℝ→ℝNotes
CodomainSet B in f: A→B (all possible targets)ℝ (all reals)Declared with function
RangeActual set of outputs achieved[0, +∞)Subset of codomain
Image of elementf(a) for a single a in Af(3) = 9Single output value
Pre-imageAll x with f(x) = yf⁻¹(9) = {−3, 3}May have multiple values

Interactive Tools

Desmos Graphing Calculator

Graph functions and visually read off the range from the y-axis.

Open Tool

Wolfram Alpha — Range Calculator

Compute the range of functions symbolically.

Open Tool

Khan Academy — Domain and Range

Lessons on identifying range from graphs and equations.

Open Tool
Diagram illustrating domain, codomain, and range of a function

Wikimedia Commons, CC BY-SA

Related Terms

From Old French "range" (row, rank, line), from "ranger" (to arrange). In mathematics, "range" in the context of functions became standard usage in the 20th century to describe the image set of a function.

rangefunctioncodomaindiscrete-mathematicsoutputimage