Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Surjective function

From Wikipedia, the free encyclopedia
(Redirected fromSurjection)
Mathematical function such that every output has at least one input
"Onto" redirects here. For other uses, seewiktionary:onto.
Function
xf (x)
History of the function concept
Types bydomain andcodomain
Classes/properties
  Constructions
  Generalizations  
  List of specific functions

Inmathematics, asurjective function (also known assurjection, oronto function/ˈɒn.t/) is afunctionf such that, for every elementy of the function'scodomain, there existsat least one elementx in the function'sdomain such thatf(x) =y. In other words, for a functionf :XY, the codomainY is theimage of the function's domainX.[1][2] It is not required thatx beunique; the functionf may map one or more elements ofX to the same element ofY.

The termsurjective and the related termsinjective andbijective were introduced byNicolas Bourbaki,[3][4] a group of mainlyFrench 20th-centurymathematicians who, under this pseudonym, wrote a series of books presenting an exposition of modern advanced mathematics, beginning in 1935. The French wordsur meansover orabove, and relates to the fact that theimage of the domain of a surjective function completely covers the function's codomain.

Any function induces a surjection byrestricting its codomain to the image of its domain. Every surjective function has aright inverse assuming theaxiom of choice, and every function with a right inverse is necessarily a surjection. Thecomposition of surjective functions is always surjective. Any function can be decomposed into a surjection and an injection.

Definition

[edit]
Further information on notation:Function (mathematics) § Notation

Asurjective function is afunction whoseimage is equal to itscodomain. Equivalently, a functionf{\displaystyle f} withdomainX{\displaystyle X} and codomainY{\displaystyle Y} is surjective if for everyy{\displaystyle y} inY{\displaystyle Y} there exists at least onex{\displaystyle x} inX{\displaystyle X} withf(x)=y{\displaystyle f(x)=y}.[1] Surjections are sometimes denoted by a two-headed rightwards arrow (U+21A0 RIGHTWARDS TWO HEADED ARROW),[5] as inf:XY{\displaystyle f\colon X\twoheadrightarrow Y}.

Symbolically,

Iff:XY{\displaystyle f\colon X\rightarrow Y}, thenf{\displaystyle f} is said to be surjective if
yY,xX,f(x)=y{\displaystyle \forall y\in Y,\,\exists x\in X,\;\;f(x)=y}.[2][6]

Examples

[edit]
A non-surjective function fromdomainX tocodomainY. The smaller yellow oval insideY is theimage (also calledrange) off. This function isnot surjective, because the image does not fill the whole codomain. In other words,Y is colored in a two-step process: First, for everyx inX, the pointf(x) is colored yellow; Second, all the rest of the points inY, that are not yellow, are colored blue. The functionf would be surjective only if there were no blue points.
For more examples, see§ Gallery.
  • For any setX, theidentity function idX onX is surjective.
  • The functionf :Z → {0, 1} defined byf(n) =nmod 2 (that is,evenintegers are mapped to 0 andodd integers to 1) is surjective.
  • The functionf :RR defined byf(x) = 2x + 1 is surjective (and evenbijective), because for everyreal numbery, we have anx such thatf(x) =y: such an appropriatex is (y − 1)/2.
  • The functionf :RR defined byf(x) =x3 − 3x is surjective, because the pre-image of anyreal numbery is the solution set of the cubic polynomial equationx3 − 3xy = 0, and every cubic polynomial with real coefficients has at least one real root. However, this function is notinjective (and hence notbijective), since, for example, the pre-image ofy = 2 is {x = −1,x = 2}. (In fact, the pre-image of this function for everyy, −2 ≤y ≤ 2 has more than one element.)
  • The functiong :RR defined byg(x) =x2 isnot surjective, since there is no real numberx such thatx2 = −1. However, the functiong :RR≥0 defined byg(x) =x2 (with the restricted codomain)is surjective, since for everyy in the nonnegative real codomainY, there is at least onex in the real domainX such thatx2 =y.
  • Thenatural logarithm functionln : (0, +∞) →R is a surjective and even bijective (mapping from the set of positive real numbers to the set of all real numbers). Its inverse, theexponential function, if defined with the set of real numbers as the domain and the codomain, is not surjective (as its range is the set of positive real numbers).
  • Thematrix exponential is not surjective when seen as a map from the space of alln×nmatrices to itself. It is, however, usually defined as a map from the space of alln×n matrices to thegeneral linear group of degreen (that is, thegroup of alln×ninvertible matrices). Under this definition, the matrix exponential is surjective for complex matrices, although still not surjective for real matrices.
  • Theprojection from acartesian productA ×B to one of its factors is surjective, unless the other factor is empty.
  • In a 3D video game, vectors are projected onto a 2D flat screen by means of a surjective function.

