Exponential integral
Special function defined by an integral

In mathematics, the exponential integral 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.
01Definitions
For real non-zero values of , the exponential integral
is defined as
The Risch algorithm shows that is not an elementary function. The definition above can be used for positive values of
, 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 and
. Instead of
, the following notation is used,
For positive values of , we have
.
In general, a branch cut is taken on the negative real axis and can be defined by analytic continuation elsewhere on the complex plane.
For positive values of the real part of , this can be written
The behaviour of near the branch cut can be seen by the following relation:


02Properties
Several properties of the exponential integral below, in certain cases, allow one to avoid its explicit evaluation through the definition above.
Convergent series
For real or complex arguments off the negative real axis, can be expressed as
where
is the Euler-Mascheroni constant. The sum converges for all complex
, 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 with floating point operations for real
between
and
. For
, the result is inaccurate due to cancellation.
A faster converging series was found by Ramanujan:
Asymptotic (divergent) series
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 . However, for positive values of
, there is a divergent series approximation that can be obtained by integrating
by parts:
The relative error of the approximation above is plotted on the figure to the right for various values of
, the number of terms in the truncated sum (
in red,
in pink).
Asymptotics beyond all orders
Using integration by parts, we can obtain an explicit formula
For any fixed
, the absolute value of the error term
decreases, then increases. The minimum occurs at
, at which point
. This bound is said to be "asymptotics beyond all orders".
Exponential and logarithmic behavior: bracketing
From the two series suggested in previous subsections, it follows that 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,
can be bracketed by elementary functions as follows:
The left-hand side of this inequality is shown in the graph to the left in blue; the central part is shown in black and the right-hand side is shown in red.
Definition by Ein
Both and
can be written more simply using the entire function
defined as
(note that this is just the alternating series in the above definition of
). Then we have
The function
is related to the exponential generating function of the harmonic numbers:
Relation with other functions
Kummer's equation
is usually solved by the confluent hypergeometric functions
and
. But when
and
, that is,
we have
for all
. A second solution is then given by
. In fact,
with the derivative evaluated at
. Another connexion with the confluent hypergeometric functions is that
is an exponential times the function
:
The exponential integral is closely related to the logarithmic integral function by the formula
for non-zero real values of
.
The series expansion of the exponential integral immediately gives rise to an expression in terms of the generalized hypergeometric function :
Generalization
The exponential integral may also be generalized to
which can be written as a special case of the upper incomplete gamma function:
The generalized form is sometimes called the Misra function , defined as
Including a logarithm defines the generalized integro-exponential function
Derivatives
The derivatives of the generalised functions can be calculated by means of the formula
Note that the function
is easy to evaluate (making this recursion useful), since it is just
.
Exponential integral of imaginary argument
If is imaginary, it has a nonnegative real part, so we can use the formula
to get a relation with the trigonometric integrals
and
:
The real and imaginary parts of
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
where
- The Allen and Hastings approximation
where
- The continued fraction expansion
- The approximation of Barry et al.
where:
with
being the Euler-Mascheroni constant.

03Inverse function of the exponential integral
We can express the Inverse function of the exponential integral in power series form:
where
is the Ramanujan-Soldner constant and
is polynomial sequence defined by the following recurrence relation:
For ,
and we have the formula:


04Applications
- Time-dependent heat transfer
- Nonequilibrium groundwater flow in the Theis solution (called a well function)
- Radiative transfer in stellar and planetary atmospheres
- Radial diffusivity equation for transient or unsteady state flow with line sources and sinks
- Solutions to the neutron transport equation in simplified 1-D geometries
- Solutions to the Trachenko-Zaccone nonlinear differential equation for the stretched exponential function in the relaxation of amorphous solids and glass transition

Sources and credits
This article is adapted from the Wikipedia article “Exponential integral”, written by its contributors and licensed under CC BY-SA 4.0. Fathomly has changed the layout, removed citation markers, navigation and maintenance notices, and adjusted punctuation. This adapted version is shared under the same license. For references, see the original article.
Images, from Wikimedia Commons:
- Plot of the exponential integral function E n(z) with n=2 in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D.svg by WalkingRadiance, CC BY-SA 4.0
- Plot of the exponential integral function Ei(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D.svg by WalkingRadiance, CC BY-SA 4.0
- Exponential integral.svg by Dstrozzi, CC BY-SA 3.0
- AsymptoticExpansionE1.png by Unknown author, See file page
- Normalized exponential integral.png by Eric Kvaalen, CC BY-SA 4.0
- BracketingE1.png by Domitori, Public domain
- E1ofImaginaryArgument.png by Domitori, Public domain
Fathomly is not affiliated with or endorsed by the Wikimedia Foundation. Spotted a problem? Tell us.