I would like to solve the following non-linear ordinary differential equation:

$$\frac{dx}{dt} = A \frac{ (1-x)}{(t-t^2)} - \frac{(B*x -C*x^2)}{(t-t^2 )*(t-x)}$$

-I need an analytic solution.

-I don't know where to start (the 2 terms make it difficult), therefore I tried to use Wolfram-Alpha/ Mathematica. See here

-It seems however that even Wolfram-Alpha / Mathematica is not able to solve it (computation time out).

-Can someone help me out?

  • $\begingroup$ Maybe you can use partial fraction decomposition to simplify the expression. But I'm not certain that would help much. I wouldn't be suprised Mathematica already tried that. $\endgroup$ – Nihl Jun 9 '15 at 8:36
  • $\begingroup$ @Nihl For the 2nd term you mean? $\endgroup$ – student441 Jun 9 '15 at 8:47
  • $\begingroup$ It can also be used for the first. $\frac{1}{t-t^2}$ can be written as a combinaison of $\frac{1}{1-t}$ and $\frac{1}{t}$. $\endgroup$ – Nihl Jun 9 '15 at 9:34
  • $\begingroup$ @Nihl Thanks for the suggestion, but it doesn't work out.. wolfram can then still not solve it.. $\endgroup$ – student441 Jun 9 '15 at 12:01
  • $\begingroup$ Did you use Wolfram-alpha AND Mathematica? They are not the same thing. I'm saying this because there is no "computation time out" on Mathematica. Mathematica is a software that runs on your computer (it's not online), therefore it doesn't impose time limits for computations. $\endgroup$ – Integral Jun 9 '15 at 14:04

Let $u=t-x$ ,

Then $x=t-u$






This belongs to an Abel equation of the second kind.

In fact all Abel equation of the second kind can be transformed into Abel equation of the first kind.

Let $u=\dfrac{1}{v}$ ,

Then $\dfrac{du}{dt}=-\dfrac{1}{v^2}\dfrac{dv}{dt}$



Please follow the method in http://www.hindawi.com/journals/ijmms/2011/387429/#sec2

  • 1
    $\begingroup$ Using insights from this answer, I derived a parametric solution for B = C = -A and posted it under Mathematica. $\endgroup$ – bbgodfrey Jun 12 '15 at 1:16
  • $\begingroup$ Yes, Maple confirms the type: DEtools[odeadvisor](eq,x(t)); gives [_rational, [_Abel, 2nd type, class B]] and class B is described more in this paper arxiv.org/pdf/math-ph/0001037.pdf in the appendix it gives a model ODE of this class and its solution. $\endgroup$ – Nasser Jun 12 '15 at 2:08

I tried to use Mathematica to solve your problem and it solved pretty fast. Here is what I've done.


  • 1
    $\begingroup$ Could you please post the code you use as text? I tried your code using DSolve[x'[t] == A*(1 - x[t])/(t - t^2) - (B*x[t] - C*x[t]^2)/((t - t^2)*(t - x[t])), x[t], t] but it doesn't seem to work for me. $\endgroup$ – dreamer Jun 9 '15 at 16:19
  • $\begingroup$ @Integral Same problem here.. $\endgroup$ – student441 Jun 9 '15 at 16:46
  • $\begingroup$ @dreamer That is it, your code is right. I just try your code here and is working fine. Maybe the problem is the version you are using. Mathematica 10.0 is the one I use. $\endgroup$ – Integral Jun 9 '15 at 16:47
  • 2
    $\begingroup$ @Integral MMA should return a solution involving a constant of integration (i.e. C[1]) for the problem you gave. Would you be able to restart the kernel and try for this solution again? $\endgroup$ – Ian Jun 10 '15 at 16:50
  • 1
    $\begingroup$ @Integral Please try back-substituting your solutions into the equation. When I do so, I do not get 0. $\endgroup$ – bbgodfrey Jun 11 '15 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.