$\displaystyle u_y + 2yu = 0$

I have to solve this as ODE...How can it be done ? u is a function of x and y but I do not have any idea how to transform this equation into derivative of one variable only

Results 1 to 3 of 3

- May 9th 2009, 12:36 AM #1

- May 9th 2009, 03:03 AM #2

- May 9th 2009, 11:05 AM #3

- Joined
- Apr 2005
- Posts
- 19,801
- Thanks
- 3035

Or, since x appears neither explictely nor as a variable of differentiation, ignore the fact that it is a partial differential equation!

The problem $\displaystyle \frac{du}{dy}+ 2yu= 0$ can be written as $\displaystyle \frac{du}{dy}= -2yu$ and is a separable equation: $\displaystyle \frac{du}{u}= -2ydy$. Integrating, $\displaystyle ln(u)= -y^2+ C$ so, taking the exponential of both sides, $\displaystyle u= e^{-y^2+ C}= e^Ce^{-y^2}= C'e^{-y^2}$.

Finally, use the fact that we have been ignoring x- that is, treating it like a constant: the constant C' might be any function of x. If we call that "F(x)" then we have $\displaystyle u(x,y)= F(x)e^{-y^2}$ where F(x) is an arbitrary function of x, exactly the solution mr. fantastic got.