#18085: Symbolic integration and SymPy
-------------------------+----------------------------
   Reporter:  kalvotom   |            Owner:
       Type:  defect     |           Status:  new
   Priority:  minor      |        Milestone:  sage-6.6
  Component:  symbolics  |         Keywords:  sd66
  Merged in:             |          Authors:
  Reviewers:             |  Report Upstream:  N/A
Work issues:             |           Branch:
     Commit:             |     Dependencies:
   Stopgaps:             |
-------------------------+----------------------------
 The following integral cannot be evalueated by maxima:


 {{{
 sage: integrate(1/sqrt(1+x^3),x)
 integrate(1/sqrt(x^3 + 1), x)
 }}}


 With 'sympy' algorithm the computation fails:


 {{{
 sage: integrate(1/sqrt(1+x^3),x,algorithm='sympy')
 ...
 AttributeError: 'gamma' object has no attribute '_sage_'
 }}}


 However, SymPy can compute the integral and gives the result in terms of
 gamma and hypergeometric functions:


 {{{
 >>> from sympy import *
 >>> x = Symbol('x')
 >>> integrate(1/sqrt(1+x**3), x)
 x*gamma(1/3)*hyper((1/3, 1/2), (4/3,),
 x**3*exp_polar(I*pi))/(3*gamma(4/3))
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18085>
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 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/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to