Step by step
The question
Question: find the time t when T = 30, if dT/dt = −0.25(T − 20) and T(0) = 100.
1 Read the equation
T is the temperature, t is the time, and 20 is the room temperature.
The bigger the gap T − 20, the faster it cools.
2 Separate and integrate
This is a separable equation.
Divide by T − 20, times dt.
Integrate both sides, as in the separable lesson.
Use e on both sides.
e^C is just a number: call it A.
Add 20 to both sides.
3 Use the starting value
Put in t = 0 and T = 100.
e⁰ = 1.
So A = 80: the gap at the start.
The formula: T = 20 + 80e^(−0.25t).
Careful!
Don't forget the room temperature.
Only the gap, 80, shrinks; T gets close to 20, not to 0.
4 Answer the question
Put in T = 30.
Now t is the unknown.
Take away 20 from both sides.
Divide both sides by 80.
Take ln of both sides.
Divide.
So t ≈ 8.32.
5 Check
Let's check.
At t = 0: 100, the start.
Right!
Put t ≈ 8.32 back in: about 29.99.
Right!
Let's look back.
First: read the equation.
Then: separate and integrate.
Then: use the starting value.
Then: answer the question.
Last: check.