A function is a special type of relation.
Each input (x) has exactly one output (y).
Think of it as a machine: input β rule β output.
Relation = any set of ordered pairs (x, y).
Function = each x maps to only one y.
Example:
{(2, 3), (2, 5)} β β Not a function
{(2, 3), (3, 5)} β β Function
Written as f(x) (read βf of xβ).
Example: If f(x) = 2x + 1, then f(4) = 2(4) + 1 = 9.
Mapping diagram β arrows show inputs to outputs
Table of values β lists x and y
Graph β points (x, y)
Equation/rule β y = 3x β 2
A graph is a function if a vertical line touches it at only one point.
Domain = all x-values (inputs)
Range = all y-values (outputs)
Example: f(x) = xΒ² for x = {β2, β1, 0, 1, 2}
Domain = {β2, β1, 0, 1, 2}
Range = {0, 1, 4}
Input = x (independent variable)
Output = y or f(x) (dependent variable)
Rule: βOne input β One output = Functionβ