Let \(K\) represent the carrying capacity for a particular organism in a given environment, and let \(r\) be a real number that represents the growth rate. The function \(P(t)\) represents the population of this organism as a function of time \(t\). The logistic differential equation is:
To solve this let's first start by rewriting the equation:
Rearranging:
Now we can take the integral of both sides:
We can use partial fraction decomposition on the left-hand side:
Evaluating:
Now exponentiate both sides:
Since \(P > 0\) and \(K \gt P\), then \(\frac{P}{K-P} > 0\):
If we make \(P\) the subject:
To determine the value of \(D\), we can set \(t = 0\). Let \(P_0\) be the initial population:
Substituting the expression for \(D\) into the equation for \(P\):
Multiply the numerator and denominator by \((K-P_0)\):