Opened 3 years ago
Last modified 3 years ago
#22138 new defect
Wrong Maxima integral result for even exponents
Reported by: | paulmasson | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-7.6 |
Component: | symbolics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Not yet reported upstream; Will do shortly. | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
As reported on this ask question, the commands
var('n') assume(n,'integer') integral(x^n*sin(x),x)
produce the output
1/4*(((-1)^n - 1)*gamma(n + 1, I*x) - ((-1)^n - 1)*gamma(n + 1, -I*x))*(-1)^(-1/2*n)
which is identically zero for n
even. Possibly an issue with branches of exponential integrals. Possibly related to #17968.
Change History (2)
comment:1 Changed 3 years ago by
- Description modified (diff)
comment:2 Changed 3 years ago by
- Report Upstream changed from N/A to Not yet reported upstream; Will do shortly.
Note: See
TracTickets for help on using
tickets.
Don't forget to report upstream if possible.