VOOZH about

URL: https://en.wikipedia.org/wiki/One-to-one_mapping

⇱ Injective function - Wikipedia


Jump to content
From Wikipedia, the free encyclopedia
(Redirected from One-to-one mapping)
Function that preserves distinctness
Function
x ↦ f (x)
History of the function concept
Types by domain and codomain
 Classes/properties 
Constructions
Generalizations
List of specific functions

In mathematics, an injective function (also known as injection, or one-to-one function[1]) is a function f that maps distinct elements of its domain to distinct elements of its codomain; that is, x1 β‰  x2 implies f(x1) β‰  f(x2) (equivalently by contraposition, f(x1) = f(x2) implies x1 = x2). In other words, every element of the function's codomain is the image of at most one element of its domain.[2] The term one-to-one function must not be confused with one-to-one correspondence that refers to bijective functions, which are functions such that each element in the codomain is an image of exactly one element in the domain.

A homomorphism between algebraic structures is a function that is compatible with the operations of the structures. For all common algebraic structures, and, in particular for vector spaces, an injective homomorphism is also called a monomorphism. However, in the more general context of category theory, the definition of a monomorphism differs from that of an injective homomorphism.[3] This is thus a theorem that they are equivalent for algebraic structures; see Homomorphism Β§ Monomorphism for more details.

A function πŸ‘ {\displaystyle f}
that is not injective is sometimes called many-to-one.[2]

Definition

[edit]
πŸ‘ The sets X = {1, 2, 3} and Y = {A, B, C, D}, and a function mapping 1 to D, 2 to B, and 3 to A.
An injective function, which is not also surjective

Let πŸ‘ {\displaystyle f}
be a function whose domain is a set β πŸ‘ {\displaystyle X}
⁠
. The function πŸ‘ {\displaystyle f}
is said to be injective provided that for all πŸ‘ {\displaystyle a}
and πŸ‘ {\displaystyle b}
in πŸ‘ {\displaystyle X,}
if β πŸ‘ {\displaystyle f(a)=f(b)}
⁠
, then β πŸ‘ {\displaystyle a=b}
⁠
; that is, πŸ‘ {\displaystyle f(a)=f(b)}
implies β πŸ‘ {\displaystyle a=b}
⁠
. Equivalently, if β πŸ‘ {\displaystyle a\neq b}
⁠
, then πŸ‘ {\displaystyle f(a)\neq f(b)}
in the contrapositive statement.

Symbolically,πŸ‘ {\displaystyle \forall a,b\in X,\;\;f(a)=f(b)\Rightarrow a=b,}
which is logically equivalent to the contrapositive,[4]πŸ‘ {\displaystyle \forall a,b\in X,\;\;a\neq b\Rightarrow f(a)\neq f(b).}
An injective function (or, more generally, a monomorphism) is often denoted by using the specialized arrows ↣ or β†ͺ (for example, πŸ‘ {\displaystyle f:A\rightarrowtail B}
or β πŸ‘ {\displaystyle f:A\hookrightarrow B}
⁠
), although some authors specifically reserve β†ͺ for an inclusion map.[5]

Examples

[edit]

For visual examples, readers are directed to the gallery section.

More generally, when πŸ‘ {\displaystyle X}
and πŸ‘ {\displaystyle Y}
are both the real line β πŸ‘ {\displaystyle \mathbb {R} }
⁠
, then an injective function πŸ‘ {\displaystyle f:\mathbb {R} \to \mathbb {R} }
is one whose graph is never intersected by any horizontal line more than once. This principle is referred to as the horizontal line test.[2]

Injections can be undone

[edit]

Functions with left inverses are always injections. That is, given β πŸ‘ {\displaystyle f:X\to Y}
⁠
, if there is a function πŸ‘ {\displaystyle g:Y\to X}
such that for every β πŸ‘ {\displaystyle x\in X}
⁠
, β πŸ‘ {\displaystyle g(f(x))=x}
⁠
, then πŸ‘ {\displaystyle f}
is injective. The proof is that πŸ‘ {\displaystyle f(a)=f(b)\rightarrow g(f(a))=g(f(b))\rightarrow a=b.}

In this case, πŸ‘ {\displaystyle g}
is called a retraction of β πŸ‘ {\displaystyle f}
⁠
. Conversely, πŸ‘ {\displaystyle f}
is called a section of β πŸ‘ {\displaystyle g}
⁠
. For example: πŸ‘ {\displaystyle f:\mathbb {R} \rightarrow \mathbb {R} ^{2},x\mapsto (1,m)^{\intercal }x}
is retracted by β πŸ‘ {\displaystyle g:y\mapsto {\frac {(1,m)}{1+m^{2}}}y}
⁠
.

Conversely, every injection πŸ‘ {\displaystyle f}
with a non-empty domain has a left inverse πŸ‘ {\displaystyle g}
. It can be defined by choosing an element πŸ‘ {\displaystyle a}
in the domain of πŸ‘ {\displaystyle f}
and setting πŸ‘ {\displaystyle g(y)}
to the unique element of the pre-image πŸ‘ {\displaystyle f^{-1}[y]}
(if it is non-empty) or to πŸ‘ {\displaystyle a}
(otherwise).[6]

