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