Properties

[edit]

A function isbijective if and only if it is both surjective andinjective.

If (as is often done) a function is identified with itsgraph, then surjectivity is not a property of the function itself, but rather a property of themapping.[7] This is, the function together with its codomain. Unlike injectivity, surjectivity cannot be read off of the graph of the function alone.

Surjections as right invertible functions

[edit]

The functiong :YX is said to be aright inverse of the functionf :XY iff(g(y)) =y for everyy inY (g can be undone byf). In other words,g is a right inverse off if thecompositionfog ofg andf in that order is theidentity function on the domainY ofg. The functiong need not be a completeinverse off because the composition in the other order,gof, may not be the identity function on the domainX off. In other words,f can undo or "reverse"g, but cannot necessarily be reversed by it.For example,f:R2R,(x,y)x{\displaystyle f:\mathbb {R} ^{2}\rightarrow \mathbb {R} ,(x,y)\mapsto x} has right inverseg:z(z,0);{\displaystyle g:z\mapsto (z,0);} the composition in the other order givesg(f((x,y)))=(x,0){\displaystyle g(f((x,y)))=(x,0)}, which equals(x,y){\displaystyle (x,y)} only ifx=0{\displaystyle x=0}.

Every function with a right inverse is necessarily a surjection. The proposition that every surjective function has a right inverse is equivalent to theaxiom of choice.

Iff :XY is surjective andB is asubset ofY, thenf(f −1(B)) =B. Thus,B can be recovered from itspreimagef −1(B).

For example, in the first illustration in thegallery, there is some functiong such thatg(C) = 4. There is also some functionf such thatf(4) =C. It doesn't matter thatg is not unique (it would also work ifg(C) equals 3); it only matters thatf "reverses"g.

Surjections as epimorphisms

[edit]

A functionf :XY is surjective if and only if it isright-cancellative:[8][9] given any functionsg,h :YZ, whenevergof =hof, theng =h. This property is formulated in terms of functions and theircomposition and can be generalized to the more general notion of themorphisms of acategory and their composition. Right-cancellative morphisms are calledepimorphisms. Specifically, surjective functions are precisely the epimorphisms in thecategory of sets. The prefixepi is derived from the Greek prepositionἐπί meaningover,above,on.

Any morphism with a right inverse is an epimorphism, but the converse is not true in general. A right inverseg of a morphismf is called asection off. A morphism with a right inverse is called asplit epimorphism.

Surjections as binary relations

[edit]

Any function with domainX and codomainY can be seen as aleft-total andright-unique binary relation betweenX andY by identifying it with itsfunction graph. A surjective function with domainX and codomainY is then a binary relation betweenX andY that is right-unique and both left-total andright-total.

Cardinality of the domain of a surjection

[edit]

Thecardinality of the domain of a surjective function is greater than or equal to the cardinality of its codomain: Iff :XY is a surjective function, thenX has at least as many elements asY, in the sense ofcardinal numbers. (The proof appeals to theaxiom of choice to show that a functiong :YX satisfyingf(g(y)) =y for ally inY exists.g is easily seen to be injective, thus theformal definition of |Y| ≤ |X| is satisfied.)

Specifically, if bothX andY arefinite with the same number of elements, thenf :XY is surjective if and only iff isinjective.

