Function

A function consists of: - a set \(A\) called the domain of the function - a set \(B\) called the codomain of the function - a rule \(f\) that assigns each \(a\in A\) an element \(f(a)\in B\)

A useful shorthand for this is \(f: A\to B\)