Differential
equations
7
VCE coverage
Area of study
Units 3 & 4 • Calculus
In this cha
chapter
pter
7A Differential equations:
related rates
7B Verifying solutions
7C Differential equations of
dy
the form  = f (x)
dx
7D Differential equations of
d2 y
the form 2 = f (x)
dx
7E Differential equations of
dy
the form  = g(y)
dx
7F Setting up and solving
differential equations
7G Input/output of mixing
problems
7H Numerical solutions by
Euler’s method
Chap 07 SM Page 280 Thursday, October 12, 2000 12:08 PM
Differential equations
A differential equation, as the name implies, is an equation that contains at least one
derivative.
Differential equations can be used to model systems that are in the process of
changing. Examples are:
• the depth of water in a tank which is filling up or being drained
• the velocity of a parachutist as she falls towards the earth
• the concentration of a chemical in solution
• the cost of producing a piece of equipment.
They are most useful when quantities can be measured by rates of change.
The order of a differential equation is defined as the order of the highest derivative
that occurs in the equation:
1. First order differential equations involve first derivatives only, that is,
dy
 , f ′(x), y′
dx
2. Second order differential equations involve second derivatives, but can also
have first derivatives, that is,
d d y d2 y
  , 2 f ′′(x), y′′ with  , f ′(x), y′
dy
d x d x d x dx
Related rates
Some problems requiring a rate of change between two variables cannot be found
directly. However, it is possible that a rate of change for each of the variables in terms
of a third variable may be found. When this is the case, the chain rule can then be
applied to find the rate of change between the original two variables.
The chain rule is
dy d y du du
 =  ×  (if y is a function of u and  is constant).
dx du d x dx
WORKED Example 1
Use the chain rule to find the derivative indicated in brackets for each of the following.
dV dr
a  = 5r,  = 2 
dV dP dP
b  = 4n,  = 6 
dn

dr dt dt dn dt dt
THINK WRITE
dV dV dr dV dV dr
a 1 Use the chain rule  =  ×  . a  =  × 
dt dr dt dt dr dt
dV dr
2 Substitute  = 5r and  = 2 into = 5r × 2
dr dt
the rule.
3 Simplify. = 10r
Chap 07 SM Page 281 Thursday, October 12, 2000 12:08 PM
THINK WRITE
dn dP dn dn dP dn
b 1 Use the chain rule  =  ×  . b  =  × 
dt dt dP dt dt dP
dn dP dn 1 1
2 Find  by inverting  and  =  = 
dP dn dP dP 4n

dP dn
substituting  = 4n.
dn
dn 1
3 Multiply 6 by 14 n.  = 6 × 
dt 4n
4 Simplify by removing the common 3 3
=  or  n –1
factor of 2. 2n 2
WORKED Example 2
dA
If A = h2 − 5h find  when h = 2.
dh
THINK WRITE
1 Write the equation. A = h2 − 5h
dA
2 Differentiate A with respect to h.  = 2h − 5
dh
dA dA
3 Evaluate  when h = 2. When h = 2,  = 2(2) − 5
dh dh
=4−5
= −1
Notes
1. Rates of change are given with respect to time unless otherwise stated.
2. An increasing
rate is positive.
The volume of the
balloon is increasing.
The rate of change of
volume with respect to
time is positive.
dV
 > 0
dt
3. A decreasing
rate is negative.
The mass of sand in
the tiptruck is decreasing.
The rate of mass change
with respect to time is negative.
dm
 < 0
dt
Chap 07 SM Page 282 Thursday, October 12, 2000 12:08 PM
WORKED Example 3
A balloon is being filled with air at the rate of 150 cm3/s. Assuming that the balloon
remains spherical, at what rate is the radius changing when the radius reaches 3 cm?
THINK WRITE
dV dV
1 The given rate is  = 150 cm3/s. Given rate  = 150
dt dt
dr dr
2 The required rate is  . Required rate 
dt dt
dr
3 The rate which will be found is  as
dV
dr dr dV dr
 =  ×  . Need to find  .
dt dV dt dV
4 The volume of a sphere is V = 43 π r3. V = 43 π r3
5 Differentiate V with respect to r to
dV dV
obtain  .  = 4π r2
dr dr
dV dr dr 1
6 Invert  to find  .  = 2
dr dV dV 4πr
dr dr dr dV
7 Use the chain rule to find  .  =  ×  (using the chain rule)
dt dt dV dt
dr 150
8 Simplify  . = 2
dt 4πr
dr dr 150
9 Substitute r = 3 into  and evaluate. When r = 3,  = 2
dt dt 4π(3)
150
= 
36 π
25
= 
6π
25
10 State the answer. The radius is increasing at  cm/s
6π
(or 1.326 cm/s) when the radius is 3 cm.
WORKED Example 4 r
A conical tank full of water loses water at a rate of 1.2 m3/min when
a tap at the bottom is turned on. If the surface radius of water in the
tank is always equal to twothirds of the depth of the water, then find
h
the rate at which the depth of water is changing when the depth is 2 m.
THINK WRITE
dV dV
1 The given rate is  = – 1.2 as the Given rate  = – 1.2 m3/min
dt dt
rate is decreasing.
Chap 07 SM Page 283 Thursday, October 12, 2000 12:08 PM
dh dh
2 The required rate is  . Required rate is  .
dt dt
dh
3 The rate which has to be found is 
dV
dh dV dh dV
as  =  ×  . Need to find  .
dt dt dV dh
dh dh 9
8 Invert to obtain  .  = 2
dV dV 4πh
dh dh dV dh
9 Find  using the chain rule.  =  × 
dt dt dt dV
9
= –1.2 × 2
4πh
2.7
= – 2
πh
dh dh – 2.7
10 Substitute h = 2 into  and evaluate. When h = 2,  = 2
dt dt π2
– 0.675
= 
π
11 State the answer. – 0.675
The height is changing at a rate of  m/
π
min (or −0.215 m/min) when the depth is 2 m.
or
The height is decreasing by 0.215 m/min when
the depth is 2 m.
Chap 07 SM Page 284 Thursday, October 12, 2000 12:08 PM
remember
remember
1. A rate of change is a derivative.
dy dy du
2. Chain rule:  =  × 
dx du dx
dx 1
3. Reciprocal rule:  = 
dy 
dy

dx
4. Increasing rates are positive.
5. Decreasing rates are negative.
6. Solid geometry formulas:
Total surface area of a cone = π r(s + r)
Total surface area of a sphere = 4π r2
1
Volume of a cone =  π r 2 h
3
4
Volume of a sphere =  π r 3
3
c P = 2e 0.01t
2 dP
 d 5xy = 2 
dy

dt dx
e S = 2 π r ( r + 10 ) dS

dr
WORKED 3 Use the chain rule to find the derivative indicated in brackets for each of the following.
Example
a  = 2r ,  = 3  b  = 3L 2 ,  = 1.5 
1 dA dr dA dV dL dV
dr dt dt dL dt dt
c
dV dh
 = 8 π ,  = 0.4 dV

dS dr
d  = 3 + 2r ,  = 4 dS

dh dt dt dr dt dt
e
dP dh
 = 2 h ,  = 0.5 dP
 f
dV dV
 = 6 ,  = 1.2 dh

dh dt dt dh dt dt
dA dA
g  = 2 π r ,  = 4 dr
 h
dV dV
 = 8L ,  = 0.5 dL

dr dt dt dL dt dt
Chap 07 SM Page 285 Thursday, October 12, 2000 12:08 PM
WORKED 7 The radius of a circular oil slick is increasing at a rate of 10 m/h. If the slick remains
Example
3
circular, find the rate at which the area is increasing when the radius is 5 m.
8 The radius of an inflated spherical balloon is increasing uniformly by 2 cm/min. At
what rate is the surface area increasing when the radius is 5 cm?
9 A large block of ice in the shape of a cube is melting uniformly at the rate of
1.2 cm3/s. Find the rate of decrease of its side length when the side length is 2 cm.
5

