← MATH 347 MathScape 0 MATH347

Applications of Separable Differential Equations

13 min read

Jump to a section

Quick Reference

Field Value
Textbook Logan, A First Course in Differential Equations, 3rd ed.
Chapter.Section.Subsection 1.3.2 Heat Transfer and 1.3.3 Chemical Reactors
Pages pp. 31-35
Course MATH347
Solution engine Separation of variables (technique of 1.3.1)

The two model families on this page (a cooling body and a well-stirred tank) are the standard physical payoffs of the separation technique. Use this block to point a lecture or a review session at the exact pages where each rate law is derived.


Before You Start: Prerequisite Check

đź“‹ Can you do these? (Click to reveal self-test)

Test yourself on these prerequisite skills:

  1. Separate and solve: Solve $\dfrac{dy}{dt} = -2y$ with $y(0) = 5$.

    Check

    Separating gives $\dfrac{dy}{y} = -2\,dt$, so $\ln|y| = -2t + C$ and $y = 5e^{-2t}$.

  2. Read a rate law: A quantity changes so that its rate of change is proportional to the quantity itself, with proportionality constant $-0.1$. Write the differential equation.

    Check

    $\dfrac{dQ}{dt} = -0.1\,Q$.

  3. Steady state: For $\dfrac{dT}{dt} = -k(T - 70)$ with $k > 0$, what value does $T$ approach as $t$ grows large?

    Check

    $T \to 70$. The right side is zero only when $T = 70$, and any other value drives $T$ back toward $70$.

If you struggled:


Try This First

A cup of coffee sits at $190°\text{F}$ in a $70°\text{F}$ room. One minute later it reads $180°\text{F}$.

Before any formula, sketch what the temperature does over the next hour. Predict three things on your sketch:

Hold your three predictions. By the end of this page you will have a single separable equation that produces all three answers, and you can check each one.

The Quantity That Is Changing

In every application here, the changing output is an amount: a temperature, or the quantity of a dissolved substance in a tank. The input is time. The whole modeling move is to describe, in plain words, how fast that amount changes, then write that sentence as a derivative.

For the coffee: the hotter the coffee is relative to the room, the faster it loses heat. As the gap between coffee and room shrinks, the cooling slows. The rate of change of temperature depends on the difference between the body and its surroundings, not on the temperature alone. That single sentence is the entire model, and it is separable.

Prerequisite Hub

Builds on

Skill Why it is needed
separable-de The separation-of-variables technique is the engine that solves every model on this page
de-modeling Translating a physical scenario (rate in minus rate out, or heat loss) into a rate law
math347-w0-exponential-growth-decay Cooling and decay produce the same exponential solution family

Cross-course prerequisites

Skill Course
exponential-growth-decay-model MATH162
newtons-law-cooling MATH162
rates-of-change-interpretation MATH161

Unlocks

No downstream nodes are registered for this skill yet. It is an applied capstone for the separable-equations strand.


Official Definitions

Heat transfer as a separable model

Heat transfer (Newton’s law of cooling) as a separable model. The temperature of a body in an environment at temperature $T_e$ obeys a rate law in which the rate of change of temperature is proportional to the difference between the body temperature and the environment temperature; this gives a separable first-order equation solved by separation of variables.

Logan, 3rd ed., §1.3.2 Heat Transfer, p.31

In symbols, with body temperature $T(t)$ and constant environment temperature $T_e$,

$$\frac{dT}{dt} = -k\,(T - T_e), \qquad k > 0.$$

The constant $k$ carries units of inverse time and measures how quickly the body exchanges heat with its surroundings. The minus sign records that a body hotter than its environment ($T > T_e$) cools.

Chemical reactor / mixing as a separable model

Chemical reactor / mixing model as a separable model. A well-stirred reactor or mixing tank, where rate-in minus rate-out governs the amount of a substance, leads to a first-order equation that is separable (or linear); the separation technique of 1.3.1 is the engine that solves it.

Logan, 3rd ed., §1.3.3 Chemical Reactors, p.32

For a tank holding a fixed volume $V$ of well-stirred liquid, with $Q(t)$ the amount of dissolved substance, the balance “rate in minus rate out” reads

$$\frac{dQ}{dt} = (\text{rate in}) - (\text{rate out}).$$

