From: SourceForge.net <noreply@so...>  20040715 14:45:19

Bugs item #991628, was opened at 20040715 10:45 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=991628&group_id=4933 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Stavros Macrakis (macrakis) Assigned to: Nobody/Anonymous (nobody) Summary: integrate(x^n,x,a,b) wrong for a<0<b Initial Comment: integrate(x^n,x,a,b); Is n positive, negative, or zero? neg; Is n + 1 zero or nonzero? n; Is b  a positive, negative, or zero? pos; => b^(n+1)/(n+1)a^(n+1)/(n+1) (NO!) This is incorrect for (e.g.) n=2, a<0<b: integrate(x^2,x,a,1); Is a  1 positive, negative, or zero? neg; => Integral is divergent (OK) Same thing, but a more dramatic demo: assume(equal(a,1),equal(b,1),equal(n,2)); integrate(x^n,x,a,b) => b^(n+1)/(n+1)a^(n+1)/(n+1) (NO!) vs. integrate(x^2,x,1,1) => Divergent (OK) Also assume(equal(n,2)); integrate(x^n,x,1,1); => (1)^n/(n+1)+1/(n+1) (NO!)  You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=104933&aid=991628&group_id=4933 