WORKED 10 The volume of water in a glass is V = 2x 3 where x cm is the depth of water in the
Example
4
glass. If water is poured into the glass at a constant rate of 12 cm3/s, find the rate at
which the depth is changing when x = 8 cm.
11 The pulse rate (P beats
per minute) and the
speed travelled by an ath
lete (v m/s) are related by
the rule P = 60 + 15v,
where 0 ≤ v ≤ 8. If the
runner increases speed
by a constant rate of 0.5
m/s per second, find the
rate of change of pulse
when the speed reaches
6 m/s.
Chap 07 SM Page 286 Thursday, October 12, 2000 12:08 PM
12 A solid cylindrical container of fixed length 90 cm is being pressure tested and the
radius is increasing at a constant rate of 0.01 cm/min. When the radius is 15 cm, find
the rate of change of:
a the total surface area (S)
b the volume (V).
13 On a particular day the temperature (T°C) at a height (h m) above sea level is:
T = 12e−0.001h.
If a balloon is rising at 0.1 m/s, what is the rate of change of temperature on the
balloon when it reaches a height of 1000 m above sea level?
14 In a particular circuit the current (I amps) in a resistor with resistance (R ohms)
satisfies the rule IR = 200.
The resistance is increased at a constant rate of 100 ohms/s. Find the rate at which the
current changes when the resistance is 400 ohms.
15 Water is poured at a constant rate of 20 cm3/s into a container in the shape of an
inverted cone whose semivertical angle is 45°. What is the rate at which the level of
water is rising when the depth is 50 cm?
16 A 5metre ladder leaning against a
vertical wall starts to slip. The upper end
is sliding at a constant rate of 0.1 m/s.
Find the rate at which the lower end is 5m
sliding when the lower end of the
y
ladder is 3 metres from the wall.
x
17 A cyclist is travelling from the corner along a straight Home
road at a constant speed of 20 km/h.
Find:
a the distance (D) from home when the cyclist is x km D km
3 km
from the corner
b the rate of change of distance from home when the
cyclist is 4 km from the corner. x km
Corner Cyclist
18 Water is leaking from the tank shown below at a constant rate of 0.03 m3/min.
2m
h 3m
2m
a Find an expression for the volume, V, in terms of the depth, h.
b Find the rate of change of depth, to the nearest
mm/min, when:
i the depth is 1 metre
ii the tank is half full.
Chap 07 SM Page 287 Thursday, October 12, 2000 12:08 PM
WORKED Example 5
Verify that the given function y is a solution to the differential equation in each of the
following.
dy
a  = ( 3 x 2 – 12 x + 12 ), y = ( x – 2 ) 3 b 4 y ( y″ ) = 3 x , y = x x
dx
THINK WRITE
a 1 Write down the solution. a y = (x – 2)3
dy dy
2 Differentiate y to find  .  = 3 ( x – 2 ) 2
dx dx
The differential equation is:
3 Write down the differential equation. dy
 = 3x 2 – 12x + 12
dx
dy dy
4 Substitute  into the lefthand side LHS =  = 3 ( x – 2 ) 2
dx dx
(LHS) of the differential equation.
5 Expand the brackets. = 3 ( x 2 – 4x + 4 )
= 3x 2 – 12x + 12
6 It is equal to the RHS of the differential = RHS
equation.
7 Therefore y = (x − 2)3 is a solution. y = (x − 2)3 is a solution.
b 1 Write down the solution. b y= x x
1

= x × x2
3 3
 
2 Express x x as x 2 . = x2
1
– 2
3 Differentiate y to obtain y′. y′ = 3

2
x
1
– 2
4 Differentiate y′ to obtain y′′. y′′ = 3

4
x
5 Write down the differential equation. The differential equation is: 4y(y′′) = 3x
6 Substitute y and y′′ into the differential LHS = 4y(y′′)
equation. 1
3x – 2 3

= 4x  2
4
7 Simplify the LHS. = 3x
8 This is equal to the RHS. = RHS
9 y = x x is a solution. Therefore, y = x x is a solution.
Chap 07 SM Page 288 Thursday, October 12, 2000 12:08 PM
WORKED Example 6
d2 y dy
Find the values of k if y = ekx satisfies the differential equation 2 – 4  – 5 y = 0 .
dx dx
THINK WRITE
1 Write the equation. y = ekx
dy dy
2 Differentiate y to find  .  = kekx
dx dx
dy d2 y d2 y
3 Differentiate  to find 2 . 2 = k2ekx
dx dx dx
dy d2 y d2 y dy
4 Substitute y,  and 2 into the Substituting into 2 – 4  – 5 = 0
dx dx dx dx
differential equation. k 2 e kx – 4ke kx – 5e kx = 0
kx
5 Take e out as a factor. e kx ( k 2 – 4k – 5 ) = 0
6 Factorise the quadratic expression of k. e kx ( k – 5 ) ( k + 1 ) = 0
7 As e ≠ 0, solve the quadratic equation
kx
You can also verify solutions by using the Mathcad file ‘Verifying DEs’ found on the
Maths Quest CDROM.
remember
remember
dy
1. 1st derivatives are  , f ′(x) or y′.
dx
d2 y
2. 2nd derivatives are 2 , f ′′(x) or y′′.
dx
3. When verifying a solution of a differential equation, show that the lefthand
side of the equation is equal to the righthand side.
Chap 07 SM Page 289 Thursday, October 12, 2000 12:08 PM
7B Verifying solutions
WORKED 1 Verify that the given function is a solution to the differential equation in each of the Math
Example
following.
cad
5
dy dh 1 Verifying
a  = 4x + 1, y = 2x 2 + x – 3 b  = 3t 2 – , h = t 3 – log e t DEs
dx dt t
dM 2
c  = 3M , M = e 3n d y′ ( x ) = – 12 y 2, y = 
dn x+3
dy 5 x d2 y
e  = 2, y =  f 2 = – 4y, y = sin 2x
dx ( 4x + 5 ) 4x + 5 dx
5
g y″ ( x ) = 3, y = x + 5 2
h y″ + y + 2 sin x = 0, y = x cos x
y
dy
i y″ – y = 2e x, y = xe x j  = 0, y = Sin –1 x + Cos –1 x
dx
y dy
k y′ = 1 + , y = x log e x l  = 4y 2 + 1, y = 12 tan 2x
x dx
d2 y dy 3
n 2 = x  , y = Sin –1 
d2 y dy x
m 2 – 2  + 5y = 0, y = e x sin 2x
dx dx dx dx 2
2 multiple choice
4d 2 y
Which one of the following functions is a solution to  – y = 0?
x
dx 2
 2
A y = sin 2x B y = e 2 C y = x log e x D y = x2 + 1 E y = 
x+1
3 multiple choice
A solution to the differential equation y′′ − 4y′ + 4y = 0 is:
A y = tan 2x B y = x2 − 3x C y = (2 − x)e2x
−1
D y = 2 Cos x E y = x( x + 3)
WORKED 4 Find the possible values of k if y = ekx satisfies the differential equation
Example
d2 y dy
6 2 + 3  + 2y = 0
dx dx
5 Find the value of a if y(x) = eax is a solution to 2y′′(x) − 5y′(x) − 12y(x) = 0.
6 Find the value of a if y = sin ax + cos ax satisfies the differential equation
d2 y
2 + 9y = 0
dx
7 Find the values of a and b if y = ax2 + bx satisfies the differential equation
y′′ + 6y′ + 36x = 0
8 Show that y = sin x2 satisfies the differential equation
d2 y dy
x 2 + 4x 3 y = 
dx dx
9 Verify that y = esin 2x satisfies the differential equation
y′′ + (4 sin 2x) y = (2 cos 2x) y′
log e x
10 Verify that y =  is a solution to
x d2 y
x 3 2 + 3 = 2xy
dx
Chap 07 SM Page 290 Thursday, October 12, 2000 12:08 PM
∫
dy
If  = f ( x ) , then y = f ( x )d x
dx
= F (x) + c, where F (x) is the antiderivative of f (x).
WORKED Example 7
dy 1
Find the general solution to  = 2x +  .
dx 1 – x2
THINK WRITE
dy dy 1
1 Express y as an antiderivative of  .  = 2x + 
dx dx 1 – x2
∫
y = 2x +  dx
1
1 – x 2
dy
2 Antidifferentiate  by rule to obtain y and
dx
add the constant of antidifferentiation since
no initial conditions are given. y = x2 + Sin−1x + c
WORKED Example 8
t
Find the particular solution to h′ ( t ) =  where h(4) = 1.
t2 + 9
THINK WRITE
t
1 Express h(t) in integral notation. h′ ( t ) = 
t2 + 9
∫
t
h ( t ) = dt
t +9
2
∫
t du
5 Substitute u and dt into the integrand. h(t) = 1 × 
 t
