
In mathematics, the image of a function is the set of all such that belongs to the domain of . The image by of an element of the domain of is , that is, the output corresponding to the input . The image by of a subset of the domain of is the set of all such that is in , that is, the set of the images of the elements of . Equivalently, it is the image of the restriction of to .
Preimages or inverse images are defined similarly, by exchanging the roles of the domain and the codomain:
The preimage of an element of the codomain of is the set of all elements of the domain of such that ; it is empty if does not belong to the image of . The preimage of a subset of the codomain of is the set of all elements of the domain of such that . The preimage of the codomain of is, by definition of a function, the domain of .
Images and inverse images may also be defined similarly for general binary relations. in this generalization, images and preimages play symmetric roles: the images and the preimages of a relation are respectively the preimages and the images of the opposite relation.
| Algebraic structure → Group theory Group theory |
|---|



The word "image" is used in three related ways. In these definitions, is a function from the set to the set .
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 take the value or take as a value if there exists some in the function's domain such that . Similarly, given a set is said to take a value in if there exists some in the function's domain such that . However, takes [all] values in and is valued in means that for every point in the domain of .
Throughout, let be a function. The image 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 of a set ; that is the set of all subsets of . See § Notation below for more.
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 of .
If is an arbitrary binary relation on , then the set is called[by whom?] the image, or the range, of . Dually, the set is called[by whom?] the domain of .
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 or by is also called the fiber (or fibre) over , or the level set of The set of all the fibers over the elements of is a family of sets indexed by
For example, for the function the inverse image of would be Again, if there is no risk of confusion, can be denoted by and can also be thought of as a function from the power set of to the power set of The notation should not be confused with that for inverse function, although it coincides with the usual one for bijections in that the inverse image of under is the image of under
The traditional notations used in the previous section do not distinguish the original function from the image-of-sets function ; likewise they do not distinguish the inverse function (assuming one exists) from the inverse image function (which again relates the powersets). Given the right context, this keeps the notation light and usually does not cause confusion. But if needed, an alternative is to give explicit names for the image and preimage as functions between power sets:
| Counter-examples based on the real numbers defined by showing that equality generally need not hold for some laws: |
|---|
For every function and all subsets and the following properties hold:
| Image | Preimage |
|---|---|
(equal if for instance, if is surjective) |
(equal if is injective) |
Also:
For functions and with subsets and the following properties hold:
For function and subsets and the following properties hold:
| Image | Preimage |
|---|---|
(equal if is injective) |
|
(equal if is injective) |
|
(equal if is injective) |
|
The results relating images and preimages to the (Boolean) algebra of intersection and union work for any collection of subsets, not just for pairs of subsets:
(Here, can be infinite, even uncountably infinite.)
With respect to the algebra of subsets described above, the inverse image function is a lattice homomorphism, while the image function is only a semilattice homomorphism (that is, it does not always preserve intersections).
{{cite book}}: ISBN / Date incompatibility (help)This article incorporates material from Fibre on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.