Introduction to Functions - Complete Interactive Lesson
Part 1: What Is a Function?
⚙️ Introduction to Functions
Part 1 of 5 — What Is a Function?
Topics in This Part
| Section |
|---|
| Relations vs. Functions |
| The Vending-Machine Idea |
| The "One Output" Rule |
🔑 Key Concept: A function is a rule that takes each input and gives back exactly one output. That single restriction — one output per input — is the whole idea behind everything in this lesson.
Relations vs. Functions
A relation is any set of ordered pairs — it just pairs inputs with outputs.
A function is a special relation: every input is paired with exactly one output.
Think of a vending machine. You press a button (the input) and you get one specific snack (the output). Press B4 and you always get the same chips. If pressing B4 sometimes gave chips and sometimes gave a candy bar, the machine would be broken — and that broken machine is not a function.
| Input | → | Output |
|---|---|---|
| → | ||
| → | ||
| → |
Every input above leads to one output, so this relation is a function.
🔑 The Rule: No input is allowed to have two outputs. (An output can be repeated — that's fine — but an input can never split.)
Concept Check 🎯
Spotting a Non-Function
A relation fails to be a function the moment one input points to two different outputs.
This IS a function — each input has one arrow out:
This is NOT a function — the input points to two outputs:
⚠️ Watch the inputs, not the outputs. Two inputs sharing the same output is perfectly fine. It is only a problem when one input has two outputs.
Function or Not? 🔽
For each relation, decide whether it is a function.
A Quick Way to Test
To decide if a relation is a function, scan the inputs:
- List every input (first coordinate).
- If the same input ever shows up with two different outputs, it is not a function.
- Otherwise, it is a function.
That is the only check you ever need for a set of ordered pairs.
Count the Outputs 🧮
A relation is a function when no input has more than one output.
1) In , how many different inputs are there? (Answer with a number.) 2) In that same set, does any single input appear with two different outputs? (Answer 0 for no, 1 for yes.)
What You Have So Far
You can now tell a function from a plain relation: a function never lets one input split into two outputs.
In Part 2, we give the inputs and outputs their proper names — domain and range — and learn to read functions from tables, mappings, and graphs.
Part 2: Domain, Range & the Vertical Line Test
⚙️ Introduction to Functions
Part 2 of 5 — Domain, Range & the Vertical Line Test
🔑 The Idea: The set of all inputs is the domain; the set of all outputs is the range. And a graph is a function exactly when it passes the vertical line test.
Domain and Range
- Domain = the set of all inputs (-values).
- Range = the set of all outputs (-values).
Example
For the function :
💡 List each value only once. If an output repeats, you still write it a single time in the range. For the range is just .
Find the Range 🧮
Give the range (set of outputs) of each function. Enter the outputs in increasing order, separated by commas, each value once.
1) → range 2) → range
The Vertical Line Test
On a graph, an input is an -value and its output is the height . If a single had two outputs, the graph would have two points stacked vertically — and a vertical line would cross the graph twice.
🔑 Vertical Line Test (VLT): A graph is a function if every vertical line crosses it at most once.
| Graph | Vertical line hits it... | Function? |
|---|---|---|
| A straight line | once | ✅ yes |
| A parabola | once | ✅ yes |
| A circle | twice | ❌ no |
| A sideways parabola | twice | ❌ no |
⚠️ A circle fails: the line hits it at both and — one input, two outputs.
Concept Check 🎯
Bringing It Together
A single function gives you three things at once:
- its domain (the inputs you read off the pairs),
- its range (the outputs), and
- a graph that passes the vertical line test.
The next check asks you to pull all three from one small function.
Domain, Range & VLT 🔽
Use the function .
Recap
- Domain = inputs, Range = outputs (each value listed once).
- Vertical line test: a graph is a function if no vertical line hits it more than once.
Next, in Part 3, we introduce function notation — the famous — and learn what it really means to "evaluate" a function.
Part 3: Function Notation f(x)
⚙️ Introduction to Functions
Part 3 of 5 — Function Notation
🔑 Why ? The notation is just a name for the output when the input is . It is read "f of x" — it does not mean times .
Reading
In :
- is the name of the function (the machine).
- is the input (the button you press).
- is the output (what comes out).
To evaluate, substitute the number in for everywhere it appears.
Example: evaluate for
So . The point is on the graph of .
💡 answers the question: "When the input is , what is the output?" Here, the answer is .
Evaluate the Function 🧮
Let . Find each output.
1) 2) 3)
A Common Trap
is not multiplication. If , then:
It is not and it is not . You substitute in for and follow the order of operations.
⚠️ Also be careful with negatives and squaring: . The square makes the negative positive.
Concept Check 🎯
Outputs Become Points
Every evaluation gives you a point on the graph:
So computing , , and is the same as finding three points to plot. The next check connects each evaluation to its point.
Match the Notation 🔽
Let .
Recap
- = the output for input ; read " of ," never " times ."
- Evaluate by substituting the input for and simplifying with order of operations.
- means the point is on the graph.
In Part 4, we read functions straight from tables and graphs — finding outputs, and even working backward to find inputs.
Part 4: Reading Tables & Graphs
⚙️ Introduction to Functions
Part 4 of 5 — Reading Tables & Graphs
🔑 Big Idea: A table or graph is a function. You can read an output from an input (go right/up) or read an input from an output (work backward).
Reading a Table
A table lists inputs and their outputs. Here is :
To find , look under : the output is , so .
To work backward — "for which input is ?" — scan the bottom row for and read up: it happens at .
💡 Reading direction matters. means "go in with , read out the output." ", find " means "start from the output and find the input."
Use the Table 🧮
The same function :
1) 2) 3) For which input is ?
Reading a Graph
On a graph, the point means .
Suppose the line passes through , , and .
- To find : go to , go up to the line, read the height → .
- To solve : find the height on the line, drop down to the axis → .
These points fit the rule . Check: ✓ and ✓.
💡 Inputs run horizontally, outputs run vertically. Find an output by moving up to the curve; find an input by moving across to the curve.
Read the Graph 🔽
The line passes through , , , and .
Reading Both Directions
Tables and graphs work both ways:
| Question | What you do |
|---|---|
| Find | start at the input , read off the output |
| Solve | start at the output , read off the input |
Keep straight which value you are given and which you are finding. The next check mixes both directions.
Concept Check 🎯
Recap
- A point on a graph means .
- Find an output: go to the input, move up to the curve, read the height.
- Find an input: start from the output's height, move across to the curve, drop to the axis.
In Part 5, we pull everything together with mixed practice and a final Exit Quiz.
Part 5: Mixed Practice & Mastery Check
⚙️ Introduction to Functions
Part 5 of 5 — Mixed Practice & Mastery Check
You can now (1) tell a function from a relation, (2) find domain and range, (3) use the vertical line test, (4) evaluate , and (5) read tables and graphs. Let's put it together.
Quick Reference
| Idea | What to remember |
|---|---|
| Function | each input → exactly one output |
| Domain | the set of inputs (-values), each listed once |
| Range | the set of outputs (-values), each listed once |
| Vertical line test | a graph is a function if no vertical line hits it more than once |
| the output when the input is ; the point is on the graph |
⚠️ Repeated outputs are allowed; a repeated input with two different outputs is what breaks a function.
Mixed Practice 🎯
One More Mix
The next check blends all five skills in a single problem: spotting a non-function, evaluating a rule, and applying the vertical line test. Take your time and reason through each piece separately.
Put It Together 🔽
Use and the relation .
You're Ready
You have covered the full arc: relations vs. functions, domain and range, the vertical line test, function notation, and reading tables and graphs. One short quiz stands between you and mastery.
Exit Quiz ✅
Answer all three to finish the lesson.