u2
∫
1
1 – 2
6 Simplify the integrand. =  u du
2
1
7 Antidifferentiate. 
= u2 + c
8 Replace u by t2 + 9. = t2 + 9 + c
9 Substitute the initial conditions of t = 4 Since h(4) = 1
and h = 1 into the equation. 1 = 25 + c
1=5+c
10 Solve for the constant, c. c = −4
11 State the particular solution. Therefore h(t) = t2 + 9 – 4 .
WORKED Example 9
The rate of change of shaded area covered by a shrub is modelled by the differential
dA πt
equation  = 0.02t + 0.5 sin  , where A m2 is the area covered by the shrub t months
dt 6
after it is planted.
If the shrub covers an area of 0.3 m2 when planted, what area does it cover after 9 months?
THINK WRITE
dA πt
1 Express A in integral notation.  = 0.02t + 0.5 sin 
dt 6
πt
∫A = 0.02t + 0.5 sin  dt
6
3 πt
2 Antidifferentiate the integrand by rule. = 0.01t 2 –  cos  + c
π 6
πt
3 State the general solution A(t). A(t) = 0.01t 2 – 0.955 cos  + c
6
3
(approximating  with 0.955)
π
4 Substitute 0.3 for A and 0 for t, these Since A(0) = 0.3
being the initial conditions. 0.3 = −0.955 + c
5 Solve the equation for the constant, c. c = 1.255
π
6 State the particular solution A(t). A = 0.01t 2 – 0.955 cos  + 1.255
6
3π
7 Evaluate A(9), the shaded area at time A(9) = 0.01 ( 9 ) 2 – 0.955 cos  + 1.255
2
t = 9 months.
= 0.81 + 1.255
= 2.065
8 State the solution. After 9 months the shrub covers an area of
approximately 2.065 m2.
Chap 07 SM Page 292 Thursday, October 12, 2000 12:08 PM
Table
To provide a general example, consider the equation in worked example 9 with the
dy πx
variables x and y rather than t and A. That is,  = 0.02x + 0.5 sin  subject to the
dx 6
condition y = 0.3 at x = 0.
dy
1. Enter the equation for  in Y1 and for Y2 press
dx
MATH , select 9: fnInt( and enter Y1,X,0,X) + .3 (so
Y2 is y and at x = 0, Y2 = 0.3).
Remember: To enter Y1, press VARS and select
Y–VARS, 1:Function and 1:Y1.
Graph
1. Repeat step 1 above to enter Y1 and Y2.
remember
remember
dy
If  = f (x),
dx
∫
then y = f ( x )dx
= F(x) + c
When initial conditions are given then c can be evaluated giving a particular
solution from the general solution.
Chap 07 SM Page 293 Thursday, October 12, 2000 12:08 PM
cad
dy dy
7 a  = 2x + 1 b  = x 3 – 4x Antidifferentiation
dx dx
c y′ ( x ) = ( x + 3 ) ( x – 2 ) d y′ ( x ) = 2e 3 x
dy 3
e  = x 2 +  f y′ ( x ) = x x 2 – 2
dx x
1
g y′ ( x ) = 4sec 2 2x h f ′( x ) = 3 + x
x
(2x + 1) ( x – 1 ) –1
j y′ ( x ) = 
i f ′( x ) = 
x+3 9 – x2
1 dy
k y′ ( x ) = 2 l  = sin 4x – 2cos x
4+x dx
dx
m h′ ( t ) = 2 ( 5 – 2t ) 4 n  = sin 3 σ cos σ
dσ
2 multiple choice
dy
If  = ( 2 – x ) 5 and y = 0 when x = 1, then the solution is:
dx
A y = 5 – 5( 2 – x )4 B y = ( 2 – x )6 –( 2 – x )6
C y = 
6
1 – ( 2 – x )6 E y = ( x – 2 )6
D y = 
6
3 multiple choice
dV 2
Given that  =  and V = 2π when t = 1, then V(t) is equal to:
dt 1 – t2
3π
A 2 Cos−1t B  + Sin−1t C π + 2 Sin−1t
2
7π
D 2π + 1 − t2 E  + Tan–1t
4
4 multiple choice
If P′(u) = u cos (u2 − 3) and P = 1 when u = 3 , then the solution is:
A P=1+ 1

2
sin (u − 3)
2
B P= 1

2
+ 1

2
cos (u2 − 3) C P = sin (u3 − 3u)
D P = u sin (u2 − 3) E P = cos (u2 − 3)
WORKED 5 Find the particular solution for each of the following differential equations.
Example
8 a y′(x) = 3x2 + 1, where y = 3 when x = 0
dy
b  = e –2 x , where y = 0 when x = 0
dx
π
c f ′(x) = 6 cos 3x and f  = 1
3
Chap 07 SM Page 294 Thursday, October 12, 2000 12:08 PM
dL
h  = 4 sin 2 σ , where L = π when σ = π
dσ
dM
i  = 2 + tan 2 σ , where M = −3 when σ = 0
dσ
du x2
j  , where u = 1 when x = 2
 = 
dx x +4
2
dV
k  = 4te t 2 + 2 , where V = 3e2 when t = 0
dt
dy
l ( x 2 + 1 )  = 4x + 1 , where y = 7 when x = 0
dx
dL
m  = 3 cos σ 1 + sin σ , where L = 0 when σ = 0
dσ
dy
n ( 2 – e x )  = e x , where y = 3 when x = 0
dx
6 Find the equation of the curve whose gradient at any point (x, y) is 4x and the curve
passes through (−1, 3).
7 A curve passes through the point (− 12 , π ) and its gradient at any point (x, y) is equal
–3
to  . What is the equation of the curve?
1 – x2
WORKED 8 The rate of change of height, h metres, of water at a port entrance is
Example
9 dh
 = 7.5 – 1.5 cos 0.5t , where t is the time in hours after low tide.
dt
Express the height, h, has a function of time, t, if the height at low tide (that is, t = 0)
is 6 metres.
dV
9 The rate  at which V kilolitres of sewage is treated at a sewage plant t hours after
dt
dV
daily operation begins is  = 1000e 0.1t 0 ≤ t ≤ 15.
Find: dt
a the total volume treated V(t) after time t
b the total volume treated after 5 hours
c the average volume treated per hour if the plant operates for 15 hours per day.
10 The acceleration a of a particular car from rest is given by the expression
a = 3t t 2 + 4 , 0 ≤ t ≤ 5, where a is in km/h2 and t is in seconds.
a Find the velocity at any time t in units of km/h.
b Find the time, to the nearest hundredth of a second, when the car reaches 56 km/h.
Chap 07 SM Page 295 Thursday, October 12, 2000 12:08 PM
d2 y
If 2 = f ( x )
dx
∫
dy
then  = f ( x )d x
dx
= F(x) + c, where F(x) is the antiderivative of f (x)
and y=
∫ [ F( x ) + c ]d x
= G(x) + cx + d, where G(x) is the antiderivative of F(x) and c and d are
the constants of antidifferentiation.
To find the particular solution of a second order differential equation of this type, that
dy
is, to find the constants c and d, then initial conditions for both  and y are required.
dx
dy
The initial condition for  allows c to be found while the initial condition for y allows
dx
d to be found.
WORKED Example 10
x

Find the general solution to f″ ( x ) = e 2 – 2 .
THINK WRITE
x

1 Antidifferentiate f ′′(x) to find f ′(x). f ″( x ) = e 2 – 2
∫
x

f ′(x) = ( e 2 – 2 )dx
x

= 2e 2 – 2x + c
∫
x

2 Antidifferentiate f ′(x) to find f (x). f (x) = ( 2e 2 – 2x + c )dx
x

= 4e 2 – x 2 + cx + d
x

