So, I'm trying to solve the following DE: $$y'=yt(3-y)$$
And I've gotten to: $$1/3(\ln y-\ln(3-y))=t^2/2+c$$ But, I'm having trouble figuring out why my solution isn't matching up. $$\ln y-\ln(3-y)=3(t^2/2+c)$$ $$\ln[y/(3-y)]=3(t^2/2+c)$$ $$e^{\ln[y/(3-y)]}=e^{3(t^2/2+c)}$$ $$y/(3-y)=e^{3(t^2/2+c)}$$ $$(3y^{-1}-1)^{-1}=e^{3(t^2/2+c)}$$ $$3y^{-1} -1=e^{-3(t^2/2+c)}$$ $$3y^{-1}=e^{-3(t^2/2+c)}+1$$ $$y^{-1}=1/3(e^{-3(t^2/2+c)}+1)$$ $$y=3(e^{-3(t^2/2+c)}+1)^{-1}$$
And the solution should be: $$y=3(e^{3(t^2/2+c)})(e^{3(t^2+c)}+1)^{-1}$$
Where am I messing up?
You got to \begin{eqnarray*} y=3(e^{-3(t^2/2+c)}+1)^{-1}. \end{eqnarray*} Now multiply top & bottom of the RHS by $e^{3(t^2/2+c)}$ and we have \begin{eqnarray*} y=3e^{3(t^2/2+c)}(1+e^{3(t^2/2+c)})^{-1} \\ y=\frac{3e^{3(t^2/2+c)}}{(1+e^{3(t^2/\color{red}{2}+c)})}. \\ \end{eqnarray*}