MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Mathematica Integration help

  • To: mathgroup at
  • Subject: [mg86178] Re: [mg86156] Re: Mathematica Integration help
  • From: Daniel Lichtblau <danl at>
  • Date: Wed, 5 Mar 2008 03:38:24 -0500 (EST)
  • References: <fqetdm$jjs$> <fqghfq$f5c$> <>

Francogrex wrote:
> On Mar 3, 10:47 am, Jens-Peer Kuska <ku... at>
> wrote:
>>look what happens when you compute from:
>>res = Integrate[
>>   Product[1/(E^((Subscript[x, i] - \[Mu])^2/(2*\[Sigma]^2))*
>>       Sqrt[2*Pi*\[Sigma]^2]), {i, 1, n}], \[Mu]]
>>and see that the result is *not*
>>Product[1/(E^((Subscript[x, i] - \[Mu])^2/(2*\[Sigma]^2))*
>>       Sqrt[2*Pi*\[Sigma]^2]), {i, 1, n}]
>>this obvious a bug.
> The result is:
> (1/(E^((\[Mu] - Subscript[x, i])^2/(2*\[Sigma]^2))*Sqrt[\[Sigma]^2]))^
>   n/(2*Pi)^(n/2)
> Do you mean that it cannot reconstitute the product?

He means that it is a bug. Specifically, the indefinite integral 
produced as 'res' is garbage.

This is the same bug that was reported to comp.soft-sys.math.mathematica 
by David Cantrell around 6 weeks ago:

This has been fixed in the development kernel.

Daniel Lichtblau
Wolfram Research

  • Prev by Date: Re: Hi, please help to resolve this time delay problem. thanks in
  • Next by Date: Re: Bug in Interpolation for multi-d data?
  • Previous by thread: Re: Mathematica Integration help
  • Next by thread: Re: Mathematica Integration help