Module 4
Module 4
1 More Differentiation
In the last worksheet, you were shown how to find the derivative of functions like ef (x) and
sin g(x). This section gives a method of differentiating those functions which are what we
call composite functions. The method is called the chain rule. The chain rule allows us to
differentiate composite functions. Composite functions are functions of functions, and can be
written as
g(x) = f (u(x))
So if u(x) = x2 and f (u) = cos u, then
f (u(x)) = cos x2
2
Example 1 : Differentiate e5x . Let u(x) = 5x2 and f (u) = eu . If g(x) = f (u(x))
then
df
g 0 (x) = u0 (x) ×
du
df 2
We have du
dx
= 10x and du = eu = e5x so that
2
g 0 (x) = 10xe5x
Example 2 : Differentiate g(x) = sin(ex ). We let u(x) = ex and f (u) = sin u. Then
u0 (x) = ex
df
= cos u = cos ex
du
dg df
= u0 (x) ×
dx du
x x
= e cos(e )
1
Example 3 : Differentiate y = (6x2 + 3)4 . We let u(x) = 6x2 + 3 and f (u) = u4 .
Then
u0 (x) = 12x
df
= 4u3 = 4(6x2 + 3)3
du
dy
= u0 (x) × f 0 (u)
dx
= 12x × 4(6x2 + 3)3
Exercises:
The product rule gives us a method of working out the derivative of a function which can
be written as the product of functions. Examples of such functions are x2 sin x, 5x log x, and
ex cos x. These functions all have the general form
h(x) = f (x)g(x) or in simpler terms
h = fg
For functions that are written in this form, the product rule says:
dh df (x) dg(x)
= g(x) + f (x) or h0 = f 0 g + f g 0
dx dx dx
2
When first working with the product rule, it is wise to write down all the steps in the calculation
to avoid any confusion.
Note that in terms such as cos x × x2 , it is less ambiguous to write x2 cos x to make it clear
that we are not taking the cos of the x2 term.
Note that, when using the product rule, it makes no difference which part of the whole function
we call f (x) or g(x) (so long as we are able to differentiate the f or g that we choose). So
in example 4, we could have let f (x) = 6ex and g(x) = x and the final result for h0 (x) would
have been the same.
3
Exercises:
The quotient rule is the last rule for differentiation that will be discussed in these worksheets.
The quotient rule is derived from the product rule and the chain rule; the derivation is given at
the end of the worksheet for those that are interested. The quotient rule helps to differentiate
2x x2 2
functions like ex2 , cos x
and xx3 +1
+3
. The general form of such expressions is given by k(x) = u(x)
v(x)
,
and the quotient rule says that
e2x
Example 1 : Differentiate k(x) = x2
.
Let u(x) = e2x and v(x) = x2 . Then u0 (x) = 2e2x and v 0 (x) = 2x, which gives
4
Note that the choice of u(x) and v(x) are not interchangeable as in the product rule. Given
the complicated appearance of the quotient rule, it is wise to be consistent and always let u(x)
be the numerator and v(x) the denominator.
x 2
Example 2 : Differentiate p(x) = cos x
. Let u(x) = x2 and v(x) = cos x. Then
u0 (x) = 2x and v 0 (x) = − sin x, so that
2x cos x − x2 (− sin x)
p0 (x) =
(cos x)2
2x cos x + x2 sin x
=
cos2 x
x(2 cos x + x sin x)
=
cos2 x
x2 +1
Example 3 : Differentiate p(x) = x3 +3
.
Let u(x) = x2 + 1 and v(x) = x3 + 3. Then u0 (x) = 2x and v 0 (x) = 3x2 , so that
2x(x3 + 3) − (x2 + 1)3x2
p0 (x) =
(x3 + 3)2
6x − 3x2 − x4
=
(x3 + 3)2
We now derive the quotient rule from the product and chain rule; skip the derivation if you
don’t feel the need to know. Let
u(x)
k(x) = = u(x)(v(x))−1
v(x)
We now use the product rule and let f (x) = u(x) and g(x) = (v(x))−1 . Then f 0 (x) = u0 (x)
and the derivative of g(x) is given by the chain rule:
g 0 (x) = −1(v 0 (x))(v(x))−2
−v 0 (x)
=
(v(x))2
Using the product rule on k(x) (the thing we are trying to differentiate), we get
−v 0 (x)
k 0 (x) = u0 (x)(v(x))−1 + u(x) ×
(v(x))2
u0 (x) u(x)v 0 (x)
= −
v(x) (v(x))2
u (x)v(x) − u(x)v 0 (x)
0
=
(v(x))2
This is the quotient rule.
5
Exercises:
x3 sin x
(a) (f)
x2 + 1 cos x
x2 + 3 3x
(b) (g) 2
x+1 x −2
x−1 x+6
(c) (h)
2x + 3 x−4
e2x 6ex
(d) (i)
x−3 x+5
sin x e2x
(e) (j)
x2 sin x
When the topic of differentiation was first introduced in section 1 of Worksheet 3.8, we said
that
f (x + h) − f (x)
f 0 (x) = lim .
h→0 h
This was motivated from this picture:
y
... f
6
..
.. ..
...
...
...
...
...
..
.
...
.
....
....
...
..
.....
...
...
f (x + h) r ..
.....
.
....
....
......
......
......
......
..
..
........
.
..
.......
.........
........
f (x) ...
..
..
..
.r
.
.
..........
...........
...........
...................
..................................
-
x x+h x
As h → 0 the secant joining (x, f (x)) and (x + h, f (x + h)) becomes a better and better
approximation to the tangent of f at the point (x, f (x)). We will now find the equation of
this tangent. Recall that the tangent is just a straight line and it passes through the point
(x, f (x)) on the curve. We have already found the equation of a straight line through a given
point, say (x1 , y1 ), with a given slope, say m – this was done in Worksheet 2.10. The equation
6
of such a straight line is
y − y1 = m(x − x1 ).
Example 1 : Find the equation of the tangent to the curve y = x2 at the point
(3, 9).
A piece of the function is drawn as well as the tangent.
y .. y = f (x) = x
...
2
6 .. ..
...
...
...
...
...
...
...
..
...
...
...
..
.....
...
....
....
(3, 9) r ..
....
...
...
...
......
......
.
..
..
........
.
........
.........
.........
.............
............................ -
x
The derivative of the function is
dy
= 2x.
dx
dy
At the point (3, 9), = 2 × 3 = 6 so that the slope of the tangent line is 6. Now,
dx
a point that lies on the tangent line is (3, 9), so the equation of the tangent line is
y − 9 = 6(x − 3)
y − 9 = 6x − 18
y = 6x − 9
The equation of the tangent of y = x2 at (3, 9) is y = 6x − 9.
7
Example 3 : Find the equation of the tangent to the curve y = e2x at the point
(3, e6 ).
We have
dy
= 2e2x ,
dx
so the slope of the tangent at x = 3 is 2e6 . A point that the tangent passes through
is (3, e6 ), so the equation must be given by
y − e6 = 2e6 (x − 3)
y − e6 = 2e6 x − 6e6
y = 2e6 x − 5e6
y = e6 (2x − 5)
The equation of the tangent of y = e2x at (3, e6 ) is y = e6 (2x − 5).
The normal to a curve at a particular point is the straight line that passes through the point
in question on the curve and is perpendicular to the tangent to the curve.
y ..
..
.. ..
...
6
...
..
.
... Tangent
...... ...
...... ..
...... ....
...... .
...... ...
...... ...
...... ...
......
...... .......
.
......
...... ....
...... ....
...... ......
r
...... ....
.......
.. ...
.... ...........
..... ......
......
.........
.......
. .
.......... P ......
......
......
...... Normal
...
.... ......
.....
. ....
....... ......
............................. ......
- ......
......
......
... x
Example 4 : Find the equation of the normal to the curve y = x2 at the point
(3, 9).
From example 1, the slope of the tangent is 6, so the gradient of the normal to the
tangent is − 16 . (Recall that in section 3 of Worksheet 2.10 we said that if two lines
are perpendicular, then the product of their slopes is −1.) So the equation of the
normal at the point (3, 9) is
1
y − 9 = − (x − 3)
6
1 1
y−9 = − x+
6 2
1 19
y = − x+
6 2
Example 5 : Find the equations of the tangent and normal to the curve y =
x3 − 5x + 6 at (−3, −6).
8
dy
We have = 3x2 − 5, so the slope of the tangent when x = −3 is 22. The
dx
equation of the tangent is then given by
Exercises:
3. Find the equation of the tangent to the curve y = 3x2 − 2x + 4 at the point (1, 5) and
also find the point where the tangent cuts the x axis.
9
Exercises for Worksheet 4.1
2. (a) Find the equation of the tangent to the curve y = x2 log x at the point (e, e2 ).
(b) If f (x) = sin 2x − cos 4x, find f 0 ( π4 ).
d2 y dy
(c) If y = (x2 − 1)(1 + x), show that x2
− 2 + 2x − 2 = 0.
dx dx
(d) Find the turning point of the curve y = x2 + 3x − 4 and state whether it is a
maximum or minimum turning point.
10
Answers for Worksheet 4.1
Section 1
1. (a) 3 cos 3x (d) 20(4x + 5)4 (g) 4e4x (j) − sin x ecos x
(b) −2 sec2 (−2x) (e) 18(6x − 1)2 (h) 14e2x (k) −6(6 − 2x)2
(c) −12x sin 6x2 (f) 24x(3x2 + 1)3 (i) cos x esin x (l) −4(7 − x)3
Section 2
8x
1. (a) 2x sin x + x2 cos x (e) 4 log(2x + 1) + 2x+1
(i) (x + 2)2 (12x + 6)
(b) 4e3x (1 + 3x) x2 (j) 2e2x (4x + 1)
(f) 2x log(x + 2) + x+2
(c) xe3x (2 + 3x) 3
(g) xex (2 + 3x3 ) (k) e2x (cos x + 2 sin x)
(d) cos x − x sin x (h) (x + 1)2 (12x + 6) (l) 2e4x (2 cos 2x − sin 2x)
Section 3
x4 + 3x2 1
1. (a) (f)
(x2 + 1)2 cos2 x
x2 + 2x − 3 −3x2 − 6
(b) (g)
(x + 1)2 (x2 − 2)2
5 −10
(c) (h)
(2x + 3)2 (x − 4)2
e2x (2x − 7) ex (6x + 24)
(d) (i)
(x − 3)2 (x + 5)2
x cos x − 2 sin x e2x (2 sin x − cos x)
(e) (j)
x3 sin2 x
Section 4
3. y = 4x + 1; x = −1/4.
11
Exercises 4.1
12
Worksheet 4.2 Introduction to Integration
A function f which has the property that if b > a then f (b) > f (a) is called monotonically
increasing - as the input increases, then the output increases. The ‘monotonically’ part comes
from the property that there are no maxima or minima. The slope of a monotonically increasing
function will always be greater than or equal to zero, and it will only equal zero at a point of
inflection. Here are some examples of the graphs of monotonically increasing functions:
6 6 .
...
6
...
..........
.............. ... ........
............
..
...........
: . ..........
1
......... ... .........
..
..
........
. ... ..
..
........
...... .. .....
...... .. ...
.... .. ...
.... ..
.... ...
.....
. .... ...
. ..... ..
...
- - -
...... ...
... .
.....
..
..
. ....
... ............. ....
.. ........ .....
.
. .... .
.......
.
..
... .... .......
... .... .........
.. ... ..........
..
... ............
)
..
..
..
?
? ? ?
A monotonically decreasing function f is one which has the property that if b > a, then
f (b) < f (a). In other words, as the input gets larger, the output gets smaller. The slope
of a monotonically decreasing function is always less than or equal to zero, and is only zero
at a point of inflection. Here are some examples of the graphs of monotonically decreasing
functions:
............. 6 ... 6 ... 6
i .......... ... ...
........ ... ...
....... ...
...... M ... M
..... ... ...
.... ... ....
.... ....
.... ... ....
.... ... ....
.... ... .......
.... ... .......
... ... ........
... ...........
... .........
... - ....
- ........ -
... .... ......
... .... ......
... .... ....
.... ....
... ....
... ..... ....
... ...... ...
... ...... ...
.......
... ........ ...
... ......... ...
........... ...
... ...............
N q ... N .
? ? ?
Sometimes it is important for us to be able to estimate the area under a curve, which might
represent a quantity in which we are interested. For example, if we had a graph of a motorist’s
velocity as a function of time for a journey that lasted an hour, the area under the curve would
represent the distance travelled over the journey. We now give a method that can be used to
estimate the area under certain types of curves, namely those that are either monotonically
increasing or decreasing. Note that all functions can be broken up into a sequence of parts,
each of which is either (a) monotonically increasing or (b) monotonically decreasing or (c)
horizontal. A vertical line is not a function as it does not have the property that each input
value has one and only one output value. The estimation method involves splitting the area
up into rectangles to give a lower and upper bound to the area under the curve.
1
Take the function y = x as an example, and say we wish to know the area under the curve
y = x between x = 5 and x = 7. First we draw the graph:
y=x 6
5
-
5 7 x
?
If we draw a rectangle the height of the value of the function at x = 5 which stretches across
to the same height above x = 7 we get the shaded region. This is called a left rectangle, as
its height is given by the function value on the left hand side of the interval. Since f (5) = 5,
the height of the rectangle is 5, and the width is 7 − 5 = 2, so the area of the rectangle is
5 × 2 = 10.
-
5 7 x
?
For the height of the rectangle, we use the value of the function at x = 7, which is f (7) = 7.
This is called a right rectangle, and it has area 7 × 2 = 14. The area under the line y = x
between x = 5 and x = 7 must lie somewhere between 10 and 14 since the area of the right
rectangle is bigger than the area under the line, and the area of the left rectangle is smaller
than than the area under the line. Thus, if A is the area then,
10 < A < 14
We can get a closer approximation to the area under this line by breaking the interval into
smaller pieces. Say we look at the function y = x at every 1/2 unit, and add up the area
of the rectangles formed by using as our intervals: [5,5.5],[5.5,6],[6,6.5], and [6.5,7]. The left
rectangles are shown in figure 3, and the right rectangles in figure 4.
y=x 6 y=x 6
7
6
6.5
5.5
5
- -
5 6 7 x 5 6 7 x
? ?
2
Note : The area of each rectangle is found by multiplying the base by the height. The area
given by the left rectangles is the sum:
5 11 6 13 1
f (5)(5.5 − 5) + f (5.5)(6 − 5.5) + f (6)(6.5 − 6) + f (6.5)(7 − 6.5) = + + + = 11
2 4 2 4 2
The area given by the right rectangles is
1 1 1 1 11 6 13 7 1
f (5.5) + f (6) + f (6.5) + f (7) = + + + = 12
2 2 2 2 4 2 4 2 2
The lower and upper bounds on the area A are now given by:
1 1
11 < A < 12
2 2
By taking smaller and smaller intervals, we are going to bring the lower and upper bounds
closer and closer together and so get a better approximation to the actual area.
3
The left rectangles give AL = f (−7)×1+f (−6)×1+f (−5)×1 = 49+36+25 = 110.
The right rectangles give AR = f (−6)×1+f (−5)×1+f (−4)×1 = 36+25+16 = 77.
Notice that AR is smaller than AL . This is because now we are looking at a
monotonically decreasing function, so AR sets a lower bound and AL an upper
bound.
Example 3 : Find the area under the curve y = |x| in the interval -1 to 1. Use 8
subintervals.
y = |x| 6 y = |x| 6
I
@ 1 I
@ 1
@ @
@ @
@ @
@ - @ -
−1 1x −1 1x
? ?
Since the interval is not monotonically increasing or decreasing, we need to split it
up into pieces that are. So first we look at from -1 to 0, which yields the following:
1 3 1 1 1 1 1 4+3+2+1 5
AL (−1, 0) = f (−1) + f (− ) + f (− ) + f (− ) = =
4 4 4 2 4 4 4 16 8
3 1 1 1 1 1 1 3+2+1 3
AR (−1, 0) = f (− ) + f (− ) + f (− ) + f (0) = =
4 4 2 4 4 4 4 16 8
The interval from 0 to 1 gives the estimates:
1 1 1 1 1 3 1 3+2+1 3
AL (0, 1) = f (0) + f ( ) + f ( ) + f ( ) = =
4 4 4 2 4 4 4 16 8
1 1 1 1 3 1 1 4+3+2+1 5
AR (0, 1) = f ( ) + f ( ) + f ( ) + f (1) = =
4 4 2 4 4 4 4 16 8
To find a lower bound for the area in the given interval, we need to add the two
lower bounds together, and similarly for the upper bound. Then the area we require
is between 68 and 10
8
. This problem could have been simplified by recognizing that
y = |x| is an even function. Then we would only have to double the lower and
upper bounds for the area from x = 0 to x = 1.
Exercises:
1. Using the method described in this section estimate the area under the curve
(a) y = x2 between x = 3 and x = 6 using 3 rectangles and finding the upper and lower
limits.
(b) y = 3x2 + 1 between x = 0 and x = 4 using 8 rectangles and finding the upper and
lower limits.
(c) y = 4 − x2 between x = −2 and x = 0 using 4 rectangles and finding the upper and
lower limits.
4
Section 2 Integrating Polynomials
Integration is a technique for finding, amoungst other things, the area under curves. Concep-
tually, it is like the method of left and right rectangles, but the number of subintervals that
the interval of interest is broken up into is infinite, so we get an exact area where the lower and
upper bounds are equal. We will not give the details of how one takes the limit of an infinite
number of subintervals - we will just state some integration results.
Integration involves anti derivatives, so we will first look at these. The anti derivative of a
function f is another function F such that
f (x) = F 0 (x)
Thus if f (x) is the derivative of F (x) then F (x) is the anti derivative of f (x). Worksheet 3.8 has
an introduction to derivatives. Therefore we can reverse the rules that we had for polynomial
differentiation to get anti derivative rules. Recall that if f (x) = axn , then f 0 (x) = anxn−1 . So
if g(x) = bxm then an anti derivative G(x) (such that G0 (x) = g(x)) is given by
b
G(x) = xm+1 m 6= −1
m+1
We add one to the power of x then divide by the new power of x. Note that if
b
G(x) = xm+1
m+1
b
then G0 (x) = (m + 1)xm+1−1
m+1
= bxm
= g(x)
which is what is required. Given f 0 (x) = 2x, then we could have f (x) = x2 + 1 or f (x) = x2 + 3
or f (x) = x2 −4; notice they differ by the constant term. To compensate for this - the property
that the derivative of a constant is zero - we add a constant, usually denoted as c, to the anti
derivative. We need more information to find distinct values of c.
Example 1 : Find the anti derivative F (x) of the function f (x) = 2x + 1. Note
x0 = 1.
2x1+1 1x0+1
F (x) = + +c
2 1
= x2 + x + c
5
Example 2 : Find the anti derivative G(x) of the function g(x) = x2 + 3x.
x2+1 3x1+1
G(x) = + +c
3 2
x3 3x2
= + +c
3 2
Example 3 : Find the anti derivative H(x) of the function h(x) = 5x4 + 3x2 + x +
x−5 + 3.
5x4+1 3x2+1 x1+1 x−5+1 3x0+1
H(x) = + + + + +c
5 3 2 −4 1
5 3 x2 x−4
= x +x + − + 3x + c
2 4
x−2+1 x−1 −1
F (x) = = +c= +c
−1 −1 x
1x0+1
F (x) = =x+c
1
3
Example 6 : Find the anti derivative of f (x) = x2
+ 4x + 5. Call the anti derivative
F (x).
f (x) = 3x−2 + 4x + 5
3x−1 4x2
F (x) = + + 5x + C
−1 2
3
= − + 2x2 + 5x + C
x
6
Exercises:
Section 3 Integration
The area under the curve y = f (x) between x = a and x = b, where f (x) ≥ 0 for a ≤ x ≤ b,
is given by the formula Z b
A= f (x) dx
a
This is read as the integral of the function f (x) from a to b (where a is taken to be the smaller
number). The integral can be evaluated using
Z b
f (x) dx = F (x)|ba = F (b) − F (a)
a
This is called a definite integral because we integrate between two given values x = a and
x = b to obtain a single value. An indefinite integral is written as
Z
f (x) dx = F (x)
R
Example 1 : Calculate 3x2 dx.
3x2+1
Z
3x2 dx = +c
3
3x3
= +c
3
= x3 + c
7
R R
We have used the fact that 3x2 dx = 3 x2 dx. In other words, we can ‘pull’ the
3 through the integral sign because the 3 is independent of the variable
R that we
are
R integrating with respect to, which is x in this case. In general af (x) dx =
a f (x) dx.
R1
Example 2 : Calculate 0 (x + 3) dx.
Z 1 1+1 1
x 3x0+1
(x + 3) dx = +
0 2 1 0
2 1
x
= + 3x
2 0
12 02
= ( + 3 × 1) − ( + 3 × 0)
2 2
1
= 3
2
Example 3 : Calculate the area under the curve f (x) = x2 between x = 3 and
x = 6. The area is given by
Z 6 Z 6
A= f (x) dx = x2 dx
3 3
6
x3
=
3 3
= F (6) − F (3)
63 33
= −
3 3
= 63
Recall that, in example 1 in section 1, we found that the area was between 58 and
77.
8
Example 5 : Calculate the area under f (x) = x4 + x2 between x = −1 and x = 0.
0 0
x5 x3
Z
4 2
A= (x + x ) dx = +
−1 5 3
5 3
−1
(−1)5 (−1)3
0 0
= + − +
5 3 5 3
−1 1
= 0− −
5 3
8
=
15
Exercises:
9
Section 4 Integration Continued
As a further investigation of the area under a curve, we will look at the graph of the function
f (x) = x2 − 6x + 8. y
6
8 ........
...
...
...
6 ...
...
...
y = f (x)
...
...
...
4 ...
...
...
...
...
...
2 ...
....
....
....
....
....
..... ..
......
.......
-
.......... ....... x
2 ................................ 4
We will find the area that is shaded. First find the shaded area between x = 0 and x = 2.
Z 2 3 2
2 x 2
x − 6x + 8 dx = − 3x + 8x
0 3
0
8
= − 12 + 16 − (0 − 0 + 0)
3
2
= 6
3
Now see what happens when we use the same method to find the shaded area between x = 2
and x = 4.
Z 4 3 4
2 x 2
x − 6x + 8 dx = − 3x + 8x
2 3
2
64 8
= − 48 + 32 − − 12 + 16
3 3
1
= −1
3
An area cannot be negative. The negative sign indicates that the region is below the x axis –
in this situation, the actual measure of the area is found by taking the absolute value of the
integral. That is, the shaded area between x = 2 and x = 4 is
Z 4
1 1
x2 − 6x + 8 dx = −1 = 1
2 3 3
Example 1 : Find the area bounded by the curve y = x3 − 1, the x axis, and which
lies between the lines x = 0 and x = 1. First draw the graph.
10
y .
..
..
y = f (x)
..
6
6 ..
...
..
...
...
....
4 ..
...
...
...
...
2 ...
...
.....
.
...
...
.......
.......
-
−1 ...
..
..
..
..........
. 2 x
................
...............................
...........
.......
......
Example 2 : Find the area bound by the curve y = x3 − 1, the x axis, and the lines
x = 0 and x = 3.
Using the graph from the previous example as a guide, we see that the region from
x = 0 to x = 1 is below the axis, and the region from x = 1 to x = 3 is above the
x axis. So the area we want is
Z 1 Z 3
3
A = x − 1 dx + x3 − 1 dx
0 1
4 1 4 3
x x
= −x + −x
4 0 4
1
1 0 81 1
= −1 − −0 + −3 − −1
4 4 4 4
3
= − + 18
4
3
= 18
4
11
Exercises for Worksheet 4.2
1. (a) Use the method of left and right rectangles to find upper and lower bounds for the
following functions and integration limits:
√
i. y = x between x = 0 and x = 1 using 5 subdivisions.
ii. y = x1 between x = 1 and x = 2 using 10 subdivisions.
(b) Find the anti derivative of the following functions:
1 4
i. f (x) = 1 + x + x2 ii. g(x) = x 2 iii. h(x) = x3
2. (a) By using rectangles of width 1, find the area under y = [x] between x = 0 and x = 5
where [x] is the ‘greatest integer’ function e.g. [3.9] = 3, [4.1] = 4.
(b) Is the function in (i) monotonically increasing?
R2 R2√
(c) Which is greater, 1 x dx or 1 x dx?
(d) Calculate the area of the region bounded by the graph of f (x) = (x−2)2 , the x-axis,
and between x = 2 and x = 3.
(e) Calculate the area bounded by the curve y = x2 (3 − x) and the x-axis.
Z a
(f) If x dx = 0, evaluate a.
−1
Z 2
(g) If c (x − 5) dx = 1, evaluate c.
−2
2
3. (a) Calculate the area bound by the curves f (x) = x4 − 2 and g(x) = x + 1.
(Hint: Find the points of intersection of the two curves, and calculate both areas.)
(b) Show, by integration, that the area of a unit square is:
(a) Bisected by the line y = x.
√
(b) Trisected by the curves y = x2 and y = x.
(c) The marginal revenue, M R, that a manufacturer receives for his goods is given by
M R = dR
dq
= 100 − 0.03q. Find the total revenue function R(q).
3
(d) The density curve of a 10-metre beam is given by ρ(x) = 3x + 2x2 − x 2 where
x is the distance measured from one edge of the beam. The mass of the beam is
calculated to be the area under the curve ρ(x) between 0 and x. Find the mass of
the beam.
12
Answers for Worksheet 4.2
Section 1
Section 2
Section 3
Exercises 4.2
√ √ √ √
1. (a) i. The upper limit is 0.2 × 0.2 + 0.4 + 0.6 + 0.8 + 1 .
√ √ √ √
The lower limit is 0.2 × 0.2 + 0.4 + 0.6 + 0.8 .
9 10
1 X 1 1 X 1
ii. The upper limit is k
. The lower limit is k
.
10 k=0 1 + 10 10 k=1 1 + 10
x2 x3 2x3/2 2
(b) i. x + + +C ii. +C iii. − +C
2 3 3 x2
(c)
13
i. 56 ii. 2/3 iii. 7
R2
2. (a) 10 (c) 1
x dx (e) 27/4 (g) -1/20
(b) No (d) 1/3 (f) 1
3. (a) −10/3
(c) R = 100q − 0.015q 2 + C
3x2 2x3 2x5/2
(d) + −
2 3 5
14
Worksheet 4.3 Integrating Special Functions
Recall from worksheet 3.10 that the derivative of ex is ex . It then follows that the anti derivative
of ex is ex : Z
ex dx = ex + c
In worksheet 3.10 we also discussed the derivative of ef (x) which is f 0 (x)ef (x) . It then follows
that Z
f 0 (x)ef (x) dx = ef (x) + c
where f (x) can be any function. There are other ways of doing such integrations, one of which
is by substitution.
R
Example 1 : Evaluate the indefinite integral 3e3x+2 dx.
d(3x+2)
We recognize that 3 = dx
so that the expression we are integrating has the
form f 0 (x)ef (x) . Then Z
3e3x+2 dx = e3x+2 + c
Note that the integral of the function eax+b (where a and b are constants) is given by
Z
1
eax+b dx = eax+b + c
a
Example 2 : Find the area under the curve y = e5x between 0 and 2.
Z 2
A = e5x dx
0
2
1 5x
= e
5 0
1 10 1 0
= e − e
5 5
1 10
= (e − 1)
5
1
We used the property that for any real number x, x0 = 1.
Recall that the derivative of loge x is x1 . Then the anti derivative of x1 is loge x. Notice that
1
x
= x−1 , and that if we had used the rules we have developed to find the anti derivatives of
−1+1 0
things like xm , we would have the anti derivative of x−1 being x−1+1 = x0 which is not defined
as we can not divide by zero. So we have the special rule for the anti derivative of 1/x:
Z
1
dx = loge x + c
x
f 0 (x)
Recall that the derivative of loge f (x) is f (x)
. Then we have
f 0 (x)
Z
dx = loge f (x) + c
f (x)
R 5 R f 0 (x)
Example 3 : Evaluate the indefinite integral 5x+2 dx. This has the form f (x)
dx
so we get Z
5
dx = loge (5x + 2) + c
5x + 2
Note that when you need to integrate a function like 1/(ax + b) (where a and b are constants),
then Z Z
1 1 a 1
dx = dx = loge (ax + b) + c
ax + b a ax + b a
Example 4 : Find the area under the curve f (x) = 1/(2x + 3) between 3 and 11.
Z 11
1
A = dx
3 2x + 3
11
1
= loge (2x + 3)
2 3
1 1
= loge (2 × 11 + 3) − loge (2 × 3 + 3)
2 2
1 1
= loge 25 − loge 9
2 2
1 1
= loge (25) 2 − loge (9) 2
5
= loge
3
2
Section 2 Integrating Trig Functions
To integrate trig functions we need to recall the derivatives of trig functions. We can then
work out the anti derivatives of cos x, sin x, and sec2 x. For more complicated integrals we need
special techniques that you will learn in first-year maths. The derivatives of the trig functions
are:
g(x) = sin(ax + b) g 0 (x) = a cos(ax + b)
f (x) = cos(ax + b) f 0 (x) = −a sin(ax + b)
h(x) = tan(ax + b) h0 (x) = a sec2 (ax + b)
R
Example 1 : Evaluate the indefinite integral sin 3x dx.
−1
Z
sin 3x dx = cos 3x + c
3
Note : A good way of checking your answers to indefinite integrals is to differentiate them.
You should recover the function that you started with.
Example 2 : Find the area under the curve y = cos x between 0 and π2 .
Z π
2
A = cos x dx
0
π
= sin x]02
π
= sin − sin 0
2
= 1 square units
R
Example 3 : Find f (x) dx if f (x) = −3 sin(3x + 2).
Z
−3 sin(3x + 2) dx = cos(3x + 2) + c
3
x π
Example 4 : What is the area under the curve y = sec2 2
between 2
and 0?
Z π
2 x
A = sec2dx
0 2
π
1 x 2
= tan
1/2 2 0
x π2
i
= 2 tan
2 0
π
= 2 tan − 2 tan 0
4
= 2−0
= 2 square units
R
Example 5 : Evaluate the indefinite integral 5 sec2 5x dx.
Z
5 sec2 5x dx = tan 5x + c
4
Exercises for Worksheet 4.3
2
2. (a) Calculate the area under the curve y = x+3
from x = 2 to x = 3.
3x
(b) Calculate the area under the curve y = e from x = 0 to x = 3.
1
(c) The area under the curve y = x
between x = 1 and x = b is 1 unit. What is b?
(d) Find the points of intersection of the curve y = sin x with the line y = 12 and hence
find the area between the two curves (from one intersection to the next). There are
two possible areas you can end up with; choose the one above y = 21 .
Z
x+6 4 x+6
(e) Show, by simple division, that =1+ . Hence evaluate dx.
x+2 x+2 x+2
5
Answers for Worksheet 4.3
Exercises 4.3
e−4x sin 2x
1. (a) i. − +C iv.
4 2
ii. 2ex/2 + C v. 15 tan(5x − 2)
1
iii. log(8 + 7x − 3x2 ) + C vi. − − log x
x
1 iii. 1
(b) i. (e − 1)
2 1
ii. log 3 iv.
3
√ π
2. (a) 2 log 65
(d) 3 −
3
1
(b) (e9 − 1) (e) x + 4 log(x + 2) + C
3
(c) e
6
Worksheet 4.4 Applications of Integration
Section 1 Movement
Recall that the derivative of a function tells us about its slope. What does the slope represent?
It is the change in one variable with respect to the other variable. Say a line has a constant
slope of 4; then for every 1 unit change in x, there will be a 4 unit change in y. Say we had a
function that represented the movement of a car, so that the distance was plotted as a function
of time. The change in distance over a small amount of time would represent the speed of
the car. Thus in this case the slope of the function represents the speed of the car, and is
given by dxdt
. The rate of change in speed of the car is called acceleration and this is given by
d dx d2 x
( ) = dt2 .
dt dt
The methods of integration and differentiation can be used to solve problems involving move-
ment.
Example 2 : If the velocity of a particle is given as v = 3t2 metres per second, what
is the distance travelled between t = 0 and t = 2? In example 1, we worked out
that the distance travelled was x = t3 + c. Therefore
2
Distance = (t3 + c) 0 = (23 + c) − (03 + c) = 8 metres
The particle covers a distance of 8 metres between t = 0 and t = 2.
Recall that, when working out anti derivative problems, there is a constant of integration that
is undetermined (and which we have usually denoted by c). Initial-value problems ask us to
1
find anti derivatives which take on specific values at certain points so that we can determine
the value of the constant.
Example 1 : If dx
dt
= 5 and x = 9 when t = 0, what is x as a function of time? As
dx
dt
= 5, then x = 5t + c. Using the information that when t = 0, x = 9 we can now
write an equation to solve for c:
9=5×0+c
which has the solution c = 9. The complete solution for x is x = 5t + 9.
When t = 0, v = 2, so that we can write down an equation for c1 and solve it:
2 = 0 + c1 . Therefore, c1 = 2. The velocity is then v = 3t2 + 2. Distance is the
anti derivative of velocity, which gives
Z
x = (3t2 + 2) dt = t3 + 2t + c2
d2 x dx
Example 3 : If dt2
= 3, and when t = 0 we have dt
= 0 and x = 0, what is x as a
function of t?
d2 x
= 3
dt2
dx
= 3t + c
dt
Using the information we are given for dxdt
at t = 0, we find 3 × 0 + c = 0 so that
dx
c = 0. Then dt = 3t for all t. The anti derivative of this will give us x:
3t2
x= +c
2
3t2
Using the information for x at t = 0, we find c = 0, so that x = 2
for all t.
2
Section 3 Application to Growth
Exponential functions are used to represent the growth and decay of populations and radioac-
tive elements, among other things. We can use a general form of an equation for exponential
growth or decay and we find a specific equation which uses initial values as in the application
of integration to motion.
Exponential growth and decay is represented by the equation P (t) = P (0)ekt where P (t) is the
population at time t, P (0) is the population at t = 0, and k is some constant which depends on
the population being looked at. A similar formula applies to the decay of radioactive material.
P (0) would then represent the amount of radioactive material at t = 0.
P (10) = P (0)ekt
= 100e10
1000 = 100e10k
10 = e10k
log 10 = 10k
1
k = log 10
10
1
Example 3 : If the growth constant for a population of bees is 10
and the initial
population of a hive is 75, what is the population at time t?
P (t) = P (0)ekt
1
= 75e 10 t
Notice that if k > 0 the population is growing but if k < 0 the population is getting smaller.
3
Example 4 : For what values of k does the population P (t) = P (0)ekt remain
constant? We need P (t) = P (0) for all t. Then
P (t) = P (0)ekt
1 = ekt
4
Exercises for Worksheet 4.4
1. The derivatives of a function and one point on its graph are given. Find the function.
dy (c) y 0 = cos x ; ( π6 , 4)
(a) = x3 + x2 − 3; (1, 5)
dx
dy x
(b) = 2x(x + 1); (2, 0) (d) y 0 = √ ; (1, 5)
dx 10 − x2
3. (a) A particle moves with constant acceleration of 5.8 metres/second squared. It starts
with an initial velocity of 0.2m/s,
R and an initial position of 25m. Find
R the equation
of motion of the particle given (acceleration) dt = velocity, and (velocity) dt =
position.
3
(b) If the instantaneous rate of change of a population is 50t2 − 100t 2 (measured in
individuals per year) and the initial population is 25000 then
(a) What is the population after t years?
(b) What is the population after 25 years?
(c) A particle moves along a straight line with an acceleration of a = 4 sin πt
2
m/s2 . If
8
the displacement at t = 0 is 0, and the initial velocity is − π m/s, find
i. The acceleration after 2 seconds.
ii. The velocity after 2 seconds.
iii. The displacement after 2 seconds.
5
Answers for Worksheet 4.4
Exercises 4.4
1. (a) y = 14 x4 + 13 x3 − 3x + 89
12
(c) y = sin x + 7
2
1
(b) y = 32 x3 + x2 − 28
3
(d) y = −(10 − x2 ) 2 + 8
6
Worksheet 4.5 Polynomials
Exercises:
1. Find (i) the constant term, (ii) the coefficient of x4 and (iii) the degree of the following
polynomials.
(a) x4 + x3 + x 2 + x + 1
(b) 9 − 3x2 + 7x3
(c) x−2
(d) 10x5 − 3x4 + 5x + 6
(e) 3x6 + 7x4 + 2x
(f) 7 + 5x + x2 − 6x4
2. Suppose f (x) = 2ax3 − 3x2 − b2 x − 7 and g(x) = cx4 + 10x3 − (d + 1)x2 − 4x + e. Find
values for constants a, b, c, d and e given that f (x) = g(x).
1
Section 2 Operations on polynomials
Suppose
h(x) = 3x2 + 4x + 5 and k(x) = 7x2 − 3x.
Example 1 : We have
Example 2 : We have
• Substitution: We can substitute in different values of x to find the value of our polynomial
at this point.
Example 3 : We have
• Division: To divide one polynomial by another we use the method of long division.
3x −8
x + 2x 3x −2x2
2 3
+4x +7
3 2
3x +6x
−8x2 +4x
−8x2 −16x
20x +7
2
More formally, suppose p(x) and f (x) are polynomials where deg p(x) ≥ deg f (x).
Then dividing p(x) by f (x) gives us the identity
where q(x) is the quotient, r(x) is the remainder and deg r(x) < deg f (x).
Exercises:
1. Perform the following operations and find the degree of the result.
2. Let p(x) = 3x4 + 7x2 − 10x + 4. Find p(1), p(0) and p(−2).
3. Carry out the following divisions and write your answer in the form p(x) = f (x)q(x) +
r(x).
(a) (3x3 − x2 + 4x + 7) ÷ (x + 2)
(b) (3x3 − x2 + 4x + 7) ÷ (x2 + 2)
(c) (x4 − 3x2 − 2x + 4) ÷ (x − 1)
(d) (5x4 + 30x3 − 6x2 + 8x) ÷ (x2 − 3x + 1)
3
(e) (3x4 + x) ÷ (x2 + 4x)
We have seen in Section 2 that if a polynomial p(x) is divided by polynomial f (x), where
deg p(x) ≥ deg f (x), we obtain the expression p(x) = f (x)q(x) + r(x), where q(x) is the
quotient, r(x) is the remainder and deg r(x) < deg f (x), or r = 0.
So the remainder when p(x) is divided by x − a is p(a). This important result is known as the
remainder theorem.
Remainder Theorem: If a polynomial p(x) is divided by (x−a), then the remainder is p(a).
4
Exercises:
1. Use the remainder theorem to find the remainder of the following divisions and then
check your answers by long division.
(a) (4x3 − x2 + 2x + 1) ÷ (x − 5)
(b) (3x2 + 12x + 1) ÷ (x − 1)
2. Use the remainder theorem to find the remainder of the following divisions.
(a) (x3 − 5x + 6) ÷ (x − 3)
(b) (3x4 − 5x2 − 20x − 8) ÷ (x + 1)
(c) (x4 − 7x3 + x2 − x − 1) ÷ (x + 2)
(d) (2x3 − 2x2 + 3x − 2) ÷ (x − 2)
The remainder theorem told us that if p(x) is divided by (x − a) then the remainder is p(a).
Notice that if the remainder p(a) = 0 then (x − a) fully divides into p(x), i.e. (x − a) is a
factor of p(x). This is known as the factor theorem.
We can use trial and error to find solutions of a polynomial p(x) by finding a number a where
p(a) = 0. If we can find such a number a then we know (x − a) is a factor of p(x), and then
we can use long division to find the remaining factors of p(x).
Example 1 :
p(2) = 48 − 66 + 22 − 2 = 0
5
i.e. 2 is a root of p(x).
So (x − 2) is a factor of p(x).
To find all the other factors we’ll divide p(x) by (x − 2).
2
6x −5x +1
x − 2 6x3 −17x2 +11x −2
6x3 −12x2
−5x2 +11x
−5x2 +10x
x −2
x −2
0
6x2 − 5x + 1 = 6x2 − 3x − 2x + 1
= 3x(2x − 1) − (2x − 1)
= (3x − 1)(2x − 1)
So p(x) = (x − 2)(3x − 1)(2x − 1) and its factors are (x − 2), (3x − 1) and (2x − 1).
Solution b). The solutions to p(x) = 0 occur when
x − 2 = 0, 3x − 1 = 0, 2x − 1 = 0.
That is
1 1
x = 2, x= , x= .
3 2
Exercises:
1. For each of the following polynomials find (i) its factors; (ii) its roots.
(a) x3 − 3x2 + 5x − 6
(b) x3 + 3x2 − 9x + 5
(c) 6x3 − x2 − 2x
(d) 4x3 − 7x2 − 14x − 3
2. Given that x − 2 is a factor of the polynomial x3 − kx2 − 24x + 28, find k and the roots
of this polynomial.
1
3. Find the quadratic whose roots are −1 and 3
nd whose value at x = 2 is 10.
6
4. Find the polynomial of degree 3 which has a root at −1, a double root at 3 and whose
value at x = 2 is 12.
5. (a) Explain why the polynomial p(x) = 3x3 + 11x2 + 8x − 4 has at least one root in the
interval from x = 0 to x = 1.
(b) Find all roots of this polynomial.
7
Exercises for Worksheet 4.5
(a) x3 − 3x2 + x + 2 = 0
(b) 5x3 + 23x2 + 10x − 8 = 0
(c) x3 − 8x2 + 21x − 18 = 0
(d) x3 − 2x2 + 5x − 4 = 0
(e) x3 + 5x2 − 4x − 20 = 0
(a) Given that x − 4 is a factor of h(x), find k and find the other factors of h(x).
(b) Hence find all the roots of h(x).
1
6. Find the quadratic whose roots are −3 and 5
and whose value at x = 0 is −3.
8
Answers for Worksheet 4.5
Section 1
2. a = 5, b = ±2, c = 0, d = 2, e = −7.
Section 2
Section 3
9
2. (a) 18 (b) 10 (c) 77 (d) 12
Section 4
Exercises 4.5
6. 5x2 + 14x − 3
7. x2 − 3x − 4
8. 2x3 − 6x2 + 2x + 2
10
Worksheet 4.6 Properties of Trigonometric functions
This section reviews some of the material covered in Worksheets 2.2, 3.3 and 3.4. The reader
should be familiar with the trig ratios, using radians and working with exact values which arise
from the following standard triangles.
π
6
π
√ 4 2 √
2 1 3
π π
4 3
1 1
1
√
3
Example 3 : Find θ if cos θ = 2
and −π ≤ θ ≤ π.
y • since cos θ is positive it must lie in
the first or fourth quadrant
• look at the standard
√ triangles
where cos θ = 23 in the first and
2
1 fourth quadrants
π/6
π/6 x
• note that −π ≤ θ ≤ π
2 π
• so θ = 6
or θ = − π6
Exercises:
(a) tan( 5π
3
) (c) cos( 9π
4
) (e) sec( 5π
6
)
(b) sin(− 10π
3
) (d) sin( 34π
6
) (f) cot(− 11π
4
)
2
Section 2 Graphs of trigonometric functions
Recall the graphs of the trig functions described below for −2π ≤ x ≤ 2π.
3
We can see some properties of the trig functions from their graphs.
1 These trig functions are periodic – they repeat themselves after a certain period.
These graphs alter if we change either the period or amplitude, or if there is a phase shift.
Consider the graph of y = sin x. In general we can think of this as y = A sin n(x − a), where
• A is the amplitude
2π
• n alters the period (period = n
)
4
Example 1 : Sketch y = sin 2x for 0 ≤ x ≤ 2π.
2π
Here the period is now 2
= π.
5
Exercises:
1. Sketch the following graphs and state the period for each.
(a) y = cos 4x
(b) y = 2 cos 4(x − π3 )
(c) y = tan 2(x + π2 )
(d) y = 1 + sin( x−π
3
)
(e) y = 2 − cos(x + π6 )
(f) y = | cos x|
(g) y = cos |x|
Pythagorean Identities
1 cos2 θ + sin2 θ = 1
2 1 + tan2 θ = sec2 θ
3 1 + cot2 θ = csc2 θ
6
• Let θ be the angle measured anticlock-
(x, y) wise for the positive x-axis.
1 y
• Using trig ratios we see that x = cos θ
x
and y = sin θ.
• By Pythagoras’ Theorem x2 + y 2 = 1.
i.e. cos2 θ + sin2 θ = 1.
Proof of 2 : Divide both sides of identity 1 by cos2 θ and the result follows.
Proof of 3 : Divide both sides of identity 1 by sin2 θ and the result follows.
Proof of 4 – 7 : We first prove 7 . Consider the following circle of radius 1 with angles A
and B as shown.
Q(cos A, sin A)
d
P (cos B, sin B)
1 1
A
B
x
1
7
Note that we can label point P as (cos B, sin B) and point Q as (cos A, sin A) by using trig
ratios. We can calculate the distance d using two methods.
d2 = 12 + 12 − 2(1)(1) cos(A − B)
= 2 − 2 cos(A − B)
π
sin(A + B) = cos 2
− (A + B)
π
= cos 2
−A−B
π π
= cos 2
− A cos B + sin 2
− A sin B
= sin A cos B + cos π2 − π
2
− A sin B
= sin A cos B + cos A cos B
8
Double Angle Identities
Proof of 8 and 9 : using the sum and difference identities we can prove the double angle
identities. For instance,
cos 2θ = cos(θ + θ)
cos θ cos θ − sin θ sin θ
= cos2 θ − sin2 θ
Replacing cos2 θ by 1 − sin2 θ (Pythagorean identity 1 ), we can see that cos 2θ = 1 − 2 sin2 θ.
Replacing sin2 θ by 1 − cos2 θ (Pythagorean identity 1 ), we can see that cos 2θ = 2 cos2 θ − 1.
We also have
sin 2θ = sin(θ + θ)
= sin θ cos θ + cos θ sin θ
= 2 sin θ cos θ.
We have now established identities 8 and 9 .
θ 1 + cos θ
10 cos2 =
2 2
θ 1 − cos θ
11 sin2 =
2 2
To prove the half angle identities we begin by rearranging the double angle identities.
9
Proof of 11 : We take the double angle identity cos 2θ = 1 − sin2 θ to obtain
2 sin2 θ = 1 − cos 2θ
1 − cos 2θ
i.e. sin2 θ =
2
θ 1 − cos θ
i.e. sin2 =
2 2
We have now established identities 10 and 11 .
3 π
Example 3 : Given sin x = 5
for 2
≤ x ≤ π, find: (i) cos x and (ii) sin 2x.
Since ≤ x ≤ π, we know x lies in the second quadrant. Also, since sin x = 35 , we
π
2
can form the following right angled triangle.
5
3
x
Using Pythagoras we see that the horizontal side is 4. We must have cos x = − 54 ,
since cosine is negative in the second quadrant. So
sin 2x = 2 sin x cos x
= 2( 53 )(− 45 )
4
= − 25
10
Example 4 : Use the appropriate half angle identity to find the exact value of
sin( π8 ).
The half angle identity for sine is 11 is
1 − cos θ
θ
sin2 =
2 r2
θ 1 − cos θ
i.e. sin =±
2 2
Now,
π π/4
sin = sin
8 r 2
1 − cos(π/4)
=±
2
s √
1 − 1/ 2
=±
2
s√
2−1
=± √
2 2
s √
2− 2
=±
4
p √
2− 2
=±
2
π
Since 8
lies in the first quadrant, where sine is positive, we must have
p √
π 2− 2
sin = .
8 2
11
Exercises:
2. Use the addition formulas to find the exact value of the following.
7π 14π
(a) cos (b) sin (c) tan 7π
6
12 12
3. Use the half angle identities to calculate the exact value of the following.
π π π
(a) cos 8 (b) cos 12 (c) sin − 12
5
4. Given tan x = 12
for 0 ≤ x ≤ π2 , evaluate the following.
(a) sin x (b) cos x (c) sin 2x (d) cos 2x (e) cos 3x
12
Exercises for Worksheet 4.6
2 3π
5. Suppose cos x = 3
where 2
≤ x ≤ 2π. Find the exact value of the following.
6. Use the half angle identity to find the exact value of sin(− 3π
8
).
7. Use the appropriate identities to find the exact values of the following.
1 π π π 3π
(a) cos − (b) sin 2 +
2 4 3 6 4
13
Answers for Worksheet 4.6
Section 1
√ 1 2
1. (a) − 3 (c) √ (e) − √
2 3
√ √
3 3
(b) (d) − (f) 1
2 2
5π 7π π 2π 5π
2. (a) , (c) − , − (e)
6 6 6 3 6
π 7π 3π 5π 11π 13π π 3π 5π 7π
(b) , (d) , , , (f) , , ,
6 6 4 4 4 4 4 4 4 4
Section 2
π
1. (a) period is
2
π
(b) period is
2
π
(c) period is
2
14
(d) period is 6π
(e) period is 2π
(f) period is π
(g) period is 2π
15
π 3π π 5π 7π 11π
2. (a) , , 0.95, 5.34 (c) 0, 2π, , , ,
2 2 6 6 6 6
3π π 5π 3π 7π
(b) , , (d) ,
2 6 6 4 4
Section 3
x
1. (a) − sin 4x (c) 3 cos sin 4x
4 (e)
2
3
(b) 1 (d) (f) 0
2
√ √
2− 6 1 1
2. (a) (b) − (c) √
4 2 3
p √ p √ p √
2+ 2 2+ 3 2− 3
3. (a) (b) (c) −
2 2 2
5 12 120 828 276
4. (a) (b) (c) (d) (e)
13 13 169 2197 715
Exercises 4.6
2π π π 2π 4π 5π
1. (a) ,− (c) 0, π, 2π, , , ,
3 3 3 3 3 3
π 5π π 5π
(b) , (d) 0, 2π, ,
12 12 3 3
2. (a) y = −2 cos( x3 )
16
(b) y = 1 + sin(x + π3 )
3. Proofs only.
7 24 7
4. (a) − (b) − (c)
25 75 24
√
119 61 5
5. (a) − (b) −
54 72
p √
6. − 2 + 22
r √ √ 1
4+ 2+ 6 (b) −
7. (a) 2
8
17
Worksheet 4.7 Modifying Functions - Families of Graphs
We first met functions in Sections 3.1 and 3.2. We will now look at functions in more depth
and discuss their domain and range more formally.
Defining Functions
A function f is specified by a rule and two sets. These sets are the domain, previously discussed
in worksheet 3.2, which we’ll call A, and the codomain which we’ll call B. The domain of a
function contains all the values that we can input into the function. The codomain is a set
containing all possible values the function could achieve. The codomain is usually given.
We can think of our function as a mapping from the domain to the codomain and we usually
write this as
f :A→B
where
A = domain
B = codomain.
The last set we will need to define is the range of a function. The range, also talked about in
worksheet 3.2, is a subset of the codomain, and contains all of the values that f actually attains.
The range is always contained in the codomain, but the codomain might not necessarily be
in the range (it can contain more things). In Example 2 the range of f is the same as the
codomain, [1, 10).
1
Example 3 : Consider again f : R → R where f (x) = x2 .
Since we square all our inputs, we will never get a negative number as an output.
In other words, f (x) will only attain 0 and positive values. So the range of f (x) is
[0, ∞). Notice this is a subset of the given codomain R.
All functions have only one value of f (x) for each value of x.
1
Example 5 : Find the domain of f (x) = x−5 .
We can never divide by 0, thus for x to be in the domain it must satisfy x − 5 6= 0.
So the domain of the function is x 6= 5.
Set Notation
Another way of writing the domain from Example 5 is to use set notation. We say
Domain = x ∈ R : x 6= 5 ,
which we read as ‘the set of all real numbers x, such that x is not equal to 5’. We use the
brackets {. . . } to respresent our set and the symbol ∈ to mean ‘belongs to’. The colon ‘ : ’
may be read as either ‘such that’ or ‘with the property that’.
√
Example 6 : Find the domain and range of f (x) = x + 3.
We can only take the square root of positive numbers or 0, so to be in the domain
x must satisfy x + 3 ≥ 0, which gives √domain [−3, ∞). The square root function
always gives a positive or 0 result, so x + 3 ≥ 0 so the range of the function is
[0, ∞).
We can write this using set notation as
Domain = x ∈ R : x ≥ −3
Range = y ∈ R : y ≥ 0 .
2
Exercises:
1. State the domain and codomain and find the range of the following functions
3. Find the domain of the functions below and express it in set notation.
√
(a) f (x) = x
(b) f (x) = √1
x
1
(c) f (x) = 3x−2
3
(d) f (x) = x − 1
√
(e) f (x) = x − 7
√
(f) f (x) = x2 − 16
(a) f (x) = x2 + 1
√
(b) f (x) = x + 9
(c) f (x) = 4x − 2
You may have noticed that it is often easier to find the range of a function by looking at its
graph. In fact the graph of a function can give us the big picture on how the function behaves.
The next two sections look at modifying known functions to quickly and easily sketch other
graphs.
We know how to draw the standard graphs of some basic functions, for example
3
y y y
6 6 6
1
y=x O y = x2 I
@ y = |x|
@
@
- - @ -
x x x
−1
? ?
y y
6 6
6
1 √
f (x) = x f (x) = x
-
- -
x x
?
? ?
This worksheet will show you how to easily and quickly draw modified versions of these graphs.
The first kind of modification is one that occurs on the y-coordinate. For example we might
want to sketch y = x2 − 2. This graph is taken by picking some value of x, squaring it and
then subtracting 2. This is the same for every value of x, so this is just the graph y = x2
shifted down by 2 units.
y y
6 6
O y = x2 O y = x2 − 2
- -
x x
−2
? =⇒ ?
4
Definition 1 : The modification y = f (x) + a is drawn by shifting the graph of
y = f (x) up by a units. Similarly the modification y = f (x)−b is drawn by shifting
the graph down b units.
Example 1 : Sketch the graphs y = |x| + 2 and y = x1 − 1. The first graph is a shift
up of 2 units, and the second graph is a shift down of one unit.
y y
6 6
I
@
@ y = |x| + 2
1
@ f (x) = x −1
@
2 - -
x x
1
The other kind of modification is one that occurs on the x coordinate. For example suppose
we want to sketch
(a) y = (x − 1)2
1
(b) y = x+2
√
(c) y = x−3
The key thing to notice here is that the order of operations tells us that in (a) we subtract
1 from x and then square the expression. Similarly in (b) we add 2 to x and then apply the
function. Finally in (c) we subtract 3 from x and then take the square root. All of these amount
to essentially the same thing, i.e. we are adding or subtracting a number before applying the
basic function. To see this, think for a moment about how the graphs are drawn. Let’s look at
(a) - going from the original function y = x2 to the new function y = (x − 1)2 . In the original
function we take some particular value for x, let’s say x = 4, and then square it to get the
y value. So we have a point on the original graph (4, 16). In comparison, looking at our new
function and taking the same x value, we subtract 1 from it before squaring so the y value is
y = 32 = 9 and the point on our new graph is (4, 9). So the y value is the same as the y value
1 unit to the left in the non-modified graph.
5
y y
6 6
y = (x − 1)2 y = (x + 1)2
- -
x −1 x
1
? ?
y y
6 6
1 √
f (x) = x+2 f (x) = x−3
- -
-2 x x
3
? ?
The modifications we have looked at in this section have either shifted our original function
vertically or horizontally. We call this kind of modification a translation.
Exercises:
2. Sketch
√
(a) y = x + 5 (d) y = |x| + 20
√ 1
(b) y = x + 5 (e) y = x−7
(c) y = |x + 20| (f) y = 3 + 1
x−7
6
Section 3 Other Modifications
There are three more standard modifications to consider, the first is multiplying the function
by a constant. This modification takes the original y values of the functions and changes them
by the scalar that we are multiplying by.
Example 1 :
y = 3(x − 1)2
In this example the number 3 is the scalar of multiplication.
y
6
y = 3(x − 1)2
3
-
x
1
The only difference between this example and the previous drawing of y = (x − 1)2
is that this function is steeper
The next modification we’ll talk about is taking absolute values. This modification takes any
positive y values and leaves them unchanged, and takes any negative values making them
positive with the same value. This is the same as putting a mirror along the x axis, and
drawing any values below the axis at their mirrored position above the x axis.
...
...
...
y ..
...
...
... y ..
...
.. ... ..
... 6 .
... ... 6 .
...
... ...
... ... ... ...
... ... ... ...
... ... ... ...
...
...
...
..
.
...
...
y = x2 − 1 ...
...
... 1
..
.
...
...
y = |x2 − 1|
... .. ... ......................... ..
... ...
. ... .........
. ..... ...
.
...
...
... ... ....
.... ...
.
... ... ......
... ... ... ... ... ...
... ... .... ......
... ... - -
1
...
...
....
....
...
.... 1 x 1 1 x
.... ....
....... ..
..
..
.
..................
−1
? ?
7
The last modification we will look at is taking reciprocals. The reciprocal of x is x1 , we just
flip the fractions over (thinking of x as x1 ). Here are some numbers and their reciprocals.
1 1
Number (x) Reciprocal x
Number (x) Reciprocal x
1
1 1 4
4
1 1
2 2 2
2
1 1
3 3 100
100
1 2 5
10 10 5 2
1 2 55
100 100 55 2
Note that the smaller the number, the larger the reciprocal and the larger the number the
smaller the reciprocal.
Note that 0 has no reciprocal, but as x gets closer to 0 its reciprocal gets larger (approaches
∞). If it gets close to zero and is negative then its reciprocal will approach −∞, if it is positive
then it approaches ∞. Similarly as x gets large (approaches ∞) the reciprocal approaches 0.
1
Example 3 : We can see how to draw the reciprocal function y = x
by using the
graph y = x.
y y
6 6
1 6
y=x
1
f (x) = x
-
- -
x x
−1
?
? ?
On the graph of y = x1 notice there is a break along the line x = 0. This is because x cannot
take the value of 0, however as x gets closer to 0, x1 approaches ±∞ respectively. We call the
line x = 0 a vertical asymptote.
8
1
Example 4 : Sketch the graph of y = x2 −1
.
...
...
...
y ..
...
.
..
..
y ..
..
..
.. .. ..
... 6 .
... ....
6 ...
...
... ... .. ...
... ... ... ...
...
... ... ... 1
y = x2 − 1
...
...
...
....
..
.
...
.. ...
... y= x2 −1
... ... ... ...
... .. .... ....
...
...
. ..
..
.... .....
......
... ..
... ....... .......
...
... ....... .........
... ......... ...........
... ..
.. ............ ......
... .. - -
1
...
....
.... ...
..
...
1 x 1 1 x
..... ....
........ ............
−1
.............
−1 ..........
...... ......
.. ....
... ...
... ...
... ...
... ...
...
... ...
..
? ?
Exercises:
1. Sketch
2. Sketch the graph of y = x2 . Using this and considering reciprocals sketch the graph of
y = x12 .
(a) y = f (x) + 3
(b) y = |f (x)|
(c) y = f (x + 3)
(d) y = 1 − f (x)
√
4. Sketch f (x) = x − 3 + 2 and find its domain and range.
9
Exercises for Worksheet 4.7
1. Sketch the following functions and find their domains and ranges.
1
(a) y = x−1
(b) y = |x − 7| − 3
√
(c) y = 3x − 14
(d) y = x2 + 6x − 1 (Hint: complete the square)
(a) y = x2 + 3
(b) y = (x + 3)2
(c) y = 1 + (x + 3)2
(d) y = 1 − (x + 3)2
1
(e) y = (x+3)2
1
4. In this question f (x) = x−2
. Sketch the following.
(a) y = f (x)
(b) y = f (x + 3)
(c) y = f (x) + 3
(d) y = |f (x) + 3|
1
(e) y = f (x)
10
Answers for Worksheet 4.7
Section 1
11
Worksheet 4.8 Composite and Inverse Functions
Section 1 Composition
We’ll begin by defining the composition function f ◦ g(x) = f (g(x)), which is read as “f of g
of x”. Another helpful way to think about these is to call them “a function (f ) of a function
(g)”. To calculate this function for a given x, first evaluate g(x), which will give us a number,
and then take this number and apply the function f to it giving f (g(x)). Note: For f ◦ g(x)
to exist x must be in the domain of g and g(x) must be in the domain of f . This is expanded
on in Section 3 of Chapter 3.1.
√
Example 2 : Consider the functions p(x) = x − 1 and q(x) = x2 . Find (q ◦ p)(x).
Firstly notice p(x) has domain [1, ∞) and range [0, ∞) and q(x) has domain R and
range [0, ∞).
√
Look at (q ◦ p)(x) = q(p(x)) = ( x − 1)2 = x − 1. When finding the domain
of (q ◦ p)(x) we need to consider what is happening in this composite. Here the
function p(x) is applied first, followed by q(x).
So we start by inputting the domain [1, ∞) of p(x) such that its range [0, ∞)
becomes the input of q(x). Then q(x) squares these values to give the overall
output of the composite. Stringing these observations together tells us that the
domain of (q ◦ p)(x) is [1, ∞) and its corresponding range is [0, ∞).
Notice that we are incorrectly tempted to look at (q ◦ p)(x) = x − 1 and claim its
domain is R and its range is R. However as this is a composite of two functions
its input and output values depend on the domain and range of the two individual
functions q(x) and p(x).
1
Exercises:
√ 1
1. Consider f (x) = 4 − x2 , g(x) = x + 3, h(x) = 2x
. Evaluate the following.
(a) (f ◦ g)(1)
(b) (g ◦ h)(1)
(c) (f ◦ g)(x)
(d) (g ◦ h)(x)
(e) (h ◦ g)(x)
(f) (f ◦ g)(x2 )
(g) (f ◦ g ◦ h)(x)
2. Using the functions given in the previous exercise, explain why (f ◦g)(−4) does not exist.
√
3. Let s(x) = x and t(x) = x2 + 2x + 1. Evaluate (s ◦ t)(x) and state its domain and
range.
q
4. f (x) = x21+2 . Write f (x) as the composition of two or more functions.
2
Notice in each of examples 1 and 2 the operations performed are “opposites” so the functions
“undo” each other. Similarly we have example 3.
We can see that certain pairs of functions have the important property that they undo each
other. We call functions that undo each other inverses. So p(x) and q(x) are inverses since
(p ◦ q)(x) = x and (q ◦ p)(x) = x.
To represent this special relationship they have with each other we rename them. For p(x) = x3
we say
1
p−1 (x) = x 3 .
Here we use a superscript of -1 to represent that we are talking about the inverse of p. [note:
p−1 (x) 6= p(x)
1
So we say that (p ◦ p−1 )(x) = (p−1 ◦ p)(x) = x.
Definition 1 : The inverse function for f is the unique function f −1 that satisfies
(f ◦ f −1 )(x) = (f −1 ◦ f )(x) = x.
Exercises:
x
(c) f (x) = 2x − 2 and g(x) = 2
+1
(a) y = x2 − 2
(b) y = x − 7
(c) y = x2 − 4x + 4
3
√
(d) y = x+2
√
(e) y = x + 2
(f) y = x + 7
There is a particular technique we can use to find inverses of functions. Let’s look at an
example to see how this works.
Example 1 :
2x − 3
f (x) = .
7
To find the inverse of f (x), let’s rewrite it so that we call the output values y, i.e.
y = 2x−3
7
. Since the inverse function will undo the original, we expect the outputs
of the inverse to bring us back to the inputs of the original, and vice versa. So for
our inverse function we expect
2y − 3
x=
7
i.e. we swap the x and y values which represent the inputs and outputs. To find
the inverse function we now make y the subject.
2y − 3
x=
7
7x = 2y − 3
7x + 3 = 2y
7x + 3
y= ,
2
so our inverse function is y = 7x+3
2
. We write f −1 (x) = 7x+3
2
.
Notice we have a simple technique to find inverses - we swap x and y in the original function
and then rearrange to make y the subject.
Example 2 : f (x) = 3x − 11
Let y = 3x−11. To find the inverse we write x = 3y −11 and rearrange x+11 = 3y
giving y = x+11
3
. So
f −1 (x) = x+11
3
.
4
Suppose f : A → B where A is the domain and B is the range. Then f −1 : B → A. In fact we
have to take particular note of the domain and range when finding inverse functions especially
in certain situations.
Consider f (x) = x2 where f : R → [0, ∞).√ To find the inverse √ we write y = x2 then
√ swap
2 2 −1 −1
x = y then rearrange y = x to get y = ± x. Here f (x) = + x and f √(x) = − x. We
cannot have 2 different inverse functions for f (x) = x2 . If f −1 (x) is both ± x then it is not
a function at all. So in this situation we need to make sure that f (x) is defined correctly in
the first place so that the inverse can be taken. Since we don’t want two different inverses, we
need to restrict the domain of f (x).
...
...
...
y
... 6
...
...
...
...
y = x2
...
....
....
....
....
.....
......
.......
.......
........
..........
Let’s take f : (−∞, 0] → [0, ∞), f (x) = x2 ... -
x
Therefore f −1 : [0, ∞) → (−∞, 0]. By restricting the domain we have removed of the problem
of getting more than 1 inverse. We have done this by making sure that for each y-value there
...
...
...
y
... 6
...
...
...
...
...
....
....
....
....
.....
y
......
......
.......
........
..........
.....
is only one corresponding x-value. x
-
x
Now by looking
√ at the range of f −1 (the negative reals) we can therefore see that we need
f −1 (x) = − x here.
There are times that we need to restrict the domain and codomain of a function so that is
is possible to find its inverse. In the previous example we have done this by making sure f
is one-to-one i.e. made sure that for each output there is only one input corresponding to it.
We also need our function to be onto i.e. the function gives outputs across the whole domain,
meaning that the codomain = range. (We didn’t have to worry about this in the previous
example as the codomain = range was given). By restricting our function so that it is both
1-1 and onto we will be able to find an inverse.
5
Example 3 : Find the inverse of the function f (x) = x2 + 1 with domain [0, ∞) (so
that the range of f is [1, ∞)).
From a quick sketch we see that f is 1-1 and onto.
y .
...
...
6 ...
...
...
...
..
.
...
...
.
...
y = x2 + 1
....
...
..
..
......
..
.......
.......
........
...........
1
-x
We can observe that a special property of inverse functions is that they are symmetrical about
the line y = x
y y = x2 ...+ 1
...
6 ...
...
..
. .
... ..........
... ..........
.........
... .........
.... ..............
.
.. ....
.... ........
√
.... ......
..... ......
.............
y= x−1
..
..
..
... .
....... ...
........ ...
.......... ....
1 .
..
...
-x
6
Exercises:
1. Find the inverses of these functions and sketch each function and its inverse on the same
graph.
(a) y = 3x
(b) y = x − 7
x
(c) y = 2
+ 17
1−5x
(d) y = 4
3
(e) y = x+8
3
(f) y = x
2. Find the inverses of these functions and state their domain and range.
√
(a) y = x + 2
√
(b) y = x + 2
3. By suitably restricting the domain, find the inverse of y = x2 − 2 and state its domain
and range.
7
Exercises for Worksheet 4.8
1. For the following pairs of functions f and g find the composition functions f ◦ g and g ◦ f .
Also find the domains of the two composition functions.
(a) f = 2x − 5 and g = x2 − 3x
√
(b) f = 3x − 1 and g = x2
√
(c) f = 3x − 1 and g = x1
√ 2
(d) f = 3x − 1 and g = x x+1
(e) f = x2 − 3 and g = |x|
2. Write each of the following functions as the composition of two or more simpler functions.
√
(a) x3 − 1
(b) (3x − 4)3
1
(c) x2 −1
(d) x
(a) y = 3x + 2
1
(b) y = 4−x
x+2
(c) y = x+5
3
(d) y = x + 1
4. Find the inverses of the following functions and specify the domain of these inverses.
8
Answers for Worksheet 4.8
Section 1
1. (a) 0 (c) 1 − x 1 1
(e) √ (g) 1 −
r r 2 x+3 2x
7 1
(b) (d) +3 (f) 1 − x2
2 2x
Section 2
Section 3
x 3
1. (a) y = (c) y = 2(x − 17) (e) y = −8
3 x
4 1 1
(b) y = x + 7 (d) y = − x + 5 (f) y = x 3
5
9
Exercises 4.8
(a) (f ◦ g) 2x2 − 6x − 5 R
(g ◦ f ) 4x2 − 26x + 40 R
√
(b) (f ◦ g) 2x2 − 1 (−∞, − √13 ] ∪ [ √13 , ∞)
(g ◦ f ) 3x − 1 [ 13 , ∞)
r
3
(c) (f ◦ g) −1 (−∞, 0) ∪ (0, 3)
x
1
(g ◦ f ) √ ( 31 , ∞)
3x − 1
r
3x2 − x + 3
(d) (f ◦ g) (0, ∞)
x
3x
(g ◦ f ) √ ( 31 , ∞)
3x − 1
(e) (f ◦ g) x2 − 3 R
(g ◦ f ) |x2 − 3| R
2. Some possibilities are:
√ √
(a) (f ◦ g)(x) = x3 − 1 where f (x) = x and g(x) = x3 − 1,
(b) (f ◦ g)(x) = (3x − 4)3 where f (x) = x3 and g(x) = 3x − 4,
1 1
(c) (f ◦ g)(x) = 2 where f (x) = and g(x) = x2 − 1,
x −1 x
2
√
(d) (f ◦ g)(x) = x where f (x) = x and g(x) = x.
x 2 1 3 (d) (x − 1)1/3
3. (a) − (b) − + 4 (c) −5
3 3 x 1−x
√
4. (a) f −1 (x) = x − 2 + 1 with domain [2, ∞).
(b) h−1 (x) = −x with domain (0, ∞).
√
(c) g −1 (x) = 9 − x with domain (−∞, 9].
10
Worksheet 4.9 Exponentials and Logarithms
Section 1 Introduction
We have met exponentials and logarithms before in previous modules. Before working through
this worksheet you will want to refresh your knowledge of logarithms and exponentials by
working through worksheet 2.7 from module 2. In this worksheet we will consider the special
relationship logarithms and exponentials have with each other.
y ..
...
...
..
6
.
...
...
.
ex
...
...
...
...
..
....
..
....
....
....
...
....
.
.....
.
...
......
......
.......
......
.......
.......
1 .
.....
.........
.
..
..
.........
.........
..........
...........
...........
............
...
..
..
..
..
..............
.
......
.................
..................
.....................
.........................
...............................
-
1 x
and is a function which grows (or decays) rapidly. The log function loge x looks like
y
6
...
...............
..............
............
..
..
..
...........
.
...........
.......... loge x
.....
.........
1 ........
........
.......
.......
.......
..
..
........
......
......
......
.....
...
....
.
.....
.
.
....
...
....
-
....
.
....
...
.
1 x
..
...
...
..
...
....
...
..
...
...
..
....
.
..
..
..
..
..
..
...
..
..
..
..
..
..
1
We define the log function as the inverse of the exponential, so logs and exponentials “undo”
each other. When we sketch their graphs we can easily see the property of inverse functions
that they are symmetrical about y = x
y ...
...
...
6 ...
...
...
...
ex
...
..
...
.......
.
....
....
....
.
...... ...
.............
..... ............
..... ...........
..... ...........
.......
. .
..
...........
.
......
......
.......
...
.........
.........
.........
.
...
..
.
loge x
....... ........
.
. ....... ........
.
1 ........
........
.
.......
.
..
.
.......
......
.......
...
..
......... ......
.
..
..
..
........... ..........
.
.. .....
........... .....
........... ......
.............
............. ....
...
..
..
..
..
..
................ .
.....
......... ..
................... ....
....................... ....
.............................. ....
.
..... -
..
...
...
... 1 x
...
...
...
...
..
.
...
...
...
....
..
...
..
..
...
.
..
..
..
..
y=x ...
..
...
...
...
....
Exercises:
1. Use the following exercises to revise your knowledge of exponentials and logarithms.
52
3 −1 12 4
(a) Simplify (4x y ) × 9x2
y7
2. What is the domain and range of y = log5 x. Write down its inverse function and the
corresponding domain and range.
2
3. Consider the exponential function f (x) = bx (where b > 0). For the following values of
b sketch the corresponding exponential functions on the same graph.
(a) b = 2
1
(b) b = 2
(c) b = 10
4. For each of the exponentials f (x) you drew in question 3, find its inverse f −1 (x) and on
a new graph sketch both the function and the inverse you’ve found.
In the same way that we modified functions in Chapter 4.9, we can also easily sketch graphs
of modified exponential and logarithmic functions.
.......
.
......
.......
....
.............. .......
.....
...
..................... ....
...........
............... ...
................... .........
..................... ........
..........
..........................
........................
.. .......
..............
.......... y=1
.............
..............
...............
...................................
.....
......................
................. 1
...............................
-
x
3
...
...
y .
..
..
.
...
... .. ...
... 6 .. ..
2−x ...
...
...
2x+1 ..
...
.
...
..
...
.
... 2x
...
.... ....
...
... ... ...
...
...
.. ...
... ..
....
....... .
....
.... .
.
... ....
.... ... ....
.... .... ....
.... ..... ...
....
...
....... ....
.... .
..... ...... ....
...... ...... ....
...... ....... ......
....... ....... ......
....... .....
......... .. ...
.......
. ......
.......
........
........
........
2 .........
........
.........
........
........
........
.......
.........
......... ..
... .. .......... ..
............
.
...........
......... ............. ..
........................... ...................
...................
..........
....
y=1
............ . .
........
. ............... ....
.................... .........................
.. .. ...............
.............. ............... .................
.............. .................
................
............... .....................................
................ .........................
. 1 ..................
.....................
.........................
..............................
................................... ...
-
x
x = −1
........
................ ....................
..............
log3 x...............................................................................................
. log3 (x − 2)
....... ..
........
........ .......
........ ......
........ ....... ..........
......................
.
. ...........
. ..
..
. ..............
.......
. ...... ............
....... ..... ..........
......
......
.
... . . .
....
....
.
..
.. .
........
.......
.
..
..
..
.
−1 + log3 (x − 2)
..... .......
...... .... .......
.......
. ...... .
..
.......
.
.
.... .. ....
.... ... ...
... ... ....
.. ...
..
..... ...
. . ..... -
.
.... ... ..
...
...
...
1 ...
...
3 ...
....
.... 5 x
... ..
. ....
.
... ... ...
... ... ...
... .. ..
... ..
.
. .
...
... ... ...
... ... ...
.. .. ...
.
..
..
...
.
..
..
... • (3, −1)
...
..
.
.. .. ...
..
..
..
.. ...
... ... ..
.
.
..
.
.. ...
.. .. ...
.. .. ...
.. .. ....
... ....
. ... ..
.. ... ...
..
.. ... ...
.. ... ..
.. .. .
4
Exercises:
Since the exponential and logarithm functions are inverses we can use the same methods in
the previous worksheet to find inverses.
5
Example 2 : Find the inverse of f (x) = log(x − 3).
Let y = log(x − 3). Write x = log(y − 3) and rearrange
ex = y − 3
y = ex + 3,
so
f −1 (x) = ex + 3.
log x = y + 1
y = log(x) − 1,
so
g −1 (x) = log(x) − 1.
y ...
...
...
6
...
...
...
ex+1
...
.....
.
.
....
....
....
.. ....
..
....
....
.....
.
..
......
.....
......
......
......
....
....... ......
.............
...... ............
....... ...........
....... ...........
1 .
........
.
..
..
. ....... .
..........
..
..
..
...........
.
loge (x) − 1
........ .........
......... .........
.......... ........
(−1, 1) • .
...
............
..
..
..
..
........... .
......
..
...
.........
............ .......
.............. .......
............... ......
.
..
..
..
..
..
..
..
.................. .
..
........
.
..................... .
............................. .....
.....
......
.... -
...
....
1
....
.
...
..
x
....
.....
..
...
...
. ..
•
...
...
...
..
... (1, −1)
.
...
...
..
..
...
.
..
..
y=x ..
..
...
.
..
..
..
..
6
Example 4 : Find the inverse of g(x) = e2x−3 + 2.
Let y = e2x−3 + 2. Write x = e2y−3 + 2 and rearrange
2y − 3 = log(x − 2)
2y = log(x − 2) + 3
log(x − 2) + 3
y= ,
2
so
log(x − 2) + 3
g −1 (x) = .
2
Exercises:
3. Find the inverses of the following functions (with given domain) and specify the domains
of the corresponding inverse functions.
7
Exercises for Worksheet 4.9
8
Answers for Worksheet 4.9
Section 1
23 17
1. (a) 486x 2 y − 14 (c) −1/4 (e) log x + log y
(b) 35x (d) −3/2 (f) 2
2. The domain of y = log5 x is (0, ∞) and its range is R. Its inverse is y = 5x with domain
R and range (0, ∞).
Section 2
Section 3
4. One reason is that log(−1) is not defined. Another reason is that the function ex is
always positive valued.
9
Exercises 4.9
(a) If we restrict the domain of f to (−3, ∞) then its inverse will be f −1 (x) = ex − 3.
(b) If we restrict the domain of f to (−∞, −3) then its inverse will be f −1 (x) = −ex − 3.
10
Worksheet 4.10 Sigma Notation
Factorial notation is a shorthand way of writing the product of the first n positive integers.
That is for any positive integer n, the notation n! (which is read as ‘n factorial’) is defined to
be
n! = n × (n − 1) × (n − 2) × . . . × 3 × 2 × 1
In addition, we define 0! = 1.
7!
Example 5 : Evaluate .
5!
7! 7 × 6 × 5!
= = 7 × 6 = 42
5! 5!
Exercises:
1. Evaluate 9!
5!
2. Evaluate
2!3!
Sigma notation is used as a convenient shorthand notation for the summation of terms.
Example 1 : We write
5
X
n = 1 + 2 + 3 + 4 + 5.
n=1
1
Here the symbol Σ (sigma) indicates a sum. The numbers at the top and bottom of sigma are
called boundaries and tell us what numbers we substitute in to the expression for the terms
in our sum. What comes after the sigma is an algebraic expression representing terms in the
sum. In the example above, n is a variable and represents the terms in our sum.
Example 2 :
5
X
n3 = 13 + 23 + 33 + 43 + 53 .
n=1
Example 3 :
5
X
n3 = 33 + 43 + 53 .
n=3
Example 4 :
4
X 1 1 1 1
=1+ + + .
n=1
n 2 3 4
5
X 5
X
Note that we have n= i. The n and the i just play the role of dummy variables.
n=1 i=1
We can also work the other way. Sometimes our sum has a pattern which enables us to write
the sum usnig sigma notation.
2
n
X 1
• so we can write the sum as .
k=0
3k + 1
We can also use sigma notation when we have variables in our terms.
• note from Example 5 the numbers are multiples of 3 and can be represented
by 3n where n = 1, 2, . . . , 20;
• we also have powers of x which increase by 1 in each subsequent term;
20
X
• so we can write this sum as 3nxn .
n=1
The numbers in front of the variables are called coefficients. In Example 7 the coefficients of
x is 3 and the coefficient of x2 is 6.
x2 x4 x6 x2n
Example 8 : Write the expression 1 + 2!
+ 4!
+ 6!
+ ··· + (2n)!
in sigma notation.
• here the powers of x are even numbers which can be represented by 2k for
k = 0, 1, . . . , n;
• the denominators are also even numbers but with factorials;
n
X x2k
• so we can write this sum as .
k=0
(2k)!
3
Exercises:
Sigma notation is a useful way to express the sum of a large number of terms. When we want
to find particular terms or coefficients, we don’t always have to expand the whole expression
to find it.
8
X
Example 1 : Find the coefficient of x in 4
(4k + 3)xk .
k=0
8
X
Example 2 : Find the coefficient of x in 7
(4k + 3)xk+2 .
k=0
4
• the term with x7 occurs when k + 2 = 7, i.e. k = 5;
• we have (4(5) + 3)x5+2 = 23x7 ;
• the coefficients of x7 is 23.
8
X
2
Example 3 : Find the coefficient of x in (3 + x) (4k + 3)xk .
k=0
8
X 8
X
k
• we can think of this as 3 (4k + 3)x + x (4k + 3)xk ;
k=0 k=0
2
• the term with x can be obtained by taking k = 2 from the first part of this
expression to get 3(4(2) + 3)x2 = 33x2 and then taking k = 1 from the second
part of this expression to get x(4(1) + 3)x1 = 7x2 ;
• combining these we get 33x2 + 7x2 = 40x2 ;
• so the coefficient of x2 is 40.
Exercises:
5
Exercises for Worksheet 4.10
(a) 1 − 41 + 19 − 1
16
+ 1
25
− 1
36
(b) 7 − 10 + 13 − 16 + · · · + 31
(c) 42 + 52 + 62 + 72 + · · · + (n + 2)2
1 1 1 1
(d) 7!
+ 8!
+ 9!
+ ··· + (n+5)!
6
Answers for Worksheet 4.10
Section 1
1. 362880 2. 10
Section 2
1. (a) 14 + 24 + 34 + 54 + 64
4
(b) 3
+ 54 + 65 + 67 + 8
7
(c) 3 + 5 + 7 + 9 + · · · + (2n − 1)
(d) 2 + 4x + 8x2 + 16x3 + · · · + 2n+1 xn
x x2 x3 (−1)n xn
(e) 1 − 3
+ 5
− 7
+ ··· + 2n+1
6 2n+1 n
X
(2k + 2)xk+1
X X
2 k+1 k (i)
2. (a) n (e) (−1) 2
n=1 k=1 k=3
8 15 Xn
k(k − 1)xk
X X
(b) (−1)n (2n − 1) (f) 2nx2n+1 (j)
n=2 n=1 k=4
5 5 99
X 1 X xn+1 X (−1)n+1 x2n+1
(c) (g) (−1)n (k)
3n + 2 n=0
n! n+1
n=0 n=1
n 5
X k+1 X
(d) (h) (4n + 3)xn+1
k=1
k+2 n=0
Section 3
1. (a) x2 : 32 , x6 : 7
6!
(c) x2 : 13 , x6 : − 14 (e) x2 : 0, x6 : 1
5!
− 1
4!
(b) x2 : 20, x6 : 72 (d) x2 : 13, x6 : 33 (f) x2 : 4, x6 : 20
Exercises 4.10
7
6 n 10
X (−1)n+1 X 1 X
2. (a) (d) (g) (−1)k+1 (4k + 1)xk
n2 k=2
(k + 5)!
n=1 k=1
8 12 n
X X X kxk−2
(b) (−1)n (3n + 7) (e) 3nx2n (h)
n=1 k=5
2
n=0
n 12 n+1
X
2
X x2n+7 X
(c) (k + 2) (f) (i) nx2n
k=2 n=0
n! k=6
1 1 1
3. (a) x : − 11! , x3 : − 19! , x7 : − 35!
3 27 37
(b) x : 25
, x3 :29
, x7 : 121
(c) x : −1, x3 : 43 , x7 : 3114
(d) x : − 13 , x : − 2 , x : − 13 6!1
1 1
3 7
+ 5!
15 1 25
(e) x : 7!
+ 3!
, x3 : 11! + 7!3 , x7 : 45
19!
7
+ 15!
n
4. (a) (−(n + 1)2 (b) −
n+1
8
Worksheet 4.11 Counting
Section 1 Introduction
When looking at situations involving counting it is often not practical to count things individ-
ually. Instead techniques have been developed to help us count efficiently and accurately. In
particular this chapter looks at permutations and combinations.
Firstly however we must look at the Fundamental Principle of Counting (sometimes referred
to as the multiplication rule) which states:
If there are m ways of doing one thing and n ways of doing another, then there are m × n
ways of doing the first thing followed by the second.
Example 1 : There are 3 t-shirts and 2 pairs of jeans in the cupboard. How many
possible outfits are there?
For each t-shirt there are 2 possibilities of jeans. All together we have three lots of
these two possibilities, or, 3 × 2 = 6.
Exercises:
1. The local pizzeria offers a choice of 2 pizzas - supreme or vegetarian, 3 sides - chips, salad
or coleslaw, and 4 drinks - juice, coke, ginger beer or water. For dinner I decide to have
1 pizza, 1 side, and 1 drink. How many possible meals do I have to choose from?
2. How many different car number plates can be made if each is to display 3 letters followed
by 3 numbers?
3. Your friend wants to perform a magic trick and asks you to draw 2 cars from a standard
deck of 52. The first card you draw must be placed face down and the second placed
face up on the table. How many ways are there of drawing the 2 cards?
1
Section 2 Counting Techniques
For the many circumstances where we need to count the number of outcomes there are two
different counting situations - permutations and combinations. A permutation is an arrange-
ment where the order of selection matters. A combination is an arrangement where the order
of selection doesn’t matter.
Example 1 : The number of ways of arranging 5 people in a line. There are 5 choices
for the first spot, 4 choices for the second and so on, so we have 5×4×3×2×1 = 5!.
Therefore the number of ways of arranging n things into n places is n!.
How about choosing 3 out of 5 people to put on a committee? This time, it doesn’t matter
whether you are chosen first, second or third, you are still on the committee. There are 5×4×3
ways of choosing 3 people in order. However since order doesn’t matter we have over counted,
and therefore we need to divide by the number of ways of arranging the three people that
are chosen, 3!. So the number of ways of choosing this committee is the number of ways of
choosing with order, divided by 3 × 2 × 1.
5×4×3 5!
= .
3×2×1 2!3!
This is a combination, the number of ways of choosing k things from n where order does NOT
matter
n!
= = n Ck .
k!(n − k)!
n n!
Pk = n(n − 1)(n − 2) . . . (n − k + 1) = .
(n − k)!
2
Definition 2 : A combination is the number of ways of choosing k things out of
a possible n, where the order that they are chosen does not matter and is notated
n
Ck .
n n(n − 1)(n − 2) . . . (n − k + 1) n!
Ck = = .
k(k − 1) . . . 1 (n − k)!k!
These definitions are best illustrated by examples which we’ll cover below and in the next 2
sections.
Example 3 :
(a) A teacher wants to randomly choose 5 people from the class of 30 to help out
at the open day BBQ. In how many ways can this be done?
(b) A teacher wants to award prizes for 1st, 2nd, 3rd, 4th and 5th in the class of
30. In how many ways can the prizes be awarded (assume no two students
tie)?
Answers:
(a) In the first case, the 5 people are chosen, and it doesn’t matter whether a
person is chosen first, second or fifth, they all receive the same extra work,
and so there are
30 30 × 29 × 28 × 27 × 26
C5 = = 142, 506
5×4×3×2×1
ways to choose the students with those conditions.
(b) Here the order that the student are chosen does matter, and so there are
30
P5 = 30 × 29 × 28 × 27 × 26 = 17, 100, 720
ways to choose the students with those conditions. This is a significantly more
as expected.
Notice the short way of calculating 30 P5 and 30 C5 applies to all such calculations. To find 30 P5
you can just multiply 5 consecutive descending numbers together, starting at 30. Similarly cal-
culating 30 C5 can be done by multiplying 5 consecutive descending numbers together, starting
at 30, and then dividing by the product of 1 through 5.
3
Exercises:
10 10
1. Calculate P4 and C4 .
2. Calculate 7 P5 and 7 C2 .
3. In an 18 team league, how many ways can the 8 teams for the finals be decided? In how
many ways can the first 4 positions be decided?
4. A child wants to draw a picture using only three different colours from a set containing
twelve different colour pencils. In how many ways can the colours be chosen?
5. In the front of a building there are three doors each to be painted a different colour
from twelve different available colours. How many colour arrangements for the doors are
there?
Section 3 Permutations
Example 1 :
(a) How many four digit numbers can be formed using only the digits 1, 2, 3, 4, 5, 6?
(b) How many four digit numbers from (a) have no repeated digits?
(c) How many four digit numbers from (b) are greater than 5000?
Answers:
(a) There are 6 possible digits for each of the four places in the number, so there
are 6 × 6 × 6 × 6 = 64 = 1296 of these numbers.
(b) There are 6 digits for the first place, and then only 5 digits for the second and
so on. So there are 6 × 5 × 4 × 3 = 360 such numbers.
(c) There are 2 choices for the first digit (a 5 or a 6), then 5 choices, 4 choices and
3 choices respectively for the remaining digits. So there are 2 × 5 × 4 × 3 = 120
such numbers.
Example 2 : Three adults and five children are seated randomly in a row.
4
Answers:
Example 3 : How many arrangements of the letters of the word IRRIGATION are
there?
Answer: There are 10 letters. If the letters were all different there would be 10!
arrangements. However there are three I’s and two R’s and so we need to divide
10!
by 3! × 2!. Therefore the answer is .
3!2!
Example 4 : In how many ways can we rearrange the letters in “MATHS IS FUN”
Answers:
(a) There are 10 letters to rearrange. Two of them are S’s and so that we do not
over count we need to divide by the number of ways of arranging the S’, so
10!
there are ways to arrange these letters.
2!
(b) In the second instance, we first select the vowels and there are 3 × 2 ways of
the selecting the first and last as vowels. Then we have 8 letters left with 2
8! 8!
S’s repeating so there are ways to do this. Hence there are 3 × 2 × ways
2! 2!
of arranging these letters so that the first and last are vowels.
Exercises:
1. How many 4 digit numbers can be formed from the digits 1,2,3,4 if
5
(b) repetitions are not allowed?
2. How many 3 digit arrangements can be formed from the digits 0,1,2,3,4,5,6,7 and 8?
3. Seven people are to occupy consecutive seats in a theatre. In how many ways can this
be done if
(a) there are no restrictions?
(b) two people A and B sit at opposite ends of the row of seven seats?
(c) two people A and B sit together?
(d) two people A and B do not sit together?
4. How many arrangements of the letters in the following words are possible?
(a) SYDNEY (b) GEOMETRY (c) EXCELLENCE
Section 4 Combinations
Example 1 : A student must select 6 subjects. In how many ways can they do that
if there are 13 subjects and 1 is compulsory?
Since one subject is compulsory the student must select 5 subjects from 12, there
are
12 12 × 11 × 10 × 9 × 8
C5 = = 792,
5×4×3×2×1
ways to do this.
Example 2 : In a lottery you select 6 numbers out of 40, how many ways are there
to do this?
You are selecting 6 things from 40 with order not mattering, thus there are
40 40 × 39 × 38 × 37 × 36
C6 = = 3, 838, 380ways.
6×5×4×3×2×1
Example 3 : You want to choose a committee of 5 people from 7 men and 8 women.
(a) How many ways can this be done?
(b) How many ways can this be done if you want a majority of women on the
committee?
In (a) it doesn’t matter if the 5 people are men or women. So we are choosing 5
people from 15 and there are 15 C5 ways of doing this.
In (b) we need either 3 women (and 2 men) or 4 women (and 1 man) or 5 women.
So there are 8 C3 × 7 C2 + 8 C4 × 7 C1 + 8 C5 ways of doing this.
6
Exercises:
1. In how many ways can you choose 2 chocolates from a bag containing 6 different choco-
lates?
2. Twelve dots are spaced equally around a circle. How many different triangles can be
formed by joining dots?
3. Tickets are numbered from 1 to 25. 6 tickets are chosen. In how many ways can this be
done if the selection contains
(a) all odd numbers?
(b) 3 odd numbers and 3 even numbers?
(c) the numbers 1 and 2?
7
Exercises for Worksheet 4.11
1. Decide whether or not order of selection is important and then calculate the following.
(a) How many different sets of three colours can be selected from the colours red, orange,
yellow, green, blue, and violet?
(b) In how many ways can a team of five basketball players be selected from 8 girls?
(c) A race has 8 runners. In how many ways can the first three places be decided?
(d) A secretary has nine letters and only five stamps. How many ways can he select
the letters for posting?
2. How many different possible “full house” (one pair, one three of a kind) hands are there
in 5 card poker?
(a) How many different ways can the boys each choose a girl to take to the formal?
(b) One of the girls doesn’t want to go to the formal, how many ways are there to make
this choice now?
6. In a certain electorate there are 6 candidates: labor, liberal, greens, and three indepen-
dents. Their names are to be placed in random order on the ballot paper. In how many
ways can this be done if
7. From a class of 30 students, five students are to be selected to complete a survey. In how
many ways can the choice be made?
8
8. A 4 digit password is to be formed from the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. How many
different passwords are possible
10. Seven people sit in a circle. How many ways can this be done if
11. A committee of 5 is to be chosen from 4 men and 6 women. In how many ways can this
be done if
12. 5 cards are to be chosen from a standard 52-card deck. In how many ways can this be
done if
13. A bag contains 5 red, 6 blue and 4 yellow marbles. Three are drawn out at random. In
how many ways can they be drawn so that
9
14. In order to be photographed 10 people stand in two rows of 5, one in front of the other.
In how many ways can this be done if
15. In how many ways can you choose 10 people out of 30 to sit on a bench in order, if two
particular people must be selected and seated together?
16. You are to pick three singers for the Superbowl, one to sing before the game, one to sing
at the end of the game, and one to sing at halftime. If there are 12 applicants, how many
different possibilities are there if each singer can only sing once?
10
Answers for Worksheet 4.11
Section 1
Section 2
12
1. 5040, 210 3. 43758, 73440 5. P3
12
2. 2520, 21 4. C3
Section 3
2. 504
Section 4
1. 6 C2 3. (a) 13
C6
13
(b) C3 ×12 C3
12 23
2. C3 (c) C4
11
Exercises 4.11
13
2. C1 ×4 C3 ×12 C1 ×4 C2
52
3. (a) C12 (b) 4 C1 ×13 C12 (c) 4 C3 ×4 C3 ×44 C6 (d) 13
C12 × 412
11
4. (a) P10 (b) 10!
30 30
5. C3 , P3
30
7. C5
15. 2! ×28 C8 × 9!
12
16. C3 × 3!
12
Worksheet 4.12 The Binomial Theorem
We wish to be able to expand an expression of the form (a + b)n . We can do this easily for
n = 2, but what about a large n? It would be tedious to manually multiply (a + b) by itself 10
times, say. There are two methods of expanding an expression of this type without doing all
the multiplications involved. The first method we will look at is called Pascal’s triangle. The
first 5 rows of Pascal’s triangle are shown:
1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
Pascal’s triangle is particularly useful when dealing with small n. The triangle is easy to
remember as each entry is the sum of the two right and left entries on the line above, and the
sides are always one. Thus for the second entry of line five we get
1 3
T
4
The entries in Pascal’s triangle tell us the coefficients when we expand expansions like (a + b)n .
Look at (a + b)2 = (a + b)(a + b) = a2 + 2ab + b2 = 1a2 + 2ab + 1b2 . Notice that the coefficients
in front of each term 1 2 1 appear in the 3rd line of Pascal’s triangle.
What about (a + b)3 = (a + b)(a + b)(a + b) = a3 + 3a2 b + 3ab2 + b3 . Notice that the coefficients
come from the 4th line of Pascal’s triangle as 1 3 3 1.
You may also notice that as the power of a decreases, the power of b increases. This phe-
nomenon can be generalised.
For the expansion of (a + b)n we need the (n + 1)th line of Pascal’s triangle. The first term in
the line has an an b0 and then the powers of a decrease and the powers of b increase, so the
second term will be an−1 b1 and so on, until the last tern has a0 bn .
Example 1 : Expand (a + b)5 . We use the 6th line of Pascal’s triangle to obtain
(a + b)5 = a5 + 5a4 b + 10a3 b2 + 10a2 b3 + 5ab4 + b5 .
1
Notice that the powers of a and b in each term always add to n, where n is the power to which
(a+b) is raised. In the above example we can see the power of a and b in each term always
adds to 5.
If you wish to use Pascal’s triangle on an expansion of the form (ax + b)n , then some care is
needed. The (n + 1)th row is the row we need, and the 1st term in the row is the coefficient of
(ax)n b0 . The second term in the row is the coefficient of (ax)n−1 b1 . The last term in the row
- the (n + 1)th term - is the coefficient of (ax)0 bn . Care should be taken when minus signs are
involved.
Example 3 : Expand the expression (ax + b)3 . The 4th row of Pascal’s triangle is
1 3 3 1. So
(ax + b)3 = (ax)3 + 3(ax)2 b + 3(ax)1 b2 + b3
= a3 x3 + 3a2 bx2 + 3ab2 x + b3
Notice that the powers of a and b in each term always add to give the power of the
expansion. This is always the case.
Example 4 : Expand the expression (2x−3)3 . Using the 4th row of pascals triangle:
Example 6 : Find the constant term (the term that is independent of x) in the
expansion of (x − 2)5 . The constant term is the last term, and is (−2)5 . Notice
that the minus sign is important.
2
Example 7 : Find the 4th term in the expansion of (2x − 3)5 . The 4th term in the
6th line of Pascal’s triangle is 10. So the 4th term is
The second method to work out the expansion of an expression like (ax + b)n uses binomial
coefficients. This method is more useful than Pascal’s triangle when n is large.
Exercises:
3. What line of Pascal’s triangle is 1, 10, 45, 120, 210, 252, 210, 120, 45, 10, 1?
4. Complete this line of Pascal’s triangle “1, 8, 28, 56, 70, 56, . . . ”. Hence also write the next
line of Pascal’s triangle.
Calculating coefficients in binomial functions, (a + b)n , using Pascal’s triangle can take a long
time for even moderately large n. For example, it might take you a good 10 minutes to calculate
the coefficients in (x + 1)8 . Instead we can use what we know about combinations.
So it turns out that the numbers in Pascals triangle, which we saw were coefficients in binomial
expansions, are actually the numbers that come up in combinations, n Ck . For simplicity of
n
n
writing we will define Ck = k .
3
Definition 2 : The binomial theorem gives a general formula for expanding all
binomial functions:
n
n
X n n−i i
(x + y) = x y
i=0
i
n n n n−1 1 n n−r r n n
= x + x y + ··· + x y + ··· + y ,
0 1 r n
recalling the definition of the sigma notation from Worksheet 4.6.
4
Example 4 : Expand x1 + 2x2
4 4 3 2
1 2 4 1 4 1 2 4 1 2 2 4 1
+ 2x = + 2x + (2x ) + (2x2 )3
x 0 x 1 x 2 x 3 x
4
+ (2x2 )4
4
1 8
= 4 + + 24x2 + 32x5 + 16x8
x x
4
The binomial theorem tells us that
20 X 20 20
3 2 20 3i 2 20−i X 20 3i−(20−i) 20−i
x + = x = x 2 .
x i=0
i x i=0
i
So the power of x is 4i − 20. We need to set this to zero to have the constant term,
so we need 4i − 20 = 0 → 4i = 20 → i = 5. Thus the coefficient is
20 15
2 = 508, 035, 072.
5
Exercises:
1. Expand
5. Find the exact value of (1 − 0.1)3 without the use of a calculator. Confirm your answer
with a calculator.
5
Exercises for Worksheet 4.12
6
Answers for Worksheet 4.12
Section 1
1. Not given
3. 11th line
4. 1, 8, 28, 56, 70, 56, 28, 8, 1 and 1, 9, 36, 84, 126, 126, 84, 36, 9, 1
Section 2
2. 5 C1 × 24 , 5
C2 × 23 , 5
C3 × 22
3. 7 C1 × (−2)6 , 7
C2 × (−2)5 , 7
C4 × (−2)3
4. 7 C2 × 22 (−3)5 , 0
5. 0.729
Exercises 4.12
3. 1.4641
7
Worksheet 4.13 Induction
Mathematical Induction is a method of proof. We use this method to prove certian propositions
involving positive integers. Mathematical Induction is based on a property of the natural
numbers, N, called the Well Ordering Principle which states that every nonempty subset of
positive integers has a least element.
Step 1: Prove the statement is true at the starting point (usually n = 1).
Step 1: [We want to show this is true at the starting point n = 1.]
LHS = 1
RHS = 12 = 1
So the statement is true for n + 1. Hence, the statement is true for all n ∈ N
by induction.
1
n
X
Example 2 : Prove k 2 = 61 n(n + 1)(2n + 1) for all n ∈ N.
k=1
Step 1: [We want to show this is true at the starting point n = 1.]
n
X
LHS = k 2 = 12 = 1
k=1
RHS = 61 1(1 + 1)(2(1) + 1) = 1
n+1
X
LHS = k2
k=1
= |1 + 22 +
2 2
{z· · · + n} +(n + 1)
2
So the statement is true for n + 1. Hence, the statement is true for all n ∈ N
by induction.
Step 1: [We want to show this is true at the starting point n = 5.]
LHS = 25 = 32
RHS = 52 = 25
2
Step 2: Assume the statement is true for n, i.e. 2n > n2 .
[Want to show this is true for n + 1. i.e. want to show 2n+1 > (n + 1)2 . ]
LHS = 2n+1
= 2n · 2
> 2n2 (by assumption)
= n2 + n2
= n2 + 2n + 1 (since n2 > 2n + 1 for n ≥ 5)
= (n + 1)2
= RHS
So 2n+1 > (n + 1)2 for n ≥ 5. i.e. the statement is true for n + 1 whenever
n ≥ 5. Hence, the statement is true for all n ≥ 5 by induction.
Step 1: [We want to show this is true at the starting point n = 1.]
When n = 1, we have 91 − 21 = 7 which is divisible by 7.
The statement is true for n = 1.
Step 2: Assume the statement is true for n.
i.e. Assume 9n − 2n is divisible by 7.
i.e. Assume 9n − 2n = 7m for some m ∈ Z.
[Want to show this is true for n + 1.
i.e. Want to show 9n+1 − 2n+1 is divisible by 7. ]
9n+1 − 2n+1 = 9 · 9n − 2 · 2n
= 9(7m + 2n ) − 2 · 2n (by assumption)
= 7(9m) + 9 · 2n − 2 · 2n
= 7(9m) + 7 · 2n
= 7(9m + 2n ),
which is divisible by 7. So the statement is true for n+1. Hence, the statement
is true for all n ∈ N by induction.
3
Exercises:
3 3 3 n2 (n + 1)2
3
(c) 1 + 2 + 3 + · · · + n =
4
10
(d) 10 + 10 + 10 + · · · + 10 = 9 (10n − 1)
1 2 3 n
n
X n(n + 1)(n + 2)
(e) r(r + 1) =
r=1
3
n
X 1 n
(f) = does not work for n = 1, 2?
k=1
(3k − 2)(3k − 1) 3n + 1
(a) 2n ≥ 1 + n for n ≥ 1.
(b) 3n < (n + 1)! for n ≥ 4.
5. Prove by induction that if p is any real number satisfying p > −1, then
(1 + p)n ≥ 1 + np
for all n ∈ N.
(−1)n n!
6. Use induction to show that the nth derivative of x−1 is .
xn+1