I am trying to evaluate the equation:
$$y'=y\left(y^2-\frac12\right)$$
I multiplied the y over and tried to solve it in seperable form (M and N). The partial deritives did not work out to be equal to eachother so I am now stuck finding an integrating factor. Is this the right approach?
Separation will work, just that partial fractions have to be dealt with: $$\int\frac1{y(y^2-1/2)}\,dy=\int1\,dx$$ $$\int\left(\frac{4y}{2y^2-1}-\frac2y\right)\,dy=\int1\,dx$$ $$\ln(2y^2-1)-2\ln y=\ln\frac{2y^2-1}{y^2}=x+K$$ $$\frac{2y^2-1}{y^2}=2-\frac1{y^2}=Ae^x$$ $$y=\pm\frac1{\sqrt{2-Ae^x}}$$