First Order Difference Equations Differential equation are great for modeling situations where there is a continually changing population or value. If the change happens incrementally rather than continuously then differential equations have their shortcomings. Instead we will use difference equations which are recursively defined sequences. Examples of incrementally changes include salmon population where the salmon spawn once a year, interest that is compound monthly, and seasonal businesses such as ski resorts.
What makes this first order is that we only need to know the most recent previous value to find the next value. It also comes from the differential equation y' = g(n,y(n)) Recalling the limit definition of the derivative this can be written as
if we think of h and n as integers, then the smallest that h can become without being 0 is 1. The differential equation becomes y(n+1) - y(n) = g(n,y(n)) y(n+1) = y(n) +g(n,y(n)) Now letting f(n,y(n)) = y(n) +g(n,y(n)) and putting into sequence notation gives yn+1 = f(n,yn) If the first order difference depends only on yn (autonomous in Diff EQ language), then we can write y1 = f(y0), y2 = f(y1) = f(f(y0)), y3 = f(y2) = f(f(f(y0))) = f 3(y0) In general, yn = f n(y0) Solutions to a finite difference equation with yn+1 = yn Are called equilibrium solutions. We find them by setting yn = f(n,yn) An finite difference equation is called linear if f(n,yn) is a linear function of yn. Example Each year, 1000 salmon are stocked in a creak and the salmon have a 30% chance of surviving and returning to the creak the next year. How many salmon will be in the creak each year and what will be population in the very far future? Solution This is a linear finite difference equation with yn+1 = .3yn + 1000 We have y0 = 1000, y1 = .3y0 + 1000, y2 = .3y1 + 1000 = .3(.3y0 + 1000) + 1000 y3 = .3y2 + 1000 = .3(.3(.3y0 + 1000) + 1000) + 1000 = 1000 + .3(1000) + .32(1000) + .33y0 In general, yn = 1000(1 + .3 + .32 + .33 + ... + .3n-1) + .3ny0 The first term is a geometric series, so the equation can be written as
1000(1 - .3n) Notice that the limiting population will be 1000/.7 = 1429 salmon.
More generally for the linear first order difference equation yn+1 = ryn + b The solution is
b(1 - rn) Recall the logistics equation y' = ry(1 - y/K) After some work, it can be modeled by the finite difference logistics equation un+1 = run(1 - un) The equilibrium can be found by solving un = run(1 - un) A quadratic that has solution un = 0 or un = (r - 1)/r To determine the stability of the equilibrium points, look at values of un very close to the equilibrium value. For the first point, un is much larger than (un)2, so the logistics equation can be approximated by un+1 = run(1 - un) = run - run2 @ run For |r| < 1, this converges to 0, thus the equilibrium point is stable. For the other equilibrium value, write un = (r - 1)/r + vn So that the equilibrium value becomes vn = 0 We can now substitute into the difference equation and chop off the nonlinear term to get vn+1 = (2 - r)vn This converges to 0 for |2 - r| < 1 or 1 < r < 3 So the equilibrium point is stable in this range. At r = 1, we say that there is an exchange of stability. For r > 3, the sequence exhibits strange behavior. In particular for 3 < r < 3.57 the sequence is periodic, but past this value there is chaos.
Back to the First Order Differential Equations Home Page Back to the Differential Equations Home Page Back to the Math Department Home Page e-mail Questions and Suggestions
|