Jump to content

Exponential integral

From Wikipedia, the free encyclopedia

Template:Short description Template:Distinguish Template:Use American English

Plot of the exponential integral function E_n(z) with n=2 for complex z
Plot of the exponential integral function Template:Math for complex Template:Mvar

In mathematics, the exponential integral Template:Tmath 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 non-zero values of Template:Tmath, the exponential integral Template:Tmath is defined as <math display="block"> \operatorname{Ei}(x) = -\int_{-x}^\infty \frac{e^{-t}}t\,dt = \int_{-\infty}^x \frac{e^t}t\,dt.</math>

The Risch algorithm shows that Template:Tmath is not an elementary function. The definition above can be used for positive values of Template:Tmath, 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 Template:Tmath and Template:Tmath.Template:Sfn Instead of Template:Tmath, the following notation is used,Template:Sfn <math display="block">E_1(z) = \int_z^\infty \frac{e^{-t}}{t}\, dt,\qquad|{\operatorname{Arg}}(z)|<\pi</math>

Plot of the exponential integral function Ei(z) for complex z
Plot of the exponential integral function Template:Math for complex Template:Mvar

For positive values of Template:Tmath, we have Template:Tmath.

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

For positive values of the real part of Template:Tmath, this can be writtenTemplate:Sfn <math display="block">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.</math>

The behaviour of Template:Tmath near the branch cut can be seen by the following relation:Template:Sfn <math display="block">\lim_{\delta\to0+} E_1(-x \pm i\delta) = -\operatorname{Ei}(x) \mp i\pi,\qquad x>0.</math>

Properties

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

Convergent series

File:Exponential integral.svg
Plot of Template:Math function (top) and Template:Math function (bottom).

For real or complex arguments off the negative real axis, <math>E_1(z)</math> can be expressed asTemplate:Sfn <math display="block">E_1(z) = -\gamma - \ln z - \sum_{k=1}^{\infty} \frac{(-z)^k}{k\; k!} \qquad (\left| \operatorname{Arg}(z) \right| < \pi)</math> where <math>\gamma</math> is the Euler–Mascheroni constant. The sum converges for all complex Template:Tmath, 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 <math>E_1(x)</math> with floating point operations for real <math>x</math> between Template:Tmath and Template:Tmath. For Template:Tmath, the result is inaccurate due to cancellation.

A faster converging series was found by Ramanujan:Template:Sfn <math display="block">\mathrm{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}</math>

Asymptotic (divergent) series

File:AsymptoticExpansionE1.png
Relative error of the asymptotic approximation for different number Template:Mvar of terms in the truncated sum: Template:Mvar=1 (red), Template:Mvar=2 (green), Template:Mvar=3 (yellow), Template:Mvar=4 (blue), Template:Mvar=5 (pink).

The convergence of the series above is slow for arguments of larger modulus. For example, more than 40 terms are required to get an answer correct to three significant figures for Template:Tmath.Template:Sfn However, for positive values of Template:Tmath, there is a divergent series approximation that can be obtained by integrating <math>x e^x E_1(x)</math> by parts:Template:Sfn <math display="block">E_1(x)=\frac{\exp(-x)} x \left(\sum_{n=0}^{N-1} \frac{n!}{(-x)^n} +O(N!x^{-N}) \right)</math> The relative error of the approximation above is plotted on the figure to the right for various values of Template:Tmath, the number of terms in the truncated sum (Template:Tmath in red, <math>N=5</math> in pink).

Asymptotics beyond all orders

File:Normalized exponential integral.png
Normalized exponential integral. The value plotted is Template:Math. The values of Template:Mvar are written above the corresponding point. The horizontal spacing is according to Template:Math. The graph is extended "beyond infinity" a little on both the right and the left to show how the normalized function behaves when Template:Math is small. (The horizontal spacing for these points corresponds to angles whose tangent is Template:Mvar.)

Using integration by parts, we can obtain an explicit formula[1] <math display="block">\begin{align} \operatorname{Ei}(z) &= \frac{e^{z}} {z} \left (\sum _{k=0}^{n} \frac{k!} {z^{k}} + e_{n}(z)\right), \\ e_{n}(z) &\equiv (n + 1)!\ ze^{-z}\int _{ -\infty }^{z} \frac{e^{t}} {t^{n+2}}\,dt. \end{align}</math> For any fixed Template:Tmath, the absolute value of the error term <math>|e_n(z)|</math> decreases, then increases. The minimum occurs at Template:Tmath, at which point Template:Tmath. This bound is said to be "asymptotics beyond all orders".

