Module 3 · Functions · Lesson 16 of 84
Functions and function notation
What makes a relation a function, f(x) notation, tables, the vertical line test and the toolkit functions.
In this lesson · about 20 minutes
- Decide whether a relation is a function
- Use and evaluate function notation
- Read functions from tables and graphs
- Use the vertical and horizontal line tests
- Recognise the toolkit functions
A relation is any set of input-output pairs. A function is a special relation where each input has exactly one output.
- Each student → their student ID number: a function. Every student has one ID.
- Each person → their phone numbers: not a function. One person can have several numbers.
- Each day → the high temperature: a function. Different days can share a temperature; that's fine. What matters is that no input has two outputs.
The set of inputs is the domain and the set of outputs is the range.
Function notation
We name functions with letters and write f(x), read "f of x", for the output when the input is x. It does not mean f times x. If f(x) = x² + 1, then f(3) = 3² + 1 = 10: "f takes 3 to 10". The point (3, 10) is on the graph of f.
To evaluate f(a + h) or f(−x), replace every x with the whole expression, in brackets: f(a + h) = (a + h)² + 1.
Try it · interactive
Function machine and toolkit functions
Pick a toolkit function, feed it an input, and build a table of values. The dashed line is the vertical line test.
| x | f(x) |
|---|---|
| −2 | 4 |
| −1 | 1 |
| 0 | 0 |
| 1 | 1 |
| 2 | 4 |
Domain
(−∞, ∞)
Range
[0, ∞)
The grey dashed line is the vertical line test: wherever you slide x, it crosses the graph at most once, so this is a function.
Whiteboard · watch and try
The vertical line test
Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.
The toolkit functions
A small family of functions appears again and again. Learn their shapes and you can sketch hundreds of others by shifting and stretching them.
| Name | Function | Shape |
|---|---|---|
| Constant | f(x) = c | Horizontal line |
| Identity | f(x) = x | Line through the origin, slope 1 |
| Absolute value | f(x) = |x| | V shape |
| Quadratic | f(x) = x² | U-shaped parabola |
| Cubic | f(x) = x³ | S-shaped curve |
| Reciprocal | f(x) = 1/x | Two branches, never touching the axes |
| Reciprocal squared | f(x) = 1/x² | Two branches, both above the x-axis |
| Square root | f(x) = √x | Half a sideways parabola, starting at the origin |
| Cube root | f(x) = ∛x | A sideways S through the origin |
Loading practice…
Sorting drill
Function or not?
Decide whether each relation is a function of the input.
- Each car → its licence plate
- Each mother → her children
- {(1, 4), (2, 4), (3, 9)}
- {(2, 5), (2, 7), (3, 1)}
- y = 3x − 2
- y² = x
- Each time of day → the temperature outside
0 of 7 sorted
Check your understanding0 of 5 correct
Key terms
Say the meaning to yourself, then tap a card to check.
Quiz score: 0 of 5
Practice sets mastered: 0 of 1
Based on Algebra and Trigonometry 2e by Jay Abramson and others (OpenStax, Rice University), openstax.org/details/books/algebra-and-trigonometry-2e, licensed under CC BY-NC-SA 4.0. Noviq Academy rewrote and reorganized the material in its own words and added its own examples, whiteboard lessons, tools and quizzes; this adapted course is free and shared under the same license. Not endorsed by OpenStax or Rice University. Read-aloud and the whiteboard voice use your device's built-in voices, so the voice varies by device.