Ei(x) Exponential Integral Function


Ei(x) = −Integral{−x, inf}[e^(−t) / t]dt.

For very large positive x, the asymptotic expansion of Ei(x) is used:

Ei(x) =~ exp(x) * (1/x + 1/x^2 + 2/x^3 + ... + k!/x^(k+1) + ... .

It is used if x >= lim = 10 + digits-desired * Ln(10). If x < lim, the series expansion of Ei(x) is used:

Ei(x) = Ln(|x|) + gamma + x + x^2/4 + x^3/18 + ... + x^k/(n*n!) + ... ,

where gamma is Euler's constant = 0.57721566... .

See: Exponential Integral -- From MathWorld
And: Wolfram Function Evaluation -- ExpIntegralEi

Return to Number Theory, Algorithms, and Real Functions
Return to Harry's Home Page


This page accessed times since Feb 9, 2006.
Page created by: hjsmithh@sbcglobal.net
Changes last made on Monday, 06-Aug-07 20:47:15 PDT