Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Function (mathematics)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Injective, surjective and bijective functions === {{main|Bijection, injection and surjection}} Let <math>f : X\to Y</math> be a function. The function {{mvar|f}} is ''[[injective function|injective]]'' (or ''one-to-one'', or is an ''injection'') if {{math|''f''(''a'') β ''f''(''b'')}} for every two different elements {{math|''a''}} and {{mvar|''b''}} of {{mvar|X}}.<ref name="PCM p.11">{{Princeton Companion to Mathematics|p=11}}</ref><ref name="EOM Injection">{{eom |title=Injection |oldid=30986 |first=O. A. |last=Ivanova |mode=cs1}}</ref> Equivalently, {{mvar|f}} is injective if and only if, for every <math>y\in Y,</math> the preimage <math>f^{-1}(y)</math> contains at most one element. An empty function is always injective. If {{mvar|X}} is not the empty set, then {{mvar|f}} is injective if and only if there exists a function <math>g: Y\to X</math> such that <math>g\circ f=\operatorname{id}_X,</math> that is, if {{mvar|f}} has a [[left inverse function|left inverse]].<ref name="EOM Injection"/> ''Proof'': If {{mvar|f}} is injective, for defining {{mvar|g}}, one chooses an element <math>x_0</math> in {{mvar|X}} (which exists as {{mvar|X}} is supposed to be nonempty),<ref group=note>The [[axiom of choice]] is not needed here, as the choice is done in a single set.</ref> and one defines {{mvar|g}} by <math>g(y)=x</math> if <math>y=f(x)</math> and <math>g(y)=x_0</math> if <math>y\not\in f(X).</math> Conversely, if <math>g\circ f=\operatorname{id}_X,</math> and <math>y=f(x),</math> then <math>x=g(y),</math> and thus <math>f^{-1}(y)=\{x\}.</math> The function {{mvar|f}} is ''[[surjective]]'' (or ''onto'', or is a ''surjection'') if its range <math>f(X)</math> equals its codomain <math>Y</math>, that is, if, for each element <math>y</math> of the codomain, there exists some element <math>x</math> of the domain such that <math>f(x) = y</math> (in other words, the preimage <math>f^{-1}(y)</math> of every <math>y\in Y</math> is nonempty).<ref name="PCM p.11"/><ref name="EOM Surjection">{{eom |title=Surjection |oldid=35689 |author-first=O.A. |author-last=Ivanova|mode=cs1}}</ref> If, as usual in modern mathematics, the [[axiom of choice]] is assumed, then {{mvar|f}} is surjective if and only if there exists a function <math>g: Y\to X</math> such that <math>f\circ g=\operatorname{id}_Y,</math> that is, if {{mvar|f}} has a [[right inverse function|right inverse]].<ref name="EOM Surjection"/> The axiom of choice is needed, because, if {{mvar|f}} is surjective, one defines {{mvar|g}} by <math>g(y)=x,</math> where <math>x</math> is an ''arbitrarily chosen'' element of <math>f^{-1}(y).</math> The function {{mvar|f}} is ''[[bijective]]'' (or is a ''bijection'' or a ''one-to-one correspondence'') if it is both injective and surjective.<ref name="PCM p.11"/><ref name="EOM Bijection">{{eom |title=Bijection |oldid=30987 |author-first=O.A. |author-last=Ivanova|mode=cs1}}</ref> That is, {{mvar|f}} is bijective if, for every <math>y\in Y,</math> the preimage <math>f^{-1}(y)</math> contains exactly one element. The function {{mvar|f}} is bijective if and only if it admits an [[inverse function]], that is, a function <math>g : Y\to X</math> such that <math>g\circ f=\operatorname{id}_X</math> and <math>f\circ g=\operatorname{id}_Y.</math><ref name="EOM Bijection"/> (Contrarily to the case of surjections, this does not require the axiom of choice; the proof is straightforward). Every function <math>f: X\to Y</math> may be [[factorization|factorized]] as the composition <math>i\circ s</math> of a surjection followed by an injection, where {{mvar|s}} is the canonical surjection of {{mvar|X}} onto {{math|''f''(''X'')}} and {{mvar|i}} is the canonical injection of {{math|''f''(''X'')}} into {{mvar|Y}}. This is the ''canonical factorization'' of {{mvar|f}}. "One-to-one" and "onto" are terms that were more common in the older English language literature; "injective", "surjective", and "bijective" were originally coined as French words in the second quarter of the 20th century by the [[Nicolas Bourbaki|Bourbaki group]] and imported into English.<ref>{{Cite web |last=Hartnett |first=Kevin |date=9 November 2020 |title=Inside the Secret Math Society Known Simply as Nicolas Bourbaki |url=https://www.quantamagazine.org/inside-the-secret-math-society-known-as-nicolas-bourbaki-20201109/ |access-date=2024-06-05 |website=Quanta Magazine}}</ref> As a word of caution, "a one-to-one function" is one that is injective, while a "one-to-one correspondence" refers to a bijective function. Also, the statement "{{math|''f''}} maps {{math|''X''}} ''onto'' {{math|''Y''}}" differs from "{{math|''f''}} maps {{math|''X''}} ''into'' {{math|''B''}}", in that the former implies that {{math|''f''}} is surjective, while the latter makes no assertion about the nature of {{math|''f''}}. In a complicated reasoning, the one letter difference can easily be missed. Due to the confusing nature of this older terminology, these terms have declined in popularity relative to the Bourbakian terms, which have also the advantage of being more symmetrical.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)