mst124 Unit3 E1i1 PDF
mst124 Unit3 E1i1 PDF
Functions
Introduction
Introduction
In mathematics you often work with situations in which one quantity
depends on another. For example:
• The distance walked by a woman at a particular speed depends on the
time that she’s been walking.
• The height of a gondola on a Ferris wheel depends on the angle
through which the wheel has rotated since the gondola was in its
lowest position.
• The number of 5-litre tins of a particular type of paint needed by a
decorator depends on the area that he intends to paint.
Whenever one quantity depends on another, we say that the first quantity
is a function of the second quantity. The idea of a function is
fundamental in mathematics, and in particular it forms the foundation for
calculus, which you’ll begin to study in Unit 6.
In this unit you’ll be introduced to the terminology and notation that are
used for functions. You’ll learn about some standard, frequently-arising
types of functions, and how to use graphs to visualise properties of A Ferris wheel
functions. You’ll also learn how you can use your knowledge about a few
standard functions to help you understand and work with a wide range of
related functions. Later in the unit you’ll revise exponential functions and
logarithms, and practise working with them. In the final section you’ll
revise inequalities, and see how working with functions and their graphs
can help you understand and solve some quite complicated inequalities.
This is a long unit. The study calendar allows extra time for you to
study it.
201
Unit 3 Functions
Let X = {1, 2, 3, 4} and let Y be the set of all odd integers. Which of the
following statements are true?
(a) 1 ∈ X (b) 1 ∈ Y (c) 2 .∈ X (d) 2 .∈ Y
It’s often useful to construct ‘new sets out of old sets’. For example, if A
and B are any two sets, then you can form a new set whose members are
all the objects that belong to both A and B. This set is called the
intersection of A and B, and is denoted by A ∩ B. For instance, if
A = {1, 2, 3, 4} and B = {3, 4, 5},
202
1 Functions and their graphs
then
A ∩ B = {3, 4}.
Similarly, if A and B are any two sets, then you can form a new set whose
members are all the objects that belong to either A or B (or both). This
set is called the union of A and B, and is denoted by A ∪ B. For example,
if A and B are as specified above, then
A ∪ B = {1, 2, 3, 4, 5}.
A B A B
1 3 1 3
5 5
2 4 2 4
(a) (b)
Figure 1 (a) The intersection (shaded) and (b) the union (shaded) of two
sets
Venn diagrams are named after the logician John Venn, who used
them in publications starting in 1880. However, the idea of using
diagrams in this way did not originate with Venn. The prolific Swiss
mathematician Leonhard Euler (pronounced ‘oiler’) used them in his
Letters to a German Princess (1760–62). Venn acknowledged Euler’s
influence by calling his own diagrams ‘Eulerian circles’. He extended
Euler’s idea, using the diagrams to analyse more complex logical
problems. As well as working on logic at Cambridge University, Venn
was for some time a priest and later a historian. There is more about
Euler on page 214.
203
Unit 3 Functions
Let P = {1, 2, 3, 4, 5, 6}, let Q = {2, 4, 6, 8, 10, 12} and let R be the set of
all integers divisible by 3. Specify each of the following sets.
(a) P ∩ Q (b) Q ∩ R (c) P ∩ Q ∩ R (d) P ∪ Q
You saw in Unit 1 that you can visualise the real numbers as points on an
infinitely long straight line, called the number line or the real line. Part
of the number line is shown in Figure 3. Although only the integers are
marked in the diagram, every point on the line represents a real number.
− 10 − 9 − 8 − 7 − 6 − 5 − 4 − 3 − 2 − 1 0 1 2 3 4 5 6 7 8 9 10
204
1 Functions and their graphs
You can use the number line to visualise sets of real numbers. For example:
• Figure 4(a) shows the set {−1, 0, 1}.
• Figure 4(b) shows the set of real numbers that are greater than or
equal to 2 and also less than or equal to 6.
• Figure 4(c) shows the set of real numbers that are greater than −5.
1
• Figure 4(d) shows the set of real numbers that are less than 2 or
greater than or equal to 3.
In these kinds of diagrams, a solid dot indicates a number that’s included
in the set, and a hollow dot indicates a number that isn’t included. A
heavy line that continues to the left or right end of the diagram indicates
that the set extends indefinitely in that direction.
−3−2−1 0 1 2 3 0 1 2 3 4 5 6 7 8
(a) (b)
−7−6−5−4−3−2−1 −3−2−1 0 1 2 3 4 5
1
2
(c) (d)
205
Unit 3 Functions
State whether each of the sets below is an interval. For each set that is an
interval, state whether it’s open, closed or half-open.
(a) (b)
−3−2−1 0 1 2 3 −3−2−1 0 1 2 3
(c) (d)
−3−2−1 0 1 2 3 −3−2−1 0 1 2 3
(e) (f)
−3−2−1 0 1 2 3 −3−2−1 0 1 2 3
(g) (h)
−3−2−1 0 1 2 3 −3−2−1 0 1 2 3
Inequality signs
< is less than
≤ is less than or equal to
> is greater than
≥ is greater than or equal to
For example, the interval in Figure 6(a) is the set of real numbers x such
that x > 2 (that is, such that x is greater than 2).
Similarly, the interval in Figure 6(b) is the set of real numbers x such that
x > 1 and x ≤ 4 (that is, such that x is greater than 1 and x is less than or
equal to 4). We usually write this description slightly more concisely, as
follows: the interval is the set of real numbers x such that 1 < x ≤ 4 (that
is, such that 1 is less than x, which is less than or equal to 4).
206
1 Functions and their graphs
0 1 2 3 4 5 6 7 −1 0 1 2 3 4 5 6
(a) (b)
Figure 6 Intervals
It might help you to remember the meanings of the inequality signs if you
notice that when you use either of the signs < or >, the lesser quantity is
on the smaller, pointed side of the sign. The same is true for the signs ≤
and ≥, except that one quantity is less than or equal to the other, rather
than definitely less than it.
The statement ‘x > 2’ is called an inequality. In general, an inequality is
a mathematical statement that consists of two expressions with an
inequality sign between them. A statement such as ‘1 < x ≤ 4’ is called a
double inequality. The two inequality signs in a double inequality
always point in the same direction as each other.
(i) (ii)
−3−2−1 0 1 2 3 4 5 6 −5−4−3−2−1 0
(iii) (iv)
−4−3−2−1 0 1 −5−4−3−2−1 0 1
(v) (vi)
−1 0 1 2 3 4 5 6 7 2 3 4 5 6 7 8
207
Unit 3 Functions
Interval notation
Open intervals
(a, b) (a, ∞) (−∞, b) (−∞, ∞)
❝ ❝ ❝ ❝
a b a b
a<x<b x>a x<b R
Closed intervals
[a, b] [a, ∞) (−∞, b] (−∞, ∞) {a}
! ! ! ! !
a b a b
a≤x≤b x≥a x≤b R x=a
Notice that you’ve now seen two different meanings for the notation (a, b),
where a and b are real numbers. It can mean either an open interval, or a
point in the coordinate plane. The meaning is usually clear from the
context.
(a) (b)
−3−2−1 0 1 2 3 4 5 6 −5−4−3−2−1 0
(c) (d)
−4−3−2−1 0 1 −5−4−3−2−1 0 1
(e) (f)
−1 0 1 2 3 4 5 6 7 2 3 4 5 6 7 8
Sometimes you need to work with sets of real numbers that are unions of
intervals, like those in Figure 7.
208
1 Functions and their graphs
−2−1 0 1 2 3 4 5 −1 0 1 2 3 4 5 6 7 8 9
(a) (b)
For each of the following diagrams, write the set illustrated in interval
notation.
−8−7−6−5−4−3−2−1 0 1 2 3
(a)
0 1 2 3 4 5 6 7 −3−2−1 0 1 2 3
(b) (c)
It’s often useful to state that a particular number lies in, or doesn’t lie in, a
particular interval or union of intervals. You can do this concisely using the
symbols ∈ and .∈ in the usual way. For example, as illustrated in Figure 8,
−1 0 1 2 3 4 5
1 ∈ [0, 4] and − 1 .∈ [0, 4].
209
Unit 3 Functions
• The formula
C = 2πr
expresses the circumference C of a circle in terms of its radius r (with
both C and r measured in the same units). So the value of C depends
on the value of r, and hence C is a function of r.
• The electrical voltage between two points on a person’s skin either
side of his or her heart (which can be measured using electrodes)
changes rhythmically with every heartbeat. So the voltage V (in volts,
say) depends on the time t (in seconds, say) that has elapsed since
some point in time, and hence V is a function of t. There’s no simple
formula for the relationship between t and V , but it’s often displayed
as an electrocardiogram (ECG), like the one in Figure 9.
Figure 9 In each of these examples, there’s a rule that converts each value of one
An electrocardiogram variable (such as t, in the car example) to a value of the other variable
(each high peak in voltage (such as s, in the car example). You can think of the rule as a kind of
corresponds to a heartbeat) processor that takes input values and produces output values, as
illustrated in Figure 10.
210
1 Functions and their graphs
211
Unit 3 Functions
(a) Suppose that f is the function whose domain and codomain each
consist of all the real numbers, and whose rule is f (t) = 4t. Write
down the values of f (5) and f (−3).
(b) Suppose that g is the function whose domain and codomain each
consist of all the real numbers, and whose rule can be written in words
as ‘multiply the input number by 2 and then subtract 1’. Write down
the rule of g using the notation g(x).
the image set consists of all the values that have arrows going in to them,
and that (for this particular function f ) the codomain contains other
values too.
codomain
domain
2 image set
1 4
2 6
3 8
10
f
image of x under f,
value of f at x
Figure 11 A function f illustrated by a mapping diagram
Here’s some more terminology associated with functions. If f is a function,
and x is any value in its domain, then the value f (x) is called the image x f (x)
of x under f , or the value of f at x. This is illustrated in Figure 12. We
also say that f maps x to f (x).
For example, f (2) = 4 for the function f in Figure 11 above, so we can say f
that the image of 2 under f is 4, or f takes the value 4 at 2, or f maps 2
to 4.
Figure 12 The image of a
value x under a function f
Activity 8 Understanding function terminology
Suppose that f is the function whose domain and codomain each consist of
all the real numbers, and whose rule is f (t) = 4t. Write down the following
numbers.
(a) The image of 2 under f
(b) The image of −1 under f
(c) The value of f at 0.5
(d) The value of f at −0.2
(e) The number whose image under f is 44
(f) The number whose image under f is 1
(g) The number to which f maps 4
(h) The number that is mapped by f to −8
In this module you’ll be working only with functions whose domains and
codomains are sets of real numbers. Such functions are called real
functions. You can also have other types of functions, such as a function
whose domain and/or codomain is a set of another type of numbers
(complex numbers, for instance), or a set of points in the plane. You’ll
213
Unit 3 Functions
In this module:
• we use the word ‘function’ to mean ‘real function’
• we take the codomain of every function to be the whole set of
real numbers, since this set contains every possible output value.
These assumptions allow you to specify any function by stating its domain
and its rule. It’s important to remember that to specify a function, a
domain must be stated, as well as a rule. Two functions with the same rule
but different domains are different functions.
214
1 Functions and their graphs
√
is such a function: its domain is as large as it can be, because x is
defined only for non-negative values of x. We’ll usually specify a function
like this by stating just its rule. This is because of the following
convention, which is widely used in mathematics.
Domain convention
When a function is specified by just a rule, it’s understood that the
domain of the function is the largest possible set of real numbers for
which the rule is applicable.
For example, if you read ‘the function h(x) = 1/x’, and no domain is
stated, then you can assume that the domain of h is the set of all real
numbers except 0.
Notice that we say, for example, ‘the function h(x) = 1/x’, when we really
mean ‘the function h with rule h(x) = 1/x’. This is another convenient
convention, which is used throughout this module and throughout
mathematics in general.
Describe the domain of each of the following functions, both in words and
using interval notation.
1 1 √
(a) f (x) = (b) g(x) = (c) h(x) = x − 1
x−4 (x − 2)(x + 3)
215
Unit 3 Functions
Piecewise-defined functions
Sometimes it’s useful to specify the rule of a function by using different
formulas for different parts of its domain. For example, you can specify a
function f as follows:
, 2
x (x ≥ 0)
f (x) =
x + 5 (x < 0).
To find the image of a number x under this function f , you use the rule
f (x) = x2 if x is greater than or equal to zero, and the rule f (x) = x + 5
if x is less than zero. For example,
f (2) = 22 = 4 and f (−2) = −2 + 5 = 3.
A function defined in this way is called a piecewise-defined function.
Such piecewise-defined functions can be used to construct curves with a
great variety of shapes, so they are used extensively in the design of
objects such as car bodies and roads.
216
1 Functions and their graphs
For example, the graph of the function f (x) = x2 + 1 is the graph of the
equation y = x2 + 1, which is shown in Figure 13(a).
Similarly, the graph of the function g(x) = x2 + 1 (0 < x ≤ 2) is the graph
of the equation y = x2 + 1 for values of x in the interval (0, 2], which is
shown in Figure 13(b).
y y
6 6
5 5
4 4
3 y = x2 + 1 3 y = x2 + 1
(0 < x ≤ 2)
2 2
1 1
−3 −2 −1 1 2 3 x −3 −2 −1 1 2 3 x
(a) (b)
s
200
150
100 s = f (t)
50
0 1 2 3 t
(a) (b)
217
Unit 3 Functions
The graph of a function is normally drawn with the input numbers on the
horizontal axis and the output numbers on the vertical axis. (So, if the
axes are labelled with variables, then the variable on the horizontal axis is
the independent variable, and the variable on the vertical axis is the
dependent variable.) In this module we’ll assume that graphs of functions
are always drawn like this.
You can ‘read off’ the output number corresponding to any particular
input number by drawing a vertical line from the input number on the
horizontal axis to the graph and then a horizontal line across to the
vertical axis. For example, for the function f whose graph is shown in
Figure 15, the value of f (3) is about 5.
y
12
10 y = f (x)
8
6
4
2
− 4 − 3 − 2 − 1− 2 1 2 3 4 5 6 7 x
If you use a table of values to plot the graph of a function whose domain
isn’t the whole set of real numbers, remember to choose input values that
lie in the domain, and to make sure that you don’t extend the graph
beyond the endpoints of the domain. Where appropriate, you should mark
the ends of the graph with solid or hollow dots.
A quicker way to obtain a graph of a function is to use a computer. You
can learn how to do that in the next activity.
218
1 Functions and their graphs
219
Unit 3 Functions
So the parabola has vertex (4, 2). Also, since the expression
1 2
4 (x − 4) + 2 is always positive, the parabola has no x-intercepts. Its
y-intercept is 6.
The endpoints of the domain of f are 5 and 7. We have
f (5) = 1
4 × 52 − 2 × 5 + 6 = 9
4 and
f (7) = 1
4 × 72 − 2 × 7 + 6 = 17
4 .
(0; 6)
(7; 17
4 )
(5; 94 )
(4; 2)
x
Erase the parts of the graph that don’t lie between the points
(5, 94 ) and (7, 17
4 ) (or draw a new graph).
So the graph of f is as follows.
y
y = 41 x2 − 2x + 6
(5 ≤ x < 7)
(7; 17
4 )
(5; 94 )
With a little practice, you should be able to sketch the graph of a function
like the one in Example 1 without having to sketch a larger graph first. It’s
straightforward to do this for a simple graph, such as a straight line.
220
1 Functions and their graphs
You can use the graph of a function to visualise its domain on the
horizontal axis. The domain consists of all the possible input numbers of
the function, that is, all points on the horizontal axis that lie directly
below or above a point on the graph, as illustrated in Figure 16.
Write down the domains of the functions whose graphs are shown below,
using interval notation. All the endpoints of the intervals involved are
integers, and in part (b) the graph continues indefinitely to the left and
right.
(a) (b)
y y
1 2
1
1 2 3 4 x
−1
−5 −4 −3 −2 −1 1 2 x
As you’ve seen, a function has exactly one output number for every input
number. So if you draw the vertical line through any number in the
domain of a function on the horizontal axis, then it will cross the graph of
221
Unit 3 Functions
the function exactly once, as illustrated in Figure 17(a). If you can draw a
vertical line that crosses a curve more than once, then the curve isn’t the
graph of a function. For example, the curve in Figure 17(b) isn’t the graph
of a function.
y y
x x
(a) (b)
Figure 17 (a) The graph of a function (b) a curve that isn’t the graph of
a function
x x x x
x x x x
x x x x
222
1 Functions and their graphs
y
6
5
4
3
2
1
− 3− 2−−1 1 1 2 3 4 5 6 7 8 9 10 11 12 x
−2
223
Unit 3 Functions
y y
y = f (x) y = f (x)
f (x2 ) f (x1 )
f (x1 ) f (x2 )
I I
x 1 x2 x x1 x2 x
y (a) (b)
4
3
Figure 19 (a) A function increasing on an interval I (b) a function
2
decreasing on an interval I
1
For example, the function f (x) = x2 , whose graph is shown in Figure 20, is
− 3− 2− 1 1 2 3 x decreasing on the interval (−∞, 0] and increasing on the interval [0, ∞).
Which of the following graphs show functions that are increasing on their
whole domains?
x x x x
224
1 Functions and their graphs
The image set consists of all the possible output numbers, that is, all the
points on the vertical axis that lie directly to the right or left of a point on
the graph, as illustrated in Figure 21(b).
y y
x x
(a) (b)
225
Unit 3 Functions
Also
f (−6) = (−6)2 + 6 × (−6) + 14 = 14 and
f (2) = 22 + 6 × 2 + 14 = 30.
So the graph stops at the points (−6, 14) and (2, 30), both of which
are excluded.
These features give the following graph.
y
30 (2; 30)
y = x2 + 6x + 14
(− 6; 14)
(− 3; 5) 5
x
The graph shows that the smallest value in the image set is the
y-coordinate of the vertex, and that the image set contains all the
values larger than this number, up to but not including f (2).
The graph shows that the image set of f is [5, 30).
You might have expected that if the domain of a function f is the interval
(−6, 2), then its image set is the interval (f (−6), f (2)). Example 2 shows
that this isn’t necessarily true.
226
1 Functions and their graphs
Linear functions
First consider any function whose rule is of the form
f (x) = mx + c,
where m and c are constants. Its graph is the graph of the equation
y = mx + c, which, as you saw in Unit 2, is the straight line with
gradient m and y-intercept c. For this reason, any function of the form
above is called a linear function.
Figure 22 shows the graphs of some linear functions.
y y y
3 3 3
2 2 2
1 1 1
227
Unit 3 Functions
Quadratic functions
From what you saw in Unit 2, you also know that the graph of any
function of the form
f (x) = ax2 + bx + c, (2)
where a, b and c are constants with a .= 0, is a parabola. You saw how to
find various features of the parabola, such as its vertex and intercepts,
from the values of a, b and c. Any function whose rule is of form (2) is
called a quadratic function. The graphs of some quadratic functions are
shown in Figure 23.
y y y
3 3 3
2 2 2
1 1 1
Polynomial functions
Linear functions and quadratic functions are particular types of polynomial
functions. Here are some more polynomial functions:
f (x) = 2x4 − 5x3 + x2 + 2x − 2
g(x) = x3
h(x) = − 71 x7 + 13 x6 + x5 − 52 x4 − 43 x3 + 4x2 + 1.
228
1 Functions and their graphs
y y y
3 3 3
2 2 2
1 1 1
230
1 Functions and their graphs
y
3
2
1
− 3− 2− 1 1 2 3 x
y
4
3
2
1
− 4− 3− 2−−1 1 1 2 3 4 x
−2
−3
−4
231
Unit 3 Functions
value of 1/x gets larger and larger. The shape of the piece of the graph to
the left of the y-axis, for negative values of x, has a similar explanation:
you might like to think it through.
If a curve has the property that, as you trace your pen tip along it further
and further from the origin, it gets arbitrarily close to a straight line, then
that line is called an asymptote of the curve. The phrase ‘arbitrarily
close’ here has the following meaning: no matter how small a distance you
choose, if you trace your pen tip along the curve far enough, then
eventually the curve lies within that distance of the line, and stays within
that distance of the line.
So the coordinate axes are asymptotes of the graph of the reciprocal
function. Asymptotes are often drawn as dashed lines on graphs, when
they don’t coincide with the coordinate axes.
Rational functions
The reciprocal function and all polynomial functions are particular
examples of rational functions. In general, a rational function is a
function whose rule is of the form
p(x)
f (x) = ,
q(x)
where p and q are polynomial functions. If q is a constant function, then f
is a polynomial function, and if p(x) = 1 and q(x) = x, then f is the
reciprocal function. Here are some more examples of rational functions:
x2 + 1 2x2 − 6x − 8 7x + 5
f (x) = , f (x) = , f (x) = .
2x + 4 x2 − x − 6 x2 + 1
The graphs of these rational functions are shown in Figure 27. The dashed
lines are asymptotes. The third graph has the x-axis as an asymptote.
232
2 New functions from old functions
y y y
8 8 8
6 6 6
4 4 4
2 2 2
x2 + 1 2x2 − 6x − 8
Figure 27 The graphs of (a) f (x) = (b) f (x) = 2
2x + 4 x −x−6
7x + 5
(c) f (x) =
x2 + 1
Every rational function has a graph that consists of one or more pieces,
each of which is a smooth curve. The graphs of many rational functions
have asymptotes, which can be horizontal, vertical or slant. For example,
the graph in Figure 27(a) has one vertical asymptote and one slant
asymptote.
A detailed study of the graphs of rational functions is beyond the scope of
this module, but you can learn more about them in the follow-on module
to this one, Essential mathematics 2 (MST125).
233
Unit 3 Functions
Open the Translating and scaling graphs applet. Make sure that the
y = f (x) + c option is selected, and that the original function is f (x) = x2 .
Change the value of c to display the graph of y = x2 + c for various values
of c, and observe how the new graphs are related to the original graph. In
particular, notice the effect of positive values of c, and the effect of
negative values of c.
Now change the original function to a different function of your choice, and
repeat the process above.
In Activity 19 you saw that if you replace every occurrence of the input
variable x in the right-hand side of the rule of a function by the expression
x − c, where c is a constant, then the graph of the function is translated
horizontally. Specifically it’s translated to the right by c units (the
234
2 New functions from old functions
y
(x − 3; y) (x; y)
3
2
1
−2 −1 1 2 3 4 5 x
235
Unit 3 Functions
y
(x − c; y) (x; y)
Figure 30 The graph of an equation of the form y = f (x), and the graph
obtained by translating it by c units to the right, where c > 0
This reasoning explains the effects that you saw in Activity 19.
Here’s a summary of what you’ve seen so far in this subsection.
Translations of graphs
Suppose that f is a function and c is a constant. To obtain the graph
of:
• y = f (x) + c, translate the graph of y = f (x) up by c units (the
translation is down if c is negative)
• y = f (x − c), translate the graph of y = f (x) to the right by c
units (the translation is to the left if c is negative).
y y = f (x) + c; c > 0
y = f (x) + c; c < 0
236
2 New functions from old functions
Now suppose that you change the rule of a function in such a way that its
graph is translated horizontally, and then you change the rule of the new
function in such a way that its graph is translated vertically. The final
result is that the graph of the original function is translated both
horizontally and vertically. For example, consider the equation y = x2 ,
whose graph is shown in Figure 33(a). If you replace x by x − 4, then you
obtain the equation
y = (x − 4)2 ,
and the graph is translated to the right by 4 units, as shown in
Figure 33(b). If you now add the constant 2, then you obtain the equation
y = (x − 4)2 + 2,
and the original graph is now translated to the right by 4 units and up by
2 units, as shown in Figure 33(c).
y = x2 y = (x − 4)2 y = (x − 4)2 + 2
y y y
8 8 8
6 6 6
4 4 4
2 2 2
− 4− 2 2 4 6 x − 4− 2 2 4 6 x − 4− 2 2 4 6 x
(a) (b) (c)
In general, suppose that you start with an equation y = f (x). If you first
replace x by x − c, where c is a constant, then you obtain the equation
y = f (x − c), and the graph is translated to the right by c units. If you
then add the constant d to the right-hand side, then you obtain the
equation
y = f (x − c) + d,
and the original graph is translated to the right by c units and up by d
units.
In fact, the order in which you make the two changes doesn’t matter. One
way to see this is to think about the situation geometrically. If you
translate a graph to the right by c units and then up by d units, then the
overall effect will be the same as if you had translated it up by d units and
then to the right by c units. You can also confirm it algebraically, as
follows. Suppose that you carry out the two changes to the equation
y = f (x) in the opposite order to the order used above. Adding d to the
right-hand side of the equation y = f (x) gives the equation y = f (x) + d,
and then replacing x in this equation by x − c gives the final equation
y y = f (x − c) + d, which is the same as the final equation obtained above.
4
2 Activity 21 Understanding successive horizontal and vertical
translations of graphs
−4 −2 2 4 x
−2 You saw the graph of y = |x| in the previous section, and it’s repeated in
−4 Figure 34. Using this graph, and without using a computer, match up the
equations below with their graphs.
(a) y = |x − 2| + 1 (b) y = |x + 2| + 1 (c) y = |x − 2| − 1
Figure 34 The graph of (d) y = |x + 2| − 1
y = |x|
Graphs:
y y y y
A 4 B 4 C 4 D 4
2 2 2 2
238
2 New functions from old functions
In the Translating and scaling graphs applet, select the y = cf (x) option,
and make sure that the original function is f (x) = x2 − 1.
Change the value of c to display the graph of y = c(x2 − 1) for various
values of c, and observe how the new graphs are related to the original
graph. In particular, notice the effect of positive values of c, and the effect
of negative values of c. Also notice the effect of values of c such that
|c| < 1, and the effect of values of c such that |c| > 1.
Now change the original function to y = x3 , and repeat the process above.
If you wish, also try another function of your choice as the original
function.
The effects that you saw in Activity 22 are called vertical scalings.
Scaling a graph vertically by a factor of c means the following.
• If c is positive, then move each point on the graph vertically, in the
direction away from the x-axis, until it’s c times as far from the x-axis
as it was before.
• If c is negative, then move each point on the graph vertically, in the
direction away from the x-axis, until it’s |c| times as far from the
x-axis as it was before, and then reflect it in the x-axis.
• If c is zero, then move each point on the graph vertically until it lies
on the x-axis.
(In each of the first two cases, if |c| is less than 1, then each point is
actually moved closer to the x-axis than it was before.)
Informally, when you scale a graph vertically by a factor of c, you stretch
or squash it parallel to the y-axis (depending on whether |c| is greater than
or less than 1), and if c is negative, you also reflect it in the x-axis.
In Activity 22 you should have seen evidence of the following.
239
Unit 3 Functions
These effects are illustrated in Figure 35. They occur because when you
multiply the right-hand side of the rule of a function by the constant c, the
y-value corresponding to each x-value is multiplied by c.
y = cf (x); c > 1
y = f (x)
y = cf (x); 0 < c < 1
x
y = cf (x); − 1 < c < 0
y = − f (x)
y = cf (x); c < − 1
− 3− 2−−11 1 2 3 x
Activity 23 Understanding vertical scalings of graphs
−2
−3
You saw the graph of y = x3 in Subsection 1.6, and it’s repeated in
Figure 36. Using this graph, and without using a computer, match up the
equations below with their graphs.
Figure 36 The graph of
y = x3 (a) y = 2x3 (b) y = 12 x3 (c) y = −x3 (d) y = − 21 x3
Graphs:
y y y y
A 3 B 3 C 3 D 3
2 2 2 2
1 1 1 1
240
2 New functions from old functions
You can combine vertical scalings of graphs with vertical and/or horizontal
translations of graphs, in the same way that horizontal and vertical
translations of graphs were combined in the previous subsection. For
example, suppose that you start with the equation y = x3 , whose graph is
shown in Figure 37(a). If you multiply the right-hand side of this equation
by 4, then you obtain the equation y = 4x3 , and the graph is scaled
vertically by a factor of 4, as illustrated in Figure 37(b). If you then add
the constant 1 to the right-hand side of this new equation, then you obtain
the final equation y = 4x3 + 1, and the original graph is first scaled
vertically by a factor of 4, then translated up by 1 unit, as illustrated in
Figure 37(c).
y y y
4 4 4
y = x3 y = 4x3 y = 4x3 + 1
2 2 2
y y y
4 4 4
y = x3 y = x3 + 1 y = 4(x3 + 1)
2 2 2
241
Unit 3 Functions
In general, you can make any number of successive changes to the rule of a
function to scale and translate its graph in various ways, but you have to
be careful about the order in which you carry out the changes. Sometimes
the order matters, and sometimes it doesn’t.
If you change the rule of a function to carry out a horizontal translation, a
vertical translation and a vertical scaling, then you can make the changes
in any order, except that the changes for the vertical translation and
vertical scaling must be made in the correct order relative to each other.
242
2 New functions from old functions
Figure 39 shows the graph of the function f (x) = x3 and the results of
applying the scalings and translations in Example 3 to this graph.
y = x3 y = 12 x3 y = 21 (x + 3)3 y = 12 (x + 3)3 − 2
y y y y
4 4 4 4
2 2 2 2
y
Activity 24 Understanding successive scalings and translations of
graphs 3
2
For each of the following functions, describe how you could obtain its 1
graph by applying scalings and translations to the graph of the function
f (x) = |x| (which is shown in Figure 40). − 3− 2−−1 1 1 2 3 x
y
Activity 25 Understanding the graph of a quadratic function 4
3
Consider the quadratic function f (x) = 2x2 + 12x + 19. 2
(a) Complete the square in the quadratic expression on the right-hand 1
side.
− 3− 2− 1 1 2 3 x
(b) Hence describe how you could obtain the graph of this function by
applying scalings and translations to the graph of the function
f (x) = x2 (which is shown in Figure 41). Figure 41 The graph of
y = x2
243
Unit 3 Functions
You can see that the method that you were asked to use in Activity 25 can
be applied to any quadratic function. You just need to start by completing
the square in the quadratic expression that forms the right-hand side of its
rule.
This tells you the following enlightening fact: the graph of any quadratic
function is the same basic shape as the graph of y = x2 , but scaled
vertically, and then translated horizontally and/or vertically.
*x(
Activity 26 Investigating graphs of equations of the form y = f
c
In the Translating and scaling graphs applet, select the y = f (x/c) option,
and make sure that the original function is y = x3 .
Change the value of c to display the graph of y = (x/c)3 for various
non-zero values of c, and observe how the new graphs are related to the
original graph. In particular, notice the effect of positive values of c, and
the effect of negative values of c. Also notice the effect of values of c such
that |c| < 1, and the effect of values of c such that |c| > 1.
Now change the original function to y = x2 , and repeat the process above.
If you wish, also try another function of your choice as the original
function.
The effects that you saw in Activity 26 are called horizontal scalings.
Scaling a graph horizontally by a factor of c means the following.
• If c is positive, then move each point on the graph horizontally, in the
direction away from the y-axis, until it’s c times as far from the y-axis
as it was before.
• If c is negative, then move each point on the graph horizontally, in the
direction away from the y-axis, until it’s |c| times as far from the
y-axis as it was before, and then reflect it in the y-axis.
• If c is zero, then move each point on the graph horizontally until it lies
on the y-axis.
(In each of the first two cases, if |c| is less than 1, then each point is
actually moved closer to the y-axis than it was before.)
244
2 New functions from old functions
x y x
y=f ; −1 < c < 0 y=f ; 0<c<1
c c
y = f (− x) y = f (x)
x x
y=f ; c < −1 y=f ; c>1
c c
x
245
Unit 3 Functions
y
x
;y (x; y)
3 3
2
1
−6 −5 −4 −3 −2 −1 1 2 3 4 5 6 x
y
x
;y (x; y)
c
Notice in particular what happens when c = −1. For any function f , the
graph of y = f (−x) is the same shape as the graph of y = f (x), but
reflected in the y-axis.
246
2 New functions from old functions
For convenience, the two facts that you’ve seen (in this subsection and the
previous one) about reflections of graphs in the coordinate axes are
summarised below, and illustrated in Figure 45.
y y
y = f (x) y = f (− x) y = f (x)
x x
y = − f (x)
(a) (b)
In the final two activities of this section, you’ll need to put together all the
facts and skills about the effects of changing the equations of graphs that
you’ve learned in this section.
247
Unit 3 Functions
y y y
A B C
4 4 4
2 2 2
− 4− −2 2 2 4 x − 4− −2 2 2 4 x − 4− −2 2 2 4 x
−4 −4 −4
y y y
D E F
4 4 4
2 2 2
− 4− −2 2 2 4 x − 4− −2 2 2 4 x − 4− −2 2 2 4 x
−4 −4 −4
y y y
G H I
4 4 4
2 2 2
− 4− −2 2 2 4 x − 4− −2 2 2 4 x − 4− −2 2 2 4 x
−4 −4 −4
248
3 More new functions from old functions
249
Unit 3 Functions
For example, if f (x) = x2 and g(x) = x, then the sum of f and g has the
rule h(x) = x2 + x. The domain of each of the combined functions above is
the intersection of the domain of f and the domain of g, with the
additional requirement for the first quotient of f and g that the numbers x
such that g(x) = 0 are removed, since it’s not possible to divide by zero,
and a similar additional requirement for the second quotient.
You can form sums and products of three or more functions. For example,
the sum of the functions f (x) = x2 , g(x) = x and h(x) = 1 is the function
s(x) = x2 + x + 1.
There isn’t much more to be said about sums, products, differences and
quotients of functions, at this stage. It’s usually not easy to deduce the
shape of the graph of any one of these functions from the shapes of the
graphs of the original functions. These types of combinations of functions
will be important later in the module.
final
input output output
value value value
f g
The largest set of real numbers for which you can apply the process is the
set of all numbers in the domain of f such that f (x) lies in the domain of
g. For example, Figure 48 illustrates the process of finding the image of
the number 3 under the composite function g ◦ f , where f (x) = x2 and
g(x) = x + 1. It shows that (g ◦ f )(3) = 10.
3 9 10
f g
In general, for any two functions f and g, the process of finding the image
of an input value x under the composite function g ◦ f is as shown in
Figure 49.
Composite functions
Suppose that f and g are functions. The composite function g ◦ f
is the function whose rule is
(g ◦ f )(x) = g(f (x)),
and whose domain consists of all the values x in the domain of f such
that f (x) is in the domain of g.
x g(x) f (g(x))
g f
x x2 x2 + 1
f g
x x+1 (x + 1)2
g f
252
3 More new functions from old functions
You can compose more than two functions. For example, if f , g and h are
functions, then you can form a composite function whose rule is given by
first applying f , then g, then h. This composite function is denoted by
h ◦ g ◦ f , and its rule can be stated as
(h ◦ g ◦ f )(x) = h(g(f (x))).
253
Unit 3 Functions
−4 −8
−1 −2
0 0
1
2 1
π 2π
5 10
inputs f outputs
−4 −8
−1 −2
0 0
1
2 1
π 2π
5 10
outputs f− 1 inputs
(a) Write down the rules of the inverse functions of the following
functions.
(i) f (x) = x + 1 (ii) f (x) = x − 3 (iii) f (x) = 13 x
(b) Can you think of a function with an inverse function that has the same
rule as the original function? Can you think of another such function?
Some functions don’t have inverse functions. For example, consider the
function f (x) = x2 . Some of the inputs and outputs of this function are
shown in Figure 55.
0 0
− 21
1 1
2 4
−3
3 9
inputs f outputs
255
Unit 3 Functions
0 0
− 12
1 1
2 4
−3
3 9
outputs inputs
One-to-one functions
A function f is one-to-one if for all values x1 and x2 in its domain
such that x1 .= x2 ,
f (x1 ) .= f (x2 ).
Which of the following functions are one-to-one? For each function that
isn’t one-to-one, state two input numbers that have the same output
number.
(a) f (x) = |x| (b) f (x) = x + 1 (c) f (x) = x4 (d) f (x) = x5
(e) f (x) = −x (f) f (x) = 1
function. For example, the function whose graph is shown in Figure 57(b)
isn’t one-to-one, since the dashed horizontal line shows that the two input
numbers marked as x1 and x2 have the same output number.
y y
x x1 x2 x
(a) (b)
For each of the following diagrams, state whether it’s the graph of a
one-to-one function, the graph of a function that isn’t one-to-one, or not
even the graph of a function.
x x x x
x x x x
x x x x
257
Unit 3 Functions
The following important fact summarises the ideas that you’ve just met.
x y You can also see, by thinking about these diagrams, that the image set of
an inverse function f −1 is the domain of the original function f . Here’s a
f− 1 concise definition of an inverse function, which summarises what you’ve
seen so far. It’s illustrated in Figure 58.
The next example illustrates how you can use this definition to find an
inverse function, even when the rule of the original function is more
complicated than those that you’ve seen so far.
258
3 More new functions from old functions
The method used to find the rule of the inverse function in Example 6 is
summarised below.
Strategy:
To find the rule of the inverse function of a one-to-one
function f
• Write y = f (x) and rearrange this equation to express x in terms
of y.
• Use the resulting equation x = f −1 (y) to write down the rule
of f −1 . (Usually, change the input variable from y to x.)
259
Unit 3 Functions
In cases that are trickier than those in Activity 36, it often helps to obtain
a graph of the original function f . For example, this can be useful if the
domain of the function f isn’t the largest set of real numbers for which its
rule is applicable, or if you’re not sure whether f is one-to-one. Here’s an
example.
y
6
2
y = x − 4x + 1 5
4
3
2
1
−2−1 1 2 x
−1
−2
260
3 More new functions from old functions
Think about whether every horizontal line that crosses the graph
of f does so exactly once.
The graph shows that f is one-to-one and therefore has an inverse
function.
Try to find the rule of f −1 in the usual way, by rearranging the
equation f (x) = y. For a quadratic function like f , it helps to begin
by completing the square.
The equation f (x) = y gives
x2 − 4x + 1 = y
(x − 2)2 − 4 + 1 = y
(x − 2)2 − 3 = y
(x − 2)2 = y + 3
&
x−2=± y+3
&
x=2± y+3
Decide whether the + or the − applies. Remember that the final
equation above is a rearrangement of the equation f (x) = y, so x is
an element of the domain of f , which is [−1, 1]. Now 2 plus the
positive square root of something can’t be equal to a number in this
interval, but 2 minus the positive square root of something can, so
the correct sign is −.
Since the domain of f is [−1, 1], each input value x of f is less than 2.
So
&
x = 2 − y + 3.
Hence the rule of f −1 is
&
f −1 (y) = 2 − y + 3;
that is,
√
f −1 (x) = 2 − x + 3.
To find the domain of f −1 , find the image set of f , using the
graph to help you.
The domain of f −1 is the image set of f . The graph shows that this is
[f (1), f (−1)] = [−2, 6].
Finally, specify f −1 by stating its domain and rule.
So the inverse function of f is the function
√
f −1 (x) = 2 − x + 3 (x ∈ [−2, 6]).
261
Unit 3 Functions
Here’s a useful fact that sometimes gives you a quick way of confirming
that a function has an inverse function.
y y
x x
(a) (b)
262
3 More new functions from old functions
again. These two facts can be stated concisely as follows, using the
notation for composite functions.
A warning
When you’re working with the notation f −1 , where f is a function, it’s
important to appreciate that it doesn’t mean the function g with rule
1
g(x) = (f (x))−1 ; that is, g(x) = .
f (x)
This function g is called the reciprocal of the function f , and it’s never
denoted by f −1 . For example, consider the function f (x) = x + 5. Its
inverse function is
f −1 (x) = x − 5,
whereas its reciprocal is
1
g(x) = .
x+5
Graphs of inverse functions
There’s a useful geometric connection between the graph of a function and
the graph of its inverse function. Figure 60(a) shows the graphs of the
function f√(x) = x2 − 1 (x ≥ 0) and its inverse function
f −1 (x) = x + 1 (x ≥ −1), drawn on axes with equal scales. Similarly,
Figure 60(b) shows the graphs of the function f (x) = 2x + 1 (x ∈ [−2, 1])
and its inverse function f −1 (x) = 21 (x − 1) (x ∈ [−3, 3]), again drawn on
axes with equal scales.
y = x2 − 1
y y y = 2x + 1
3 3
2 2 y = 21 (x − 1)
y = √x + 1
1 1
−3−2−1 1 2 3 x −3−2−1 1 2 3 x
−1 −1
−2 −2
−3 −3
(a) (b)
This happens for every pair of inverse functions, when their graphs are
drawn on axes with equal scales. To see why, let’s start by considering any
point on the graph of the function f (x) = x2 − 1 (x ≥ 0). For example, the
point (2, 3) lies on this graph, because inputting 2 to this function f gives
the output 3. It follows that inputting 3 to the inverse function f −1 gives
the output 2, and so the point (3, 2) lies on the graph of f −1 . You can see
that, for any pair of inverse functions f and f −1 , if you swap the
coordinates of any point on the graph of f , then you’ll get the coordinates
y
of a point on the graph of f −1 , and vice versa.
3 Now when you swap the coordinates of a point, the resulting point is the
2 reflection of the original point in the line y = x (provided the axes have
equal scales). This is illustrated in Figure 61, for the example discussed
1 above. This reasoning explains the connection between the graphs of a
function and its inverse function, which is summarised below.
−1 1 2 3 x
−1
Graphs of inverse functions
The graphs of a pair of inverse functions are the reflections of each
other in the line y = x (when the coordinate axes have equal scales).
Figure 61 The points (2, 3)
and (3, 2) are reflections of
each other in the line y = x
1
x x x x
(− 2; − 2) 2 − π2 π
2
2
264
3 More new functions from old functions
y y
3 3
2 2
1 1
− 3− 2− 1 1 2 3 x − 3− 2− 1 1 2 3 x
(a) (b)
√
Figure 64(a). The inverse function of this function is g −1 (x) = − x,
whose graph is shown in Figure 64(b).
y y
3 3
2 2
1 1
− 3− 2−−1 1 1 2 3 x − 3− 2−−1 1 1 2 3 x
−2 −2
−3 −3
(a) (b)
− 2− 1 1 2 3 4 x
In Unit 4 you’ll see some more examples of this process of restricting the
domain of a function to enable you to find an inverse function. It’s useful
Figure 65 The graph of
in particular for trigonometric functions, which you’ll meet in that unit.
y = (x − 1)2
266
4 Exponential functions and logarithms
y x y
1
y = 2x y= 2
4 4
2 2
−4 −2 2 4 x −4 −2 2 4 x
(a) (b)
% 1 #x
Figure 66 The graphs of (a) y = 2x (b) y = 2
To see why these graphs have the shapes that they do, first consider the y
function f (x) = 2x . Some values of this function are given in Table 1. The
corresponding points are shown in Figure 67 (except that the final two 4
points are off the scale). 2
x
Table 1 Values of 2
−4 −2 2 4 x
x −4 −3 −2 −1 0 1 2 3 4
1 1 1 1
2x 16 8 4 2 1 2 4 8 16
Notice that f (0) = 20 = 1, which explains why the y-intercept is 1. Figure 67 Points on the
graph of y = 2x with integer
Notice also that each time the value of x increases by 1 unit to the next values of x
integer up, the value of f (x) doubles. So as x takes values that are further
and further along the number line to the right, the value of f (x) = 2x
increases, and increases more and more rapidly. This explains the shape of
the graph as x increases.
Similarly, each time the value of x decreases by 1 unit to the next integer
down, the value of f (x) halves. So, as x takes values that are further and
further along the number line to the left, the value of f (x) = 2x gets closer
and closer to zero, but never reaches zero. This gives the shape of the
graph as x decreases.
% #x
The shape of the graph of the function g(x) = 21 can be explained in a
similar way, and you might like to think it through for yourself.
267
Unit 3 Functions
Alternatively, you can deduce it from the shape of the graph of the
function f (x) = 2x . Notice that, for any number x,
% 1 #x
2 = (2−1 )x = 2−x .
% #x
So the rule of the function g(x) = 21 can be written as g(x) = 2−x , and
hence, by what you saw in Subsection 2.3, its graph is the same shape as
the graph of f (x) = 2x , but reflected in the y-axis.
In the next activity you’re asked to investigate the shapes of the graphs of
some more exponential functions.
In Activity 40 you should have observed the following facts, which are
illustrated in Figure 68.
y y y y
b>1 b > 1, 0 < b < 1, 0<b<1
b close to 1 b close to 1
1 1
1 1
x x x x
268
4 Exponential functions and logarithms
A helpful way to remember the final feature listed in the box above is to
notice that when the value of b is exactly 1, the function f (x) = bx is the y
function f (x) = 1x , that is, f (x) = 1, and hence its graph is the horizontal
line with y-intercept 1, as shown in Figure 69. Remember, though, that
this function f isn’t an exponential function – it’s a constant function. 1
y = 5x y = 2x y = 1:5x
y
5
4
3
2
1
−4 −3 −2 −1 1 2 3 4 x
In Activity 41 you should have found that the value of b that gives a
gradient of 1 at (0, 1) seems to be about 2.7. In fact, the precise value is a
269
Unit 3 Functions
special number, usually denoted by the letter e, whose first few digits are
2.718 28 . . . . The number e is irrational, like π, so its digits have no
repeating pattern, and it can’t be written down exactly as a fraction or a
terminating decimal. It occurs frequently in mathematics, and you’ll learn
more about it, and why it’s so important, later in the module.
So the exponential function with the rule f (x) = ex has the special
property that its gradient is exactly 1 at the point (0, 1). Its graph is
shown in Figure 71. This function is important both in applications of
mathematics and in pure mathematics, and because of its importance it’s
sometimes referred to as the exponential function. The expression ex is
sometimes written as exp x, or exp(x). An approximate value for e is
available from your calculator keypad, just as for π, and you can also work
out values of ex by using a function button on your calculator.
y
5
4
3
2
1
−4 −3 −2 −1 1 2 3 4 x
The use of the letter e for the base of the exponential function was
introduced by Leonhard Euler (see page 214).
270
4 Exponential functions and logarithms
For example,
the logarithm to base 10 of 100 is 2, because 100 = 102 .
Similarly,
the logarithm to base 10 of 1000 is 3, because 1000 = 103 , and
1 1
the logarithm to base 10 of 10 is −1, because 10 = 10−1 .
The logarithm to base 10 of a number x is denoted by log10 x, so the three
logarithms found above can be written as follows:
log10 100 = 2
log10 1000 = 3
%1#
log10 10 = −1.
You can see that if you can easily write a number as a power of 10, then
it’s straightforward to find its logarithm to base 10. For other numbers,
you can use your calculator to find an approximate value. For example, a
calculator gives
log10 42 = 1.623 249 2 . . . ,
which is the same as saying that
101.623 249 2... = 42.
The button on a calculator for finding common logarithms is usually
labelled ‘log’.
Notice that only positive numbers have logarithms to base 10. For
example, the negative number −2 has no logarithm to base 10, because
there’s no power to which 10 can be raised to give −2. Similarly, 0 has no
logarithm to base 10, because there’s no power to which 10 can be raised
to give 0.
However, logarithms themselves can be positive, negative or zero. For
example, you’ve seen that
%1#
log10 100 = 2, log10 10 = −1 and log10 1 = 0.
271
Unit 3 Functions
Logarithms
The logarithm to base b of a number x, denoted by logb x, is the
power to which the base b must be raised to give the number x. So
the two equations
y = logb x and x = by
are equivalent.
Remember that:
• the base b must be positive and not equal to 1
• only positive numbers have logarithms, but logarithms
themselves can be any number.
You’ve seen that it’s straightforward to write down the logarithm to base b
of a number if you can express the number as a power of b. In particular,
for any base b, it’s straightforward to write down the logarithm to base b
of 1, and the logarithm to base b of b itself, because
1 = b0 and b = b1 .
This gives the following useful facts.
272
4 Exponential functions and logarithms
Natural logarithms
The natural logarithm of a number x, denoted by ln x, is the power
to which the base e must be raised to give the number x. So the two
equations
y = ln x and x = ey
are equivalent.
273
Unit 3 Functions
ln 1 = 0 and ln e = 1.
Here are some calculations involving natural logarithms for you to try.
274
4 Exponential functions and logarithms
275
Unit 3 Functions
y
y = ex
4
2 y = ln x
−4 −2 2 4 x
−2
−4
276
4 Exponential functions and logarithms
1 x 1 x x x
1 1
b > 1;
b close
b>1 to 1
277
Unit 3 Functions
As with the index laws, these logarithm laws apply to all appropriate
numbers. So the base b of the logarithms can be any positive number
except 1, the numbers x and y must be positive (since only positive
numbers have logarithms), and r can be any number (in particular, it can
be fractional and/or negative).
To see how these three logarithm laws are deduced from the three index
laws above, let’s write m = logb x and n = logb y. This is the same as
saying that x = bm and y = bn .
So,
xy = bm bn = bm+n ,
from which it follows that
logb (xy) = m + n = logb x + logb y.
This is the first logarithm law.
Also,
x bm
= n = bm−n ,
y b
from which it follows that
' +
x
logb = m − n = logb x − logb y.
y
This is the second logarithm law.
278
4 Exponential functions and logarithms
Finally,
xr = (bm )r = bmr ,
from which it follows that
logb (xr ) = mr = r logb x.
279
Unit 3 Functions
280
4 Exponential functions and logarithms
In fact, if your calculator has a button for finding logarithms to any base,
then you can make the working in Example 9 slightly shorter by
proceeding as follows, starting from the second equation in the solution:
1.53x = 22.5
3x = log1.5 22.5
x = 31 log1.5 22.5
x = 2.56 (to 3 s.f.).
Remember that you can always check a solution that you’ve found for an
equation by substituting it into the equation.
In the final activity of this subsection you can learn how to use the
computer to work with expressions involving exponentials and logarithms.
281
Unit 3 Functions
The fact in the box above gives us the following alternative definition of an
exponential function.
282
4 Exponential functions and logarithms
y y y y
k>0 k > 0, k < 0, k<0
k close to 0 k close to 0
1 1
1 1
x x x x
That’s because, from what you saw in Subsection 2.3, if f is any function,
then the graph of y = f (kx) is a horizontal scaling of the graph of
y = f (x) by the factor c = 1/k. So the graphs of all exponential functions
283
Unit 3 Functions
y y y
4 y= 3e0:5x 4 y = 3e− 0:5x 4
2 2 2
−4 −2 2 4 x −4 −2 2 4 x −4 −2 2 4 x
−2 −2 −2
−4 −4 −4 y = − 4e0:3x
284
4 Exponential functions and logarithms
y y
x x
(a) (b)
14
12
10
8
Prescription drugs
6
4
2
1 2 3 4 5 6 7 8 9 10 11 12 13
time since drug administered (hours)
285
Unit 3 Functions
286
4 Exponential functions and logarithms
There are many other types of real-life situations that can be modelled by
exponential growth and decay functions. These include the level of
radioactivity in a sample of radioactive material, which decreases over
time, and, sometimes, the size of a population of organisms, such as
bacteria, plants, animals or even human beings, which often increases over
a period of time. The next activity is about an exponential model for the
growth of a population of bacteria.
Bacteria dividing
Exponential growth and decay functions have an interesting characteristic
property. If f is such a function, and you start with any value of x and add
a number to it, then the value of f (x) is multiplied by a factor. This factor
doesn’t depend on the value of x that you started with, but only on the
number that you added.
287
Unit 3 Functions
288
4 Exponential functions and logarithms
Solution
Use the property in the box above.
(a) In every hour, the number of bacteria is predicted to multiply by
the factor
e0.4×1 = e0.4 = 1.49 (to 3 s.f.).
(b) In every period of 2.5 hours, the number of bacteria is predicted
to multiply by the factor
e0.4×2.5 = e1 = 2.72 (to 3 s.f.).
Here are some examples of exponential growth and decay for you to
analyse.
289
Unit 3 Functions
Strategy:
To find a doubling or halving period
If f (x) = aekx is an exponential growth function (so k > 0), then the
doubling period of f is the solution p of the equation ekp = 2; that is,
p = (ln 2)/k.
Similarly, if f (x) = aekx is an exponential decay function (so k < 0),
then the halving period of f is the solution p of the equation ekp = 21 ;
that is, p = (ln 21 )/k = −(ln 2)/k.
290
5 Inequalities
Find the doubling time of the exponential growth in Activity 51, and the
half-life of the exponential decay in Activity 52. Give your answers to
three significant figures.
5 Inequalities
In the module so far you’ve worked with equations of various types.
However, sometimes you need to work not with equations, but with
inequalities. Whereas an equation expresses the fact that two quantities
are equal, an inequality expresses the fact that one quantity is greater
than, less than, greater than or equal to, or less than or equal to, another
quantity. Stonehenge, Wiltshire
291
Unit 3 Functions
Inequality signs
< is less than
≤ is less than or equal to
> is greater than
≥ is greater than or equal to
292
5 Inequalities
Rearranging inequalities
Carrying out any of the following operations on an inequality gives an
equivalent inequality.
• Rearrange the expressions on one or both sides.
• Swap the sides, provided you reverse the inequality sign.
• Do any of the following things to both sides:
– add or subtract something
– multiply or divide by something that’s positive
– multiply or divide by something that’s negative, provided you
reverse the inequality sign.
To understand why these rules make sense, consider, for example, the
simple, true inequality 1 < 2.
• You can swap the sides of this inequality to obtain another true
inequality, provided you reverse the inequality sign. This gives 2 > 1.
• You can multiply both sides of the original inequality 1 < 2 by the
positive number 3, say, to obtain another true inequality. This gives
3 < 6.
• You can multiply both sides of the original inequality 1 < 2 by the
negative number −3, say, to obtain another true inequality, provided
you reverse the inequality sign. This gives −3 > −6.
When you’re rearranging an inequality, you should not multiply or divide
both sides by a variable, or by an expression containing a variable, unless
you know that the variable or expression takes only positive values or takes
only negative values. That’s because in other cases you can’t follow the
rule about when to reverse the inequality sign, so usually the inequality
that you obtain won’t be equivalent to the original one.
293
Unit 3 Functions
(a) Solve the following linear inequalities. Give your answers as solution
sets in interval notation.
x
(i) 5x + 2 < 3x − 1 (ii) 6 − 3x ≥ − 1
2
(b) An employee has achieved 54%, 69% and 72% in the first three of her
four assignments in a workplace training course. She has to achieve an
average of at least 60% over all four assignments (which are
equally-weighted) to pass the course. Let x% be the score that she will
achieve for her final assignment. Write down an inequality that x must
satisfy if the employee is to pass the course, and solve it to find the
acceptable values of x.
294
5 Inequalities
295
Unit 3 Functions
y
y = x2 − 4x + 3
1 3 x
From the sketch you can see that the value of the expression
x2 − 4x − 3 is greater than or equal to zero precisely when x ≤ 1 or
x ≥ 3 (since the parabola lies above or on the x-axis for these values
of x).
The solution set is (−∞, 1] ∪ [3, ∞).
As you become more familiar with the method in Example 13, you might
find that you don’t need to sketch the graph – instead you can just work
out the intercepts, note whether the graph is u-shaped or n-shaped, and
picture the sketch in your head. You might like to try this in the later
parts of the next activity.
If you prefer, you can always make sure that the coefficient of x2 is positive
by, if necessary, multiplying the inequality through by −1 and reversing
the inequality sign. Then you don’t need to think about whether the
parabola is u-shaped or n-shaped, as it will always be u-shaped.
296
5 Inequalities
297
Unit 3 Functions
298
5 Inequalities
3 (2x + 3)(x − 1)
− ≤0
x−1 x−1
3 − (2x + 3)(x − 1)
≤0
x−1
3 − (2x2 + x − 3)
≤0
x−1
−2x2 − x + 6
≤0
x−1
2x2 + x − 6
≥0
x−1
299
Unit 3 Functions
You can check the solution set that you’ve found for an inequality by
obtaining the graph of an appropriate function. For example, consider
again the inequality in Example 15. It was rearranged into the form
(2x − 3)(x + 2)
≥ 0.
x−1
Figure 78 shows the graph of the equation
(2x − 3)(x + 2)
y= ,
x−1
as a computer would plot it. The expression in x here is the left-hand side
of the inequality above. The graph shows that this expression takes values
greater than or equal to zero roughly when x is in the set [−2, 1) ∪ [ 23 , ∞).
This accords with the solution set found in Example 15.
y
30
20
10
− 4 − 3 − 2 −−110 1 2 3 4 x
− 20
− 30
300
5 Inequalities
y
30
20 y = 2x + 3
10
− 4 − 3 − 2 −−110 1 2 3 4 x
− 20
3
− 30 y=
x− 1
Solution
Estimate the values of x for which the graph of y = 3/(x − 1) lies
below or on the graph of y = 2x + 3.
The graph shows that 3/(x − 1) is less than or equal to 2x + 3
roughly when x is in the set [−2, 1) ∪ [ 23 , ∞). So this set is the
solution set of the inequality, at least approximately.
This agrees with the solution set found in Example 15.
301
Unit 3 Functions
y
30
20
15 10 y=x
y=
x− 2
−8 −6 −4 −2 2 4 6 8 x
− 10
− 20
− 30
Learning outcomes
After studying this unit, you should be able to:
• understand and use the terminology and notation associated with
functions
• work with graphs of functions
• work with a range of standard types of functions, and understand
their properties and graphs
• understand the changes to the rules of functions that cause their
graphs to be translated or scaled, horizontally or vertically
• form sums, differences, products, quotients and composites of functions
• understand what’s meant by the inverse function of a one-to-one
function, and find the inverse in some cases
• understand the properties and graphs of exponential and logarithmic
functions
• work fluently and correctly with logarithms
• work with exponential models
• solve some types of inequalities in one variable
• construct tables of signs.
302
Solutions to activities
Solutions to activities
Solution to Activity 1 (b) (i) −2 < x ≤ 5
(a) True (b) True (c) False (d) True (ii) x ≥ −4
(iii) x < 0
Solution to Activity 2
(iv) −3 ≤ x < −1
(a) P ∩ Q = {2, 4, 6}
(v) 0 ≤ x ≤ 6
(b) Q ∩ R = {6, 12} (vi) 3 < x < 7
(c) P ∩ Q ∩ R = {6}
Solution to Activity 5
(d) P ∪ Q = {1, 2, 3, 4, 5, 6, 8, 10, 12}
(a) (−2, 5]
Solution to Activity 3 (b) [−4, ∞)
(a) This set is an open interval. (c) (−∞, 0)
(b) This set is not an interval. (d) [−3, −1)
(c) This set is a closed interval. (e) [0, 6]
(d) This set is a half-open interval. (f) (3, 7)
(e) This set is not an interval.
Solution to Activity 6
(f) This set is a closed interval. (It has only one
endpoint, and it includes it.) (a) (−∞, −5) ∪ [−2, 1]
(g) This set is an open interval. (b) [1, 2) ∪ [3, 4) ∪ [5, 6)
(h) This set is not an interval. (c) (−∞, 0) ∪ (0, ∞)
303
Unit 3 Functions
(0; − 5)
(− 5; − 15
2 ) y = − 21 x2 − 2x − 5
(x ≥ − 5)
304
Solutions to activities
Solution to Activity 13 These features give the graph below. The image
(a) The domain is [1, 3]. set is shown on the y-axis.
Solution to Activity 16 y = 2 − 2x
(a) The graph of f is part of an n-shaped parabola. 2 (0; 2)
Completing the square gives
f (x) = −x2 + 10x − 24 x
= −(x2 − 10x) − 24
= −((x − 5)2 − 25) − 24
The graph shows that the image set is (2, 6).
= −(x − 5)2 + 25 − 24
(c) The image set of f is the interval [−1, ∞).
= −(x − 5)2 + 1.
This is because the image set of the function
So the vertex is (5, 1). Also
g(x) = x2 is [0, ∞), since every non-negative
f (3) = −32 + 10 × 3 − 24 = −3 number can be expressed as the square of a
and number. Hence the image set of the function
f (6) = −62 + 10 × 6 − 24 = 0. f (x) = x2 − 1 is [−1, ∞).
So the graph stops at the points (3, −3) (which (The graph of f is shown below, with the image
is included) and (6, 0) (which is excluded). set shown on the y-axis.)
y y = x2 − 1
x
−1
305
Unit 3 Functions
(d) The image set of f is the interval (0, ∞). Solution to Activity 23
This is because the image set of f doesn’t (a) y = 2x3 is the equation of graph A.
contain any negative numbers, since the value (b) y = 12 x3 is the equation of graph D.
of 1/x2 can’t be negative. Similarly, the image
set doesn’t contain 0. However, the image set (c) y = −x3 is the equation of graph B.
does contain every positive number, because (d) y = − 12 x3 is the equation of graph C.
every positive number can be expressed as 1/x2
for some number x. Solution to Activity 24
(The graph of f is shown below, with the image (a) The graph of g(x) = 2|x| + 3 can be obtained
set shown on the y-axis.) from the graph of f (x) = |x| by first scaling it
vertically by the factor 2 and then translating it
y up by 3 units.
1
y= (b) The graph of h(x) = 2|x + 2| + 3 can be
x2
obtained from the graph of f (x) = |x| by first
scaling it vertically by the factor 2, then
x translating it to the left by 2 units, and finally
translating it up by 3 units.
(You can carry out the operations in any order,
Solution to Activity 18 except that you have to do the vertical scaling
(The effects that you should have seen are described before the vertical translation.)
in the text after the activity.) (c) The graph of j(x) = 12 |x − 3| − 4 can be
obtained from the graph of f (x) = |x| by first
Solution to Activity 19
scaling it vertically by the factor 12 , translating
(The effects that you should have seen are described it to the right by 3 units, and finally translating
in the text after the activity.) it down by 4 units.
Solution to Activity 20 (You can carry out the operations in any order,
1 except that you have to do the vertical scaling
(a) y = is the equation of graph D. before the vertical translation.)
x−2
1 (d) The graph of k(x) = −|x − 1| + 1 can be
(b) y = − 2 is the equation of graph A. obtained from the graph of f (x) = |x| by first
x
1 reflecting it in the x-axis (that is, scaling it
(c) y = + 2 is the equation of graph C. vertically by the factor −1), then translating it
x
to the right by 1 unit, and finally translating it
1
(d) y = is the equation of graph B. up by 1 unit.
x+2
(You can carry out the operations in any order,
Solution to Activity 21 except that you have to do the reflection before
(a) y = |x − 2| + 1 is the equation of graph C. the vertical translation.)
306
Solutions to activities
y
4 (b) The graph of the function h(x) = (x − 1)3 can
y = 2x2 + 12x + 19 3 be obtained from the graph of y = x3 by
translating it to the right by 1 unit.
= 2(x + 3)2 + 1 2
1
y
− 4− 3− 2−−1 1 1 x
y = (x − 1)3
1 x
Solution to Activity 26 −1
(The effects that you should have seen are described
in the text after the activity.)
Solution to Activity 27
√
(a) y = −x is the equation of graph D.
√ (c) The graph of the function g(x) = 1/(x + 3) can
(b) y = − x is the equation of graph H. be obtained from the graph of y = 1/x by
√ translating it to the left by 3 units.
(c) y = 2 x − 2 is the equation of graph C.
√
(d) y = 21 x + 2 is the equation of graph E.
√ y
(e) y = − 12 x is the equation of graph F. x = −3
√
(f) y = − x + 2 is the equation of graph G.
√ 1
(g) y = − −x is the equation of graph B. 3
√ x
(h) y = 12 x + 2 is the equation of graph I.
√
(i) y = −2 x + 2 is the equation of graph A. 1
y=
x+3
307
Unit 3 Functions
308
Solutions to activities
309
Unit 3 Functions
310
Solutions to activities
y
(d)
3
2
y 1
(4; 4)
2 − 2− 1 1 2 3 x
x
(Alternatively, you can take the domain of g to be
(−∞, 1]. Then g −1 is the function
√
g −1 (x) = 1 − x (x ∈ [0, ∞).)
311
Unit 3 Functions
312
Solutions to activities
314
Solutions to activities
315
Unit 3 Functions
Hence the graph is as shown below. The graph of f (x) = x2 + 2x is u-shaped. Its
x-intercepts are given by
y x2 + 2x = 0;
y = x2 + x − 2 that is,
x(x + 2) = 0
x So they are x = 0 and x = −2. Hence the graph
−2 1
is as shown below.
y
y = x2 + 2x
The solution set is (−2, 1).
(b) The inequality can be rearranged as follows: 0 x
−2
− x2 + 7x < 10
− x2 + 7x − 10 < 0.
The graph of f (x) = −x2 + 7x − 10 is n-shaped.
Its intercepts are given by The solution set is [−2, 0].
−x2 + 7x − 10 = 0; Solution to Activity 56
that is, (a) The inequality is
x2 − 7x + 10 = 0, 2x2 − 5x − 3 < 0,
or which can be factorised as
(x − 5)(x − 2) = 0. (2x + 1)(x − 3) < 0.
So they are x = 5 and x = 2. Hence the graph A factor is equal to 0 when x = − 12 or x = 3.
is as shown below.
A table of signs for the expression on the
left-hand side of the inequality is given below.
y y = − x2 + 7x − 10
x (−∞, − 12 ) − 12 (− 21 , 3) 3 (3, ∞)
2x + 1 − 0 + + +
x x−3 − − − 0 +
2 5
(2x + 1)
+ 0 − 0 +
×(x − 3)
The solution set is (−∞, 2) ∪ (5, ∞). The solution set is (− 12 , 3).
(c) The inequality can be rearranged as follows: (b) The inequality is
− x2 ≥ 2x, −2x2 + 4x + 16 ≤ 0;
− x2 − 2x ≥ 0 that is,
x2 + 2x ≤ 0. x2 − 2x − 8 ≥ 0.
Factorising gives
(x + 2)(x − 4) ≥ 0.
A factor is equal to 0 when x = −2 or x = 4.
316
Solutions to activities
317
Unit 3 Functions
Solution to Activity 58
15
(a) The solutions of the equation x = are
x−2
roughly −3 and 5.
15
(b) The solution set of the inequality x ≤ is
x−2
roughly (−∞, −3] ∪ (2, 5].
15
(c) The solution set of the inequality x > is
x−2
roughly (−3, 2) ∪ (5, ∞).
(The answers given here are in fact exact.)
318
Acknowledgements
Acknowledgements
Grateful acknowledgement is made to the following sources:
Every effort has been made to contact copyright holders. If any have been
inadvertently overlooked the publishers will be pleased to make the
necessary arrangements at the first opportunity.
319