Processing math: 100%
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

5.5: Aphids and Ladybugs, revisited

( \newcommand{\kernel}{\mathrm{null}\,}\)

Aphids and Ladybugs, revisited

In Example 1.3, we asked when predation (by a ladybug) and growth rate exactly match for an aphid population. We did so by solving an equation of the form P(x)=G(x) for x the aphid density and G(x)=rx the aphid growth rate (r>0), and P(x) the rate of predation of aphids by a ladybug. Our solution relied on the quadratic formula. Now consider the case that the predation rate is

P(x)=Kx3a3+x3, where K,a>0.

In this case, steps shown in Example 1.3 lead to a cubic equation for x, which is not easy to solve by pen and paper. This is a classic situation where Newton’s method proves useful.

Example 5.12 (Using Newton’s Method to solve the aphid-ladybug problem)

Set up the problem for obtaining the number of aphids at which predation by a ladybug and population growth of aphids balance. Convert the equation to a form for which Newton’s method is suitable. Then use Newton’s method to solve your problem. Assume that K=30 aphids eaten per hour, a=20 aphids, and r=0.5 per hour. To get a reasonable initial guess, plot P(x) and G(x) on the same graph and determine roughly where they intersect.

Solution

The problem to be solved (assuming x0 is

P(x)=G(x)Kx3a3+x3=rxKx2a3+x3=r

simplifying algebraically leads to the equation

Kx2=r(a3+x3)rx3Kx2+ra3f(x)=0

Having converted the problem into the form f(x)=0, we can apply Newton’s method. We need the function and its derivative for Newton’s method formula,

f(x)=rx3Kx2+ra3f(x)=3rx22Kx

Using the numerical values for the constants, and examining the graph of the two functions P(x) and G(x), we find intersections at x=0 and x010. There is another intersection at x060. To implement the method, we apply Newton’s formula,

x1=x0f(x0)f(x0)=x0(rx30Kx20+ra3)3rx202Kx0

with x0=10. Table 5.3 summarizes the convergence to the root x= 13.05407289 after four rounds of improvement using Newton’s method.

Table 5.3: Newton’s method applied to Example 5.12. We start with x0=10 as the initial approximation. Since x measures a density of aphids (e.g. average number per cm2 ), it is reasonable to find a real valued solution (rather than an integer "number of aphids").
k xk f(xk) f(xk) xk+1
\boldsymbol{\hdashline 0} 10 1500.00 450.00 13.33333333
1 13.33333333 148.15 533.33 13.05555556
2 13.05555556 0.78 527.66 13.05407294
3 13.05407294 0.00 527.63 13.05407294
4 13.05407289 0.00 527.63 13.05407294
clipboard_e7c5a7a8e706fd88873b76b36583d53af.png
Figure 5.9: The function P(x) superimposed on a graph of data from [Hassell et al., 1977].

Examine this graph of the predation rate P(x) and the population growth rate G(x) to find reasonable initial guess(es) for points of intersection. (We look only for positive values, since x represents the number of aphids.) These will be used as value(s) for x0 in Newton’s method.

We conclude that at this aphid density, the aphid population would have a growth and a predation rate that exactly match. (Hence, we also expect that the aphid population would neither increase nor decrease.) What happens if growth and predation rates do not match? In such cases, we expect change to take place. How to analyze such situations will be the topic of a later chapter.

Why do we need to use Newton’s Method if we already solved the aphid -ladybug predation problem in Section 1.6.1?


This page titled 5.5: Aphids and Ladybugs, revisited is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Leah Edelstein-Keshet via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?