A relation is a function if the x-values map to only one y-value. In other words, if a relation is one-to-one or many-to-one it is a function.
What is a relation function?
A function is a relation in which each possible input value leads to exactly one output value. We say “the output is a function of the input.” The input values make up the domain, and the output values make up the range.
What is the example of function and relation?
In mathematics, a function can be defined as a rule that relates every element in one set, called the domain, to exactly one element in another set, called the range. For example, y = x + 3 and y = x2 – 1 are functions because every x-value produces a different y-value. A relation is any set of ordered-pair numbers.