Exponential integral

Not to be confused with other integrals of exponential functions.
Plot of E1 function (top) and Ei function (bottom).

In mathematics, the exponential integral  Ei is a special function on the complex plane. It is defined as one particular definite integral of the ratio between an exponential function and its argument.

Definitions

For real nonzero values of x, the exponential integral Ei(x) is defined as

 \operatorname{Ei}(x)=-\int_{-x}^{\infty}\frac{e^{-t}}t\,dt.\,

The Risch algorithm shows that Ei is not an elementary function. The definition above can be used for positive values of x, but the integral has to be understood in terms of the Cauchy principal value due to the singularity of the integrand at zero.

For complex values of the argument, the definition becomes ambiguous due to branch points at 0 and \infty.[1] Instead of Ei, the following notation is used,[2]

\mathrm{E}_1(z) = \int_z^\infty \frac{e^{-t}}{t}\,  dt,\qquad|{\rm Arg}(z)|<\pi

In general, a branch cut is taken on the negative real axis and E1 can be defined by analytic continuation elsewhere on the complex plane.

For positive values of the real part of z, this can be written[3]

\mathrm{E}_1(z) = \int_1^\infty \frac{e^{-tz}}{t}\, dt = \int_0^1 \frac{e^{-z/u}}{u}\, du ,\qquad \Re(z) \ge 0.

The behaviour of E1 near the branch cut can be seen by the following relation:[4]

\lim_{\delta\to0+}\mathrm{E_1}(-x \pm i\delta) = -\mathrm{Ei}(x) \mp i\pi,\qquad x>0,

Properties

Several properties of the exponential integral below, in certain cases, allow one to avoid its explicit evaluation through the definition above.

Convergent series

Integrating the Taylor series for e^{-t}/t, and extracting the logarithmic singularity, we can derive the following series representation for \mathrm{E_1}(x) for real x:[5]

\mathrm{Ei}(x) = \gamma+\ln |x| + \sum_{k=1}^{\infty} \frac{x^k}{k\; k!} \qquad x \neq 0

For complex arguments off the negative real axis, this generalises to[6]

\mathrm{E_1}(z) =-\gamma-\ln z-\sum_{k=1}^{\infty}\frac{(-z)^k}{k\; k!} \qquad (|\mathrm{Arg}(z)| < \pi)

where \gamma is the Euler–Mascheroni constant. The sum converges for all complex z, and we take the usual value of the complex logarithm having a branch cut along the negative real axis.

This formula can be used to compute \mathrm{E_1}(x) with floating point operations for real x between 0 and 2.5. For x > 2.5, the result is inaccurate due to cancellation.

A faster converging series was found by Ramanujan:

{\rm Ei} (x) = \gamma + \ln x + \exp{(x/2)} \sum_{n=1}^\infty \frac{ (-1)^{n-1} x^n} {n! \, 2^{n-1}} \sum_{k=0}^{\lfloor (n-1)/2 \rfloor} \frac{1}{2k+1}

Asymptotic (divergent) series

Relative error of the asymptotic approximation for different number ~N~ of terms in the truncated sum

Unfortunately, the convergence of the series above is slow for arguments of larger modulus. For example, for x = 10 more than 40 terms are required to get an answer correct to three significant figures.[7] However, there is a divergent series approximation that can be obtained by integrating ze^z\mathrm{E_1}(z) by parts:[8]


\mathrm{E_1}(z)=\frac{\exp(-z)}{z}\sum_{n=0}^{N-1} \frac{n!}{(-z)^n}

which has error of order O(N!z^{-N}) and is valid for large values of \mathrm{Re}(z). The relative error of the approximation above is plotted on the figure to the right for various values of N, the number of terms in the truncated sum (N=1 in red, N=5 in pink).

Exponential and logarithmic behavior: bracketing

Bracketing of \mathrm{E_1} by elementary functions

From the two series suggested in previous subsections, it follows that \mathrm{E_1} behaves like a negative exponential for large values of the argument and like a logarithm for small values. For positive real values of the argument, \mathrm{E_1} can be bracketed by elementary functions as follows:[9]


\frac{1}{2}e^{-x}\,\ln\!\left( 1+\frac{2}{x} \right)
< \mathrm{E_1}(x) <
e^{-x}\,\ln\!\left( 1+\frac{1}{x} \right)
\qquad x>0