3 State the solution. f (x) = 4e 2 – x 2 + cx + d is the general solution.
Chap 07 SM Page 296 Thursday, October 12, 2000 12:08 PM
WORKED Example 11
Find the particular solution to y′′(x) = 4 sin (2x + π ) given that y′(0) = 1 and y(0) = 4.
THINK WRITE
1 Antidifferentiate y′′(x) to find y′(x). y′′(x) = 4 sin (2x + π)
y′(x) =
∫ [ 4 sin(2x + π ) ]dx
= −2 cos(2x + π) + c
2 Substitute x = 0 and y′ = 1. Substitute y′(0) = 1
3 Solve the equation for c. 1 = −2 cos π + c
1=2+c
c = −1
4 State the equation for y′. y′(x) = −2 cos(2x + π) − 1
5 Antidifferentiate y′ to find y. y(x) =
∫ [ –2cos( 2x + π ) – 1 ]dx
= −sin(2x + π) − x + d
6 Substitute x = 0 and y = 4. Substitute y(0) = 4
7 Solve the equation for d. 4 = −sin π − 0 + d
d=4
8 State the equation for y, the particular Therefore y = −sin(2x + π) − x + 4 is the
solution. particular solution.
WORKED Example 12
d2 y
A particular curve is described by the differential equation 2 = 6 x. The tangent to the
dx
curve at the point (3, 6) makes an angle of 45° with the positive direction of the xaxis.
Find the equation of the curve.
THINK WRITE
d2 y d2 y
1 Antidifferentiate 2 to obtain the 2 = 6x
dx dx
∫
dy dy
gradient  .  = 6x dx
dx dx
= 3x2 + c
dy
2 At (3, 6) the gradient = tan 45° = 1. But when x = 3,  = 45° = 1.
dx
dy 1 = 3(3)2 + c
3 Substitute x = 3 and  = 1 into the
dx
dy 1 = 27 + c
equation for  .
dx
4 Solve the equation for c. c = −26
dy dy
5 State the particular equation for  .  = 3x2 − 26
dx dx
Chap 07 SM Page 297 Thursday, October 12, 2000 12:08 PM
THINK WRITE
∫ ( 3x
dy
6 Antidifferentiate  to obtain y. y= 2 – 26 ) dx
dx
= x3 − 26x + d
7 Substitute x = 3 and y = 6 into the equation Substitute x = 3 and y = 6 into the equation.
for y.
8 Solve the equation for d. 6 = 33 − 26(3) + d
6 = –51 + d
d = 57
9 State the particular equation of the curve. Therefore y = x3 − 26x + 57 is the particular
equation required.
History of mathematics
M A R I A AG N E S I ( 1 6 M a y 1 7 1 8 – 9 Ja n u a r y 1 7 9 9 )
During her lifetime ... complete works on calculus and was widely used as a
Easter Island is textbook. In it she organised and analysed the work of
discovered with its many mathematicians, together with her own original
giant statues. interpretations. When the book was published in 1748
Vivaldi writes The it caused a sensation and was praised for its clarity.
Four Seasons. After the success of her book, Agnesi accepted a
Benjamin Franklin position at the University of Bologna and was
establishes the first eventually elected to the Bologna Academy of
police force. Sciences. One of her solutions for a differential
Celsius develops a equation has become known as ‘the witch of Agnesi’.
scale for measuring The solution to the equation follows a curve. Agnesi
temperature. referred to this curve as a ‘versiera’ which in Italian
means ‘turn’ or ‘bend’. When translated into English
Maria Agnesi was an Italian mathematician. She was versiera became confused with the Italian word
born in Milan and her father was a professor of avversiera which means ‘witch’.
mathematics at the University of Bologna. Her large
When her father died, Maria devoted the rest of her
family was wealthy and welleducated and their home
life to helping the poor and the sick, especially
was a meeting place for intellectuals. Agnesi, a child
women. She never married, and died at the age of 81.
prodigy, was the eldest of 21 children. By the age of 9
she could read and speak Latin, Greek, Hebrew, Questions
Italian, French, German and Spanish. During her 1. Which field of mathematics was the subject
teens she studied mathematics, tutored the younger of Agnesi’s most famous book?
children in the family and served as hostess at the 2. Why did very few women work or carry out
discussions held at her father’s house. research in academic disciplines until the
Until the 20th century very few women in Europe 20th century?
or elsewhere received more than a very basic 3. Which university offered a position to
education. As a result, women were unable to work or Agnesi?
carry out research in academic disciplines. Agnesi
4. Which curve is named after her?
was an exception. When she was 20 years old she
published a book of essays called Propositiones Research
Philosophicae. For the next ten years she worked on Find the equation for ‘the witch of Agnesi’. Use
her most famous book, Analytic Institutions for the a graphics calculator to investigate the curve for
Use of Italian Youth. It was one of the first and most various values of a.
Chap 07 SM Page 298 Thursday, October 12, 2000 12:08 PM
remember
remember
d2 y
If 2 = f ( x ) ,
dx
∫
dy
then  = f ( x ) dx
dx
= F(x) + c, where F(x) is the antiderivative of f (x)
and y=
∫ [ F ( x ) + c ] dx
= G(x) + cx + d, where G(x) is the antiderivative of F(x).
10 a y′′(x) = 1 − 6x b y′′(x) = 6x x
Anti
differentiation d2 y d2 y 1
c 2 = ( x – 2 ) ( x + 3 ) d 2 = 3
dx dx x
4x
e f ′′(x) = e x − e−x f f ′′(x) = 2
(x 2 + 1)
g y′′(x) = 2x − cos x h y′′(x) = 2 sin2 x
2 multiple choice
d2 y
If 2 = x –2 + 6x 2 , then,
dx
dy
a  is equal to:
dx
1 2
A 3 + 12x + c B x 3 –  + c C x –3 + 2x 3 + c
x x
1
D 6x + c E 2x 3 –  + c
x
b the general solution is:
1 1
A y = 12 x4 − log e x + cx + d B y = 4 + 6x2 + cx C y = 3 + 6x2 + cx + d
x x
D y = x4 − log e x + d E y = 3x2 + cx + d
3 multiple choice
π
 and f ′  = 2 and f (0) = −3, then f (x) is equal to:
1
Given that f ′′(x) = 
cos 2 x 4
A −3 + tan x B log e (sin x) − 2 C x − 3 − log e (cosx)
D 2x − 1 + log e (cos x) E 1 + log e (tan x)
Chap 07 SM Page 299 Thursday, October 12, 2000 12:08 PM
1
h g′′(x) = 2 where g′(1) = 0 and g(1) = 1.
x
d2 y
WORKED 5 A particular curve is described by the differential equation 2 = 2x(x − 1). The
Example
dx
12
tangent to the curve at the point (3, −16) makes an angle of 45° with the positive xaxis.
Find the equation of the curve.
6 The height of a projectile fired vertically up from the ground with an initial speed of
d2h
50 m/s satisfies the differential equation 2 = – 10 . Find:
dt
a the height at any time t
b the maximum height reached.
7 The deflection of a 5metrelong board from the horizontal satisfies the differential
d2 y
equation 2 = −0.0004(5 − x)2, where x is the horizontal distance from its fixed end.
dx
If the deflection is zero and the board is horizontal at its fixed end, then find:
y
8 Powerlines sag under their own weight. The downward deflection of a powerline, L
d2 y x
metres long fixed at both ends, satisfies the differential equation 10 000 2 = x2 − L  ,
dx 3
where y (metres) is the downward deflection and x is the horizontal distance from one
end. If the power line is considered to be horizontal at its end, find the maximum
deflection of the line in terms of its length, L. Hence find the maximum deflection of a
powerline which is 40 metres long.
Chap 07 SM Page 300 Thursday, October 12, 2000 12:08 PM
∫
1
and therefore x = d y + c
g( y)
WORKED Example 13
Find general solutions for each of the following differential equations.
dy
a  = y b y′(x) = tan y.
dx
THINK WRITE
dy
a 1 Invert both sides of the differential a  = y
dx
equation.
dx 1
 = 
dy y
∫
1
2 Antidifferentiate the RHS with x =  dy
y
respect to y to obtain x(y).
x = log e y + c, y > 0
3 Subtract c from both sides. x − c = log e y
4 Take the exponent e to the power of ex − c = y
both sides to convert to exponential y = ex − c
x−c
form and make y the subject. Now e = e xe−c = Ae x, where A = e−c.
5 State the solution and express it Therefore, the general solution is y = Ae x,
more simply. where A = e−c.
dy
b 1 Express the derivative as  . b y′(x) = tan y
dx
dy
 = tan y
dx
dx 1
2 Invert both sides of the differential  =  , y ≠ 0
dy tan y
equation.
1 cos y
3 Simplify  . = 
tan y sin y
Chap 07 SM Page 301 Thursday, October 12, 2000 12:08 PM
THINK WRITE
∫ 
cos y
4 Let u = sin y to antidifferentiate using x=  dy
sin y
the ‘derivative present’ method.
Let u = sin y
du du
5 Find  .  = cos y
dy dy
du
6 Make dy the subject. dy = 
cos y
∫
cos y du
7 Substitute u and dy into the integral. x =  
u cos y
∫
du
8 Simplify the integrand. = 
u
9 Antidifferentiate by rule. = log e u + c
10 Replace u by sin y. x = log e (sin y) + c, sin y > 0
11 Subtract c from both sides. x − c = log e (sin y)
12 Express the equation in exponential form. ex − c = sin y
13 Take Sin−1 of both sides to make y the y = Sin−1(e x − c), x < c
subject.
14 State the solution. Therefore the general solution is
y = Sin−1 (Ae x), where A = e−c.
WORKED Example 14
a Find the particular solution of f ′(x) = 1 – y 2 if f (0) = 12 .
b State the largest domain for which the solution applies.
THINK WRITE
dy
a 1 Express the differential equation in the a  = 1 – y2
dx
dy
form  .
dx
dx 1
2 Invert both sides of the differential  =  , −1 < y < 1
equation. dy 1 – y2
∫
1
3 Antidifferentiate by rule. x =  dy
1 – y2
x = Sin−1 y + c, −1 < y < 1
4 Substitute y = 1

2
and x = 0. Substituting (0, 12 ) into the equation,
0 = Sin−1 12 + c
π
5 Solve the equation for c. 0 =  + c
6
π
c = – 
6 Continued over page
Chap 07 SM Page 302 Thursday, October 12, 2000 12:08 PM
THINK WRITE
π
6 Rewrite the equation. x = Sin−1 y − 
6
π π −1
7 Add  to both sides. x +  = Sin y
6 6
π
sin x +  = y
8 Take the sine of both sides to make y
the subject. 6
π
9 State the solution. Therefore y = sin x +  is the particular
6
solution.
dx 1
b 1 From part a,  =  exists for b From part a, −1 < y < 1
dy 1 – y2
−1 < y < 1.
π π
2 For x +  = Sin−1 y, −1 < y < 1 is the Since x +  = Sin –1 y
6 6
domain of this function (see part a).
π π π π π π
3 So –  < x +  <  must be the range of the –  < x +  < 
2 6 2 2 6 2
−1
Sin function whose domain is (−1, 1).
2π π
4 Solve this inequation for x. –  < x < 
3 3
5 State the largest possible set of values Therefore, the largest possible domain for
for x, that is, the domain of the solution of the differential equation in
π 2π π
y = sin x +  . part a is (−  ,  ).
6 3 3
π
Note: The graph of y = Sin−1 x −  , which y
6 –π y = Sin–1 x
2
has x and y interchanged in worked example –π y = Sin–1 x – –π
6
3
14, is shown in the figure at right,
2π π
This clearly shows that –  < y <  , which –1
– –π
1 x
3 3 6
corresponds to the domain, x, in the previous
– –π
example. 2
2π
–—
3
WORKED Example 15
dh
A kite is rising at a rate which is proportional to its height at any time; that is,  = kh,
dt
0 < h < 300, where h is in metres and t is in minutes. (k is a constant.)
If the initial height is 2 metres and the height is 20 metres after 1 minute, find:
a the height at any time, t b the height to the nearest metre after 3 minutes.
THINK WRITE
dh
a 1 Invert both sides of the differential equation. a  = kh
dt
dt 1
 = 
