Question: what is difference between function and relation?
Answer: A function is a relationship between quantities where there is one output for every input. If you have more than one output for a particular input, then the quantities represent a relation. A graph of a relationship can be shown to be a function using the vertical line test.