When the inflow carries no solute and the tank is well stirred, the outflow rate is proportional to the current concentration $Q/V$, which makes the equation separable.

The Cooling Model

Setting up the rate law

Start from the plain-language sentence: the rate of change of temperature is proportional to how far the body is above (or below) the room. Writing that as a derivative gives the official equation,

$$\frac{dT}{dt} = -k\,(T - T_e).$$

Predict before solving. When $T$ is much larger than $T_e$, the factor $(T - T_e)$ is large, so $\dfrac{dT}{dt}$ is large and negative: fast cooling. As $T$ falls toward $T_e$, the factor shrinks toward zero, so the cooling slows. This already matches the “fast at the start, then slow” prediction from the opener.

Solving by separation

Separate the variables, putting all of $T$ on one side and $t$ on the other:

$$\frac{dT}{T - T_e} = -k\,dt.$$

Integrate both sides. The left side is a logarithm because the numerator is the derivative of the denominator:

$$\ln|T - T_e| = -kt + C.$$

Exponentiate and absorb the sign into a single constant $A$:

$$T - T_e = A e^{-kt} \quad\Longrightarrow\quad \boxed{\,T(t) = T_e + A e^{-kt}\,}.$$

At $t = 0$ this gives $A = T(0) - T_e$, the initial gap between the body and its environment.

Worked Example 1: the cooling coffee

A cup of coffee starts at $190°\text{F}$ in a $70°\text{F}$ room. After $1$ minute it is $180°\text{F}$. Find the temperature as a function of time and the temperature after $10$ minutes.

Predict first. The first minute dropped the temperature by $10°\text{F}$ out of an initial $120°\text{F}$ gap. That is a little under one tenth of the gap, so $k$ should be small, near $0.09$. The coffee should still be well above room temperature at $10$ minutes.

Step 1: write the solution form. Here $T_e = 70$ and $A = T(0) - T_e = 190 - 70 = 120$, so

$$T(t) = 70 + 120\,e^{-kt}.$$

Step 2: use the one-minute reading to find $k$. Set $T(1) = 180$:

$$180 = 70 + 120\,e^{-k} \quad\Longrightarrow\quad 120\,e^{-k} = 110 \quad\Longrightarrow\quad e^{-k} = \frac{110}{120} = \frac{11}{12}.$$

Taking logarithms,

$$k = -\ln\!\left(\frac{11}{12}\right) = \ln\!\left(\frac{12}{11}\right) \approx 0.0870 \ \text{min}^{-1}.$$

This matches the prediction of a small $k$ near $0.09$.

Step 3: evaluate at $t = 10$. Using $e^{-10k} = (e^{-k})^{10} = \left(\tfrac{11}{12}\right)^{10}$,

$$\left(\frac{11}{12}\right)^{10} \approx 0.4189,$$ $$T(10) = 70 + 120(0.4189) \approx 70 + 50.3 = 120.3°\text{F}.$$

Check the prediction. The coffee is still well above the $70°\text{F}$ room after $10$ minutes, as expected. The curve never reaches $70$ exactly: $120\,e^{-kt}$ is positive for every finite $t$, so $T(t) > 70$ always, and $T \to 70$ only in the limit. That answers the second opener prediction.

Worked Example 2: time of death (a reversed question)

A body is found at $85°\text{F}$ in a room held at $68°\text{F}$. Two hours later the body has cooled to $78°\text{F}$. Assuming the body was at the normal living temperature $98.6°\text{F}$ at the moment of death, estimate how long before discovery death occurred.

Predict first. The body has already lost most of the way from $98.6$ down toward $68$. Cooling is slow once the gap is small, so reaching $85°\text{F}$ from $98.6°\text{F}$ should take a couple of hours, not minutes.

Step 1: solution form. With $T_e = 68$, write $T(t) = 68 + A e^{-kt}$, measuring $t$ from the moment of discovery. At discovery, $T(0) = 85$, so $A = 85 - 68 = 17$ and

$$T(t) = 68 + 17\,e^{-kt}.$$

Step 2: find $k$ from the two-hour reading. Set $T(2) = 78$:

$$78 = 68 + 17\,e^{-2k} \quad\Longrightarrow\quad e^{-2k} = \frac{10}{17}, \qquad k = -\tfrac{1}{2}\ln\!\left(\tfrac{10}{17}\right) \approx 0.2653 \ \text{hr}^{-1}.$$

