Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Injective function

From Wikipedia, the free encyclopedia
Function that preserves distinctness
"Injective" redirects here. For other uses, seeInjective module andInjective object.
Function
xf (x)
History of the function concept
Types bydomain andcodomain
Classes/properties
  Constructions
  Generalizations  
  List of specific functions

Inmathematics, aninjective function (also known asinjection, orone-to-one function[1]) is afunctionf that mapsdistinct elements of its domain to distinct elements of its codomain; that is,x1x2 impliesf(x1) ≠f(x2) (equivalently bycontraposition,f(x1) =f(x2) impliesx1 =x2). In other words, every element of the function'scodomain is theimage ofat most one element of itsdomain.[2] The termone-to-one function must not be confused withone-to-one correspondence that refers tobijective functions, which are functions such that each element in the codomain is an image ofexactly one element in the domain.

Ahomomorphism betweenalgebraic structures is a function that is compatible with the operations of the structures. For all common algebraic structures, and, in particular forvector spaces, aninjective homomorphism is also called amonomorphism. However, in the more general context ofcategory 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; seeHomomorphism § Monomorphism for more details.

A functionf{\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 alsosurjective
Further information on notation:Function (mathematics) § Notation

Letf{\displaystyle f} be a function whose domain is a setX{\displaystyle X}. The functionf{\displaystyle f} is said to beinjective provided that for alla{\displaystyle a} andb{\displaystyle b} inX,{\displaystyle X,} iff(a)=f(b){\displaystyle f(a)=f(b)}, thena=b{\displaystyle a=b}; that is,f(a)=f(b){\displaystyle f(a)=f(b)} impliesa=b{\displaystyle a=b}. Equivalently, ifab{\displaystyle a\neq b}, thenf(a)f(b){\displaystyle f(a)\neq f(b)} in thecontrapositive statement.

Symbolically,a,bX,f(a)=f(b)a=b,{\displaystyle \forall a,b\in X,\;\;f(a)=f(b)\Rightarrow a=b,}which is logically equivalent to thecontrapositive,[4]a,bX,abf(a)f(b).{\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,f:AB{\displaystyle f:A\rightarrowtail B} orf:AB{\displaystyle f:A\hookrightarrow B}), although some authors specifically reserve ↪ for aninclusion map.[5]

Examples

[edit]

For visual examples, readers are directed to thegallery section.

More generally, whenX{\displaystyle X} andY{\displaystyle Y} are both thereal lineR{\displaystyle \mathbb {R} }, then an injective functionf:RR{\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 thehorizontal line test.[2]

Injections can be undone

[edit]

Functions withleft inverses are always injections. That is, givenf:XY{\displaystyle f:X\to Y}, if there is a functiong:YX{\displaystyle g:Y\to X} such that for everyxX{\displaystyle x\in X},g(f(x))=x{\displaystyle g(f(x))=x}, thenf{\displaystyle f} is injective. The proof is thatf(a)=f(b)g(f(a))=g(f(b))a=b.{\displaystyle f(a)=f(b)\rightarrow g(f(a))=g(f(b))\rightarrow a=b.}

In this case,g{\displaystyle g} is called aretraction off{\displaystyle f}. Conversely,f{\displaystyle f} is called asection ofg{\displaystyle g}.For example:f:RR2,x(1,m)x{\displaystyle f:\mathbb {R} \rightarrow \mathbb {R} ^{2},x\mapsto (1,m)^{\intercal }x} is retracted byg:y(1,m)1+m2y{\displaystyle g:y\mapsto {\frac {(1,m)}{1+m^{2}}}y}.

Conversely, every injectionf{\displaystyle f} with a non-empty domain has a left inverseg{\displaystyle g}. It can be defined by choosing an elementa{\displaystyle a} in the domain off{\displaystyle f} and settingg(y){\displaystyle g(y)} to the unique element of the pre-imagef1[y]{\displaystyle f^{-1}[y]} (if it is non-empty) or toa{\displaystyle a} (otherwise).[6]

The left inverseg{\displaystyle g} is not necessarily aninverse off,{\displaystyle f,} because the composition in the other order,fg{\displaystyle f\circ g}, may differ from the identity onY{\displaystyle Y}. In other words, an injective function can be "reversed" by a left inverse, but is not necessarilyinvertible, which requires that the function is bijective.

Injections may be made invertible

[edit]

In fact, to turn an injective functionf:XY{\displaystyle f:X\to Y} into a bijective (hence invertible) function, it suffices to replace its codomainY{\displaystyle Y} by its actual imageJ=f(X).{\displaystyle J=f(X).} That is, letg:XJ{\displaystyle g:X\to J} such thatg(x)=f(x){\displaystyle g(x)=f(x)} for allxX{\displaystyle x\in X}; theng{\displaystyle g} is bijective. Indeed,f{\displaystyle f} can be factored asInJ,Yg{\displaystyle \operatorname {In} _{J,Y}\circ g}, whereInJ,Y{\displaystyle \operatorname {In} _{J,Y}} is theinclusion function fromJ{\displaystyle J} intoY{\displaystyle Y}.

More generally, injectivepartial functions are calledpartial bijections.

Other properties

[edit]
See also:List of set identities and relations § Functions and sets
The composition of two injective functions is injective.

Proving that functions are injective

[edit]

A proof that a functionf{\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 iff(x)=f(y){\displaystyle f(x)=f(y)}, thenx=y{\displaystyle x=y}.[7]

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

Proof: Letf:XY{\displaystyle f:X\to Y}. Supposef(x)=f(y){\displaystyle f(x)=f(y)}. So2x+3=2y+3{\displaystyle 2x+3=2y+3} implies2x=2y{\displaystyle 2x=2y}, which impliesx=y{\displaystyle x=y}. Therefore, it follows from the definition thatf{\displaystyle f} is injective.

There are multiple other methods of proving that a function is injective. For example, in calculus iff{\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, iff{\displaystyle f} is a linear transformation it is sufficient to show that the kernel off{\displaystyle f} contains only the zero vector. Iff{\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 functionf{\displaystyle f} of a real variablex{\displaystyle x} is thehorizontal line test. If every horizontal line intersects the curve off(x){\displaystyle f(x)} in at most one point, thenf{\displaystyle f} is injective or one-to-one.

Gallery

[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.
    Aninjective non-surjective function (injection, not a bijection)
  • The sets X = {1, 2, 3, 4} and Y = {A, B, C, D}, and a function mapping 1 to D, 2 to B, 3 to C, and 4 to A.
    Aninjective surjective function (bijection)
  • The sets X = {1, 2, 3, 4} and Y = {B, C, D}, and a function mapping 1 to D, 2 to B, 3 to C, and 4 to C.
    A non-injective surjective function (surjection, not a bijection)
  • The sets X = {1, 2, 3, 4} and Y = {A, B, C, D}, and a function mapping 1 to D, 2 to B, 3 to C, and 4 to C.
    A non-injective non-surjective function (also not a bijection)

See also

[edit]

Notes

[edit]
  1. ^Sometimesone-one function in Indian mathematical education."Chapter 1: Relations and functions"(PDF).Archived(PDF) from the original on December 26, 2023 – via NCERT.
  2. ^abc"Injective, Surjective and Bijective".Math is Fun. Retrieved2019-12-07.
  3. ^"Section 7.3 (00V5): Injective and surjective maps of presheaves".The Stacks project. Retrieved2019-12-07.
  4. ^Farlow, S. J."Section 4.2 Injections, Surjections, and Bijections"(PDF).Mathematics & Statistics - University of Maine. Archived fromthe original(PDF) on Dec 7, 2019. Retrieved2019-12-06.
  5. ^"What are usual notations for surjective, injective and bijective functions?".Mathematics Stack Exchange. Retrieved2024-11-24.
  6. ^Unlike the corresponding statement that every surjective function has a right inverse, this does not require theaxiom of choice, as the existence ofa{\displaystyle a} is implied by the non-emptiness of the domain. However, this statement may fail in less conventional mathematics such asconstructive mathematics. In constructive mathematics, the inclusion{0,1}R{\displaystyle \{0,1\}\to \mathbb {R} } of the two-element set in the reals cannot have a left inverse, as it would violateindecomposability, by giving aretraction 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 fromthe original on 4 June 2017.

References

[edit]

External links

[edit]
Wikimedia Commons has media related toInjectivity.
Look upinjective in Wiktionary, the free dictionary.
General
Theorems
(list),
paradoxes
Logics
Traditional
Propositional
Predicate
Set theory
Types
ofsets
Maps,
cardinality
Theories
Formal
systems

(list),
language,
syntax
Example
axiomatic
systems

(list)
Proof theory
Model theory
Computability
theory
Related
Retrieved from "https://en.wikipedia.org/w/index.php?title=Injective_function&oldid=1337452711"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp