Fact-checked by Grok 2 weeks ago

Exponential integral

The exponential integral is a special function arising in mathematical analysis and applied mathematics, defined principally as E_1(z) = \int_z^\infty \frac{e^{-t}}{t} \, dt, where the integration path in the complex plane avoids the negative real axis and the origin to ensure the principal value. This function is related to the incomplete gamma function via E_1(z) = \Gamma(0, z), and it exhibits a branch cut along the negative real axis, making it multi-valued for arguments on that ray. Common notations include \Ei(x) for the real-variable case, defined as the Cauchy principal value \Ei(x) = -\int_{-x}^\infty \frac{e^{-t}}{t} \, dt = \int_{-\infty}^x \frac{e^t}{t} \, dt for x > 0, with the relation \Ei(-x) = -E_1(x). Another variant is the complementary exponential integral \Ein(z) = \int_0^z \frac{1 - e^{-t}}{t} \, dt, an connected to E_1(z) by E_1(z) = \Ein(z) - \ln z - \gamma, where \gamma \approx 0.57721 is the Euler-Mascheroni constant. These functions satisfy recurrence relations, such as E_{n+1}(z) = \frac{1}{n} [e^{-z} - z E_n(z)] for the generalized form E_n(z) = \int_1^\infty \frac{e^{-zt}}{t^n} \, dt, and they appear in series expansions involving the Euler constant and logarithms. The exponential integral plays a crucial role in diverse fields, including solutions to differential equations in quantum mechanics and thermodynamics, where it models decay processes and energy radiation from oscillators. In number theory, the related logarithmic integral \li(x) = \Ei(\ln x) provides asymptotic approximations for the prime-counting function \pi(x), with \li(x) - \pi(x) bounded by terms on the order of \sqrt{x} \ln x. Additional applications encompass quantum field theory, Gibbs phenomena in Fourier analysis, and Laplace equation solutions in semiconductor physics, underscoring its utility in handling integrals of the form \int \frac{e^{at}}{t} \, dt.

Definitions

Principal definitions

The exponential integral \operatorname{Ei}(x) is defined for real x > 0 as the Cauchy principal value \operatorname{Ei}(x) = \pvint_{-\infty}^{x} \frac{e^{t}}{t} \, \mathrm{d}t, where the principal value accounts for the singularity at t = 0; for x < 0, it is given by \operatorname{Ei}(x) = \int_{-\infty}^{x} \frac{e^{t}}{t} \, \mathrm{d}t, with the function exhibiting a discontinuity at x = 0. The generalized exponential integral E_n(x) for positive integer n \geq 1 and \operatorname{Re}(x) > 0 is defined as E_n(x) = \int_1^\infty \frac{e^{-xt}}{t^n} \, \mathrm{d}t, with the special case E_1(x) serving as the primary form related to \operatorname{Ei}(x) via \operatorname{Ei}(x) = -E_1(-x) for x > 0. For complex arguments z, the E_1(z) is analytically continued with a branch cut along the negative real axis (-\infty, 0], where the integral path avoids crossing this cut or passing through the origin, ensuring the principal value is well-defined. The notation for the exponential integral was introduced by J. W. L. Glaisher in 1870, with subsequent standardization appearing in comprehensive mathematical tables such as those by in 1964.

Alternative integral representations

The exponential integral E_1(z) is represented by the line integral E_1(z) = \int_z^\infty \frac{e^{-t}}{t} \, dt, where the path of integration is straight from z to \infty in the direction of increasing real part, valid for |\arg z| < \pi. This form provides the principal branch and facilitates analytic continuation within the sector. The generalized exponential integral E_n(x) for integer n \ge 2 and x > 0 admits a double integral representation E_n(x) = \frac{e^{-x}}{(n-1)!} \int_0^\infty e^{-u} \frac{u^{n-1}}{x + u} \, du. This expression arises from interchanging the in the standard definition and the representation of powers, enabling efficient computation for large n or small x.

Properties

Series expansions

The exponential integral E_1(z) admits a convergent expansion that incorporates a logarithmic term to account for its at z = 0. Specifically, for z in the cut along the negative real axis (i.e., |\arg z| < \pi), E_1(z) = -\gamma - \ln z + \sum_{n=1}^\infty \frac{(-1)^{n+1} z^n}{n \cdot n!}, where \gamma is the Euler-Mascheroni constant. This expansion is valid for all finite |z| in the cut plane, with the power series portion having an infinite radius of convergence. The logarithmic term \ln z (principal branch) highlights the non-analytic behavior at the origin, where E_1(z) diverges as -\ln z for small |z|, while the series provides the regular (Taylor-expandable) part of the function around z = 0. An alternative form expresses the series using the digamma function \psi(n+1): E_1(z) = -\ln z + e^{-z} \sum_{n=0}^\infty \frac{z^n}{n!} \psi(n+1), which also converges for all finite |z| in the cut plane and underscores the connection to the incomplete gamma function via \psi. For the related exponential integral \operatorname{Ei}(x) with x > 0, the series is \operatorname{Ei}(x) = \gamma + \ln x + \sum_{n=1}^\infty \frac{x^n}{n \cdot n!}, converging for all finite x > 0. This follows from the interrelation \operatorname{Ei}(x) = -E_1(-x) (), where the analytic continuation of E_1(-x) across the branch cut yields the real-valued \operatorname{Ei}(x). Near x = 0^+, \operatorname{Ei}(x) exhibits a logarithmic similar to E_1(z), with the series capturing the smooth contributions.

Asymptotic expansions

The asymptotic expansion of the exponential integral E_1(z) for large |z| in the sector |\arg z| < 3\pi/2 is a divergent series derived from repeated integration by parts of the integral representation: E_1(z) \sim \frac{e^{-z}}{z} \sum_{m=0}^{\infty} \frac{(-1)^m m!}{z^m}, \quad |z| \to \infty, \quad |\arg z| \leq \frac{3\pi}{2} - \delta, where \delta > 0 is arbitrary but fixed. This expansion captures the leading behavior e^{-z}/z with successive corrections, but the factorial growth of the coefficients m! renders the series divergent for all finite z; optimal truncation at the term where the coefficients begin to increase minimizes the error, which is bounded by the first neglected term. The sector of validity is determined by the analytic continuation of E_1(z), with Stokes lines occurring at \arg z = \pm \pi, where the dominant contribution switches and the subdominant exponential terms become significant. Across these lines, the asymptotic form acquires an additional exponentially small term, \pm 2\pi i e^{\mp i \pi} z^{-1}, ensuring smooth transition in overlapping sectors such as \pi/2 + \delta \leq \pm \arg z \leq 3\pi/2 - \delta. This Stokes phenomenon highlights the sectorial nature of the expansion, limiting its uniform applicability in the complex plane. Beyond the standard truncation, asymptotics to all orders incorporate exponentially improved expansions, where the remainder after n terms is re-expanded using complementary error functions or generalized exponential integrals, yielding higher precision in transition regions near the Stokes lines. Additionally, the divergent series admits Borel summability: the Borel transform of \sum_{m=0}^{\infty} (-1)^m m! / z^{m+1} is \sum_{m=0}^{\infty} (t/z)^{m} / m! = e^{t/z}, and integrating \int_0^{\infty} e^{-s} e^{s/z} ds / z = E_1(z) e^{-z}/z recovers the exact function, providing a rigorous resummation method for the asymptotic series. These techniques reveal exponential corrections that are negligible in the primary sector but essential for global approximations. For real positive arguments x > 0, the expansion implies simple bracketing inequalities that bound E_1(x) without truncation: \frac{e^{-x}}{x+1} < E_1(x) < \frac{e^{-x}}{x}. These follow from integral comparisons or continued fraction representations and sharpen for x > 1, where the relative error in the leading term e^{-x}/x is O(1/x).

Functional equations and identities

The exponential integral E_n(x) for positive integer n and x > 0 satisfies a fundamental obtained via on its integral definition: E_{n+1}(x) = \frac{e^{-x} - x E_n(x)}{n}. This identity allows computation of higher-order exponential integrals from lower-order ones and holds for n \geq 1. A related functional equation arises from differentiating the defining integral, yielding \frac{d}{dx} E_{n+1}(x) = -E_n(x), or equivalently, x \frac{d}{dx} E_{n+1}(x) + n E_{n+1}(x) = e^{-x}, for n \geq 1. This linear first-order differential equation connects the derivative of E_{n+1}(x) to the function itself. For addition formulas, the exponential integral E_1(x) admits representations that relate E_1(x+y) to integrals involving shifted arguments, such as E_1(x+y) = e^{-y} \int_x^\infty \frac{e^{-u}}{u+y} \, du, \quad x > 0, \, y > 0. This form expresses the sum in the argument through an , without a simple closed-form in terms of E_1(x) and E_1(y) alone. More general identities link E_1(x+y) to auxiliary functions, but they remain representational rather than algebraic. The exponential integral of imaginary argument, \operatorname{Ei}(x), exhibits symmetry and reflection properties across its branch cut along the negative real axis. For x > 0, \operatorname{Ei}(-x) = -E_1(x). This relates the principal value to the standard E_1. Additionally, the function satisfies a reflection formula reflecting the around the : \operatorname{Ei}(x e^{2m\pi i}) = \operatorname{Ei}(x) + 2m\pi i, \quad m \in \mathbb{Z}, for x > 0, capturing the discontinuity across the branch cut, where the jump is $2\pi i. These identities highlight the multivalued nature of \operatorname{Ei}(x) for complex arguments.

Derivatives and integrals

