Skip to content

Range and Image

Definition

If the function is f ⁣:X→Y,f\colon X\to Y\text{,} the range or image of ff is the set

{f(x) ⁣:x∈X}.\{f(x)\colon x\in X\}.

We call an output y=f(x)y=f(x) the dependent variable.


Interpretation

The range, or image, of a function is the set of outputs that actually occur. The codomain only says where outputs are allowed to lie; the range records which of these values the function really produces.

The parabola y = x squared with the half-line from 0 upwards on the y-axis marked as its range; negative y values are in the codomain but never taken.

For f(x)=x2f(x)=x^2 with codomain R\mathbb{R}, every output is a square, and every y≥0y\ge0 is reached, at x=yx=\sqrt{y}: the range is the red half-line [0,+∞)[0,+\infty) on the yy-axis, while negative numbers lie in the codomain but are never taken.

To decide whether yy lies in the range, solve f(x)=yf(x)=y for xx in the domain: yy belongs to the range if and only if there is a solution. The range equals the codomain exactly when ff is surjective. Some texts use the word "range" for the codomain; "image" avoids the ambiguity, and Math III writes it as f(X)f(X), the image of the whole domain.


Key Results

  • The range is a subset of the codomain.
  • Different functions may share the same range.
  • Determining the range often requires solving equations or inequalities.

Examples

  • The range of f(x)=x2f(x)=x^2 is [0,+∞).[0,+\infty)\text{.}
  • The range of f(x)=sin⁡xf(x)=\sin x is [−1,1].[-1,1]\text{.}

Prerequisites

Sources

Aliases: image of a function Symbols: element of, infinity, real numbers, square root

Last updated: 20 October 2026 03:02