Stellar Grove · Research

Stellar Grove · Concrete Mathematical Modelling

Cleaning up a polluted lake

Once the pollution stops, how long until the lake is safe again?

Chapter 1 · Growth and decay: dynamical systems. A worked example rebuilt from the chapter's topic in Mike Mesterton-Gibbons, *A Concrete Approach to Mathematical Modelling*; the scenario and numbers are our own illustration, not the book's text.

Headline: With the discharge stopped, the lake falls from 20 to 5 µg/L in 6.2 years. If the inflow is only cut to 6 µg/L, it never gets there.

The problem

A factory has been discharging into the river that feeds a lake of volume V=12 km³. River water flows in and out at F=3 km³ a year, and the lake now holds 20 µg/L of the pollutant. The factory is closed, so the inflow carries only a background 1 µg/L. How long until the lake drops below the safe level of 5 µg/L?

The model

Treat the lake as well mixed: what flows out has the lake's own concentration c(t). The amount of pollutant Vc changes by what comes in minus what goes out:

Vdcdt=Fcin−Fc

This is linear and first order. Its solution decays exponentially toward the inflow level, with rate F/V, the reciprocal of the residence time:

c(t)=cin+(c0−cin)e−Ft/V

Setting c(T)=c* and solving for T gives the clean-up time:

T=VFlnc0−cinc*−cin

With the numbers above, T=4ln(19/4)=6.23 years.

The lake approaches the inflow level, not zero: a partial fix never reaches the target
The lake approaches the inflow level, not zero: a partial fix never reaches the target

Try it

Lake clean-up explorer

Drag the sliders; hover the chart to read values.

Key findings

from books.concrete_mathematics import growth as g
print(round(g.lake_cleanup_time(c0=20.0, c_target=5.0, c_in=1.0, flow=3.0, volume=12.0), 2))
print(g.lake_cleanup_time(c0=20.0, c_target=5.0, c_in=6.0, flow=3.0, volume=12.0))
c, T = g.lake_symbolic()      # the same results, derived symbolically
print(T)

# → 6.23
# → inf
# → V*log((-c_0 + c_in)/(c_in - c_target))/F

Assumptions and extensions