I believe my question is relatively easy but I'm not sure why I can't comprehend the concept anymore.
Given the equation, which models the population:
$\frac{dN}{dt}=cN(N-k)(1-N)$,
Obtain the solution of the differential equation with inital condition $N(0)=2$, assuming parameters $c=1$ and $k=\frac{1}{2}$.
So just inputting the parameters our equation becomes:
$\frac{dN}{dt}= N(N-\frac{1}{2})(1-N)$, $N(0)=2$.
So my first thought was separable equation but the differential with respect to $t$ is confusing me.
Is it the right method to turn it in to:
$\frac{1}{N(N-\frac{1}{2})(1-N)} dN = 1 dt$ and then continue on wards.
Or am I supposed to be getting the following:
$N(N-\frac{1}{2})(1-N) dt = 1 dN $
My instinct tells me it must be the first method but then I have no idea how I could integrate that function.
Any help/hints would be appreciated.
EDIT WITH FULL PERSONAL ATTEMPT
My personal attempt was as follows: $\int\frac{1}{N(N-\frac{1}{2})(1-N)} dN =\int 1 dt$
Taking partial fractions of the left side we get:
$-\int \frac{2}{N} dN + \int \frac{8}{2N-1}dN-\int\frac{2}{N-1} dN = \int 1dt$
This then leads us to: $-2ln\lvert N\rvert +4ln\lvert 2N-1\rvert-2ln\lvert N-1\rvert = t + C $
And after taking the initial condition $N(0)=2$ we find $C = 3$ hence the final equation should be as follows:
$-2ln\lvert N\rvert +4ln\lvert 2N-1\rvert-2ln\lvert N-1\rvert -3 = t $
However the question gave a hint regarding finding a quartic equation for $N$ which I did not find with my method so this leads me to believe there is an error of some sort with my method.