I'm solving past exam questions in preparation for an Applied Mathematics course. I came to the following question. If it's any indication of difficulty, the exercise is only Part 1-A of the sheet so it's supposed to be pretty easy
Solve the initial value problem $y' = \alpha y - y^2$ with $y(0)=y_0 \neq 0$ and $\alpha > 0$
The problem is, I can't seem to be able to deal with that $y^2$, as in my methodology I am urged to integrate over $\frac{dy}{dt}$, and the square ruins that.
Any help would be greatly appreciated.
$$y'=\alpha y-y^2$$ $$y'-\frac{\alpha^2}{4}=\alpha y-y^2-\frac{\alpha^2}{4}$$ $$\frac{dy}{dx}-\frac{\alpha^2}{4}=-(y-\frac{\alpha}{2})^2$$ $$\int\frac{dy}{\frac{\alpha^2}{4}-(y-\frac{\alpha}{2})^2}=\int dx$$ which can then be solved.