Functions
Functions, Mappings and Domains

You are already familiar with the idea of a function. Here we make the concept more formal with a number of definitions that we will introduce. We illustrate the definitions using examples, including the formula that relates pressure to volume:

p =

Here p is the pressure of a gas, v is its volume and k is a constant.

Worked Examples

1

If p = , use the mapping diagram opposite to show how v maps to p for 1 ≤ v ≤ 10.

Show me

Clearly if

v = 1,p = = 10
v = 2,p = = 5
v = 5,p = = 2
v = 10,p = = 1

We can illustrate this mapping.

In fact, for any value 1 ≤ v ≤ 10, we can map v to p.

For example,

v = 4, p = = , etc.

Notes

1. The set of values of v, defined here as 1 ≤ v ≤ 10, is called the DOMAIN of the mapping.
2. The set of values of p that v maps onto is known as the RANGE; here the range is also 1 ≤ p ≤ 10.
3. For every value of v in its domain, there is a unique value of p. This is called a 1 : 1 mapping.
2

For the function y = f(x) = x2, −5 ≤ x ≤ 5, complete a similar mapping diagram.

Show me

Here, notice that

f(−5) = (−5)2 = 25

f(−2) = (−2)2 = 4

f(0) = 0

f(5) = 25

etc.

We can complete the mapping opposite for some of the values.

Notes

1. In this example, apart from 0 (which maps to 0), there are two values which both map to the same value. For example, +2 and −2 both map to 4. This is NOT a 1 : 1 mapping.
2. As well as the notation y = f(x) for a function, we can also use the mapping notation

f : x → x2

3

If f is defined by

f : x → x3 − x

what are the values of

(a)

f(−1)

Show me f(−1) = (−1)3 − (−1) = −1 + 1 = 0
(b)

f(0)

Show me f(0) = 03 − 0 = 0
(c)

f(1)

Show me f(1) = 13 − 1 = 1 − 1 = 0
(d)

f(5) ?

Show me f(5) = 53 − 5 = 125 − 5 = 120

Note

This is not a 1 : 1 mapping as f(−1) = f(0) = f(1).
This can be seen in a sketch of the function, as below.

Exercises

f : x → x2 − 1, −3 ≤ x ≤ 3

Complete a mapping diagram for integer values in the domain.

(a)

What is the range?

f(x)
(b)

Is this a 1 : 1 mapping?

If f is defined by

f : x → (x ≠ 1)

what are the values of

(a)
f(−2)
(b)
f(−1)
(c)
f(0)
(d)
f(2)
(e)
f(3) ?

f : x →

(a)

What is the value of

(i)
f(−2) ?
(ii)
f(0) ?
(iii)
f(2) ?
(b)

Find the value of x for which f(x) = 4.

x =

f is a function defined by the equation

f : x → x2 + 2

Find the value of

(a)
f(2) ?
(b)
f(−1) ?
(c)
f(0) ?
(d)
f(a2) ?
(e)
f(1 − a) ?

(where a is a constant real number).

f : x → 1 − x2

(a)

What are the values of

(i)
f(−2) ?
(ii)
f(−1) ?
(iii)
f(0) ?
(iv)
f(1) ?
(v)
f(2) ?
(b)

Find the value of x for which f(x) = −8.

x = or x =