1. Introduction

Differentiation is concerned with the rate of change of one quantity with respect to another quantity.

Example 1: If a ball is thrown vertically upward with a speed of 10m s−1 then the height of the ball, in metres, after t seconds is approximately:

h(t) = 10t − 5t2

Find the average speed of the ball during the following time intervals:

(a) From t = 0.25s to t = 1s

Solution: Average speed is vaverage = distance travelled/time taken

So, the average speed from t = 0.25s to t = 1s is:

h(1) − h(0.25)/1 − 0.25 = (10 × 1 − 5 × 12) − (10 × 0.25 − 5 × 0.252)/1 − 0.25
= 5 − 2.1875/0.75 = 3.75m s−1

(b) From t = 0.25s to t = 0.5s

Solution: Average speed is vaverage = distance travelled/time taken

So, the average speed from t = 0.25s to t = 0.5s is:

h(0.5) − h(0.25)/0.5 − 0.25 = (10 × 0.5 − 5 × 0.52) − (10 × 0.25 − 5 × 0.252)/0.5 − 0.25
= 3.75 − 2.1875/0.25 = 6.25m s−1

Exercise 1: For the ball in Example 1, find the average speed of the ball during the following time intervals.

(a) From t = 0.25s to t = 0.375s

Solution: The average speed from t = 0.25s to t = 0.375s is:

h(0.375) − h(0.25)/0.375 − 0.25 = (10×0.375 − 5×0.3752) − (10×0.25 − 5×0.252)/0.375 − 0.25
  = 3.047 − 2.1875/0.125 = 6.875m s−1
(b) From t = 0.25s to t = 0.3125s

Solution: The average speed from t = 0.25s to t = 0.3125s is:

h(0.3125) − h(0.25)/0.3125 − 0.25 = (10×0.3125 − 5×0.31252) − (10×0.25 − 5×0.252)/0.3125 − 0.25
  = 2.637 − 2.1875/0.0625 = 7.1875m s−1
(c) From t = 0.25s to t = 0.251s

Solution: The average speed from t = 0.25s to t = 0.251s is:

h(0.251) − h(0.25)/0.251 − 0.25 = (10×0.251 − 5×0.2512) − (10×0.25 − 5×0.252)/0.251 − 0.25
  = 2.195 − 2.1875/0.001 = 7.495m s−1
(c) From t = 0.25s to t = 0.2501s

Solution: The average speed from t = 0.25s to t = 0.2501s is:

h(0.2501) − h(0.25)/0.2501 − 0.25 = (10×0.2501 − 5×0.25012) − (10×0.25 − 5×0.252)/0.2501 − 0.25
  = 2.1882 − 2.1875/0.0001 = 7.4995m s−1

Click on questions to reveal their solutions

Quiz 1: For the ball in Example 1, which of the following is a good choice for the speed of the ball when t = 0.25s?

(a) 7.52m s−1 Incorrect - please try again!
(b) 7.50m s−1 Correct - well done!
(c) 7.499m s−1 Incorrect - please try again!
(d) 7.49m s−1 Incorrect - please try again!

Explanation: The table below shows the details of the calculations that were done in Example 1 and Exercise 1.

Times distance measured (s) Time inverval (s) Average speed (m s−1)
t = 0.25 to t = 1 0.75 3.75
t = 0.25 to t = 0.5 0.25 6.25
t = 0.25 to t = 0.375 0.125 6.875
t = 0.25 to t = 0.3125 0.0625 7.1875
t = 0.25 to t = 0.251 0.001 7.495
t = 0.25 to t = 0.2501 0.0001 7.4995

The difference in speeds is measured over decreasing intervals of time starting at t = 0.25s. As this interval decreases, so the average speed tends towards 7.5m s−1. This is then taken to be the speed of the ball when t = 0.25s. This limiting process, taking averages over smaller and smaller intervals, is at the heart of differentiation.

2. Rates of Change

In the previous section, the speed of the ball was found at t = 0.25s. The next example gives the general solution to this problem.

Example 2: If, as in Example 1, the height of a ball at time t is given by h(t) = 1 − t − 5t2, then find the following:

(a) The average speed of the ball over the time interval from t to t + δt

