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 |