Example · High school

The graph of $g(x) = x$ on $[0, 1]$.

Terms

TermThis exampleWhy
identity function ✓ The function $g : [0, 1] \to [0, 1]$ defined by $g(x) = x$ is the identity function on $[0, 1]$, because $g$ sends each point of $[0, 1]$ to itself and its codomain is its domain. It is a different function from the identity function on $\reals$, because its domain is different.
inclusion map ✓ The function $g : [0, 1] \to [0, 1]$ defined by $g(x) = x$ is the inclusion map of $[0, 1]$ into itself, because $[0, 1]$ is a subset of itself and $g$ sends each point to itself.

Distinctions using this example

  • Identity Function vs. Inclusion Map: The function $g : [0, 1] \to [0, 1]$ defined by $g(x) = x$ is the identity function on $[0, 1]$, which is the inclusion map of $[0, 1]$ into itself. The function $g$ differs from the inclusion map of $[0, 1]$ into $\reals$, which has the same formula but the codomain $\reals$, and so is not an identity function.

All examples · All distinctions · All definitions · Notation