Solving for Infection Growth with a Diff. Equation

  • Thread starter Thread starter TSN79
  • Start date Start date
  • Tags Tags
    Homework
Click For Summary

Homework Help Overview

The discussion revolves around a differential equation modeling the growth of an infection, specifically given by the equation dx/dt = k(150000 - x(t)). The original poster presents initial conditions and seeks to determine the time required for the infected population to reach 120,000.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • The original poster attempts to solve the differential equation but expresses uncertainty about incorporating the constant 150,000 into their solution. Other participants discuss the general form of the solution and the need for additional constants based on initial conditions.

Discussion Status

Participants are actively exploring the implications of the differential equation and the constants involved. Some provide guidance on how to approach solving for the constants using the given initial conditions, while others question the original poster's understanding of the solution process.

Contextual Notes

The original poster references a solution from a textbook, indicating a potential discrepancy between their calculations and the expected result. There is an ongoing discussion about the correct application of the differential equation and the constants involved.

TSN79
Messages
422
Reaction score
0
The following diff.equation determines the number of people with a spesific illness:
[tex] \frac{{dx}}{{dt}} = k\left( {150000 - x\left( t \right)} \right)[/tex]
At t=0, 30000 people are infected, and at t=15, 60000. How long will it take for 120000 are infected? Here is my work:
[tex] \begin{array}{l}<br /> x\left( t \right) = 30000 \cdot e^{k \cdot t} \\ <br /> x\left( {15} \right) = 30000 \cdot e^{k \cdot 15} = 60000 \\ <br /> \Rightarrow k = 0,046 \\ <br /> x\left( t \right) = 30000 \cdot e^{0,046 \cdot t} = 120000 \\ <br /> \end{array}[/tex]
Problem is that this leads to no good, the answer is supposed to be about t=72 (days), but I'm not sure how to implement the 150000 in the beginning (at least I think that's the prob)...anyone?
 
Physics news on Phys.org
dx/dt = k*(p - x) has solutions of the form x = Aexp(-kt) + p,
not just x = A*exp(-k*t).
 
Solving your DE will give an extra constant and you already had the constant k. You can determine the values of these two constants with x(0) = 30000 and x(15) = 60000. Are you sure of your solution of the DE?
 
You mean am I sure it's supposed to be 72? That's just what it says in the back of the book that's all...
I just want to know where in my attempt I turned wrong...
 
No, I'm talking about the solution of the differential equation.
 
No, I'm not at all sure about my solution becasue I'm not taking the 150000 into effect since I don't know where or how to do so. How would you go about solving it?
 
TSN79 said:
No, I'm not at all sure about my solution becasue I'm not taking the 150000 into effect since I don't know where or how to do so. How would you go about solving it?

TSN, as Qbert stated, the solution to the DE is:

[tex]x(t)=Ae^{-kt}+150000[/tex]

right?

You arrange it into the form:

[tex]x^{'}+kx=150000k[/tex]

obtain an integrating factor, integrate, done deal.

So you have two unknowns in the solution above, k and A, but you have two conditions:

x(0)=30000

x(15)=60000

Substituting the first condition into the equation yields:

[tex]30000=Ae^{-0k}+150000[/tex]

you can solve for A right?

now that you have A, substitute the second condition:

[tex]60000=Ae^{-15k}+150000[/tex]

That allows you to find k then. You know, rearrange, take the ln of both sides, solve for k.

Then once you have these values, you can easily solve for what t yields 120000:

[tex]120000=Ae^{-kt}+150000[/tex]

I bet you can do this.:smile:
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
9
Views
2K
Replies
19
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
1K
  • · Replies 0 ·
Replies
0
Views
5K