Question: what are the difference between relation and function in mathematics?
Answer: A relation is any set of ordered pairs. A function is a set of ordered pairs where there is only one value of \begin{align*}y\end{align*} for every value of \begin{align*}x\end{align*}.