Approximate solutions of first-order differential equations and coupled systems with Euler's method, by hand, spreadsheet and GDC, judge accuracy from the step length and interpret predator–prey, competition and SIR models.
Each is in the Maths AI glossary, with every other term in the subject.
The difference between a numerical estimate after many steps and the exact value of the solution, made up of the small error introduced at every step and carried forward through all later steps.
A pair of coupled differential equations for two populations that use the same resources, in which each population grows logistically on its own and the presence of the other species reduces its growth rate.
A set of differential equations in which the rate of change of each variable depends on the other variables as well as its own, so that the equations must be solved together.
A numerical method for a first-order differential equation that starts from a known point and repeatedly moves a fixed distance along a straight line whose gradient is given by the differential equation at the current point.
A table of approximate values of the solution of an equation, produced by a step-by-step calculation, instead of an exact formula.
A pair of coupled differential equations of the form
With a free account, Augment remembers where you stopped and what you have practiced.
A formula that defines each term of a sequence from the term or terms before it, so that the sequence is generated one term at a time from a starting value.
A coupled system of differential equations for an epidemic in which a population is divided into susceptible (), infected () and recovered () groups, with new infections at a rate proportional to and recoveries at a rate proportional to .
The constant amount by which the independent variable increases at each step of a numerical method such as Euler's method.
Explain how Euler's method builds an approximate solution of a differential equation by following tangent lines.
Use Euler's method with a given step length to estimate a solution of , writing down the recurrence relations.
Determine the number of steps needed and set up the method on a spreadsheet or in the sequence (recursion) mode of a GDC.
Comment on the accuracy of an Euler estimate, including the effect of the step length and whether it is an overestimate or an underestimate.
Compare an Euler estimate with an exact solution and calculate the percentage error.
Use Euler's method to find numerical solutions of coupled systems ,
Interpret each term of a predator–prey model, a competing species model and an SIR model, and find equilibrium points by setting both rates to zero.
Use further iterations to describe the long-term behaviour of a system and sketch its trajectory in the phase plane.
Most differential equations that model real systems cannot be solved with a formula. Separation of variables (subtopic 5.14, Setting up differential equations) works only for a small family of equations, and as soon as two populations interact, or a rate depends on both time and the current state in a complicated way, an exact solution is usually out of reach. Euler's method solves this problem by building the solution one short step at a time: from a known point, it moves a small distance along the tangent, recalculates the gradient there, and repeats. The result is a table of approximate values instead of a formula.
Weather forecasts, spacecraft trajectories, epidemic projections and fisheries management all depend on step-by-step numerical methods of this kind. Euler's method is the simplest of them, and the more accurate methods that computers use are refinements of the same idea.
A differential equation such as can be separated and integrated to give
A numerical method supplies those numbers. It does not produce a formula for ; it produces a list of points
Numerical solutions have two costs. Every value carries an error, so the method has to be judged on how large that error is and how it can be reduced. And a table gives values only at the points calculated, so features between them (a maximum, for instance) are located only as accurately as the spacing of the points allows. Both costs fall as more steps are taken, which is why numerical methods are normally carried out on a spreadsheet, a calculator or a computer.
The differential equation gives the gradient of the solution curve at every point. At the starting point
Moving a horizontal distance along a line of gradient changes by
so the new point is ,

