链式法则是一种用于计算两个或多个函数的函数组合的导数的方法。
如果一个函数
依赖于一个变量
,而该变量又依赖于另一个变量
,也就是说
,那么
相对于
的变化率可以计算为
相对于
的变化率乘以
相对于
的变化率。
这种方法被称为“链式法则”,因为它可以依次应用于嵌套在彼此之内的任意多个函数。 [1] 例如,如果
是
的函数,而
又 是
的函数,而
又 是
的函数,即

关于
的导数由下式给出
等等。
一个有用的记忆技巧是将微分看作单独的实体,可以代数地取消,例如

但是,请记住,这种技巧是通过巧妙的符号选择而不是实际的代数抵消而产生的。
链式法则在物理学、化学和工程学中有着广泛的应用,以及用于研究许多学科中的相关速率。链式法则还可以推广到多个变量的情况,其中嵌套函数依赖于多个变量。
假设一名登山者以
的速度攀登。 海拔越高,气温越低;假设气温下降的速率为
每公里。 为了计算登山者每小时感受到的气温下降量,将
乘以
,得到
。 这个计算是典型的链式法则应用。
考虑函数
。 由链式法则可知
 |
待求导函数 |
 |
将 定义为内部函数 |
 |
用 表示  |
 |
表达此处适用的链式法则 |
 |
将 和 代入。 |
 |
使用幂法则计算导数 |
 |
将 用 表示代回。 |
 |
化简。 |
为了对三角函数进行求导

可以写成
 |
待求导函数 |
 |
将 定义为内部函数 |
 |
用 表示  |
 |
表达此处适用的链式法则 |
 |
将 和 代入。 |
 |
计算导数 |
 |
将 用 表示代回。 |
链式法则可用于微分
,即绝对值函数
 |
待求导函数 |
 |
等效函数 |
 |
将 定义为内部函数 |
 |
用 表示  |
 |
表达此处适用的链式法则 |
 |
将 和 代入。 |
 |
使用幂法则计算导数 |
 |
将 用 表示代回。 |
 |
简化 |
 |
将 表示为绝对值。 |
该方法被称为“链式法则”,因为它可以依次应用于任意多个相互嵌套的函数。例如,如果
,则链式法则的连续应用可以得出如下导数(我们利用了
这一事实,将在下一节中证明)
 |
原始(最外层)函数 |
 |
定义 为最内层函数 |
 |
作为中间函数 |
 |
表达此处适用的链式法则 |
 |
求 f(g) 的导数[2] |
 |
求 的导数 |
 |
求 的导数 |
 |
代入链式法则。 |
由于一个物理量通常依赖于另一个物理量,而另一个物理量又依赖于其他物理量,因此链式法则在物理学中具有广泛的应用。本节将介绍链式法则在运动学和简谐运动中的应用实例。链式法则在电磁感应中也很有用。
一辆车朝北行驶,当前位于
;另一辆车朝西行驶,当前位于
。可以使用链式法则来确定它们是越来越近还是越来越远。
例如,可以考虑这样的运动学问题:一辆车以 80 英里/小时的速度向西行驶到一个十字路口,而另一辆车以 60 英里/小时的速度向北行驶离开十字路口。可以询问这两辆车是越来越近还是越来越远,以及当北行车辆距离十字路口 3 英里,西行车辆距离十字路口 4 英里时,它们的距离变化率是多少。
主要思路:使用链式法则计算两辆车之间距离的变化率。
- 计划
- 选择坐标系
- 识别变量
- 绘制图形
- 主要思路:使用链式法则计算两辆车之间距离的变化率
- 用
和
表示
,利用勾股定理
- 使用链式法则用
和
表示 
- 代入

- 化简。
选择坐标系:令
轴指向北方,
轴指向东方。
识别变量:定义
为朝北行驶的车辆到原点的距离,定义
为朝西行驶的车辆到原点的距离。
用
和
表示
,利用勾股定理

使用链式法则用
和
表示
 |
对整个函数应用导数运算符 |
 |
