Question: what is the difference between relation and function in math?
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. ... For a relation to be a function, we must be able to determine an output given an input.