The first of the exponential integral E_1(z) is \frac{d}{dz} E_1(z) = -\frac{e^{-z}}{z}, valid for \operatorname{[Re](/page/Re)}(z) > 0, and follows from differentiating the representation E_1(z) = \int_z^\infty \frac{e^{-t}}{t} \, dt using the Leibniz rule for differentiating under the sign with a lower . Higher-order derivatives can be obtained recursively using the relation \frac{d}{dz} E_n(z) = -E_{n-1}(z), where E_n(z) denotes the generalized exponential integral for positive n, with E_0(z) = \frac{e^{-z}}{z}, yielding \frac{d^n}{dz^n} E_1(z) = (-1)^n \int_1^\infty t^{n-1} e^{-z t} \, dt for positive integer n and z > 0. This integral form connects to the broader family of exponential integrals through recurrence relations, such as E_{n+1}(z) = \frac{1}{n} \left[ e^{-z} - z E_n(z) \right], which tie into functional identities for transforming arguments. The indefinite integral of E_1(z) is \int E_1(z) \, dz = z E_1(z) - e^{-z} + C, for \operatorname{Re}(z) > 0 and constant C, obtained by integration by parts with u = E_1(z) and dv = dz, using the first derivative formula. Differentiating this result recovers E_1(z), confirming its validity. Applications of the Leibniz rule arise in differentiating products involving exponential integrals, such as z E_1(z), where \frac{d}{dz} \left[ z E_1(z) \right] = E_1(z) + z \left( -\frac{e^{-z}}{z} \right) = E_1(z) - e^{-z}, linking directly to the recurrence E_2(z) = e^{-z} - z E_1(z). Similarly, for the product e^{z} E_n(z) with n \geq 1, \frac{d}{dz} \left[ e^{z} E_n(z) \right] = e^{z} E_{n-1}(z), providing a useful transformation for solving differential equations or evaluating related integrals. Higher-order Leibniz applications extend this to expressions like \frac{d^k}{dz^k} \left[ e^{z} E_n(z) \right], yielding sums involving lower-order E_m(z) terms.

Exponential integral of imaginary argument

The exponential integral of imaginary argument arises when the argument z is purely imaginary, z = i y with y real, and is particularly important in contexts involving oscillatory integrals, such as in quantum mechanics and signal processing. This variant exhibits complex values with real and imaginary parts directly tied to the sine and cosine integrals, highlighting its role in connecting exponential and trigonometric special functions. The function Ei(i y) is given by the relation \Ei(i y) = \Ci(y) + i \left( \Si(y) + \frac{\pi}{2} \right), where \Si(y) = \int_0^y \frac{\sin t}{t} , dt and \Ci(y) = -\int_y^\infty \frac{\cos t}{t} , dt for y > 0, with the cosine integral defined via its . This expression follows from the of the exponential integral across the , substituting the imaginary argument into the integral representation. Likewise, the generalized exponential integral E_1(i y) satisfies E_1(i y) = -\Ci(y) + i \left( \Si(y) - \frac{\pi}{2} \right) for y > 0. These relations allow the imaginary-argument case to be computed using well-established algorithms for \Si(y) and \Ci(y), which are real-valued and exhibit bounded oscillatory behavior as y increases. For y < 0, the formulas hold with |y| and appropriate sign adjustments in the phase due to the even/odd properties of the underlying trigonometric functions. The principal branch of both Ei(z) and E_1(z) is defined with a branch cut along the negative real axis, ensuring the function is single-valued in the cut plane. Along the imaginary axis, there is no branch cut, and the functions are analytic; the principal value is inherently satisfied since paths from i y to infinity can avoid the cut entirely by staying in the right half-plane. This behavior ensures that Ei(i y) and E_1(i y) are continuous and well-defined for all real y ≠ 0, with a removable singularity at y = 0 approachable from either side. For large |y|, the asymptotic behavior of E_1(i y) is dominated by the leading term E_1(i y) \sim \frac{e^{-i y}}{i y}, followed by higher-order oscillatory corrections from the divergent asymptotic series \sum_{n=0}^\infty (-1)^n \frac{n! , e^{-i y}}{(i y)^{n+1}}. This expansion captures the decaying oscillatory nature, with amplitude scaling as 1/|y| and phase determined by the exponential, making it suitable for approximating integrals in high-frequency regimes. The series is asymptotic and diverges, but truncating before the minimal term provides accurate approximations for moderately large |y|.

Relations to other special functions

The exponential integral E_1(z) is directly related to the upper incomplete gamma function \Gamma(s, z) through the identity E_1(z) = \Gamma(0, z) for \Re(z) > 0, where \Gamma(s, z) = \int_z^\infty t^{s-1} e^{-t} \, dt. This connection arises because both functions share the integral form involving an divided by the variable, and it allows the use of properties of the incomplete gamma for analyzing E_1(z). More generally, the nth-order exponential integral E_n(z) is expressed as E_n(z) = z^{n-1} \Gamma(1 - n, z). The logarithmic integral \mathrm{li}(x), defined as the principal value integral \mathrm{pv} \int_0^x \frac{dt}{\ln t} for x > 1, is connected to the exponential integral by \mathrm{li}(x) = \mathrm{Ei}(\ln x), where \mathrm{Ei}(z) = -\int_{-z}^\infty \frac{e^{-t}}{t} \, dt is the principal branch. This relation is particularly useful in number theory, as \mathrm{li}(x) approximates the prime-counting function, and the exponential integral provides an analytic continuation. The generalized exponential integral E_\nu(z) can be represented using the confluent hypergeometric function of the second kind U(a, b, z) as E_\nu(z) = z^{\nu-1} U(\nu, \nu, z) for \Re(\nu) > 0 and \Re(z) > 0. This expression leverages the series and asymptotic properties of U to derive expansions for E_\nu(z), highlighting its role as a special case of . For imaginary arguments, the exponential integral relates to the \mathrm{erf}(z) = \frac{2}{\sqrt{\pi}} \int_0^z e^{-t^2} \, dt through connections involving the imaginary error function \mathrm{erfi}(z) = -i \, \mathrm{erf}(i z). The D(x) = e^{-x^2} \int_0^x e^{t^2} \, dt = \frac{\sqrt{\pi}}{2} e^{-x^2} \mathrm{erfi}(x) provides an example of this tie, with indirect connections to the exponential integral via complex parameter extensions and auxiliary functions like the . This extends to the sine integral \mathrm{Si}(y), which for imaginary arguments involves Gaussian integrals akin to those defining \mathrm{erf}.