Step 3: solve backward for the moment of death. Death is the time $t^\ast$ (which will be negative, before discovery) when $T = 98.6$:

$$98.6 = 68 + 17\,e^{-k t^\ast} \quad\Longrightarrow\quad e^{-k t^\ast} = \frac{30.6}{17} \approx 1.800.$$

Then

$$-k t^\ast = \ln(1.800) \approx 0.5878 \quad\Longrightarrow\quad t^\ast = -\frac{0.5878}{0.2653} \approx -2.22 \ \text{hr}.$$

Check the prediction. Death occurred about $2.2$ hours before discovery. The value $t^\ast$ is negative, which correctly places death before the observation window, and the magnitude is the “couple of hours” the prediction anticipated.

The Mixing-Tank Model

Setting up the balance

A tank holds $V = 200$ gallons of well-stirred brine. Pure water (no salt) flows in at $4$ gallons per minute, and the mixture flows out at the same $4$ gallons per minute, so the volume stays constant. Let $Q(t)$ be the pounds of salt in the tank.

Rate in. The inflow carries no salt, so the rate in is $0$.

Rate out. The tank is well stirred, so the concentration leaving equals the tank concentration $\dfrac{Q}{V} = \dfrac{Q}{200}$ pounds per gallon. The outflow is $4$ gallons per minute, so

$$\text{rate out} = 4 \cdot \frac{Q}{200} = \frac{Q}{50} \ \text{lb/min}.$$

The balance “rate in minus rate out” gives the separable equation

$$\frac{dQ}{dt} = 0 - \frac{Q}{50} = -\frac{Q}{50}.$$

Worked Example 3: washing out a tank

The tank above starts with $Q(0) = 60$ pounds of salt. Find $Q(t)$ and the amount of salt after $30$ minutes.

Predict first. With pure water entering, the tank can only lose salt. The amount should decay, never rise, and approach zero. After $30$ minutes (slightly more than half of the $50$-minute time constant) somewhat more than half of the salt should be gone.

Step 1: separate and integrate.

$$\frac{dQ}{Q} = -\frac{1}{50}\,dt \quad\Longrightarrow\quad \ln|Q| = -\frac{t}{50} + C \quad\Longrightarrow\quad Q(t) = Q_0\,e^{-t/50}.$$

Step 2: apply the initial amount. With $Q_0 = 60$,

$$Q(t) = 60\,e^{-t/50}.$$

Step 3: evaluate at $t = 30$.

$$Q(30) = 60\,e^{-30/50} = 60\,e^{-0.6} \approx 60(0.5488) \approx 32.9 \ \text{lb}.$$

Check the prediction. A little over half the salt remains after $30$ minutes, the amount only decreases, and $Q \to 0$ as $t$ grows, since the inflow brings in no salt. All three match the prediction.

Worked Example 4: a tank that fills toward a steady concentration

Now let the inflow carry salt. A tank holds $V = 100$ gallons of pure water. Brine with concentration $0.5$ pounds of salt per gallon flows in at $5$ gallons per minute, and the well-stirred mixture flows out at $5$ gallons per minute. Find $Q(t)$.

Predict first. Salt now enters faster than the dilute tank can release it, so $Q$ should rise. As the tank concentration climbs toward the inflow concentration $0.5$ lb/gal, the net gain slows, and $Q$ should level off near $0.5 \times 100 = 50$ pounds.

Step 1: build the balance. Rate in is $0.5 \cdot 5 = 2.5$ lb/min. Rate out is $5 \cdot \dfrac{Q}{100} = \dfrac{Q}{20}$ lb/min, so

$$\frac{dQ}{dt} = 2.5 - \frac{Q}{20} = -\frac{1}{20}\bigl(Q - 50\bigr).$$

Step 2: separate and integrate. The factor $(Q - 50)$ plays the same role the temperature gap played in cooling:

$$\frac{dQ}{Q - 50} = -\frac{1}{20}\,dt \quad\Longrightarrow\quad \ln|Q - 50| = -\frac{t}{20} + C \quad\Longrightarrow\quad Q(t) = 50 + A\,e^{-t/20}.$$

Step 3: apply the initial condition. With $Q(0) = 0$ (pure water), $A = 0 - 50 = -50$, so

