Please someone help me solve the following equation in terms of $y$:
$\frac{y^2}{2}+y = \frac{x^3}{3}+\frac{x^2}{2}+c_1$
The calculator gives me:
$y = \frac{1}{3}(\sqrt{3}\sqrt{c_1+2x^3+3x^2+3}-3), -\frac{1}{3}(\sqrt{3}\sqrt{c_1+2x^3+3x^2+3}-3)$
I do not know the procedure to get to the answer. Somebody help please. Thank you.
Since $$\frac{y^2}{2}+y = \frac{x^3}{3}+\frac{x^2}{2}+c_1\qquad\iff\qquad \frac12(y+1)^2-\frac12= \frac{x^3}{3}+\frac{x^2}{2}+c_1$$ It follows $$(y+1)^2=2\left(\frac{x^3}{3}+\frac{x^2}{2}+c_1\right)+1$$ Then $$y=-1\pm\sqrt{2\left(\frac{x^3}{3}+\frac{x^2}{2}+c_1\right)+1}$$