Generalizations

Generalized exponential integrals

The generalized exponential integral extends the standard exponential integral E_1(z) to higher integer orders n > 1, defined for \Re z > 0 and positive integer n as E_n(z) = \int_1^\infty \frac{e^{-z t}}{t^n} \, dt. This form arises naturally in applications requiring repeated integration by parts of the base exponential integral, providing a unified framework for computing integrals involving powers in the denominator. A key property facilitating and is the reduction formula, which relates E_n(z) to the previous : E_n(z) = \frac{1}{n-1} \left( e^{-z} - z E_{n-1}(z) \right), \quad n > 1. This recurrence allows recursive starting from E_1(z), with stability considerations for numerical implementation when n is large. In the more general form for real p > 1, p E_{p+1}(z) + z E_p(z) = e^{-z}, which rearranges to the analogous reduction E_{p+1}(z) = \frac{1}{p} \left( e^{-z} - z E_p(z) \right). These relations highlight the hierarchical structure of the family. For non-integer orders, the exponential integral is generalized to E_\nu(z) where \nu \in \mathbb{R} with \Re \nu > 0 and \Re z > 0, defined via the integral representation E_\nu(z) = \int_1^\infty \frac{e^{-z t}}{t^\nu} \, dt = z^{\nu-1} \Gamma(1 - \nu, z), with \Gamma(s, z) denoting the upper \Gamma(s, z) = \int_z^\infty t^{s-1} e^{-t} \, dt. This extension leverages the of the incomplete gamma function, enabling the function to be defined for fractional \nu while preserving continuity with the case. The relation to the ensures that E_\nu(z) inherits meromorphic properties, with a at z = 0 unless \nu is a nonpositive . Further generalizations, such as those explored in the context of , incorporate the Wright function to handle non-integer in differential equations involving exponential kernels. The Wright function {}_p \Psi_q \left( z \mid \begin{smallmatrix} (a_i, A_i)_{1,p} \\ (b_j, B_j)_{1,q} \end{smallmatrix} \right), introduced by E. M. , provides a series representation that subsumes exponential integrals for specific parameter choices, particularly when modeling where fractional orders appear. This form is particularly useful for in non-integer regimes, though it requires careful parameter selection to recover the standard E_\nu(z).

Exponential integrals with complex parameters

The exponential integral E_1(z) for complex argument z \neq 0 is defined via the principal branch by the contour integral E_1(z) = \int_z^\infty \frac{e^{-t}}{t} \, dt, where the path of integration starts at z and proceeds to infinity in a direction such that \operatorname{Re} t \to +\infty, without crossing the branch cut along the negative real axis or passing through the origin. This representation ensures analyticity in the cut along (-\infty, 0]. The function possesses a branch point at z = 0, rendering it multi-valued in the . Analytic continuation around the origin in the counterclockwise direction yields a relation E_1(z e^{2\pi i}) = E_1(z) - 2\pi i, arising from the logarithmic term in its expansion near z = 0: E_1(z) = -\gamma - \ln z + \sum_{n=1}^\infty \frac{(-1)^{n+1} z^n}{n \cdot n!}, valid for |z| < 2\pi and |\arg(-z)| < \pi, where \gamma is the Euler-Mascheroni constant and the principal logarithm is used. The Riemann surface of E_1(z) is thus a logarithmic surface with infinitely many sheets, connected via the operator that shifts the function by multiples of -2\pi i. At infinity, E_1(z) exhibits an essential singularity, as its behavior cannot be captured by a Laurent series but requires an asymptotic expansion that diverges. The leading asymptotic form is E_1(z) \sim \frac{e^{-z}}{z} \sum_{k=0}^\infty \frac{(-1)^k k!}{z^k}, \quad |z| \to \infty, valid in the wide sector |\arg z| \leq \frac{3\pi}{2} - \delta for arbitrary fixed \delta > 0. Remainder estimates depend on the subsector: for |\arg z| \leq \frac{\pi}{2}, the error is bounded by the first omitted term, while in \frac{\pi}{2} < |\arg z| < \pi, it involves a factor of \csc(|\arg z|) times the first omitted term. To extend asymptotics across the full complex plane, sector decomposition is employed, dividing the plane into regions separated by Stokes lines (where \arg(-z) = (2m+1)\pi, m \in \mathbb{Z}) and matching expansions via connection formulas that account for subdominant exponential contributions. For the generalized exponential integral E_p(z) with complex order p \in \mathbb{C} and argument z \in \mathbb{C} \setminus \{0\}, the definition extends to E_p(z) = z^{p-1} \int_1^\infty e^{-z t} t^{-p} \, dt, assuming the path avoids the negative real axis; analytic continuation across the cut is achieved by deforming the integration path while respecting the branch of z^{p-1}. Unless p is a nonpositive integer, a branch point exists at z = 0, and each branch of E_p(z) is an entire function of p for fixed z \neq 0. The monodromy relation generalizes to E_p(z e^{2 m \pi i}) = \frac{2\pi i \, e^{m p \pi i}}{\Gamma(p)} \frac{\sin(m p \pi)}{\sin(p \pi)} z^{p-1} + E_p(z), for integer m, reflecting the interplay between the branching of z^{p-1} and the integral. Asymptotic expansions in complex sectors follow similar sectorial validity, with adjustments for the parameter p.

