# 导数

函数在某一点的导数，是该函数在逐渐收缩的区间上的平均变化率的极限，它度量函数在该点的瞬时变化率；求导数的过程称为求导。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/3-1-defining-the-derivative)</sup> 几何上，导数就是曲线在该点处切线的斜率。<sup>[2](https://raw.org/book/analysis/derivatives/)</sup> 同一个极限，构成了物理学中速度与加速度、商业中边际利润、生物学中增长率的基础。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/3-1-defining-the-derivative)</sup>

| 要点 | 说明 |
|---|---|
| 定义 | \( f'(x) = \lim_{h \to 0} \frac{f(x+h) - f(x)}{h} \)；导数函数 \( f' \) 在该极限存在之处存在<sup>[1](https://openstax.org/books/calculus-volume-1/pages/3-1-defining-the-derivative)</sup><sup> • </sup><sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup> |
| 连续性与可微性 | 可微蕴含连续，但反之不成立：\( f(x) = |x| \) 处处连续，但在 0 处没有导数<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup> |
| 失效情形 | 尖角、尖点、竖直切线，以及诸如 \( x \sin(1/x) \) 在 0 处的振荡行为<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup><sup> • </sup><sup>[4](https://math.libretexts.org/Bookshelves/Calculus/Calculus_(Guichard)/02%3A_Instantaneous_Rate_of_Change-_The_Derivative/2.04%3A_The_Derivative_Function)</sup> |
| 物理意义 | 位置 \( \to \) 速度 \( \to \) 加速度；若速度以英里/小时计，则加速度以英里/小时²计<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup><sup> • </sup><sup>[5](https://math.libretexts.org/Courses/Edmonds_College/Contemporary_Calculus/2_The_Derivative/2.1_The_Definition_of_Derivative)</sup> |
| 有限差分 | 前向差分具有一阶精度；中心差分具有二阶精度，代价同样是 3 次浮点运算<sup>[6](https://ocw.mit.edu/courses/2-086-numerical-computation-for-mechanical-engineers-fall-2014/d25e9d10e9cd4bd5dcc66422dedc0ada_MIT2_086F14_Nutshell_Diff.pdf)</sup> |
| 自动微分 | 以机器精度计算导数，没有截断误差；反向模式（反向传播）适合多输入、少输出的问题<sup>[7](https://vovchenko.net/computational-physics/7_NumericalDerivatives/7_NumericalDerivatives_AD.html)</sup> |
| 弱导数 | 对所有检验函数 \( \varphi \)，由 \( \int_D u\, \partial_i \varphi\, dx = -\int_D v\, \varphi\, dx \) 定义；每个分布都有分布导数<sup>[8](https://people.tamu.edu/~guermond/M661_FALL_2019/chap02.pdf)</sup><sup> • </sup><sup>[9](https://ccjohnson.org/papers/GeneralizedDerivatives.pdf)</sup> |

## 定义与直观

设函数 \( f \) 定义在包含 \( a \) 的开区间上，则 \( f \) 在 \( a \) 处的导数记作 \( f'(a) \)，由差商的极限定义，<sup>[1](https://openstax.org/books/calculus-volume-1/pages/3-1-defining-the-derivative)</sup>

\[ f'(a) = \lim_{h \to 0} \frac{f(a+h) - f(a)}{h}. \]

这个极限至关重要，因为没有任何单独一条割线具有曲线在某点处的斜率：每个商 \( \frac{f(x+h)-f(x)}{h} \) 都是一条弦的斜率，只有 \( h \to 0 \) 时的极限值，才给出 \( (x_0, f(x_0)) \) 处的切线斜率。<sup>[2](https://raw.org/book/analysis/derivatives/)</sup> 导数函数 \( f' \) 的定义域，恰好就是使该极限存在的那些 \( x \) 值。<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup>

**记号。** 三种记号强调不同的侧面。\( f'(x) \) 把导数呈现为与 \( f \) 相关联的函数；\( \mathrm{D}(f) \) 把它呈现为施加于 \( f \) 的一种运算；而 \( \frac{df}{dx} \) 把它呈现为差商 \( \frac{f(x+h)-f(x)}{h} \) 的极限。<sup>[5](https://math.libretexts.org/Courses/Edmonds_College/Contemporary_Calculus/2_The_Derivative/2.1_The_Definition_of_Derivative)</sup> 《数学百科全书》列举了在用的记号，包括 \( f'(x_0) \)、\( \frac{df(x_0)}{dx} \)、\( \frac{dy}{dx} \) 和 \( (\frac{d}{dx})f(x_0) \)。<sup>[10](https://encyclopediaofmath.org/wiki/Derivative)</sup> 莱布尼茨记号 \( dy/dx \) 在工程和物理中很常见，在那里导数被读作 \( y \) 关于 \( x \) 的瞬时变化率。<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup>

## 导数不存在的情形

当定义导数的两个单侧极限并非同时存在且相等时，函数在该点就不可微；连续是可微的必要条件，但不是充分条件。<sup>[11](https://mathworld.wolfram.com/Derivative.html)</sup> 反复出现的失效模式有跳跃、尖角、尖点和竖直切线。<sup>[2](https://raw.org/book/analysis/derivatives/)</sup> 在尖角或尖点处，方向发生突变，导数无定义。<sup>[4](https://math.libretexts.org/Bookshelves/Calculus/Calculus_(Guichard)/02%3A_Instantaneous_Rate_of_Change-_The_Derivative/2.04%3A_The_Derivative_Function)</sup> 标准例子是 \( y = |x| \)：当 \( x > 0 \) 时其导数为 1，当 \( x < 0 \) 时为 \( -1 \)，而在 \( x = 0 \) 处无定义，因为左右两侧切线的斜率不同。<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup><sup> • </sup><sup>[4](https://math.libretexts.org/Bookshelves/Calculus/Calculus_(Guichard)/02%3A_Instantaneous_Rate_of_Change-_The_Derivative/2.04%3A_The_Derivative_Function)</sup> 还会出现更复杂的失效情形，例如 \( x \sin(1/x) \) 在 0 处。<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup>

**连续但处处不可微。** 反向的失效可以是彻底的：存在这样的连续函数，它在给定区间的任何一点处都没有导数。<sup>[10](https://encyclopediaofmath.org/wiki/Derivative)</sup> 魏尔施特拉斯（Weierstrass）证明了

\[ f(x) = \sum_{n} a^{n} \cos(b^{n} \pi x), \]

当 \( b \) 为奇整数、\( 0 < a < 1 \) 且 \( ab > 1 + \frac{3\pi}{2} \) 时，该函数对任何 \( x \) 值都没有导数。<sup>[12](https://www.ams.org/journals/tran/1916-017-03/S0002-9947-1916-1501044-1/S0002-9947-1916-1501044-1.pdf)</sup> 施普林格出版的一部专著汇总了此类函数一百五十多年的研究，涵盖魏尔施特拉斯、高木–范德瓦尔登（Takagi–van der Waerden）和波尔查诺（Bolzano）的明确例子，以及对黎曼（Riemann）那个连续、据称处处不可微的函数的顶尖水平分析。<sup>[13](https://link.springer.com/book/10.1007/978-3-319-12670-8)</sup> 单点上的情形比魏尔施特拉斯定理所暗示的更为微妙：哈代（Hardy，1916）证明魏尔施特拉斯函数在任何无理点以及某些有理点处都没有有限导数，而格维尔（Gerver，1970）和史密斯（Smith，1972）证明，一个相关函数在某些参数为整数的点集上具有有限导数，即 \( 1/2 \)。<sup>[14](https://mathworld.wolfram.com/WeierstrassFunction.html)</sup> 这两种论述在范围上有所不同——一个是魏尔施特拉斯最初的参数范围，另一个是后来的改进——而在例外点处精确的可微性状况，仍是各家资料说法不一之处。<sup>[12](https://www.ams.org/journals/tran/1916-017-03/S0002-9947-1916-1501044-1/S0002-9947-1916-1501044-1.pdf)</sup><sup> • </sup><sup>[14](https://mathworld.wolfram.com/WeierstrassFunction.html)</sup>

## 求导法则与高阶导数

和的导数等于导数的和；乘积法则可以反复应用，以对三个或更多函数的乘积求导。<sup>[11](https://mathworld.wolfram.com/Derivative.html)</sup> 商法则和链式法则——后者支配函数的复合——是另外两条核心计算法则。<sup>[11](https://mathworld.wolfram.com/Derivative.html)</sup> 链式法则正是使复合在纸上和软件中都变得可处理的关键：自动微分把链式法则应用于计算机程序，而现代算法微分系统与符号系统一样，都建立在它之上。<sup>[15](https://kitchingroup.cheme.cmu.edu/f25-06623/lectures/19-introduction-to-autograd/19-introduction-to-jax.html)</sup><sup> • </sup><sup>[16](https://arxiv.org/abs/2406.16154)</sup>

**高阶导数。** 高阶导数记作 \( f''(x) \)、\( f'''(x) \)、\( f^{(4)}(x) \)，依此类推直到 \( f^{(n)}(x) \)。<sup>[3](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)</sup> 在力学中，若 \( s(t) \) 是位置，则 \( s'(t) = v(t) \) 是速度，\( s''(t) = a(t) \) 是加速度。<sup>[2](https://raw.org/book/analysis/derivatives/)</sup> 单位遵循变化率的解释：若 \( f(x) \) 是以英里/小时计的速度、\( x \) 以小时计，则加速度 \( f'(x) \) 的单位是英里每小时每小时，即 \( \frac{\text{英里}}{\text{小时}^2} \)。<sup>[5](https://math.libretexts.org/Courses/Edmonds_College/Contemporary_Calculus/2_The_Derivative/2.1_The_Definition_of_Derivative)</sup> 在经济学中，若 \( f(x) \) 是生产 \( x \) 件产品的总成本，则 \( f'(x) \) 是边际成本，近似等于在已生产 \( x \) 件之后再生产一件所增加的成本。<sup>[5](https://math.libretexts.org/Courses/Edmonds_College/Contemporary_Calculus/2_The_Derivative/2.1_The_Definition_of_Derivative)</sup>

## 多元函数中的导数

导数概念可推广到复值函数和向量值函数，以及欧几里得空间 \( \mathbb{R}^n \) 上的标量值函数，在后一情形中相应的对象是梯度。<sup>[10](https://encyclopediaofmath.org/wiki/Derivative)</sup> 高阶导数也出现在泰勒级数这样的局部多项式逼近中；在更高维中，梯度就是梯度下降所使用的对象。<sup>[2](https://raw.org/book/analysis/derivatives/)</sup>

逼近梯度的代价随维数增长。对于 \( x \in \mathbb{R}^n \)，用有限差分计算完整梯度需要 \( n \) 次独立的有限差分，每个输入维一次，这使得该方法在诸如神经网络优化这样的高维情形中代价高昂。<sup>[17](https://ocw.mit.edu/courses/18-s096-matrix-calculus-for-machine-learning-and-beyond-january-iap-2023/mit18_s096iap23_lec04.pdf)</sup>

## 广义导数与弱导数

弱偏导数把求导推广到勒贝格可积函数：若对所有 \( \varphi \in C_0^{\infty}(D) \) 都有

\[ \int_D u\, \partial_i \varphi\, dx = -\int_D v\, \varphi\, dx, \]

则称 \( v \) 是 \( u \) 在方向 \( i \) 上的弱偏导数。

建立在弱导数之上的索伯列夫空间体系，在有限元误差分析和偏微分方程适定性的研究中起着核心作用。<sup>[8](https://people.tamu.edu/~guermond/M661_FALL_2019/chap02.pdf)</sup>

弱可微与几乎处处可微是不同的：海维赛德函数（Heaviside function）除一点外为常数，它没有弱导数；魏尔施特拉斯函数也没有弱导数。<sup>[9](https://ccjohnson.org/papers/GeneralizedDerivatives.pdf)</sup> 在分布层面上这一障碍消失了：分布 \( T \) 的分布导数由 \( T_d(\varphi) = -T(\varphi') \) 定义，这个量总是存在，因为检验函数的导数本身仍是检验函数。<sup>[9](https://ccjohnson.org/papers/GeneralizedDerivatives.pdf)</sup> 历史上，广义导数的第一个定义应归功于索伯列夫（S. L. Sobolev），它源于他的广义函数概念。<sup>[18](https://encyclopediaofmath.org/wiki/Generalized_derivative)</sup> 这些思想始于谢尔盖·索伯列夫 20 世纪 30 年代关于偏微分方程的工作，并由洛朗·施瓦茨（Laurent Schwartz）在 20 世纪 50 年代加以推广和普及，施瓦茨因此获得菲尔兹奖。<sup>[9](https://ccjohnson.org/papers/GeneralizedDerivatives.pdf)</sup>

## 计算导数：符号、数值、自动

有限差分通过把邻近的函数值与一组权重组合起来逼近导数，为此有若干算法可用。<sup>[19](http://www.scholarpedia.org/article/Finite%5Fdifference%5Fmethod)</sup> 所有这类格式都带有内在的截断误差，因为扰动 \( \delta x \) 并非无穷小；而 \( \delta x \) 也不能取得任意小，因为舍入误差会开始急剧膨胀；因此有限差分是在截断误差与浮点误差之间做权衡。<sup>[17](https://ocw.mit.edu/courses/18-s096-matrix-calculus-for-machine-learning-and-beyond-january-iap-2023/mit18_s096iap23_lec04.pdf)</sup> 为连续函数建立的这些公式也可以用到离散数据点上，但存在一些局限，在应用这些近似之前应当加以注意。<sup>[20](https://math.libretexts.org/Workbench/Numerical_Methods_with_Applications_(Kaw)/2%3A_Differentiation/2.03%3A_Numerical_Differentiation_of_Functions_at_Discrete_Data_Points)</sup> 数值微分在许多方面比数值积分更难：积分只要求良好的连续性，而微分要求更强的性质，例如利普希茨类。<sup>[11](https://mathworld.wolfram.com/Derivative.html)</sup>

**自动微分**把链式法则应用于计算机程序，它不像有限差分那样是一种近似；与符号微分不同，它直接作用于程序。<sup>[15](https://kitchingroup.cheme.cmu.edu/f25-06623/lectures/19-introduction-to-autograd/19-introduction-to-jax.html)</sup> 它把导数计算到机器精度，没有截断误差。<sup>[7](https://vovchenko.net/computational-physics/7_NumericalDerivatives/7_NumericalDerivatives_AD.html)</sup> 反向模式自动微分——反向传播是它的一个特例——在少数函数对众多变量的导数方面很高效，例如神经网络训练中，但通常比前向模式需要更多内存。<sup>[7](https://vovchenko.net/computational-physics/7_NumericalDerivatives/7_NumericalDerivatives_AD.html)</sup> 在 JAX 中，前向模式可通过 `jax.jacfwd()` 使用，反向模式可通过 `jax.jacrev()` 和 `jax.grad()` 使用；前向模式在输入少、输出多时最高效，反向模式则在输入多、输出少时最高效。<sup>[21](https://labs.acme.byu.edu/Volume1/Differentiation/Differentiation.html)</sup> 自动微分被描述为极其可靠且往往高效，但它无法处理某些代码，例如对其他语言编写的外部库的调用；当函数不可微或不光滑时它也会失效，例如求值严重依赖分支逻辑的场合。<sup>[17](https://ocw.mit.edu/courses/18-s096-matrix-calculus-for-machine-learning-and-beyond-january-iap-2023/mit18_s096iap23_lec04.pdf)</sup><sup> • </sup><sup>[7](https://vovchenko.net/computational-physics/7_NumericalDerivatives/7_NumericalDerivatives_AD.html)</sup> 一篇 2024 年的预印本认为，区分自动微分系统与符号系统的额外要素是部分求值，它常常表现为在运行时追踪出的计算图，从而使反向传播成为可能。<sup>[16](https://arxiv.org/abs/2406.16154)</sup>

有限差分仍保留着作为独立校验的实际作用：它们通常是用来验证解析导数或自动导数的第一种方法，因为解析导数计算中的一处错误通常会让结果完全错误；典型的校验是在几个随机方向上比较 \( f(x+\delta x) - f(x) \) 与 \( f'(x)[\delta x] \)。<sup>[17](https://ocw.mit.edu/courses/18-s096-matrix-calculus-for-machine-learning-and-beyond-january-iap-2023/mit18_s096iap23_lec04.pdf)</sup>

## 数字一览

有限差分格式的阶数决定其误差收缩的速度。一阶近似的误差为 \( O(h) \)：\( h \) 减半，误差减半。二阶近似的误差为 \( O(h^2) \)：\( h \) 减半，误差降为四分之一。<sup>[21](https://labs.acme.byu.edu/Volume1/Differentiation/Differentiation.html)</sup> 前向差分公式具有一阶精度，其精度取决于步长 \( h \) 和 \( f \) 的二阶导数。<sup>[6](https://ocw.mit.edu/courses/2-086-numerical-computation-for-mechanical-engineers-fall-2014/d25e9d10e9cd4bd5dcc66422dedc0ada_MIT2_086F14_Nutshell_Diff.pdf)</sup> 中心差分公式具有二阶精度，在区间上的误差以 \( (h/2) \cdot \max |f'''(x)| \) 为界，而代价仅为 3 次浮点运算，与一阶前向差分和后向差分相同；中心公式被形容为一笔划算的买卖。<sup>[6](https://ocw.mit.edu/courses/2-086-numerical-computation-for-mechanical-engineers-fall-2014/d25e9d10e9cd4bd5dcc66422dedc0ada_MIT2_086F14_Nutshell_Diff.pdf)</sup> 更高阶的精度要求更强的光滑性：中心差分的误差依赖于 \( f \) 的三阶导数。<sup>[6](https://ocw.mit.edu/courses/2-086-numerical-computation-for-mechanical-engineers-fall-2014/d25e9d10e9cd4bd5dcc66422dedc0ada_MIT2_086F14_Nutshell_Diff.pdf)</sup>

跨越六项研究、对五种求导方法所做的基准比较显示，解析方法总体最快，其次是近似格式，然后是 JAX。<sup>[22](https://github.com/johnjasa/derivative_comparisons)</sup> 在标准基准图表中，SymPy 显示假定误差非常小，但运行时间相对较长；差商显示误差较大；JAX 则兼具低误差与快速求值。<sup>[21](https://labs.acme.byu.edu/Volume1/Differentiation/Differentiation.html)</sup> JAX 随输入数量的增加而扩展良好，但其显著的额外开销使它在极低成本函数上缺乏竞争力。<sup>[22](https://github.com/johnjasa/derivative_comparisons)</sup>

## 历史与应用

1984 年美国数学协会的阿伦多弗讲座（Allendoerfer lecture）按顺序追溯了现代导数概念所经历的四个历史阶段：先是被人使用，接着被人认识，随后被人研究和阐发，最后才获得定义。<sup>[23](https://maa.org/sites/default/files/pdf/upload_library/22/Allendoerfer/1984/0025570x.di021131.02p02223.pdf)</sup> 牛顿（Newton）在 1665–1666 年前后发展出他自己的微积分版本；莱布尼茨（Leibniz）则到 1675 年独立发明了微积分，并被认为发展出了与现代微积分教材所用记号最为接近的记号。<sup>[24](https://mechref.engr.illinois.edu/dyn/rvc_Humanizing_Calculus.pdf)</sup> 优先权之争在 1708 年公开化，当时约翰·基尔（John Keill）指控莱布尼茨剽窃牛顿的流数术，这场争论大致从 1708 年持续到 1730 年，卷入者包括牛顿、莱布尼茨、基尔和其他数学家。<sup>[25](https://files01.core.ac.uk/download/pdf/187993169.pdf)</sup> 牛顿的《分析术》（*De Analysi*）被用作证据，证明他是流数术的最早发明者，而莱布尼茨从流数术的“瞬”中剽窃了“差分”；尽管牛顿在那部著作中并未使用流数记号。<sup>[26](https://www.jstage.jst.go.jp/article/historiascientiarum/32/1/32_17/_pdf/-char/en)</sup> 英国皇家学会发表了关于《书信汇编》（*Commercium Epistolicum*）的陈述，涉及莱布尼茨与基尔之间关于流数术——有人称之为微分方法——发明权的争论。<sup>[27](https://www.maths.tcd.ie/pub/HistMath/People/Newton/CommerciumAccount/CommAcc.pdf)</sup> 求积法，即积分学，实际上发展得更早：开普勒（Kepler）1615 年对酒桶体积的计算，标志着积分学的一种开端。<sup>[28](https://arxiv.org/pdf/1212.2666)</sup>

**严格化。** 洛必达（L'Hôpital）1696 年的微积分教科书是第一部微积分教材，它把微分定义为“一个变量借以持续增大或减小的无穷小部分”，并以微分形式陈述了乘积法则和商法则。<sup>[29](https://www.ams.org/journals/notices/202506/noti3145/noti3145.html)</sup> “导出函数”这一名称——英文作 derivative——以及撇号记号 \( f'(x) \)，都应归功于约瑟夫-路易·拉格朗日（Joseph-Louis Lagrange，1736–1813）。<sup>[29](https://www.ams.org/journals/notices/202506/noti3145/noti3145.html)</sup> 柯西（Cauchy）在为巴黎综合理工学院编写的《分析教程》（*Cours d'analyse*）中给出了一个教学式的极限定义，随后在其讲座的第三讲中把导数定义为差之比的极限。<sup>[29](https://www.ams.org/journals/notices/202506/noti3145/noti3145.html)</sup> 导数微积分几乎完全依赖于函数和极限这两个概念，而这两个概念在莱布尼茨的微分学和牛顿的流数术中都不存在；以极限为基础的导数微积分，在 19 世纪经由黎曼、魏尔施特拉斯和戴德金（Dedekind）的工作取得了主导地位。<sup>[29](https://www.ams.org/journals/notices/202506/noti3145/noti3145.html)</sup> 1961 年，亚伯拉罕·鲁宾逊（Abraham Robinson）利用模型论，为一种基于无穷小的微积分建立了严格基础，如今称为非标准分析，它是“极限优先”表述方式的主要替代方案。<sup>[29](https://www.ams.org/journals/notices/202506/noti3145/noti3145.html)</sup>

**现代应用。** 导数在优化中用于寻找驻点——在可微的内点处一阶导数消失——并把它们分类为极小值点、极大值点或鞍点。<sup>[15](https://kitchingroup.cheme.cmu.edu/f25-06623/lectures/19-introduction-to-autograd/19-introduction-to-jax.html)</sup> 除物理、商业和生物学之外，由梯度驱动的求导与优化循环，是现代机器学习中一种常见的训练机制。<sup>[1](https://openstax.org/books/calculus-volume-1/pages/3-1-defining-the-derivative)</sup><sup> • </sup><sup>[7](https://vovchenko.net/computational-physics/7_NumericalDerivatives/7_NumericalDerivatives_AD.html)</sup>

## 新近进展：形式化与自动化的微分

形式化证明库已经整合了高阶导数的理论。Mathlib 通过弗雷歇微分（Fréchet differential）把实赋范空间之间映射的可微性形式化，后者定义为唯一的连续线性映射 \( L \)，满足 \( f(y) = f(x) + L(y - x) + o(y - x) \)。<sup>[30](https://ar5iv.labs.arxiv.org/html/2509.04922)</sup> 当 \( f \) 属于 \( C^2 \) 时，二阶导数 \( D^2 f(x) \) 被典范地等同于一个连续双线性映射，而迭代的 \( n \) 阶导数 \( D^n f(x) \) 被当作连续多线性映射处理，而非嵌套的线性映射。<sup>[30](https://ar5iv.labs.arxiv.org/html/2509.04922)</sup> 在一维层面上，Mathlib 通过当 \( y, z \to x \) 时的展开式 \( f y - f z = (y - z) \cdot f' + o(y - z) \) 来定义严格可微性。<sup>[31](https://github.com/leanprover-community/mathlib/blob/master/src/analysis/calculus/deriv/basic.lean)</sup>

另有两条工作路线扩展了形式化和符号微分的范围。一篇 2026 年的预印本在 Lean 和 mathlib 中形式化了合成微分几何，证明了多元函数在无穷小邻域附近展开的泰勒定理，其中大部分证明据称是新的；在合成微分学中，函数在无穷小邻域上与其泰勒多项式重合，而在普通微积分中，泰勒多项式只是逼近函数。<sup>[32](https://ar5iv.labs.arxiv.org/html/2603.17457)</sup> 2024 年 6 月的一篇预印本提出了 CombDiff，这是一个基于组合逻辑的微分模型，以符号方式执行解析反向传播和变分微分，支持复数，并在哈特里–福克理论（Hartree–Fock theory）和多层感知机上做了演示。<sup>[16](https://arxiv.org/abs/2406.16154)</sup>

## References

1. [Defining the Derivative, Calculus Volume 1, OpenStax](https://openstax.org/books/calculus-volume-1/pages/3-1-defining-the-derivative)
2. [Introduction to Derivatives, RAW](https://raw.org/book/analysis/derivatives/)
3. [The Derivative as a Function, Calculus Volume 1, OpenStax](https://openstax.org/books/calculus-volume-1/pages/3-2-the-derivative-as-a-function)
4. [2.4: The Derivative Function, Mathematics LibreTexts](https://math.libretexts.org/Bookshelves/Calculus/Calculus_(Guichard)/02%3A_Instantaneous_Rate_of_Change-_The_Derivative/2.04%3A_The_Derivative_Function)
5. [2.1: The Definition of Derivative, Mathematics LibreTexts](https://math.libretexts.org/Courses/Edmonds_College/Contemporary_Calculus/2_The_Derivative/2.1_The_Definition_of_Derivative)
6. [Differentiation, MIT OCW 2.086 Numerical Computation for Mechanical Engineers](https://ocw.mit.edu/courses/2-086-numerical-computation-for-mechanical-engineers-fall-2014/d25e9d10e9cd4bd5dcc66422dedc0ada_MIT2_086F14_Nutshell_Diff.pdf)
7. [Automatic Differentiation, Computational Physics PHYS6350](https://vovchenko.net/computational-physics/7_NumericalDerivatives/7_NumericalDerivatives_AD.html)
8. [Weak Derivatives and Sobolev Spaces, Texas A&M graduate text chapter](https://people.tamu.edu/~guermond/M661_FALL_2019/chap02.pdf)
9. [(Almost) Everything Is Differentiable, expository paper on weak and distributional derivatives](https://ccjohnson.org/papers/GeneralizedDerivatives.pdf)
10. [Derivative, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Derivative)
11. [Derivative, Wolfram MathWorld](https://mathworld.wolfram.com/Derivative.html)
12. [Weierstrass's Non-Differentiable Function, Transactions of the AMS (1916)](https://www.ams.org/journals/tran/1916-017-03/S0002-9947-1916-1501044-1/S0002-9947-1916-1501044-1.pdf)
13. [Continuous Nowhere Differentiable Functions: The Monsters of Analysis, Springer (2014)](https://link.springer.com/book/10.1007/978-3-319-12670-8)
14. [Weierstrass Function, Wolfram MathWorld](https://mathworld.wolfram.com/WeierstrassFunction.html)
15. [Introduction to Automatic Differentiation with JAX, CMU f25-06623](https://kitchingroup.cheme.cmu.edu/f25-06623/lectures/19-introduction-to-autograd/19-introduction-to-jax.html)
16. [Automating Variational Differentiation, arXiv (2024)](https://arxiv.org/abs/2406.16154)
17. [Finite-Difference Approximations, MIT 18-S096 Matrix Calculus for Machine Learning](https://ocw.mit.edu/courses/18-s096-matrix-calculus-for-machine-learning-and-beyond-january-iap-2023/mit18_s096iap23_lec04.pdf)
18. [Generalized Derivative, Encyclopedia of Mathematics](https://encyclopediaofmath.org/wiki/Generalized_derivative)
19. [Finite Difference Method, Scholarpedia](http://www.scholarpedia.org/article/Finite%5Fdifference%5Fmethod)
20. [Numerical Differentiation of Functions at Discrete Data Points, Mathematics LibreTexts](https://math.libretexts.org/Workbench/Numerical_Methods_with_Applications_(Kaw)/2%3A_Differentiation/2.03%3A_Numerical_Differentiation_of_Functions_at_Discrete_Data_Points)
21. [Differentiation, ACME Labs, BYU](https://labs.acme.byu.edu/Volume1/Differentiation/Differentiation.html)
22. [johnjasa/derivative_comparisons, benchmark of five differentiation methods](https://github.com/johnjasa/derivative_comparisons)
23. [Historical Development of the Derivative, MAA Allendoerfer Lecture (1984)](https://maa.org/sites/default/files/pdf/upload_library/22/Allendoerfer/1984/0025570x.di021131.02p02223.pdf)
24. [Humanizing Calculus, University of Illinois engineering course notes](https://mechref.engr.illinois.edu/dyn/rvc_Humanizing_Calculus.pdf)
25. [The Newton–Leibniz Priority Dispute, CORE repository](https://files01.core.ac.uk/download/pdf/187993169.pdf)
26. [Dispute, Historia Scientiarum vol. 32](https://www.jstage.jst.go.jp/article/historiascientiarum/32/1/32_17/_pdf/-char/en)
27. [An Account of the Book Entituled Commercium Epistolicum, Trinity College Dublin](https://www.maths.tcd.ie/pub/HistMath/People/Newton/CommerciumAccount/CommAcc.pdf)
28. [The Birth of Calculus: Towards a More Leibnizian View, arXiv](https://arxiv.org/pdf/1212.2666)
29. [From Differentials to Derivatives, Notices of the American Mathematical Society (June 2025)](https://www.ams.org/journals/notices/202506/noti3145/noti3145.html)
30. [Higher Order Differential Calculus in Mathlib, arXiv/CPP](https://ar5iv.labs.arxiv.org/html/2509.04922)
31. [mathlib src/analysis/calculus/deriv/basic.lean](https://github.com/leanprover-community/mathlib/blob/master/src/analysis/calculus/deriv/basic.lean)
32. [Synthetic Differential Geometry in Lean, arXiv](https://ar5iv.labs.arxiv.org/html/2603.17457)

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

Topic: 物质世界与数学 › 数学与统计学 › 数学分析与数学模型 › Differential calculus and derivatives

Copyright 2026 Edgepedia

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

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

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