Hi,
I was doing some symbolic integration and found a strange result. (I'm
using stable sympy 0.7.1. Sorry for the noise if this is a well known issue
already reported)
I symbolically integrate a function f
>>> f = symbols('f', cls=Function)
>>> t, x = symbols('t x')
>>> J = f(t).integrate((t,0,x))
>>> print J
Integral(f(t), (t, 0, x)) # fine
Now, when I differentiate J(x) :
>>> print J.diff(x)
f(x) + Integral(0, (t, 0, x))
I would have expected to get just f(x), and indeed the second term seems to
be zero, isn't it ?
Is there some additional command that I should call (I'm fairly new with
sympy). I tried simplify, without success.
Best,
Pierre
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sympy/-/O_ouWcJdU1QJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy?hl=en.