函数内部是平方和 |
![{\displaystyle ={\frac {(x^{2}+y^{2})^{-{\frac {1}{2}}}}{2}}\left[{\frac {d}{dt}}(x^{2})+{\frac {d}{dt}}(y^{2})\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a9b656c37ba8c39165514d9c4f0aa65607823dec) |
分配微分运算符 |
![{\displaystyle ={\frac {(x^{2}+y^{2})^{-{\frac {1}{2}}}}{2}}\left[2x\cdot {\frac {dx}{dt}}+2y\cdot {\frac {dy}{dt}}\right]}](https://wikimedia.org/api/rest_v1/media/math/render/svg/bcb61fdaf2803d1535e1cc73516ecb68202d807b) |
对 和 应用链式法则 |
 |
化简。 |
代入
并简化
|
|
|
|
|
|
|
|
因此,两辆车以
的速度相互靠近。
一个无阻尼的弹簧-质量系统是一个简单的谐振子。
如果一个简单谐振子从平衡位置的位移由
给出,并且它在时间
从其最大位移
释放,则以后时刻的位置由下式给出

其中
是角频率,
是振动周期。速度
作为位置的一阶导数,可以通过链式法则计算
 |
一维速度定义 |
 |
替换  |
 |
将常数 提出导数之外 |
 |
对外部函数(余弦)求导 |
 |
将负号放在前面 |
 |
计算剩余的导数 |
 |
化简。 |
加速度则是位置的二阶导数,或者简单地说
。
 |
一维加速度的定义 |
 |
代入  |
 |
将常数项移到导数之外 |
 |
对外部函数(正弦)求导 |
 |
计算剩余的导数 |
 |
化简。 |
根据牛顿第二定律,
,其中
是合力,
是物体的质量。
 |
牛顿第二定律 |
 |
将 代入。 |
 |
简化 |
 |
将原始的 代入。 |
因此可以看出,这些结果与对简谐振子的观察结果一致,即简谐振子的力等于位移的负常数倍。
链式法则在化学中有许多应用,因为化学中的许多方程式描述了一个物理量如何依赖于另一个物理量,而另一个物理量又依赖于另一个物理量。例如,理想气体定律描述了压力、体积、温度和摩尔数之间的关系,而所有这些量也可能随时间变化。
理想气体的等温线。曲线代表理想气体在不同温度下的压力和体积之间的关系:离原点越远的线(即更接近图的右上角的线)代表更高的温度。
假设一个包含
摩尔理想气体的样品被保存在一个等温(恒温,
)容器中,初始体积为
。理想气体被活塞压缩,使其体积以恒定的速率变化,使得
,其中
是时间。链式法则可用于求压力的瞬时变化率。[3] 理想气体定律可以用来求解压力,
,得到

其中
和
已经写成了时间的显式函数,其他符号是常数。对两边求导得到

其中常数项
已经移到了导数运算符的左侧。应用链式法则得到

其中,使用幂法则对
进行求导。由于
,
。将
和
代入可得
。

理想单原子气体的温度是其原子平均动能的量度。在 1950 个大气压下,氦原子的尺寸与其间距的比例如图所示。原子具有特定的平均速度,这里从室温降低了 2 万亿倍。
链式法则在化学中的另一个应用是求理想气体中平均分子速度
随绝对温度
以恒定速率增加时的变化率,使得
,其中
是初始温度,
是时间。[3] 气体动理论将分子速度的 均方根 与温度相关联,因此如果
和
是时间的函数,

其中
是理想气体常数,而
是分子量。
对等式两边关于时间求导,得到

利用链式法则,将等式右边表示为关于温度
和时间
的导数,得到

对温度
求导,得到

对
求剩下的导数,取负指数的倒数,并代入
,得到

对
求导,得到

化简后得到

假设
是
的函数,而
是
的函数(假设
在
处可微,
处可微,并且
在
处可微。为了证明链式法则,我们使用导数的定义。

现在我们将
乘以
并进行一些代数运算。

请注意,当
趋近于
时,
也趋近于
。因此,当
趋近于
时,函数的极限与当
趋近于
时函数的极限相同。 因此

所以我们有

1. 求

的值,如果

,首先通过展开和直接微分,然后通过对

应用链式法则,其中

。比较答案。


2. 利用链式法则,通过令

和

,求

的导数。


解答