Message from discussion
Serious bug in integral using Maxima?
Received: by 10.90.196.18 with SMTP id t18mr3000144agf.14.1250646520355;
Tue, 18 Aug 2009 18:48:40 -0700 (PDT)
Received: by 10.90.196.18 with SMTP id t18mr3000143agf.14.1250646520274;
Tue, 18 Aug 2009 18:48:40 -0700 (PDT)
Return-Path: <gmhoss...@gmail.com>
Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.246])
by gmr-mx.google.com with ESMTP id 13si847046gxk.6.2009.08.18.18.48.39;
Tue, 18 Aug 2009 18:48:39 -0700 (PDT)
Received-SPF: pass (google.com: domain of gmhoss...@gmail.com designates 209.85.132.246 as permitted sender) client-ip=209.85.132.246;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gmhoss...@gmail.com designates 209.85.132.246 as permitted sender) smtp.mail=gmhoss...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by an-out-0708.google.com with SMTP id c3so1606662ana.26
for <sage-devel@googlegroups.com>; Tue, 18 Aug 2009 18:48:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:in-reply-to:references
:from:date:message-id:subject:to:content-type
:content-transfer-encoding;
bh=P8xp6z6RWVohpJbigWqwcHOJiMC1QgE2i8P2f+L5w2I=;
b=x0LNpZFepa2iRPGxzoAhs7YWSDQn0HQR36fMt1WAI3fjZkUcgR64m0+SvCRCc1eqbX
gq7xGgWxvU2s6pH0SlutJ+lQzLomUBDHJSZBZQTcNJU5wPbi2v7Lh+R3rywp8ZUWY5z4
4QY+qPwDbpp20I4O6pNMmJWlUBVIxPxw6PduY=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to
:content-type:content-transfer-encoding;
b=Rr1F+/AnC2OKjwwzCqRadyfjWJ4vLKH1YBdtID5PVVzXvSb9tBhzt39A/sfZKFdP5J
55wQWfs6IL2os8Zt7AzrHcG/tot+wdlzJFg9qDBRDgzN0vehJEyIcbQc06mAkFPw+VEB
J7AaKOCiBGsxPOZciTmLNdjUGdKY4fviiWL7U=
MIME-Version: 1.0
Received: by 10.231.37.141 with SMTP id x13mr3534690ibd.39.1250646519085; Tue,
18 Aug 2009 18:48:39 -0700 (PDT)
In-Reply-To: <23584793-3e85-49f3-82bb-492f8d8b5410@d15g2000prc.googlegroups.com>
References: <141c154a0908180351w32511aax54d98a0df0fe...@mail.gmail.com>
<23584793-3e85-49f3-82bb-492f8d8b5...@d15g2000prc.googlegroups.com>
From: Golam Mortuza Hossain <gmhoss...@gmail.com>
Date: Tue, 18 Aug 2009 22:48:19 -0300
Message-ID: <141c154a0908181848p67e2d31ev4af175bfd3996...@mail.gmail.com>
Subject: Re: [sage-devel] Re: Serious bug in integral using Maxima?
To: sage-devel@googlegroups.com
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi,
On Tue, Aug 18, 2009 at 8:42 PM, rjf<fate...@gmail.com> wrote:
>
> did you mean to integrate with respect to "x^2" ?
Yes.
> Well, x^2 doesn't occur in =C2=A0 f(x). =C2=A0So let's rename x^2 as y.
> What is the integral of f(x) with respect to y?
>
> It is y*f(x).
>
> substituting back x^2 for y, =C2=A0you get x^2*f(x).
Are you saying during integration maxima is not aware
that "x^2" is the square of "x"?
Take following examples:
----------
(%i4) integrate(log(x), x);
(%o4) x log(x) - x
(%i5) integrate(log(x^2), x^2);
2
(%o5) 2 x log(x)
----------
"log" is certainly aware of it.
> Certainly Maxima expects "the variable of integration" as
> the second argument. =C2=A0Anything else is asking for trouble.
Then maxima should throw error instead of giving a wrong
answer silently. This is rather bizarre given maxima is known
to be over-cautious during integration and sometime
it asks too many questions, even something like
--------
(%i6) integrate(1/x, x, 0, 1);
Is x + 1 positive, negative, or zero?
--------
Cheers,
Golam