Question: what is the definition of function and relation?
Answer: A function is a special type of relation where every input has a unique output. Definition: A function is a correspondence between two sets (called the domain and the range) such that to each element of the domain, there is assigned exactly one element of the range.