MCR3U Functions · Unit 1 — Introduction to Functions
Lesson 1.1
Relations & Functions
Press a button, get one item. That simple idea is what separates a relation from a function — and you will spot it in pairs, tables, diagrams and graphs.
Estimated time: 30–45 minutes
Learning goals
- identify inputs and outputs
- explain what a relation is
- explain what makes a relation a function
- identify functions from ordered pairs, tables, mapping diagrams, graphs, and equations
- use the vertical-line test
- explain why a relation is or is not a function
Step 1 of 4
Warm Up
Quick Check — a couple of minutes on what you already know.
You’ve worked with inputs and outputs before. Let’s see what you remember.
Step 2 of 4
Learn
What’s a function? Start with a machine you already know — then see it, work through an example, and try it yourself.
Real-world idea
Think About a Vending Machine
Vending machine
- A1Chips
- A2Water
- A3Granola Bar
You press A2. What should come out? Water.
Think of A2 as the INPUT and water as the OUTPUT.
INPUT → OUTPUT
That idea leads us to two important math terms.
Key term
Relation
A relationship between a set of inputs and outputs.
(x, y)
Relations are often written as ordered pairs. The first value is the input. The second value is the output.
So (2, 7) means 2 → 7.
Key term
Function
A relation where each input has exactly one output.
ONE INPUT → ONE OUTPUT
This one line decides every question in this lesson.
Different inputs CAN have the same output
Back at the vending machine, imagine the buttons are set up like this.
Function
This is still okay. Each button has only one output. The problem happens when ONE input points to TWO different outputs.
Curriculum connection
These are the words your teacher and the Ontario curriculum use. Learn them here and use them when you explain your thinking.
- Curriculum language · A1.1Relation
- What this meansA relation is any connection between a set of inputs and a set of outputs.
- Curriculum language · A1.1Function
- What this meansA function is a relation where each input is connected to exactly one output.
Does every input have exactly one output?
No matter how a relation is shown, this is the only question you ask.
A. Ordered pairs
Read the first number in each pair — that is the input.
- (1, 4)
- (2, 6)
- (3, 8)
- (4, 10)
Function
Every input has exactly one output.
- (1, 4)
- (2, 6) — repeated input
- (2, 9) — repeated input
- (3, 11)
2 → 6 and 2 → 9
Not a function
The same input has two different outputs.
Keep these two straight
B. Tables
Same question — read down the x-column first.
| x | y |
|---|---|
| 1 | 5 |
| 2 | 7 |
| 3 | 9 |
| 4 | 11 |
Function
Each x-value appears once, with one y-value.
| x | y |
|---|---|
| 1 | 5 |
| 2 — repeated input | 7 |
| 2 — repeated input | 10 |
| 3 | 12 |
Not a function
Input 2 has two different outputs.
| x | y |
|---|---|
| -2 | 4 |
| -1 | 1 |
| 0 | 0 |
| 1 | 1 |
| 2 | 4 |
C. Mapping diagrams
Now the arrows do the work. Count how many arrows leave each input.
Function
Two different inputs can point to the same output.
Not a function
One input has two different outputs.
D. Graphs and the vertical-line test
Vertical-line test: a graph represents a function if no vertical line crosses the graph more than once.
Here is why that works. A vertical line represents one x-value. If the line touches the graph twice, that one x-value has two y-values. That breaks the function rule: ONE INPUT → ONE OUTPUT.
Drag the dashed line across each graph, or use the slider and arrow keys. Watch the marked points, then decide.
The line touches the graph 1 time here.
The line touches the graph 1 time here.
The line touches the graph 2 times here.
The line touches the graph 2 times here.
A Function at Work
Suppose you earn $18 per hour. Your pay follows a rule, and that rule is a function.
Here h is the hours you worked and E(h) is what you earn.
E(5) = 18(5)Work 5 hours — put 5 in for h.E(5) = 905 hours → $90E(10) = 18010 hours → $180
For each number of hours worked, this rule gives one amount of pay. So earnings are a function of hours worked.
Try it — putting it together
One more set before you practise on your own.
Step 3 of 4
Practice
Mixed forms, more on your own. Hints are here if you want them — tap “Show me a hint”.
Build it
Spot functions in three different forms.
Apply it
Same rule, real situation.
Challenge
Take your time with this one.
Explore the relation x = y². Fill in some values before you decide.
| x | y |
|---|---|
| 0 | 0 |
| 1 | 1 |
| 1 | -1 |
| 4 — repeated input | 2 |
| 4 — repeated input | -2 |
Step 4 of 4
Mastery Check
Five questions, on your own. No hints here — answer them all, then see how you did.
Lesson 1.1 mastery check
5 questions · no hints during the check. Answer them all, then check your score — you can retry as many times as you like.
Lesson complete
Relations & Functions
You can now identify functions using different representations.
- Relation
- A connection between inputs and outputs.
- Function
- A relation where every input has exactly one output.
- Vertical-line test
- A graph represents a function if no vertical line crosses it more than once.
ONE INPUT → ONE OUTPUT
Real-world idea to remember
Vending machine
- ButtonSnack
Up next · Lesson 1.2
Function Notation
You’ve seen how inputs and outputs work. Next you’ll learn why mathematicians write things like f(3) — and why it does NOT mean f × 3.
This lesson is being written — the button turns on when it is ready.
Want more practice? (8 optional questions)
Optional — you have already finished the lesson. Unlimited attempts, mixed forms.