Differential equations - population model

Click For Summary

Homework Help Overview

The discussion revolves around a differential equation modeling a population subject to predation, described by the initial value problem involving a growth rate function and a predation rate. Participants are exploring various aspects of the problem, including plotting population dynamics and estimating critical population thresholds.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the application of the Method of Integrating Factors and express difficulties in finding an explicit solution for y(t). Some question the feasibility of expressing certain integrals in elementary functions. Others suggest using numerical methods like NDSolve in Mathematica to tackle the problem.

Discussion Status

There is an ongoing exploration of the problem with various approaches being discussed. Some participants have shared their attempts at plotting and calculating critical values, while others are seeking clarification on specific steps and methods. No consensus has been reached, but there are indications of productive direction in using numerical solutions.

Contextual Notes

Participants are working under the constraints of the problem's complexity, particularly regarding non-elementary integrals and the need for numerical solutions. The discussion reflects a mix of theoretical exploration and practical application using computational tools.

DivGradCurl
Messages
364
Reaction score
0
"Suppose that a certain population satisfies the initial value problem

[tex]\frac{dy}{dt}=r(t)y - k, \qquad y(0)=y_0[/tex]

where the growth rate [tex]r(t)[/tex] is given by

[tex]r(t)=\frac{1+\sin t}{5}[/tex]

and [tex]k[/tex] represents the rate of predation.

(a) Suppose that [tex]k=\frac{1}{5}[/tex]. Plot [tex]y[/tex] versus [tex]t[/tex] for several values of [tex]y_0[/tex] between 1/2 and 1.

(b) Estimate the critical initial population [tex]y_c[/tex] below which the population will become extinct.

(c) Choose other values of [tex]k[/tex] and find the corresponding [tex]y_c[/tex] for each one.

(d) Use that data you have found in parts (a) and (b) to plot [tex]y_c[/tex] versus [tex]k[/tex]."

I'm trying to apply the Method of Integrating Factors, but I'm stuck. Here's what I have:

[tex]\frac{dy}{dt}- r(t)y = - k[/tex]

[tex]\mu = \exp \left[ -\frac{1}{5} \int \left( 1 + \sin t \right) \: dt \right] = \exp \left( \frac{\cos t}{5} - \frac{t}{5} \right)[/tex]

[tex]y(t) = \exp \left( \frac{t}{5} - \frac{\cos t}{5} \right) \int -k \exp \left( \frac{\cos t}{5} - \frac{t}{5} \right) \: dt[/tex]

[tex]y(t) = -k \exp \left( \frac{t}{5} - \frac{\cos t}{5} \right) \underbrace{\int \exp \left( \frac{\cos t}{5} - \frac{t}{5} \right) \: dt} _{\mbox{?}}[/tex]

Any help is highly appreciated.
 
Physics news on Phys.org
the integral you underlined cannot be expressed in elemental functions, but you can still work the rest of the problems.
 
Last edited:
Cyclovenom said:
the integral you underlined cannot be expressed in elemental functions, but you can still work the rest of the problems.

I can get the vector field of this differential equation without any problem. Still, I can't plot [tex]y(t)[/tex] for several values of [tex]y_0[/tex]---part (a)---because I can't find [tex]y(t)[/tex] in the first place. I've attached a Mathematica 5 notebook that shows it.

Thanks
 

Attachments

thiago_j said:
I can get the vector field of this differential equation without any problem. Still, I can't plot [tex]y(t)[/tex] for several values of [tex]y_0[/tex]---part (a)---because I can't find [tex]y(t)[/tex] in the first place. I've attached a Mathematica 5 notebook that shows it.

Thanks

Dude, you got Mathematica and you're sayin' you can't? What about NDSolve? Here, I know it by heart by now cus' I use it all the time:

sol1=NDSolve[{y'[t]-(1+Sin[t])/5 y[t]== -k,y(0)=ystart},y,{t,0,whatever}];

f[x_]:=Evaluate[y[x] /. sol1];

Edit: Tell you what Thiago, what about writing a complete Mathematica program (only because the integral is non-elementary) that does all the calculating, searching for the critical values, then outputs a nice plot of y0 vs. k? Whatever. Anyway, why does this happen? That would make a good e don't you think?
 
Last edited:
Is it just me or is this a tough problem to code for other people? I don't know. I'm kinda slow. Thiago, I've attached a plot of what I came up with. Are you getting the same thing? If you got it, good. If not and want help, just post a message. Still can't say why it behaves that way. You? Don't suppose you want to work on e do you?
 

Attachments

  • thiago_ode.JPG
    thiago_ode.JPG
    4 KB · Views: 808
e

Alright, I got e. Thiago, I don't want to be doing your homework alright. In fact, e is not even your homework so I think I'm ok.

First instead of integrating indefinitely, do so definitely from [itex]t_0[/itex] to t:

[tex]\int_{t=0,y=y_0}^{t=t,y=y} d[e^{1/5(Cos(t)-t)}y]=-k\int_{t_0}^t e^{1/5(Cos(t)-t)}[/tex]

I know, the t's, the y's, y0, is confussing on the left hand side but you know what I mean.

This yields:

[tex]y(t)=e^{-1/5(Cos(t)-t)}[y_0e^{1/5}-k\int_0^t e^{1/5(Cos(u)-u)}du][/tex]

Now,

[tex]e^{-1/5(Cos(t)-t)}[/tex]

is always greater than 0, so y(t) will reach zero only when the expression in brackets reaches zero. That is, when:

[tex]y_0=ke^{-1/5}\int_0^t e^{1/5(Cos(u)-u)}du[/tex]

Now hear's the important point: The critical point is when [itex]y_0[/itex] just equals that expression and since the integral is an increasing function which reaches a limit, We can say the following about the critical point [itex]y_c[/itex]

[tex]y_c=ke^{-1/5}\int_0^{\infty} e^{1/5(Cos(u)-u)}du[/tex]

Numerically, the integral is approximately 5.089. Thus we have the following expression for the critical point as a function of k:

[tex]y_c=ak[/tex]

with:
[tex]a\approx 5.089 e^{-1/5}[/tex]

The three plots exhibit this. The first plot is the one I generated above using a brute force approach to search for the critical points. The second one is the expression for [itex]y_c[/itex]. The third one is a superposition of both. That is, they are identical.
 

Attachments

  • brute force.JPG
    brute force.JPG
    3.6 KB · Views: 677
  • eq for critical pt.JPG
    eq for critical pt.JPG
    4.2 KB · Views: 696
  • superposition.JPG
    superposition.JPG
    4.3 KB · Views: 704

Similar threads

  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
2K
Replies
2
Views
1K
Replies
16
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 6 ·
Replies
6
Views
1K
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K