\mapsto
The \mapsto symbol is used in mathematics to denote a mapping or function from one set to another. It is often used in the context of defining functions, where it shows how each element of the domain is mapped to an element in the codomain.
Defines a function f that maps x to x squared.
f: x \mapsto x^2
Maps a pair of numbers to their sum.
(x, y) \mapsto x + y
Maps a number n to its factorial.
n \mapsto n!