what is the fundamental difference between a function and a relation?
If you think of the relationship between two quantities, you can think of this relationship in terms of an input/output machine. If there is only one output for every input, you have a function. If not, you have a relation. Relations have more than one output for at least one input.