The left-hand side of this inequality is shown in the graph to the left in blue; the central part \mathrm{E_1}(x) is shown in black and the right-hand side is shown in red.

Definition by Ein

Both \mathrm{Ei} and \mathrm{E_1} can be written more simply using the entire function \mathrm{Ein}[10] defined as


\mathrm{Ein}(z)
= \int_0^z (1-e^{-t})\frac{dt}{t}
= \sum_{k=1}^\infty \frac{(-1)^{k+1}z^k}{k\; k!}

(note that this is just the alternating series in the above definition of \mathrm{E_1}). Then we have


\mathrm{E_1}(z) \,=\, -\gamma-\ln z + {\rm Ein}(z)
\qquad |\mathrm{Arg}(z)| < \pi
\mathrm{Ei}(x) \,=\, \gamma+\ln x - \mathrm{Ein}(-x)
\qquad x>0

Relation with other functions

The exponential integral is closely related to the logarithmic integral function li(x) by the formula


\mathrm{li}(x) = \mathrm{Ei}(\ln x)\,

for positive real values of x

The exponential integral may also be generalized to

{\rm E}_n(x) = \int_1^\infty \frac{e^{-xt}}{t^n}\, dt,

which can be written as a special case of the incomplete gamma function:[11]

{\rm E}_n(x) =x^{n-1}\Gamma(1-n,x).\,

The generalized form is sometimes called the Misra function[12] \varphi_m(x), defined as

\varphi_m(x)={\rm E}_{-m}(x).\,

Including a logarithm defines the generalized integro-exponential function[13]

E_s^j(z)= \frac{1}{\Gamma(j+1)}\int_1^\infty (\log t)^j \frac{e^{-zt}}{t^s}\,dt.

The indefinite integral:

 \mathrm{Ei}(a \cdot b) = \iint e^{a b} \, da \, db

is similar in form to the ordinary generating function for d(n), the number of divisors of n:

 \sum\limits_{n=1}^{\infty} d(n)x^{n} = \sum\limits_{a=1}^{\infty} \sum\limits_{b=1}^{\infty} x^{a b}

Derivatives

The derivatives of the generalised functions \mathrm{E_n} can be calculated by means of the formula [14]


\mathrm{E_n}'(z) = -\mathrm{E_{n-1}}(z)
\qquad (n=1,2,3,\ldots)

Note that the function \mathrm{E_0} is easy to evaluate (making this recursion useful), since it is just e^{-z}/z.[15]

Exponential integral of imaginary argument

\mathrm{E_1}(ix) against x; real part black, imaginary part red.

If z is imaginary, it has a nonnegative real part, so we can use the formula


\mathrm{E_1}(z) = \int_1^\infty
\frac{e^{-tz}}{t} dt

to get a relation with the trigonometric integrals \mathrm{Si} and \mathrm{Ci}:


\mathrm{E_1}(ix) = i\left(-\tfrac{1}{2}\pi + \mathrm{Si}(x)\right) - \mathrm{Ci}(x)
\qquad (x>0)

The real and imaginary parts of \mathrm{E_1}(x) are plotted in the figure to the right with black and red curves.

Applications

See also

Goodwin–Staton integral

Notes

  1. Abramowitz and Stegun, p. 228
  2. Abramowitz and Stegun, p. 228, 5.1.1
  3. Abramowitz and Stegun, p. 228, 5.1.4 with n = 1
  4. Abramowitz and Stegun, p. 228, 5.1.7
  5. For a derivation, see Bender and Orszag, p253
  6. Abramowitz and Stegun, p. 229, 5.1.11
  7. Bleistein and Handelsman, p. 2
  8. Bleistein and Handelsman, p. 3
  9. Abramowitz and Stegun, p. 229, 5.1.20
  10. Abramowitz and Stegun, p. 228, see footnote 3.
  11. Abramowitz and Stegun, p. 230, 5.1.45
  12. After Misra (1940), p. 178
  13. Milgram (1985)
  14. Abramowitz and Stegun, p. 230, 5.1.26
  15. Abramowitz and Stegun, p. 229, 5.1.24
  16. George I. Bell; Samuel Glasstone (1970). Nuclear Reactor Theory. Van Nostrand Reinhold Company.

References

External links