Exponential and logarithmic behavior: bracketing

File:BracketingE1.png
Bracketing of Template:Math by elementary functions

From the two series suggested in previous subsections, it follows that <math>E_1</math> 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, <math>E_1</math> can be bracketed by elementary functions as follows:Template:Sfn <math display="block"> \frac 1 2 e^{-x}\,\ln\!\left( 1+\frac 2 x \right) < E_1(x) < e^{-x}\,\ln\!\left( 1+\frac 1 x \right) \qquad x>0 </math>

The left-hand side of this inequality is shown in the graph to the left in blue; the central part <math>E_1(x)</math> is shown in black and the right-hand side is shown in red.

Definition by Ein

Both <math>\operatorname{Ei}</math> and <math>E_1</math> can be written more simply using the entire function Template:TmathTemplate:Sfn defined as <math display="block"> \operatorname{Ein}(z) = \int_0^z (1-e^{-t})\frac{dt}{t} = \sum_{k=1}^\infty \frac{(-1)^{k+1}z^k}{k\; k!} </math> (note that this is just the alternating series in the above definition of Template:Tmath). Then we have <math display="block">\begin{align} E_1(z) &= -\gamma - \ln z + \operatorname{Ein}(z), && \left| \operatorname{Arg}(z) \right| < \pi; \\ \operatorname{Ei}(x) &= \hphantom{-}\gamma + \ln{x} - \mathrm{Ein}(-x), && x \neq 0. \end{align}</math> The function <math>\operatorname{Ein}</math> is related to the exponential generating function of the harmonic numbers: <math display="block"> \operatorname{Ein}(z) = e^{-z} \, \sum_{n=1}^\infty \frac {z^n}{n!} H_n </math>

Relation with other functions

Kummer's equation <math display="block">z\frac{d^2w}{dz^2} + (b-z)\frac{dw}{dz} - aw = 0</math> is usually solved by the confluent hypergeometric functions <math>M(a,b,z)</math> and Template:Tmath. But when <math>a=0</math> and Template:Tmath, that is, <math display="block">z\frac{d^2w}{dz^2} + (1-z)\frac{dw}{dz} = 0</math> we have <math display="block">M(0,1,z)=U(0,1,z)=1</math> for all Template:Tmath. A second solution is then given by Template:Tmath. In fact, <math display="block">E_1(-z)=-\gamma-i\pi+\frac{\partial[U(a,1,z)-M(a,1,z)]}{\partial a},\qquad 0< \operatorname{Arg}(z)<2\pi</math> with the derivative evaluated at Template:Tmath. Another connexion with the confluent hypergeometric functions is that Template:Tmath is an exponential times the function Template:Tmath: <math display="block">E_1(z)=e^{-z}U(1,1,z)</math>

The exponential integral is closely related to the logarithmic integral function Template:Tmath by the formula <math display="block">\operatorname{li}(e^x) = \operatorname{Ei}(x)</math> for non-zero real values of Template:Tmath.

The series expansion of the exponential integral immediately gives rise to an expression in terms of the generalized hypergeometric function Template:Tmath: <math display="block">\operatorname{Ei}(x) = x{\,}_2\!F_2(1,1;2,2;x)+\ln x+\gamma.</math>

Generalization

The exponential integral may also be generalized to <math display="block">E_n(x) = \int_1^\infty \frac{e^{-xt}}{t^n}\, dt,</math> which can be written as a special case of the upper incomplete gamma function:Template:Sfn <math display="block">E_n(x) =x^{n-1}\Gamma(1-n,x).</math>

The generalized form is sometimes called the Misra function Template:Tmath,Template:EfnTemplate:Efn defined as <math display="block">\varphi_m(x)=E_{-m}(x).</math>

Including a logarithm defines the generalized integro-exponential functionTemplate:Sfn <math display="block">E_s^j(z)= \frac{1}{\Gamma(j+1)}\int_1^\infty \left(\log t\right)^j \frac{e^{-zt}}{t^s}\,dt.</math>

Derivatives

The derivatives of the generalised functions <math>E_n</math> can be calculated by means of the formulaTemplate:Sfn <math display="block"> E_n '(z) = - E_{n-1}(z) \qquad (n=1,2,3,\ldots) </math> Note that the function <math>E_0</math> is easy to evaluate (making this recursion useful), since it is just Template:Tmath.Template:Sfn

