Identity function
Template:Short description Script error: No such module "Distinguish".
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.
Definition
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.[1]
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.[2]
Algebraic properties
If Template:Math is any function, then Template:Math, where "∘" denotes function composition.[3] 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,[4] 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.
Properties
- The identity function is a linear operator when applied to vector spaces.[5]
- In an Template:Mvar-dimensional vector space the identity function is represented by the identity matrix Template:Math, regardless of the basis chosen for the space.[6]
- The identity function on the positive integers is a completely multiplicative function (essentially multiplication by 1), considered in number theory.[7]
- In a metric space the identity function is trivially an isometry. An object without any symmetry has as its symmetry group the trivial group containing only this isometry (symmetry type Template:Math).[8]
- In a topological space, the identity function is always continuous.[9]
- The identity function is idempotent.[10]
See also
References
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".