The method then repeats. At the differential equation gives a new gradient
The fixed horizontal distance moved in each step is the step length. It is chosen before the calculation starts and stays the same throughout.
To reach a target value from , the number of steps is
For example, from to with takes
Writing the step for a general point gives a pair of formulas that produce each new point from the one before. A formula of this kind is a recurrence relation, the same kind of rule that defines an arithmetic or geometric sequence term by term (subtopics 1.2 and 1.3).
The second formula says that goes up by the same amount every time: the values of form an arithmetic sequence with common difference , so
On a short calculation, a table with one row per step keeps the working clear. The columns are , , and the gradient
A real Euler calculation has tens or hundreds of steps, so it is always done with technology. Two approaches are common: a spreadsheet, which shows every value in a table, and the sequence mode of a GDC, which treats the Euler formulas as recurrence relations.
A spreadsheet suits Euler's method because each row depends only on the row above it. With in a cell of its own, the method needs one row of starting values and one row of formulas, which is then filled down.
A | B | C | |
|---|---|---|---|
1 | 0.1 | ||
2 | gradient | ||
3 | 0 | 1 |
Spreadsheet for ,
The dollar signs fix the reference to , so changing the single value in B1 recalculates the whole table. This makes it easy to compare step lengths, which is the main way of judging accuracy.
The sequence (recursion) mode of a GDC generates a sequence from a recurrence relation and lists the terms in a table. For Euler's method the sequence is , and the index
The one complication is that usually appears in , but the sequence mode has no separate column. Since
so every in the gradient is replaced by this expression.
Switch the GDC to sequence (recursion) mode (on a TI-84 Plus CE: MODE → SEQ; on a Casio fx-CG50: MENU → Recursion).
Enter the recurrence. For with
The row number is the number of steps, so the estimate of is in the row
The table that technology produces is not itself the working. A clear Euler answer contains:
the recurrence relations with the numbers substituted, for example
YouTubeEach Euler step assumes the gradient stays fixed at its starting value for the whole step. On a curved solution it does not, so every step lands slightly off the curve. Worse, the next step starts from that slightly wrong point, uses the gradient there, and adds its own error. Errors are carried forward and build up over the whole calculation.
The Euler polygon for ,
Halving the step length makes each segment shorter, so the gradient has less distance over which to go out of date. Repeating the calculation for ,
Step length | Number of steps | Euler estimate of | Error |
|---|---|---|---|
0.1 | 3 | 1.36200 | 0.0377 |
0.05 | 6 | 1.38019 | 0.0195 |
0.025 | 12 | 1.38978 | 0.0099 |
0.0125 | 24 | 1.39470 | 0.0050 |
Each time the step length is halved, the error roughly halves too. This pattern, error approximately proportional to , holds for Euler's method in general when is small. Ten times the accuracy therefore needs about ten times as many steps. More advanced methods (the Runge–Kutta family) use several gradients per step to get much smaller errors for the same work.
A step length that is too large can give meaningless results. For the cooling equation with
The direction of the error depends on which way the solution curve bends, its concavity. A tangent to a curve that is concave up lies below the curve, so following it gives values that are too small. A tangent to a curve that is concave down lies above it, so Euler's method gives values that are too large.
Shape of the solution curve | Second derivative | Tangent lies | Euler's method gives |
|---|---|---|---|
concave up |
The direction of Euler's error over an interval on which the concavity does not change.
The concavity can be found without solving the equation. Differentiating once more gives the second derivative. For
which is positive whenever and are positive. The solution is concave up there, so Euler's method underestimates, as the example and the graph both showed. If the concavity changes within the interval (at a point of inflexion), the errors before and after partly cancel and the direction cannot be predicted this simply.
When the equation can also be solved exactly by separation of variables, the comparison measures the accuracy of Euler's method directly. The percentage error is calculated in the usual way (subtopic 1.6), with the exact value as the reference. Comparisons of this kind show the general behaviour: the error grows with the number of steps taken and with the curvature of the solution, and shrinks roughly in proportion to .
When no exact solution exists, the same check is made by repeating the calculation with half the step length. If the two estimates agree to the accuracy required, the step length is small enough; if they differ noticeably, the step length is halved again.
Many systems involve two quantities that change together, each affecting the other's rate of change: a predator and its prey, two species competing for food, the numbers of healthy and infected people in an epidemic. Each quantity has its own differential equation, but each equation contains both variables.
The independent variable is now time , and both and depend on it. Neither equation can be solved alone, because the rate for cannot be calculated without knowing , and vice versa. Exact solutions exist only for special cases (linear systems, in subtopic 5.17, Phase portraits), so numerical solutions are the standard tool.
Euler's idea carries over directly. At the current time , both rates are known from the current values and
Both new values are calculated from the old values , and
When the rates contain explicitly (a seasonal birth rate, a harvest that increases each year), the time column matters: must be updated each step and used in both rates. When they do not, as in most population models, still counts the steps and shows when each value occurs.
On a spreadsheet, a coupled system needs one column for each variable and one for time. Each formula in a new row refers only to cells in the row above, which builds the simultaneous update into the layout.
A | B | C | |
|---|---|---|---|
1 | |||
2 | 0 | 400 | 40 |
3 |
|
|
|
Spreadsheet for the deer–wolf model with h = 0.1: row 3 is filled down; every formula in row 3 refers to row 2 only.
In GDC sequence mode, the two variables become two sequences, for and for , each defined from both
The table then lists both sequences side by side, with as the step number and . Because both formulas use the previous terms, the calculator performs the simultaneous update correctly. A calculator using the ,
The deer–wolf system is an example of the best-known coupled model in biology. Prey (deer) grow when left alone; predators (wolves) die out when left alone; and every meeting between the two helps the predators and harms the prey.
Each term has a meaning, and reading the terms is a common first step in any question about such a model.
Term | Sign | Meaning |
|---|---|---|
+ | growth of the prey in the absence of predators (births exceed natural deaths) | |
− | prey killed by predators; proportional to the number of meetings, which is proportional to | |
The four terms of a predator–prey model and what each represents.
The product appears in both equations because the number of encounters between predators and prey depends on how many of each there are: doubling either population doubles the encounters. The constants and differ because one kill removes one prey but produces only a fraction of a new predator.
An equilibrium point is a state in which nothing changes: both rates are zero at once. For a predator–prey model,
Both rates are zero at , where both species are absent, and at
The equilibrium values also explain the turning points of the populations. The prey stop increasing and start decreasing exactly when passes , and the predators turn exactly when passes
Running the deer–wolf model with for 20 years produces 200 rows of values. Plotting against from these rows, instead of each against , gives a path in the phase plane called a trajectory. The trajectory of the deer–wolf model from

