In
mathematics
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
, injections, surjections, and bijections are classes of
functions distinguished by the manner in which ''
arguments
An argument is a series of sentences, statements, or propositions some of which are called premises and one is the conclusion. The purpose of an argument is to give reasons for one's conclusion via justification, explanation, and/or persua ...
'' (input
expressions from the
domain) and ''
images'' (output expressions from the
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
) are related or ''mapped to'' each other.
A function
maps
A map is a symbolic depiction of interrelationships, commonly spatial, between things within a space. A map may be annotated with text and graphics. Like any graphic, a map may be fixed to paper or other durable media, or may be displayed on ...
elements from its domain to elements in its codomain. Given a function
:
*The function is
injective
In mathematics, an injective function (also known as injection, or one-to-one function ) is a function that maps distinct elements of its domain to distinct elements of its codomain; that is, implies (equivalently by contraposition, impl ...
, or one-to-one, if each element of the codomain is mapped to by ''at most'' one element of the domain, or equivalently, if distinct elements of the domain map to distinct elements in the codomain. An injective function is also called an injection.
Notationally:
::
:or, equivalently (using
logical transposition),
::
*The function is
surjective
In mathematics, a surjective function (also known as surjection, or onto function ) is a function such that, for every element of the function's codomain, there exists one element in the function's domain such that . In other words, for a f ...
, or onto, if each element of the codomain is mapped to by ''at least'' one element of the domain; that is, if the image and the codomain of the function are equal. A surjective function is a surjection.
Notationally:
::
*The function is
bijective
In mathematics, a bijection, bijective function, or one-to-one correspondence is a function between two sets such that each element of the second set (the codomain) is the image of exactly one element of the first set (the domain). Equival ...
(one-to-one and onto, one-to-one correspondence, or invertible) if each element of the codomain is mapped to by ''exactly'' one element of the domain; that is, if the function is ''both'' injective and surjective. A bijective function is also called a bijection.
That is, combining the definitions of injective and surjective,
::
:where
means "there
exists exactly one ".
*In any case (for any function), the following holds:
::
An injective function need not be surjective (not all elements of the codomain may be associated with arguments), and a surjective function need not be injective (some images may be associated with ''more than one'' argument). The four possible combinations of injective and surjective features are illustrated in the adjacent diagrams.
Injection
A function is injective (one-to-one) if each possible element of the codomain is mapped to by at most one argument. Equivalently, a function is injective if it maps distinct arguments to distinct images. An injective function is an injection.
The formal definition is the following.
:The function
is injective, if for all
,
The following are some facts related to injections:
*A function
is injective
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (often shortened as "iff") is paraphrased by the biconditional, a logical connective between statements. The biconditional is true in two cases, where either bo ...
is empty or
is left-
invertible
In mathematics, the concept of an inverse element generalises the concepts of opposite () and reciprocal () of numbers.
Given an operation denoted here , and an identity element denoted , if , one says that is a left inverse of , and that ...
; that is, there is a function
such that
identity function on ''X''. Here,
is the image of
.
*Since every function is surjective when its
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
is restricted to its
image
An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
, every injection induces a bijection onto its image. More precisely, every injection
can be factored as a bijection followed by an inclusion as follows. Let
be
with codomain restricted to its image, and let
be the inclusion map from
into
. Then
. A dual factorization is given for surjections below.
*The composition of two injections is again an injection, but if
is injective, then it can only be concluded that
is injective (see figure).
*Every
embedding
In mathematics, an embedding (or imbedding) is one instance of some mathematical structure contained within another instance, such as a group (mathematics), group that is a subgroup.
When some object X is said to be embedded in another object Y ...
is injective.
Surjection
A function is ''surjective'' or ''onto'' if each element of the
codomain
In mathematics, a codomain, counter-domain, or set of destination of a function is a set into which all of the output of the function is constrained to fall. It is the set in the notation . The term '' range'' is sometimes ambiguously used to ...
is mapped to by at least one element of the
domain. In other words, each element of the codomain has a non-empty
preimage
In mathematics, for a function f: X \to Y, the image of an input value x is the single output value produced by f when passed x. The preimage of an output value y is the set of input values that produce y.
More generally, evaluating f at each ...
. Equivalently, a function is surjective if its image is equal to its codomain. A surjective function is a ''surjection''.
The formal definition is the following.
:The function
is surjective, if for all
, there is
such that
The following are some facts related to surjections:
*A function
is surjective if and only if it is right-invertible; that is, if and only if there is a function
such that
identity function on
. (This statement is equivalent to the
axiom of choice
In mathematics, the axiom of choice, abbreviated AC or AoC, is an axiom of set theory. Informally put, the axiom of choice says that given any collection of non-empty sets, it is possible to construct a new set by choosing one element from e ...
.)
*By collapsing all arguments mapping to a given fixed image, every surjection induces a bijection from a
quotient set
In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements ...
of its domain to its codomain. More precisely, the preimages under ''f'' of the elements of the image of
are the
equivalence classes
In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a ...
of an
equivalence relation
In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric, and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. A simpler example is equ ...
on the domain of
, such that ''x'' and ''y'' are equivalent if and only they have the same image under
. As all elements of any one of these equivalence classes are mapped by ''
''on the same element of the codomain, this induces a bijection between the
quotient set
In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements ...
by this equivalence relation (the set of the equivalence classes) and the image of
(which is its codomain when
is surjective). Moreover, ''f'' is the
composition
Composition or Compositions may refer to:
Arts and literature
*Composition (dance), practice and teaching of choreography
* Composition (language), in literature and rhetoric, producing a work in spoken tradition and written discourse, to include ...
of the
canonical projection
In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a ...
from ''f'' to the quotient set, and the bijection between the quotient set and the codomain of
.
*The composition of two surjections is again a surjection, but if
is surjective, then it can only be concluded that
is surjective (see figure).
Bijection
A function is ''bijective'' if it is both injective and surjective. A bijective function is also called a ''bijection'' or a ''one-to-one correspondence'' (not to be confused with ''one-to-one function'', which refers to injection). A function is bijective if and only if every possible image is mapped to by exactly one argument.
This equivalent condition is formally expressed as follows:
:The function
is bijective, if for all
, there is a unique
such that
The following are some facts related to bijections:
*A function
is bijective if and only if it is invertible; that is, there is a function
such that
identity function on
and
identity function on
. This function maps each image to its unique preimage.
*The composition of two bijections is again a bijection, but if
is a bijection, then it can only be concluded that
is injective and
is surjective (see the figure at right and the remarks above regarding injections and surjections).
*The bijections from a set to itself form a
group
A group is a number of persons or things that are located, gathered, or classed together.
Groups of people
* Cultural group, a group whose members share the same cultural identity
* Ethnic group, a group whose members share the same ethnic iden ...
under composition, called the
symmetric group
In abstract algebra, the symmetric group defined over any set is the group whose elements are all the bijections from the set to itself, and whose group operation is the composition of functions. In particular, the finite symmetric grou ...
.
Cardinality
Suppose that one wants to define what it means for two sets to "have the same number of elements". One way to do this is to say that two sets "have the same number of elements", if and only if all the elements of one set can be paired with the elements of the other, in such a way that each element is paired with exactly one element. Accordingly, one can define two sets to "have the same number of elements"—if there is a bijection between them. In which case, the two sets are said to have the same
cardinality
The thumb is the first digit of the hand, next to the index finger. When a person is standing in the medical anatomical position (where the palm is facing to the front), the thumb is the outermost digit. The Medical Latin English noun for thum ...
.
Likewise, one can say that set
"has fewer than or the same number of elements" as set
, if there is an injection from
to
; one can also say that set
"has fewer than the number of elements" in set
, if there is an injection from
to
, but not a bijection between
and
.
Examples
It is important to specify the domain and codomain of each function, since by changing these, functions which appear to be the same may have different properties.
;Injective and surjective (bijective)
* The identity function id
''X'' for every non-empty set ''X'', and thus specifically
*
, and thus also its inverse
* The
exponential function (that is, the exponential function with its codomain restricted to its image), and thus also its inverse the
natural logarithm
The natural logarithm of a number is its logarithm to the base of a logarithm, base of the e (mathematical constant), mathematical constant , which is an Irrational number, irrational and Transcendental number, transcendental number approxima ...
Here,
denotes the
positive real numbers
In mathematics, the set of positive real numbers, \R_ = \left\, is the subset of those real numbers that are greater than zero. The non-negative real numbers, \R_ = \left\, also include zero. Although the symbols \R_ and \R^ are ambiguously used fo ...
.
*
;Injective and non-surjective
* The exponential function
;Non-injective and surjective
*
*
;Non-injective and non-surjective
*
*
Properties
* For every function , let be a subset of the domain and a subset of the codomain. One has always and , where is the
image
An image or picture is a visual representation. An image can be Two-dimensional space, two-dimensional, such as a drawing, painting, or photograph, or Three-dimensional space, three-dimensional, such as a carving or sculpture. Images may be di ...
of and is the
preimage
In mathematics, for a function f: X \to Y, the image of an input value x is the single output value produced by f when passed x. The preimage of an output value y is the set of input values that produce y.
More generally, evaluating f at each ...
of under . If is injective, then , and if is surjective, then .
* For every function , one can define a surjection and an injection . It follows that . This decomposition as the
composition
Composition or Compositions may refer to:
Arts and literature
*Composition (dance), practice and teaching of choreography
* Composition (language), in literature and rhetoric, producing a work in spoken tradition and written discourse, to include ...
of a surjection and an injection is unique
up to Two Mathematical object, mathematical objects and are called "equal up to an equivalence relation "
* if and are related by , that is,
* if holds, that is,
* if the equivalence classes of and with respect to are equal.
This figure of speech ...
an isomorphism, in the sense that, given such a decomposition, there is a unique bijection
such that
and
for every
Category theory
In the
category
Category, plural categories, may refer to:
General uses
*Classification, the general act of allocating things to classes/categories Philosophy
* Category of being
* ''Categories'' (Aristotle)
* Category (Kant)
* Categories (Peirce)
* Category ( ...
of
sets, injections, surjections, and bijections correspond precisely to
monomorphism
In the context of abstract algebra or universal algebra, a monomorphism is an injective homomorphism. A monomorphism from to is often denoted with the notation X\hookrightarrow Y.
In the more general setting of category theory, a monomorphis ...
s,
epimorphism
In category theory, an epimorphism is a morphism ''f'' : ''X'' → ''Y'' that is right-cancellative in the sense that, for all objects ''Z'' and all morphisms ,
: g_1 \circ f = g_2 \circ f \implies g_1 = g_2.
Epimorphisms are categorical analo ...
s, and
isomorphism
In mathematics, an isomorphism is a structure-preserving mapping or morphism between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between the ...
s, respectively.
History
The
Oxford English Dictionary
The ''Oxford English Dictionary'' (''OED'') is the principal historical dictionary of the English language, published by Oxford University Press (OUP), a University of Oxford publishing house. The dictionary, which published its first editio ...
records the use of the word ''injection'' as a noun by
S. Mac Lane in ''
Bulletin of the American Mathematical Society
The ''Bulletin of the American Mathematical Society'' is a quarterly mathematical journal published by the American Mathematical Society.
Scope
It publishes surveys on contemporary research topics, written at a level accessible to non-experts. ...
'' (1950), and ''injective'' as an adjective by
Eilenberg and
Steenrod in ''Foundations of Algebraic Topology'' (1952).
However, it was not until the French
Bourbaki group coined the injective-surjective-bijective terminology (both as nouns and adjectives) that they achieved widespread adoption.
[{{Cite book , last=Mashaal , first=Maurice , url=https://books.google.com/books?id=-CXn6y_1nJ8C&q=bijective%2C+surjective+injective+bourbaki&pg=PA106 , title=Bourbaki , date=2006 , publisher=American Mathematical Soc. , isbn=978-0-8218-3967-6 , pages=106 , language=en]
See also
*
Horizontal line test
In mathematics, the horizontal line test is a test used to determine whether a function is injective (i.e., one-to-one).
In calculus
A ''horizontal line'' is a straight, flat line that goes from left to right. Given a function f \colon \mathbb \t ...
*
Injective module
In mathematics, especially in the area of abstract algebra known as module theory, an injective module is a module ''Q'' that shares certain desirable properties with the Z-module Q of all rational numbers. Specifically, if ''Q'' is a submodule ...
*
Permutation
In mathematics, a permutation of a set can mean one of two different things:
* an arrangement of its members in a sequence or linear order, or
* the act or process of changing the linear order of an ordered set.
An example of the first mean ...
References
External links
Earliest Uses of Some of the Words of Mathematics: entry on Injection, Surjection and Bijection has the history of Injection and related terms.
Basic concepts in set theory
Mathematical relations
Functions and mappings