Solving a first order differentiation equation

3 replies · 1K views · last reply
Pouyan_1989
Messages
1
Reaction score
0
Homework Statement
I got dizzy with strange solutions
Relevant Equations
y'(t) = k(M-y)
If we have this D.E:

from Latex :
dy/dt = k(M - y), a first-order differential equation written as a fraction of derivatives.


if I try to solve it in this way:

Equation: integral of dy over k(M - y) equals integral of dt, written as an integral sign with 1 over k(M - y) times dy on the left and an integral of dt on the right.


My solution is :

Equation y = (kM - Ae^t) / k, where k, M and A are constants and t is the variable in the exponent.


Which is not correct

Another attempt :

Equation: integral of dy/(M - y) equals integral of k dt.


that gives me :

Equation y = M - Ae^(kt), where M and A are constants and k is the rate constant in the exponent.




What is wrong ?

I know I should write:

First-order linear differential equation y'(t) + ky = kM, written in LaTeX.


But why my integrations are wrong?
 
Because you have not done the integration correctly. If you do the integration correctly you will obtain the correct result.
 
You can do it!

Your second answer is very close. Try to show your work this time, so you can find where you might have made a small mistake in the ##e## term.

This isn't that important, but ##A## is an undetermined constant, so you'd write ##A## instead of ##-A## to simplify the answer as much as possible.
 
@Pouyan_1989 your both answers are incorrect. To find where you are wrong it will be very useful if you show your work in more details.