Strangely enough, I believe I am getting different results from Mathematica's Integrate and NIntegrate[]
functions when they are evaluated at some point.
Here is the function I am integrating:
Integrate[-((E^(2 n x μ) (-1 +
Gamma[2,
n x μ]) (λR^2))/((λR^2 + (E^(n x μ) ((n \
μ - λR^2)))))^2) (n μ E^(-n x μ)), {x,
0, ∞}]
and here is the result from symbolic integration:
ConditionalExpression[(λR^2)/(n^2 μ^2 -
n μ (λR^2)), Re[n μ] > 0]
So, when I campare analytic result with one that is obtained numerically, I get
(λR^2)/(n^2 μ^2 - n μ (λR^2)) /. {n ->
1, μ -> 1.0, λR -> 0.99}
49.2513
And, when I integrate numerically, I get
NIntegrate[-((E^(2 n x μ) (-1 +
Gamma[2,
n x μ]) (λR^2))/((λR^2 + (E^(n x μ) ((n \
μ - λR^2)))))^2) (n μ E^(-n x μ)) /. {n ->
1, μ -> 1.0, λR -> 0.99}, {x, 0, ∞}]
40.8463
Am I missing something???
For the analytic result, on different platforms, are people getting a different result than mine?
Mathematica Version: 9.0.1.0, MS Windows 64bit
Enxμ
in your expression? Should it beE^(n x μ)
? Also, your symbolic integral doesn't really evaluate for me in a reasonable time. $\endgroup${n -> 1, \[Mu] -> 1, \[Lambda]R -> 99/100}
Integrate
gives-((5000*(-58806 + 199*Pi^2 + 597*Log[9801/199]^2 + 1194*PolyLog[2, -(199/9801)]))/5851197)
which is approximately40.8463
. $\endgroup$