I'm getting confused as to what to do with the C's.(adsbygoogle = window.adsbygoogle || []).push({});

1. The problem statement, all variables and given/known data

[tex]\frac{{dy}}{{dx}} + 2xy = 0[/tex]

2. Relevant equations

Back of Book: [tex]y\left( x \right) = C\exp \left( { - x^2 } \right)[/tex]

3. The attempt at a solution

[tex]\begin{array}{l}

\frac{{dy}}{{dx}} = - 2xy\,\,\,\, \Rightarrow \,\,\,\,\frac{{dy}}{y} = - 2x\,dx\,\,\,\, \Rightarrow \,\,\,\,\frac{1}{y}dy = - 2x\,dx \\

\\

\int_{}^{} {\frac{1}{y}dy} = \int_{}^{} { - 2x\,dx} \\

\\

\ln \left( y \right) = \frac{{ - 2x^2 }}{2} + C\,\,\,\, \Rightarrow \,\,\,\,\ln \left( y \right) = - x^2 + C\,\,\,\, \Rightarrow \,\,\,\, \\

\\

\exp \left( {\ln \left( {y + C} \right)} \right) = \exp \left( { - x^2 + C} \right)\,\,\,\, \Rightarrow \,\,\,\, \\

\\

y + C = \exp \left( { - x^2 + C} \right)\,\,\,\, \Rightarrow \,\,\,\,y = \exp \left( { - x^2 + C} \right) - C \\

\end{array}[/tex]

The C from the y part is not necessarily the same C as from the x part, is it? How did they end up with only 1 C, and how did they get their C out of the parenthesis to end up multiplying by the right side?

Thanks in advance!

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Ode seperable eq.

**Physics Forums | Science Articles, Homework Help, Discussion**