Re: Integrate with multiple integrals -- bug?

• To: mathgroup at smc.vnet.net
• Subject: [mg67418] Re: [mg67377] Integrate with multiple integrals -- bug?
• From: gardyloo <gardyloo at mail.wsu.edu>
• Date: Thu, 22 Jun 2006 06:22:07 -0400 (EDT)
• References: <200606210612.CAA08849@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```Hi, Martin,

Mathematica 5.2 (on Linux), and 5.1 (on Windows) give the expected
result (that is, the output of your In[4] gives the same as your Out[3]
). Perhaps this is a bug which is fixed in newer versions?

Best,
Curtis O.

Martin Schoenecker wrote:
> Hello,
>
> I am wondering where my or Mathematica's error in reasoning lies:
>
> In[1]:= Integrate[g[z], {x, 0, a}]
> Out[1]= a*g[z]
>
> ok, because the function g does not depend on x.
>
> In[2]:= Integrate[g[z], {z, 0, c}]
> Out[2]= Integrate[g[z], {z, 0, c}]
>
> ok, function g is not specified at the moment.
>
> In[3]:= Integrate[g[z], {z, 0, c}, {x, 0, a}]
> Out[3]= Integrate[a*g[z], {z, 0, c}]
>
> also ok.  Now with the integration order reversed:
>
> In[4]:= Integrate[g[z], {x, 0, a}, {z, 0, c}]
> Out[4]= a*g[z]
>
> ?? why this result ??
>
>
>

--
==========================================================
Curtis Osterhoudt
gardyloo at mail.remove_this.wsu.and_this.edu
PGP Key ID: 0x088E6D7A
Please avoid sending me Word or PowerPoint attachments
See http://www.gnu.org/philosophy/no-word-attachments.html
==========================================================

```