|
|
(697 intermediate revisions by more than 100 users not shown) |
Line 1: |
Line 1: |
| {{Redirect|Onto|3=wikt:onto}}
| | This is a preview for the new '''MathML rendering mode''' (with SVG fallback), which is availble in production for registered users. |
| [[Image:Surjection.svg|thumb|A surjective function from [[domain (mathematics)|domain]] ''X'' to [[codomain]] ''Y''. The function is surjective because every point in the codomain is the value of ''f''(''x'') for at least one point ''x'' in the domain.]]
| |
|
| |
|
| In [[mathematics]], a function ''f'' from a [[set (mathematics)|set]] ''X'' to a set ''Y'' is '''surjective''' (or '''onto'''), or a '''surjection''', if every [[Element (mathematics)|element]] ''y'' in ''Y'' has a corresponding element ''x'' in ''X'' so that f(x) = y. Multiple elements of ''X'' might be turned into the same element of ''Y'' by applying ''f''.
| | If you would like use the '''MathML''' rendering mode, you need a wikipedia user account that can be registered here [[https://en.wikipedia.org/wiki/Special:UserLogin/signup]] |
| | * Only registered users will be able to execute this rendering mode. |
| | * Note: you need not enter a email address (nor any other private information). Please do not use a password that you use elsewhere. |
|
| |
|
| The term ''surjective'' and the related terms ''[[injective function|injective]]'' and ''[[bijective function|bijective]]'' were introduced by [[Nicolas Bourbaki]],<ref>{{Citation | url = http://jeff560.tripod.com/i.html | title = Earliest Uses of Some of the Words of Mathematics | contribution = Injection, Surjection and Bijection | publisher = Tripod | first = Jeff}}.</ref> a group of mainly [[France|French]] 20th-century [[mathematician]]s who wrote a series of books presenting an exposition of modern advanced mathematics, beginning in 1935. The French [[prefix]] ''[[wiktionary:sur#French|sur]]'' means ''over'' or ''above'' and relates to the fact that the [[image (mathematics)|image]] of the domain of a surjective function completely covers the function's [[codomain]].
| | Registered users will be able to choose between the following three rendering modes: |
|
| |
|
| ==Definition==
| | '''MathML''' |
| A '''surjective function''' is a [[function(mathematics)|function]] whose [[image (mathematics)|image]] is equal to its [[codomain]]. Equivalently, a function ''f'' with [[domain (mathematics)|domain]] ''X'' and codomain ''Y'' is surjective if for every ''y'' in ''Y'' there exists at least one ''x'' in ''X'' with <math>f(x)=y</math>. Surjections are sometimes denoted by a two-headed rightwards arrow, as in ''f'' : ''X'' ↠ ''Y''.
| | :<math forcemathmode="mathml">E=mc^2</math> |
|
| |
|
| Symbolically,
| | <!--'''PNG''' (currently default in production) |
| | :<math forcemathmode="png">E=mc^2</math> |
|
| |
|
| :Let <math>f\colon X \rightarrow Y</math>, then <math>f</math> is said to be surjective if | | '''source''' |
| | :<math forcemathmode="source">E=mc^2</math> --> |
|
| |
|
| :<math>\forall y \in Y, \, \exists x \in X, \;\; f(x)=y</math> | | <span style="color: red">Follow this [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering link] to change your Math rendering settings.</span> You can also add a [https://en.wikipedia.org/wiki/Special:Preferences#mw-prefsection-rendering-skin Custom CSS] to force the MathML/SVG rendering or select different font families. See [https://www.mediawiki.org/wiki/Extension:Math#CSS_for_the_MathML_with_SVG_fallback_mode these examples]. |
|
| |
|
| ==Examples== | | ==Demos== |
| [[Image:Codomain2.SVG|right|thumb|250px|'''A non-surjective function''' from [[domain (mathematics)|domain]] X to [[codomain]] Y. The smaller oval inside Y is the [[Image (mathematics)|image]] (also called [[range (mathematics)|range]]) of f. This function is '''not''' surjective, because the image does not fill the whole codomain. In other words, Y is colored in a two-step process: First, for every x in X, the point f(x) is colored green; Second, all the rest of the points in Y, that are not green, are colored blue. The function f is surjective only if there are no blue points.]]
| |
| For any set ''X'', the [[identity function]] id<sub>''X''</sub> on ''X'' is surjective.
| |
|
| |
|
| The function {{Nowrap|''f'' : '''Z''' → '''{0,1}'''}} defined by ''f''(''n'') = ''n'' '''[[Modular arithmetic|mod]]''' 2 (that is, [[even number|even]] [[integer]]s are mapped to 0 and [[odd number|odd]] integers to 1) is surjective.
| | Here are some [https://commons.wikimedia.org/w/index.php?title=Special:ListFiles/Frederic.wang demos]: |
|
| |
|
| The function {{Nowrap|''f'' : '''R''' → '''R'''}} defined by ''f''(''x'') = 2''x'' + 1 is surjective (and even [[bijective function|bijective]]), because for every [[real number]] ''y'' we have an ''x'' such that ''f''(''x'') = ''y'': an appropriate ''x'' is (''y'' − 1)/2.
| |
|
| |
|
| The function {{Nowrap|''g'' : '''R''' → '''R'''}} defined by {{Nowrap begin}}''g''(''x'') = ''x''<sup>2</sup>{{Nowrap end}} is ''not'' surjective, because there is no real number ''x'' such that {{Nowrap begin}}''x''<sup>2</sup> = −1{{Nowrap end}}. However, the function {{Nowrap|''g'' : '''R''' → '''R<sup>nn</sup>'''}} defined by {{Nowrap begin}}''g''(''x'') = ''x''<sup>2</sup>{{Nowrap end}} (with restricted codomain) ''is'' surjective because for every ''y'' in the nonnegative real codomain Y there is at least one ''x'' in the real domain ''X'' such that {{Nowrap begin}}''x''<sup>2</sup> = ''y''{{Nowrap end}}.
| | * accessibility: |
| | ** Safari + VoiceOver: [https://commons.wikimedia.org/wiki/File:VoiceOver-Mac-Safari.ogv video only], [[File:Voiceover-mathml-example-1.wav|thumb|Voiceover-mathml-example-1]], [[File:Voiceover-mathml-example-2.wav|thumb|Voiceover-mathml-example-2]], [[File:Voiceover-mathml-example-3.wav|thumb|Voiceover-mathml-example-3]], [[File:Voiceover-mathml-example-4.wav|thumb|Voiceover-mathml-example-4]], [[File:Voiceover-mathml-example-5.wav|thumb|Voiceover-mathml-example-5]], [[File:Voiceover-mathml-example-6.wav|thumb|Voiceover-mathml-example-6]], [[File:Voiceover-mathml-example-7.wav|thumb|Voiceover-mathml-example-7]] |
| | ** [https://commons.wikimedia.org/wiki/File:MathPlayer-Audio-Windows7-InternetExplorer.ogg Internet Explorer + MathPlayer (audio)] |
| | ** [https://commons.wikimedia.org/wiki/File:MathPlayer-SynchronizedHighlighting-WIndows7-InternetExplorer.png Internet Explorer + MathPlayer (synchronized highlighting)] |
| | ** [https://commons.wikimedia.org/wiki/File:MathPlayer-Braille-Windows7-InternetExplorer.png Internet Explorer + MathPlayer (braille)] |
| | ** NVDA+MathPlayer: [[File:Nvda-mathml-example-1.wav|thumb|Nvda-mathml-example-1]], [[File:Nvda-mathml-example-2.wav|thumb|Nvda-mathml-example-2]], [[File:Nvda-mathml-example-3.wav|thumb|Nvda-mathml-example-3]], [[File:Nvda-mathml-example-4.wav|thumb|Nvda-mathml-example-4]], [[File:Nvda-mathml-example-5.wav|thumb|Nvda-mathml-example-5]], [[File:Nvda-mathml-example-6.wav|thumb|Nvda-mathml-example-6]], [[File:Nvda-mathml-example-7.wav|thumb|Nvda-mathml-example-7]]. |
| | ** Orca: There is ongoing work, but no support at all at the moment [[File:Orca-mathml-example-1.wav|thumb|Orca-mathml-example-1]], [[File:Orca-mathml-example-2.wav|thumb|Orca-mathml-example-2]], [[File:Orca-mathml-example-3.wav|thumb|Orca-mathml-example-3]], [[File:Orca-mathml-example-4.wav|thumb|Orca-mathml-example-4]], [[File:Orca-mathml-example-5.wav|thumb|Orca-mathml-example-5]], [[File:Orca-mathml-example-6.wav|thumb|Orca-mathml-example-6]], [[File:Orca-mathml-example-7.wav|thumb|Orca-mathml-example-7]]. |
| | ** From our testing, ChromeVox and JAWS are not able to read the formulas generated by the MathML mode. |
|
| |
|
| The [[natural logarithm]] function {{Nowrap|ln : <nowiki>(0,+∞)</nowiki> → '''R'''}} is a surjective and even bijective mapping from the set of positive real numbers to the set of all real numbers. Its inverse, the [[exponential function]], is not surjective as its range is the set of positive real numbers and its domain is usually defined to be the set of all real numbers. The [[matrix exponential]] is not surjective when seen as a map from the space of all ''n''×''n'' [[matrix (mathematics)|matrices]] to itself. It is, however, usually defined as a map from the space of all ''n''×''n'' matrices to the [[general linear group]] of degree ''n'', i.e. the [[group (mathematics)|group]] of all ''n''×''n'' [[invertible matrix|invertible matrices]]. Under this definition the matrix exponential is surjective for complex matrices, although still not surjective for real matrices.
| | ==Test pages == |
|
| |
|
| The [[projection (set theory)|projection]] from a [[cartesian product]] {{Nowrap|''A'' × ''B''}} to one of its factors is surjective.
| | To test the '''MathML''', '''PNG''', and '''source''' rendering modes, please go to one of the following test pages: |
| | *[[Displaystyle]] |
| | *[[MathAxisAlignment]] |
| | *[[Styling]] |
| | *[[Linebreaking]] |
| | *[[Unique Ids]] |
| | *[[Help:Formula]] |
|
| |
|
| In a 3D video game vectors are projected onto a 2D flat screen by means of a surjective function.
| | *[[Inputtypes|Inputtypes (private Wikis only)]] |
| | | *[[Url2Image|Url2Image (private Wikis only)]] |
| [[File:Surjective function.svg|500px|"500px"|thumb|left|Interpretation for '''surjective functions''' in the Cartesian plane, defined by the mapping ''f'' : ''X'' → ''Y'', where ''y'' = ''f''(''x''), ''X'' = domain of function, ''Y'' = range of function. Every element in the range is mapped onto from an element in the domain, by the rule ''f''. There may be a number of domain elements which map to the same range element. That is, every ''y'' in ''Y'' is mapped from an element ''x'' in ''X'', more than one ''x'' can map to the same ''y''. Left: Only one domain is shown which makes ''f'' surjective. Right: two possible domains ''X''<sub>1</sub> and ''X''<sub>2</sub> are shown.]] | | ==Bug reporting== |
| | | If you find any bugs, please report them at [https://bugzilla.wikimedia.org/enter_bug.cgi?product=MediaWiki%20extensions&component=Math&version=master&short_desc=Math-preview%20rendering%20problem Bugzilla], or write an email to math_bugs (at) ckurs (dot) de . |
| [[File:Non-surjective function.svg|500px|"500px"|thumb|right|'''Non-surjective functions''' in the Cartesian plane. Although some parts of the function are surjective, where elements ''y'' in ''Y'' do have a value ''x'' in ''X'' such that ''y'' = ''f''(''x''), some parts are not. Left: There is ''y''<sub>0</sub> in ''Y'', but there is no ''x''<sub>0</sub> in ''X'' such that ''y''<sub>0</sub> = ''f''(''x''<sub>0</sub>). Right: There are ''y''<sub>1</sub>, ''y''<sub>2</sub> and ''y''<sub>3</sub> in ''Y'', but there are no ''x''<sub>1</sub>, ''x''<sub>2</sub>, and ''x''<sub>3</sub> in ''X'' such that ''y''<sub>1</sub> = ''f''(''x''<sub>1</sub>), ''y''<sub>2</sub> = ''f''(''x''<sub>2</sub>), and ''y''<sub>3</sub> = ''f''(''x''<sub>3</sub>).]] | |
| | |
| {{-}}
| |
| | |
| ==Properties== | |
| A function is [[bijective function|bijective]] if and only if it is both surjective and [[injective function|injective]].
| |
| | |
| If (as is often done) a function is identified with its [[graph of a function|graph]], then surjectivity is not a property of the function itself, but rather a relationship between the function and its codomain. Unlike injectivity, surjectivity cannot be read off of the graph of the function alone. | |
| | |
| ===Surjections as right invertible functions===
| |
| The function {{Nowrap|''g'' : ''Y'' → ''X''}} is said to be a [[Inverse_function#Left_and_right_inverses|right inverse]] of the function {{Nowrap|''f'' : ''X'' → ''Y''}} if {{Nowrap begin}}''f''(''g''(''y'')) = ''y''{{Nowrap end}} for every ''y'' in ''Y'' (''g'' can be undone by ''f''). In other words, ''g'' is a right inverse of ''f'' if the [[function composition|composition]] {{Nowrap|''f'' <small>o</small> ''g''}} of ''g'' and ''f'' in that order is the [[identity function]] on the domain ''Y'' of ''g''. The function ''g'' need not be a complete [[inverse function|inverse]] of ''f'' because the composition in the other order, {{Nowrap|''g'' <small>o</small> ''f''}}, may not be the identity function on the domain ''X'' of ''f''. In other words, ''f'' can undo or "''reverse''" ''g'', but cannot necessarily be reversed by it.
| |
| | |
| Every function with a right inverse is necessarily a surjection. The proposition that every surjective function has a right inverse is equivalent to the [[axiom of choice]].
| |
| | |
| If {{Nowrap|''f'' : ''X'' → ''Y''}} is surjective and ''B'' is a [[subset]] of ''Y'', then {{Nowrap begin}}''f''(''f''<sup> −1</sup>(''B'')) = ''B''{{Nowrap end}}. Thus, ''B'' can be recovered from its [[preimage]] {{Nowrap|''f''<sup> −1</sup>(''B'')}}.
| |
| | |
| For example, in the first illustration, there is some function ''g'' such that ''g(C) = 4''. There is also some function ''f'' such that ''f(4) = C''. It doesn't matter that ''g(C)'' can also equal 3; it only matters that ''f'' "reverses" ''g''.
| |
| | |
| <gallery>
| |
| Image:Bijection.svg|Another surjective function. (This one happens to be a [[Bijective function|bijection]])
| |
| Image:Injection.svg|A '''non'''-surjective function. (This one happens to be an [[Injective function|injection]])
| |
| Image:Surjective_composition.svg|Surjective composition: the first function need not be surjective.
| |
| </gallery>
| |
| | |
| ===Surjections as epimorphisms===
| |
| A function {{Nowrap|''f'' : ''X'' → ''Y''}} is surjective if and only if it is [[right-cancellative]]:<ref>{{Cite book
| |
| |first=Robert
| |
| |last=Goldblatt
| |
| |title=Topoi, the Categorial Analysis of Logic
| |
| |url=http://historical.library.cornell.edu/cgi-bin/cul.math/docviewer?did=Gold010&id=3|accessdate=2009-11-25
| |
| |edition=Revised
| |
| |year=2006
| |
| |origyear=1984
| |
| |publisher=[[Dover Publications]]
| |
| |isbn=978-0-486-45026-1}}</ref> given any functions {{Nowrap|''g'',''h'' : ''Y'' → ''Z''}}, whenever {{Nowrap begin}}''g'' <small>o</small> ''f'' = ''h'' <small>o</small> ''f''{{Nowrap end}}, then {{Nowrap begin}}''g'' = ''h''{{Nowrap end}}. This property is formulated in terms of functions and their [[function composition|composition]] and can be generalized to the more general notion of the [[morphism]]s of a [[category (mathematics)|category]] and their composition. Right-cancellative morphisms are called [[epimorphism]]s. Specifically, surjective functions are precisely the epimorphisms in the [[category of sets]]. The prefix ''epi'' is derived from the Greek preposition ''ἐπί'' meaning ''over'', ''above'', ''on''.
| |
| | |
| Any morphism with a right inverse is an epimorphism, but the converse is not true in general. A right inverse ''g'' of a morphism ''f'' is called a [[section (category theory)|section]] of ''f''. A morphism with a right inverse is called a [[split epimorphism]].
| |
| | |
| ===Surjections as binary relations===
| |
| Any function with domain ''X'' and codomain ''Y'' can be seen as a [[left-total relation|left-total]] and [[right-unique relation|right-unique]] binary relation between ''X'' and ''Y'' by identifying it with its [[function graph]]. A surjective function with domain ''X'' and codomain ''Y'' is then a binary relation between ''X'' and ''Y'' that is right-unique and both left-total and [[right-total relation|right-total]].
| |
| | |
| ===Cardinality of the domain of a surjection===
| |
| The [[cardinality]] of the domain of a surjective function is greater than or equal to the cardinality of its codomain: If {{Nowrap|''f'' : ''X'' → ''Y''}} is a surjective function, then ''X'' has at least as many elements as ''Y'', in the sense of [[cardinal number]]s. (The proof appeals to the [[axiom of choice]] to show that a function
| |
| {{Nowrap|''g'' : ''Y'' → ''X''}} satisfying ''f(g(y))=y'' for all ''y'' in ''Y'' exists. ''g'' is easily seen to be injective, thus the [[Cardinal_number#Formal_definition|formal definition]] of |''Y''|≤|''X''| is satisfied.)
| |
| | |
| Specifically, if both ''X'' and ''Y'' are [[finite set|finite]] with the same number of elements, then {{Nowrap|''f'' : ''X'' → ''Y''}} is surjective if and only if ''f'' is [[injective]].
| |
| | |
| ===Composition and decomposition===
| |
| The [[function composition|composite]] of surjective functions is always surjective: If ''f'' and ''g'' are both surjective, and the codomain of ''g'' is equal to the domain of ''f'', then {{Nowrap|''f'' <small>o</small> ''g''}} is surjective. Conversely, if {{Nowrap|''f'' <small>o</small> ''g''}} is surjective, then ''f'' is surjective (but ''g'', the function applied first, need not be). These properties generalize from surjections in the [[category of sets]] to any [[epimorphism]]s in any [[category (mathematics)|category]].
| |
| | |
| Any function can be decomposed into a surjection and an [[injective function|injection]]: For any function {{Nowrap|''h'' : ''X'' → ''Z''}} there exist a surjection {{Nowrap|''f'' : ''X'' → ''Y''}} and an injection {{Nowrap|''g'' : ''Y'' → ''Z''}} such that {{Nowrap begin}}''h'' = ''g'' <small>o</small> ''f''{{Nowrap end}}. To see this, define ''Y'' to be the sets {{Nowrap|''h''<sup> −1</sup>(''z'')}} where ''z'' is in ''Z''. These sets are [[disjoint sets|disjoint]] and [[partition of a set|partition]] ''X''. Then ''f'' carries each ''x'' to the element of ''Y'' which contains it, and ''g'' carries each element of ''Y'' to the point in ''Z'' to which ''h'' sends its points. Then ''f'' is surjective since it is a projection map, and ''g'' is injective by definition.
| |
| | |
| ===Induced surjection and induced bijection===
| |
| Any function induces a surjection by restricting its codomain to its range. Any surjective function induces a bijection defined on a [[quotient set|quotient]] of its domain by collapsing all arguments mapping to a given fixed image. More precisely, every surjection {{Nowrap|''f'' : ''A'' → ''B''}} can be factored as a projection followed by a bijection as follows. Let ''A''/~ be the [[equivalence class]]es of ''A'' under the following [[equivalence relation]]: ''x'' ~ ''y'' if and only if ''f''(''x'') = ''f''(''y''). Equivalently, ''A''/~ is the set of all preimages under ''f''. Let ''P''(~) : ''A'' → ''A''/~ be the [[projection map]] which sends each ''x'' in ''A'' to its equivalence class [''x'']<sub>~</sub>, and let ''f''<sub>''P''</sub> : ''A''/~ → ''B'' be the well-defined function given by ''f''<sub>''P''</sub>([''x'']<sub>~</sub>) = ''f''(''x''). Then ''f'' = ''f''<sub>''P''</sub> o ''P''(~).
| |
| | |
| ==See also==
| |
| {{Wiktionary|surjective|surjection|onto}}
| |
| *[[Cover (algebra)]]
| |
| *[[Covering map]]
| |
| *[[Enumeration]]
| |
| *[[Fiber bundle]]
| |
| *[[Index set]]
| |
| *[[Section (category theory)]]
| |
| | |
| ==Notes==
| |
| <references/>
| |
| | |
| ==References==
| |
| * {{Cite book
| |
| |title=Theory of Sets
| |
| |last=Bourbaki
| |
| |first=Nicolas
| |
| |authorlink=Nicolas Bourbaki
| |
| |year=2004
| |
| |origyear=1968
| |
| |publisher=Springer
| |
| |isbn=978-3-540-22525-6
| |
| |ref=bourbaki}}
| |
| | |
| {{DEFAULTSORT:Surjective Function}}
| |
| [[Category:Functions and mappings]]
| |
| [[Category:Basic concepts in set theory]]
| |
| [[Category:Mathematical relations]]
| |
| [[Category:Types of functions]]
| |
| | |
| [[ar:دالة شمولية]]
| |
| [[bg:Сюрекция]]
| |
| [[bs:Surjektivna funkcija]]
| |
| [[ca:Funció exhaustiva]]
| |
| [[cs:Zobrazení na]]
| |
| [[da:Surjektiv]]
| |
| [[de:Surjektivität]]
| |
| [[es:Función sobreyectiva]]
| |
| [[eo:Surĵeto]]
| |
| [[eu:Funtzio supraiektibo]]
| |
| [[fa:تابع پوشا]]
| |
| [[fr:Surjection]]
| |
| [[ko:전사함수]]
| |
| [[hr:Surjektivna funkcija]]
| |
| [[io:Surjektio]]
| |
| [[is:Átæk vörpun]]
| |
| [[it:Funzione suriettiva]]
| |
| [[he:פונקציה על]]
| |
| [[la:Functio suriectiva]]
| |
| [[lt:Siurjekcija]]
| |
| [[hu:Szürjekció]]
| |
| [[nl:Surjectie]]
| |
| [[ja:全射]]
| |
| [[no:Surjektiv]]
| |
| [[nn:Surjeksjon]]
| |
| [[oc:Subrejeccion]]
| |
| [[pl:Funkcja "na"]]
| |
| [[pt:Função sobrejectiva]]
| |
| [[ru:Сюръекция]]
| |
| [[simple:Surjective function]]
| |
| [[sk:Surjektívne zobrazenie]]
| |
| [[sl:Surjektivna preslikava]]
| |
| [[szl:Surjekcyjo]]
| |
| [[sr:Сурјективно пресликавање]]
| |
| [[fi:Surjektio]]
| |
| [[sv:Surjektiv funktion]]
| |
| [[uk:Сюр'єкція]]
| |
| [[vi:Toàn ánh]]
| |
| [[zh:满射]]
| |