I just started learning about Differential Equations and there's this equation that I had problems with:
$$yy' =-x$$
I know that it's a separable ODE and that I can integrate both sides. The right side is then going to be $-\frac{x^2}{2}+c$ but I'm not sure how to go about the left side. I know that the solution is $\frac{y^2}{2} = -\frac{x^2}{2}+c$ but why is the left side equal to that? Usually $\frac{y^2}{2}$ is the anti-derivative of $y$ and not $yy'$. What am I missing here ?
Thanks.