Is there a way to substitute the integration variable inside an Integral class. subs works on non integration variables, but not the integration variable.
>>> print Integral(sin(x**2),x) Integral(sin(x**2), x) >>> print Integral(sin(x**2),x).subs(x,y) # I want Integral(sin(y**2),y) Integral(sin(x**2), x) >>> print Integral(sin(x**2*y),x).subs(y,z) Integral(sin(z*x**2), x) This is important. I make the substitution u == f(x)/x or u == x/f(x) to do the integration for homogeneous equations, and without this functionality, it returns Integral(<stuff with u1 or u2>, <u1 or u2>), which is meaningless to the user who input dsolve(<first order homogeneous differential equation in f(x)>, f(x)). Aaron Meurer --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sympy?hl=en -~----------~----~----~----~------~----~------~--~---