What is a function?
A function is a special relationship between two sets of numbers (or variables), usually called inputs and outputs, where each input has exactly one output.
-
Think of it like a machine:
-
You put a number in (input)
-
The function “processes” it
-
You get one number out (output)
-
Notation:
-
f(x)= output -
x= input -
The equation
2x + 3tells you how to get the output from the input
Key Terms
| Term | Meaning |
|---|---|
| Input | The value you put into the function (x) |
| Output | The value the function gives you (f(x)) |
| Domain | All possible inputs |
| Range | All possible outputs |
How to evaluate a function
Example:
-
If
x = 4, then:
✅ Output is 11
-
If
x = -1, then:
✅ Output is 1
How to identify a function
A function must assign exactly one output for each input.
-
✅ Examples of functions:
-
❌ Not a function (input gives multiple outputs):
Function representation
-
Equation:
f(x) = 2x + 3 -
Table: List inputs and outputs
| x | f(x) |
|---|---|
| 0 | 3 |
| 1 | 5 |
| 2 | 7 |
-
Graph: Plot points
(x, f(x))on a coordinate plane -
Mapping diagram: Arrows from input → output
Function vs. Relation
-
Relation: any set of input-output pairs
-
Function: a relation where each input has exactly one output
Vertical line test (for graphs):
-
Draw vertical lines on the graph.
-
If any vertical line hits the graph more than once, it’s not a function.
Common beginner mistakes
-
❌ Confusing input and output
-
❌ Forgetting that each input must have only one output
-
❌ Misinterpreting tables or graphs
-
❌ Not using proper function notation
Why functions matter
-
They are the language of algebra
-
Foundation for linear functions, quadratic functions, and more
-
Used in real-world applications: speed, cost, population growth, etc.
Examples of functions in real life
-
Temperature conversion:
Celsius → Fahrenheit -
Cost of items:
f(x) = price × quantity -
Distance over time:
d(t) = speed × time