From Wikipedia, the free encyclopedia
Set of the values of a function
For the function that maps a Person to their Favorite Food, the image of Gabriela is Apple. The preimage of Apple is the set {Gabriela, Maryam}. The preimage of Fish is the empty set. The image of the subset {Richard, Maryam} is {Rice, Apple}. The preimage of {Rice, Apple} is {Gabriela, Richard, Maryam}.In mathematics, for a function f : X → Y {\displaystyle f:X\to Y} , the image of an input value x {\displaystyle x} is the single output value produced by f {\displaystyle f} when passed x {\displaystyle x} . The preimage of an output value y {\displaystyle y} is the set of input values that produce y {\displaystyle y} .
More generally, evaluating f {\displaystyle f} at each element of a given subset A {\displaystyle A} of its domain X {\displaystyle X} produces a set, called the "image of A {\displaystyle A} under (or through) f {\displaystyle f} ". Similarly, the inverse image (or preimage) of a given subset B {\displaystyle B} of the codomain Y {\displaystyle Y} is the set of all elements of X {\displaystyle X} that map to a member of B . {\displaystyle B.}
The image of the function f {\displaystyle f} is the set of all output values it may produce, that is, the image of X {\displaystyle X} . The preimage of f {\displaystyle f} is the preimage of the codomain Y {\displaystyle Y} . Because it always equals X {\displaystyle X} (the domain of f {\displaystyle f} ), it is rarely used.
Image and inverse image may also be defined for general binary relations, not just functions.
f {\displaystyle f} is a function from domain X {\displaystyle X} to codomain Y {\displaystyle Y} . The image of element x {\displaystyle x} is element y {\displaystyle y} . The preimage of element y {\displaystyle y} is the set { x , x ′ {\displaystyle x,x'} }. The preimage of element y ′ {\displaystyle y'} is ∅ {\displaystyle \varnothing } . f {\displaystyle f} is a function from domain X {\displaystyle X} to codomain Y {\displaystyle Y} . The image of all elements in subset A {\displaystyle A} is subset B {\displaystyle B} . The preimage of B {\displaystyle B} is subset C {\displaystyle C} f {\displaystyle f} is a function from domain X {\displaystyle X} to codomain Y . {\displaystyle Y.} The yellow oval inside Y {\displaystyle Y} is the image of f {\displaystyle f} . The preimage of Y {\displaystyle Y} is the entire domain X {\displaystyle X}The word "image" is used in three related ways. In these definitions, f : X → Y {\displaystyle f:X\to Y} is a function from the set X {\displaystyle X} to the set Y . {\displaystyle Y.}
Image of an element[edit]If x {\displaystyle x} is a member of X , {\displaystyle X,} then the image of x {\displaystyle x} under f , {\displaystyle f,} denoted f ( x ) , {\displaystyle f(x),} is the value of f {\displaystyle f} when applied to x . {\displaystyle x.} f ( x ) {\displaystyle f(x)} is alternatively known as the output of f {\displaystyle f} for argument x . {\displaystyle x.}
Given y , {\displaystyle y,} the function f {\displaystyle f} is said to take the value y {\displaystyle y} or take y {\displaystyle y} as a value if there exists some x {\displaystyle x} in the function's domain such that f ( x ) = y . {\displaystyle f(x)=y.} Similarly, given a set S , {\displaystyle S,} f {\displaystyle f} is said to take a value in S {\displaystyle S} if there exists some x {\displaystyle x} in the function's domain such that f ( x ) ∈ S . {\displaystyle f(x)\in S.} However, f {\displaystyle f} takes [all] values in S {\displaystyle S} and f {\displaystyle f} is valued in S {\displaystyle S} means that f ( x ) ∈ S {\displaystyle f(x)\in S} for every point x {\displaystyle x} in the domain of f {\displaystyle f} .
Throughout, let f : X → Y {\displaystyle f:X\to Y} be a function. The image under f {\displaystyle f} of a subset A {\displaystyle A} of X {\displaystyle X} is the set of all f ( a ) {\displaystyle f(a)} for a ∈ A . {\displaystyle a\in A.} It is denoted by f [ A ] , {\displaystyle f[A],} or by f ( A ) {\displaystyle f(A)} when there is no risk of confusion. Using set-builder notation, this definition can be written as[1][2] f [ A ] = { f ( a ) : a ∈ A } . {\displaystyle f[A]=\{f(a):a\in A\}.}
This induces a function f [ ⋅ ] : P ( X ) → P ( Y ) , {\displaystyle f[\,\cdot \,]:{\mathcal {P}}(X)\to {\mathcal {P}}(Y),} where P ( S ) {\displaystyle {\mathcal {P}}(S)} denotes the power set of a set S ; {\displaystyle S;} that is the set of all subsets of S . {\displaystyle S.} See § Notation below for more.
Image of a function[edit]The image of a function is the image of its entire domain, also known as the range of the function.[3] This last usage should be avoided because the word "range" is also commonly used to mean the codomain of f . {\displaystyle f.}
Generalization to binary relations[edit]If R {\displaystyle R} is an arbitrary binary relation on X × Y , {\displaystyle X\times Y,} then the set { y ∈ Y : x R y for some x ∈ X } {\displaystyle \{y\in Y:xRy{\text{ for some }}x\in X\}} is called the image, or the range, of R . {\displaystyle R.} Dually, the set { x ∈ X : x R y for some y ∈ Y } {\displaystyle \{x\in X:xRy{\text{ for some }}y\in Y\}} is called the domain of R . {\displaystyle R.}
"Preimage" redirects here. For the cryptographic attack on hash functions, see
preimage attack.
Let f {\displaystyle f} be a function from X {\displaystyle X} to Y . {\displaystyle Y.} The preimage or inverse image of a set B ⊆ Y {\displaystyle B\subseteq Y} under f , {\displaystyle f,} denoted by f − 1 [ B ] , {\displaystyle f^{-1}[B],} is the subset of X {\displaystyle X} defined by f − 1 [ B ] = { x ∈ X : f ( x ) ∈ B } . {\displaystyle f^{-1}[B]=\{x\in X\,:\,f(x)\in B\}.}
Other notations include f − 1 ( B ) {\displaystyle f^{-1}(B)} and f − ( B ) . {\displaystyle f^{-}(B).} The inverse image of a singleton set, denoted by f − 1 [ { y } ] {\displaystyle f^{-1}[\{y\}]} or by f − 1 ( y ) , {\displaystyle f^{-1}(y),} is also called the fiber or fiber over y {\displaystyle y} or the level set of y . {\displaystyle y.} The set of all the fibers over the elements of Y {\displaystyle Y} is a family of sets indexed by Y . {\displaystyle Y.}
For example, for the function f ( x ) = x 2 , {\displaystyle f(x)=x^{2},} the inverse image of { 4 } {\displaystyle \{4\}} would be { − 2 , 2 } . {\displaystyle \{-2,2\}.} Again, if there is no risk of confusion, f − 1 [ B ] {\displaystyle f^{-1}[B]} can be denoted by f − 1 ( B ) , {\displaystyle f^{-1}(B),} and f − 1 {\displaystyle f^{-1}} can also be thought of as a function from the power set of Y {\displaystyle Y} to the power set of X . {\displaystyle X.} The notation f − 1 {\displaystyle f^{-1}} should not be confused with that for inverse function, although it coincides with the usual one for bijections in that the inverse image of B {\displaystyle B} under f {\displaystyle f} is the image of B {\displaystyle B} under f − 1 . {\displaystyle f^{-1}.}
Notation for image and inverse image[edit]The traditional notations used in the previous section do not distinguish the original function f : X → Y {\displaystyle f:X\to Y} from the image-of-sets function f : P ( X ) → P ( Y ) {\displaystyle f:{\mathcal {P}}(X)\to {\mathcal {P}}(Y)} ; 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:
For every function f : X → Y {\displaystyle f:X\to Y} and all subsets A ⊆ X {\displaystyle A\subseteq X} and B ⊆ Y , {\displaystyle B\subseteq Y,} the following properties hold:
Image Preimage f ( X ) ⊆ Y {\displaystyle f(X)\subseteq Y} f − 1 ( Y ) = X {\displaystyle f^{-1}(Y)=X} f ( f − 1 ( Y ) ) = f ( X ) {\displaystyle f\left(f^{-1}(Y)\right)=f(X)} f − 1 ( f ( X ) ) = X {\displaystyle f^{-1}(f(X))=X} f ( f − 1 ( B ) ) ⊆ B {\displaystyle f\left(f^{-1}(B)\right)\subseteq B}Also:
For functions f : X → Y {\displaystyle f:X\to Y} and g : Y → Z {\displaystyle g:Y\to Z} with subsets A ⊆ X {\displaystyle A\subseteq X} and C ⊆ Z , {\displaystyle C\subseteq Z,} the following properties hold:
Multiple subsets of domain or codomain[edit]For function f : X → Y {\displaystyle f:X\to Y} and subsets A , B ⊆ X {\displaystyle A,B\subseteq X} and S , T ⊆ Y , {\displaystyle S,T\subseteq Y,} the following properties hold:
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 {\displaystyle S} 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).
This article incorporates material from Fibre on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4