Example · High school

The graph of the identity function $x \mapsto x$.

Terms

TermThis exampleWhy
idempotent ✓ $x \mapsto x$ is idempotent, because composing it with itself gives itself.
identity element ✓ $x \mapsto x$ is the identity element for composition, because composing every function with it gives that function.
constant ✗ $x \mapsto x$ is not a constant function, because different inputs give different outputs: $1 \mapsto 1$ and $2 \mapsto 2$.

All examples · All distinctions · All definitions · Notation