Understanding Functions - Complete Interactive Lesson
Part 1: What Is a Function?
⚙️ Understanding Functions
Part 1 of 5 — What Is a Function?
Topics in This Part
| Section |
|---|
| The Input–Output Machine |
| The One Rule: One Output per Input |
| Spotting Functions in a Table |
🔑 Key Concept: A function is a rule that takes each input and gives back exactly one output. Same input in → same single output out, every time.
The Input–Output Machine
Picture a function as a machine. You drop an input in the top, the machine applies its rule, and exactly one output drops out the bottom.
For example, a "double it" machine:
| Input | Rule | Output |
|---|---|---|
The inputs together are called the domain. The outputs together are called the range.
💡 You already use functions every day. "Hours worked" → "pay earned" is a function. So is "number of tacos" → "total cost."
The One Rule That Defines a Function
Here is the single test that decides everything:
🔑 Function Rule: Each input is allowed exactly one output. An input may never point to two different outputs.
It is perfectly fine for two different inputs to share the same output:
| Relation | One output per input? | Function? |
|---|---|---|
| Yes — each input has one output | ✅ Function | |
| No — input gives and | ❌ Not a function |
The first relation is fine even though and both output . The problem in the second is that the same input produces two different outputs.
⚠️ Watch the direction. Repeated outputs are allowed. Repeated inputs with different outputs are NOT.
Concept Check 🎯
Function or Not? 🔽
For each table of pairs, decide whether is a function of .
Run the Machine 🧮
A "double it" function uses the rule — it sends each input to twice itself.
1) Input gives output 2) Input gives output 3) Which input gives the output ? Input
You've Got the Definition
You can now state the one rule that makes a relation a function: one output per input. You can test a table by scanning the input column for a repeat that points to different outputs.
In Part 2 we'll see the four ways the same function can be written — table, mapping diagram, graph, and equation — and meet the famous vertical line test.
Part 2: Four Ways to Show a Function
⚙️ Understanding Functions
Part 2 of 5 — Four Ways to Show a Function
🔑 The Idea: The same function can be shown as a table, a mapping diagram, a graph, or an equation. They all carry the same input → output information.
The Four Representations
Here is the rule "add 1" shown four ways:
1) Table
| (input) | (output) |
|---|---|
2) Mapping diagram — arrows from each input to its output:
3) Equation (rule):
4) Graph — the points , , plotted on a coordinate grid.
💡 Whenever you switch representations, the pairs never change. The point , the table row , and "plug into " all say the same thing.
Concept Check 🎯
The Vertical Line Test
On a graph, every input corresponds to a vertical line. If that vertical line hits the graph more than once, then that single input has two outputs — so the graph is not a function.
🔑 Vertical Line Test (VLT): If any vertical line crosses the graph more than once, the graph is not a function. If every vertical line crosses at most once, it is a function.
| Graph | Vertical line hits it… | Function? |
|---|---|---|
| A straight line like | once | ✅ Yes |
| A parabola like | once | ✅ Yes |
| A full circle | twice (top & bottom) | ❌ No |
| A sideways "U" (opens right) | twice | ❌ No |
⚠️ A parabola passes the VLT even though it has a repeated output (e.g. at and ). Remember: repeated outputs are allowed.
Apply the Vertical Line Test 🔽
Decide whether each graph passes the vertical line test (and is therefore a function).
Translate Between Representations 🧮
The function is given by the rule .
1) Complete the table: when , 2) When , 3) The graph passes through the point — enter the missing .
Part 3: Function Rules & Evaluating
⚙️ Understanding Functions
Part 3 of 5 — Function Rules & Evaluating
🔑 Why it matters: A function's rule (its equation) lets you find the output for any input — even inputs not in the table — by substituting and simplifying.
Evaluating a Function Rule
To evaluate a function, replace with the input value and simplify.
Example:
| Input | Substitute | Output |
|---|---|---|
Work the order of operations carefully — multiply before you add.
Example: at
⚠️ Square the input before subtracting. , not .
Concept Check 🎯
Evaluate the Rule 🧮
Use the rule .
1) 2) 3)
Reading a Rule From Words
Many word problems hide a function. Translate the words into a rule.
Example: Taco truck
Tacos cost $2 each plus a $3 flat delivery fee. The total cost for tacos is:
- The $2 per taco is the number multiplied by the input (the rate).
- The $3 fee is added once no matter what (the starting value).
So tacos cost , giving $13.
💡 "Per," "each," and "every" signal the number you multiply by. "Flat fee," "starting," and "one-time" signal the number you add.
Build the Rule 🔽
A gym charges a $20 sign-up fee plus $15 each month. Let be the number of months and the total cost.
Part 4: Rate of Change, Initial Value & Linear vs. Nonlinear
⚙️ Understanding Functions
Part 4 of 5 — Rate of Change, Initial Value & Linear vs. Nonlinear
🔑 Big Idea: A linear function changes by the same amount every time the input goes up by . That steady change is the rate of change (slope), and the output at is the initial value.
Rate of Change & Initial Value
For a linear function written :
- is the rate of change (slope) — how much changes each time increases by .
- is the initial value — the output when (the -intercept).
Example: From a table
Each time goes up by , goes up by , so the rate of change is . The initial value (at ) is . The rule is .
💡 To find the rate of change between two points and , use .
Find Rate of Change & Initial Value 🧮
A linear function passes through these points:
1) Rate of change (change in per in ) 2) Initial value (output at ) 3) Using , what is the output at ?
Linear vs. Nonlinear
A function is linear if it has a constant rate of change — its graph is a straight line and its equation can be written (no , no in a denominator, no under a root).
| Function | Rate of change | Linear? |
|---|---|---|
| constant | ✅ Linear | |
| constant | ✅ Linear | |
| changes (1, 3, 5, …) | ❌ Nonlinear | |
| changes | ❌ Nonlinear |
Check with a table
The jumps are — not constant — so is nonlinear.
⚠️ A table is linear only if the output changes by the same amount for each equal step in .
Concept Check 🎯
Comparing Two Functions
You can compare functions even when they're written differently — pull the rate of change and initial value from each.
Example
Function A (equation): . Rate of change , initial value .
Function B (table):
Function B has rate of change and initial value .
So A grows faster (rate ), but B starts higher (initial value ).
💡 To compare, get every function into the same language: how fast it grows (rate of change) and where it starts (initial value).
Compare the Functions 🔽
Function A: . Function B: a line through and .
Part 5: Mixed Practice & Mastery Check
⚙️ Understanding Functions
Part 5 of 5 — Mixed Practice & Mastery Check
You can now (1) define a function and test relations, (2) move between table, mapping, graph, and equation, (3) evaluate and build rules, and (4) find rate of change, initial value, and tell linear from nonlinear. Let's put it together.
Quick Reference
| Idea | What to remember |
|---|---|
| Function | each input → exactly one output |
| Test a table | scan inputs; same input + different outputs = not a function |
| Vertical line test | a vertical line hitting the graph twice = not a function |
| Evaluate a rule | substitute the input for , then simplify |
| Linear function | constant rate of change; form ; straight line |
| Rate of change | — change in per in |
| Initial value | output when (the -intercept, ) |
⚠️ Repeated outputs are allowed. Repeated inputs with different outputs are not.
Mixed Practice 🎯
Mixed Drill 🧮
A line passes through and .
1) Rate of change 2) Initial value (output at ) 3) Write the output at using :
Exit Quiz ✅
Answer all three to finish the lesson.