#14723: Error when SymPy can't evaluate an integral
-----------------------------+---------------------------------------------
       Reporter:             |        Owner:  burcin
  eviatarbach                |       Status:  needs_work
           Type:  defect     |    Milestone:  sage-6.4
       Priority:  major      |   Resolution:
      Component:  calculus   |    Merged in:
       Keywords:  sympy,     |    Reviewers:
  integrate                  |  Work issues:  handle definite integrals too
        Authors:  Eviatar    |       Commit:
  Bach                       |     Stopgaps:
Report Upstream:  N/A        |
         Branch:             |
   Dependencies:             |
-----------------------------+---------------------------------------------
Changes (by {'newvalue': u'Eviatar Bach', 'oldvalue': ''}):

 * keywords:   => sympy, integrate
 * work_issues:   => handle definite integrals too
 * author:   => Eviatar Bach


Comment:

 The original case is now working in sympy:
 {{{
 sage: integrate(sin(x)*tan(x), x, algorithm='sympy')
 1/2*log(sin(x) + 1) - 1/2*log(sin(x) - 1) - sin(x)
 }}}
 so we need a more complicated one:
 {{{
 sage: integrate(sin(x)*tan(x)/(1-cos(x)), x, algorithm='sympy')
 integrate(-sin(x)*tan(x)/(cos(x) - 1), x)
 }}}
 However, comment:7 is right regarding definite integrals:
 {{{
 sage: integrate(sin(x)*tan(x)/(1-cos(x)), x, a, b, algorithm='sympy')
 integrate(-sin(x)*tan(x)/(cos(x) - 1), x)
 }}}

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