Skip to content

Modelling with first-order equations: cooling, mixing and orthogonal trajectories

Turn a cooling story, a mixing tank (fixed or changing volume) and a family of curves into first-order equations, solve them and check the results.

It opens on

A mug of coffee starts at 90°C in a 20°C room and reads 70°C after five minutes. When will it read 40°C, cool enough to drink?

Why it matters

Cooling, dilution and mixing laws, and the perpendicular curves of a field, all reduce to the first-order tools of this unit.

Good to know first

  • First-order linear equations and integrating factors: write y' + P y = Q, multiply by exp(∫P dx), integrate with +C, divide by the factor
  • Exponential models with differential equations: y' = k y gives y = C exp(kt) and the sign of k decides growth or decay
  • General and particular solutions by separation of variables: separate y and x, integrate, and fit the constant

Step by step

  1. Newton's cooling and the sign of k

    Write T' = k(T − Tₐ), find k from a second reading, and use it to predict a time.

    Solve T' = k(T − 20), T(0) = 90, with the factor exp(−kt): the curve is T = 20 + 70exp(kt).

    A common mix-up

    k is a positive rate constant.

    In fact: a falling mug has T' < 0 while T − 20 > 0, forcing k < 0.

  2. Mixing tanks, fixed and changing volume

    Write rate in minus rate out with the outflow concentration A/V(t), and solve with an integrating factor.

    Water leaves at 2 L/min, so V = 100 + 2t and the outflow term is 2A/(100 + 2t) = A/(50 + t).

    A common mix-up

    Rate out is 2A, or 2A/100 whatever the volume.

    In fact: It is flow times A/V(t), and V changes with t.

  3. Orthogonal trajectories

    Eliminate c from a family, negate and flip its slope, and solve to find the perpendicular family.

    Eliminate c from y = c x²: c = y/x², so every parabola has slope y' = 2y/x.

    A common mix-up

    Orthogonal curves have the same slope, or just the negative.

    In fact: Slopes multiply to −1: flip and negate.

Try it

Tea at 80°C in a 20°C room is 60°C after 4 minutes. When is it 30°C?Answer

About 17.7 minutes (hint: gaps 60 and 40, so exp(4k) = 2/3).

A 100 L tank with 2 L/min of 0.5 kg/L brine in and 2 L/min out starts empty of salt; when is A = 25 kg?Answer

50 ln 2 ≈ 34.7 minutes (hint: A' = 1 − 0.02A).

Find the orthogonal trajectories of y = c x³.Answer

x² + 3y² = K (hint: y' = 3y/x, so 3y dy = −x dx).

The curve is above the dashed line and falling, so is k positive or negative?Answer

Negative, since T − 20 > 0 and T' < 0.

How many kilograms are in the tank on the curve when it is full at t = 50?Answer

80 − 17.5 = 62.5 kg.

Modelling with first-order equations: cooling, mixing and orthogonal trajectories

30 minutes every month. No card.