Comment #2 on issue 1604 by asmeurer: Misapplication of integration by parts http://code.google.com/p/sympy/issues/detail?id=1604
Actually, it isn't that easy either, because we probably want things like integrate(f(x).diff(x), x) or (if we ever fix issue issue 1620) integrate(f(g(x)).diff(x), x) to work. I don't know what the solution to this is. The Risch algorithm wants functions that can be expressed as functions of themselves (or whose nth derivative can be expressed as a function of itself, in the case of the Risch-Norman algorithm), but an anonymous f(x) does not hold this property.
I will have to think about this one. Until then, we should probably just special case integrate(Derivative) and let the other things go unevaluated. Maybe we could somehow pass it to dsolve() as I suggested above.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. 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-issues?hl=en.
