8.8 Comparing a discrete and a continuous model — Learn
Prerequisites: Section 8.2, exponential growth; Section 8.4, difference equations.
Objectives: compare a recurrence with a differential equation; use Euler's method for one or two steps; explain how the step size affects the estimate.
By the end of this section you can choose between a discrete and a continuous model, and say why their answers differ.
Two ways to model the same change
Take a quantity that grows by a fixed percentage. There are two ways to write the model.
Continuous. The quantity changes at every instant:
Discrete. The quantity changes once per step:
The two models use different constants. In the continuous model the rate is per unit of time. In the discrete model the multiplier is , where is the fraction added each step.
They agree only if
For , , so the exact discrete multiplier is about , a little more than . Using is a model in its own right, and it is slightly different from the continuous one.
Euler's method
When a differential equation cannot be solved by separation, a numerical method gives an estimate. Euler's method steps forward in the same way as a recurrence. From a known value at , take a step of size :
where is the right-hand side of . The method uses the rate at the start of the step for the whole step.
Example 1. Use Euler's method with step on , with when . Find the estimate after two steps.
At the first step the rate is :
At the second step the rate is :
Example 2. Repeat with the smaller step . Find the estimate at , after two half-steps.
First half-step: rate ,
Second half-step: rate ,
The exact value at is . The estimate is much closer than the one-step value at the same , so halving the step improves the estimate.
Why the two models differ
A discrete model changes the quantity in jumps. A continuous model changes it at every instant. When the step is large, the difference is large, because the model uses one rate for a long interval. As the step shrinks, the discrete model comes closer to the continuous one.
This is why the two lake models of the chapter are close but not equal. The daily model removes at the end of each day, so the removal acts on the amount at the start of the day. The continuous model removes pollutant throughout the day, acting on a falling amount. After ten days the two values are near each other, and the difference is the price of using whole days.
Progress check
Back to the chapter problem. After the factory closes, the lake pollutant is modelled in two ways, both starting at kg.
- Continuous: .
-
Daily: .
-
Find the continuous value after ten days, .
- Find the daily value after ten days, .
- Which model removes more pollutant in ten days? Explain the difference in one sentence.
Keep both numbers. The Review uses them to judge how much the choice of model matters for the safe level.
You should now be able to
- write a continuous model and a discrete model for the same change;
- relate the rate to the multiplier using ;
- use Euler's method for one or two steps;
- explain how the step size changes the estimate;
- explain why a discrete and a continuous model need not agree.