getting the wrong answer for separating a differential equation

42 Views Asked by At

Here is the equation $$ x^5 ye^{y^2}y' = 1 $$

Separating x and y I get : $$ ye^{y^2}\frac{dy}{dx} = \frac{1}{x^5} $$

Then:

$$ \int{ye^{y^2}dy} = \int{\frac{1}{x^5} dx} $$

Then integrating both sides I get:

$$ \frac{e^{y^2}}{2}=\frac{-1}{4x^4} +C $$

This is my attempt, am I doing something wrong here?