Bug introduced in 10.0 and fixed in 10.0.2
Trying to do the integral
Integrate[
E^(-((201 x1^2)/101))
x1^2 (15 - 20 x1^2 + 4 x1^4) (5913508078417951503 +
1124782662003060300000 x1^2 - 2983951574394000000000 x1^4 +
2591462040000000000000 x1^6 - 797900000000000000000 x1^8 +
80000000000000000000 x1^10), {x1, -Infinity, Infinity}]
Mathmatica tells me that it does not converge. However it certainly does due to the Gaussian term upfront. It seems to be an issue with the large oscillations due to the polynomials and I was wondering what options I need to supply so that Mathematica can evaluate the integral. (I will have to do this with hundreds of similar polynomials, so I am looking for a general solution to this problem)
Thanks so much
EDIT: Based on the answers and comments I contacted Wolfram and they acknowledged the issue. Here is their response:
Thank you for your email.
I agree that Mathematica should return a result in this case and have filed a report with our developers on this issue. This may allow them to fix the problem in a future version of Mathematica. I believe that you have received several workarounds to this problem in the StackExchange thread that you cite, so I will not repeat them here.
Please let me know if you have any further questions.
Integrate[Exp[-x^2] x^8 (1 + x^2 + x^4 + x^8), {x, -∞, ∞}]
. I think it's a bug. Could anyone confirm it? $\endgroup$