Definition · applies to functions and sets

Elementary

Think of a function as a machine that turns inputs into outputs, and pick a group of inputs. The image of that group is the set of outputs that the machine gives for those inputs.

High school

Consider a function and a set $A$ of inputs in its domain. The image of $A$ is the set of all outputs of the function for inputs in $A$.

Undergraduate

Consider a function $f : X \to Y$ and a set $A \subseteq X$. The image of $A$ under $f$ is

\[f(A) = \setdef{f(x) \suchthat x \in A}.\]

Examples

Worked examples

  • Value:

    $f([-1, 2]) = [0, 4]$

    This is the same rule as $x \mapsto x^2$ on $\reals$, but with the smaller codomain $[0, \infty)$, which equals the range.
  • Value:

    $f([-1, 2]) = [0, 4]$

    The squares of the numbers in $[-1, 2]$ are exactly the numbers in $[0, 4]$: the smallest is $0^2 = 0$, and the largest is $2^2 = 4$.

Properties

  • The image $f(X)$ of the whole domain is the range of $f$.
  • If $f$ is a linear map between vector spaces, then the image of every subspace is a subspace. In particular, the range of $f$ is a subspace of the codomain, and its dimension is the rank of $f$.

Notes

Authors do not agree on how to use “image” and “range.”

  • This dictionary: “image” is for the image $f(A)$ of a set $A$ of inputs, and “range” is for the image $f(X)$ of the whole domain. The range of $f$ is written $\range{f}$.
  • “Image” for the whole domain: Many texts, especially in linear algebra and algebra, call $f(X)$ the image of $f$ and use “range” as a synonym or not at all. For a matrix $A$, the image, the range, and the column space are the same set.
  • “Range” for the codomain: Some texts, especially older ones, use “range” for the codomain $Y$ and “image” for the set of outputs that occur. In these texts, a function is surjective if and only if its range equals its image.
  • “Image” for sets only: Some texts use “image” only for $f(A)$ with a set $A$ and “range” for $f(X)$, as this dictionary does.

See the meanings of “range” for the conflicting uses of “range,” and domain vs. range vs. codomain vs. image vs. preimage for how the sets relate.

Distinctions involving this term

  • Domain vs. Range vs. Codomain vs. Image vs. Preimage: A function comes with several sets that describe its inputs and outputs. The domain is where inputs come from, and the codomain is where outputs are allowed to land. The range is the set of outputs that actually occur. For a set $A$ of inputs, the image $f(A)$ is the set of outputs for inputs in $A$, so the range is the image of the whole domain. For a set $B$ of outputs, the preimage $f^{-1}(B)$ is the set of inputs that land in $B$.

All definitions · All distinctions · All examples · Notation