Template:Short description Template:Distinguish

File:Function-x.svg
Graph of the identity function on the real numbers

In mathematics, an identity function, also called an identity relation, identity map or identity transformation, is a function that always returns the value that was used as its argument, unchanged. That is, when Template:Mvar is the identity function, the equality Template:Math is true for all values of Template:Mvar to which Template:Mvar can be applied.

DefinitionEdit

Formally, if Template:Math is a set, the identity function Template:Math on Template:Math is defined to be a function with Template:Math as its domain and codomain, satisfying Template:Bi

In other words, the function value Template:Math in the codomain Template:Math is always the same as the input element Template:Math in the domain Template:Math. The identity function on Template:Mvar is clearly an injective function as well as a surjective function (its codomain is also its range), so it is bijective.<ref>Template:Cite book</ref>

The identity function Template:Math on Template:Math is often denoted by Template:Math.

In set theory, where a function is defined as a particular kind of binary relation, the identity function is given by the identity relation, or diagonal of Template:Math.<ref>Template:Cite book</ref>

Algebraic propertiesEdit

If Template:Math is any function, then Template:Math, where "∘" denotes function composition.<ref>Template:Cite book</ref> In particular, Template:Math is the identity element of the monoid of all functions from Template:Math to Template:Math (under function composition).

Since the identity element of a monoid is unique,<ref>Template:Cite book</ref> one can alternately define the identity function on Template:Math to be this identity element. Such a definition generalizes to the concept of an identity morphism in category theory, where the endomorphisms of Template:Math need not be functions.

PropertiesEdit

See alsoEdit

ReferencesEdit

Template:Reflist

Template:Functions navbox