is a function from domainto codomain.The image of elementis element.The preimage of elementis the set {}. The preimage of elementis.is a function from domainto codomain.The image of all elements in subsetis subset.The preimage ofis subsetis a function from domainto codomainThe yellow oval insideis the image of.The preimage ofis the entire domain
Inmathematics,for a function,theimageof an input valueis the single output value produced bywhen passed.Thepreimageof an output valueis the set of input values that produce.
More generally, evaluatingat eachelementof a given subsetof itsdomainproduces a set, called the "imageofunder (or through)".Similarly, theinverse image(orpreimage) of a given subsetof thecodomainis the set of all elements ofthat map to a member of
Theimageof the functionis the set of all output values it may produce, that is, the image of.Thepreimageof,that is, the preimage ofunder,always equals(thedomainof); therefore, the former notion is rarely used.
Image and inverse image may also be defined for generalbinary relations,not just functions.
Ifis a member ofthen the image ofunderdenotedis thevalueofwhen applied tois alternatively known as the output offor argument
Giventhe functionis said totake the valueortakeas a valueif there exists somein the function's domain such that
Similarly, given a setis said totake a value inif there existssomein the function's domain such that
However,takes [all] values inandis valued inmeans thatforeverypointin the domain of.
Throughout, letbe a function.
Theimageunderof a subsetofis the set of allforIt is denoted byor bywhen there is no risk of confusion. Usingset-builder notation,this definition can be written as[1][2]
This induces a functionwheredenotes thepower setof a setthat is the set of allsubsetsofSee§ Notationbelow for more.
Theimageof a function is the image of its entiredomain,also known as therangeof the function.[3]This last usage should be avoided because the word "range" is also commonly used to mean thecodomainof
"Preimage" redirects here. For the cryptographic attack on hash functions, seepreimage attack.
Letbe a function fromtoThepreimageorinverse imageof a setunderdenoted byis the subset ofdefined by
Other notations includeand[4]
The inverse image of asingleton set,denoted byor byis also called thefiberor fiber overor thelevel setofThe set of all the fibers over the elements ofis a family of sets indexed by
For example, for the functionthe inverse image ofwould beAgain, if there is no risk of confusion,can be denoted byandcan also be thought of as a function from the power set ofto the power set ofThe notationshould not be confused with that forinverse function,although it coincides with the usual one for bijections in that the inverse image ofunderis the image ofunder
The traditional notations used in the previous section do not distinguish the original functionfrom 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[5]is to give explicit names for the image and preimage as functions between power sets:
Some texts refer to the image ofas the range of[8]but this usage should be avoided because the word "range" is also commonly used to mean thecodomainof
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 and 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}.
defined byTheimageof the setunderisTheimageof the functionisThepreimageofisThepreimageofis alsoThepreimageofunderis theempty set
defined byTheimageofunderisand theimageofis(the set of all positive real numbers and zero). ThepreimageofunderisThepreimageof setunderis the empty set, because the negative numbers do not have square roots in the set of reals.
defined byThefibersareconcentric circlesabout theorigin,the origin itself, and theempty set(respectively), depending on whether(respectively). (Ifthen thefiberis the set of allsatisfying the equationthat is, the origin-centered circle with radius)
The results relating images and preimages to the (Boolean) algebra ofintersectionandunionwork 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 alattice homomorphism,while the image function is only asemilatticehomomorphism (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