Question: what is the difference between function and relation in math?
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*}.