Solution: The height at time t + δt is h(t + δt). The difference in heights is h(t + δt) − h(t) and the time interval is δt.

h(t+δt) − h(t) = [10(t+δt) − 5(t+δt2)] − [10t − 5t2]
= [10t + 10δt − 5(t2 + 2tδt + (δt)2)] − [10t − 5t2]
= 10δt − 10tδt − 5(δt)2
= δt(10 − 10t − 5δt)

The required average speed of the ball at time t is thus

h(t+δt) − h(t)/δt = δt(10 − 10t − 5δt)/δt
= 10 − 10t − 5δt

- after cancelling the δt.

(b) The limit of this average as δt → 0.

Solution: As δt gets smaller, i.e. δt → 0, the last term becomes negligible and the instantaneous speed at time t is v(t), where v(t) = 10 − 10t is the speed of the ball at time t.

Exercise 2:

Referring to the solution of Example 2, find the speed of the ball when t = 0.25s.

Solution: The speed is found by putting t = 0.25s into v(t) = 10 − 10t. The resulting speed is:

v(0.25) = 10 − 10×0.25 = 10−2.5 = 7.5m s−1

This was precisely the value chosen in Quiz 1, confirming that the function v(t) = 10 − 10t is indeed the speed of the ball at any time t.

Click on question to reveal the solution

To recap, the speed v(t) is obtained from the height h(t) as:

v(t) = limδt → 0[h(t + δt) − h(t)/δt]

3. The Derivative as a Limit

The diagram shows a function y = (x). The straight line AB has the gradient BCCA. As the point B moves along the curve towards A, the straight line AB tends toward the tangent to the curve at A. At the same time, the gradient BCCA tends towards the gradient of the tangent to the curve at A.

From the figure we have:

BC/CA = ƒ(x + δx) − ƒ(x)/δx

Thus we define:

dy/dx =  limδx → 0BC/CA = ƒ(x+δx) − ƒ(x)/δx
 

The limit, dy/dx is called the derivative of the function ƒ(x). Its value is the gradient of the tangent to the curve at the point A(x,y).

Example 3: Find the derivative of the function y = x3.

Solution: For this problem, y = ƒ(x) = x3, so the derivative is

dy/dx =  limδx → 0ƒ(x+δx) − ƒ(x)/δx =  limδx → 0(x+δx)3 − (x)3/δx

The numerator of this is:

(x+δx)3 − (x)3 = (x3 + 3x2δx + 3xδx2 + δx3) − x3
= 3x2δx + 3xδx2 + δx3
= δx(3x2 + 3xδx + δx2)

Then:

dy/dx =  limδx → 0δx(3x2 + 3xδx + δx2)/δx
=  limδx → 0 (3x2 + 3xδx + δx2)

The derivative is thus dy/dx = 3x2.

Exercise 3: For each of the following functions, using the technique as shown in Example 3, find the derivative of the function.

(a)y = x

Solution: The derivative of y = ƒ(x) = x is

dy/dx =  limδx → 0ƒ(x+δx) − ƒ(x)/δx
=  limδx → 0(x+δx) − x/δx
=  limδx → 0δx/δx = 1

The derivative is thus:

dy/dx = 1

This can also be deduced from the fact that y = x represents a straight line with gradient 1.

(b)y = x2

Solution: The derivative of y = ƒ(x) = x2 is

dy/dx =  limδx → 0ƒ(x+δx) − ƒ(x)/δx
=  limδx → 0(x + δx)2x2/δx
=  limδx → 0x2 + 2xδx + (δx)2x2/δx
=  limδx → 02xδx + (δx)2/δx
=  limδx → 0(2x + δx)δx/δx
=  limδx → 0 (2x + δx) = 2x

The derivative is thus:

dy/dx = 2x
(c)y = 1

Solution: The derivative of y = ƒ(x) = 1 is:

dy/dx = limδx → 0ƒ(x + δx) − ƒ(x)/δx
= limδx → 01 − 1/δx
= limδx → 00/δx
= limδx → 0 (0) = 0

The derivative of y = 1 is thus:

dy/dx = 0

This is a special case of the rule that the derivative of a constant is always zero.

Click on questions to reveal their solutions

