# Thread:

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. $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 \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
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 2, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.927645206451416, "perplexity_flag": "middle"}