-
-
Notifications
You must be signed in to change notification settings - Fork 660
Open
Description
(%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
but Sage has
sage: integral(sec(x), x, -pi/4, pi/4)
ValueError: Integral is divergent
because of the PV. See also #13511.
Upstream: Fixed upstream, but not in a stable release.
Component: calculus
Issue created by migration from https://trac.sagemath.org/ticket/17608