Composition and decomposition

[edit]

Thecomposition of surjective functions is always surjective: Iff andg are both surjective, and the codomain ofg is equal to the domain off, thenfog is surjective. Conversely, iffog is surjective, thenf is surjective (butg, the function applied first, need not be). These properties generalize from surjections in thecategory of sets to anyepimorphisms in anycategory.

Any function can be decomposed into a surjection and aninjection: For any functionh :XZ there exist a surjectionf :XY and an injectiong :YZ such thath =gof. To see this, defineY to be the set ofpreimagesh−1(z) wherez is inh(X). These preimages aredisjoint andpartitionX. Thenf carries eachx to the element ofY which contains it, andg carries each element ofY to the point inZ to whichh sends its points. Thenf is surjective since it is a projection map, andg is injective by definition.

Induced surjection and induced bijection

[edit]

Any function induces a surjection by restricting its codomain to its range. Any surjective function induces a bijection defined on aquotient of its domain by collapsing all arguments mapping to a given fixed image. More precisely, every surjectionf :AB can be factored as a projection followed by a bijection as follows. LetA/~ be theequivalence classes ofA under the followingequivalence relation:x ~y if and only iff(x) =f(y). Equivalently,A/~ is the set of all preimages underf. LetP(~) :AA/~ be theprojection map which sends eachx inA to its equivalence class [x]~, and letfP :A/~ →B be the well-defined function given byfP([x]~) =f(x). Thenf =fP oP(~).

The set of surjections

[edit]

Given fixed finite setsA andB, one can form the set of surjectionsAB. Thecardinality of this set is one of the twelve aspects of Rota'sTwelvefold way, and is given by|B|!{|A||B|}{\textstyle |B|!{\begin{Bmatrix}|A|\\|B|\end{Bmatrix}}}, where{|A||B|}{\textstyle {\begin{Bmatrix}|A|\\|B|\end{Bmatrix}}} denotes aStirling number of the second kind.

Gallery

[edit]
  • A non-injective surjective function (surjection, not a bijection)
    A non-injectivesurjective function (surjection, not a bijection)
  • An injective surjective function (bijection)
    An injectivesurjective function (bijection)
  • An injective non-surjective function (injection, not a bijection)
    An injective non-surjective function (injection, not a bijection)
  • A non-injective non-surjective function (neither a bijection)
    A non-injective non-surjective function (neither a bijection)

See also

[edit]
Wikimedia Commons has media related toSurjectivity.
Look upsurjective,surjection, oronto in Wiktionary, the free dictionary.

References

[edit]
  1. ^ab"Injective, Surjective and Bijective".www.mathsisfun.com. Retrieved2019-12-07.
  2. ^ab"Bijection, Injection, And Surjection | Brilliant Math & Science Wiki".brilliant.org. Retrieved2019-12-07.
  3. ^Miller, Jeff, "Injection, Surjection and Bijection",Earliest Uses of Some of the Words of Mathematics, Tripod.
  4. ^Mashaal, Maurice (2006).Bourbaki. American Mathematical Soc. p. 106.ISBN 978-0-8218-3967-6.
  5. ^"Arrows – Unicode"(PDF). Retrieved2013-05-11.
  6. ^Farlow, S. J."Injections, Surjections, and Bijections"(PDF).math.umaine.edu. Retrieved2019-12-06.
  7. ^T. M. Apostol (1981).Mathematical Analysis. Addison-Wesley. p. 35.
  8. ^Goldblatt, Robert (2006) [1984].Topoi, the Categorial Analysis of Logic (Revised ed.).Dover Publications.ISBN 978-0-486-45026-1. Retrieved2009-11-25.
  9. ^"Surjection iff Right Cancellable".ProofWiki. Retrieved2025-06-30.

Further reading

[edit]
General
Theorems (list)
 and paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types ofsets
Maps and cardinality
Set theories
Formal systems (list),
language and syntax
Example axiomatic
systems
 (list)
Proof theory
Model theory
Computability theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Surjective_function&oldid=1310555166"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp