I am trying to integrate y.(dy/dx) wrt x
I know the answer is (y^2)/2 but I don't know how to get the answer. Can someone please point me in the right direction
You have the following equality
$\displaystyle \frac{d}{dx}y^2(x)=2y\frac{dy}{dx}$
If two things are the same, their integrals should also be the same. So, integrate both sides and see what happens to the left hand side of the equation