$$Q(t) = 50 - 50\,e^{-t/20} = 50\bigl(1 - e^{-t/20}\bigr).$$

Check the prediction. The amount starts at $0$, rises, and approaches $50$ pounds as $t$ grows, exactly the steady amount predicted. The same separable structure that cooled the coffee toward room temperature now fills the tank toward its steady salt level.

One Structure, Two Faces

Notice that Worked Examples 1, 2, and 4 all produced the same shape,

$$y(t) = (\text{steady value}) + (\text{initial gap})\,e^{-kt}.$$

One way to see why: in each case the rate law had the form $\dfrac{dy}{dt} = -k(y - y_\infty)$, where $y_\infty$ is the value that makes the right side zero. Another way to see it: the quantity $u = y - y_\infty$ measures the gap from steady state, and $u$ satisfies pure exponential decay $\dfrac{du}{dt} = -ku$. Which view do you prefer, and why? A reader who likes algebra may favor the substitution $u = y - y_\infty$; a reader who thinks in pictures may prefer watching the gap shrink.


Common Misconceptions

Common misconception

the cooling rate is a single fixed number. A reader sometimes treats “cools $10$ degrees in the first minute” as a constant cooling speed and predicts $10$ degrees lost every minute. The rate is not fixed: it is proportional to the gap $T - T_e$, which shrinks over time. In Worked Example 1 the first minute lost $10°\text{F}$, but the tenth minute loses far less, because by then the gap has shrunk. The rate is a varying quantity, not a number.

Common misconception

the body reaches the environment temperature in finite time. The solution $T(t) = T_e + A e^{-kt}$ has $A e^{-kt} > 0$ for every finite $t$ when $A > 0$, so $T$ stays strictly above $T_e$ forever and only approaches $T_e$ as a limit. Reading the graph as if it “lands on” the room temperature confuses the limiting value with an achieved value.

Common misconception

the salt amount and the salt concentration are the same input to the rate law. The outflow removes salt at a rate set by the concentration $Q/V$, not by the raw amount $Q$ alone. Forgetting to divide by the volume $V$ produces the wrong constant. In Worked Example 3 the rate out is $4 \cdot \dfrac{Q}{200}$, not $4Q$. Track which quantity the physical process actually responds to.

Practice Problems

Level 1 Reading a Cooling Rate Law

A potato at $200°\text{F}$ is set on a counter in a $70°\text{F}$ kitchen. Write the differential equation for the potato temperature $T(t)$ using a cooling constant $k$, and state the value $T$ approaches as $t$ grows large.

Thought Process

The rate of change is proportional to the gap between the body and the room, with a minus sign because the body is hotter than the room and so cools. The steady value is the temperature that makes the right side zero.

Show Answer

$$\frac{dT}{dt} = -k\,(T - 70).$$

As $t \to \infty$, $T \to 70°\text{F}$, the kitchen temperature, because that is the only value making the right side zero.

Level 2 Solving a Cooling Model

A metal bar at $300°\text{F}$ is placed in a $100°\text{F}$ furnace room. The cooling constant is $k = 0.05 \ \text{min}^{-1}$. Find $T(t)$ and the temperature after $20$ minutes.

Thought Process

Use the solution form $T(t) = T_e + A e^{-kt}$. Here $T_e = 100$ and the initial gap is $A = 300 - 100 = 200$. Then evaluate at $t = 20$ using $e^{-0.05 \cdot 20} = e^{-1}$.

Show Answer

$$T(t) = 100 + 200\,e^{-0.05 t}.$$

At $t = 20$, $e^{-0.05 \cdot 20} = e^{-1} \approx 0.3679$, so

$$T(20) = 100 + 200(0.3679) \approx 100 + 73.6 = 173.6°\text{F}.$$

Level 3 Washing Out a Tank

A tank holds $500$ gallons of brine containing $100$ pounds of salt. Pure water flows in at $10$ gallons per minute, and the well-stirred mixture flows out at $10$ gallons per minute. Find $Q(t)$ and the amount of salt after $50$ minutes.

Thought Process

The volume stays constant at $500$ gallons. Rate in is $0$ since the inflow is pure water. Rate out is $10 \cdot \dfrac{Q}{500} = \dfrac{Q}{50}$. The equation is pure decay.