Exponential integral of imaginary argument

File:E1ofImaginaryArgument.png
Template:Math against Template:Mvar; real part black, imaginary part red.

If <math>z</math> is imaginary, it has a nonnegative real part, so we can use the formula <math display="block"> E_1(z) = \int_1^\infty \frac{e^{-tz}} t \, dt </math> to get a relation with the trigonometric integrals <math>\operatorname{Si}</math> and Template:Tmath: <math display="block"> E_1(ix) = i\left[ -\tfrac{1}{2}\pi + \operatorname{Si}(x)\right] - \operatorname{Ci}(x) \qquad (x > 0) </math> The real and imaginary parts of <math>E_1(ix)</math> are plotted in the figure to the right with black and red curves.

Approximations

There have been a number of approximations for the exponential integral function. These include:

  • The Swamee and Ohija approximation[2] <math display="block">E_1(x) = \left (A^{-7.7}+B \right )^{-0.13},</math> where <math display="block">\begin{align}

A &= \ln\left [\left (\frac{0.56146}{x}+0.65\right)(1+x)\right] \\ B &= x^4e^{7.7x}(2+x)^{3.7} \end{align}</math>

  • The Allen and Hastings approximation[2][3] <math display="block">E_1(x) = \begin{cases} - \ln x +\textbf{a}^\mathsf{T}\textbf{x}_5,&x\leq1 \\ \frac{e^{-x}} x \frac{\textbf{b}^\mathsf{T} \textbf{x}_3}{\textbf{c}^\mathsf{T}\textbf{x}_3},&x\geq1 \end{cases}</math> where <math display="block">\begin{align}

\textbf{a} & \triangleq [-0.57722, 0.99999, -0.24991, 0.05519, -0.00976, 0.00108]^\mathsf{T} \\ \textbf{b} & \triangleq[0.26777,8.63476, 18.05902, 8.57333]^\mathsf{T} \\ \textbf{c} & \triangleq[3.95850, 21.09965, 25.63296, 9.57332]^\mathsf{T} \\ \textbf{x}_k &\triangleq[x^0,x^1,\dots, x^k]^\mathsf{T} \end{align}</math>

  • The continued fraction expansion[3] <math display="block">E_1(x) = \cfrac{e^{-x}}{x+\cfrac{1}{1+\cfrac{1}{x+\cfrac{2}{1+\cfrac{2}{x+\cfrac{3}{\ddots}}}}}}.</math>
  • The approximation of Barry et al.[4] <math display="block">E_1(x) = \frac{e^{-x}}{G+(1-G)e^{-\frac{x}{1-G}}}\ln\left[1+\frac G x -\frac{1-G}{(h+bx)^2}\right],</math> where: <math display="block">\begin{align}

h &= \frac{1}{1+x\sqrt{x}}+\frac{h_{\infty}q}{1+q} \\ q &=\frac{20}{47}x^{\sqrt{\frac{31}{26}}} \\ h_{\infty} &= \frac{(1-G)(G^2-6G+12)}{3G(2-G)^2b} \\ b &=\sqrt{\frac{2(1-G)}{G(2-G)}} \\ G &= e^{-\gamma} \end{align}</math> with <math>\gamma</math> being the Euler–Mascheroni constant.

Inverse function of the exponential integral

Template:User-generated We can express the Inverse function of the exponential integral in power series form:[5] <math display="block">\forall |x| < \frac{\mu}{\ln(\mu)},\quad \operatorname{Ei}^{-1}(x) = \sum_{n=0}^\infty \frac{x^n}{n!} \frac{P_n(\ln(\mu))}{\mu^n}</math> where <math>\mu</math> is the Ramanujan–Soldner constant and <math>(P_n)</math> is polynomial sequence defined by the following recurrence relation: <math display="block">P_0(x) = x,\ P_{n+1}(x) = x(P_n'(x) - nP_n(x)).</math>

For Template:Tmath, <math>\deg P_n = n</math> and we have the formula: <math display="block">P_n(x) = \left.\left(\frac{d}{dt}\right)^{n-1} \left(\frac{te^x}{\operatorname{Ei}(t+x)-\operatorname{Ei}(x)}\right)^n\right|_{t=0}.</math>

Applications

See also

Footnotes

Template:Notelist

Citations

Template:Reflist

References

Template:Nonelementary integrals