Re: [sage-devel] Extremely broad bug in Sage Integral Computations

2015-06-03 Thread Bill Page
On 2 June 2015 at 13:26, Gregory Bard wrote: > > Consider the integral of sqrt( cot(x)^2 ). I think we can all agree that > > sqrt( cot(x)^2 ) = abs( cot (x) ) =/= cot(x) > > ... That is probably exactly where the disagreement starts since sqrt can be considered a "multi-valued function" and one

[sage-devel] Extremely broad bug in Sage Integral Computations

2015-06-02 Thread Gregory Bard
Hi everyone. I have found a bug in how Sage computes integrals, but it seems to be the case that it can come up in a broad set of situations. This bug caused me tremendous embarrassment while teaching Calculus II last semester. Consider the integral of sqrt( cot(x)^2 ). I think we can all agre