Show Answer

$$\frac{dQ}{dt} = -\frac{Q}{50}, \qquad Q(t) = 100\,e^{-t/50}.$$

At $t = 50$,

$$Q(50) = 100\,e^{-1} \approx 36.8 \ \text{lb}.$$

Level 4 Tank Filling Toward a Steady Concentration

A tank holds $400$ gallons of pure water. Brine with concentration $0.25$ pounds of salt per gallon enters at $8$ gallons per minute, and the well-stirred mixture leaves at $8$ gallons per minute. Find $Q(t)$ and the steady amount of salt the tank approaches.

Thought Process

Rate in is $0.25 \cdot 8 = 2$ lb/min. Rate out is $8 \cdot \dfrac{Q}{400} = \dfrac{Q}{50}$. Write the right side as $-\dfrac{1}{50}(Q - Q_\infty)$ where $Q_\infty$ makes the right side zero, then solve with $Q(0) = 0$.

Show Answer

The balance is

$$\frac{dQ}{dt} = 2 - \frac{Q}{50} = -\frac{1}{50}(Q - 100).$$

The steady amount is $Q_\infty = 100$ pounds (which also equals $0.25 \times 400$, the inflow concentration times the volume). With $Q(0) = 0$,

$$Q(t) = 100 - 100\,e^{-t/50} = 100\bigl(1 - e^{-t/50}\bigr).$$

As $t \to \infty$, $Q \to 100$ pounds.

Level 5 Recovering an Unknown Constant From Two Readings

A thermometer is taken from a $72°\text{F}$ room to the outdoors, where the temperature is $20°\text{F}$. After $1$ minute the thermometer reads $48°\text{F}$, and after $2$ minutes it reads $36°\text{F}$. Show whether the two readings are consistent with a single cooling constant $k$, and find $k$.

Thought Process

Use $T(t) = 20 + A e^{-kt}$ with $A = 72 - 20 = 52$. Each reading gives an equation for $e^{-k}$. If the model is consistent, the ratio of successive gaps should be constant, because $\dfrac{T(t+1) - 20}{T(t) - 20} = e^{-k}$ for every $t$. Compute the gap at $0$, $1$, and $2$ minutes and compare the two ratios.

Show Answer

The gaps above the outdoor temperature are:

$t$ (min) $T(t)$ Gap $T(t) - 20$
$0$ $72$ $52$
$1$ $48$ $28$
$2$ $36$ $16$

For the model $T(t) = 20 + 52\,e^{-kt}$, each minute multiplies the gap by the same factor $e^{-k}$. Check the two successive ratios:

$$\frac{28}{52} \approx 0.5385, \qquad \frac{16}{28} \approx 0.5714.$$

These are close but not identical, so the data are approximately consistent with a single constant rather than exactly consistent (real readings carry measurement error). Using the first interval,

$$e^{-k} = \frac{28}{52} = \frac{7}{13} \quad\Longrightarrow\quad k = \ln\!\left(\frac{13}{7}\right) \approx 0.619 \ \text{min}^{-1}.$$

A reader who instead fits the second interval gets $k = \ln(28/16) \approx 0.560 \ \text{min}^{-1}$. Reporting both, or their average near $0.59 \ \text{min}^{-1}$, is an honest answer that names the slight inconsistency rather than hiding it.


Mastery Checklist

Novice (Level 1-2):

Competent (Level 3-4):

Proficient (Level 5):

Mental Model

The shrinking gap. In every model on this page, one quantity measures a gap from steady state: the temperature above the room, or the salt amount away from its steady level. That gap decays exponentially. The full quantity is the steady value plus the decaying gap. Once you see the gap, every problem here is the same problem wearing a different coat.


Connections

Looking back:

Cross-course connections:

Real-world connections:


Resources

Resource Reference
Logan 3rd ed. §1.3.2-1.3.3 Heat Transfer and Chemical Reactors (pp.31-35) PDF
OpenStax Calculus Vol 2 §4.3 Separable Equations (applied examples) openstax.org
Logan 1.3 tutor guide (cooling, mixing/chemostat, logistic applications structure) ~/math347-ingest/math_guides/MATH_347/Logan DEs/New Guides/Chapter 1/logan_1_3.tex


Last updated: 2026-06-16