Having difficulty setting up a Diff Eq for this situation

  • Context: Undergrad 
  • Thread starter Thread starter Theelectricchild
  • Start date Start date
  • Tags Tags
    Diff eq Difficulty
Click For Summary

Discussion Overview

The discussion revolves around setting up a differential equation to model the population dynamics of mosquitos, considering their growth rate and predation. Participants explore the implications of population doubling and the continuous nature of predation, leading to questions about the correct formulation of the differential equation.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant proposes a differential equation based on the assumption that the population doubles each week and that a fixed number of mosquitos are eaten daily.
  • Another participant challenges the initial approach, suggesting that the model should account for continuous predation rather than a fixed amount being removed at the end of the week.
  • There is a discussion about the correct value of the growth rate "r," with one participant asserting it should be ln(2) instead of 1, based on the doubling time.
  • Participants express confusion regarding the book's solution and its derivation, questioning the significance of certain terms in the equation.
  • One participant notes that the book's solution satisfies the initial condition, indicating a potential correctness in the book's approach.
  • Another participant acknowledges a misunderstanding regarding the exponential terms in the equations presented.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct formulation of the differential equation. There are competing views on how to model the population dynamics, particularly regarding the growth rate and the timing of predation.

Contextual Notes

Participants highlight the need for clarity on whether the growth rate is linear or nonlinear and the implications of continuous versus discrete predation on the population model. There are unresolved questions about the assumptions made in the initial setup of the differential equation.

Theelectricchild
Messages
260
Reaction score
0
Suppose the population of mosquitos in a certain area increases at a rate proportional to the current population... in the absense of other factors, the population doubles each week. There are 200,000 mosquitos in the area initially, and predators (birds, etc) eat 20,000 mosquitos /day. Determine the populatoin of mosquitos in the area at any time t.

So I know that for this proportional rate--- we can set up a differential equation of :

dP/dt = rP - (The number eaten)

so dP/dt = 1*P - 140000

I use r =1 due to the fact that the population is doubling--- so increasing by 100 percent, and i am using 140000 because that's how many mosquitos are eaten in a week--- I am trying to get everything so t is in weeks.

So simplified

[tex]dP/dt = P-140000[/tex]

and I simply solve for P using seperable equations, however the book gives the answer as

P = 201977.31 - 1977.31(e^(ln2)t) for 0 < t < 6.6745 (in weeks)

I obviously did not get this solution from the one above--- for what should I be looking to solve this properly and get a consistent answer?

Thanks for your helP!
 
Physics news on Phys.org
[tex]dP/dt = P - 140000[/tex]

[tex]\int _{P_0} ^{P(t)} \frac{dP}{P - 140000} = \int _0 ^t dt[/tex]

[tex]\ln [P(t) - 140000] - \ln (P_0 - 140000) = t[/tex]

[tex]\ln [P(t) - 140000] = t + \ln (60000)[/tex]

[tex]P(t) = 60000e^t + 140000[/tex]

Actually, there may be a reason why this is wrong. In a week, it is not as though the population doubles, then 140,000 mosquitoes are eaten. Mosquitoes are constantly being eaten, and then doubling. If we could just say the mosquitoes double, then so many are eaten, then we should be able to say that so many are eaten, and then they double. This will give a different result. So your (our) approach had it so that they double, and then instantly at the end of the week, so many are eaten. So either this approach is wrong (and I'm not sure of the right approach) or we had it right, and the book's answer was wrong.
 
Yeah I understand what you are considering--- but it would seem that if they wanted us to even consider it, that they wouldve told us that as the week goes by whether the growth rate of the mosquitos is linear or nonlinear... etc. Interesting...
 
You're right. My best guess now is to take their solution, and reverse engineer it and see if you can figure out what equation in the form "dP/dt = ..." they started out with, and maybe you can figure out how they got it with the given numbers. For one, I can't understand why they'd have [itex]e^{t(\ln 2)}[/itex] and not just [itex]2e^t[/itex]. You can rewrite their equation:

[tex]P = 200000 + 1977.31(1 - 2e^t)[/tex]

... if I understand what you wrote correctly. So, what is the signficance of 1977.31? Does it relate to 140,000 in anyway? Is ln(1977.31) a signficant number? If you're sure the book is right, it might not be a waste of time to figure out how they got their equation.

Wait a minute. Please expand the rewritten version of the formula, and confirm that it is the equation the book's given. Then use that formula to evaluate P(0). If my equation is a correct interpreation of the book, [itex]P(0) \neq 200,000[/itex] according to that formula.
 
Hmm their equation does indeed satisfy the IC--- the equation i wrote in the first message is exactly what they had in the book--- i double cheked--- interesting...
 
Last edited:
No...The solution of your book is correct. The rate you include in your equation is wrong. Since the mosquitoes double each week the rate "r" in your equation should be ln(2), not 1.

To "feel" the correctness of the solution, just note that 201977.31=140000/ln(2).
 
btw e^(t*ln(2)) isn't the same as 2e^t i realized--- that may have been another error we made whoops!
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K