Solve the following ODE: $$x^2+2y \cdot y'=0$$
Development:
It is a separable ODE, since we can manage to separate the $$x$$'s and the $$y$$'s and put them on each side of the equation: $$$2y\cdot y'=-x^2$$$ Now we transform $$y'=\dfrac{dy}{dx}$$
And we proceed as we have explained: $$$2y\cdot \dfrac{dy}{dx}=-x^2 \Rightarrow 2y\cdot dy=-x^2\cdot dx \Rightarrow \int 2y\cdot dy= \int -x^2\cdot dx \Rightarrow$$$ $$$\Rightarrow y^2=-\dfrac{x^3}{3}+C$$$ Now, we solve for $$y$$ in terms of $$x$$: $$$y(x)=\pm\sqrt{C-\dfrac{x^3}{3}}, \ C\in\mathbb{R}$$$ We observe that we have not obtained a unique solution. This is because $$f(x,y)=-\dfrac{x^2}{2y}$$ which is not continuous at $$y=0$$.
Solution:
$$y(x)=\pm\sqrt{C-\dfrac{x^3}{3}}, \ C\in\mathbb{R}$$