MathGroup Archive 2011

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

Search the Archive

Integrate gives wrong results for a simple polynomial

  • To: mathgroup at smc.vnet.net
  • Subject: [mg117912] Integrate gives wrong results for a simple polynomial
  • From: Micket <micketeer at gmail.com>
  • Date: Mon, 4 Apr 2011 06:29:48 -0400 (EDT)

I have had the bad luck to discover a strange bug (?) when computing
some integrals with mathematica.
I simplified it as far as i could;
$Assumptions = p > 0; Integrate[Subscript[x, 1]*(1 + y)^2, {y, -1, 1}]

If i change anything else, be it the assumption (yes, it is a
completely unrelated variable), the subscript, the integration limits,
the exponent, the addition, it works out the correct answer.

It also takes a significant time (a few seconds) to compute this
integral.

Does anyone have an explanation for this behavior?


  • Prev by Date: Re: Problem: Approximate complex values in Mathematica 8.0.1
  • Next by Date: FinancialData[], German index "DAX", "FinancialData::notent:"
  • Previous by thread: Re: Manipulate, how to slowdown animation
  • Next by thread: Re: Integrate gives wrong results for a simple polynomial