#13511: Allow access to principal values of integrals
-------------------------------+------------------------
       Reporter:  kcrisman     |        Owner:  burcin
           Type:  enhancement  |       Status:  new
       Priority:  major        |    Milestone:  sage-6.4
      Component:  calculus     |   Resolution:
       Keywords:               |    Merged in:
        Authors:               |    Reviewers:
Report Upstream:  N/A          |  Work issues:
         Branch:               |       Commit:
   Dependencies:               |     Stopgaps:
-------------------------------+------------------------

Comment (by kcrisman):

 Perhaps more importantly, sometimes the principal value returned is
 correct even without considering improper integrals!
 {{{

 (%i1) integral(sec(x), x, -%pi/4, %pi/4);
                                               %pi  %pi
 (%o1)                   integral(sec(x), x, - ---, ---)
                                                4    4
 (%i2) integrate(sec(x), x, -%pi/4, %pi/4);
 Principal Value
                          sqrt(2) + 2          sqrt(2) - 2
 (%o2)                log(-----------) - log(- -----------)
                               2                    2
 }}}
 See #17608.

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