Function in maths: A function is a relation in which each element of the domain corresponds to exactly one element of the codomain.
For example, the function f(x) = 2x + 1 is a function that maps elements of the set of integers to elements of the set of integers.