Identity function[edit]
Main article: Identity function
The unique function over a set X that maps each element to itself is called the identity function for X, and typically denoted by idX. Each set has its own identity function, so the subscript cannot be omitted unless the set can be inferred from context. Under composition, an identity function is "neutral": if f is any function from X to Y, then
egin{align}
f circ operatorname{id}_X &= f , \
operatorname{id}_Y circ f &= f .
end{align}