The left inverse πŸ‘ {\displaystyle g}
is not necessarily an inverse of πŸ‘ {\displaystyle f,}
because the composition in the other order, β πŸ‘ {\displaystyle f\circ g}
⁠
, may differ from the identity on β πŸ‘ {\displaystyle Y}
⁠
. In other words, an injective function can be "reversed" by a left inverse, but is not necessarily invertible, which requires that the function is bijective.

Injections may be made invertible

[edit]

In fact, to turn an injective function πŸ‘ {\displaystyle f:X\to Y}
into a bijective (hence invertible) function, it suffices to replace its codomain πŸ‘ {\displaystyle Y}
by its actual image πŸ‘ {\displaystyle J=f(X).}
That is, let πŸ‘ {\displaystyle g:X\to J}
such that πŸ‘ {\displaystyle g(x)=f(x)}
for all β πŸ‘ {\displaystyle x\in X}
⁠
; then πŸ‘ {\displaystyle g}
is bijective. Indeed, πŸ‘ {\displaystyle f}
can be factored as β πŸ‘ {\displaystyle \operatorname {In} _{J,Y}\circ g}
⁠
, where πŸ‘ {\displaystyle \operatorname {In} _{J,Y}}
is the inclusion function from πŸ‘ {\displaystyle J}
into β πŸ‘ {\displaystyle Y}
⁠
.

More generally, injective partial functions are called partial bijections.

Other properties

[edit]
πŸ‘ Image
The composition of two injective functions is injective.

Proving that functions are injective

[edit]

A proof that a function πŸ‘ {\displaystyle f}
is injective depends on how the function is presented and what properties the function holds. For functions that are given by some formula there is a basic idea. We use the definition of injectivity, namely that if β πŸ‘ {\displaystyle f(x)=f(y)}
⁠
, then β πŸ‘ {\displaystyle x=y}
⁠
.[7]

Here is an example: πŸ‘ {\displaystyle f(x)=2x+3}

Proof: Let β πŸ‘ {\displaystyle f:X\to Y}
⁠
. Suppose β πŸ‘ {\displaystyle f(x)=f(y)}
⁠
. So πŸ‘ {\displaystyle 2x+3=2y+3}
implies β πŸ‘ {\displaystyle 2x=2y}
⁠
, which implies β πŸ‘ {\displaystyle x=y}
⁠
. Therefore, it follows from the definition that πŸ‘ {\displaystyle f}
is injective.

There are multiple other methods of proving that a function is injective. For example, in calculus if πŸ‘ {\displaystyle f}
is a differentiable function defined on some interval, then it is sufficient to show that the derivative is always positive or always negative on that interval. In linear algebra, if πŸ‘ {\displaystyle f}
is a linear transformation it is sufficient to show that the kernel of πŸ‘ {\displaystyle f}
contains only the zero vector. If πŸ‘ {\displaystyle f}
is a function with finite domain it is sufficient to look through the list of images of each domain element and check that no image occurs twice on the list.

A graphical approach for a real-valued function πŸ‘ {\displaystyle f}
of a real variable πŸ‘ {\displaystyle x}
is the horizontal line test. If every horizontal line intersects the curve of πŸ‘ {\displaystyle f(x)}
in at most one point, then πŸ‘ {\displaystyle f}
is injective or one-to-one.

Gallery

[edit]

See also

[edit]

Notes

[edit]
  1. ^ Sometimes one-one function in Indian mathematical education. "Chapter 1: Relations and functions" (PDF). Archived (PDF) from the original on December 26, 2023 – via NCERT.
  2. ^ a b c "Injective, Surjective and Bijective". Math is Fun. Retrieved 2019-12-07.
  3. ^ "Section 7.3 (00V5): Injective and surjective maps of presheaves". The Stacks project. Retrieved 2019-12-07.
  4. ^ Farlow, S. J. "Section 4.2 Injections, Surjections, and Bijections" (PDF). Mathematics & Statistics - University of Maine. Archived from the original (PDF) on Dec 7, 2019. Retrieved 2019-12-06.
  5. ^ "What are usual notations for surjective, injective and bijective functions?". Mathematics Stack Exchange. Retrieved 2024-11-24.
  6. ^ Unlike the corresponding statement that every surjective function has a right inverse, this does not require the axiom of choice, as the existence of πŸ‘ {\displaystyle a}
    is implied by the non-emptiness of the domain. However, this statement may fail in less conventional mathematics such as constructive mathematics. In constructive mathematics, the inclusion πŸ‘ {\displaystyle \{0,1\}\to \mathbb {R} }
    of the two-element set in the reals cannot have a left inverse, as it would violate indecomposability, by giving a retraction of the real line to the set {0,1}.
  7. ^ Williams, Peter (Aug 21, 1996). "Proving Functions One-to-One". Department of Mathematics at CSU San Bernardino Reference Notes Page. Archived from the original on 4 June 2017.

References

[edit]

External links

[edit]
Wikimedia Commons has media related to Injectivity.
Look up injective in Wiktionary, the free dictionary.