Differentiation
Differentiation
Differentiation
CONTENT
Integration: integration as the reverse of differentiation, basic rules of integration for simple
polynomial functions, exponential functions and sinusoidal functions, indefinite integrals, definite
integrals of simple polynomial functions; concept of the integral as a summation device.
© D.J.Dunn www.freestudy.co.uk 1
1. GRADIENTS AND FINITE CHANGES
Remember that the symbol ∆ (Capital Delta) means a finite change in something. Here are some
examples.
Temperature change ∆T = T2 – T1
Change in time ∆t = t2 – t1
Change in Angle ∆θ = θ2 – θ1
Change in distance ∆x = x2 – x1
Change in velocity ∆v = v2 – v1
The ratio ∆x/∆t is the same as the ratio δx/δt and the ratio is the gradient of the straight line.
TANGENT OF A CURVE
Gradient = ∆x/∆t
CHORD OF A CURVE
© D.J.Dunn www.freestudy.co.uk 2
WORKED EXAMPLE No.1
Estimate the gradient of the curve f(t) = t3 at the point t = 6 by finding the chord between
t = 8 and t = 4
SOLUTION
The closer we make the points A and B to P the more accurate the estimate will be.
SOLUTION
δx = f(t+δt) – f(t)
δx f(t + δt) - f(t) δx (t + δt) 3 - (t) 3
Gradient = = and =
δt δt δt δt
You need to be able to multiply out the brackets but here is the result when you do it.
and we also use the expression to mean "in the limit as δt tends to zero"
© D.J.Dunn www.freestudy.co.uk 3
2. DIFFERENTIAL COEFFICIENT- THE DERIVATIVE
If we reduce the value of δx to zero we get a limiting ratio that is the true gradient of the curve at
point P and this ratio is called the DIFFERENTIAL COEFFICIENT or DERIVATIVE
δy dy
As δx →0 =→
δx dx
Using the method just described, find the exact gradient of y = f(x) = x2 at the point x = 4
SOLUTION
δy f(x + δx) - f(x) (x + δx) 2 - f(x) 2 x 2 + (δx ) + 2xδx - x 2 (δx ) + 2x δx
2 2
= = = = = δx + 2x
δx δx δx δx δx
dy dy
In the limit as δx→0 =2x Put t = 4 and =8
dx dx
We seem to be on the way to finding the solution for this because we have already solved f(x) = x2
and f(t) = t3.Using the same method, the differential coefficient is :
δy f(x + δx) - f(x) dy
= = in the limit when δx→0 Putting f(x) = xn we have
δx δx dx
dy (x + δx) n - x n
= as δx → 0
dx δx
n
n n⎛ δx ⎞
Rearrange into this form (x + δx) = x ⎜1 + ⎟
⎝ x ⎠
δx ⎡ δx ⎤
x n (1 + ) n - x n ⎢ (1 + ) n - 1⎥
dy x dy x
= as δx → 0 = xn ⎢ ⎥ as δx → 0
dx δx dx ⎢ δx ⎥
⎣ ⎦
Multiplying out any bracket to a power higher than 1 will produce the result shown next.
⎡ ⎧⎪ ⎛ δx ⎞ ⎛ δx ⎞ ⎫⎪ ⎤
n
⎢ ⎨1 + n⎜ ⎟ + .......⎜ ⎟ .⎬ - 1⎥
dy n ⎢⎪ ⎩ ⎝ x ⎠ ⎝ x ⎠ ⎪⎭ ⎥
=x ⎢ ⎥ as δx → 0 The 1 will disappear.
dx ⎢ δx ⎥
⎢ ⎥
⎣ ⎦
All the missing terms contain higher powers than 1.
© D.J.Dunn www.freestudy.co.uk 4
⎡ ⎧⎪ ⎛ δx ⎞ ⎛ δx ⎞ ⎫⎪ ⎤
n
⎢ ⎨n ⎜ ⎟ + .......⎜ ⎟ .⎬ ⎥
dy ⎢ ⎪
⎩ ⎝ x ⎠ ⎝ x ⎠ ⎪⎭ ⎥
= xn ⎢ ⎥ as δx → 0
dx ⎢ δx ⎥
⎢ ⎥
⎣ ⎦
Divide out by δx
dy ⎧
n⎪ ⎛1 ⎞ ⎛ δx ⎞ ⎛ 1 ⎞ ⎫⎪
n
= x ⎨n ⎜ ⎟ + .......⎜ ⎟ ⎜ ⎟.⎬as δx → 0
dx ⎪⎩ ⎝ x ⎠ ⎝ x ⎠ ⎝ δx ⎠ ⎪⎭
Put δx = 0 and all the terms inside the square bracket will be zero except the first
dy nx n
= = nx n −1
dx x
This is a general solution for the differential coefficient of y = f(x) = xn
The notations used in this section were the work of the Great Mathematician Liebnitz and more can
be found on this at the following Web Site
http://en.wikipedia.org/wiki/Calculus and
http://en.wikipedia.org/wiki/Leibniz%27s_notation_for_differentiation
Newton is credited with developing this work at the same time as Liebnitz but it is Newton is
regarded as the father of Calculus.
3. NEWTON’S METHOD
The equation x = a t2/2 is an example of an algebraic equation. In general we use x and y and a
general equation may be written as y = axn where ‘a’ is a constant and ‘n’ is a power or index. The
rule for differentiating is :
The constant disappears when integrated. This explains why, when you do integration without
limits, you must add on a constant that might or might not have been present before you
differentiated. It is important to remember that:
© D.J.Dunn www.freestudy.co.uk 5
WORKED EXAMPLE No. 4
SOLUTION
3t 2 dx (2)(3)t 2−1 dx
x= = = 3t Putting t = 2 we find =6
2 dt 2 dt
SOLUTION
dy dy
y = 4 + x2 = 0 + 2x 2−1 = 2x Putting y = 5 we find = 10
dx dx
SOLUTION
dz dz
z = 2y 4 = (2)(4)x 4−1 = 8y 3 Putting y = 3 we find = 64
dy dy
Differentiate the function p = 2q3 + 3q5 +5 with respect to q and evaluate it when q = 2.
SOLUTION
dp
p = 2q 3 + 3q 5 + 5 = (3)(2)q 3−1 + (5)(3)q 5−1 + 0 = 6q 2 + 15q 4
dq
dp
putting q = 2 we get = 24 + 240 = 264
dq
The equation linking distance and time is x = 4t + ½ at2 where ‘a’ is the acceleration. Find the
velocity at time t = 4 seconds given a = 1.5 m/s2.
SOLUTION
x = 4t + ½ at2 velocity = v = dx/dt = 4 + at = 4 +(1.5)(4) = 10 m/s
© D.J.Dunn www.freestudy.co.uk 6
SELF ASSESSMENT EXERCISE No.1
2. Find the gradient of the function p = 2q + 2q2 + 4q3 and evaluate when q = 3
(Answer 58)
3. Find the gradient of the function u = 2v2 + 4v4 and evaluate when v = 5
(Answer 2020)
1. The electric charge entering a capacitor is related to time by the equation q = 3t2.
2. The angle θ radians turned by a wheel after t seconds from the start of measurement is found to
be related to time by the equation θ = ω1 t + ½ αt2
ω1 is the initial angular velocity (2 rad/s) and α is the angular acceleration (0.5 rad/s2).
Determine the angular velocity (ω = dθ/dt) 8 seconds from the start. (6 rad/s)
© D.J.Dunn www.freestudy.co.uk 7
3.3 OTHER STANDARD FUNCTIONS
For other common functions the differential coefficients may be found from the look up table
below.
dy
y = sin(ax) = acos(ax)
dx
dy
y = cos(ax) = −asin(ax)
dx
dy
y = tan(ax) = a + atan(ax) 2
dx
dy 1
y = ln(ax) = x −1 =
dx x
dy
y = ae kx = ake kx
dx
SOLUTION
Note that your calculator must be in radian mode when looking up sine and cosine values.
SOLUTION
© D.J.Dunn www.freestudy.co.uk 8
SELF ASSESSMENT EXERCISE No.3
1. If the current flowing in a circuit is related to time by the formula i = 4sin(3t), find the rate of
change of current after 0.2 seconds. (9.9 A/s)
2. The voltage across a capacitor C when it is being discharged through a resistance R is related to
time by the equation v = 4e-t/T where T = is a time constant and T = RC.
Find the voltage and rate of change of voltage after 0.2 seconds given R = 10 kΩ and C = 20
µF. (1.472 V and -7.36 V/s )
3. The voltage across a capacitor C when it is being charged through a resistance R is related to
time by the equation v = 4 - 4e-t/T where T = is a time constant and T = RC.
Find the voltage and rate of change of voltage after 0.2 seconds given R = 10 kΩ and C = 20
µF. (2.528 V and 7.36 V/s )
x = 17e 0.3t mm. Find the distance and velocity after 0.4 seconds.
(19.17 mm and 5.75 mm/s)
© D.J.Dunn www.freestudy.co.uk 9
4. HIGHER ORDER DIFFERENTIALS
The gradient of the graph at any point is dy/dx =3x2. This may be evaluated for any value of x. If
we plot dy/dx against x we get the following graph.
This graph is also a curve. We may differentiate again to find the gradient at any point. This is the
gradient of the gradient. We write it as follows.
⎛ dy ⎞
d⎜ ⎟ 2
⎝ dx ⎠ = d y = 6x
dx dx 2
The graph is a straight line as shown with a gradient of 6 at all points.
© D.J.Dunn www.freestudy.co.uk 10
WORKED EXAMPLE No. 11
The distance moved by a body (in metres) with uniform acceleration is given by s = 5t2.
Find the distance moved, velocity and acceleration after 12 seconds.
SOLUTION
distance = s = 5t 2 = 720 m
ds
velocity = v = = 10t = 120 m/s
dt
dv d 2 s
acceleration = = 2 = 10 m/s 2
dt dt
Find the distance moved, velocity and acceleration after 0.3 seconds.
SOLUTION
© D.J.Dunn www.freestudy.co.uk 11
SELF ASSESSMENT EXERCISE No.4
1. Evaluate the first and second derivative of the function p = 8e-0.2t when t = 2.
(Answers -1.073 and 0.215)
2. The motion of a mechanism is described by the equation x = 50 Cos(0.5t) mm. Calculate the
distance, velocity and acceleration after 0.3 seconds.
(Answers 49.44 mm, -3.74 mm/s and -12.36 mm/s2)
3. Evaluate the first and second derivatives of the function z = 2x4 + 3x3 + 2x - 5
when x = 4
(Answers 658 and 456)
4. The motion of a body is described the equation x = Asin(ωt) where x is the distance moved and
t is the variable time. Show by successive differentiation and a substitution that the acceleration
is given by a = -ωx.
© D.J.Dunn www.freestudy.co.uk 12