Inmathematics, anidentity function, also called anidentity relation,identity map oridentity transformation, is afunction that always returns the value that was used as itsargument, unchanged. That is, when is the identity function, theequality is true for all values of to which can be applied.
In other words, the function value in the codomain is always the same as the input element in the domain. The identity function on is clearly aninjective function as well as asurjective function (its codomain is also itsrange), so it isbijective.[2]
Since the identity element of a monoid isunique,[5] one can alternately define the identity function on to be this identity element. Such a definition generalizes to the concept of anidentity morphism incategory theory, where theendomorphisms of need not be functions.
^D. Marshall; E. Odell; M. Starbird (2007).Number Theory through Inquiry. Mathematical Association of America Textbooks. Mathematical Assn of Amer.ISBN978-0883857519.
^Anderson, James W. (2007).Hyperbolic geometry. Springer undergraduate mathematics series (2. ed., corr. print ed.). London: Springer.ISBN978-1-85233-934-0.