In mathematics, the image of a preimage under a given function is the set of all possible function outputs when taking each element of the preimage, successively, as the function's argument.
If f : X → Y is a function from set X to set Y and x is a member of X, then f(x), the image of x under f, is a unique member of Y that f associates with x. The image under f of the entire domain X is often called the range of f, and is a subset of the codomain Y.
The image of a subset A ⊆ X under f is the subset of Y defined by
When there is no risk of confusion, f[A] is simply written as f(A). An alternative notation for f[A] that is common in the older literature mathematical logic and still preferred by some set theorists, is f "A.
Given this definition, the image of f becomes a function whose domain is the power set of X (the set of all subsets of X), and whose codomain is the power set of Y. The same notation can denote either the function f or its image. This convention is a common one; the intended meaning must be inferred from the context.
The preimage or inverse image of a set B ⊆ Y under f is the subset of X defined by
The inverse image of a singleton, f −1[{y}], is a fiber (also spelled fibre) or a level set.
Again, if there is no risk of confusion, we may denote f −1[B] by f −1(B), and think of f −1 as a function from the power set of Y to the power set of X. The notation f −1 should not be confused with that for inverse function. The two coincide only if f is a bijection.
f can also be seen as a family of sets indexed by Y, which leads to the notion of a fibred category.
The image of {2,3} under f is f({2,3}) = {d,c}, and the range of f is {a,d,c}. The preimage of {a,c} is f −1({a,c}) = {1,3}.
2. f: R → R defined by f(x) = x2.
The image of {-2,3} under f is f({-2,3}) = {4,9}, and the range of f is R+. The preimage of {4,9} under f is f −1({4,9}) = {-3,-2,2,3}.
3. f: R2 → R defined by f(x, y) = x2 + y2.
The fibres f −1({a}) are concentric circles about the origin, the origin, and the empty set, depending on whether a>0, a=0, or a<0, respectively.
4. If M is a manifold and π :TM→M is the canonical projection from the tangent bundle TM to M, then the fibres of π are the tangent spaces Tx(M) for x∈M. This is also an example of a fiber bundle.
Given a function f : X → Y, for all subsets A, A1, and A2 of X and all subsets B, B1, and B2 of Y we have:
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 S can be infinite, even uncountably infinite.)
With respect to the algebra of subsets, by the above we see that the inverse image function is a lattice homomorphism while the image function is only a semilattice homomorphism (it does not always preserve intersections).