Math Bytes · Differential equations · Episode 2 · First-order equations
Newton's law of cooling
Newton's law of cooling says an object cools at a rate proportional to its gap from room temperature, dT/dt = −k(T − Tᵣ). Solving this separable equation shows the gap shrinks by the same fraction in equal times. Tea at 84°C in a 20°C room has a gap of 64; if the gap halves every 5 minutes, it is 16 after 10 minutes, so the tea is 36°C.
The law
Let T be the temperature of a cup of tea (or anything warm) at time t, and Tᵣ the room temperature. Newton's law of cooling says:
dT/dt = −k(T − Tᵣ), with k > 0
T − Tᵣis the gap between the object and the room.- The bigger the gap, the faster the temperature falls. As the object nears room temperature, the cooling slows down and the curve flattens toward the room line.
- The minus sign means a hot object cools (and a cold one warms up toward the room).
Separate and solve
This is a separable equation, like the one in the last lesson. Put every T on one side and every t on the other:
dT/(T − Tᵣ) = −k dt
Integrate both sides: ln|T − Tᵣ| = −kt + C. Solving for T gives
T = Tᵣ + (T₀ − Tᵣ)e^(−kt)
where T₀ is the starting temperature. The gap T − Tᵣ is multiplied by the same factor e^(−k) every minute, so in any fixed stretch of time it shrinks by the same fraction. That's why we can talk about the gap "halving every 5 minutes".
Worked example: a cup of tea
Tea starts at 84°C in a 20°C room, and the gap halves every 5 minutes.
- Starting gap:
84 − 20 = 64. - After 5 minutes: the gap halves to
32. - After 10 minutes: it halves again to
16. - Add the room back:
20 + 16 = 36°C.
(Halving every 5 minutes means k = ln 2 ÷ 5 per minute, about 0.139.)
Running it backward
Detectives use the same idea in reverse: measure a body's temperature, compare it with the room and the normal body temperature, and work back to how long it has been cooling. Real forensic estimates adjust for body size, clothing and an early plateau before cooling starts, so they give a time range, not an exact time.
Try it yourself
- Soup at
90°Csits in a20°Croom, and the gap halves every4minutes. What is its temperature after8minutes? - Coffee at
70°Csits in a22°Croom, and the gap halves every6minutes. What is its temperature after12minutes?
(Answers: 1. Gap 70 → 35 → 17.5, so 20 + 17.5 = 37.5°C. 2. Gap 48 → 24 → 12, so 22 + 12 = 34°C.)
Good to know
- The law works best when the room temperature stays fixed and the object's temperature is fairly even throughout.
- Real drinks also lose heat by evaporation, so the tea numbers are an idealized example.
- The same equation also describes a cold drink warming up toward room temperature: the gap is negative and shrinks the same way.
- The solution never quite reaches room temperature; the gap just keeps getting smaller.
Answer to the comment question
A pie at 180°C, a 20°C kitchen, and the gap halves every 10 minutes. What's its temperature after 30 minutes? 40°C. The starting gap is 180 − 20 = 160. It halves three times in 30 minutes: 160 → 80 → 40 → 20. Add the kitchen back: 20 + 20 = 40°C.
Test your knowledge
Quick quiz: Newton's law of cooling
4 multiple-choice questions. Pick one answer for each, then check how you did.
Sources
- OpenStax, "Calculus Volume 2, 4.3 Separable Equations": Newton's law of cooling, solved by separating the variables
- MIT OpenCourseWare, "18.03 Differential Equations (Spring 2010)": lecture notes
Video transcript
How can a detective work out when someone died?
Hot things cool faster the hotter they are than the room. That's Newton's law of cooling: d T d t equals negative k times T minus the room temperature.
Separate and solve, and the gap to room temperature shrinks by the same fraction every few minutes.
Tea at eighty-four degrees Celsius in a twenty-degree room: a gap of sixty-four. If it halves every five minutes, after ten the gap is sixteen, so the tea is thirty-six degrees.
Detectives run it backward, from body temperature to time.
Your turn. A pie at one hundred eighty degrees, a twenty-degree kitchen, and the gap halves every ten minutes. What's its temperature after thirty minutes? Comment your answer below!
That's your byte.