Inverse exponential integral

Definition

The inverse exponential integral, denoted \mathrm{Ei}^{-1}(y), is defined as the function that satisfies the equation \mathrm{Ei}(x) = y, where x lies in the principal branch of the exponential integral \mathrm{Ei}(x). This inverse serves as the unique solution to the transcendental equation relating the input y to the output of the principal branch of \mathrm{Ei}. The principal branch of \mathrm{Ei}(x) for real x > 0 is strictly increasing and maps (0, \infty) bijectively onto (-\infty, \infty). Thus, the real inverse exists uniquely for all real y. In particular, \mathrm{Ei}(\ln \mu) = 0, where \mu \approx 1.45137 is the . Graphically, \mathrm{Ei}^{-1}(y) inverts the curve of \mathrm{Ei}(x), providing a tool to solve transcendental equations of the form \mathrm{Ei}(x) = y numerically or analytically where direct inversion is challenging.

Properties and series

The inverse exponential integral \Ei^{-1}(y), defined as the unique positive solution to \Ei(x) = y for y > -\infty, is strictly increasing on its principal because the \Ei'(x) = e^x / x > 0 for x > 0, ensuring monotonicity and uniqueness for each y in the range of \Ei. Near y = 0, the function admits a Taylor series expansion \Ei^{-1}(y) = \sum_{n=0}^\infty \frac{y^n}{n!} P_n(\ln \mu) \mu^n, where \mu \approx 1.451 is the Ramanujan–Soldner constant, defined as the unique positive solution to li(μ) = 0 with li(x) = Ei(ln x) the logarithmic integral, and the polynomials P_n(z) are defined recursively by P_0(z) = z, P_{n+1}(z) = z (P_n'(z) - n P_n(z)) for |y| < \mu \ln \mu. This series provides a local representation around its zero x_0 = ln μ ≈ 0.37276, where \Ei(x_0) = 0. Higher-order terms in alternative expansions of the inverse can involve polylogarithms when inverting the series form of \Ei(x). For large positive y, the asymptotic behavior is \Ei^{-1}(y) \sim \ln y + \ln \ln y + o(1), derived from the leading asymptotic of \Ei(x) \sim e^x / x for large x, which leads to the equation x e^{-x} = 1/y. Solving this yields x = -W_{-1}(-1/y), where W_{-1} is the -1 branch of the , whose asymptotic expansion for small negative arguments gives the stated form. This relation to the provides approximate solutions in limits where the exponential integral appears in transcendental equations, such as in certain physical models involving radiative transfer or population dynamics.

Numerical evaluation

Approximation methods

