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.
Definition
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 [all] 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
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:
Arrow notation
- with
- with
Star notation
- instead of
- instead of
Other terminology
- An alternative notation for used in mathematical logic and set theory is
- 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 )
- If is a manifold and is the canonical projection from the tangent bundle to then the fibers of are the tangent spaces This is also an example of a fiber bundle.
- A quotient group is a homomorphic image.
Properties
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:
(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).
See also
- Bijection, injection and surjection – Properties of mathematical functions
- 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 theory
- Kernel of a function – Equivalence relation expressing that two elements have the same image under a function
- Set inversion – Mathematical problem of finding the set mapped by a specified function to a certain range
Notes
- "5.4: Onto Functions and Images/Preimages of Sets". Mathematics LibreTexts. 2019-11-05. Retrieved 2020-08-28.
- Paul R. Halmos (1968). Naive Set Theory. Princeton: Nostrand. Here: Sect.8
- Weisstein, Eric W. "Image". mathworld.wolfram.com. Retrieved 2020-08-28.
- Dolecki & Mynard 2016, pp. 4–5.
- Blyth 2005, p. 5.
- Jean E. Rubin (1967). Set Theory for the Mathematician. Holden-Day. p. xix. ASIN B0006BQH7S.
- M. Randall Holmes: Inhomogeneity of the urelements in the usual models of NFU, December 29, 2005, on: Semantic Scholar, p. 2
- Hoffman, Kenneth (1971). Linear Algebra (2nd ed.). Prentice-Hall. p. 388.
- See Halmos 1960, p. 31
- See Munkres 2000, p. 19
- See p.388 of Lee, John M. (2010). Introduction to Topological Manifolds, 2nd Ed.
- Kelley 1985, p. 85
- See Munkres 2000, p. 21
References
- Artin, Michael (1991). Algebra. Prentice Hall. ISBN 81-203-0871-9.
- Blyth, T.S. (2005). Lattices and Ordered Algebraic Structures. Springer. ISBN 1-85233-905-5..
- ; Mynard, Frédéric (2016). Convergence Foundations Of Topology. New Jersey: World Scientific Publishing Company. ISBN 978-981-4571-52-4. OCLC 945169917.
- Halmos, Paul R. (1960). Naive set theory. The University Series in Undergraduate Mathematics. van Nostrand Company. ISBN 9780442030643. Zbl 0087.04403.
- Kelley, John L. (1985). General Topology. Graduate Texts in Mathematics. Vol. 27 (2 ed.). Birkhäuser. ISBN 978-0-387-90125-1.
- Munkres, James R. (2000). Topology (2nd ed.). Upper Saddle River, NJ: Prentice Hall, Inc. ISBN 978-0-13-181629-9. OCLC 42683260.
This article incorporates material from Fibre on PlanetMath, which is licensed under the Creative Commons Attribution/Share-Alike License.
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 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 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 that is the preimage of Y displaystyle Y under f displaystyle f always equals X displaystyle X the domain of f displaystyle f therefore the former notion is rarely used Image and inverse image may also be defined for general binary relations not just functions Definitionf 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 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 Image of a subset 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 asf 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 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 f displaystyle f Generalization to binary relations If R displaystyle R is an arbitrary binary relation on X Y displaystyle X times Y then the set y Y xRy 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 xRy for some y Y displaystyle x in X xRy text for some y in Y is called the domain of R displaystyle R Inverse imageLet 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 x2 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 imageThe 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 Arrow notation f P X P Y displaystyle f rightarrow mathcal P X to mathcal P Y with f A f a a A displaystyle f rightarrow A f a a in A f P Y P X displaystyle f leftarrow mathcal P Y to mathcal P X with f B a X f a B displaystyle f leftarrow B a in X f a in B Star notation f P X P Y displaystyle f star mathcal P X to mathcal P Y instead of f displaystyle f rightarrow f P Y P X displaystyle f star mathcal P Y to mathcal P X instead of f displaystyle f leftarrow Other terminology An alternative notation for f A displaystyle f A used in mathematical logic and set theory is f A displaystyle f A Some texts refer to the image of f displaystyle f as the range of f displaystyle f but this usage should be avoided because the word range is also commonly used to mean the codomain of f displaystyle f Examplesf 1 2 3 a b c d displaystyle f 1 2 3 to a b c d defined by 1 a 2 a 3 c displaystyle left begin matrix 1 mapsto a 2 mapsto a 3 mapsto c end matrix right The image of the set 2 3 displaystyle 2 3 under f displaystyle f is f 2 3 a c displaystyle f 2 3 a c The image of the function f displaystyle f is a c displaystyle a c The preimage of a displaystyle a is f 1 a 1 2 displaystyle f 1 a 1 2 The preimage of a b displaystyle a b is also f 1 a b 1 2 displaystyle f 1 a b 1 2 The preimage of b d displaystyle b d under f displaystyle f is the empty set displaystyle emptyset f R R displaystyle f mathbb R to mathbb R defined by f x x2 displaystyle f x x 2 The image of 2 3 displaystyle 2 3 under f displaystyle f is f 2 3 4 9 displaystyle f 2 3 4 9 and the image of f displaystyle f is R displaystyle mathbb R the set of all positive real numbers and zero The preimage of 4 9 displaystyle 4 9 under f displaystyle f is f 1 4 9 3 2 2 3 displaystyle f 1 4 9 3 2 2 3 The preimage of set N n R n lt 0 displaystyle N n in mathbb R n lt 0 under f displaystyle f is the empty set because the negative numbers do not have square roots in the set of reals f R2 R displaystyle f mathbb R 2 to mathbb R defined by f x y x2 y2 displaystyle f x y x 2 y 2 The fibers f 1 a displaystyle f 1 a are concentric circles about the origin the origin itself and the empty set respectively depending on whether a gt 0 a 0 or a lt 0 displaystyle a gt 0 a 0 text or a lt 0 respectively If a 0 displaystyle a geq 0 then the fiber f 1 a displaystyle f 1 a is the set of all x y R2 displaystyle x y in mathbb R 2 satisfying the equation x2 y2 a displaystyle x 2 y 2 a that is the origin centered circle with radius a displaystyle sqrt a If M displaystyle M is a manifold and p TM M displaystyle pi TM to M is the canonical projection from the tangent bundle TM displaystyle TM to M displaystyle M then the fibers of p displaystyle pi are the tangent spaces Tx M for x M displaystyle T x M text for x in M This is also an example of a fiber bundle A quotient group is a homomorphic image PropertiesCounter examples based on the real numbers R displaystyle mathbb R f R R displaystyle f mathbb R to mathbb R defined by x x2 displaystyle x mapsto x 2 showing that equality generally need not hold for some laws Image showing non equal sets f A B f A f B displaystyle f left A cap B right subsetneq f A cap f B The sets A 4 2 displaystyle A 4 2 and B 2 4 displaystyle B 2 4 are shown in blue immediately below the x displaystyle x axis while their intersection A3 2 2 displaystyle A 3 2 2 is shown in green f f 1 B3 B3 displaystyle f left f 1 left B 3 right right subsetneq B 3 f 1 f A4 A4 displaystyle f 1 left f left A 4 right right supsetneq A 4 General 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 Preimagef 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 equal if B f X displaystyle B subseteq f X for instance if f displaystyle f is surjective f 1 f A A displaystyle f 1 f A supseteq A equal if f displaystyle f is injective f f 1 B B f X displaystyle f f 1 B B cap f X f A 1 B A f 1 B displaystyle left f vert A right 1 B A cap f 1 B f f 1 f A f A displaystyle f left f 1 f A right f A f 1 f f 1 B f 1 B displaystyle f 1 left f left f 1 B right right f 1 B f A if and only if A displaystyle f A varnothing text if and only if A varnothing f 1 B if and only if B Y f X displaystyle f 1 B varnothing text if and only if B subseteq Y setminus f X f A B if and only if there exists C A such that f C B displaystyle f A supseteq B text if and only if text there exists C subseteq A text such that f C B f 1 B A if and only if f A B displaystyle f 1 B supseteq A text if and only if f A subseteq B f A f X A if and only if f A f X displaystyle f A supseteq f X setminus A text if and only if f A f X f 1 B f 1 Y B if and only if f 1 B X displaystyle f 1 B supseteq f 1 Y setminus B text if and only if f 1 B X f X A f X f A displaystyle f X setminus A supseteq f X setminus f A f 1 Y B X f 1 B displaystyle f 1 Y setminus B X setminus f 1 B f A f 1 B f A B displaystyle f left A cup f 1 B right subseteq f A cup B f 1 f A B A f 1 B displaystyle f 1 f A cup B supseteq A cup f 1 B f A f 1 B f A B displaystyle f left A cap f 1 B right f A cap B f 1 f A B A f 1 B displaystyle f 1 f A cap B supseteq A cap f 1 B Also f A B if and only if A f 1 B displaystyle f A cap B varnothing text if and only if A cap f 1 B varnothing Multiple functions 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 g f A g f A displaystyle g circ f A g f A g f 1 C f 1 g 1 C displaystyle g circ f 1 C f 1 g 1 C Multiple subsets of domain or codomain 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 Image PreimageA B implies f A f B displaystyle A subseteq B text implies f A subseteq f B S T implies f 1 S f 1 T displaystyle S subseteq T text implies f 1 S subseteq f 1 T f A B f A f B displaystyle f A cup B f A cup f B f 1 S T f 1 S f 1 T displaystyle f 1 S cup T f 1 S cup f 1 T f A B f A f B displaystyle f A cap B subseteq f A cap f B equal if f displaystyle f is injective f 1 S T f 1 S f 1 T displaystyle f 1 S cap T f 1 S cap f 1 T f A B f A f B displaystyle f A setminus B supseteq f A setminus f B equal if f displaystyle f is injective f 1 S T f 1 S f 1 T displaystyle f 1 S setminus T f 1 S setminus f 1 T f A B f A f B displaystyle f left A triangle B right supseteq f A triangle f B equal if f displaystyle f is injective f 1 S T f 1 S f 1 T displaystyle f 1 left S triangle T right f 1 S triangle f 1 T 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 f s SAs s Sf As displaystyle f left bigcup s in S A s right bigcup s in S f left A s right f s SAs s Sf As displaystyle f left bigcap s in S A s right subseteq bigcap s in S f left A s right f 1 s SBs s Sf 1 Bs displaystyle f 1 left bigcup s in S B s right bigcup s in S f 1 left B s right f 1 s SBs s Sf 1 Bs displaystyle f 1 left bigcap s in S B s right bigcap s in S f 1 left B s right 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 See alsoBijection injection and surjection Properties of mathematical functions 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 rangeNotes 5 4 Onto Functions and Images Preimages of Sets Mathematics LibreTexts 2019 11 05 Retrieved 2020 08 28 Paul R Halmos 1968 Naive Set Theory Princeton Nostrand Here Sect 8 Weisstein Eric W Image mathworld wolfram com Retrieved 2020 08 28 Dolecki amp Mynard 2016 pp 4 5 Blyth 2005 p 5 Jean E Rubin 1967 Set Theory for the Mathematician Holden Day p xix ASIN B0006BQH7S M Randall Holmes Inhomogeneity of the urelements in the usual models of NFU December 29 2005 on Semantic Scholar p 2 Hoffman Kenneth 1971 Linear Algebra 2nd ed Prentice Hall p 388 See Halmos 1960 p 31 See Munkres 2000 p 19 See p 388 of Lee John M 2010 Introduction to Topological Manifolds 2nd Ed Kelley 1985 p 85 See Munkres 2000 p 21ReferencesArtin Michael 1991 Algebra Prentice Hall ISBN 81 203 0871 9 Blyth T S 2005 Lattices and Ordered Algebraic Structures Springer ISBN 1 85233 905 5 Mynard Frederic 2016 Convergence Foundations Of Topology New Jersey World Scientific Publishing Company ISBN 978 981 4571 52 4 OCLC 945169917 Halmos Paul R 1960 Naive set theory The University Series in Undergraduate Mathematics van Nostrand Company ISBN 9780442030643 Zbl 0087 04403 Kelley John L 1985 General Topology Graduate Texts in Mathematics Vol 27 2 ed Birkhauser ISBN 978 0 387 90125 1 Munkres James R 2000 Topology 2nd ed Upper Saddle River NJ Prentice Hall Inc ISBN 978 0 13 181629 9 OCLC 42683260 This article incorporates material from Fibre on PlanetMath which is licensed under the Creative Commons Attribution Share Alike License