DoAssignment.ca
A1.1 · Distinguish functions from non-functions using multiple representations
Learn to distinguish functions from non-functions using multiple representations through clear examples and targeted practice.
Ontario Grade 11 Mathematics
Characteristics of Functions
Distinguishing Functions from Non-Functions Using Multiple Representations
Every time you type a value into a calculator and press a button, you expect exactly one answer. That idea — one input, one output — is the heart of what mathematicians call a function. Before you can work with functions in MCR3U, you need to be able to look at any representation of a relation and confidently decide whether it is a function or not. This lesson builds that skill using four different representations: ordered pairs, tables of values, mapping diagrams, and graphs. Each representation tells the same story in a different way, and you will learn to read all of them.
What you will learn
- Explain what makes a relation a function in plain language.
- Apply the vertical line test to graphs to decide whether a relation is a function.
- Use sets of ordered pairs, tables, and mapping diagrams to identify functions and non-functions.
- Explain why the same input cannot produce two different outputs in a function.
Prerequisite Bridge: Relations and Ordered Pairs
From Grade 9 and 10, you know that a relation is any pairing of values from one set (the inputs) with values from another set (the outputs). Each pairing is written as an ordered pair , where is the input and is the output. For example, the set is a relation. The collection of all inputs is called the domain, and the collection of all outputs is called the range.
A relation does not have to follow any particular rule — it is simply a set of pairings. A function, however, is a special kind of relation that obeys one strict rule. Understanding that rule is the entire goal of this lesson.
- A relation pairs inputs with outputs.
- Each input-output pair is written as .
- The domain is the set of all inputs; the range is the set of all outputs.
- A function is a relation with an extra rule.
The Definition of a Function
A relation is a function if and only if every input in the domain is paired with exactly one output in the range. In other words, no single -value is allowed to produce two or more different -values.
Think of a function like a vending machine. You press one button (one input) and you get exactly one snack (one output). If pressing the same button sometimes gave you chips and other times gave you a chocolate bar, the machine would be broken — and the relation would not be a function.
Notice that the rule only restricts inputs. Two different inputs are perfectly allowed to share the same output. For example, both and can give . That is fine. What is not allowed is one input, say , giving both and at the same time.
One useful way to state the rule: each -value appears at most once as a first element in the set of ordered pairs.
- Every input must map to exactly one output.
- Two different inputs may share the same output — that is allowed.
- One input producing two outputs violates the function rule.
- The key question to ask: does any -value repeat with a different -value?
Testing Ordered Pairs and Tables of Values
When a relation is given as a list of ordered pairs or as a table, check whether any -value appears more than once with a different -value. If it does, the relation is not a function. If every -value is unique (or repeats only with the exact same -value), the relation is a function.
Consider Relation A: . Every -value — CAD 2, 4, 6, 8 — appears exactly once. Even though appears twice (for and ), no single input repeats with a different output. Relation A is a function.
Now consider Relation B: . The input appears twice — first paired with and then with . Because one input leads to two different outputs, Relation B is not a function.
The same logic applies to a table of values: scan the input column. If any value repeats with a different output in the output column, the relation is not a function.
- Scan the -values (inputs) for repeats.
- A repeated with the same is acceptable.
- A repeated with a different means the relation is not a function.
- This scan works for both ordered-pair lists and tables.
Mapping Diagrams
A mapping diagram draws two ovals side by side. The left oval lists all domain values (inputs); the right oval lists all range values (outputs). Arrows connect each input to its output(s).
In a function, every input arrow leads to exactly one output bubble. If any input bubble has two or more arrows leaving it (pointing to different outputs), the relation is not a function.
It is acceptable for two arrows from different inputs to point to the same output bubble — that just means two inputs share an output, which is allowed.
Mapping diagrams make the function rule very visual: look at the left oval and check that no bubble has more than one arrow leaving it.
- Each input bubble must have exactly one outgoing arrow for the relation to be a function.
- Multiple arrows arriving at one output bubble is fine.
- One input with two outgoing arrows means it is not a function.
The Vertical Line Test for Graphs
When a relation is shown as a graph on the Cartesian plane, you can use the vertical line test to decide whether it is a function. The test works because every vertical line on the plane represents a single -value. If a vertical line crosses the graph in more than one point, then that one -value produces more than one -value — a violation of the function rule.
To apply the test, imagine sweeping a vertical line from left to right across the entire graph. If the line touches the graph in exactly one point no matter where you place it, the relation is a function. If there is even one position where the vertical line touches two or more points, the relation is not a function.
A classic example: the graph of (a parabola opening upward) passes the vertical line test — every vertical line hits the parabola at most once. However, the graph of a circle such as fails the test because a vertical line drawn through the interior of the circle crosses it at two points (one above the -axis and one below).
Remember: the vertical line test is a graphical shortcut for the same rule — one input, one output. It does not introduce a new idea; it just makes the rule easy to see on a graph.
- Draw (or imagine) vertical lines sweeping across the graph.
- One intersection point at every position means it is a function.
- Two or more intersection points at any position means it is not a function.
- The test is a visual version of the one-input, one-output rule.
Summary: How to Test Each Representation
| Representation | What to Look For | Not a Function If… |
|---|---|---|
| Ordered pairs | Check whether any -value appears more than once with a different -value | Same , different in two pairs |
| Table of values | Scan the input column for repeated values with different outputs | Repeated paired with a different |
| Mapping diagram | Count the arrows leaving each input bubble | Any input bubble has two or more outgoing arrows |
| Graph | Apply the vertical line test across the whole graph | Any vertical line crosses the graph at two or more points |
Worked example
Example 1 — Ordered Pairs and a Mapping Diagram (Mixed Difficulty)
Two relations are given below. For each one, state whether it is a function and justify your answer using the ordered pairs. Then sketch a mapping diagram for Relation B and explain what the diagram shows.
Relation A:
Relation B:
Relation A:
Relation B:
- List the inputs for Relation AWrite out the -values from each ordered pair in Relation A: . Check whether any value repeats.
- Apply the function rule to Relation AAll four -values are different, so no input is paired with two different outputs. Even though appears for both and , the rule only checks inputs, not outputs. Relation A is a function.
- List the inputs for Relation BWrite out the -values from Relation B: 1,\ 2,\ 1,\ 4. Notice that appears twice.
- Check whether the repeated input causes a problemThe input is paired with in the first pair and with in the third pair. Because one input maps to two different outputs, the function rule is broken. Relation B is not a function. x = 1 \Rightarrow y = 5 and y = -3
- Interpret the mapping diagram for Relation BIn the mapping diagram, the input bubble labelled has two arrows leaving it — one pointing to and one pointing to . This single input with two outgoing arrows is the visual proof that Relation B is not a function. All other input bubbles ( and ) each have only one arrow, which is fine on its own, but the double arrow from is enough to disqualify the entire relation.
Answer: Relation A is a function (all inputs are unique). Relation B is not a function because the input maps to both and .
Check: Re-examine each ordered pair in Relation A: , , , . No -value repeats — confirmed function. In Relation B, the pairs and share the same but have different -values — confirmed non-function.
Worked example
Example 2 — Graphs and the Vertical Line Test (Mixed Difficulty)
Three graphs are described below. Apply the vertical line test to each and state whether it represents a function. Explain your reasoning for each case.
Graph P: a straight line with equation
Graph Q: a circle centred at the origin with radius , described by
Graph R: a curve where (a sideways parabola opening to the right)
Graph P: a straight line with equation
Graph Q: a circle centred at the origin with radius , described by
Graph R: a curve where (a sideways parabola opening to the right)
- Test Graph P with a vertical lineThe equation is a straight line that is not vertical. For any -value you choose, substituting it into gives exactly one -value. A vertical line will cross a non-vertical straight line at exactly one point. Graph P passes the vertical line test.
- Conclude for Graph PBecause every vertical line meets the graph at exactly one point, Graph P is a function.
- Test Graph Q with a vertical linePick and substitute into . You get , so or . Two different outputs come from one input. A vertical line at crosses the circle at the point and at — two intersections. 0^2 + y^2 = 16 \Rightarrow y = 4 or y = -4
- Conclude for Graph QBecause there exists at least one vertical line that crosses the graph at two points, Graph Q fails the vertical line test. The circle is not a function.
- Test Graph R with a vertical lineFor the curve , try . Then , giving or . The point and the point are both on the curve, so a vertical line at crosses the graph twice. 9 = y^2 \Rightarrow y = 3 or y = -3
- Conclude for Graph RBecause the vertical line at hits two points on the curve, Graph R fails the vertical line test. The sideways parabola is not a function.
Answer: Graph P (line ) is a function. Graph Q (circle ) is not a function. Graph R (sideways parabola ) is not a function.
Check: For Graph P, any chosen gives exactly one . For Graph Q, gives — two outputs. For Graph R, gives — two outputs. All three conclusions are confirmed.
Common mistakes and how to avoid them
Thinking a relation is not a function because two inputs share the same output (e.g., seeing appear twice and calling it a non-function).
Correction: Repeated outputs are completely allowed. Only repeated inputs with different outputs violate the function rule. Always check the -values (inputs), not the -values (outputs).
Applying the vertical line test to only part of the graph and missing a section where two points line up vertically.
Correction: Sweep an imaginary vertical line across the entire graph from left to right. Check every part of the domain, not just the middle or the visible centre.
Confusing a horizontal line test with the vertical line test.
Correction: For identifying functions from graphs, always use a vertical line. Horizontal lines test a different property that is not part of this expectation.
Treating a mapping diagram with two inputs pointing to the same output as a non-function.
Correction: In a mapping diagram, the rule applies to outgoing arrows (from input to output), not incoming arrows. Multiple inputs pointing to one output is fine.
Assuming any curved graph is automatically not a function.
Correction: Curves can absolutely be functions. For example, is a curve and a function. Always apply the vertical line test rather than judging by the shape alone.
Lesson summary
- A relation is a function when every input in the domain is paired with exactly one output in the range.
- To test ordered pairs or a table: check that no -value repeats with a different -value.
- To test a mapping diagram: confirm that every input bubble has exactly one outgoing arrow.
- To test a graph: apply the vertical line test — if any vertical line crosses the graph at two or more points, the relation is not a function.
- Repeated outputs are allowed; it is repeated inputs with different outputs that break the function rule.
- All four representations — ordered pairs, tables, mapping diagrams, and graphs — express the same one-input, one-output rule in different visual forms.
Check your understanding
Question 1
Which of the following sets of ordered pairs represents a function?
Show answer and explanation
In option B, the inputs are CAD 1, 3, 5 — all different. Even though the output repeats, each input gives exactly one output, so it is a function. Options A, C, and D all have a repeated -value (, , and respectively) paired with different -values, which violates the function rule.
Question 2
A mapping diagram shows the input with two arrows — one pointing to and one pointing to . What does this tell you?
- The relation is a function because the two outputs are opposites of each other.
- The relation is a function because the domain has only one value.
- The relation is not a function because one input maps to two different outputs.
- The relation is not a function because the range contains negative numbers.
Show answer and explanation
The relation is not a function because one input maps to two different outputs.
One input () is connected to two different outputs ( and ). This breaks the rule that each input must map to exactly one output. The negative output and the number of domain values are irrelevant to the function test.
Question 3
You draw a vertical line at on a graph and it crosses the curve at the points and . What can you conclude?
- The graph is a function because the two -values are equal in absolute value.
- The graph is not a function because the vertical line crosses it at two points.
- You need to test more vertical lines before making a conclusion.
- The graph is a function because only one -value was tested.
Show answer and explanation
The graph is not a function because the vertical line crosses it at two points.
Finding even one vertical line that crosses the graph at two points is enough to conclude the relation is not a function. The input produces two outputs, and , which violates the one-input, one-output rule.
Question 4
The graph of is a parabola opening upward. Is it a function? Why?
- No, because the parabola is curved and curves are never functions.
- No, because both and give the same output .
- Yes, because every vertical line crosses the parabola at exactly one point.
- Yes, because the parabola crosses the -axis at the origin.
Show answer and explanation
Yes, because every vertical line crosses the parabola at exactly one point.
The vertical line test confirms that every vertical line meets the upward-opening parabola at exactly one point, so it is a function. The shape being curved does not disqualify it, and having two inputs share an output (option B describes an allowed situation) is not a violation of the function rule.
Key terms
- Relation
- Any set of pairings between input values and output values; written as a set of ordered pairs .
- Function
- A relation in which every input value is paired with exactly one output value.
- Domain
- The set of all input values (-values) of a relation.
- Range
- The set of all output values (-values) of a relation.
- Ordered pair
- A pair of values written as that represents one input and its corresponding output.
- Mapping diagram
- A visual representation of a relation using two ovals connected by arrows, where the left oval shows inputs and the right oval shows outputs.
- Vertical line test
- A graphical method for identifying functions: if every vertical line crosses a graph at most once, the graph represents a function.
- Non-function
- A relation in which at least one input value is paired with two or more different output values.
Continue through MCR3U
View the complete Ontario Grade 11 Mathematics learning path
- A1.2 · Represent and evaluate linear and quadratic functions using function notation
- A1.3 · Describe domain and range and apply contextual restrictions
- A1.4 · Connect inverse functions with reverse processes
- A1.5 · Determine numeric and graphical representations of inverse relations
- A1.6 · Relate the domain and range of a function and its inverse
- A1.7 · Determine algebraic representations of inverse linear and quadratic relations
About this lesson
Published by DoAssignment. This AI-assisted lesson follows Ontario Grade 11 Mathematics (MCR3U), expectation A1.1. It is a study resource, not an official curriculum publication.