A function f is a rule that assigns to each element x in a set D (called the domain of f) exactly one element, called f(x), in a set C (called the codomain of f).
set | domain of a function | codomain of a function
range of a function
Gottfried Leibniz | Leonhard Euler