How Do You Solve the Logistic Equation Explicitly?

  • Thread starter Thread starter Richter915
  • Start date Start date
AI Thread Summary
The discussion centers on solving a logistic differential equation explicitly. The equation presented is dP/dT = kP(1-P/K)(1-m/P), and the user seeks clarification on differentiating and finding P(t). Participants explain that the right-hand side is constant with respect to time, leading to confusion about the nature of the variables. The solution involves algebraic manipulation, partial fraction decomposition, and integration, ultimately leading to a formula for P(t) that incorporates constants determined by boundary conditions. The conversation emphasizes that different methods can yield the same solution, highlighting the flexibility in approaching the problem.
Richter915
Messages
37
Reaction score
0
Hi. I'm having some difficulty with a couple of questions, but mainly a problem differentiating an equation:

dP kP (1-P/K)(1-m/P)
-- =
dT

it says to solve it explicitly but I have no idea how to differentiate explicitly.

If you could help me out, it'd be greatly appreciated. Also, if you tell me how to insert the the math operations so it looks normal, it'd be appreciated. Thanks again.
 
Physics news on Phys.org
\frac{dP}{dt} = kP(1-\frac{P}{K})(1-\frac{m}{P})

Well unless you left something out, with respect to time, nothing on the right hand side changes, it is all constant. Derivative of a constant is 0.

Anyhow if I am mistaken, explicit derivative is the fancy way of saying 'take the derivative'.
 
no, you are mistaken. I have to find the function that, when you take the derivative of it, gives you that equation. I pretty much have to find what P(t) equals. Thanks anyhow. Oh ya, m, K, and k are constants.
 
Gah nevermind P isn't constant. I can't help you.
 
ya I was just going to point it out...I'll try and post what I have so far and maybe someone can help me from there
 
First, use algebra to show that:

kP(1-\frac{P}{K})(1-\frac{m}{P}) = -\frac{k}{K}(P - K)(P - m)

The differential equation is then:

\frac{1}{(P - K)(P - m)} dP = -k/K dt

Split the integrand on the left hand side using partial fractions, to get:

[\frac{1}{(K-m)(P-K)} + \frac{1}{(m-K)(P - m)}] dP = -\frac{k}{K} dt

Integrate both sides...

\frac{\ln (P-K)}{(K-m)} - \frac{\ln (P - m)}{K - m} = -\frac{k}{K}t + c1

Use log rules to combine the logs...

\frac{1}{K-m} \ln [\frac{P-K}{P-m}] = -\frac{k}{K}t + c1

Multiply by (K - m) and take exponentials of both sides...

\frac{P-K}{P-m} = A \exp (-k + km/K)t

Note that A, here, is a constant of integration, which must be determined from the boundary conditions. From here, it is simple algebra to get P as the subject. Doing that gives:

P(t) = \frac{Am \exp [(-k + km/K)t] - K]}{A \exp[(-k + km/K)t]}

If you know one value of P(t), you can determine A, and you're done.
 
what I have so far is:

dP (K/(K-P)(P-M)) = kt + c

no idea where I go from here so...help me out please.
 
wow...thank you...hah.
 
question...why is it -k/K in the first part
 
  • #10
It follows from the algebra. Check the first line of my working.

The way you split the constants between sides of the equation is arbitrary, so my way is not the only way to get to the solution. If you want to leave K on the dP side, as you have done a few posts above this one, that's ok. The working will be a little different, by the answer should be the same.
 
Back
Top