Value of p for dp/dt to be maximum

In summary, the differential equation for the number of bacteria p(t) can be simplified to find the maximum value of dp/dt by setting the second derivative dp''/dt = 0. This results in two solutions for p'(t), p(t) = 0 and p(t) = 1. To determine which of these values will result in the maximum dp/dt, we can use the first derivative test by setting dp'/dt = 0. This leads to a third solution, p(t) = (1/(c+1))^(1/c). Changing the value of c will affect the value of pmax, which is the maximum value of p where dp/dt is maximum. It is important to consider the
  • #1
songoku
2,294
325
Homework Statement
Let p(t) denote the number of bacteria at time t measured so that the carrying capacity is reached when p = 1. The model of p(t) is:
$$\frac{dp}{dt}=\frac{k}{c} p(t)(1-p(t)^{c})$$
where k and c > 0

What is the value ##p_{max}## of ##p## does ##\frac{dp}{dt}## is maximum? What does changing the value of c do to the ##p_{max}##?
Relevant Equations
Integration and Differentiation
To find maximum of ##\frac{dp}{dt} \rightarrow \frac{d^{2} p}{dt^{2}}=0##
$$\frac{k}{c}p'(t)(1-p(t)^{c})-\frac{k}{c}p(t)(c.p(t)^{c-1}).p'(t)=0$$
$$p'(t)=0~\text{or}~p(t)=\left(\frac{1}{c+1}\right)^{\frac{1}{c}}$$

For p'(t) = 0 → p(t) = 0 or p(t) = 1

So I have 3 values of p(t), how to know which one will result in maximum ##\frac{dp}{dt}##?

I tried using sign diagram for 2nd derivative but the term ##\frac{k}{c}p'(t)(1-p(t)^{c})## and ##\frac{k}{c}p(t)(c p(t)^{c-1}).p'(t)## both are always positive so I can't determine the sign of their subtraction

Thanks
 
Last edited:
Physics news on Phys.org
  • #2
songoku said:
Homework Statement:: Let p(t) denote the number of bacteria at time t measured so that the carrying capacity is reached when p = 1. The model of p(t) is:
$$\frac{dp}{dt}=\frac{k}{c} p(t)(1-p(t)^{c})$$
where k and c > 0

What is the value ##p_{max}## of ##p## does ##\frac{dp}{dt}## is maximum? What does changing the value of c do to the ##p_{max}##?
Relevant Equations:: Integration and Differentiation

