I tried solving this differential equation:
$$y'=y+y^2$$ I tried the substitution $$z=y^{-1}\\z'=-y^{-2}y'$$ and the differential equation becomes $z'+z=-1$ and now I have as solution $$z=ce^{-x}-1$$ and $$y=\frac{1}{ce^{-x}-1}$$ But the solution is not correct. Does someone can find my error?