Injective functionIn mathematics, an injective function (or one-to-one function or injection) is a function which maps distinct input values to distinct output values. (This is in contrast to a "many-to-one" function, which may map two distinct input values to the same output value.) Note that the phrase "one-to-one" is, in common usage, easily confused with a bijection. An injection does not necessarily cover all possible outputs (i.e., it is not surjective). More formally, a function f: X → Y is injective if, for every y in the codomain Y, there is at most one x in the domain X with f(x) = y. Put another way, f is injective if, for every x and x' in X, whenever f(x) = f(x'), we must have x = x'.
When X and Y are both the real line R, then an injective function f: R → R can be visualized as one whose graph is never intersected by any horizontal line more than once. (This is the horizontal line test.) Examples and counterexamplesConsider the function f: R → R defined by f(x) = 2x + 1. This function is injective, since given arbitrary real numbers x and x', if 2x + 1 = 2x' + 1, then 2x = 2x', so x = x'. On the other hand, the function g: R → R defined by g(x) = x2 is not injective, because (for example) g(1) = 1 = g(−1). However, if we define the function h: [0, ∞) → R by the same formula as g, but with the domain restricted to only the nonnegative real numbers, then the function h is injective. This is because, given arbitrary nonnegative real numbers x and x', if x2 = x'2, then |x| = |x'|, so x = x'. Properties
See alsoSurjection, Bijection, Injective module bg:Инекция de:Injektivität es:Función inyectiva fr:Injection ja:単射 pl:Funkcja różnowartościowa sv:Injektiv
Categories: Set theory |
|
This article is licensed under the GNU Free Documentation License. It uses material from Wikipedia article. Browse Wikipedia for more information. |