Question: what is difference between 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*}.