# 指数积分

指数积分是由 e^{−t}/t 的积分定义的特殊函数，有两种密切相关的形式：E1(z) = ∫_z^∞ e^{−t}/t dt，沿一条不穿越负实轴、也不经过原点的路径积分；以及 Ei(x)，它是前者的实值伴随函数，通过柯西主值（对称地越过无穷间断点取平均的极限积分）定义。<sup>[1](https://dlmf.nist.gov/6.2)</sup> 该函数由 A. M. 勒让德（Legendre）于1811年引入，Ei 这一记号由 J. W. L. 格莱舍（Glaisher）于1870年创制。<sup>[2](https://www.sci.utah.edu/~vpegorar/research/2011_JGT.pdf)</sup> 它遍及物理学与工程学，从中子输运到辐射传输；它不是初等函数：里施（Risch）算法表明，Ei(x) 不存在用初等函数表示的原函数。<sup>[3](https://ar5iv.labs.arxiv.org/html/1907.12373)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | E1(z) = ∫_z^∞ e^{−t}/t dt，z ≠ 0，路径避开负实轴与原点；Ei(x) = PV∫_{−∞}^x e^{t}/t dt<sup>[1](https://dlmf.nist.gov/6.2)</sup> |
| 基本恒等式 | 对 x > 0，Ei(−x) = −E1(x)；等价地，Ei(x) = −E1(−x)<sup>[1](https://dlmf.nist.gov/6.2)</sup><sup> • </sup><sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup> |
| 整函数伴随 | Ein(z) = ∫_0^z (1 − e^{−t})/t dt 是整函数，且 E1(z) = Ein(z) − ln z − γ<sup>[1](https://dlmf.nist.gov/6.2)</sup> |
| 奇点 | Ei(0) = −∞，E1(0) = +∞；除 0 外，所有实数 x 处均有有限值<sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup> |
| 实零点 | Ei 的实零点位于 0.37250741078…，即索尔德纳（Soldner）常数的对数；E1 的唯一实根位于 −0.37250741078136663446<sup>[5](https://mathworld.wolfram.com/ExponentialIntegral.html)</sup><sup> • </sup><sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup> |
| 推广 | 对正实数 z，En(z) = ∫₁^∞ e^{−zu}/uⁿ du，E1 为 n = 1 的情形<sup>[3](https://ar5iv.labs.arxiv.org/html/1907.12373)</sup> |
| 不完全伽马 | E1(x) = Γ(0, x)；对实 x > 0，Γ(0, x) = −Ei(−x)<sup>[6](https://www.sciencedirect.com/topics/mathematics/exponential-integral)</sup><sup> • </sup><sup>[7](https://isa-afp.org/browser_info/current/AFP/Exp_Log_Integral/document.pdf)</sup> |

## 定义与记号

NIST《数学函数数字图书馆》（DLMF）将 E1(z) 的主值定义为从 z 到无穷远的 e^{−t}/t dt 积分，并要求积分路径不得穿越负实轴或经过原点。<sup>[1](https://dlmf.nist.gov/6.2)</sup> 对实 x，Ei(x) 定义为 −PV∫_{−x}^∞ e^{−t}/t dt，等价于 PV∫_{−∞}^x e^{t}/t dt；对 x > 0，Ei(−x) = −E1(x)；Ei(x) 在 x = 0 或 x 非实时无定义。<sup>[1](https://dlmf.nist.gov/6.2)</sup> 格拉德施泰因–雷日克（Gradshteyn–Ryzhik）传统采用同一约定：对 x > 0，e^{t}/t 的积分按柯西主值意义理解，因为被积函数在 t = 0 处有无穷间断。<sup>[8](http://www.math.tulane.edu/~vhm/formula_html/final26.pdf)</sup><sup> • </sup><sup>[9](https://encyclopediaofmath.org/index.php?title=Integral_exponential_function)</sup>

第三个函数 Ein(z) = ∫_0^z (1 − e^{−t})/t dt 完全消去了奇点：其被积函数在 t = 0 处有界，因此 Ein 是整函数，它与 E1 的关系为 E1(z) = Ein(z) − ln z − γ，其中 γ 为欧拉常数。<sup>[1](https://dlmf.nist.gov/6.2)</sup> 于是，E1 在原点的对数奇点被隔离在 ln z 一项中。

对正实数 z 与正整数 n，广义指数积分为 En(z) = ∫₁^∞ e^{−zu}/uⁿ du，当 n = 1 时退化为 E1；DLMF 在关于不完全伽马及相关函数的章节中讨论了对复 p 的推广。<sup>[3](https://ar5iv.labs.arxiv.org/html/1907.12373)</sup><sup> • </sup><sup>[1](https://dlmf.nist.gov/6.2)</sup>

不同文献的约定存在差异，而这些差异对使用者至关重要。Isabelle 形式证明档案（Archive of Formal Proofs）的条目对复 z 定义 Ei(z) = γ + ½(ln z − ln(1/z)) − Ein(−z)，在非正实数之外解析，导数为 e^z/z，并有意完全不定义 E1，指出需要它的用户可令 E1(z) = Γ(0, z) 或 E1(z) = Ein(z) − ln z − γ。<sup>[7](https://isa-afp.org/browser_info/current/AFP/Exp_Log_Integral/document.pdf)</sup>

## 复分支与解析性质

作为复变量 z 的函数，按《数学百科全书》（Encyclopedia of Mathematics）的约定，Ei(z) = C + ln(−z) + Σ z^k/(k!·k) 在沿正实半轴切开的 z 平面（0 < arg z < 2π）内单值解析，跨越割线时有 ±iπ 的极限跃变。<sup>[9](https://encyclopediaofmath.org/index.php?title=Integral_exponential_function)</sup> SciPy 则遵循 DLMF，从区间 (0, ∞) 出发通过解析延拓扩展 Ei，并将分支割线置于负实轴上。<sup>[10](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.expi.html)</sup> 这些约定使用不同的分支割线，因此复数值必须依据所用文献或库的约定来解读。<sup>[9](https://encyclopediaofmath.org/index.php?title=Integral_exponential_function)</sup><sup> • </sup><sup>[10](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.expi.html)</sup>

在实轴上，自变量为正与为负时的行为不同。对 x > 0，Ei(x) 以 e^x/x 的方式增长，并在 x ≈ 0.37250741078… 处穿过零点；对 x < 0，Ei(x) = −E1(−x) 为负，且当 x → −∞ 时趋于 0。<sup>[5](https://mathworld.wolfram.com/ExponentialIntegral.html)</sup><sup> • </sup><sup>[1](https://dlmf.nist.gov/6.2)</sup> 在其割线之外，Ei 满足对称性 Ei(z̄) = conj(Ei(z))。<sup>[2](https://www.sci.utah.edu/~vpegorar/research/2011_JGT.pdf)</sup> 对 x > 0，该函数还通过 Ei(±ix) = Ci(x) ± i Si(x) ∓ πi/2 与正弦积分和余弦积分相联系。<sup>[9](https://encyclopediaofmath.org/index.php?title=Integral_exponential_function)</sup>

## 级数、渐近展开与连分式

三种表示涵盖了 E1 的实际计算，各自适用于不同的区间。对 x > 0，收敛级数为 E1(x) = −γ − ln x − Σ_{n=1}^∞ (−1)ⁿ xⁿ/(n·n!)，但当 x ≫ 1 时其收敛速度过慢，不切实用。<sup>[6](https://www.sciencedirect.com/topics/mathematics/exponential-integral)</sup> 对大 x，所用工具是通过反复分部积分得到的发散渐近展开：当 z → ∞ 时，E1(z) ∼ (e^{−z}/z)(1 − 1!/z + 2!/z² − 3!/z³ + ⋯)；相应地，当 x → +∞ 时，Ei(x) ∼ (e^{x}/x)(1 + 1!/x + 2!/x² + 3!/x³ + ⋯)。<sup>[11](https://dlmf.nist.gov/6.12)</sup> Isabelle 形式化用同样的技巧证明了首项等价关系：当 x → +∞ 时 Ei ∼ (λx. exp x / x)，以及当 x → −∞ 时 Ei(x) → 0。<sup>[7](https://isa-afp.org/browser_info/current/AFP/Exp_Log_Integral/document.pdf)</sup>

渐近级数必须截断：当 |ph z| ≤ π/2 时，余项的模以第一个被舍弃的项为界；对更大的扇形区域，界为 csc(|ph z|) 乘以第一个被舍弃的项。<sup>[11](https://dlmf.nist.gov/6.12)</sup> 从计算角度看，幂级数在 |z| < 1 时性质良好、收敛迅速，但当 |z| ≫ 1 时变得昂贵且数值不稳定；而渐近级数对较大的 |z| 更有用。佩戈拉罗（Pegoraro）与斯卢萨莱克（Slusallek）给出，在可容忍的相对误差 ε 下，可用的渐近半径为约 2 − 1.035 ln(ε)。<sup>[2](https://www.sci.utah.edu/~vpegorar/research/2011_JGT.pdf)</sup> 连分式填补了中间地带：GNU Octave 的 expint 将输入分为三个区域，并依区域分别应用级数展开（阿布拉莫维茨–斯泰根公式 5.1.11，从 −γ − ln x 出发，γ = 0.577215664901532860606512090082402431042159335）、连分式（A&S 5.1.22，通过改进 Lentz 算法），或渐近级数 e^{−x}/x 乘以部分和。<sup>[12](https://github.com/gnu-octave/octave/blob/5037a2d9/scripts/specfun/expint.m)</sup>

## 与其他特殊函数的关系

指数积分是不完全伽马函数的零阶情形：E1(x) = Γ(0, x)。<sup>[6](https://www.sciencedirect.com/topics/mathematics/exponential-integral)</sup> Isabelle 形式化证明了对实 x > 0 有 Γ(0, x) = −Ei(−x)，对非正实数之外的复 z 有 Γ(0, z) = Ein(z) − ln z − γ，使这一对应关系是精确的，而不仅仅是记号上的。<sup>[7](https://isa-afp.org/browser_info/current/AFP/Exp_Log_Integral/document.pdf)</sup>

素数理论中的对数积分是同一函数经变量替换后的形式：对 x > 1，li(x) = PV∫_0^x dt/ln t = Ei(ln x)。<sup>[1](https://dlmf.nist.gov/6.2)</sup> 等价地，对 x < 0，Ei(x) = li(e^x)。<sup>[9](https://encyclopediaofmath.org/index.php?title=Integral_exponential_function)</sup> 一部已出版的专著章节将指数积分与其生成的函数一并讨论：正弦积分 si(z)、余弦积分 ci(z)、对数积分 li(z)、双曲正弦积分 shi(z) 与双曲余弦积分 chi(z)。<sup>[13](https://iopscience.iop.org/book/mono/978-0-7503-6149-1/chapter/bk978-0-7503-6149-1ch26.pdf)</sup>

有两个常数与该函数相关。Ei 的实零点 0.37250741078…（OEIS A091723）是索尔德纳常数的自然对数。<sup>[5](https://mathworld.wolfram.com/ExponentialIntegral.html)</sup> 量 −e·Ei(−1)（OEIS A073003）称为冈珀茨（Gompertz）常数。<sup>[5](https://mathworld.wolfram.com/ExponentialIntegral.html)</sup> 欧拉常数 γ 如上文所示，通过级数与 Ein 进入其中。<sup>[1](https://dlmf.nist.gov/6.2)</sup>

## 数值计算

生产级库在一个接口背后组合了多种算法。SLATEC Fortran 77 程序包对 0 ≤ X < 6 使用以切比雪夫多项式表示的有理切比雪夫逼近来计算 Ei(x)。<sup>[14](https://netlib.org/specfun/ei)</sup> Netlib 数学库使用 L. W. 富勒顿（Fullerton）提出的算法（经劳森（Lawson）与邱（Chiu）小幅修改），将区间 [−α, β] 划分为八个子区间，每个子区间各有自己的多项式逼近，可适应高达约31位小数的任意精度。<sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup> Boost 的通用实现使用连分式；对 n = 1 且编译期精度不超过113比特的情形，它改用有理逼近；对 x < 1，它使用极小极大逼近，测试值以1000比特精度用 NTL::RR 计算。<sup>[15](https://www.boost.org/doc/libs/latest/libs/math/doc/html/math_toolkit/expint/expint_n.html)</sup> NAG 通过切比雪夫展开计算 E1(x)；对 x < 0，它取主值的实部，使用科迪（Cody）与撒切尔（Thatcher Jr.，1969）的展开，并采取措施在 x0 ≈ −0.372507…（Ei(−x) 的一个单零点）附近维持良好的相对精度。<sup>[16](https://support.nag.com/numeric/cl/nagdoc_cl26.1/html/s/s13aac.html)</sup>

主要陷阱是范围与相消。E1(x) 在 x < −α 时会上溢，在 x > β 时会下溢，其中 α = µ + ln µ 与 β = λ − ln λ 由机器的上溢与下溢限值确定；NAG 在第一种情形返回最大可表示机器数的负值，在第二种情形将结果置零，并在 x = 0 时报错退出。<sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup><sup> • </sup><sup>[16](https://support.nag.com/numeric/cl/nagdoc_cl26.1/html/s/s13aac.html)</sup> 在函数零点附近，相对误差原则上无界，因此各库在该处改用绝对误差界；NAG 还警告说，对 x < 0，自变量的相对误差在结果中至少被放大 e^{−x}/E1(x) 倍。<sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup><sup> • </sup><sup>[16](https://support.nag.com/numeric/cl/nagdoc_cl26.1/html/s/s13aac.html)</sup> 另一个实际陷阱是命名：在 MATLAB 中，expint() 是相关的泰斯（Theis）井函数 E1，而非 Ei；在 Maple 中 Ei(n, x) 计算的是 En(x)，而 Mathematica 使用 ExpIntegralE[n, x]；Ei(x) 与 ExpIntegralEi[x] 并非 E1 的同义词，在需要 E1 时不能使用。<sup>[2](https://www.sci.utah.edu/~vpegorar/research/2011_JGT.pdf)</sup><sup> • </sup><sup>[6](https://www.sciencedirect.com/topics/mathematics/exponential-integral)</sup> SciPy 提供三个例程：expn(n, x) 用于 En，exp1(z) 用于 E1，expi(x) 用于 Ei。<sup>[17](https://docs.scipy.org/doc/scipy/reference/special.html)</sup>

## 数据一览

连分式收敛足够快，可作为通用方法：将其与 Lentz 算法结合使用，单精度（约 10⁻⁸）在24次迭代内、双精度（约 10⁻¹⁶）在47次迭代内即可算出精确到机器精度的结果。<sup>[2](https://www.sci.utah.edu/~vpegorar/research/2011_JGT.pdf)</sup> Netlib 对 SE1 在 −80 到 80 之间 50,000 个点上的单精度测试发现，最大相对误差为：[−80, −1.20] 上 2.5ρ，[−1.20, −1.00] 上 4.6ρ，[−1.00, −0.41] 上 0.9ρ，[−0.30, 80] 上 0.8ρ，其中 ρ = 2⁻²³ ≈ 1.19 × 10⁻⁷；在根附近的 [−0.41, −0.30] 上，绝对误差界为 0.22ρ。<sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup> 在 Boost 公布的 GNU C++ 双精度基准测试中，En 的最大误差为 0.589ε（均值 0.0331ε），而同一平台上 GSL 2.1 的最大误差为 58.5ε（均值 17.1ε）；E1 达到 0.556ε（均值 0.0625ε），而 GSL 2.1 为 0.988ε（均值 0.469ε），其中 ε 为一个末位单位。<sup>[15](https://www.boost.org/doc/libs/latest/libs/math/doc/html/math_toolkit/expint/expint_n.html)</sup> 渐近地，当 x 趋于 +∞ 或 −∞ 时，E1(x) 的行为如同 x⁻¹e^{−x}；当 x 趋于零时，其行为如同 −ln|x|。<sup>[4](https://www.netlib.org/math/docpdf/ch02-10.pdf)</sup>

## 在物理学与工程学中的应用

正整数 n 的广义函数 En(x) 由凯斯（Case）与普拉切克（Placzek）及其同事在1953年的一份洛斯阿拉莫斯（Los Alamos）报告（LAMD-1273）中制表，该报告成为中子输运计算的标准参考文献；报告指出，这些函数由施勒米尔希（Schlömilch）定义，并被施瓦西（Schwarzschild）、爱丁顿（Eddington）、霍普夫（Hopf）等人广泛使用，反映了它们早期在辐射传输中的作用。<sup>[18](https://mcnp.lanl.gov/pdf_files/TechReport_1953_LASL_LAMD-1273_CasePlaczekEtAl.pdf)</sup> 在输运理论中，En 核直接出现在积分方程表述中：任意凸几何中单能中子输运方程的解析解依赖于以指数积分核为基础的积分方程方法；在无源情形下可得到精确的临界条件，其展开系数满足可化为弗雷德霍姆方程组的耦合奇异积分方程。<sup>[19](https://pubs.aip.org/aip/jmp/article-abstract/10/5/875/222863/Analytical-Solutions-of-the-Neutron-Transport)</sup> 该函数出现在应用科学中各种物理问题的解中，包括辐射传输。<sup>[2](https://www.sci.utah.edu/~vpegorar/research/2011_JGT.pdf)</sup><sup> • </sup><sup>[18](https://mcnp.lanl.gov/pdf_files/TechReport_1953_LASL_LAMD-1273_CasePlaczekEtAl.pdf)</sup>

## 近期进展

对该函数的研究仍然活跃。2024年9月的一篇预印本给出了指数积分皮瑟（Puiseux）表示的一个替代证明，用初等方法获得的结果替代了标准证明中对 Γ′(1) = −γ 的使用。<sup>[20](https://arxiv.org/abs/2409.02949)</sup> 另一篇2024年9月的预印本引入了多重多指数积分，定义为 Ei(z) 的迭代积分，它们出现在某些微扰语境中。<sup>[21](https://arxiv.org/pdf/2409.06760)</sup> 在计算方面，一篇期刊文章讨论了 Ei(x) 反函数的数值计算：两个反函数分支（x < 0 与 x > 0）没有直接公式，需分别处理，对接近 0 的 x 有专门的方法。<sup>[22](https://ojs.wiserpub.com/index.php/CM/article/view/9353)</sup> 软件版图是最新的：SciPy 在其 v1.17 与 v1.18 手册中记录了 expi，Boost 的文档载有最新版本的精度基准，NAG 的 s13aac 文档属于第26版程序库。<sup>[17](https://docs.scipy.org/doc/scipy/reference/special.html)</sup><sup> • </sup><sup>[10](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.expi.html)</sup><sup> • </sup><sup>[15](https://www.boost.org/doc/libs/latest/libs/math/doc/html/math_toolkit/expint/expint_n.html)</sup><sup> • </sup><sup>[16](https://support.nag.com/numeric/cl/nagdoc_cl26.1/html/s/s13aac.html)</sup> 除 DLMF 之外，Isabelle AFP 形式化现在作为该函数解析性质的机器验证参考。<sup>[7](https://isa-afp.org/browser_info/current/AFP/Exp_Log_Integral/document.pdf)</sup>

## References

1. [DLMF §6.2 Definitions and Interrelations, NIST Digital Library of Mathematical Functions](https://dlmf.nist.gov/6.2)
2. [Pegoraro, P. & Slusallek, P. On the Evaluation of the Complex-Valued Exponential Integral, Journal of Graphics Tools](https://www.sci.utah.edu/~vpegorar/research/2011_JGT.pdf)
3. [A review on the Exponential-Integral special function and other strictly related special functions, arXiv](https://ar5iv.labs.arxiv.org/html/1907.12373)
4. [Exponential Integrals Ei and E1, Netlib math library documentation](https://www.netlib.org/math/docpdf/ch02-10.pdf)
5. [Exponential Integral, Wolfram MathWorld](https://mathworld.wolfram.com/ExponentialIntegral.html)
6. [Exponential Integral — an overview, ScienceDirect Topics](https://www.sciencedirect.com/topics/mathematics/exponential-integral)
7. [The Exponential and Logarithmic Integral, Isabelle Archive of Formal Proofs](https://isa-afp.org/browser_info/current/AFP/Exp_Log_Integral/document.pdf)
8. [Moll, V. H. et al. The integrals in Gradshteyn and Ryzhik. Part 26: The exponential integral](http://www.math.tulane.edu/~vhm/formula_html/final26.pdf)
9. [Integral exponential function, Encyclopedia of Mathematics](https://encyclopediaofmath.org/index.php?title=Integral_exponential_function)
10. [scipy.special.expi, SciPy v1.18.0 Manual](https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.expi.html)
11. [DLMF §6.12 Asymptotic Expansions, NIST](https://dlmf.nist.gov/6.12)
12. [GNU Octave scripts/specfun/expint.m source code](https://github.com/gnu-octave/octave/blob/5037a2d9/scripts/specfun/expint.m)
13. [Exponential integral and functions it generates, IOPscience monograph chapter](https://iopscience.iop.org/book/mono/978-0-7503-6149-1/chapter/bk978-0-7503-6149-1ch26.pdf)
14. [SLATEC specfun ei, Fortran 77 packet, Netlib](https://netlib.org/specfun/ei)
15. [Exponential Integral En, Boost Math Library documentation](https://www.boost.org/doc/libs/latest/libs/math/doc/html/math_toolkit/expint/expint_n.html)
16. [nag_exp_integral (s13aac), NAG Library Mark 26](https://support.nag.com/numeric/cl/nagdoc_cl26.1/html/s/s13aac.html)
17. [Special functions (scipy.special), SciPy v1.17.0 Manual](https://docs.scipy.org/doc/scipy/reference/special.html)
18. [Case, K. M., Placzek, G. et al. (1953). Table of the Functions En(x), Los Alamos report LAMD-1273](https://mcnp.lanl.gov/pdf_files/TechReport_1953_LASL_LAMD-1273_CasePlaczekEtAl.pdf)
19. [Analytical Solutions of the Neutron Transport Equation in Arbitrary Convex Geometry, Journal of Mathematical Physics 10, 875 (1969)](https://pubs.aip.org/aip/jmp/article-abstract/10/5/875/222863/Analytical-Solutions-of-the-Neutron-Transport)
20. [An alternative proof of the Puiseux representation of the exponential integral, arXiv (2024)](https://arxiv.org/abs/2409.02949)
21. [Multiple polyexponential integrals, arXiv (2024)](https://arxiv.org/pdf/2409.06760)
22. [The Exponential Integral Ei(x) and Numerical Calculation of Its Inverse, Contemporary Mathematics](https://ojs.wiserpub.com/index.php/CM/article/view/9353)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Harmonic analysis, transforms, and integral equations

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/exponential-integral

English original: https://www.edgepedia.org/exponential-integral
