Differential Calculus
Differential Calculus
Differential Calculus
Introduction to
differentiation
42.1 Introduction to calculus f (3) = 4(3)2 − 3(3) + 2
= 36 − 9 + 2 = 29
Calculus is a branch of mathematics involving or lead-
ing to calculations dealing with continuously varying f ( − 1) = 4(−1)2 − 3(−1) + 2
functions. =4+3+2=9
Calculus is a subject that falls into two parts:
f (3) − f ( − 1) = 29 − 9 = 20
(i) differential calculus (or differentiation) and
(ii) integral calculus (or integration). Problem 2. Given that f (x) = 5x 2 + x − 7
determine:
Differentiation is used in calculations involving velocity
and acceleration, rates of change and maximum and (i) f (2) ÷ f (1) (iii) f (3 + a) − f (3)
minimum values of curves. f (3 + a) − f (3)
(ii) f (3 + a) (iv)
a
42.2 Functional notation
f (x) = 5x 2 + x − 7
2 D
A
42.3 The gradient of a curve
0 1 1.5 2 3 x
(a) If a tangent is drawn at a point P on a curve, then
Figure 42.3
the gradient of this tangent is said to be the gra-
dient of the curve at P. In Fig. 42.1, the gradient (c) For the curve f (x) = x 2 shown in Fig. 42.3:
of the curve at P is equal to the gradient of the
tangent PQ. (i) the gradient of chord AB
dy δy
Exercise 149 A further problem on the In Leibniz notation, = limit
dx δx→0 δx
gradient of a curve
In functional notation,
1. Plot the curve f (x) = 4x 2 − 1 for values of x
½ ¾
′ f (x + δx)−f (x)
f (x) = limit
from x = −1 to x = +4. Label the co-ordinates δx→0 δx
(3, f (3)) and (1, f (1)) as J and K, respec-
tively. Join points J and K to form the chord dy
JK. Determine the gradient of chord JK. By (iii) is the same as f ′ (x) and is called the differ-
dx
moving J nearer and nearer to K determine ential coefficient or the derivative. The process
the gradient of the tangent of the curve at K. of finding the differential coefficient is called
[16, 8] differentiation.
Summarising, the differential coefficient,
dy δy
42.4 Differentiation from first = f ′ (x) = limit
dx δx→0 δx
principles ½ ¾
f (x+δx)−f (x)
= limit
(i) In Fig. 42.4, A and B are two points very close δx→0 δx
together on a curve, δx (delta x) and δy (delta y)
Problem 3. Differentiate from first principles
Section 8
representing small increments in the x and y
directions, respectively. f (x) = x 2 and determine the value of the gradient of
the curve at x = 2
y
As δx → 0, [2x + δx] → [2x + 0]. Thus f ′ (x) = 2x, i.e. result could have been determined by inspection. ‘Find-
the differential coefficient of x 2 is 2x. At x = 2, the ing the derivative’ means ‘finding the gradient’, hence,
gradient of the curve, f ′ (x) = 2(2) = 4 in general, for any horizontal line if y = k (where k is a
dy
constant) then = 0.
Problem 4. Find the differential coefficient of dx
y = 5x
Problem 6. Differentiate from first principles
dy f (x) = 2x 3
By definition, = f ′ (x)
dx
½ ¾
f (x + δx) − f (x) Substituting (x + δx) for x gives
= limit
δx→0 δx
f (x + δx) = 2(x + δx)3
The function being differentiated is y = f (x) = 5x. Sub- = 2(x + δx)(x 2 + 2xδx + δx 2 )
stituting (x + δx) for x gives:
f (x + δx) = 5(x + δx) = 5x + 5δx. Hence = 2(x 3 + 3x 2 δx + 3xδx 2 + δx 3 )
½ ¾ = 2x 3 + 6x 2 δx + 6xδx 2 + 2δx 3
dy ′ (5x + 5δx) − (5x)
= f (x) = limit
dx δx→0 δx ½ ¾
dy ′ f (x + δx) − f (x)
½
5δx
¾ = f (x) = limit
= lim it = limit{5} dx δx→0 δx
δx→0 δx δx→0 ½ 3
(2x + 6x 2 δx + 6xδx 2 + 2δx 3 ) − (2x 3 )
¾
= limit
Since the term δx does not appear in [5] the limiting δx→0 δx
dy ½ 2
6x δx + 6xδx + 2δx 3
2 ¾
value as δx → 0 of [5] is 5. Thus = 5, i.e. the differen- = limit
dx δx→0 δx
tial coefficient of 5x is 5. The equation y = 5x represents
a straight line of gradient 5 (see Chapter 28). The ‘differ- = limit {6x 2 + 6xδx + 2δx 2 }
dy δx→0
ential coefficient’ (i.e. or f ′ (x)) means ‘the gradient
dx Hence f ′ (x) = 6x2 , i.e. the differential coefficient of 2x 3
of the curve’, and since the slope of the line y = 5x is 5
this result can be obtained by inspection. Hence, in gen- is 6x 2 .
eral, if y = kx (where k is a constant), then the gradient
dy
of the line is k and or f ′ (x) = k. Problem 7. Find the differential coefficient of
dx
Section 8
½
8xδx + 4δx 2 + 5δx
¾
42.5 Differentiation of y = ax n by the
= limit
δx→0 δx general rule
= limit {8x + 4δx + 5}
δx→0 From differentiation by first principles, a general rule
for differentiating ax n emerges where a and n are any
dy constants. This rule is:
i.e. = f ′ (x) = 8x + 5
dx dy
if y = axn then = anxn–1
At x = −3, the gradient of the curve dx
dy
= = f ′ (x) = 8(−3) + 5 = −19 or, if f (x) = axn then f ′ (x) = anxn–1
dx
(Each of the results obtained in worked problems 3 to 7
may be deduced by using this general rule).
Now try the following exercise When differentiating, results can be expressed in a
number of ways.
Exercise 150 Further problems on For example:
differentiation from first
principles dy
(i) if y = 3x 2 then = 6x,
dx
In Problems 1 to 12, differentiate from first (ii) if f (x) = 3x 2 then f ′ (x) = 6x,
principles. (iii) the differential coefficient of 3x 2 is 6x,
(iv) the derivative of 3x 2 is 6x, and
1. y = x [1] d
(v) (3x 2 ) = 6x
dx
2. y = 7x [7]
6. y = 23 [0]
(a) Comparing y = 5x 7 with y = ax n shows that a = 5
7. f (x) = 9x [9] and n = 7. Using the general rule,
Section 8
dy
· ¸ = anx n−1 = (5)(7)x 7−1 = 35x6
2x 2 dx
8. f (x) = √ 1 1
3 3 (b) y = 3 x = 3x 2 . Hence a = 3 and n =
2
9. f (x) = 9x 2 [18x]
dy 1 1
= anx n−1 = (3) x 2 −1
10. f (x) = −7x 3 [−21x 2 ] dx 2
y y
A
y sin u
! y cos q
!
B D (a)
(a) 0
0 π π 3π 2π q radians
π π 3π 2π u radians 2 2
2 2
" "
C
09 D9
d
(sin u) cos u
dy du dy
! !
dx dq
A9 C9
(b) (b)
0 π π 3π 2π u radians 0 π π 3π 2π q radians
2 2 " 2 2
"
d
(cos q ) "sin q
dq
B9
Figure 42.6
Figure 42.5
3π
plotted in a corresponding position below y = sin θ, as + , and so on) then the graph shown in Fig. 42.6(b)
2
shown in Fig. 42.5(b). would result. This latter graph therefore represents the
curve of –sin θ.
(i) At 0, the gradient is positive and is at its steepest. dy
Hence 0′ is the maximum positive value. Thus, if y = cos θ, = −sin θ
dθ
(ii) Between 0 and A the gradient is positive but is
decreasing in value until at A the gradient is zero, It may also be shown that:
dy
shown as A′ . if y = cos a θ, = −a sin aθ
(iii) Between A and B the gradient is negative but is dθ
(where a is a constant)
increasing in value until at B the gradient is at its
dy
steepest. Hence B′ is a maximum negative value. and if y = cos(aθ + α), = −a sin(aθ + α)
(iv) If the gradient of y = sin θ is further investigated dθ
between B and C and C and D then the resulting (where a and α are constants).
dy
graph of is seen to be a cosine wave.
Section 8
dθ Problem 12. Differentiate the following with
respect to the variable: (a) y = 2 sin 5θ
Hence the rate of change of sin θ is cos θ, i.e.
(b) f (t) = 3 cos 2t
dy
if y = sin θ then = cos θ
dθ (a) y = 2 sin 5θ
It may also be shown that:
dy
dy = (2)(5) cos 5θ = 10 cos 5θ
if y = sin a θ, = a cos aθ dθ
dθ
(where a is a constant) (b) f (t) = 3 cos 2t
f ′ (t) = (3)(−2) sin 2t = −6 sin 2t
dy
and if y = sin(aθ + α), = a cos(aθ + α)
dθ Problem 13. Find the differential coefficient of
(where a and α are constants). y = 7 sin 2x − 3 cos 4x
If a similar exercise is followed for y = cos θ then the
dy y = 7 sin 2x − 3 cos 4x
graphs of Fig. 42.6 result, showing to be a graph of
dθ dy
sin θ, but displaced by π radians. If each point on the = (7)(2) cos 2x − (3)( − 4) sin 4x
curve y = sin θ (as shown in Fig. 42.5(a)) were to be dx
π π 3π = 14 cos 2x + 12 sin 4x
made negative, (i.e. + is made − , − is made
2 2 2
390 Engineering Mathematics
Problem 14. Differentiate the following with 2. Given f (θ) = 2 sin 3θ − 5 cos 2θ, find f ′ (θ)
respect to the variable: [6 cos 3θ + 10 sin 2θ]
(a) f (θ) = 5 sin(100πθ − 0.40) 3. An alternating current is given by i = 5 sin 100t
(b) f (t) = 2 cos(5t + 0.20) amperes, where t is the time in seconds.
Determine the rate of change of current when
t = 0.01 seconds.
(a) If f (θ) = 5 sin(100πθ − 0.40)
[270.2 A/s]
f ′ (θ) = 5[100π cos(100πθ − 0.40)]
4. v = 50 sin 40t volts represents an alternating
= 500π cos(100πθ − 0.40) voltage where t is the time in seconds. At a time
(b) If f (t) = 2 cos (5t + 0.20) of 20 × 10−3 seconds, find the rate of change
of voltage. [1393.4 V/s]
f ′ (t) = 2[−5 sin(5t + 0.20)]
5. If f (t) = 3 sin(4t + 0.12) − 2 cos(3t − 0.72)
= −10 sin(5t + 0.20) determine f ′ (t)
[12 cos(4t + 0.12) + 6 sin (3t − 0.72)]
Problem 15. An alternating voltage is given by:
v = 100 sin 200t volts, where t is the time in
seconds. Calculate the rate of change of voltage
when (a) t = 0.005 s and (b) t = 0.01 s
42.7 Differentiation of eax and ln ax
v = 100 sin 200t volts. The rate of change of v is given
dv A graph of y = ex is shown in Fig. 42.7(a). The gradient
by . dy
dt of the curve at any point is given by and is continually
dx
dv changing. By drawing tangents to the curve at many
= (100)(200) cos 200t = 20 000 cos 200t
dt points on the curve and measuring the gradient of the
dy
(a) When t = 0.005 s, tangents, values of for corresponding values of x
dx
dv may be obtained. These values are shown graphically
= 20 000 cos(200)(0.005) = 20 000 cos 1
dt
cos 1 means ‘the cosine of 1 radian’ (make sure
your calculator is on radians — not degrees). y
dv 20
Hence = 10 806 volts per second
dt
Section 8
15
(b) When t = 0.01 s, y ex
dv 10
= 20 000 cos(200)(0.01) = 20 000 cos 2.
dt
dv 5
Hence = −8323 volts per second
dt
(a) "3 "2 "1 0 1 2 3 x
dy
Now try the following exercise dx 20
15
Exercise 152 Further problems on the dy
ex
differentiation of sine and 10 dx
cosine functions
5
1. Differentiate with respect to x: (a) y = 4 sin 3x
(b) y = 2 cos 6x (b) "3 "2 "1 0 1 2 3 x
[(a) 12 cos 3x (b) −12 sin 6x]
Figure 42.7
Introduction to differentiation 391
y
Exercise 153 Further problems on the
2
differentiation of eax and ln ax
1 y ln x
Section 8
"2 (a) (b) − 2x
(a) 7e
dy 2. Given f (θ) = 5 ln 2θ − 4 ln 3θ, determine f ′ (θ)
dx ·
5 4 1
¸
2 − =
dy
θ θ θ
1.5 1
dx x
1.0
3. If f (t) = 4 ln t + 2, evaluate f ′ (t) when t = 0.25
[16]
0.5
dy
4. Evaluate when x = 1, given
(b) 0 1 2 3 4 5 6 x dx
5
Figure 42.8 y = 3e4x − 3x + 8 ln 5x. Give the answer
2e
correct to 3 significant figures. [664]
It may also be shown that
dy 1
if y = ln ax, then =
dx x