Example — Cooling of coffee (Newton's law)

A cup of coffee at temperature TT cools in an environment at TambT_{\text{amb}}: dTdt=k(TTamb),k>0.\frac{dT}{dt} = -k\bigl(T - T_{\text{amb}}\bigr), \qquad k>0. We separate: dTTTamb=kdt\dfrac{dT}{T-T_{\text{amb}}} = -k\,dt. Integrating: lnTTamb=kt+C\ln|T-T_{\text{amb}}| = -kt+C, hence: T(t)=Tamb+(T0Tamb)ekt\boxed{T(t) = T_{\text{amb}} + (T_0 - T_{\text{amb}})\,e^{-kt}}

The temperature decreases exponentially towards TambT_{\text{amb}}, at a rate proportional to the current difference between the temperature of the body and that of the environment.

Topics: Differential equations
Concepts: Decay · Newton’s law of cooling · Separable variables
Functions: Exponential function
Skills: Integrating · Modelling
People: Isaac Newton