For small values of z near the origin, where the exponential integral E_1(z) exhibits a logarithmic singularity, Padé approximants provide effective rational approximations by matching the Taylor series expansion of the regular part up to a specified order. These approximants are ratios of polynomials that converge more rapidly than the power series alone, particularly useful for hand calculations in the region |z| \lesssim 1. For instance, a [5/5] Padé approximant matches the series terms up to order 10, yielding relative errors on the order of $10^{-8} or better in the principal branch. A prominent continued fraction representation for E_1(z) facilitates approximations across a wide range of z, especially for moderate to large |z| away from the branch cut. Specifically, E_1(z) = \frac{e^{-z}}{z + \cfrac{1}{1 + \cfrac{1}{z + \cfrac{2}{1 + \cfrac{2}{z + \cfrac{3}{1 + \cdots}}}}} with convergence for |\ph z| < \pi. This form arises from integral representations and allows successive convergents to approximate E_1(z) by truncating the fraction, with rapid convergence for \Re z > 0. The partial denominators follow the pattern where even levels are 1 and odd levels are z + k for integer k. The convergents of this continued fraction yield inequality-based bounds for error estimation, as they alternate in sign around the true value, providing rigorous upper and lower enclosures. For example, the first convergent gives E_1(z) > e^{-z}/z, while the second provides E_1(z) < e^{-z} (z+1)/(z(z+1) + 1), with the error bounded by the difference between consecutive convergents. This property stems from the general theory of continued fractions for Stieltjes transforms, ensuring monotonic improvement and explicit error control without additional computation. For large real arguments x > 2, simple rational approximations derived from the offer quick estimates suitable for initial hand calculations. One such form is E_1(x) \approx e^{-x} \left( \frac{1}{x} - \frac{1}{x^2} + \frac{2}{x^3} \right), which truncates the divergent series after three terms, achieving relative accuracy better than 1% for x \gtrsim 3 and improving as x increases. This rational expression in $1/x, multiplied by e^{-x}, captures the leading decay behavior while remaining computationally straightforward.

Computational algorithms

For small values of the argument z, computational algorithms typically employ series summation of the Taylor expansion around zero, combined with argument reduction techniques such as by powers of e to prevent in intermediate computations. This approach ensures and for |z| < 1, where the series terms decrease rapidly. For large |z|, asymptotic expansions are used, truncated at the optimal point to minimize the error, with the remainder estimated via the Euler-Maclaurin formula to achieve high accuracy without diverging terms. These methods are particularly effective in regions where |z| > 10, balancing computational cost and precision. Handling complex arguments requires careful branch selection based on the argument of z to respect the principal branch cut along the negative real axis, often partitioning the complex plane into sectors and applying power series expansions within each sector for uniform accuracy. Backward recurrence relations on three-term functional equations can further refine computations away from the branch cut. Implementations in numerical libraries leverage these strategies for robust evaluation. SciPy's exp1 function, based on the Cephes library, uses power series for small arguments and continued fraction approximations for larger ones, supporting complex inputs with relative errors below machine epsilon. The GNU Scientific Library (GSL) provides gsl_sf_expint for real and integer-order cases, drawing from series and asymptotic methods in Abramowitz and Stegun. For arbitrary precision, the Arb library computes exponential integrals using ball arithmetic to enclose results with certified error bounds, with updates through its 2023 merger into FLINT improving complex support and efficiency for high-precision regimes. Error analysis in these algorithms targets relative precision of approximately $10^{-15} or better for double-precision floating-point arithmetic, achieved through rigorous bounding of and errors in series and asymptotic terms, ensuring reliable results across the except near the branch cut.

Applications

In

The exponential integral \mathrm{Ei}(z) is intimately connected to via the logarithmic integral \mathrm{li}(x), defined for x > 1 by the relation \mathrm{li}(x) = \mathrm{Ei}(\ln x). This function \mathrm{li}(x) serves as the principal approximation in the , which states that the prime counting function satisfies \pi(x) \sim \mathrm{li}(x) as x \to \infty. The asymptotic equivalence underscores the exponential integral's foundational role in estimating the distribution of primes, where refinements to \mathrm{li}(x) directly leverage properties of \mathrm{Ei}(z) for improved error bounds in . In the theory of s, the exponential integral emerges in explicit solutions to linear systems with constant delays. For example, the series solution to a linear of the form x'(t) = a x(t) + b x(t - \tau) can be expressed using the exponential integral through its to the , facilitating closed-form analysis of stability and long-term behavior. Such representations tie into broader contexts like the Wright function \omega(z), which solves the \omega(z) + \ln \omega(z) = z and arises in nonlinear delay equations such as the Wright equation w'(t) = -w(t-1) e^{-w(t-1)}, where asymptotic expansions and integral forms indirectly invoke exponential integrals for approximation near critical points. The exponential integral also contributes to the of , notably in representations of the \zeta(s). One such series expansion expresses \zeta(s) in terms of the exponential integral E_s(i \kappa) with complex argument, enabling meromorphic continuation beyond the original domain of convergence \Re(s) > 1 and aiding in the study of zeros and functional equations. This approach highlights the utility of \mathrm{Ei}(z) in extending like \zeta(s) = \sum_{n=1}^\infty n^{-s} to the , with applications to moments and value distribution. In asymptotic analysis, Laplace's method frequently yields the exponential integral when evaluating integrals of the form \int e^{-t} g(t) \, dt for large parameters, where the dominant contribution near endpoints or stationary points results in expansions involving \mathrm{Ei}(z). For instance, the asymptotic behavior of the exponential integral itself, E_1(z) \sim e^{-z}/z (1 - 1/z + \cdots) as |z| \to \infty with |\arg z| < 3\pi/2, is derived via Laplace's technique, providing a toolkit for approximating broader classes of oscillatory or rapidly decaying integrals in pure mathematics.

In physics and engineering

In heat conduction problems, the exponential integral arises in analytical solutions for unsteady heat flow in cylindrical geometries, such as the temperature distribution due to an instantaneous line source or sudden changes in boundary conditions. For instance, the temperature at a radial distance r from the axis of an infinite cylinder after time t following an instantaneous heat release is given by T(r, t) = \frac{Q}{4\pi \alpha t} \exp\left( -\frac{r^2}{4\alpha t} \right), where Q is the heat per unit length and \alpha is the . This form captures the transient behavior where heat spreads radially without axial variation, essential for modeling processes like quenching in cylindrical rods or geothermal heat extraction from boreholes. The Carslaw-Jaeger solution framework, foundational for such analyses, expresses the temperature field in regions bounded by cylinders using series expansions involving exponential integrals to handle arbitrary initial and boundary conditions, ensuring accurate prediction of thermal transients in engineering designs like nuclear fuel rods or insulated pipes. In radiation and optics, exponential integrals are integral to solving the radiative transfer equation, particularly in plane-parallel atmospheres or scattering media, where they quantify the attenuation of photon fluxes. Chandrasekhar's H-functions, which describe the albedo and transmission in conservative scattering, satisfy integral equations that reduce to forms involving the exponential integral E_n(\tau) = \int_0^1 \mu^{n-1} e^{-\tau / \mu} \, d\mu for optical depth \tau and moments n, enabling computation of emergent intensities in stellar atmospheres or planetary reflection. These functions appear in the source function iterations for multiple scattering, as seen in the Milne problem for semi-infinite atmospheres, where E_1(\tau) governs the diffuse radiation field. For photon transport in optically thick media, such as blackbody radiation enclosures or neutron diffusion approximations, the exponential integrals facilitate exact evaluations of flux integrals, contrasting with diffusion limits and providing benchmarks for numerical radiative heat transfer simulations in combustion chambers or astrophysical disks. In probability and statistics, the exponential integral connects to waiting times in Poisson processes through its relation to the incomplete gamma function, which describes the distribution of interarrival times for multiple events. The waiting time W_n until the n-th event in a homogeneous Poisson process with rate \lambda follows a gamma distribution with shape n and scale $1/\lambda, and its survival function P(W_n > t) = \Gamma(n, \lambda t) / \Gamma(n), where the upper incomplete gamma \Gamma(n, x) for integer n equals (n-1)! e^{-x} \sum_{k=0}^{n-1} x^k / k!; this incomplete gamma is equivalently expressed using exponential integrals for non-integer extensions or asymptotic forms, linking directly to E_1(x) via \Gamma(0, x) = E_1(x). Such representations are crucial for modeling cumulative event times in reliability analysis, like failure intervals in electronic systems or arrival statistics in detectors. This linkage allows exponential integrals to approximate tail probabilities in non-integer order generalizations of Poisson waiting times, aiding simulations in or where exact gamma computations are computationally intensive. In , exponential integrals model transient responses in distributed parameter systems, such as power cables embedded in , where lumped approximations fail for high-frequency signals or long lines. For underground cables, the response analogous to involves exponential integrals to capture dispersive effects along the line. This is particularly relevant for analyzing dynamic thermal rating of underground cables, where is modeled as a distributed , and mutual heating effects require solving integral equations with exponential integrals for accurate transient predictions. Additionally, AI-accelerated evaluations have emerged for computing exponential integrals in large-scale neural point processes, where machine learning approximates the intractable exponential integral terms in latent Poisson models for dynamic interaction predictions, improving inference efficiency in spatiotemporal data analysis.

References

  1. [1]
    DLMF: §6.2 Definitions and Interrelations ‣ Properties ‣ Chapter 6 ...
    The principal value of the exponential integral E 1 ⁡ ( z ) is defined by where the path does not cross the negative real axis or pass through the origin.
  2. [2]
    Introduction to the exponential integrals - Wolfram Functions Site
    Applications of exponential integrals include number theory, quantum field theory, Gibbs phenomena, and solutions of Laplace equations in semiconductor physics.
  3. [3]
    [PDF] 2.10 Exponential Integrals Ei and E1 - The Netlib
    The functions Ei(x) for x > 0 and E1(x) for x < 0 are defined as Cauchy principal value integrals. These func- tions thus have well-defined finite values ...Missing: Glaisher 1870
  4. [4]
  5. [5]
    [PDF] Fast and accurate algorithm for the generalized exponential integral ...
    Apr 26, 2017 · Abstract. We describe an algorithm for the numerical evaluation of the generalized expo- nential integral Eν (x) for positive values of ν ...
  6. [6]
    exponential integral - PlanetMath
    Mar 22, 2013 · Eix:=∫−x∞e−ttdt=−∫∞−xe−ttdt:=∫x−∞e−uudu. Ei ⁢ x := ∫ ∞ - x e - t t ⁢ d t = - ∫ - x ∞ e - t t ⁢ d t := ∫ - ∞ x e - u u ⁢ d u .
  7. [7]
    DLMF: §6.6 Power Series ‣ Properties ‣ Chapter 6 Exponential ...
    Power Series where ψ denotes the logarithmic derivative of the gamma function (§5.2(i)). The series in this section converge for all finite values of x and | z ...
  8. [8]
    Uniform, Exponentially improved, Asymptotic Expansions for the ...
    This expansion is expressed in terms of generalized exponential integrals and has a larger region of validity and greater accuracy than conventional expansions ...
  9. [9]
    [PDF] asymptotic approximations of integrals - SDSU Digital Collections
    In section 1.2 we study the well known exponential integral and show how it is approximated by an asymptotic expansion, which is a divergent series. This ...<|control11|><|separator|>
  10. [10]
  11. [11]
    None
    ### Summary of Formula for the n-th Derivative of the Exponential Integral E_1(z)
  12. [12]
    DLMF: §6.12 Asymptotic Expansions ‣ Properties ‣ Chapter 6 ...
    The asymptotic expansions of Si (z) and Ci (z) are given by (6.2.19), (6.2.20), together with as z → ∞ in | ph z | ≤ π − δ ( < π ).
  13. [13]
    [PDF] A review on the Exponential-Integral special function and ... - arXiv
    Jul 24, 2019 · The aim of this short series of lectures is to provide a good treatise about the Exponential. Integral special function, covering also a few ...
  14. [14]
    Logarithmic Integral -- from Wolfram MathWorld
    Logarithmic Integral ; Li(x), = int_2^x(du)/(lnu) ; = li(x)-li(2).Missing: ln | Show results with:ln
  15. [15]
    [PDF] Extending error function and related functions to complex arguments
    Nov 30, 2016 · ... error function and the exponential integral as follows,. G(x) = − π. 2 ie−x2 erf(ix) −. 1. 2 e−x2. Ei(x2). By using the well-known connection ...
  16. [16]
    Exponential integrals and error functions - mpmath
    The most general function in this section is the incomplete gamma function, to which all others can be reduced. The incomplete gamma function, in turn, can be ...
  17. [17]
    DLMF: §8.19 Generalized Exponential Integral ‣ Related Functions ...
    definition, generalized exponential integral, incomplete gamma functions ... §8.19(x) Integrals. ⓘ. Keywords: generalized exponential integral, integrals ...Missing: Ei( | Show results with:Ei(
  18. [18]
    Inverse of exponential integral function - MathOverflow
    Feb 12, 2021 · The exponential integral function x↦E1(x) is strictly decreasing on the positive real axis and, so, is globally real analytically invertible ...Singularity of inverse exponential integral function - MathOverflowAn analogue of the exponential function by replacing infinite series ...More results from mathoverflow.netMissing: definition | Show results with:definition
  19. [19]
    The origin of the logarithmic integral in the prime number theorem
    Sep 30, 2013 · Abstract:We establish why li(x) outperforms x/log x as an estimate for the prime counting function pi(x).Missing: inverse 1910
  20. [20]
    None
    ### Summary of Information on Inverse Exponential Integral Ei⁻¹(x) from arXiv:2502.19063
  21. [21]
    DLMF: §6.9 Continued Fraction ‣ Properties ‣ Chapter 6 ...
    §6.9 Continued Fraction. ⓘ. Keywords: continued fraction, exponential integrals ... : base of natural logarithm, E 1 ⁡ ( z ) : exponential integral, ph ...
  22. [22]
    Computation of exponential integrals of a complex argument
    In order to make the algorithm more efficient, analytic continuation into a strip about the negative real axis is carried out by limited use of power series.
  23. [23]
    scipy.special.expi — SciPy v1.16.2 Manual
    the integral is understood as a Cauchy principal value. It is extended to the complex plane by analytic continuation of the function on the interval ( 0 , ∞ ) .
  24. [24]
    Cephes double precision special functions suite - The Netlib
    Oct 5, 2014 · Returns radian angle between -pi/2 and +pi/2 whose sine is x. A rational function of the form x + x**3 P(x**2)/Q(x**2) is used for |x| in the interval [0, 0.5].
  25. [25]
    Special Functions — GSL 2.8 documentation - GNU.org
    Information on the exponential integrals can be found in Abramowitz & Stegun, Chapter 5. These functions are declared in the header file gsl_sf_expint.h .
  26. [26]
    Arb - a C library for arbitrary-precision ball arithmetic — Arb 2.23.0 ...
    Arb is a C library for rigorous real and complex arithmetic with arbitrary precision. Arb tracks numerical errors automatically using ball arithmetic.
  27. [27]
    Fast and accurate algorithm for the generalized exponential integral ...
    Apr 27, 2017 · We describe an algorithm for the numerical evaluation of the generalized exponential integral E ν (x) for positive values of ν and x.
  28. [28]
    [PDF] A new lower bound in the abc conjecture - arXiv
    ... prime counting function, so that 𝑛 = 𝜋(𝑥) − 1. The prime number theorem [4] states that 𝜋(𝑥) ∼ li(𝑥) where li(𝑥) is the logarithmic integral. Page 6. 6. C.
  29. [29]
    [PDF] arXiv:1907.04089v1 [math.NT] 9 Jul 2019
    Jul 9, 2019 · • Ei(x) is the exponential integral, li(x) is the logarithmic integral, µ ≈ 1.451369... is the unique real zero of li(x):. Ei(x) = − ∫. +∞. −x.
  30. [30]
    [PDF] Novel Special Function Obtained from a Delay Differential Equation
    Aug 13, 2016 · This paper deals with the series solution of a linear delay differential equation (DDE) ... exponential integral in incomplete gamma functions.
  31. [31]
    (PDF) The Wright omega Function. - ResearchGate
    This paper defines the Wright ¿ function,and presents some of its properties. As well as being of intrinsic mathematical interest,the function has a ...Missing: delay differential
  32. [32]
    [PDF] arXiv:2409.06301v1 [math.NT] 10 Sep 2024
    Sep 10, 2024 · Keywords and phrases: General Dirichlet series, mean value theorems. 1. Introduction. Given a function defined by a Dirichlet series, f(s) = P.
  33. [33]
    [PDF] arXiv:2504.00801v2 [math.CA] 3 May 2025
    May 3, 2025 · Abstract. We deal with the asymptotic analysis for Laplace's integral. For this problem, the so- called “Laplace's method” by P.S. Laplace ...
  34. [34]
    [PDF] NONLINEAR INTEGRAL EQUATIONS OF RADIATIVE TRANSFER
    This operator is usually written in terms of the exponential integral E,(x), but ... Chandrasekhar, S., Radiative Transfer, Dover, New York,. 1960. (Oxford ...<|separator|>
  35. [35]
    The Poissonian Origin of Power Laws in Solar Flare Waiting Time ...
    Nov 11, 2021 · We derive an analytical exact solution of the waiting time distribution function in terms of the incomplete gamma function, which is similar to ...
  36. [36]
    Transient Thermal Performance of Power Cable Ascertained Using ...
    The Ei refers to the exponential integral which can be expressed as,. − E i ( − x ) ...
  37. [37]
    [PDF] Efficient Inference for Dynamic Flexible Interactions of Neural ...
    (2020), a latent marked Poisson process can be augmented to render the exponential integral term in Eq. (7) appear in a Gaussian form w.r.t. wi. Utilizing ...<|control11|><|separator|>