
In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, for a function
, the image of an input value
is the single output value produced by
when passed
. The preimage of an output value
is the set of input values that produce
.
More generally, evaluating
at each
element of a given subset
of its
domain produces a set, called the "image of
under (or through)
". Similarly, the inverse image (or preimage) of a given subset
of the
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
is the set of all elements of
that map to a member of
The image of the function
is the set of all output values it may produce, that is, the image of
. The preimage of
is the preimage of the codomain
. Because it always equals
(the domain of
), it is rarely used.
Image and inverse image may also be defined for general
binary relations, not just functions.
Definition

The word "image" is used in three related ways. In these definitions,
is a
function from the
set to the set
Image of an element
If
is a member of
then the image of
under
denoted
is the
value of
when applied to
is alternatively known as the output of
for argument
Given
the function
is said to or if there exists some
in the function's domain such that
Similarly, given a set
is said to if there exists
in the function's domain such that
However, and means that
for point
in the domain of
.
Image of a subset
Throughout, let
be a function.
The under
of a subset
of
is the set of all
for
It is denoted by
or by
when there is no risk of confusion. Using
set-builder notation, this definition can be written as
This induces a function
where
denotes the
power set
In mathematics, the power set (or powerset) of a set is the set of all subsets of , including the empty set and itself. In axiomatic set theory (as developed, for example, in the ZFC axioms), the existence of the power set of any set is po ...
of a set
that is the set of all
subset
In mathematics, a Set (mathematics), set ''A'' is a subset of a set ''B'' if all Element (mathematics), elements of ''A'' are also elements of ''B''; ''B'' is then a superset of ''A''. It is possible for ''A'' and ''B'' to be equal; if they a ...
s of
See below for more.
Image of a function
The ''image'' of a function is the image of its entire
domain, also known as the
range of the function. This last usage should be avoided because the word "range" is also commonly used to mean the
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
of
Generalization to binary relations
If
is an arbitrary
binary relation
In mathematics, a binary relation associates some elements of one Set (mathematics), set called the ''domain'' with some elements of another set called the ''codomain''. Precisely, a binary relation over sets X and Y is a set of ordered pairs ...
on
then the set
is called the image, or the range, of
Dually, the set
is called the domain of
Inverse image
Let
be a function from
to
The preimage or inverse image of a set
under
denoted by
is the subset of
defined by
Other notations include
and
The inverse image of a
singleton set, denoted by