I am trying to solve this DE:
DSolve[{r'[t] == r[t]^2/3 (1 - r[t]), r[0] == 2}, r[t],
t] // Simplify
For which I get the solution
InverseFunction[Log[1 - #1] - Log[#1] + 1/#1 &][
1/2 + I \[Pi] - t/3 - Log[2]]
After plotting the solution
Plot[InverseFunction[Log[1 - #1] - Log[#1] + 1/#1 &][
1/2 + I \[Pi] - t/3 - Log[2]], {t, 0, 20}, PlotRange -> All,
PlotPoints -> 100]
I get
However, the numerical solution using NDSolve results in:
How can I fix my DSolve result? I suspect the root finding process in the inverse function is a candidate? Because when I run
Table[{t,
InverseFunction[Log[1 - #1] - Log[#1] + 1/#1 &][
1/2 + I \[Pi] - t/3 - Log[2]]}, {t, 0, 20, 0.5}]
some of the elements are not evaluated:
{{0., InverseFunction[Log[1 - #1] - Log[#1] + 1/#1 &][-0.193147 + 3.14159 I]}, {0.5, InverseFunction[Log[1 - #1] - Log[#1] + 1/#1 &][-0.359814 + 3.14159 I]},...
I am running MMA 10.3 on Windows 7.
PlotPoints -> 100
help? $\endgroup$