Newton's law of cooling, which is equally applicable to heating, states that the time rate of change of the temperature of a body is proportional to the temperature difference between the body and its surrounding medium. Let T denote the temperature of the body and Tm denote the temperature of the surrounding medium. Then, the time rate of change of the temperature of the body is dtdT, and Newton's law of cooling can be formulated as dtdT=−k(T−Tm), or as dtdT+kT=kTm, where k is a positive constant of proportionality. Once k is chosen positive, the minus sign is required in Newton's law to make dtdT negative in a cooling process, when T is greater than Tm, and to make it positive in a heating process, when T is smaller than Tm.
Example 1. A body at an unknown temperature is placed in a room which is held at a constant temperature of 30° F. If after 10 minutes the temperature of the body is 0° F and after 20 minutes the temperature of the body is 15° F, find the unknown initial temperature.
We have that Tm=30; so, the differential equation is dtdT+kT=30k. This is a first-order linear differential equation. The integrating factor is I=e∫kdt=ekt. After multiplying the equation by the integrating factor, we obtain that ektdtdT+kTekt=30kekt, or dtd(Tekt)=30kekt.
Integrating both sides gives Tekt=30ekt+C, or T=Ce−kt+30.
We are given that T(10)=0, or 0=Ce−10k+30. Also, T(20)=15, or 15=Ce−20t+30.
Thus, we have a system of two equations:
{Ce−10k=−30Ce−20k=−15
Dividing the first equation by the second gives e10k=2. Now, from the first equation, we have that C=−30e10k=−30⋅2=−60.
Finally, T0=T(0)=Ce−k⋅0+30=C+30=−60+30=−30.
Let's take a look at another interesting example.
Example 2. A body at a temperature of 50° F is placed in an oven whose temperature is kept at 150° F. If after 10 minutes the temperature of the body is 75° F, find the time required for the body to reach a temperature of 100° F.
We have that T(0)=50, T(10)=75, Tm=150.
So, the differential equation is dtdT+kT=150k. Again, as in example 1, this is a linear first-order differential equation. Its solution is T=Ce−kt+150.
Since T(0)=50, we have that 50=Ce−k⋅0+150, or C=−100.
Now, the equation has the form T=−100e−kt+150.
Since T(10)=75, we have that 75=−100e−10k+150, or k=−10ln(0.75).
Finally, the equation has the following form: T=−100e10ln(0.75)t+150.
Now, we need to find such t that T(t)=100:
100=−100e10ln(0.75)t+150, or t=10ln(0.75)ln(0.5)≈24.0942 minutes.