dh kh
Chap 07 SM Page 303 Thursday, October 12, 2000 12:08 PM
∫ kh dh
Express t in integral notation. t= 1
2
dt 1
3 Antidifferentiate  with respect to h. t =  log e h + c
dh k
1 1 1
4 Let c =  log e A (which is still a constant). =  log e h +  log e A
k k k
1
5 Simplify the RHS using log laws. t =  log e (Ah)
k
6 Substitute the initial condition, h = 2 when t = 0. When t = 0, h = 2,
1
0 =  log e (2A)
k
7 Solve the equation for A. A = 12 , since log e 1 = 0
1 h
8 Substitute A into the equation. t =  log e 
k 2
9 Substitute h = 20 and t = 1 into the equation. When t = 1, h = 20
1
10 Solve the equation for k. 1 =  log e 10
k
k = log e 10 or approx. 2.303
h
log e 
2
11 State the rule for t. t = 
2.303
h
12 Rearrange the rule to make h the subject. 2.303t = log e 
2
h
e 2.303t = 
2
13 State the solution. Therefore, h(t) = 2e2.303t is the
height at any time t.
b 1 Substitute t = 3 into the rule h(t). b When t = 3,
h(3) = 2e2.303 × 3
2 Evaluate h(3). = 2e6.909
3 Round the height to the nearest metre. ≈ 2002
4 State the approximate height. Therefore, after 3 minutes the kite
reaches a height of approximately
2002 metres.
remember
remember
dy
If  = g(y),
dx
dx 1
then  = 
dy g ( y )
∫
1
and x =  dy + c .
g( y)
Chap 07 SM Page 304 Thursday, October 12, 2000 12:08 PM
dy 1 dy y
Anti
13 a  =  b  = 
dx 2y dx 3
differentiation
dy dy
with respect c  = y + 3 d  = 3y – 5
to y dx dx
1 2
e y′ ( x ) =  f y′ ( x ) = 
2y + 7 7 – 4y
y
g y′ ( x ) = 8 –  h 2y′ – y 2 = 0
5
dy dy 1
i  = cos 2 y j  = 
dx dx tan y
2 multiple choice
dh
If  = 0.2h , where h = 1
 when t = 0, then the solution is:
dt 2
3 multiple choice
dy π
Given that  = 4 – y 2 and y = 3 when x =  then,
dx 6
a the solution is:
π π
A y = 2 sin x –  B y = 2 cos x –  C y = 4 – x2
6 6
π π
D y = 2 sin x +  E y = cos x + 
6 6
Initially Q = 100 and when t = 20, Q = 50. Find the time taken for 80% of the initial
amount to have decayed.
Chap 07 SM Page 306 Thursday, October 12, 2000 12:08 PM
2. y varies inversely x
1
abbreviates to y ∝ 
x
k
which means that y =  , where k is a constant.
x
WORKED Example 16
Set up differential equations for the following situations.
a The volume (V) of water in a tank is decreasing at a rate which is proportional to its
current volume.
b The gradient of a curve varies inversely with the square of its xcoordinate.
THINK WRITE
dV
a 1 The rate of change of volume,  , is negative as the a
dt
rate is decreasing.
2 The current volume is V.
dV
3 Write the proportionality statement.  ∝ V
dt
dV
4 Write the differential equation with constant −k  = −kV
dt
(decreasing rate).
dy
b 1 The gradient is  . b
dx
2 The square of the xcoordinate is x2.
dy 1
3 Write the variation statement.  ∝ 2
dx x
dy k
4 Write the differential equation with constant k.  = 2
dx x
Chap 07 SM Page 307 Thursday, October 12, 2000 12:08 PM
WORKED Example 17
The rate of growth of a town’s population (N) is 5% of its population at any time t years.
If its population is currently 100 000 people (at t = 0) find:
a the population at any time t b the population in 3 years time.
THINK WRITE
dN
a 1 The differential equation is a  = 0.05 N
dt
dN
 = 0.05 N. This is because the rate
dt
dN
of the population,  , is 5% of the
dt
current population, that is, 0.05 × N.
dt 1
2 Invert both sides of the differential  = 
dN 0.05 N
equation.
20
3 Simplify the RHS. = 
N
∫ N dN + c
20
4 Express t in integral notation. t=
THINK WRITE
t = 20 log e 
N
8 Replace the value of A in the equation.
100 000
WORKED Example 18
A sample of a radioactive isotope of radium loses half of its radioactive nuclei each 1200
years (that is, its halflife is 1200 years). If the rate of decay is proportional to the number
of atoms present, find, to the nearest year, the time taken for the isotope to decay to 30%
of its original amount.
THINK WRITE
1 Let N be the number of atoms present Let N = the number of nuclei present at any
at any time, t years. time, t years.
2 Let No be the original number of nuclei Let No = the original number of nuclei.
present.
dN dN
3 The differential equation is  = kN  = kN
dt dt
dN
because the rate of decay,  , is
dt
proportional to the amount N present.
(k < 0, as will show in calculations.)
dt 1
4 Invert the differential equation.  = 
dN kN
∫
1 dN
5 Express t in integral form. t =   + c
k N
Chap 07 SM Page 309 Thursday, October 12, 2000 12:08 PM
THINK WRITE
1
6 Antidifferentiate the integrand by rule. t =  log e AN [Note: c = log e A]
k
7 Substitute t = 0 and N = No. When t = 0, N = No
8 Solve for A in terms of No. ANo = 1
1
A = 
No
1 1 N
9 Substitute A =  into the equation. t =  log e 
No k No
10 Substitute t = 1200 and N = 0.5N into the When t = 1200, N = 0.5No
equation (since N is 50% of its original 0.5N o
1200 =  log e 
1
value). k No
1 1
11 Solve for  . 1200 =  log e 0.5
k k
1
 = −1731.234
k
1 N
12 Substitute the value of  into the equation. t = −1731.234 log e 
k No
13 Leave t the subject of the equation.
14 Substitute N = 0.3 No into the equation When N = 0.3No,
(30% of its original value). 0.3N o
t = −1731.234 log e 
No
15 Evaluate t, the time interval for which the = −1731.234 log e 0.3
number of radioactive nuclei falls to 30% = 2084.359
of its initial value.
16 Round the value to the nearest year and Therefore it takes approximately 2084 years
state the solution. for the number of radioactive nuclei to be
reduced to 30% of its original number.
dT
and  = k(T − Ts ).
dt
That is, the rate that the temperature changes for an object is proportional to the
temperature difference between the object and its local environment.
Chap 07 SM Page 310 Thursday, October 12, 2000 12:08 PM
WORKED Example 19
A loaf of bread at a temperature of 20°C is placed in a freezer whose temperature is a
constant −15°C. If it takes 18 minutes for the temperature of the bread to drop to 8°C,
how much longer, to the nearest minute, will it take for the bread to reach 0°C? You may
assume that Newton’s Law of Cooling applies.
THINK WRITE
dT
1 Ts = −15 as this is the environment  = k ( T – T s )
dt
temperature.
Ts = −15
dT
2 Use Newton’s Law of Cooling equation  = k ( T + 15 )
dt
with Ts = −15.
dt 1
3 Invert the differential equation.  = 
dT k ( T + 15 )
∫
dT
4 Express t in integral notation. t =  + c
k ( T + 15 )
1 1
5 Antidifferentiate by rule to obtain the =  log e A(T + 15) [Note: c =  log e A]
k k
general equation for t.
6 Substitute t = 0 and T = 20 into the When t = 0, T = 20
equation. 1
0 =  log e 35A
k
7 Solve the equation for A. 35A = 1
A= 1

35
T + 15
t =  log e 
1
8 Replace A = 1
 back into the equation
35 k 35
in step 5.
9 Substitute t = 18 and T = 8 into the When t = 18, T = 8
equation.
1 1
10 Solve the equation for  . 18 =  log e 23

35
k k
1
 = −42.872
k
1 T + 15
11 Replace  = −42.872 back into the t = −42.872 log e 
k 35
equation.
12 Leave t as the subject of the equation When T = 0, t = −42.872 log e 15