Following the loop round shows the four stages of the cycle. With few wolves, deer increase (moving right). Plenty of deer lets wolves increase (moving up). Many wolves cut the deer population (moving left), and with fewer deer the wolves decline (moving down), returning to the start. From the full table, the deer reach a maximum of about 738 at , when , and the wolves a maximum of about 65 at , when
The exact solutions of the Lotka–Volterra equations are closed loops that repeat for ever. The Euler trajectory does not quite close: after 20 years it reaches instead of , and further cycles drift slowly outwards. The exact model has no such drift, so it comes from accumulated error; repeating the run with makes the loop very nearly close.
Two species that eat the same food do not prey on each other, but each one's presence slows the other's growth. Each species alone would follow a logistic model, levelling off at its carrying capacity; the competition adds a term that reduces each growth rate in proportion to the other population.
A typical form is
The bracket in each equation shows the room left to grow. Without , the first species levels off at ; each animal of the second species uses up the resources of animals of the first. The constants and measure how strongly each species competes.
Setting both rates to zero gives up to four equilibrium points: , , , and a point where both species survive, found by solving the two linear equations
Whether the species coexist or one drives the other out depends on the constants and, sometimes, on the starting numbers. Euler's method answers the question numerically: run the recurrences for many steps and watch where the values settle.
With stronger competition the outcome changes. If each species harms the other more than it harms itself, the coexistence point becomes unstable, and the species that starts with the advantage wins while the other dies out. Different starting values can then lead to different long-term outcomes, which is the behaviour of a saddle point in subtopic 5.17.
The SIR model divides a population of size into people who can catch a disease (susceptible, ), people who have it and can pass it on (infected, ), and people who have recovered and are immune (recovered, ). Kermack and McKendrick introduced it in 1927, and models built on it are still used to plan for epidemics.
The term counts new infections: it grows with the number of infected people spreading the disease and with the proportion
With , per day, per day (people stay infected for 4 days on average), and 10 infected people at the start, Euler's method with
The first step gives and

