Processing math: 100%

3006 IVP's Longer Examples

The fish population in a lake is not reproducing fast enough and the population is decaying exponentially with decay rate k. A program is started to stock the lake with fish. Three different scenarios are discussed below.

Example 1. A program is started to stock the lake with fish at a constant rate of r units of fish/year. Unfortunately, after 1/2 year the funding is cut and the program ends. Model this situation and solve the resulting DE for the fish population as a function of time.
Solution. Let x(t) be the fish population and let A=x(0) be the initial population. Exponential decay means the population is modeled by x+kx=f(t),x(0)=A where f(t) is the rate fish are being added to the lake. In this case f(t)={r for 0<t<1/20 for 1/2<t First, write f in 'u-format': f(t)=r(1u(t1/2)).
Next, take the Laplace transform and solve for X(s). F(s)=L(f)(s)=rsrses/2\rArrsXX(0)+kX=F(s)\rArr(s+k)XA=rs(1es/2)\rArrX(s)=As+k+rs(s+k)(1es/2) To find x(t) we temporarily ignore the factor of es/2 and take Laplace inverse of what's left. (using partial fractions). L1(As+k)=Aekt,L1(rs(s+k))=rk(1ekt) The t-translation formula says L1(res/2s(s+k))=u(t1/2)rk(1ek(t1/2)) Putting it all together we get (in u and cases format). x(t)=Aekt+rk(1ekt)u(t1/2)rk(1ek(t1/2))={Aekt+rk(1ekt) for 0<t<1/2Aekt+rk(ektek(t1/2)) for 1/2<t

Example 2. (Periodic on/off) The program is refunded and the have enough money to stock at a constant rate of r for the first half of each year. Find x(t) in this case.
Solution. All that's changed from example 1 is the input function f(t). We write it in cases-format and translate that to u-format so we can take the Laplace transform. f(t)={r for 0<t<1/20 for 1/2<t<1r for 1<t<3/20 for 3/2<t<2=r(1u(t12)+u(t1)u(t32)+) The computations from here are essentially the same as in the previous example. L(f)=rs(1e1/2+e1e3/2+)\rArrX=As+k+rs(s+k)(1e1/2+e1)\rArrx(t)=Aekt+rk[(1ekt)u(t1/2)(1ek(t1/2))+]\rArrx(t)={Aekt+rkrkekt for 0<t<1/2Aektrk(ektek(t1/2)) for 1/2<t<1Aekt+rkrk(ektek(t1/2)++ek(tn)) for n<t<n+1/2Aektrk(ektek(t1/2)+ek(tn1/2)) for n+1/2<t<n+1 Factoring out ekt gives: x(t)={Aekt+rkrkekt(1ek/2+eke3k/2++ekn) for n<t<n+1/2Aektrkekt(1ek/2+ekek(n+1/2)) for n+1/2<t<n+1 Note that the constant term r/k is only present during periods of stocking.

Example 3. (Impulse train) The answer to the previous example is a little hard to read. We know from experience that impulsive input usually leads to simpler output. In this scenario suppose that once a year r/2 units of fish are dumped all at once into the lake. Find x(t) in this case.
Solution. Once again, all that's changed from example 1 is the input function f(t). The IVP is still given by equation (1). f(t)=r2(δ(t)+δ(t1)+δ(t2)+δ(t3)+ This is called an impulse train. Its Laplace transform is easy to find. F(s)=r2(1+es+e2s+e3s+) One nice thing about delta functions is that they don't introduce any new terms into the partial fractions part of the problem. sX(s)X(0)+kX(s)=r2(1+es+e2s+e3s+)\rArrX(s)=As+k+r2(s+k)(1+es+e2s+e3s+) Laplace inverse is easy: L1(1s+k)=ekt\rArrL1(enss+k)=u(tn)ek(tn) Thus, x(t)=Aekt+r2ekt+r2u(t1)ek(t1)+r2u(t2)ek(t2)++r2u(t3)ek(t3)+ Here are graphs of the solutions to examples 2 and 3 (with A=0,k=1,r=2). Notice how they settle down to periodic behavior.