Answer
$y=Ae^{\frac{x^2}{2}}$
Work Step by Step
We are given that $\dfrac{dy}{dx}=xy$
We will separate the variables to obtain:
$\dfrac{dy}{y}=x dx$
Integrate to obtain:
$\int \dfrac{dy}{y}=\int x dx$
This implies that $\ln |y|=\dfrac{x^2}{2}+C$
or, $e^{\ln |y|}=e^{\frac{x^2}{2}}+C$
Therefore, we have: $y=Ae^{\frac{x^2}{2}}$