35
and substitute T = 0 into it.
13 Evaluate t. = 36.325
14 To calculate the further time after The extra time after 18 minutes is
18 minutes for the bread to reach 0°C, 36.325 − 18 = 18.325.
subtract 18 from 36.325.
15 Round the time down to the nearest Therefore it takes approximately a further
minute and state the answer. 18 minutes for the temperature of the bread to
drop from 8°C to 0°C.
Chap 07 SM Page 311 Thursday, October 12, 2000 12:08 PM
WORKED 3 A substance is decaying radioactively at a rate proportional to its mass, m kg, such
Example
dm
18 that at any time t years  = – m . If the initial mass is mo, find the time taken for the
dt mo
mass of the substance to halve to  .
2
4 The number of bacteria in a food sample, t hours after being placed in the refrigerator,
decreases at a rate proportional to its present number. If the number of bacteria halves
after one hour, find the time taken for the number of bacteria to reach 10% of its
initial value.
5 Fifty fish are added to a fishery each month and the natural increase is 2% per month.
dP
a Find an expression for  , the growth rate of the fish population.
dt
b If the initial number of fish is 1000, predict the number after one year.
6 An environmentally friendly type of container decomposes at a rate proportional to
the amount of material present, Q. If it takes 2 weeks to be reduced by 10%, how long
will it take to be reduced by 60%?
WORKED 7 A rod that has been heated to 110°C is placed into a large tank of water whose tem
Example
19
perature is a constant 10°C. After 2 minutes the temperature of the rod is 70°C.
Assuming Newton’s Law of Cooling applies, find the temperature of the rod after a
further 2 minutes.
8 The temperature of a cup of coffee drops from 95°C to 75°C in 5 minutes in a room
where the temperature remains at 15°C. If Newton’s Law of Cooling applies, find:
a the time taken for the temperature of the coffee to reach 50°C
b the temperature of the coffee at any time t and hence after 2 minutes.
9 The temperature of a freezer is a constant −6°C. A tray of water that is 12°C is placed
in the freezer, and its temperature drops by 4°C in one minute. Find:
a the time taken for the tray of water to reach freezing point, 0°C (to the nearest second)
b the temperature of the tray at any time t and hence after 6 minutes (to the nearest
degree).
10 A mother boils a cup of milk to 100°C for her young child. The temperature of the
milk drops to 90°C in 2 minutes in a room where the temperature is a constant 20°C.
The child will drink the milk only if its temperature is between 55°C and 70°C. If
Newton’s Law of Cooling applies, how long does the child have to drink all of the milk?
Chap 07 SM Page 313 Thursday, October 12, 2000 12:08 PM
WORKED Example 20
A tank is holding 80 litres of water when a salt solution of concentration 5 g/L is added at
a rate of 5 L/min. The mixture is kept uniform by stirring and is run off at a rate of
3 L/min. If x is the amount of salt present at any time t, find:
a the volume (V) of the solution at any time
b the input rate of salt
c the output rate of salt
d the differential equation describing the rate of change of salt in the tank.
THINK WRITE
a 1 The initial volume in the tank is a Volume =
80 L. + 5t litres
2 Every minute, 5 L is added to the
volume; that is, the volume added
after time t is 5t L.
3 Every minute, 3 L is subtracted from 80 litres
the volume; that is, the volume V = 80 + 2t
subtracted after time t is 3t L; in –3t litres
other words, a volume, −3t of L
is added.
4 Add the three volumes. V(t) = 80 + 5t − 3t
5 Simplify. V(t) = 80 + 2t
THINK WRITE
3 L/min
x
c 1 Output concentration is  g/L. c
80 + 2t
x
Output 80 + 2t g/L × 3 L/min
OR = ———
rate 3x
of salt ———
80 + Lt g/min
dx
d Find the rate of change of salt, by d  = IR – OR
dt
dx
substituting into  = IR – OR . 3x
dt = 25 – 
80 + 2t
Notes
A vat is used to mix a cleaning solution for commercial use. Initially it is full and contains
a mixture of 20 kg of a ‘strong’ cleaning powder and 200 litres of water. This
concentration is too strong to sell, so fresh water is run in at a rate of 4 L/min while the
solution is run off at the same rate. The mixture is kept uniform by stirring.
a Set up the differential equation describing the amount of cleaning powder, Q kg, in the
vat any time, t minutes.
b By solving the differential equation find the amount of cleaning powder in the vat after
10 minutes.
c How long does it take, to the nearest second, for the concentration to become ideal?
(The ideal concentration of cleaning powder is 0.075 kg/L.)
THINK WRITE
a 1 Find the volume. a V(t) = 200 + 4t − 4t
V(t) = 200
2 Calculate the input rate. No cleaning IR = 0 × 4 = 0
powder is added to the vat, so the
input rate = 0 × 4.
3 Find the output rate. Q
OR =  × 4
200
4 Set up the differential equation by
finding the rate of change of cleaning
powder (input rate minus the output dQ Q
 = 0 – 
rate.) dt 50
5 State the solution. Therefore the rate of change of cleaning
dQ Q
powder is described by  = –  .
dt 50
dt 50
b 1 Invert the differential equation. b  = – 
dQ Q
∫ – Q dQ + c
50
2 Express t in integral notation. t =
THINK WRITE
3 Antidifferentiate the integrand by rule. t = −50 log e AQ [Note: c = log e A]
4 Substitute t = 0 and Q = 20 into the When t = 0, Q = 20
equation (the initial condition). 0 = −50 log e 20A
5 Solve the equation for the constant, A. 20A = 1
A= 1

20
Q
6 Substitute A = 1
 into the equation. t = −50 log e 
20 20
t Q
7 Make Q the subject of the equation. –  = log e 
50 20
Q
−0.02t = log e 
20
Q
e−0.02t = 
20
Q(t) = 20e−0.02t
8 Substitute t = 10 into the equation. When t = 10, Q(10) = 20e−0.02 × 10
9 Evaluate Q. = 20e−0.2
= 16.375
10 State the answer. Therefore there is approximately
16.375 kg of cleaning powder in the vat
after 10 minutes.
c 1 Find Q when the concentration is 0.075 c When the concentration is 0.075,
by multiplying the concentration by the Q = 0.075 × 200
volume. = 15
2 Substitute Q = 15 into the equation When Q = 15, t = −50 log e 15 
20
where t is the subject.
3 Evaluate t. t = −50 log e 0.75
= 14.384
4 Convert the answer to minutes and seconds. 14.384 min = 14 min and 23 s
5 State the answer. Therefore it takes approximately 14
minutes and 23 seconds for the ideal mix
of cleaning powder to be reached.
remember
remember
1. For problems where x is the amount of substance in a container at time t and
dx
 is the rate at which that amount is changing then:
dt
dx
 = IR − OR
