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:
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 :
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 "" — it does mean times .
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 :
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 |