Thread: Simple first order diff. eq

1. Simple first order diff. eq

Hi! I have a simple question that i cant get thorugh at the moment. I have a differential equatoin of the form:

y' = C - y

where y' = dy/dt

How can I solve this. I cant do separation of variables here. Help plz

2. $\displaystyle y'=C-y\Leftrightarrow \dfrac{dy}{C-y}=dx$ (separated variables) .

3. Do you mean you aren't allowed to do separation of variables? Or that you don't think separation of variables will work for this problem? Because you can do separation of variables. You could also do an integrating factor if you wanted. And probably a few other techniques as well.

4. Originally Posted by Zogru11
Hi! I have a simple question that i cant get thorugh at the moment. I have a differential equatoin of the form:

y' = C - y

where y' = dy/dt

How can I solve this. I cant do separation of variables here. Help plz
\displaystyle \displaystyle \begin{align*}\frac{dy}{dt} &= C - y \\ \frac{dy}{dt} + y &= C \\ e^{\int{1\,dt}}\,\frac{dy}{dt} + e^{\int{1\,dt}}\,y &= C\,e^{\int{1\,dt}} \\ e^t\,\frac{dy}{dt} + e^t\,y &= C\,e^t \\ \frac{d}{dt}\left(e^t\,y\right) &= C\,e^t \end{align*}

Can you go from here?

5. No I just didnt realise I was able to do separation of variables :P Thanks for all the answers