# Thread:

1. ## First-order nonlinear DE

Hello,
I tried searching similar DE-problems, but I couldn't find one. The problem is following differential equation:
$e^{x}y'+xe^{-y}=0$

So, it seems to be first-order nonlinear DE. But, I don't know how to solve it. I couldn't separe it, though I managed to separate simpler equations, but I think that's the right way to go.

Just got it to form,
$e^{-y}(e^{y+x}y'+x)=0$,

which obviously doesn't help anything...

Any help is appreciated. Thank you!

2. $y'=-\dfrac{xe^{-x}}{e^x}=-\dfrac{x}{e^{2x}}$

3. Originally Posted by Greg98
Hello,
I tried searching similar DE-problems, but I couldn't find one. The problem is following differential equation:
$e^{x}y'+xe^{-x}=0$

So, it seems to be first-order nonlinear DE. But, I don't know how to solve it. I couldn't separe it, though I managed to separate simpler equations, but I think that's the right way to go.

Just got it to form,
$e^{-y}(e^{y+x}y'+x)=0$,

which obviously doesn't help anything...

Any help is appreciated. Thank you!
Dear Greg98,

$e^{x}y'+xe^{-x}=0$

$\frac{dy}{dx}=-xe^{-2x}$

$y=-\int{xe^{-2x}}dx$

This integration could be done by integration by part method.....

Hope this helps.

4. Thanks for the help! Because of my omnipotent typing skills, I still need some advice (see original post). Sorry... I tried some logarithms to eliminate $e^{-y}$, but that didn't help.

5. $e^{x}y'+xe^{-y}=0$

$e^{x}y'+\dfrac{x}{e^{y}}=0$

divide both sides by $e^x$

$y'+\dfrac{x}{e^{x}\;e^{y}}=0$

multiply both sides by $e^y$

$y'\;e^y +\dfrac{x}{e^x}=0$

$e^y \frac{dy}{dx}=-\dfrac{x}{e^x}$

$e^y\;dy=-xe^{-x}\;dx$

finish...
{"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": 17, "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.3, "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.9737752079963684, "perplexity_flag": "middle"}