#8582: sum(1/(1+k^2), k, -oo, oo) returns 0
-----------------------+----------------------------------------------------
 Reporter:  mvngu      |         Owner:  burcin    
     Type:  defect     |        Status:  closed    
 Priority:  major      |     Milestone:  sage-4.6.1
Component:  symbolics  |    Resolution:  fixed     
 Keywords:             |        Author:            
 Upstream:  N/A        |      Reviewer:            
   Merged:             |   Work_issues:            
-----------------------+----------------------------------------------------
Changes (by mvngu):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 This is fixed at ticket #10187 by upgrading to Maxima 5.22.1:

 {{{
 [mv...@sage sage-4.6.1.alpha3]$ ./sage
 ----------------------------------------------------------------------
 | Sage Version 4.6.1.alpha3, Release Date: 2010-12-05                |
 | Type notebook() for the GUI, and license() for information.        |
 ----------------------------------------------------------------------
 **********************************************************************
 *                                                                    *
 * Warning: this is a prerelease version, and it may be unstable.     *
 *                                                                    *
 **********************************************************************
 sage: k = var("k")
 sage: sum(1/(1+k^2), k, -oo, oo)
 1/2*I*psi(-I) - 1/2*I*psi(I) + 1/2*I*psi(-I + 1) - 1/2*I*psi(I + 1)
 sage: %maxima

   --> Switching to Maxima <--

 ''
 maxima: load(simplify_sum);
 
"/dev/shm/mvngu/sage-4.6.1.alpha3/local/share/maxima/5.22.1/share/contrib/solve_rec/simplify_sum.mac"
 maxima: display2d:false;
 false
 maxima:
 maxima: simplify_sum(sum(1/(1+k^2),k,-inf,inf));
 
-%i*(psi[0](%i+1)+%gamma)/2-%i*(psi[0](%i)+%gamma)/2+%i*(psi[0](-%i)+%gamma)/2+%i*(psi[0](1-%i)+%gamma)/2
 }}}

 So I'm closing this ticket as fixed.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8582#comment:3>
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