Question: what is the fundamental difference between relation and function?
Answer: A relation is a set of inputs and outputs that are related in some way. When each input in a relation has exactly one output, the relation is said to be a function. To determine if a relation is a function, we make sure that no input has more than one output.