Having difficulty setting up a Diff Eq for this situation

In summary, the population of mosquitos in a certain area increases at a rate proportional to the current population... in the absence of other factors, the population doubles each week. There are 200,000 mosquitos in the area initially, and predators eat 20,000 mosquitos per day. At any time, the population of mosquitos is 201977.31.
  • #1
Theelectricchild
260
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
  • #2
[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.
 
  • #3
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...
 
  • #4
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.
 
  • #5
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:
  • #6
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).
 
  • #7
btw e^(t*ln(2)) isn't the same as 2e^t i realized--- that may have been another error we made whoops!
 

1. How do I know if a differential equation is appropriate for my situation?

There are a few key factors to consider when determining if a differential equation is appropriate for a specific situation. First, the situation should involve a variable that is changing continuously with respect to time or another independent variable. Additionally, the situation should involve some sort of relationship between the rate of change of the variable and the variable itself. It is also important to consider the level of complexity and the availability of initial conditions or boundary values.

2. What steps should I follow to set up a differential equation for a given situation?

The first step is to clearly define the variables involved in the situation and their relationships. Next, determine the order of the differential equation by counting the highest derivative present. Then, write out the equation using the appropriate notation for derivatives. Finally, check for any initial conditions or boundary values that may need to be included in the equation.

3. How do I handle situations with multiple variables or equations?

In cases where there are multiple variables or equations involved, it may be necessary to use a system of differential equations. This involves setting up and solving a set of equations simultaneously, taking into account the relationships between the variables. It may also be helpful to use matrices and linear algebra techniques to solve these systems.

4. Are there any common mistakes to avoid when setting up a differential equation?

One common mistake is not clearly defining the variables and their relationships in the given situation. This can lead to incorrect equations and solutions. It is also important to double-check for any missing initial conditions or boundary values, as these can significantly impact the resulting differential equation. Additionally, it is important to use the correct notation for derivatives, such as Leibniz notation or Newton's notation.

5. What resources are available to help me with setting up differential equations?

There are many resources available for learning about and solving differential equations. Some helpful tools include textbooks, online tutorials and videos, and software programs specifically designed for solving differential equations. Additionally, seeking help from a math tutor or professor can provide valuable guidance and support.

Similar threads

  • Differential Equations
Replies
7
Views
1K
Replies
15
Views
3K
Replies
1
Views
526
Replies
3
Views
1K
  • Calculus and Beyond Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
4K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
6K
  • Differential Equations
Replies
2
Views
5K
Back
Top