Opened 5 years ago
Last modified 2 years ago
#17109 new defect
Wrong indefinite integral of some odd functions between opposite endpoints
Reported by: | tmonteil | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-6.4 |
Component: | symbolics | Keywords: | maxima |
Cc: | jakobkroeker | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | Reported upstream. No feedback yet. | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: | wrongAnswerBug |
Description
As reported on this ask question, Maxima seems to know that integrating an odd function between two opposite endpoints leads to zero, however it applies this rule even when the integral is not defined:
sage: integrate(sin(x), x, -oo, oo) 0 sage: integrate(tan(x), x, -oo, oo) 0
However,
sage: integrate(arctan(x), x, -oo, oo) ValueError: Integral is divergent.
Change History (3)
comment:1 Changed 5 years ago by
- Report Upstream changed from N/A to Reported upstream. No feedback yet.
comment:2 Changed 5 years ago by
Thanks !
comment:3 Changed 2 years ago by
- Cc jakobkroeker added
- Stopgaps set to wrongAnswerBug
Note: See
TracTickets for help on using
tickets.
I've reported this upstream here. You are right that this is not the usual definition of such an improper integral - though of course sometimes it's fun to mess with students this way!