dt
where IR = (inflow concentration) × (inflow volume rate)
and OR = (outflow concentration) × (outflow volume rate).
2. Use a diagram to help simplify the problem.
Chap 07 SM Page 317 Thursday, October 12, 2000 12:08 PM
WORKED 1 For each of the following give the volume, V(t) litres, in a container initially holding
Example
20a
100 litres, at any time t minutes.
a 5 L/min is added and 5 L/min is removed.
b 5 L/min is added and 4 L/min is removed.
c 3 L/min is added and 5 L/min is removed.
d 10 L/min is added and 5 L/min is removed.
e 8 L/min is added and 7 L/min is removed.
f 6 L/min is added and 9 L/min is removed.
WORKED 2 A tank is initially holding 60 litres of water when a salt solution of concentration
Example
20
2 g/L is added at a rate of 6 L/min. The mixture is kept uniform by stirring and is
run off at a rate of 5 L/min. If x is the mass of salt present at any time t, find:
a the volume V of the solution at any time t
b the input rate of salt
c the output rate of salt
d the differential equation describing the rate of change of salt in the tank.
3 a Copy and complete the table below, which describes various mixing situations
when a sugar solution is added to a tank initially holding 100 litres of water. Let
Q(t) be the amount of sugar present in the tank at any time t.
ii 0.4 8 8
iii 0.2 5 4
iv 0.3 4 2
v 0.4 5 6
vi 0.5 12 10
b In each case state the differential equation which describes the rate of change of
the amount of sugar, Q kg, in the tank at any time t minutes.
WORKED 4 A tank containing 800 litres of water has 40 kg of salt dissolved in it. Fresh water is
Example
21
pumped in at a rate of 5 litres per minute and the salt solution is pumped out at the
same rate as water is pumped in.
a Set up a differential equation for the quantity of salt present, x kg, at any time
t minutes.
b By solving the differential equation, find the amount of salt present after 30 minutes.
c How long does it take for the amount of salt to be halved?
Chap 07 SM Page 318 Thursday, October 12, 2000 12:08 PM
5 A tank containing 400 litres of water has 10 kg of salt dissolved in it. A salt solution
of concentration 0.2 kg/L is pumped in at a rate of 6 L/min while the solution is
allowed to run off at 6 L/min.
a Set up a differential equation for the amount of salt present, Q kg, at any time t.
b By solving the differential equation, find the amount of salt in the tank after
20 minutes.
c If the solution is saturated when the concentration reaches 0.15 kg/L, how long
does it take to reach saturation point?
6 A sugar solution of concentration 0.3 kg/L is added to a tank containing 100 litres of
fresh water at a rate of 4 L/min. The solution is run off at the same rate.
a Set up a differential equation for the amount of sugar present in the tank, x kg, at
any time t.
b Hence find how long it takes for the concentration of sugar in the tank to
reach 0.2 kg/L.
7 A large container of coffee holds 10 litres of boiling water in which coffee is dissolved
so that the concentration of the coffee is 40 g/L. If hot water is added at a rate of 0.5 L/
min while the coffee solution is run off at the same rate, find the concentration of coffee
in the container after 5 minutes. Assume the mixture remains uniform throughout.
8 On a particular day a small reservoir holds 10 000 litres of water with a chlorine con
centration of 0.05 g/L. It rains during the day, feeding the reservoir at a constant rate
of 500 L/h while water is run off at the same rate. The water is considered unfit for
consumption if the concentration of chlorine drops below 0.045 g/L.
Assuming the concentration of chlorine remains uniform throughout the reservoir, how long
will it be before more chlorine has to be added? (Give your answer to the nearest hour.)
9 A tank containing 600 litres of water has a sugar solution of concentration 0.1 kg/L
pumped in at a rate of 10 L/min. If the mixture is kept uniform and is pumped out at
a rate of 8 L/min, set up a differential equation for the amount of sugar, x kg, at any
time t. (Do not attempt to solve.)
10 A 500litre tank contains a salt solution of concentration 0.05 kg/L. A salt solution of
concentration 0.2 kg/L is added at a rate of 4 L/min while it is run off at a rate of 6 L/min.
Assuming that the mixture remains uniform, set up a differentiation equation giving
the amount of salt, Q kg, at any time t. (Do not attempt to solve.)
Chap 07 SM Page 319 Thursday, October 12, 2000 12:08 PM
Ideally, the point (x1, y1) will be very close to the y Gradient of tangent
actual point on the curve when x = x1. = f(x1, y1)
Similarly, the gradient of the tangent at the point (x1, y1) is
y2 = y1 + hf(x1, y1) (x2, y2)
This procedure can be repeated n times and the general (x0, y0) (x1, y1)
rule for Euler’s method is:
h
yn + 1 = yn + hf(xn, yn) n = 0, 1, 2, . . . 0 x0 x1 x2 x
xn + 1 = xn + h
where x0 , y0 are the initial values,
h is the step length,
n is the number of steps and
y′ = f(x, y)
In general the smaller the value of h (h → 0) , the greater the number of steps to the
solution and the more accurate the solution becomes.
WORKED Example 22
a Solve the differential equation y′ = 3x2, where y(1) = 1, and evaluate y(2).
b Use Euler’s method to approximate y(2) with:
i h = 0.5 and
ii h = 0.2.
Which value of h gives an approximation which is closest to the exact solution?
THINK WRITE
a 1 Express y in integral notation. a y = ∫ 3x2 dx
2 Antidifferentiate. = x3 + c
3 Substitute the initial condition x = 1 y(1) = 1
and y = 1 into the equation. 13 + c = 1
4 Solve for the constant, c. 1+c=1
c=0
5 State the solution. y = x3
6 Evaluate y(2). y(2) = 23
=8
b ii 1 Write down the rule for Euler’s b i yn + 1 = yn + h(3xn2)
method.
2 State the initial values, x0 , y0, and x0 = 1, y0 = 1 and h = 0.5
the step length, h.
3 Apply the rule for n = 0, 1, 2, . . . y1 = y0 + hf(3x02) x1 = x0 + h
until an approximate solution at = 1 + 0.5(3 × 12) = 1 + 0.5
x = 2 is obtained. = 1 + 1.5 = 1.5
= 2.5
y2 = y1 + h(3x12) x2 = x1+ h
= 2.5 + 0.5(3 × 1.52) = 1.5 + 0.5
= 2.5 + 3.375 =2
= 5.875
4 State the approximate value of Therefore the approximate value for
y(2) with h = 0.5. y(2) with h = 0.5 is 5.875.
Chap 07 SM Page 321 Thursday, October 12, 2000 12:08 PM
WORKED Example 23
Using Euler’s method with h = 0.5, calculate the approximate value of the solution of:
y′ = x + y, y(1) = 0
at x = 3.
THINK WRITE
1 Write down the rule for Euler’s method. yn + 1 = yn + h(xn + yn)
2 State the initial values, x0 , y0, and the x0 = 1, y0 = 0 and h = 0.5
step length, h.
Continued over page
Chap 07 SM Page 322 Thursday, October 12, 2000 12:08 PM
THINK WRITE
3 Apply the rule for n = 0, 1, 2, . . . until y1 = y0 + h(x0 + y0) x1 = x0 + h
an approximate solution at x = 3 is = 0 + 0.5(1 + 0) = 1 + 0.5
obtained. = 0 + 0.5 = 1.5
= 0.5
y2 = y1 + h(x1 + y1) x2 = x1 + h
= 0.5 + 0.5(1.5 + 0.5) = 1.5 + 0.5
= 0.5 + 1 =2
= 1.5
y3 = y2 + h(x2 + y2) x3 = x2 + h
= 1.5 + 0.5(2 + 1.5) = 2 + 0.5
= 1.5 + 1.75 = 2.5
= 3.25
y4 = y3 + h(x3 + y3) x4 = x3 + h
= 3.25 + 0.5(2.5 + 3.25) = 2.5 + 0.5
= 3.25 + 2.875 =3
= 6.125
4 State the approximate value of y(3). Therefore the approximate value of y(3) is
6.125.
Notes
1. For calculations involving inexact values (several decimal places) retain the decimal
places throughout the working, otherwise the accuracy will be affected.
2. Round off to a reasonable number of decimal places when the required solution is
found.
The screen below shows the Mathcad file ‘Euler’s method’ which is found on the
Maths Quest CDROM.
Chap 07 SM Page 323 Thursday, October 12, 2000 12:08 PM
Numerical solutions by
7H Euler’s method
WORKED 1 Solve each of the following differential equations and evaluate y(2) in each case.
Example
22a 1
a y′ = 2x, y(1) = 1 b y′ =  , y(1) = 0
x
x
c y′ = 
2
, y(1) = 3 d y′ = y + 1, y(1) = e − 1
x +8
WORKED 2 For the differential equations in question 1a and 1b use Euler’s method to approxi Math
Example
mate y(2) with i h = 0.5 and ii h = 0.2. Which value of h gives an approximation
cad
22b
closest to the exact solution? Euler’s
method
WORKED 3 Use Euler’s method with h = 0.5 to find the approximate value of the solution of each
Example
23 of the following differential equations at the given value.
a y′ = 2x + 1, y(0) = 0 at x = 2 b y′ = e2x, y(1) = 1 2
 e
2
at x = 3
x
c y′ = y, y(0) = 1 at x = 2 d y′ =  , y(1) = 1 at x = 4
y
x+y y
e y′ =  , y(2) = 1 at x = 4.5 f y′ =  , y(1) = 2 at x = 3.5
x y–x
4 Use Euler’s method with h = 0.1 to calculate the approximate solution to the
following at the given value.
a y′ = x2 + y2, y(2) = −1 at x = 2.3 b y′ = y2 − x, y(3) = 0 at x = 3.6
y–x y
c y′ =  , y(0) = 1 at x = 0.5 d y′ =  , y(1) = 2 at x = 1.4
x+y y–x
5 multiple choice
If 10 steps are required using Euler’s method to obtain an approximate solution to:
y′ = f(x, y), y(1) = 5
at x = 1.5, then h is equal to:
A 0.5 B 0.1 C 0.05 D 0.01 E 0.2
Chap 07 SM Page 324 Thursday, October 12, 2000 12:08 PM
6 multiple choice
The best approximation for the solution of:
y′ = x2 − y2, y(0) = 2
at x = 0.8 is obtained with a step length of:
A 0.8 B 0.2 C 0.4 D 0.01 E 0.1
7 multiple choice
Using a step length of 0.1, the approximate value of y(1.3), where y(x) is the solution to:
2 2
y′ = x + y , y(1) = 0
is:
A 0.2105 B 1.4768 C 0.5045 D 0.1 E −0.3792
8 Using a step length of 0.1 find an approximate value for y(1.5) if y(x) is the solution
to y′ = x sin y, y(1) = 0.5.
9 a Use Euler’s method and a computer package to obtain the graph of y(x) over the
domain [0, 4} if y(x) is the solution to the differential equation:
y
y′ =  , y(0) = 3
y–x
2
b Verify that y = x + x + 9 is the solution to the differential equation.
2
c Compare the graph of y = x + x + 9 , where x ∈ [0, 4], to the graph obtained in
part a.
10 Use Euler’s method and a computer package to sketch the graph of y(x) over the
domain [0,3] if y(x) is the solution to the differential equation:
y + xy
y′ =  , y(0) = 1
x+1
d
hca
Improved Euler’s method
Mat
Improved
Euler’s There is also an
method
improved Euler’s
method which
can be used to
obtain numerical
solutions.
Use the
Mathcad file
‘Improved
Euler’s method’
on the Maths
Quest CDROM
to compare the
solutions
obtained for
questions 1 and 2
of Exercise 7H.
Chap 07 SM Page 325 Thursday, October 12, 2000 12:08 PM
summary
Related rates
• Differential equations may be first or second order. First order differential equations
contain (at most) first derivatives. Second order differential equations contain (at
most) second derivatives and may also have first derivatives.
dy
• 1st derivatives are  , f ′(x) or y′.
dx
d2 y
• 2nd derivatives are 2 , f ′′(x) or y′′.
dx
• A rate of change is a derivative.
dy dy du dy du
• Chain rule:  =  ×  . This rule is often used when  is known and  is
dx du dx dx dx
dy
also known. This allows for  to be determined.
du
dx 1
• Reciprocal rule:  = 
dy 
dy
dx
• Increasing rates are positive.
• Decreasing rates are negative.
• Solid geometry formulas:
Total surface area of a cone = π r(s + r)
dA
Total surface area of a sphere A = 4π r 2, thus  = 8π r.
dr
1 dV dV
Volume of a cone =  π r 2 h ,  or  can be found.
3 dr dh
4 dV
Volume of a sphere =  π r 3 , thus  = 4 π r 2
3 dr
Verifying solutions
• When verifying a solution of a differential equation, show that the lefthand side of
the equation is equal to the righthand side.
dy
Solving differential equations of the type  = f ( x )
dx
dy
• If  = f ( x ) ,
dx
then y =
∫ f ( x ) dx + c
= F (x) + c where F(x) is the antiderivative of f (x) and c is a constant of
integration.
When initial conditions are given then c can be evaluated giving a particular
solution from the general solution.
Chap 07 SM Page 326 Thursday, October 12, 2000 12:08 PM
d2 y
Solving differential equations of the type 2 = f ( x )
2 dx
d y
• If 2 = f ( x ) ,
dx
∫
dy
then  = f ( x ) dx
dx
= F(x) + c, where F(x) is the antiderivative of f (x)
and y =
∫ [ F ( x ) + c ] dx
= G(x) + cx + d, where G(x) is the antiderivative of F(x). The values for both
c and d can be found provided initial conditions are given for
f ′(x) and f (x) respectively.
dy
Solving differential equations of the type  = g ( y )
dy
dx
• If  = g ( y ) ,
dx
dx 1
then  = 
dy g( y)
∫
1
and x =  dy + c .
g( y)
The equation can often be rearranged to make y the subject. The value for c can be
found from the initial conditions.
Setting up and solving differential equations
• If y ∝ x, then y = kx.
1 k
• If y ∝  , then y =  .
x x dy
• Differential equations of the form  = ky have solutions of the form
dx
y(x) = Aekx where y(0) = A and consequently the value of A gives the the initial value.
dT
• Newton’s Law of Cooling states that the rate of temperature change  of an
dt
object is proportional to the difference in temperature of the object T and its
dT
surroundings Ts. This can be expressed as  = k(T − Ts).
dt
Input/output of mixing problems dx
• For problems where x is the amount of substance in a container at time t and  is
dt
the rate at which that amount is changing then
dx
 = IR − OR
