Re: [sympy] dsolve fails to integrate simple ODE

2018-09-11 Thread Oscar Benjamin
Done: https://github.com/sympy/sympy/issues/15219 On Wed, 12 Sep 2018 at 00:30, Aaron Meurer wrote: > IndexError indicates a bug. Can you open an issue for it? > > Aaron Meurer > > On Tue, Sep 11, 2018 at 5:28 PM, Oscar Benjamin > wrote: > > Thanks for the quick response. I have one more

Re: [sympy] dsolve fails to integrate simple ODE

2018-09-11 Thread Aaron Meurer
IndexError indicates a bug. Can you open an issue for it? Aaron Meurer On Tue, Sep 11, 2018 at 5:28 PM, Oscar Benjamin wrote: > Thanks for the quick response. I have one more while I'm here: > > In [43]: eqn = exp(f(x).diff(x)-f(x)) > > > In [44]: eqn > > Out[44]: > > d > > -f(x) +

Re: [sympy] dsolve fails to integrate simple ODE

2018-09-11 Thread Oscar Benjamin
Thanks for the quick response. I have one more while I'm here: In [*43*]: eqn = exp(f(x).diff(x)-f(x)) In [*44*]: eqn Out[*44*]: d -f(x) + ──(f(x)) dx ℯ In [*45*]: dsolve(eqn, f(x)) ---

Re: [sympy] dsolve fails to integrate simple ODE

2018-09-11 Thread Aaron Meurer
The algorithms to solve it aren't implemented. In factored form, the equation can be solved by integrating as you mentioned. There is an issue to implement this algorithm, but it hasn't been done yet https://github.com/sympy/sympy/issues/6259. In expanded form it is a Euler equation, but the

[sympy] dsolve fails to integrate simple ODE

2018-09-11 Thread Oscar Benjamin
Hi, I'm not sure if I'm missing a trick but I've been trying to use dsolve and it seems it doesn't work in many simple cases. I've put some examples below, tested with sympy 1.2 installed using pip. I don't know if any of the below is me using dsolve incorrectly or should be considered a bug or