Diff EQ- exponential raised to the exponential?

2 replies · 4K views · last reply
SmashtheVan
Messages
42
Reaction score
0

Homework Statement


Solve the equation:

[tex](x+xy^{2})dx + e^{x^{2}}y dy =0[/tex]

Homework Equations



n/a

The Attempt at a Solution



i) [tex]xdx(1+y^{2}) = -e^{x^{2}}y dy[/tex]
(multiply both sides by 2 to prepare for integration:

ii) [tex]\frac{-2xdx}{e^{x^{2}}}= \frac{2y dy}{1+y^{2}}[/tex]

integrate and get:
iii) [tex]\frac{1}{e^{x^{2}}}= ln(1+y^{2}) + C[/tex]

first integral was acheived from Maple, I am not sure if its what should be used here, but its what i have for now

iv) exponentiate both sides to remove natural log:

[tex]e^{e^{-x^{2}}}=1 + y^{2} + C[/tex]

v)combine constants, separate y

[tex]y^{2} = e^{e^{-x^{2}}} - C[/tex]

vi)square root of the system:

[tex]y=\sqrt{ e^{e^{-x^{2}}}} -C[/tex]Does this seem like a reasonable answer? I'm wary because of the occurrence of the exponential function, raised to the exponential function.
 
One thing that's nice about differential equations is that when you get a solution, you can check it by seeing if it satisfies the DE.

As a side note, you show the same C in your last three equations. Actually these are all different constants, plus the third equation does not follow from the second. sqrt(a + b) != sqrt(a) + sqrt(b).
 
Mark44 said:
As a side note, you show the same C in your last three equations. Actually these are all different constants, plus the third equation does not follow from the second. sqrt(a + b) != sqrt(a) + sqrt(b).

yea, I am still getting used to keeping track of my C's...thanks for that note

i don't know why i didnt think to substitute the solution back in. thanks!