Opened 4 years ago
Last modified 9 months ago
#17608 new defect
Fix Maxima integral giving principal value when not needed
Reported by: | kcrisman | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.5 |
Component: | calculus | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Fixed upstream, but not in a stable release. | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
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.
Change History (2)
comment:1 Changed 4 years ago by
- Summary changed from Allow use of principal value of integral if it's right to Allow use of principal value of proper integral
comment:2 Changed 9 months ago by
- Report Upstream changed from N/A to Fixed upstream, but not in a stable release.
- Summary changed from Allow use of principal value of proper integral to Fix Maxima integral giving principal value when not needed
Note: See
TracTickets for help on using
tickets.
Fixed in Maxima bug 2880, apparently.