01 / 21

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.

Math 1

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.

Inputs 1 2 3 4 Outputs 5 8 8 10

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.

✓ Function
\(\{(1,3),\,(2,6),\,(3,9)\}\): each input maps to one output.
✕ Not a Function
\(\{(1,3),\,(1,7),\,(2,6)\}\): input 1 maps to both 3 and 7.

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.

Predictability
Because each input gives one output, functions let us predict results reliably.
Modeling
Distance vs. time, cost vs. quantity, temperature vs. altitude: all functions.
Communication
Function notation gives us a compact, universal way to write relationships.

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.

✓ Function 1 hit ✕ Not a Function 2 hits

Domain and Range

Domain
The set of all possible input values (\( x \)-values).
Range
The set of all possible output values (\( y \)-values).

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 \)."

\(f\)(\(x\)) = \(2x + 3\)
function name
input
rule (output expression)
\(f(x)\) is the
output value
(same as \(y\))

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.

1
Identify the input value inside the parentheses.
2
Replace every \( x \) in the rule with that input value.
3
Simplify using order of operations (PEMDAS).
4
State the result: \( f(a) = \text{answer} \).

Example 1: Evaluate \( f(4) \)

1
Input is \( x = 4 \).
2
Substitute: \( f(4) = 3(\color{#fbbf24}{4}\color{#e2e8f0}) - 5 \).
3
Simplify: \( 12 - 5 = 7 \).
✓
\( f(4) = 7 \)

Example 2: Evaluate \( g(-2) \)

1
Input is \( x = -2 \).
2
Substitute: \( g(-2) = (\color{#fbbf24}{-2}\color{#e2e8f0})^2 + 4(\color{#fbbf24}{-2}\color{#e2e8f0}) - 1 \).
3
Simplify: \( 4 + (-8) - 1 = -5 \).
✓
\( g(-2) = -5 \)

Example 3: Evaluate \( f(a + 1) \)

1
Input is the expression \( a + 1 \).
2
Replace every \( x \) with \( (a+1) \): \( f(a+1) = 2(a+1)^2 - (a+1) \).
3
Expand: \( 2(a^2 + 2a + 1) - a - 1 \).
4
Simplify: \( 2a^2 + 4a + 2 - a - 1 = 2a^2 + 3a + 1 \).
✓
\( f(a+1) = 2a^2 + 3a + 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.

x y 1 2 3 -1 -2 -3 1 2 -1 -2
\(f(2) = 0\)
\(f(-1) = -0.75\)
\(f(x) = 0.25x^2 - 1\)

Four Ways to Represent Functions

Equation
\( f(x) = 2x + 1 \)
Table
List input-output pairs in rows or columns.
Graph
Plot points on a coordinate plane.
Mapping
Arrows from inputs to outputs (like Slide 1).

Common Mistakes

✕ Treating \( f(x) \) as Multiplication
\( f(3) \) does not mean \( f \times 3 \). It means "evaluate the function at 3."
✕ Forgetting Parentheses
When substituting negatives: \( f(-2) = (-2)^2 \), not \( -2^2 \). Missing parentheses changes the sign.
✕ Confusing Domain and Range
Domain = inputs (\( x \)), Range = outputs (\( y \)). Mixing them up leads to wrong answers on set questions.

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)\}\)?