A relation is a set of ordered pairs. It is a function when each input is assigned exactly one output. Learn to read, represent, evaluate, and graph functions.
01 · Ordered pairs, domain, and range
An ordered pair (x, y) connects an input to an output. A relation is a set of such pairs. Its domain contains the distinct x-values, and its range contains the distinct y-values. Repeated values appear only once in a set.
Four points form a relation. Select a point, then slide it to a new location. Switch the projection to see which numbers belong to the domain or range.
02 · Is the relation a function?
A relation is a collection of ordered pairs (input, output). A function assigns exactly one output to each input.
A repeated input with different outputs means it is not a function; repeated outputs are perfectly allowed. A repeated identical pair does not add another element to the relation.
Step 1. Change the outputs below. Then check “Also assign input 0 a second output of 5” to repeat an input. Watch the ordered-pair cards and the mapping diagram change.
Mapping diagram · input to output
Input → output diagram
Is this relation a function?
Art club · Members and studio rooms
A club assigns each member one studio room. Several members can use the same room. Press Reverse direction to ask whether a room can identify exactly one member.
03 · Reading function notation
In y = f(x), the letter f is the function’s name, x is the independent input, and y is the dependent output. The parentheses indicate an input to a function—not multiplication.
Imagine a game booth with a $2 entry fee and a $5 charge per game. Move the number of games and watch the algebraic notation and fee bar change together.
Function notation works with any letters. Read the equation, then pick the function’s name, its input, and its output.
04 · One function, four views
The same relationship can appear as a formula, table, ordered pairs, or graph. Move the highlighted input or change the rule: all four views stay in sync.
| Input x | Output r(x) |
|---|
05 · Vertical line test explorer
Slide a vertical line across the graph. A function has at most one intersection at each x-value.
A graph represents a function if and only if every vertical line meets the graph at most once. Two intersections at the same x-value prove that it is not a function.
Will the circle x² + y² = 9 pass the vertical line test?
A vertical line such as x = 1 meets the circle twice, at y = 2√2 and y = −2√2, so one input has two outputs. The circle is now selected below: slide the test line and watch both intersection points.06 · Forward and backward: from inputs to outputs
Evaluating q(a) means substituting an input a. Solving q(x) = b means finding every input producing output b. The two tasks are not the same.
Follow the order of operations:
Undo operations in reverse order:
Extra example: what if dividing is necessary?
In our main function the squared expression has a coefficient of 1, so there is nothing to divide by. Compare this variation:
- Start with the equation2(x − 2)² + 1 = 9
- Subtract 1 from both sides2(x − 2)² = 9 − 1 = 8
- Divide both sides by 2(x − 2)² = 8 ÷ 2 = 4
- Take both square rootsx − 2 = ±√4 = ±2
- Add 2 to both sidesx = 2 − 2 = 0 or x = 2 + 2 = 4
The extra coefficient is why this version requires division before taking square roots.
07 · Interactive function machine
Adjust the coefficients and input to evaluate \(f(x)=ax^2+bx+c\).
An input does not have to be a number. Any letter or expression can go inside the parentheses; for example f(a). Keep the coefficients above and choose an input. Replace every x with the whole input, in parentheses. (This lab uses t, because a, b, and c already name the coefficients.)
08 · Search a function table
A function table is a collection of input–output pairs. Select a row or point to see the same ordered pair in the table and on the coordinate plane. Or choose an output to find every input that produces it.
Select a plotted point or a table row.
| Input x | Output t(x) |
|---|---|
| −4 | 3A |
| −1 | 6B |
| 2 | 3C |
| 5 | 8D |
09 · Read a graph in two directions
To find g(a), begin at input x = a, move vertically to the curve, and read the output. To solve g(x) = b, use a horizontal line at y = b and read the x-values of all intersections.
Choose one of three graphs. This graph uses g(x) = (x + 1)² − 1. The orange point demonstrates the input-first question; the blue horizontal line demonstrates the output-first question.
10 · Parent-function gallery
Recognizing the shape of a parent function helps you predict its behavior. Select a card to view its graph and a one-sentence geometric clue.
Guided problems · Functions and Notation
Try original questions based on the new visual labs. Reveal hints, check explanations, and generate another set. Ungraded practice stays inside Section 3.1.
Check your understanding · Functions and Notation
Answer each question on paper first, then open the answer to check yourself.
How do we decide whether a relation is a function from a set of ordered pairs, a table, or a graph?
Show answer
Ordered pairs or a table: look at the inputs. If any input appears with two different outputs, it is not a function. Graph: use the vertical line test. If some vertical line meets the graph more than once, it is not a function.
In g = h(p), what is the independent variable (input)? What is the dependent variable (output)?
Show answer
h is the name of the function, p is the input (independent variable), and g — also written h(p) — is the output (dependent variable).
If f(x) = 3x² − 7, how do we find f(−2)?
Show answer
Substitute −2 for x, with parentheses: f(−2) = 3(−2)² − 7 = 3(4) − 7 = 12 − 7 = 5.
For the same function, how do we solve f(x) = 5?
Show answer
Set 3x² − 7 = 5. Then 3x² = 12, so x² = 4 and x = −2 or x = 2. Check: f(−2) = f(2) = 5. Two inputs share this output.
Using a graph, how do we find f(0) and f(2)? How do we solve f(x) = 9 and f(x) = 0?
Show answer
To find f(0) or f(2), start at that x-value, move vertically to the graph, and read the y-value. To solve f(x) = 9, draw the horizontal line y = 9 and read the x-value of every point where it meets the graph. To solve f(x) = 0, read every x-value where the graph meets the x-axis.