Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
In mathematics, 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 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 , that is, the preimage of under , always equals (the domain of ); therefore, the former notion is rarely used.
Image and inverse image may also be defined for general binary relations, not just functions.
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 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 values in and is valued in means that for every point in the domain of .
Image of a subset
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.
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 of
Generalization to binary relations
If is an arbitrary binary relation on then the set is called the image, or the range, of Dually, the set is called the domain of
Inverse image
"Preimage" redirects here. For the cryptographic attack on hash functions, see preimage attack.
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 fiber 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
Notation for image and inverse image
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:
Some texts refer to the image of as the range of but this usage should be avoided because the word "range" is also commonly used to mean the codomain of
Examples
defined by The image of the set under is The image of the function is The preimage of is The preimage of is also The preimage of under is the empty set
defined by The image of under is and the image of is (the set of all positive real numbers and zero). The preimage of under is The preimage of set under is the empty set, because the negative numbers do not have square roots in the set of reals.
defined by The fibers are concentric circles about the origin, the origin itself, and the empty set (respectively), depending on whether (respectively). (If then the fiber is the set of all satisfying the equation that is, the origin-centered circle with radius )
Counter-examples based on the real numbers defined by showing that equality generally need not hold for some laws:
General
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:
Multiple functions
For functions and with subsets and the following properties hold:
Multiple subsets of domain or codomain
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:
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).
Fiber (mathematics) – Set of all points in a function's domain that all map to some single given point
Image (category theory) – term in category theoryPages displaying wikidata descriptions as a fallback
Kernel of a function – Equivalence relation expressing that two elements have the same image under a functionPages displaying short descriptions of redirect targets
Set inversion – Mathematical problem of finding the set mapped by a specified function to a certain range