Functions &
Function Notation
Master the building block of algebra: learn what makes a relation a function, read and write function notation, and evaluate expressions like \( f(x) \) with confidence.
What Is a Relation?
A relation is any set of ordered pairs \( (x, y) \). It connects inputs (the \( x \)-values) to outputs (the \( y \)-values). Relations can be represented as tables, graphs, mappings, or equations.
What Is a Function?
A function is a special type of relation where every input has exactly one output. No \( x \)-value is paired with more than one \( y \)-value.
Why Functions Matter
Functions are the language of mathematics. Nearly every model you encounter in science, economics, and engineering uses functions to describe how one quantity depends on another.
The Vertical Line Test
On a graph, a relation is a function if and only if no vertical line crosses the graph more than once.
Domain and Range
Introducing \( f(x) \) Notation
Instead of writing \( y = 2x + 3 \), we write \( f(x) = 2x + 3 \). The symbol \( f(x) \) is read "f of x" and means "the output of function \( f \) when the input is \( x \)."
Relation vs. Function
| Relation | Function | |
|---|---|---|
| Definition | Any set of \((x, y)\) pairs | Each \(x\) maps to exactly one \(y\) |
| Repeated inputs | Allowed with different outputs | Not allowed with different outputs |
| Vertical line test | May fail | Always passes |
| Notation | \(\{(x, y)\}\) | \(f(x) = \ldots\) |
| Example | \(x^2 + y^2 = 9\) | \(f(x) = x^2\) |
How to Evaluate a Function
To find \( f(a) \), substitute the value \( a \) for every \( x \) in the function rule, then simplify.
Example 1: Evaluate \( f(4) \)
Example 2: Evaluate \( g(-2) \)
Example 3: Evaluate \( f(a + 1) \)
Evaluating from a Graph
You can also find \( f(a) \) by reading a graph: go to \( x = a \) on the horizontal axis, then read the \( y \)-value where the graph intersects that vertical line.
Four Ways to Represent Functions
Common Mistakes
Key Concepts Summary
| Concept | Definition | Example |
|---|---|---|
| Relation | Any set of \((x,y)\) pairs | \(\{(1,2),(1,5)\}\) |
| Function | Each input has exactly one output | \(\{(1,2),(3,5)\}\) |
| VLT | Tests if a graph is a function | Line hits graph at most once |
| \(f(x)\) | Output of \(f\) at input \(x\) | \(f(3) = 2(3) + 1 = 7\) |
| Domain | All valid inputs | \(\{1, 2, 3\}\) |
| Range | All resulting outputs | \(\{2, 5, 7\}\) |
Question 1 of 5
Which of the following sets of ordered pairs is NOT a function?
Question 2 of 5
If \( f(x) = 5x - 3 \), what is \( f(4) \)?
Question 3 of 5
If \( g(x) = x^2 - 2x + 1 \), what is \( g(-3) \)?
Question 4 of 5
A graph on a coordinate plane is drawn. A vertical line is drawn that intersects the graph at three points. What can you conclude?
Question 5 of 5
What is the domain of the relation \(\{(2,5),\,(4,8),\,(6,5),\,(8,3)\}\)?