#13733: Incorrect integral in Maxima
------------------------+---------------------------------------------------
   Reporter:  kcrisman  |             Owner:  burcin  
       Type:  defect    |            Status:  new     
   Priority:  major     |         Milestone:  sage-5.6
  Component:  calculus  |          Keywords:          
Work issues:            |   Report Upstream:  N/A     
  Reviewers:            |           Authors:          
  Merged in:            |      Dependencies:          
   Stopgaps:            |  
------------------------+---------------------------------------------------
 See [http://ask.sagemath.org/question/1995/mistake-in-a-indefinite-
 integral this ask.sagemath.org question].

 {{{
 sage: integral(log(cot(x)-1),x,0,pi/4)

 ValueError: Integral is divergent.
 }}}
 But according to the poster it is pi log(2) / 8.  And indeed in the most
 recent Maxima (5.28) we have
 {{{
 (%i5) display2d:false;

 (%o5) false
 (%i6) integrate(log(cot(x)-1),x,0,%pi/4);

 Is %pi/8 an ?integer?

 n;
 Is %pi/4 an ?integer?

 n;
 Is 2*%pi an ?integer?

 n;
 (%o6) -(%i*(2*li[2](%i+1)-2*li[2](1-%i))+%pi*log(2))/4
  +%i*li[2]((%i+1)/2)/2-%i*li[2](-(%i-1)/2)/2
 }}}
 though with the interaction this is not an improvement we can immediately
 use.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13733>
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