dt
where IR = (inflow concentration) × (inflow volume rate)
and OR = (outflow concentration) × (outflow volume rate).
• Use a diagram to help simplify the problem.
Numerical solutions by Euler’s method
The general rule for Euler’s method for finding an approximate solution to
y′ = f(x, y), y(x0) = y0
is: y = y + hf(x , y ) n = 0, 1, 2, . . .
n+1 n n n
xn + 1 = xn + h
where x0, y0 are the initial values,
h is the step length and
n is the number of steps.
Chap 07 SM Page 327 Thursday, October 12, 2000 12:08 PM
CHAPTER
review
Multiple choice
dV dr dV
1 If  = 2r and  = 5 , then when r = 4,  is equal to:
dr dt dt 7A
A 10r B 8 C 20 D 1.6 E 40
2 The sides of a square are increasing at a constant rate of 0.4 cm/min. At what rate is the area
increasing when the side length is 8 cm? 7A
A 0.1 cm2/min B 6.4 cm2/min C 10 cm2/min D 1.6 cm2/min E 25.6 cm2/min
3 A spherical balloon of radius r metres is leaking at a constant rate of 2 m3/h. If the balloon
retains its shape, the rate at which the radius is decreasing when the radius is 3 metres is 7A
equal to:
1 1 1
A  m/h B 36π m/h C  m/h D 72π m/h E –  m/h
18 π 36 π 6π
dy x
7 The general solution to  =  is:
dx 1 – x2 7C
−1 −1
A y = – 1 – x2 + c B y = Sin x + c C y = x Sin x + c
D y = 1 – x2 + c E y = –(1 – x 2 ) + c
2
8 If f ′(x) = 
 then f (x) is equal to:
2
x –1 7C
x+1
A log e  + c B log e (x2 − 1) + c C 2 log e (x2 − 1) + c
x – 1
E log e  + c
x–1
D 2 Tan−1 x + c x + 1
4
9 If g′(x) = 
 and g(0) = 3 then g(x) is equal to:
x +1
2
7C
A 4 log e (x2 + 1) + 3 B 4 Tan−1 x + 3 C 3 + 4 log e 2x
D 3+ 1

4
Tan−1 x E −1 + 4 Tan−1 x
Chap 07 SM Page 328 Thursday, October 12, 2000 12:08 PM
d2 y
10 A solution to 2 = ( x – 2 ) 2 could be:
7D dx
dP
13 Given that  = e –2P and P = 0 when n = 1, then the solution is:
7E dn
A P = 12 log e (2n − 1) B P = log e (2n − 1) C P = −log e (2n + 1)
D P= 1

2
log e (1 − 2n) E P = − 12 log e (2n − 1)
14 The rate of increase of the volume of a container is inversely proportional to the square of
7E the volume, V, of the container at any time, t. The differential equation which describes this
situation (where k is a constant) is:
dV dV k dV dV k dV k
A  = kV 2 B  = 2 C  = k V D  =  E  = 
dt dt V dt dt V dt V
15 The rate of increase in a town’s population varies directly with the population, P, at any
7E time, t. The differential equation for this situation (where k is a constant) is:
dP k dP P dP dP dt
A  =  B  =  C  = kP 2 D  = kP E  = kP
dt P dt k dt dt dP
The following information applies to questions 16 to 18.
An object whose temperature is 50°C is placed in a room of constant temperature 12°C.
Newton’s Law of Cooling applies and the object cools to 30°C in 20 minutes.
16 The differential equation which describes this situation is:
7F dT dT dT
A  = T – 12 B  = k ( T – 30 ) C  = k ( T – 12 )
dt dt dt
dT dT
D  = 50k ( T – 12 ) E  = 12 ( T – 50 )
dt dt
17 The time, t, expressed as a function of the temperature, T, is approximately:
7F T + 30 T + 12
A t = 26.77 log e  B t = 0.0374 log e  C t = −0.0374 log e 
T – 12
38 20 38
8 The number of ants in a colony is increasing at a rate proportional to the number present on
7F any day. If the number of ants increases by 50% in 100 days, how much longer will it be
until the population is double the initial number? (Answer to the nearest day.)
9 A sugar mixture of concentration 1.4 kg/L is added to a 120litre tank of water at a constant
7G rate of 3 L/min. At the same time the solution is pumped out at 3 L/min while the mixture is
kept uniform. How long does it take for the concentration of sugar in the tank to reach 1 kg/L?
10 Find the approximate value of y(2.8) if y(x) is the solution to
7H y
y′ =  , y(2) = 3
x
using Euler’s method with h = 0.2
Analysis
1 The number of icecreams sold per day (N) at a beachside kiosk varies with the number of
degrees Celsius (T) that the daily maximum temperature is above 15°C:
dN – 3
 = 64 420.4N 2 , T ≥ 0
dT
If no icecreams are sold when the daily maximum is 15°C:
a express N as a function of T
b find the number of icecreams sold when the maximum teperature is 30°C
c find the maximum temperature if 280 icecreams are sold one day
d on a particular day the kiosk can make only 440 icecreams. What is the maximum
temperature at which the kiosk will not sell out of icecreams?
2 A sailor, whose core body temperature is 37°C, falls from a ship into icy waters of
temperature 1°C. The temperature of the sailor drops to 36°C in 5 minutes and he will not
survive if his temperature drops below 35°C.
a Assuming Newton’s Law of Cooling is applicable, for how long can the sailor survive in
the water after he first falls in?
Two minutes after the sailor falls in, the ship is 200 metres away and a rescue boat is
despatched. Due to the seas and visibility the boat travels to the sailor according to the
dx 5
differential equation  =  , where x is the distance travelled by the boat towards the
dt t+1
sailor in metres and t is the time in seconds.
b Express x as a function of t.
c How long has the sailor been in the water when the rescue boat arrives?
d Hence decide whether the sailor is still alive or not.
3 The rate at which a particular drug is absorbed by the body is proportional to the amount of
the drug present (D) at any time t.
If 50 mL is initially administered to a patient and 50% remains after 4 hours, find:
a D as a function of t
b the amount present after 6 hours.
It is dangerous for the patient if the level of the drug in the body is below 10 mL.
c How long is it, after the initial dose was given, until another dose is required?
test
yyourself
ourself d If the patient is given a second dose of 50 mL at this time, how long will it take for the
CHAPTER
danger level to be reached again? (Assume that the second dose is absorbed separately but
7 at the same rate as the first dose, and the amount present is the sum of the two doses).