Re: Integrate with multiple integrals -- bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg67408] Re: Integrate with multiple integrals -- bug?
- From: Peter Pein <petsie at dordos.net>
- Date: Thu, 22 Jun 2006 06:21:33 -0400 (EDT)
- References: <e7aoij$8ua$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Martin Schoenecker schrieb: > 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 ?? > Wrong version ;-) In[3]:= Integrate[g[z], {z, 0, c}, {x, 0, a}] Out[3]= Integrate[a*g[z], {z, 0, c}] In[4]:= Integrate[g[z], {x, 0, a}, {z, 0, c}] Out[4]= Integrate[a*g[z], {z, 0, c}] In[5]:= $Version Out[5]= "5.2 for Linux x86 (64 bit) (June 20, 2005)"