Yes, integral does not handle abs correctly.

sage: integral(abs(x),x)
integrate(abs(x), x)

sage: integral(max(x,-x),x)
x^2/2

If that's for sure a bug coming from maxima, I hope someone it can be
reported to their bug list.
I can see that it has been reported by David to the maxima-user list,
but somehow it does not show up in either the user or the bug list of
maxima. Isn't that strange?


On Nov 19, 9:33 am, "David Joyner" <[EMAIL PROTECTED]> wrote:
> Thanks for reporting this. I emailed the maxima users list.
>
> On Wed, Nov 19, 2008 at 11:50 AM, pong <[EMAIL PROTECTED]> wrote:
>
> > Maybe someone has reported this already... but looks like there is a
> > bug in integral
>
> > sage: integral(x*abs(9-x^2), x, -6, 0)
> > 162
>
> > The integrand is negative on (-6,0)
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to