Definition: A function f is usually defined as f : AβB, where:AΒ is the domain (the set of all inputs).BΒ is the range (the set of all possible outputs). The function fΒ takes an input x from set A and maps it to an output f(x) in set B.