1 Modelling with first-order equations
1.1 Applying Newton’s law of cooling
In Section 19.1 we introduced Newton’s law of cooling. The model equation is
where is the temperature of the cooling object at time , the temperature of the environment (assumed constant) and is a thermal constant related to the object, is the initial temperature of the liquid.
Task!
Solve this initial value problem:
at
Separate the variables to obtain an equation connecting two integrals:
Now integrate both sides of this equation:
where is constant Apply the initial condition and take exponentials to obtain a formula for :
Hence so that
Thus, rearranging and inverting, we find:
giving
The graph of against for is shown in Figure 4 below.
Figure 4
We see that as time increases ( ), then the temperature of the object cools down to that of the environment, that is: .
We could have solved (5) by the integrating factor method, which you are now asked to do.
Task!
We can write the equation for Newton’s law of cooling (5) as
(6)
State the integrating factor for this equation:
is the integrating factor.
Multiplying (6) by this factor we find that
Now integrate this equation and apply the initial condition:
Integration produces , where is an arbitrary constant. Then, applying the initial condition: when so that gives the same result as before:
1.2 Modelling electrical circuits
Another application of first-order differential equations arises in the modelling of electrical circuits.
In Section 19.1 the differential equation for the RL circuit in Figure 5 below was shown to be
in which the initial condition is at .
Figure 5
First we write this equation in standard form { } and obtain the integrating factor.
Dividing the differential equation through by gives
which is now in standard form. The integrating factor is
Multiplying the equation in standard form by the integrating factor gives
or, rearranging,
Now we integrate both sides and apply the initial condition to obtain the solution.
Integrating the differential equation gives:
where is a constant so
Applying the initial condition when gives
so that .
Finally, .
Note that as so as increases the effect of the inductor diminishes to zero.
Task!
A spherical pill with volume and surface area is swallowed and slowly dissolves in the stomach, releasing an active component. In one model it is assumed that the capsule dissolves in the stomach acids such that the rate of change in volume, , is directly proportional to the pill’s surface area.
- Show that where is a positive real constant and solve this given that at .
- Experimental measurements indicate that for a 4 mm pill, half of the volume has dissolved after 3 hours. Find the rate constant ( ).
- Estimate the time required for 95% of the pill to dissolve.
-
First write down the formulae for volume of a sphere (
) and surface area of a sphere
and so express
in terms of
by eliminating
:
From the equation so for constant .
Now write down the differential equation modelling the solution:
(negative to represent a decrease with time)
Using the condition when , solve the differential equation:
Solving by separation of variables gives
and setting when means
so and the solution is
-
Impose the condition that half the volume has dissolved after 3 hours to find
:
and when , so
and so
-
First write down the solution to the differential equation inserting the value of
obtained in (b) and then use it to estimate the time to 95% dissolving:
i.e.
When 95% dissolved so
so
so
hr min