|
|
Part 2.1: Numerical Methods
Our next step will be to describe how to obtain descriptions of the solution functions for a predator-prey problem. In general, we will not be able to find symbolic descriptions of the solution functions. Instead, we will rely on numeric methods to approximate these functions. As we did in the case of a single differential equation, we will describe the simplest of these methods -- Euler's Method. If you do not recall Euler's Method for a single equation, click Euler's Method to see a complete discussion of this method. We give a quick review of the one equation version here.If we have a single differential equation
we approximate the solution y(t) at n+1 equally spaced points 0 = t0 < t1 < t2 < ... < tn. We designate the common value of tk+1 - tk by t.
Then the subsequent approximations yk+1 to y(tk+1) are given recursively by
Here is a graphical representation of the first step.
Recall that we are just approximating rise/run = (y1 - y0)/t by the slope f(t0,y0) at (t0,y0).
Now consider the extension of this approach to a system of the form
dx/dt = ax - bxy
dy/dt = -cy + pxy
then this system has the form
dx/dt = f1(x,y)
dy/dt = f2(x,y)
Click here to check your answers.
|
|
modules at math.duke.edu | Copyright CCP and the author(s), 2000 |