#12438: Definite integral should not depend on the dummy variable
-------------------------+--------------------------------------------------
   Reporter:  novoselt   |          Owner:  burcin  
       Type:  defect     |         Status:  new     
   Priority:  major      |      Milestone:  sage-5.0
  Component:  symbolics  |       Keywords:          
Work_issues:             |       Upstream:  N/A     
   Reviewer:             |         Author:          
     Merged:             |   Dependencies:          
-------------------------+--------------------------------------------------
 Consider the following:
 {{{
 sage: f(x) = x; f
 x |--> x
 sage: integral(f, x)
 x |--> 1/2*x^2
 sage: integral(f, x, 0, 1)
 x |--> 1/2
 }}}
 The last integral has not "happened" to be constant - it does not depend
 on x mathematically, so it should not depend on x in Sage.

 Multivariate case:
 {{{
 sage: f(x, y) = x + y
 sage: f
 (x, y) |--> x + y
 sage: integral(f, x, 0, 1)
 (x, y) |--> y + 1/2
 sage: _(3)
 y + 1/2
 }}}
 `integral(...)` here should return a symbolic function that depends on y
 only, so that the last evaluation gives `7/2` (and there are no warning
 about unnamed evaluation - the order of variables is the same as for the
 original function with one variable dropped).

 See discussion here: http://groups.google.com/group/sage-
 devel/browse_thread/thread/1309eeae0714be79

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12438>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en.

Reply via email to