general solution of (dP/dr)= P^2
use power rule I am thinking that is perimeter and radius?
I think the answer is P=(Ce^r)^(1/2) but I just need to be sure
You can check your answer by taking the derivative and seeing if your equation substituting your solution gets you an undeniably true equation (like 0 = 0 is always true).
separate the variables and integrate \[\int\limits \frac{ dP }{ P^2 }=\int\limits dr\] \[\int\limits P ^{-2}dP=r+c,\frac{ -1 }{P }=r+c\]
okay, this is interest rate
right I did that and I got \[\ln (P^2)=r\] then I have to solve for P so for that I got \[P^2= e^{r+c}\]
which is also \[P^2= (e ^{r})(e^c)\]
then (because of my teacher) I have to substitute C for e^c that makes the whole thing if \[ C=e^c \] then \[P^2=Ce^r\]
Can we back up? (I can see where you are going to get to the solution you found). Where did you get: \( \ln \left( P^2 \right) = r \) from? From separating the variables and integrating?
yes
actually ln(P^2)=r+c
my bad. I always forget to add in the c
Ohh, I can see what you did. Careful, this is not always true: \( \displaystyle \int \frac{1}{x^n} \ dx = \ln x^n + c \) In fact, it only works for n=1. \( \displaystyle \int \frac{1}{x} \ dx = \ln x^1 + c \) In any other case, we use power rule on a negative power: \( \displaystyle \int \frac{1}{x^n} \ dx = \int x^{-n} \ dx = \frac{x^{-n+1}}{-n+1} + c \) Notice that this latter integral /only/ fails on n=1, where the denominator is 0.
Errrr... so its \[(P^-2)/2= e ^{r+c}\]
no its not even that its ((P^-2)/2)=r+c
Allmosttt, The power was originally -2. We have to add 1 to the power and divide that off.
Sorry please be patient with me. So it's (P^-1/-1)
It's fine. :) and yes, there you go! P^(-1) / -1 = r + c is good now.
aww I was so excited I thought I had the right answer. Now I have to rework the whole thing. Hang on.
So the general solution of (dP/dr)=P^2 is P= 1/(r+c)
you missed a very small detail from P^(-1) / -1 = r + c
the negative
damn.
ok its -1/(r+c)
yes. easy to miss but important. Don't feel bad though, we always make mistakes, and it is good to learn from those happy little accidents. :p
Okay thanks! You have been so helpful otherwise I would have missed 20 points on a take home math test!
if you are ever uncertain, too, we always have the ability to check just by substituting back into the original equation. finding P^2 and dP/dr and substituting back into the original equation will always create a true equation in the end if P is correct.
Okay thanks again!
glad to help! :)
Join our real-time social learning platform and learn together with your friends!