Identify a Function
In this lesson, you will learn
- what a function is
- how to read the domain and the range in a mapping diagram
- how to use the arrows in a mapping diagram to tell if a relation is a function
- why many inputs can share the same output in a function
What Is a Function?
This lesson will show you how to identify a function using mapping diagrams.
A function is a relation in which each element of the domain is paired with exactly one element in the range.
In a mapping diagram, the left oval holds the domain (the inputs) and the right oval holds the range (the outputs). Each arrow pairs an input with an output.
A Relation That Is Not a Function
Looking at the mapping diagram above, the elements in the domain are { −5, 1, 6, 0 } and the elements in the range are { 9, −2, −6, 10 }.
Since 1 is paired with two elements in the range (9 and −6), the relation is not a function.
In a mapping diagram, the input 3 has arrows to 4 and to 8. Can the relation be a function?
Show answer
No. The input 3 is paired with two elements in the range, so the relation is not a function.
A Relation That Is a Function
For the relation above, notice that each element in the domain is paired with exactly 1 element in the range.
Therefore, this relation is a function.
- List the domain: { 3, −1, 4 }.
- Count the arrows that leave each input: 3 has 1 arrow, −1 has 2 arrows (to 2 and to 5), and 4 has 1 arrow.
- The input −1 is paired with two elements in the range.
The relation is not a function.
Is the relation with the arrows 5 → 1, 6 → 2 and 7 → 3 a function?
Show answer
Yes. Each of 5, 6 and 7 has exactly one arrow leaving it.
Every Input Paired With the Same Output
Now, what about the last one above? We see that all the elements in the domain are paired with the same element in the range.
Is it also a function? It is still a function because each element in the domain is paired with only 1 element in the range.
For a relation to be a function, it is not necessary that each element in the domain be paired with a different element in the range.
As long as two arrows do not emerge or move out from just 1 element in the domain, we are fine!
Thinking that two arrows arriving at the same output break the function. Only look at the arrows that leave each input: every input must have exactly one arrow leaving it. Many arrows may arrive at one output.
In a relation, the inputs 2 and 9 both have one arrow, and both arrows go to 0. Is it a function?
Show answer
Yes. Each input is paired with only 1 element in the range. Sharing the output 0 is allowed.
Next, learn how to identify a function with the vertical line test.
Summary
- A function is a relation in which each element of the domain is paired with exactly one element in the range.
- In a mapping diagram, the domain is in the left oval and the range is in the right oval.
- If one input has two or more arrows leaving it, the relation is not a function.
- Different inputs may share the same output; the relation can still be a function.
Test Yourself: Interactive 10-Question Quiz
Now check what you learned. Every answer is explained, and each time you play you get new questions.
Quiz Complete! 🎉