The peak can be predicted without the table. The number infected stops rising when :
Infections rise while more than 500 people are susceptible and fall once fewer are. In the Euler table, passes 500 between day 18 (513) and day 19 (470), and is greatest on day 19, at about 168. The epidemic dies out while about 185 people are still susceptible: by then there are too few of them for each infected person to pass the disease to more than one other.
YouTubeThe Euler step can also be read backwards. If a quantity satisfies and values are recorded at intervals of 1 unit of time, one Euler step with
Each pair of consecutive data values then gives an estimate of the growth constant : the change over one interval divided by the value at the start of the interval. This turns a table of data into estimates of a parameter in a differential equation.
For much of its history, the Hudson's Bay Company bought furs from trappers across Canada, and its records of the numbers of pelts traded each year are one of the best-known long-term population records in ecology. The pelts of the snowshoe hare and of its main predator, the Canada lynx, rise and fall in a cycle of about ten years, with the lynx peaks following the hare peaks.
Year | 1900 | 1901 | 1902 | 1903 | 1904 | 1905 | 1906 | 1907 | 1908 |
|---|---|---|---|---|---|---|---|---|---|
Hare (thousands) | 30.0 | 47.2 | 70.2 | 77.4 | 36.3 | 20.6 | 18.1 | 21.4 | 22.0 |
Lynx (thousands) | 4.0 | 6.1 | 9.8 | 35.2 | 59.4 | 41.7 | 19.0 | 13.0 | 8.3 |
Source: Hudson's Bay Company pelt records, 1900–1920, as tabulated in B. Carpenter, “Predator–Prey Population Dynamics: the Lotka–Volterra model in Stan”, Stan case study, 2018.
The full record for 1900–1920 shows two complete cycles. Each lynx peak comes one or two years after a hare peak, the kind of lag that the predator–prey model predicts.

