(also mapping)A function is a mapping which assignes each element of x in a set of X (domain) exactly to one element of y in a set of Y (range). The element y is also called function value on the digit x.