What am I doing wrong?

>>> from sympy import *       # Version 1.13.2
>>> x = symbols("x")
>>> f = x / (x+1)
>>> f
x/(x + 1)
>>> integrate(diff(f,x),x)    # should be x/(x+1)
-1/(x + 1)

diff seems correct - what about integrate?

Can anyone help?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sympy/d7a30650-927c-43a1-af32-5304a135d8a3n%40googlegroups.com.

Reply via email to