As indicated [here]( https://www.physicsforums.com/threads/integrating-wrt-a-function.384189/), in such cases one may compute `integrate(f(x), g(x))` as `integrate(f(x)*g(x).diff(x), x)`
On Tuesday, May 14, 2019 at 2:03:57 PM UTC-5, Chris Smith wrote: > > There is a question here > <https://stackoverflow.com/questions/55816164/performing-integral-transformation-fails-in-sympy-under-python-2-7-13> > > about integrating `cos(x)**2` wrt `sin(x)` -- which is something that is no > longer permitted in current versions of SymPy and this is not a permitted > transform since solution of `u - sin(x)` does not yield a unique solution. > Is this something that SymPy should be handling? > > /c > -- 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 sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/7f0daa93-5cba-4446-9391-5da10611832e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.