# 原函数

函数 f 的一个原函数，是一个可微函数 F，其导数为 f，即在关系成立的区间上 F′(x) = f(x)。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup> 求原函数是微分的逆运算：已知一个量如何变化，就能还原这个量本身。由于微分丢弃常数项，原函数只能确定到一个相加常数，所有原函数的集合记作不定积分 ∫ f(x) dx = F(x) + C。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup>

| 关键事实 | 细节 |
|---|---|
| 定义 | 若对区间 I 中每个 x 都有 F′(x) = f(x)，则 F 是 f 在 I 上的一个原函数。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup> |
| 非唯一性 | 同一函数在区间上的任意两个原函数只相差一个常数；原函数“在相差一个常数的意义下唯一”。<sup>[2](https://math.mit.edu/~djk/18_01/chapter11/section03.html)</sup> |
| 记号 | ∫ f(x) dx = F(x) + C 表示最一般的原函数；f(x) 是被积函数，C 是积分常数。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup> |
| 幂法则 | 对 n ≠ −1，∫ x<sup>n</sup> dx = x<sup>n+1</sup>/(n+1) + C；例外指数 −1 给出 ∫ x<sup>−1</sup> dx = ln\|x\| + C。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup> |
| 微积分基本定理 | 若 f 在 [a, b] 上连续，且 F 是 f 在该区间上的原函数，则 ∫<sub>a</sub><sup>b</sup> f(x) dx = F(b) − F(a)。<sup>[3](https://www.math.ucdavis.edu/~temple/MAT21B/SUPPLEMENTARY-ARTICLES/1HistoryOfCalc.html)</sup> |
| 初等函数的局限 | 某些初等函数——通常的例子是 exp(−x²)——没有初等原函数，这是刘维尔（Liouville）定理的一个推论。<sup>[4](https://www.math.u-bordeaux.fr/en/agenda/4288)</sup> |
| 算法现状 | 里施算法（Risch algorithm）是一种判定过程，要么找到初等原函数，要么证明不存在；SymPy 实现了其中一部分。<sup>[5](https://docs.sympy.org/latest/modules/integrals/integrals.html)</sup> |

## 原函数族

微分遗忘竖直位置：每条曲线 y = F(x) + C 在对应点处都有相同的斜率。因此，求原函数产生的不是一个函数，而是一族竖直平移的曲线；诸如 F(0) = 3 的初始条件会选出其中一条。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup> 在区间上，同一函数的任意两个原函数之差导数为零，因此由中值定理，这个差是常数；这正是“+ C”记法的确切含义。<sup>[2](https://math.mit.edu/~djk/18_01/chapter11/section03.html)</sup>

定义中的区间很重要。函数 1/x 在 (0, ∞) 上以 ln x + C 为一个原函数，在 (−∞, 0) 上以 ln(−x) + C 为一个原函数，而两个不连通部分上选定的常数不必相同。<sup>[6](https://learn.math101.ca/calculus-i/antiderivatives/)</sup> 原函数还携带定性信息：若 f 在区间上 ≥ 0，则 f 的每个原函数在该区间上非减；若 f 可微且 f′ ≥ 0，则每个原函数都是凸的，因为 F″ = f′ ≥ 0。<sup>[6](https://learn.math101.ca/calculus-i/antiderivatives/)</sup>

实践中，求原函数靠倒着读导数表。例如，因为 d/dx(sin x) = cos x，所以 cos x 的每个原函数都具有 sin x + C 的形式；因为 d/dx(e<sup>x</sup>) = e<sup>x</sup>，所以 e<sup>x</sup> 的每个原函数都具有 e<sup>x</sup> + C 的形式。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup> 换元法和分部积分等技巧把这些基本规则推广到更复杂的被积函数。<sup>[7](https://tstu.uz/api/file-uploads/2026%20Year/05%20Month/01%20Day%28Friday%29/documents/491f810d-5efa-450d-b8c1-cd66ed99479c.pdf)</sup>

## 与定积分的关系

微积分基本定理把“积分”的两种含义联系起来。一方面，若 f 在 [a, b] 上连续且 F 是 f 的原函数，则定积分等于 F(b) − F(a)；因此，一旦知道原函数的公式，许多定积分就可以用代数方法计算，而不需要极限过程。<sup>[3](https://www.math.ucdavis.edu/~temple/MAT21B/SUPPLEMENTARY-ARTICLES/1HistoryOfCalc.html)</sup> 另一方面，对于连续 f，由变上限定积分定义的累积函数本身就是 f 的一个原函数。<sup>[3](https://www.math.ucdavis.edu/~temple/MAT21B/SUPPLEMENTARY-ARTICLES/1HistoryOfCalc.html)</sup>

这个定理也解决了连续函数的原函数存在性问题：对任意连续 f，从固定基点出发的定积分定义一个可微函数，其导数为 f，因此每个连续函数都有原函数，无论该原函数能否写成闭式。<sup>[8](https://www.math.utoronto.ca/mathnet/questionCorner/existantideriv.html)</sup> 对于不连续函数，问题更微妙。加斯东·达布（Gaston Darboux）证明每个导数都具有介值性质，因此一个取值跳过某个中间值的函数——例如阶跃函数——不是任何函数的导数。<sup>[9](https://encyclopediaofmath.org/wiki/Darboux_property)</sup>

## 初等原函数与里施算法

初等函数是由有理函数通过指数、对数、三角与反三角运算以及代数运算构造出来的函数。<sup>[10](https://www.cs.ru.nl/~freek/courses/mfocs-2012/risch/S0002-9904-1970-12454-5.pdf)</sup> 并非每个初等函数都有初等原函数。约瑟夫·刘维尔（Joseph Liouville）的一个著名结果表明，实变量或复变量的某些初等函数没有初等原函数，通常的例子是 exp(−x²)，它的积分改用误差函数表示。<sup>[4](https://www.math.u-bordeaux.fr/en/agenda/4288)</sup> 其他标准例子包括 1/ln(x) 和 x<sup>x</sup>。<sup>[5](https://docs.sympy.org/latest/modules/integrals/integrals.html)</sup>

对给定初等函数判定是否存在初等原函数的问题，就是有限项积分问题。当时在 IBM 的罗伯特·H·里施（Robert H. Risch）设计了一种算法，解决了刘维尔的这个经典问题：判定一个初等函数是否有初等不定积分，并在有初等不定积分时求出该积分。<sup>[10](https://www.cs.ru.nl/~freek/courses/mfocs-2012/risch/S0002-9904-1970-12454-5.pdf)</sup> 在计算机代数系统中，完整算法要求很高，实现往往是不完整的：SymPy 的 risch_integrate() 目前处理由指数和对数构造的纯超越函数；当它返回未求值的 NonElementaryIntegral（非初等积分）时，就已证明该积分不是初等积分，即不能用指数、对数、三角函数、幂、有理函数、代数函数及其复合来表示。<sup>[5](https://docs.sympy.org/latest/modules/integrals/integrals.html)</sup> 系统也使用更快的启发式变体，例如里施-诺曼算法（Risch-Norman algorithm），它在许多情况下能找到原函数，但不是判定过程：找不到原函数并不能证明不存在。<sup>[5](https://docs.sympy.org/latest/modules/integrals/integrals.html)</sup>

## 历史

面积或累积问题与切线问题之间的互逆关系，在微积分体系化之前就已可见。艾萨克·巴罗（Isaac Barrow）熟悉积分与导数互为逆运算的想法，尽管他从未明确陈述基本定理。<sup>[11](https://mathshistory.st-andrews.ac.uk/HistTopics/The_rise_of_calculus/)</sup> 牛顿（Newton）在 1666 年的论著中讨论了反问题：当切线斜率 y′/x′ 作为 x 的函数给出时求 y；他用求原函数的方法解决了这个问题，该著作包含微积分基本定理的第一个清晰陈述。<sup>[11](https://mathshistory.st-andrews.ac.uk/HistTopics/The_rise_of_calculus/)</sup> 对牛顿而言，积分就是为给定的流数（fluxion）求流量（fluent），因此互逆关系已内置于他的表述之中。<sup>[11](https://mathshistory.st-andrews.ac.uk/HistTopics/The_rise_of_calculus/)</sup>

莱布尼茨（Leibniz）于 1675 年 11 月 11 日在巴黎（Paris）的私人笔记中引入了现代积分号 ∫，这个符号取自拉丁词 summa 的长 s；他 1684 年和 1686 年发表的微分学与积分学文章使这一记号进入印刷品，而他强调微分之比与求和的 dy/dx 和 ∫ 记号，正是现代教科书采用的记号。<sup>[12](https://thisdayinhistory.ai/event/leibniz-introduces-the-integral-sign.2740)</sup><sup> • </sup><sup>[13](https://sites.math.rutgers.edu/~cherlin/History/Papers2000/brumbau.html)</sup> 关于哪些原函数能用有限项表示的系统理论始于刘维尔，他关于这一主题的工作发表于 1833 年至 1841 年间；里施在 1969 年和 1970 年将其带入算法形式。<sup>[14](https://doi.org/10.1090/s0002-9947-1969-0237477-8)</sup>

## 应用

求原函数是从已知变化率得到量本身的标准途径。在直线运动中，速度是加速度的原函数，位置是速度的原函数；知道所有时刻的加速度，再加上任一时刻的速度和位置，就能确定所有时刻的位置。<sup>[15](https://lemesurierb.people.charleston.edu/math120-notes/chapter4_section10_antiderivatives.html)</sup> 同样的结构可解微分方程的初值问题：积分 dy/dx = sin x 得 y = −cos x + C，而诸如 y(0) = 5 的初始条件定出 C = 6，得到特解 y = −cos x + 6。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup>

一个带单位的例题展示了这一过程。一辆以 88 英尺/秒行驶的汽车以 15 英尺/秒² 的恒定减速度刹车。对 v′(t) = −15 积分并代入 v(0) = 88，得 v(t) = −15t + 88，因此汽车在 t = 88/15 秒后停下；再次积分并代入 s(0) = 0，得 s(t) = −(15/2)t² + 88t，汽车在停下前行驶约 258.133 英尺。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)</sup>

## References

1. [4.10 Antiderivatives, Calculus Volume 1, OpenStax](https://openstax.org/books/calculus-volume-1/pages/4-10-antiderivatives)
2. [11.3 Uniqueness of Antiderivatives, MIT 18.01](https://math.mit.edu/~djk/18_01/chapter11/section03.html)
3. [Calculus (History of calculus section), UC Davis MAT 21B supplementary articles](https://www.math.ucdavis.edu/~temple/MAT21B/SUPPLEMENTARY-ARTICLES/1HistoryOfCalc.html)
4. [Institut de Mathématiques de Bordeaux, announcement on elementary antiderivatives](https://www.math.u-bordeaux.fr/en/agenda/4288)
5. [Integrals, SymPy 1.14.0 documentation](https://docs.sympy.org/latest/modules/integrals/integrals.html)
6. [Antiderivatives, Calculus I, Math101.ca](https://learn.math101.ca/calculus-i/antiderivatives/)
7. [Appendix 12.5: Antiderivatives and their applications](https://tstu.uz/api/file-uploads/2026%20Year/05%20Month/01%20Day%28Friday%29/documents/491f810d-5efa-450d-b8c1-cd66ed99479c.pdf)
8. [Does Every Function Have an Antiderivative?, University of Toronto Mathematics Network](https://www.math.utoronto.ca/mathnet/questionCorner/existantideriv.html)
9. [Darboux property, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Darboux_property)
10. [Robert H. Risch, The Solution of the Problem of Integration in Finite Terms, Bulletin of the American Mathematical Society (1970)](https://www.cs.ru.nl/~freek/courses/mfocs-2012/risch/S0002-9904-1970-12454-5.pdf)
11. [The rise of calculus, MacTutor History of Mathematics](https://mathshistory.st-andrews.ac.uk/HistTopics/The_rise_of_calculus/)
12. [Leibniz introduces the integral sign, November 11, 1675, This Day in History](https://thisdayinhistory.ai/event/leibniz-introduces-the-integral-sign.2740)
13. [History of Mathematics: Newton and Leibniz, Rutgers University](https://sites.math.rutgers.edu/~cherlin/History/Papers2000/brumbau.html)
14. [Robert H. Risch, The problem of integration in finite terms (1969), paper record](https://doi.org/10.1090/s0002-9947-1969-0237477-8)
15. [Antiderivatives, Math 120 notes, College of Charleston](https://lemesurierb.people.charleston.edu/math120-notes/chapter4_section10_antiderivatives.html)

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

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Integrals and integration theory

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/antiderivative

English original: https://www.edgepedia.org/antiderivative
