Math and science::Algebra::Aluffi
Identity, inclusion and restriction
This note describes 3 concepts: identity functions, inclusion functions and
function restriction.
Identity function
Every set has a function whose graph is the subset of consisting of the elements on the diagonal. This function is called the
identity function on , denoted as .
The identity function can be generalized slightly to arrive at the
inclusion function.
Inclusion function
Let be a subset of . The inclusion
function maps an element in to the same elements in .
For a given function , the inclusion function composes with
to create a restriction.
Restriction
Let be a function, and let be a
subset of . The restriction of to ,
denoted as is defined as:
The restriction can be viewed as the composition
, where is the inclusion function.
Identity function and composition
The identity function is very special with respect to composition: for any function , both and . As a graphical representation, these two statements correspond to stating that the following two diagrams compute.