Find a local solution for the following initial value problem $$y' = (y+1)^3, \qquad y(0)=0$$
I have approached this using separation of variables and obtained
$$y=\sqrt{-\frac{1}{2x-1}}-1$$
locally, of course. However, differentiating this yields
$$y'=\left(\frac{1}{-2x+1} \right)^{2.5}$$
which doesn't solve the general differential equation above. What have I done wrong?
Edit: Added the computation of $y'$:
$$y'=\frac{1}{2}\left( -\frac{1}{2x-1} \right)^{-\frac{1}{2}}\cdot\left((-2x+1)^{-1} \right)'=\frac{1}{2}\left( -\frac{1}{2x-1}\right)^{-\frac{1}{2}}\cdot 2\cdot (-2x+1)^{-2}=\frac{1}{(-2x+1)^{2.5}}$$
The constant solution $y=-1$ can be ruled out because of the initial condition. Any other solution is given implicitly by $$ \int \frac{1}{(y+1)^3} dy = \int dx \Leftrightarrow \frac{(y+1)^{-2}}{-2} = x + C $$
since $y(0)=0$, we get $C=-\frac 12$, which means that $$ \frac{1}{(y+1)^2} = -2x+1\Leftrightarrow (y+1)^2 = \frac{1}{-2x+1}\Leftrightarrow y = -1 + \sqrt{\frac{1}{-2x+1}} $$
This function (which you also obtained) solves the differential equation.