Fitting the predator–prey model to the 1900–1920 data, with hares and lynx in thousands and in years, gives parameter estimates of about , ,
The non-zero equilibrium is and
Starting from the 1900 values , , the recurrences with
The first step gives and
Year | Hare data | Hare, Euler | Hare, Euler | Lynx data | Lynx, Euler | Lynx, Euler |
|---|
Euler estimates (thousands of pelts) from the fitted model, starting from the 1900 data; calculated values.
The model reproduces the main features of the first cycle: the hare peak in 1903, the lynx peak about a year later, and the collapse of both. It is less successful in the details: the modelled lynx numbers rise too slowly before the peak (22.3 thousand in 1903 against 35.2 in the data), and the modelled hares fall to about 9 thousand in 1907, well below the observed minimum of 18.1 thousand in 1906. The step length matters too. The two runs agree in the first two years but differ by more than 6 thousand hares in 1904, and with the lynx peak even moves a year late, to 1905. Run further, the solution grows a little with each cycle (a hare peak of about 101 thousand in 1914), the same outward drift seen in the deer–wolf trajectory, while the run keeps a nearly steady cycle.
The comparison also shows the limits of the model itself. Pelt counts measure the number of animals trapped, which depends on trapping effort and fur prices as well as on population size. The hare cycle is also affected by food supply and by other predators, which the two-species model leaves out, and the model is deterministic, while real populations vary randomly from year to year. A model that captures the period and the lag but not the exact sizes of the peaks is useful for explaining why the cycle exists, but not for forecasting a particular year's numbers.
Euler's method appears on Paper 2 and Paper 3, usually as 3–6 marks inside a long modelling question that also uses separation of variables (subtopic 5.14), equilibrium points or phase portraits (5.17), or a model fitted to data. Questions use Euler's method with a given step length to find or estimate values, ask you to write down the recurrence relations, to sketch a trajectory from Euler values, and to comment on accuracy or explain the meaning of terms in a model. The values are always produced with the GDC; what earns the method marks is the recurrence relations written with the numbers substituted.
Common question shapes:
a single equation , with a comparison against an exact solution found earlier in the question;
a predator–prey or competing species system: interpret the terms, find the equilibrium points by setting both rates to zero, run Euler to a given time, then use further iterations for the long-term behaviour;
a sketch of the trajectory in the phase plane from an Euler table;
a reason why a result might be unreliable (step length too large, estimated parameters, factors left out of the model).
Examiners consistently reward the recurrence relations. A table of values with a wrong final answer and no formulas can score nothing, while correct formulas with an arithmetic slip still earn the method marks. Write the formulas with the actual numbers substituted, not the general booklet form.
YouTubeThe function satisfies , and
The function satisfies
A population of birds on an island, , is modelled by
The function satisfies , with
The numbers of prey, , and predators, , in a nature reserve are modelled by
Two competing species have populations and (in thousands) modelled by
In a town of 500 people, an infection is modelled by
The number of subscribers to a new podcast at the start of four consecutive months is 1200, 1380, 1590 and 1820. The growth is modelled by , with in months. (a) Show that Euler's method with step length 1 gives
Euler's method follows the tangent for a short step:
I can explain why one Euler step moves along the tangent and what the rise represents.
I can calculate the number of steps needed to reach a given value.
I can carry out two or three Euler steps by hand in a table.
50 exam-style questions on this subtopic, written in the style of the IB papers. The first has its markscheme open. Counted on
Rabbits are introduced onto a small island. The number of rabbits, , years after they are introduced, is modelled by the logistic differential equation
where when .
Find the values of for which .
2 marks
Consider the differential equation
This question investigates a model for the interaction between a crop pest and its natural predator in a greenhouse.
Selin grows tomatoes in a large greenhouse. She controls aphids, which damage the plants, by releasing ladybirds, which eat the aphids. Let be the number of aphids, in thousands, and the number of ladybirds, in hundreds, weeks after she starts monitoring the greenhouse.
Selin models the two populations by the coupled differential equations
The entries of the mathematics: applications and interpretation formula booklet that 5.16 uses. Each opens in the explained booklet.
(a) Use Euler's method with step length 0.1 to estimate the value of when . [4]
(b) The exact solution is . Calculate the percentage error in the estimate. [2]
(a) Here , , , . Going from to takes steps.
gradient |
|---|
After three steps, , which is 1.36 to 3 significant figures.
(b) The exact value is
The Euler estimate is too small by about 2.69%. The gradient keeps increasing as and grow, so each step uses a gradient that is already out of date by the end of the step.
=A3+B3
4 |
|
|
|
Open the table. The row gives , the estimate of .
the step length and the number of steps;
a few rows of the table (at least the first and the last), or the full table when it is short;
the final value, with the accuracy stated and units in context.
The term models an inflow that slows down over time, and models the leak, which is faster when the water is deeper (as in Torricelli's law).
(a) Write down the recurrence relations for Euler's method with step length 0.5 minutes. [2]
(b) Use Euler's method to estimate the depth after 4 minutes. [2]
(c) Use further iterations to estimate the greatest depth of water in the tank and when it occurs. [2]
(a) The depth is called here, so that can keep its meaning as the step length.
(b) From to takes
the table gives:
0 | 0 | 0.81 |
1 | 0.5 | 0.9925 |
The first step checks by hand: . The depth after 4 minutes is about
(c) Continuing the table, the values of rise to at and then fall, because the inflow has slowed while the leak has not. The greatest depth is about 1.89 m, after about 6 minutes. With
below the curve |
an underestimate |
concave down | above the curve | an overestimate |
(a) Use Euler's method with step length 2 minutes to estimate the temperature after 10 minutes. [3]
(b) The exact solution is . Find the percentage error in the estimate. [2]
(c) Explain, with reference to the shape of the solution curve, why the estimate is smaller than the exact value. [2]
(d) The estimates with step lengths 1 and 0.5 are 33.6 °C and 34.5 °C. Comment on how the step length affects the accuracy. [1]
(a) , , with steps.
The temperature after 10 minutes is about 31.8 °C.
(b) The exact value is
(c) Differentiating the equation gives
(d) Halving the step length roughly halves the error (about 10%, 4.8% and 2.3% for , 1 and 0.5), so a smaller step length gives a more accurate estimate, at the cost of more steps.
At the survey there are 400 deer and 40 wolves.
(a) Write down expressions for and for Euler's method with step length 0.1 years. [2]
(b) Use Euler's method to find and when , showing every value. [3]
(a) With :
(b) Both rates are calculated from the values in the same row before either value is updated.
Row 1 comes from and
When , there are about 408 deer and 39.7 wolves. In context the model predicts slightly more deer and slightly fewer wolves after about 10 weeks; the decimal number of wolves comes from treating the population as a continuous quantity.
, .
Alfred Lotka used these equations for predator–prey interactions in 1925, and Vito Volterra published the same equations independently in 1926.
+
growth of the predators supported by the prey they eat |
− | death of predators in the absence of prey |
(a) Use Euler's method with step length 0.1 to estimate the numbers of deer and wolves after 1 year. [3]
(b) Find the equilibrium point at which both species are present. [3]
(c) Describe how the two populations change during the first year, and explain the change in the wolf population using your answer to (b). [3]
(a) Using the recurrences from the previous example, steps are needed. On the GDC with , , the row gives and
After 1 year there are about 445 deer and 39 wolves.
(b) Setting both rates to zero with :
The equilibrium point is (500, 50): 500 deer and 50 wolves.
(c) During the first year the deer increase (from 400 to about 445) and the wolves decrease (from 40 to about 39). The wolf rate is , which is negative while . Throughout the first year there are fewer than 500 deer, too few to support the wolves, so the wolf population falls even though the deer are increasing.
(a) Find all four equilibrium points. [4]
(b) Initially and . Use Euler's method with step length 0.1 to find the populations after 2 years. [3]
(c) Use further iterations to find the long-term populations, and interpret the result. [2]
(a) The rates are zero when or , and when or .
: .
and
(b)
After 2 years there are about 3,820 of the first species and 2,830 of the second.
(c) Continuing to (), the values settle at , . Starting from other values, such as
(a) Use Euler's method with a step length of 1 day to find and after 2 days. [3]
(b) Use further iterations to find the greatest number of people infected at one time and the day on which it occurs. [2]
(c) Show that when , and explain how this is consistent with your answer to (b). [3]
(a) Step 1: , .
Step 2: the new infections are , so
After 2 days, and .
(b) On the GDC with ,
(c)
In the Euler table on day 18 and on day 19. Infections increase while and decrease once
(b) Find the mean of these estimates, and comment on whether it is likely to overestimate or underestimate . [3]
(a) :
(b) The mean is per hour (3 s.f.).
The model's exact solution is , so over one hour
1900 | 30.0 | 30.0 | 30.0 | 4.0 | 4.0 | 4.0 |
1901 | 47.2 | 46.0 | 46.4 | 6.1 | 4.3 | 4.4 |
1902 | 70.2 | 68.2 | 68.5 | 9.8 | 7.3 | 7.8 |
1903 | 77.4 | 85.3 | 81.6 | 35.2 | 20.0 | 22.3 |
1904 | 36.3 | 55.7 | 49.3 | 59.4 | 54.2 | 52.6 |
1905 | 20.6 | 16.9 | 18.4 | 41.7 | 56.1 | 50.1 |
1906 | 18.1 | 8.0 | 10.2 | 19.0 | 32.9 | 31.0 |
Initially there are 6000 aphids and 200 ladybirds.
(a) State what is represented by
(i) the term ;
(ii) the term . [2]
(b) Find the equilibrium point at which both species are present. [3]
(c) Write down expressions for , and for Euler's method with step length 0.1 weeks. [3]
(d) Use Euler's method to estimate the number of aphids and the number of ladybirds after 1 week. [3]
(e) (i) Use further iterations of Euler's method to find the greatest number of ladybirds during the first 10 weeks, and when it occurs. [2]
(ii) Explain why the number of aphids at that time is close to 4000. [2]
(f) Repeating the calculation with step length 0.01 gives about 7450 aphids after 1 week. Comment on this result, and state one other reason why the model's predictions may be unreliable. [2]
(a)(i) the rate at which aphids are eaten by ladybirds (proportional to the number of encounters) A1
(ii) the rate at which ladybirds die (in the absence of aphids) A1
(b) setting both rates to zero (M1)
; A1
4000 aphids and 300 ladybirds, A1
(c) A1
Note: the formulas may be implied by a correct table of values; the right-hand sides must use and .
(d) 10 steps (M1)
: about 7520 aphids A1
: about 262 ladybirds A1
(e)(i) greatest : about 484 ladybirds A1
at weeks A1
(ii) when is greatest, R1
with gives
(the Euler table gives at )
(f) the estimates differ by about 70 aphids (about 1%), so the step length 0.1 gives a reasonable but not exact estimate, and smaller steps are more accurate R1
any one valid reason, for example: the parameters are only estimates; the model ignores other predators, pesticides or the plants' condition; real populations vary randomly R1
Note: do not accept vague answers such as "it is only a model".
Total [17]
(a) steps. (b) , : (6.3816…).
(a) , 10 steps: . (b) Exact ; error .
(a) ; . (b) , negative when ; the solution is concave down, so the tangents lie above the curve and 2.625 is an overestimate (the exact value is ).
(a) , , . (b) 4 steps: , . (c) ; : .
(a) , , , and , gives . (b) (i) , : 4000 of the first species, the second dies out. (ii) , : the first dies out, 3000 of the second. (c) The species cannot coexist: which one survives depends on the starting populations, so is an unstable equilibrium.
(a) Day 1: , . Day 2: , . (b) . (c) GDC table: greatest , on day 21.
(a) , so and . (b) , , ; mean per month.
The number of steps from to is ; the estimate is the value in the row where .
Values are generated with a spreadsheet or the GDC's sequence mode; the recurrence relations, the step length and the final value are written down.
Errors accumulate from step to step; for small the error is roughly proportional to , so halving roughly halves it.
Euler's method underestimates where the solution is concave up and overestimates where it is concave down; the sign of comes from differentiating the equation.
For coupled systems, , , : both updates use the old values.
Equilibrium points come from setting both rates to zero; in a predator–prey model the non-zero equilibrium is .
Predator–prey models cycle, with the predator peak after the prey peak; competing species may coexist or one may die out; in an SIR model infections peak when .
Further iterations show long-term behaviour, and plotting one variable against the other gives the trajectory in the phase plane.
I can write down the recurrence relations with the numbers substituted.
I can compare an Euler estimate with an exact solution and calculate the percentage error.
I can describe how the step length affects accuracy and why errors accumulate.
I can decide whether an estimate is an overestimate or an underestimate from the concavity of the solution.
I can apply Euler's method to a coupled system, using only old values on the right-hand side.
I can interpret every term of a predator–prey, competing species or SIR model.
I can find equilibrium points of a non-linear system by setting both rates to zero.
I can use further iterations to find maximum values and long-term behaviour.
I can sketch a trajectory in the phase plane from Euler values, with its direction.
I can estimate a growth constant from data by reading an Euler step backwards.
I can give specific reasons why a model's predictions may be unreliable.
or A1
[2 marks]
Interpret, in context, the non-zero value of found in part (a).
1 mark
1200 is the carrying capacity: the largest population the island can support (the population will stabilise at 1200) A1
[1 mark]
Find the number of rabbits when the population is increasing most rapidly, and the rate of increase at that moment.
3 marks
is a quadratic in , maximised at its vertex (M1)
A1
(rabbits per year) A1
[3 marks]
Use Euler's method with a step length of 0.5 to estimate the number of rabbits after 3 years.
4 marks
, (M1)(A1)
(A1)
(rabbits) A1
Note: Accept 261.
[4 marks]
The solution of the differential equation is . Find the percentage error in the estimate in part (d).
2 marks
A1
[2 marks]
Explain why Euler's method underestimates the number of rabbits for .
2 marks
for , so is increasing (the solution curve is concave up) R1
so each Euler step uses a gradient that is smaller than the gradient over the rest of the step (the tangent lies below the curve) R1
[2 marks]
Find the time at which the population is increasing most rapidly.
2 marks
(M1)
(years) A1
[2 marks]
Explain why Euler's method cannot be used to approximate the solution that passes through the point .
1 mark
Use Euler's method with a step length of 0.25 to find an approximate value of when , given that when .
4 marks
Solve the differential equation to find the exact solution through , giving in terms of .
5 marks
Find the percentage error in the approximation found in part (b).
3 marks
State how the approximation in part (b) could be improved.
1 mark
Show that the solution curve through never meets the -axis.
2 marks
where and .
At one moment there are 6000 aphids and 100 ladybirds in the greenhouse.
Find the value of and the value of at this moment, and interpret your answers in context.
3 marks
Consider the case in which there are no ladybirds in the greenhouse.
Write down the differential equation satisfied by .
1 mark
Hence find the long-term number of aphids when there are no ladybirds, justifying your answer.
2 marks
Show that is an equilibrium point of the system.
2 marks
Write down the coordinates of the other two equilibrium points.
2 marks
To investigate the behaviour close to , let and
Find a similar approximation for .
2 marks
The approximations can be written as
Hence describe the behaviour of the aphid and ladybird populations when they start close to .
2 marks
At the start of one season there are 2000 aphids and 100 ladybirds in the greenhouse.
Use Euler's method with a step length of 0.25 weeks to estimate the number of aphids and the number of ladybirds after 1 week.
4 marks
Sketch, on a set of axes with on the horizontal axis and on the vertical axis, the trajectory that starts at . Show the direction of motion along the trajectory.
2 marks
Selin considers spraying a pesticide that kills aphids and ladybirds at the same rate. She modifies her model to
Comment on whether spraying the pesticide is a sensible way to reduce the aphid population in the long term.
1 mark
0 | 0 | 1 | 1 | 1.1 |
1 | 0.1 | 1.1 | 1.2 | 1.22 |
2 | 0.2 | 1.22 | 1.42 | 1.362 |
3 | 0.3 | 1.362 |
1.0 |
1.15528… |
⋮ | ⋮ | ⋮ |
7 | 3.5 | 1.71080… |
8 | 4.0 | 1.77520… |
0 | 0 | 85 | −9.6 |
1 | 2 | 65.8 | −6.72 |
2 | 4 | 52.36 | −4.704 |
3 | 6 | 42.952 | −3.2928 |
4 | 8 | 36.3664 | −2.30496 |
5 | 10 | 31.75648 |
0 | 0 | 400 | 40 |
1 | 0.1 | 404 | 39.84 | 41.0464 | −1.529856 |
2 | 0.2 | 408.105 | 39.687 |
and : .
Both brackets zero: , so , giving , and : .
Show that .
3 marks
Find the eigenvalues of .
2 marks
Find the equilibrium point of the modified model at which both species are present.
3 marks