To find maximum of ##\frac{dp}{dt} \rightarrow \frac{d^{2} p}{dt^{2}}=0##
$$\frac{k}{c}p'(t)(1-p(t)^{c})-\frac{k}{c}p(t)(c.p(t)^{c-1}).p'(t)=0$$
$$p'(t)=0~\text{or}~p(t)=\left(\frac{1}{c+1}\right)^{\frac{1}{c}}$$
The above is easier to read if you use prime notation omit the "function of t" notation.
Find the maximum of p' by setting p'' = 0.
$$p' = \frac k c[p(1 - p^c)]$$
$$\Rightarrow p'' = \frac k c[p'(1 - p^c) + p(-cp^{c - 1})]$$
$$= \frac k c[p' - p'p^c - cp^c] = \frac k c[p'(1 - p^c) - cp^c]$$
$$p'' = 0 \Rightarrow p'(1 - p^c) = cp^c$$

I get p'(t) = 0, but I get something else for the other value you show for p'(t).
songoku said:
For p'(t) = 0 → p(t) = 0 or p(t) = 1

So I have 3 values of p(t), how to know which one will result in maximum ##\frac{dp}{dt}##?

I tried using sign diagram for 2nd derivative but the term ##\frac{k}{c}p'(t)(1-p(t)^{c})## and ##\frac{k}{c}p(t)(c p(t)^{c-1}).p'(t)## both are always positive so I can't determine the sign of their subtraction

Thanks
 
Last edited:
  • #3
Mark44 said:
$$\Rightarrow p'' = \frac k c[p'(1 - p^c + p(-cp^{c - 1}]$$
$$= \frac k c[p' - p'p^c - cp^c] = \frac k c[p'(1 - p^c) - cp^c]$$
$$p'' = 0 \Rightarrow p'(1 - p^c) = cp^c$$

I get p'(t) = 0, but I get something else for the other value you show for p'(t).
You are missing a ##p’## on the third term in the second line here. Perhaps the result of the unmatched parentheses on line 1? This propagates to the end result (to which ##p’ = 0## is also not a solution).
 
  • #4
Orodruin said:
Perhaps the result of the unmatched parentheses on line 1?
Well, there are the unmatched parens, but I also neglected to use the chain rule when I differentiated ##p^c##. Doh!
Thanks for pointing it out! I'm about to head out the door for an overnight trip, so I won't be able to make a complete correction.
 
  • #5
songoku said:
So I have 3 values of p(t), how to know which one will result in maximum dpdt?
Two of those correspond to ##p’ = 0## (which are also stationary points…) and the third is positive. Which of those is larger?
 
  • Like
Likes songoku
  • #6
Orodruin said:
Two of those correspond to ##p’ = 0## (which are also stationary points…) and the third is positive. Which of those is larger?
I should take the positive one.

Thank you very much Mark44 and Orodruin
 
  • #7
Please check and report exact wording of the question.
 
  • #8
epenguin said:
Please check and report exact wording of the question.
I posted the exact wording of the question
 
  • #9
OK I was confused by your answer, not seeing where your three solutions come from so as we have often expended efforts on what turned out to be not the real question - the phrase "What is the value pmax of p does dpdt is maximum?" does not quite make sense- I asked.

Maybe you are mixing up ##dp/dt=0## with ##d(dp/dt)/dp=0##, which latter has only one* solution?

*Practically - you might also say multiple coincident.
 
  • #10
epenguin said:
OK I was confused by your answer, not seeing where your three solutions come from
##p’ = 0## corresponds to two solutions for ##p## since ##p’ = p(1-p^c)##, the solutions being ##p=0## and ##p=1##. These are both stationary solutions to the differential equation (one stable and one unstable) since ##p’ =0##.

Now, ##dp’/dt = (dp’/dp) p’## so the zero of ##dp’/dp## will of course coincide with ##dp’/dt=0## if ##p’ \neq 0## so the result is the same.
 
  • #11
I get that these are solutions of the d.e. but that was not what the question was askin.
 
  • #12
epenguin said:
I get that these are solutions of the d.e. but that was not what the question was askin.
You misread me. They are also solutions to where ##p’## has time derivative zero and therefore has a possible max if you just consider ##dp’/dt##. Further investigation however results in those ##p’## being constant and zero, leaving the remaining solution.

As I stated, you can use either ##dp’/dt## or ##dp’/do##. The result is the same.
 
  • #13
Orodruin said:
As I stated, you can use either ##dp’/dt## or ##dp’/do##. The result is the same.
Did you mean ##dp'/dp## for the latter?
 
  • #14
Mark44 said:
Did you mean ##dp'/dp## for the latter?
Yes. New phone and fat fingers. 😉
 
  • #15
Orodruin said:
New phone and fat fingers.
That's a good one! I'll have to remember that when I make a typo! :oldbiggrin:
 
  • #16
Well if I may say so there seem to me to have been fat fingers in the thread from the start.
. I presume the question really was intended to be:
"What is the value pmax of p where dp/dt is maximum?
What does changing the value of c do to the pmax?
"

And I found calling that quantity "pmax" not overly helpful.

There is only one such maximum. Then, yes, the stationary points, not asked about, need be brought into a total account of the system.

It would be good if the student as well as completing the answer to the question stated what behaviour/s the model predicts which is the point of the exercise.
 
  • #17
Multiply out the right side before taking the derivative. It will be easier.
 
  • #18
Orodruin said:
Yes. New phone and fat fingers. 😉
If you differentiate with respect to p then you don't have to write p' at all and you don't get the spurious solution p'=0, so it's easier. It's like differentiating a polynomial.
 
  • #19
Prof B said:
If you differentiate with respect to p then you don't have to write p' at all and you don't get the spurious solution p'=0, so it's easier. It's like differentiating a polynomial.
Sure, but that is not what OP did. I was explaining why the answer was the same.
 
  • #20
Prof B said:
Multiply out the right side before taking the derivative. It will be easier.

That's exactly what I did originally, hence my initial puzzlement at the other solutions.

Doing just that gives you the answer to the question (which the OP did give).
The question and answer however are only useful as part of describing the behaviour of the system as a whole - which I think does not have a useful analytical solution.

This has not been done here.
 
  • #21
epenguin said:
The question and answer however are only useful as part of describing the behaviour of the system as a whole - which I think does not have a useful analytical solution.
The solution satisfies
$$
\frac{p}{(1-p^c)^{1/c}} = e^{t-t_0}
$$
This leads to
$$
p^c = (1-p^c) e^{c(t-t_0)},\qquad
p^c (1+e^{c(t-t_0)}) = e^{c(t-t_0)} \qquad
p = \left(\frac{1}{1+e^{-c(t-t_0)}}\right)^{1/c}
$$

… unless I made arithmetic errors along the way …

I might have put k=c but I really don’t want to trace it at the moment. Probably changes c to k in the exponent …
 
  • #22
Orodruin said:
The solution satisfies
$$
\frac{p}{(1-p^c)^{1/c}} = e^{t-t_0}
$$
This leads to
$$
p^c = (1-p^c) e^{c(t-t_0)},\qquad
p^c (1+e^{c(t-t_0)}) = e^{c(t-t_0)} \qquad
p = \left(\frac{1}{1+e^{-c(t-t_0)}}\right)^{1/c}
$$

… unless I made arithmetic errors along the way …

I might have put k=c but I really don’t want to trace it at the moment. Probably changes c to k in the exponent …
I'm sure you'll get it right. Is that standard theory?
Could you set out the solution more completely?

All I was saying above is that one ought to set out a brief statement in words of the behaviour or the population predicted by this model, for which an analytical solution is not necessary.
 
  • #23
epenguin said:
Could you set out the solution more completely?
You have ##dp/dt = f(p)##. This is separable:
$$
\frac{dp}{f(p)} = dt
$$
so integrate both sides and solve for ##p(t)##.
 
  • #24
Aaargh that's what I thought several times - and then concluded somehow it was wrong... :H have not been feeling too well of recent.

Perhaps Songaku will want to complete the analytical and qualitative analysis of this system.
 
  • #25
I mean, even if it is separable that is no guarantee that you can write ##p(t)## on a simple form. It just so happens to be the case here.
 
  • #26
Quite, and I for some reason had taken a standard solvable type for the other type.
 

1. What is the significance of finding the maximum value of dp/dt?

The maximum value of dp/dt represents the rate of change of pressure with respect to time. This can be useful in various scientific fields, such as fluid mechanics, thermodynamics, and chemistry, to understand the behavior of systems and processes.

2. How is the maximum value of dp/dt determined?

The maximum value of dp/dt can be determined by taking the derivative of the pressure function with respect to time and setting it equal to zero. This will give the critical point or points where the maximum value occurs.

3. What factors can affect the value of p for dp/dt to be maximum?

The value of p for dp/dt to be maximum can be affected by various factors, such as temperature, volume, and the properties of the substance or system being studied. Changes in these factors can alter the rate of change of pressure over time.

4. Can the maximum value of dp/dt change over time?

Yes, the maximum value of dp/dt can change over time as the factors affecting it can also change. This is why it is important to continuously monitor and analyze systems and processes to understand their behavior and make necessary adjustments.

5. How is the maximum value of dp/dt used in real-world applications?

The maximum value of dp/dt is used in various real-world applications, such as designing and optimizing engines, predicting weather patterns, and understanding the behavior of chemical reactions. It can also be used to troubleshoot and identify issues in systems where pressure plays a critical role.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
338
  • Calculus and Beyond Homework Help
Replies
6
Views
306
  • Calculus and Beyond Homework Help
Replies
7
Views
290
  • Calculus and Beyond Homework Help
Replies
3
Views
827
  • Calculus and Beyond Homework Help
Replies
3
Views
497
  • Calculus and Beyond Homework Help
Replies
6
Views
539
  • Calculus and Beyond Homework Help
Replies
12
Views
2K
  • Calculus and Beyond Homework Help
Replies
12
Views
994
  • Calculus and Beyond Homework Help
Replies
24
Views
801
  • Calculus and Beyond Homework Help
Replies
7
Views
558
Back
Top