Comment #2 on issue 3829 by [email protected]: Should Integral.subs (and Subs(Integral)) on an indefinite integral return an integral with two limits
http://code.google.com/p/sympy/issues/detail?id=3829

Hi, I am +1 to the idea of subs acting on a definite integral, which substitutes the new value after the integral is evaluated.
This would also work in cases like,

1] Integral(x, x).subs(x, sin(x))
which should return
Integral(x, (x, sin(x)))
sin(x)
  ⌠
  ⎮    x dx
  ⌡

where xreplace gives a ValueError.

However I am a bit confused about what subs on a definite integral should do. Suppose
1] Integral(x, (x, 2, 3)).subs(x, y)
will return Integral(y, (y, 2, 3))

But what if, the new expression in subs is an expression in y,
For Example:
Integral(x, (x, 2, 3)).subs(x, y**2)
then one has to find the relationship between dx and dy. Or is it enough if a ValueError is returned?

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to