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 = 2f(x) = x²4
xf(x)
−24
−11
00
11
24
−4−3−2−11234−4−3−2−11234(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

5 steps
Press Play and the tutor will talk you through it while writing on the board. Pause any time to write on the board yourself.

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.

NameFunctionShape
Constantf(x) = cHorizontal line
Identityf(x) = xLine through the origin, slope 1
Absolute valuef(x) = |x|V shape
Quadraticf(x) = x²U-shaped parabola
Cubicf(x) = x³S-shaped curve
Reciprocalf(x) = 1/xTwo branches, never touching the axes
Reciprocal squaredf(x) = 1/x²Two branches, both above the x-axis
Square rootf(x) = √xHalf a sideways parabola, starting at the origin
Cube rootf(x) = ∛xA 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

Question 1

1.If g(x) = 5 − 2x, what is g(−3)?

Question 2

2.If f(x) = x², what is f(a + 1)?

Question 3

3.If f(x) = 2x + 1, for which x is f(x) = 9?

Question 4

4.Which toolkit function is V-shaped?

Question 5

5.A graph fails the horizontal line test. That means it is…

Key terms

Say the meaning to yourself, then tap a card to check.

Quiz score: 0 of 5

Practice sets mastered: 0 of 1

Tip: answer every quiz question correctly first.

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.