Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

$\frac{dP}{dt} = P - a$ assume that $a$ is a contant.

My solution.

$dP = \left(P-a\right)dt$

$\int \frac{\mathrm{d}P}{P-a} = \int \mathrm{d}t$

$\ln \vert P-a \vert = t + C$

$P-a = Ce^{t}$

$P = Ce^{t}+a$

share|improve this question
    
It is correct. To check, differentiate and check that the differential equation is satisfied. Then check that the initial condition is satisfied (in this case you have no initial condition). –  copper.hat Feb 22 '13 at 7:09
1  
If you just want to check your answer you can also try Wolfram|Alpha: wolframalpha.com/input/?i=dP%2Fdt+%3D+P-a –  in_wolfram_we_trust Feb 22 '13 at 7:24
add comment

1 Answer

up vote 1 down vote accepted

Your answer is pefectly all right.If you write some more steps it will be clear to you that it is all right.

Steps like ,

Let $x=P-a$ then we have $dx=dP$ so the integral becomes $\int\frac{dx}{x}=\int dt$

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.