Worksheet 3 .8 Introduction To Differentiation: Section 1
Worksheet 3 .8 Introduction To Differentiation: Section 1
Worksheet 3 .8 Introduction To Differentiation: Section 1
8 Introduction to Differentiation
Differentiation is a process of looking at the way a function changes from one point to another.
Given any function we may need to find out what it looks like when graphed. Differentiation
tells us about the slope (or rise over run, or gradient, depending on the tendencies of your
favourite teacher). As an introduction to differentiation we will first look at how the derivative
of a function is found and see the connection between the derivative and the slope of the
function.
f(x+h)
f(x+h) - f(x)
f(x)
h
x x+h
Given the function f (x), we are interested in finding an approximation of the slope of the
function at a particular value of x. If we take two points on the graph of the function which are
very close to each other and calculate the slope of the line joining them we will be approximating
the slope of f (x) between the two points. Our x-values are x and x + h, where h is some small
number. The y-values corresponding to x and x + h are f (x) and f (x + h). The slope m of
the line between the two points is given by
y2 y 1
m=
x2 x 1
where (x1 , y1 ) and (x2 , y2 ) are the two points. In our case, we have the two points (x, f (x))
and (x + h, f (x + h)). So the slope of the line joining them is given by
f (x + h) f (x)
m =
x+hx
f (x + h) f (x)
=
h
1
Example 1 : Let f (x) = x3 . Find the slope of the line joining (x, f (x)) and
(x + h, f (x + h)). From our definitions,
f (x + h) f (x)
m =
h
(x + h)3 x3
=
h
x3 + 3x2 h + 3xh2 + h3 x3
=
h
= 3x2 + 3xh + h2
Example 2 : Let f (x) = 2x + 5. Find the slope of the line joining the points
(1, f (1)) and (1.01, f (1.01)).
f (1.01) f (1)
m =
1.01 1
7.02 7
=
0.01
0.02
=
0.01
= 2
Example 3 : Let f (x) = x2 . Find the slope of the line joining (x, f (x)) and
(x + h, f (x + h)) if h = 0.1 and x = 1.
f (x + h) f (x)
m =
h
f (1 + 0.1) f (1)
=
0.1
f (1.1) f (1)
=
0.1
(1.1)2 (1)2
=
0.1
0.21
=
0.1
= 2.1
The smaller that h gets to zero, the closer x and x + h get to each other, and consequently the
better m approximates the slope of the function at the point (x, f (x)). So we look at what
2
happens when we take the limit as h 0 in the slope formula and we call this the derivative
f 0 (x). So
f (x + h) f (x)
f 0 (x) = lim
h0 h
Notice that f 0 (x) is the derivative only if the limit exists. If the limit does not exist at particular
x-values then we say that the function is not differentiable at those x-values.
Note: There are other notations for the derivative of a function in x. The most common are
df dy
f 0 (x) and dx . If y = f (x), we also use y 0 = f 0 (x) or dx to refer to the derivative.
3
|0 + h| |0|
f 0 (0) = lim
h0 h
|h|
= lim
h0 h
Recall that
h when h 0
|h| =
h when h < 0
The absolute-value sign prevents us from simply canceling. Lets look at what |h|h
equals. h could be very small and negative, in which case f 0 (0) = 1. Or it could
be very small and positive, in which case f 0 (0) = 1. That is
So the limit does not exist as h 0 since we get a different value for the limit
depending upon whether or not we are close to zero on the negative side or the
positive side. Therefore the derivative of f (x) = |x| does not exist at x = 0.
Exercises:
1. Using the method outlined above, find f 0 (x) for each of the following functions. That is,
use
f (x + h) f (x)
f 0 (x) = lim
h0 h
(a) f (x) = x2 + 2
(b) f (x) = 3x 5
(c) f (x) = 3 x2
(d) f (x) = 4x + 5
(e) f (x) = 2 x
4
Section 2 Polynomial Differentiation
Having looked at the general way of finding the derivative of a function, we can now look
at those functions for which we already have derivatives and give some simple rules. From
these we will be able to determine the derivatives of similar functions. Notice that if we take
f (x) = c, where c is a constant, we get
f (x + h) f (x)
f 0 (x) = lim
h0 h
cc
= lim
h0 h
0
= lim
h0 h
= 0
The last line is true as h0 = 0 for any h except h = 0 and limits are about what happens
as h gets closer and closer to zero, without actually reaching zero. So for f (x) = c we have
f 0 (x) = 0. This is logical since a line such as y = 2 which is parallel to the x-axis has a slope
of zero.
5
So if f (x) = bx2 we get f 0 (x) = 2bx for any x. We could carry on for higher powers of x and
notice the pattern that if
f (x) = cxn
then f 0 (x) = ncxn1
Furthermore, if we have a sum of functions, it can be shown that the derivative of the sum
is the sum of the derivatives. This means that if f (x) is a sum of terms that each look like
cxn (in other words, a polynomial) you can use the above rule for each term to determine the
derivative of the function.
h0 (x) = 0 + 1 x2
1
= 2
x
6
Exercises:
Recall that differentiation tells us about the slope of a function at any point on the graph
where the function is defined. If f 0 (5) = 3 then, for the function f , we know that the slope of
the function at x = 5 is 3. If we know the equation of a function, then we could evaluate the
slope at various x-values. There are particular points on a graph which are of special interest.
These are called stationary points. At a stationary point, the gradient of the function is zero.
The stationary points are of interest to us because they help us to draw the graph of a function.
There are three different types of stationary points:
1. Minimum points
2. Maximum points
All types of stationary points have the property that the derivative is zero.
7
Minimum points occur when the graph reaches a local minimum, and has a shape like this:
I
The gradient changes from negative to zero to positive. We call this concave up, because the
cup opens upwards. A maximum occurs when the graph looks like this:
We call this concave down. The gradient changes from positive to zero to negative.
The third type of stationary point, a horizontal point of inflection, occurs when the concavity
changes from up to down or from down to up. They look like:
6 6
+ -
0 0
+ -
? ?
The slope of a horizontal point of inflection momentarily goes to zero where the curve changes
concavity. On either side of the point of inflection, the gradient has the same sign, i.e. if the
gradient is negative on one side of the point of inflection, then it is negative on the other side.
Conversely, for a stationary point that is either a minimum or a maximum, the gradient is
negative on one side of the point and positive on the other.
Using this information, we can determine what types of stationary points occur on a graph.
f 0 (x) = 3x2 + 0
= 3x2
8
Example 2 : Find all the stationary points of g(x) = x2 + 2x + 2.
We have g 0 (x) = 2x + 2. Stationary points occur when g 0 = 0. So we must find all
x for which this is true, i.e. we need to solve the equation
2x + 2 = 0
The only stationary point is (1, 1). To see what kind of stationary point it is we
need to see what the slope is on either side of the stationary point. Now, 1 + h
is on the right side of 1 for h small and positive, and on the left side of 1 for h
small and negative. The slope at 1 + h is
g 0 (1 + h) = 2(1 + h) + 2
= 2 + 2h + 2
= 2h
This is positive for h positive, and negative for h negative. This means that the
stationary point is a local minimum.
Remember that the derivative at any value of x gives you the slope of the function at that
value of x.
f 0 (x) = 6x + 2
f 0 (1) = 6(3) + 2)
= 16
9
Example 5 : Given f (x) = 4x2 5x + 7, find the value of x for which f 0 (x) = 11.
First find f 0 (x), then solve f 0 (x) = 11.
f 0 (x) = 8x 5
11 = 8x 5
x = 2
Exercises:
2. Find the stationary points for each of the following functions and state whether they are
a maximum, minimum, or a point of inflection.
(a) f (x) = x2 + 6x + 8
(b) f (x) = x2 2x + 15
(c) f (x) = x3 + 2
We can use information that we get from derivatives to help sketch graphs of functions. If
we can determine the x- and y-intercepts of a function together with the stationary points we
can determine roughly what the function looks like. The other bit of information we can find
useful is what happens to the function as x approaches positive or negative infinity.
10
positive, and negative if h is small and negative. The slope is positive to the right
and negative to the left. Then (0, 5) is a minimum turning point.
Repeating the process for x = 2, we get
This is negative if h is small and positive, but positive if h is small and negative.
The slope is positive to the left of 2 , and negative to the right of 2. Then
(2, 9) is a local maximum.
In addition, as x , f (x) , and as x , f (x) .
So the graph looks like:
y
96
5
-
? 2 x
-
?
x
11
Exercises:
(a) f (x) = x2 + 4x + 3
(b) f (x) = x3 1
(c) f (x) = 2x3 3x2 36x + 18
(d) f (x) = x2 2x + 15
(e) f (x) = x2 2x 24
12
Exercises 3.8 Introduction to Differentiation
(a) f (x) = 2x + 3
(b) f (x) = x2 2x + 1
(c) f (x) = x3
d xn
2. Using the rule dx
= nxn1 , differentiate the following functions with respect to x.
(a) x2 + 6x + 83
(b) 7x3 5x2 + 9x
(c) x + 8x
(d) 3x2 + x1
(e) 1
x2
+ 1
x
+ 6x (Hint: rewrite 1
x2
as x2 .)
3. (a) Sketch the function f (x) = 2x3 3x2 12x, labelling the y-intercepts and the
stationary points.
(b) The air temperature T (degrees Celsius) as a function of height s (kilometres) above
sea level is measured by a scientist in a hot-air balloon. The function is given by
T = 20 3s. Find T 0 (s) and give an interpretation of your answer.
13
Answers 3.8
3. (a)
y
6
(1, 7)
(0, 0) -
x
(2, 20)
?
(b) T 0 (s) = 3. The temperature is dropping 3 degrees for every km above sea level.
14