Example 4: Find the gradient of the tangent to the curve y = x3 at the point on the curve when x = 2.

Solution: From Example 3, the derivative of this function is:

dy/dx = 3x2

The gradient of the tangent to the curve when x = 2 is:

dydx  x=2 = 3(2)2 = 12

- where the expression dydx  x=2 is the function dydx evaluated at x = 2.

Exercise 4: Find the gradient of the tangent to each of the following functions at the indicated points.

(a)y = x at the point with coordinates (2, 2).

Solution: According to Exercise 3, the derivative of the function y = x is:

dy/dx = 1

Therefore, the gradient of the tangent to the curve at the point with coordinates (2, 2), i.e. when x = 2, is:

dydx  x=2 = 1

This is the gradient of the straight line y = x.

(b)y = x2 at the point with coordinates (3, 9).

Solution: According to Exercise 3, the derivative of the function y = x2 is:

dy/dx = 2x

Therefore the gradient of the tangent to the curve at the point with coordinates (3,9), i.e. when x = 3, is:

dydx  x=2 = 2 × 3 = 6
(c)y = 1 at the point with coordinates (27, 1).

Solution: According to Exercise 3, the derivative of the constant function y = 1 is:

dy/dx = 0

Therefore the gradient of the tangent to the curve at the point with coordinates (27,1), is zero, i.e.

dydx  x=27 = 0

Click on questions to reveal their solutions

Quiz 2: Referring to Example 3 and Exercise 3, which of the following is the most likely choice for the derivative of the function y = x4

(a)4x3 Correct - well done!
(b)3x3 Incorrect - please try again!
(c)4x4 Incorrect - please try again!
(d)3x4 Incorrect - please try again!

Explanation: The table below shows the details of the calculations that were done in Example 3 and Exercise 3:

Function Derivative
y = x3 dy/dx = 3x2
y = x2 dy/dx = 2x (= 2 x1 = 2x2 − 1)
y = x dy/dx = 1 (= x0 = 1x1 − 1)
y = 1 dy/dx = 0 (= 0x0 − 1)

The general form, given without proof, is:

If y = xn, then dy/dx = nxn−1

Thus, if y = x4, then dy/dx = 4x3.

Although the derivative of a function has been described in terms of a limiting process, it is not necessary to proceed in this fashion for each function. The derivatives for certain standard functions, and the rules of differentiation, are well known. The application of these rules, which is part of the discipline known as calculus, is the subject of the rest of this module.

4. Differentiation

The following table lists, without proof, the derivatives of some well known functions. Throughout, a is a constant.

y axn  sin (ax) cos (ax) eax ln (ax)
dy/dx naxn−1 a cos (ax) a sin (ax) a eax  1/x

Here are two more useful rules of differentiation. They follow from the definition of differentiation but are stated here without proof:

If u, v are two functions of xand a is a constant, then:

  d/dx (u+v) = du/dx + dv/dx
and: d/dx (au) = a du/dx

The use of these rules is illustrated in Example 5.

Example 5: For each of the following functions, find dy/dx:

(a)y = x2 + 4x3

Solution: Using the rules of differentiation:

y = x2 + 4x3
dy/dx = d/dx(x2) + dy/dx(4x3)
= 2x + 3 × 4x2 = 2x + 12x2

 

(b)y = 5x2 + 1 ⁄ x

Solution: Before proceeding, first note that 1 ⁄ x = x−1 (see the module on Powers). The function may now be written as y = 5x2 + x−1 .

y = 5x2 + x−1
dy/dx = d/dx(5x2) + dy/dx(x−1)
= 2 × 5x + (−1)x−2
= 10x − 1 ⁄ x2

(c)y = 5x + 3/x2 − 6x

Solution: From the module on Powers, x = x1 ⁄ 2, so

y = 5x1 ⁄ 2 + 3x−2 − 6x
dy/dx = d/dx(5x1 ⁄ 2) + dy/dx(3x−2) − dy/dx(6x)
= 1 ⁄ 2 × 5x−1 ⁄ 2 + (−2) × 3(x−3) − 6
= 5 ⁄ 2 x−1 ⁄ 2 − 6x−3 − 6
= 5/(2x1 ⁄ 2)6/(x3) − 6

