Question: what is difference between function and relation in mathematics?
Answer: A function is a particular kind of relation between sets. A function takes every element x in a starting set, called the domain, and tells us how to assign it to exactly one element y in an ending set, called the range. ... Remember that all functions are relations, but not all relations are functions.