Injective Function - Examples

Examples

  • For any set X and any subset S of X the inclusion map SX (which sends any element s of S to itself) is injective. In particular the identity function XX is always injective (and in fact bijective).
  • If the domain X = ∅ or X has only one element, the function XY is always injective.
  • The function f : RR defined by f(x) = 2x + 1 is injective.
  • The function g : RR defined by g(x) = x2 is not injective, because (for example) g(1) = 1 = g(−1). However, if g is redefined so that its domain is the non-negative real numbers [0,+∞), then g is injective.
  • The exponential function exp : RR defined by exp(x) = ex is injective (but not surjective as no real value maps to a negative number).
  • The natural logarithm function ln : (0, ∞) → R defined by x ↦ ln x is injective.
  • The function g : RR defined by g(x) = xnx is not injective, since, for example, g(0) = g(1).

More generally, when X and Y are both the real line R, then an injective function f : RR is one whose graph is never intersected by any horizontal line more than once. This principle is referred to as the horizontal line test.


Read more about this topic:  Injective Function

Famous quotes containing the word examples:

    It is hardly to be believed how spiritual reflections when mixed with a little physics can hold people’s attention and give them a livelier idea of God than do the often ill-applied examples of his wrath.
    —G.C. (Georg Christoph)

    There are many examples of women that have excelled in learning, and even in war, but this is no reason we should bring ‘em all up to Latin and Greek or else military discipline, instead of needle-work and housewifry.
    Bernard Mandeville (1670–1733)

    In the examples that I here bring in of what I have [read], heard, done or said, I have refrained from daring to alter even the smallest and most indifferent circumstances. My conscience falsifies not an iota; for my knowledge I cannot answer.
    Michel de Montaigne (1533–1592)