Question: what are the differences between a relation and a 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*}.