# Thread: Bacteria growth

1. ## Bacteria growth

A type of bacteria increases continuously at a rate proportional to the number present. If there are 1000 present at a given time and 2000 present two hours later, how many hours (from the initial time) will it take for the number of bacteria to reach 5000?

Could someone nudge me in the right direction?

2. I haven't done one of these in years, so I had to solved it from scratch.
Assuming that dX/dt=kX, we have the separable DE...
$\displaystyle {dX\over dt}=kX$ or $\displaystyle {dX\over X}=kdt$
integrating we have $\displaystyle \ln X=kt+c$.
Solving for X(t) we have $\displaystyle X(t)=ae^{kt}$
where $\displaystyle a=e^c=X(0)$.
From what you said, I believe that $\displaystyle X(0)=1000$
so $\displaystyle X(t)=1000e^{kt}$. Next we solve for k.
But the trick is not to do it completely.
$\displaystyle X(2)=2000=1000e^{2k}$, so $\displaystyle 2=e^{2k}$.
There is no need to try to approximate k.
The base is here 2, not e. Instead, insert this into our function...
$\displaystyle X(t)=1000e^{kt}=1000(e^{2k})^{t/2}=1000(2)^{t/2}$.
Now check to see if this makes sense. Look at $\displaystyle X(0)$ and $\displaystyle X(2)$.
Finally, set $\displaystyle 1000(2)^{t/2}=5000$, which yields $\displaystyle (2)^{t/2}=5$
or $\displaystyle (t/2)\ln 2=\ln 5$, thus $\displaystyle t=2\ln 5/\ln2$.

3. So what you have here is a differential equation:

$\displaystyle \frac {dx}{dt}=cx$

where c is a constant of proportionality and x indicates the number of bacteria present. Basically this says the rate of change of bacteria is equal to some number, c, times the number of bacteria present.

Ok so lets solve this differential equation. Using the usual method:
$\displaystyle \frac {dx}{dt}=cx$ ---> $\displaystyle \frac{dx}{x} = cdt$

Now integrate both sides:

$\displaystyle \int_{}^{} \frac{dx}{x} = \int_{}^{} cdt$

Then,

$\displaystyle ln(x) = ct + {k}_{1}$

where k1 is the constant of integration.

Then,

$\displaystyle x(t) = {k}_{2}e^{ct}$

Now we apply our given conditions, lets call "a given time" t = 0:

$\displaystyle x(0) = 1000 = {k}_{2}e^{0}$, $\displaystyle x(2) = 2000 = {k}_{2}e^{c(2)}$

The first equation immediately gives: $\displaystyle {k}_{2} = 1000$

Then the second equation gives: $\displaystyle 2000 = 1000e^{2c}$ --> $\displaystyle c = ln(\sqrt[]{2})$

Thus:

$\displaystyle x(t) = 1000e^{ln(\sqrt[]{2})t} = 1000 (\, \sqrt[]{2} \, )^t$

Then we solve:

$\displaystyle 5000 = 1000 (\, \sqrt[]{2} \, )^t$

which gives,

$\displaystyle t = \frac {ln(5)}{ln( \, \sqrt[]{2} \, )} \approx 4.64$ hours.

Note that Matheagle and my answers look different because we wrote our x(t)'s slightly differently but in the end they are exactly the same.

4. Originally Posted by matheagle
I haven't done one of these in years, so I had to solved it from scratch.
Assuming that dX/dt=kX, we have the separable DE...
$\displaystyle {dX\over dt}=kX$ or $\displaystyle {dX\over X}=kdt$
integrating we have $\displaystyle \ln X=kt+c$.
Solving for X(t) we have $\displaystyle X(t)=ae^{kt}$
where $\displaystyle a=e^c=X(0)$.
From what you said, I believe that $\displaystyle X(0)=1000$
so $\displaystyle X(t)=1000e^{kt}$. Next we solve for k.
But the trick is not to do it completely.
$\displaystyle X(2)=2000=1000e^{2k}$, so $\displaystyle 2=e^{2k}$.
There is no need to try to approximate k.
The base is here 2, not e. Instead, insert this into our function...
$\displaystyle X(t)=1000e^{kt}=1000(e^{2k})^{t/2}=1000(2)^{t/2}$.
Now check to see if this makes sense. Look at $\displaystyle X(0)$ and $\displaystyle X(2)$.
Finally, set $\displaystyle 1000(2)^{t/2}=5000$, which yields
$\displaystyle t=2\ln 5/\ln2$.
Why do you not have to find k?

5. If you can avoid solving for k, you're better off.
You're never asked to solve for it anyhow.
Most books solve for it and get an annoying roundoff.
The problem is that these books are forcing you to have a base of e.
In this problem the correct base is 2 or likewise $\displaystyle \sqrt{2}$.