Question: what is the difference between function and mapping?
Answer: In mathematics the main difference between a map or mapping and a function is that function is used to do the mapping. ... Then X is said to be a function of Y. Whereas in case of a mapping if we have a set of value for Y then by using the function we can obtain the respective values of X.