Report

Help us improve this tool

Exponential Integral Calculator

Compute the exponential integral Ei(x) for any non-zero x with high precision, series expansion details, and related special function values.

O M T

What Is the Exponential Integral?

The exponential integral $\text{Ei}(x)$ is a classical special function that appears in heat transfer, fluid flow in porous media, and electromagnetic theory. It is defined as a Cauchy principal value integral because the integrand is singular at $t = 0$.

Definition

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

For $x \neq 0$, the power series expansion is $\text{Ei}(x) = \gamma + \ln|x| + \sum_{k=1}^{\infty} x^k / (k \cdot k!)$, where $\gamma \approx 0.5772156649$ is the Euler-Mascheroni constant.

Key Properties

  • Derivative: $\frac{d}{dx}\text{Ei}(x) = e^x / x$
  • Logarithmic singularity at $x = 0$
  • For large positive $x$: $\text{Ei}(x) \sim e^x / x$
  • Related to $E_1(x)$: $\text{Ei}(-x) = -E_1(x)$ for $x > 0$

Explore related special functions with the Error Function Calculator or the Natural Log Calculator.

Frequently Asked Questions

Why is Ei(x) undefined at x = 0?

The integrand $e^t/t$ blows up at $t = 0$. The integral diverges logarithmically, so $\text{Ei}(0)$ approaches negative infinity.

What precision does this calculator support?

Choose 6 to 20 decimal places. Small $|x|$ values use the power series; large positive $x$ uses an asymptotic expansion for stability.

Where does Ei(x) appear in engineering?

Common uses include well-test analysis in petroleum engineering, semi-infinite heat conduction, and radiative transfer in astrophysics.

How is Ei(x) different from the error function?

The error function integrates $e^{-t^2}$ over a bounded interval. Ei integrates $e^t/t$ and has a logarithmic singularity at zero.