Exercise 5: Find dydx for each of the following functions.

(a)y = 3x4 + 4x5

Solution: Using the rules of differentiation

y = 3x4 + 4x5
dy/dx = d/dx(3x4) + d/dx(4x5)
= 4 × 3x(4−1) + 5 × 4x(5−1)
= 4 × 3x3 + 5 × 4x4
= 12x3 + 20x4
(b)y = 2 x

Solution: From the module on Powers, 2 x = 2x1 ⁄ 2 , so using the rules of differentiation

y = 2x1 ⁄ 2
dy/dx = d/dx(2x1 ⁄ 2)
= 1/2 × 2x(1 ⁄ 2 − 1)
= x−1 ⁄ 2
= 1/x
(c)y = 4 ⁄ x3 − 3 3x

Solution: The function may be rewritten (see the module on Powers) as

y = 4 ⁄ x3 − 3 3x = 4x−3 − 3x1 ⁄ 3

Using the rules of differentiation:

y = 4x−3 − 3x1 ⁄ 3
dy/dx = d/dx(4x−3) + d/dx(3x1 ⁄ 3)
= (−3) × 4x(−3−1) + (1 ⁄ 3) × 3x(1 ⁄ 3 −1)
= −12x−4x−2 ⁄ 3
= 12/x41/x2 ⁄ 3
= 12/x41/3x2

Click on questions to reveal their solutions

Example 6: Find dydw if y = 2 sin (3w) − 3 cos (4w) + e4w.

Solution: Using the rules:

dy/dw = 2d/dw(sin (3w)) − 3d/dw(cos (4w)) + d/dw(e4w)
= 2(3 cos (3w)) − 3(−4 sin (4w)) + 4 e4w
= 6 cos (3w) + 12 sin (4w) + 4 e4w

Exercise 6: Find the derivative with respect to z, i.e. dydz of each of the following functions:

(a)y = 2 sin (z ⁄ 2)

Solution: Using the rules of differentiation and the table of derivatives:

dy/dz = 2d/dz(sin (z ⁄ 2))
= 2 × 1 ⁄ 2 cos (z ⁄ 2)
= sin (z ⁄ 2)
(b)y = 4 ⁄ z − 3 ln (4z)

Solution: Rewriting the function y = 4 ⁄ z − 3 ln (4z) as

y = 4z−1 − 3 ln (4z)

and using the table of derivatives:

dy/dz = d/dz(4z−1) − 3d/dz(ln (4z))
= (−1) × 4z−1−1 − 3 × 1 ⁄ z
= −4z−2 − 3 ⁄ z
= −4 ⁄ z2 − 3 ⁄ z
(c)y = 2 ln (7z) + 3 cos (2z)

Solution: Using the rules of differentiation and the table of derivatives

dy/dz = 2d/dz(ln (7z)) + 3d/dz(cos (2z))
= 2 × 1 ⁄ z + 3×(−2 sin (2z))
= 2 ⁄ z − 6 sin (2z)
(d)y = e3z − 3ez

Solution: Since d/dz(e(az)) = aeaz

dy/dz = d/dz(e3z) − 3d/dz(ez)
= 3e3z − 3ez
= 3(e3z − ez)

Click on questions to reveal their solutions

5. Quiz on Differentiation

Choose dy/dx for each of the following functions:

1.y = 4x−3 − 2 sin (x)
(a)−12x−2 − 2 cos (x)
(b)−12x−4 − 2 cos (x)
(c)−12x−2 + 2 cos (x)
(d)−12x−4 + 2 cos (x)
2.y = 3x1 ⁄ 3 + 4x−1 ⁄ 4
(a)3x2 ⁄ 3 − 4x−5 ⁄ 4
(b)x−2 ⁄ 3x−5 ⁄ 4
(c)9x2 ⁄ 3 − 4x−5 ⁄ 4
(d)x−1 ⁄ 3x−5 ⁄ 4
3.y = 2 e−2x + 5 ln (2x)
(a)e−2x + 5 ⁄ x
(b)e−2x + 10 ⁄ x
(c)−4 e−2x + 5 ⁄ x
(d)−4 e−2x + 10 ⁄ x


PPLATO material © copyright 2004, Plymouth University