Hi, I came across this while working on the lie group methods, Is this a bug or am I missing something quite obvious?
r, x = Symbols("r x") eq = Integral(1/sqrt(a0 + a1*x + a2*x**2 + a3*x**3 + a4*x**4), x) eq = eq.subs(x, r) print(eq.doit()) x/sqrt(a0 + a1*r + a2*r**2 + a3*r**3 + a4*r**4) This is because subs does not substitute for the variable with respect to which I am integrating. I would want eq = Integral(1/sqrt(a0 + a1*r + a2*r** 2 + a3*r**3 + a4*r**4), r) rather than eq = Integral(1/sqrt(a0 + a1*r + a2*r **2 + a3*r**3 + a4*r**4), x) . Is there a possible workaround? -- 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 http://groups.google.com/group/sympy. For more options, visit https://groups.google.com/groups/opt_out.