模块 4 从一个位置出发并求得速度:对 s ( t ) s(t) s ( t ) 求导你得到 v ( t ) 。 v(t)\mathclose{\text{。}} v ( t ) 。 通常问题的反向情况也很常见。汽车的速度表记录其速度,你想要知道汽车的位置;手机的加速度计测量加速度,手机想要其速度;一个模型说明某个量的变化率,你想要该量本身。每次你都知道一个导数并想要得到其原始函数。本节和下一节将撤销导数。模块其余部分将展示撤销导数也是计算模块 9 中面积的方法,这种联系,即微积分基本定理,将微积分的两个部分结合为一个学科。
从猜测开始。哪个函数的导数是2 x ? 2x\mathclose{\text{?}} 2 x ? 你已知一个:x 2 , x^2\mathclose{\text{,}} x 2 , 因为( x 2 ) ′ = 2 x 。 \big(x^2\big)' = 2x\mathclose{\text{。}} ( x 2 ) ′ = 2 x 。 但x 2 + 1 x^2 + 1 x 2 + 1 的导数也是2 x , 2x\mathclose{\text{,}} 2 x , x 2 − 7 x^2 - 7 x 2 − 7 和x 2 + π x^2 + \pi x 2 + π 亦然:常数的导数为0,因此加上常数不会改变结果。
定义 10.1原函数
设f f f 是定义在区间I I I 上的函数。若F ′ ( x ) = f ( x ) F'(x) = f(x) F ′ ( x ) = f ( x ) 对I I I 中每个x x x 成立,则函数F F F 是f f f 在I I I 上的原函数 。(在属于I I I 的I I I 的端点处,F ′ F' F ′ 表示Module 4的单侧导数。)
所以 x 2 x^2 x 2 是 2 x 2x 2 x 在 R \R R 上的原函数, sin x \sin x sin x 是 cos x \cos x cos x 的原函数, − cos x -\cos x − cos x 是 sin x \sin x sin x 的原原函数, e x e^x e x 是它本身的原函数。根据模块 6, ln x \ln x ln x 是 1 / x 1/x 1/ x 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上的原函数。
图 10.1 展示了常数 C C C 取五个不同值时, f ( x ) = x 2 − 1 f(x) = x^2 - 1 f ( x ) = x 2 − 1 的原函数 1 3 x 3 − x + C 。 \tfrac13 x^3 - x + C\mathclose{\text{。}} 3 1 x 3 − x + C 。 加上一个常数会使图像上下平移而不倾斜,因此在每个 x x x 处,所有这些曲线都有相同的斜率 f ( x ) : f(x)\mathclose{\text{:}} f ( x ) : 它们在该点的切线互相平行。
图 10.1 图中是 f ( x ) = x 2 − 1 f(x) = x^2 - 1 f ( x ) = x 2 − 1 的原函数 1 3 x 3 − x + C , \tfrac13 x^3 - x + C\mathclose{\text{,}} 3 1 x 3 − x + C , 从下到上对应 C = − 2 , − 1 , 0 , 1 , 2 。 C = -2, -1, 0, 1, 2\mathclose{\text{。}} C = − 2 , − 1 , 0 , 1 , 2 。 每条曲线都是下方一条向上平移 1 个单位所得,所以在每个 x x x 处斜率相同。在 x = 1.5 x = 1.5 x = 1.5 处,其切线(橙色)互相平行,斜率为 f ( 1.5 ) = 1.25 。 f(1.5) = 1.25\mathclose{\text{。}} f ( 1.5 ) = 1.25 。 只有蓝色曲线经过点 ( 0 , 1 ) , (0, 1)\mathclose{\text{,}} ( 0 , 1 ) , 其对应 C = 1 C = 1 C = 1 (第 10.2 节)。
除了“其中一个加上一个常数”的形式之外,还有其他原函数吗?不,只要你在区间内保持不变。
定理 10.1函数的原函数
如果 F F F 是 f f f 在区间 I I I 上的原函数,那么 f f f 在 I I I 上的原函数恰好是所有形如
其中 C C C 是一个常数。
证明
对每个常数 C , C\mathclose{\text{,}} C , 在 I I I 上都有 ( F + C ) ′ = F ′ + 0 = f , (F + C)' = F' + 0 = f\mathclose{\text{,}} ( F + C ) ′ = F ′ + 0 = f , 所以 F + C F + C F + C 是原函数。反过来,设 G G G 是 f f f 在 I I I 上的任一原函数,并取 H = G − F , H = G - F\mathclose{\text{,}} H = G − F , 从而对 I I I 中每个 x x x 都有 H ′ ( x ) = f ( x ) − f ( x ) = 0 。 H'(x) = f(x) - f(x) = 0\mathclose{\text{。}} H ′ ( x ) = f ( x ) − f ( x ) = 0 。 模块 8 已证明这样的函数在开区间上是常数(定理 8.5 ),同一论证也适用于其他区间。任取 I I I 中两个数 x 1 < x 2 。 x_1 < x_2\mathclose{\text{。}} x 1 < x 2 。 H H H 在 [ x 1 , x 2 ] [x_1, x_2] [ x 1 , x 2 ] 的每一点都有导数(在 I I I 的端点为单侧导数),因此由定理 4.1 ,它在 [ x 1 , x 2 ] [x_1, x_2] [ x 1 , x 2 ] 上连续。该定理的证明对单侧情形也成立。由微分中值定理,有 H ( x 2 ) − H ( x 1 ) = H ′ ( c ) ( x 2 − x 1 ) = 0 , H(x_2) - H(x_1) = H'(c)(x_2 - x_1) = 0\mathclose{\text{,}} H ( x 2 ) − H ( x 1 ) = H ′ ( c ) ( x 2 − x 1 ) = 0 , 其中 c c c 介于 x 1 x_1 x 1 与 x 2 x_2 x 2 之间。故 H H H 在 I I I 的每一点都取同一值 C , C\mathclose{\text{,}} C , 即 G = F + C 。 G = F + C\mathclose{\text{。}} G = F + C 。
∎
函数 F ( x ) + C F(x) + C F ( x ) + C (其中 C C C 表示任意常数)是 f f f 在 I I I 上的一般原函数 ,C C C 称为积分常数 。区间条件很重要。证明在 [ x 1 , x 2 ] [x_1, x_2] [ x 1 , x 2 ] 上使用微分中值定理,所以整个 [ x 1 , x 2 ] [x_1, x_2] [ x 1 , x 2 ] 必须位于 I I I 内。1 / x 1/x 1/ x 的定义域为 ( − ∞ , 0 ) ∪ ( 0 , ∞ ) , (-\infty, 0) \cup (0, \infty)\mathclose{\text{,}} ( − ∞ , 0 ) ∪ ( 0 , ∞ ) , 它不构成一个区间。模块 6 已证明对每个 x ≠ 0 x \ne 0 x = 0 都有 d d x ln ∣ x ∣ = 1 x , \dfrac{d}{dx}\ln\abs{x} = \dfrac1x\mathclose{\text{,}} d x d ln ∣ x ∣ = x 1 , 所以每一半上的原函数都是 ln ∣ x ∣ + C 。 \ln\abs{x} + C\mathclose{\text{。}} ln ∣ x ∣ + C 。 但在 x > 0 x > 0 x > 0 时取 ln ∣ x ∣ 、 \ln\abs{x}\mathclose{\text{、}} ln ∣ x ∣ 、 在 x < 0 x < 0 x < 0 时取 ln ∣ x ∣ + 5 \ln\abs{x} + 5 ln ∣ x ∣ + 5 的函数,在每个 x ≠ 0 x \ne 0 x = 0 处的导数也为 1 / x , 1/x\mathclose{\text{,}} 1/ x , 同时无法用任何单一常数 C C C 写成 ln ∣ x ∣ + C 。 \ln\abs{x} + C\mathclose{\text{。}} ln ∣ x ∣ + C 。 因此不同区间可以选不同的积分常数。由于 1 / x 1/x 1/ x 在 0 处无定义,其原函数无法跨越 0。第 10.5 节说明这对积分的影响。
原函数表
每一条求导法则,反过来读,就给出一个原函数。在表格中,中间列中每一项的导数是其左边的项;为了得到一般的原函数,每个公式成立的区间上加上 C 。 C\mathclose{\text{。}} C 。
f ( x ) f(x) f ( x )
原函数 F ( x ) F(x) F ( x )
出处
x n , x^n\mathclose{\text{,}} x n , n ≠ − 1 n \ne -1 n = − 1
x n + 1 n + 1 \dfrac{x^{n+1}}{n + 1} n + 1 x n + 1
参见下文
1 x \dfrac{1}{x} x 1
ln ∣ x ∣ \ln\abs{x} ln ∣ x ∣
x ≠ 0 x \ne 0 x = 0
e x e^x e x
e x e^x e x
e k x , e^{kx}\mathclose{\text{,}} e k x , k ≠ 0 k \ne 0 k = 0
e k x k \dfrac{e^{kx}}{k} k e k x
a x , a^x\mathclose{\text{,}} a x , a > 0 , a > 0\mathclose{\text{,}} a > 0 , a ≠ 1 a \ne 1 a = 1
a x ln a \dfrac{a^x}{\ln a} ln a a x
sin x \sin x sin x
− cos x -\cos x − cos x
cos x \cos x cos x
sin x \sin x sin x
sin k x , \sin kx\mathclose{\text{,}} sin k x , k ≠ 0 k \ne 0 k = 0
− cos k x k -\dfrac{\cos kx}{k} − k cos k x
cos k x , \cos kx\mathclose{\text{,}} cos k x , k ≠ 0 k \ne 0 k = 0
sin k x k \dfrac{\sin kx}{k} k sin k x
sec 2 x \sec^2 x sec 2 x
tan x \tan x tan x
cos x ≠ 0 \cos x \ne 0 cos x = 0
csc 2 x \csc^2 x csc 2 x
− cot x -\cot x − cot x
sin x ≠ 0 \sin x \ne 0 sin x = 0
sec x tan x \sec x\tan x sec x tan x
sec x \sec x sec x
cos x ≠ 0 \cos x \ne 0 cos x = 0
csc x cot x \csc x\cot x csc x cot x
− csc x -\csc x − csc x
sin x ≠ 0 \sin x \ne 0 sin x = 0
1 1 + x 2 \dfrac{1}{1 + x^2} 1 + x 2 1
arctan x \arctan x arctan x
1 1 − x 2 \dfrac{1}{\sqrt{1 - x^2}} 1 − x 2 1
arcsin x \arcsin x arcsin x
− 1 < x < 1 -1 < x < 1 − 1 < x < 1
sinh x \sinh x sinh x
cosh x \cosh x cosh x
cosh x \cosh x cosh x
sinh x \sinh x sinh x
第一行,原函数的幂法则 ,在( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 对每个实数n ≠ − 1 n \ne -1 n = − 1 成立。当n n n 为整数时,它对负数x x x 也成立,且对n = 0 , 1 , 2 , … n = 0, 1, 2, \dots n = 0 , 1 , 2 , … 在R \R R 的整个区间成立。用文字表述:幂次加1,再除以新的幂次。对于n = − 1 , n = -1\mathclose{\text{,}} n = − 1 , 它将除以0;此时由第二行取代。带有k k k 的行由链式法则(模块5)得出:d d x e k x k = k e k x k = e k x 。 \dfrac{d}{dx}\dfrac{e^{kx}}{k} = \dfrac{k e^{kx}}{k} = e^{kx}\mathclose{\text{。}} d x d k e k x = k k e k x = e k x 。 其他行对应的导数来自模块4至6。
模块 4 的两条规则延续下来。如果 F F F 和 G G G 是 f f f 和 g g g 在一个区间上的原函数,且 c c c 是一个常数,那么 c F cF c F 是 c f cf c f 的原函数,且 F + G F + G F + G 是 f + g f + g f + g 的原原函数,因为 ( c F + G ) ′ = c F ′ + G ′ = c f + g 。 (cF + G)' = cF' + G' = cf + g\mathclose{\text{。}} ( c F + G ) ′ = c F ′ + G ′ = c f + g 。 因此,你可以逐项求原函数,保持常数因子不变。
例 10.1表格中的原函数 ✓ 已检验
求每个函数的一般原函数。
(a) f ( x ) = 6 x 2 − 4 x + 5 f(x) = 6x^2 - 4x + 5 f ( x ) = 6 x 2 − 4 x + 5
(b) g ( x ) = 3 x − 2 x 2 , g(x) = 3\sqrt{x} - \dfrac{2}{x^2}\mathclose{\text{,}} g ( x ) = 3 x − x 2 2 , 对于 x > 0 x > 0 x > 0
(c) h ( t ) = 4 e 2 t − 3 cos t h(t) = 4e^{2t} - 3\cos t h ( t ) = 4 e 2 t − 3 cos t
(d) q ( x ) = ( x + 1 ) 2 x , q(x) = \dfrac{(x + 1)^2}{x}\mathclose{\text{,}} q ( x ) = x ( x + 1 ) 2 , 对于 x ≠ 0 x \ne 0 x = 0
(a) 逐项进行,将每个幂次加 1 并除以新的幂次:6 ⋅ x 3 3 − 4 ⋅ x 2 2 + 5 x , 6 \cdot \dfrac{x^3}{3} - 4 \cdot \dfrac{x^2}{2} + 5x\mathclose{\text{,}} 6 ⋅ 3 x 3 − 4 ⋅ 2 x 2 + 5 x , 因此一般原函数是 2 x 3 − 2 x 2 + 5 x + C 。 2x^3 - 2x^2 + 5x + C\mathclose{\text{。}} 2 x 3 − 2 x 2 + 5 x + C 。
(b) 首先将各项写成幂的形式:g ( x ) = 3 x 1 / 2 − 2 x − 2 。 g(x) = 3x^{1/2} - 2x^{-2}\mathclose{\text{。}} g ( x ) = 3 x 1/2 − 2 x − 2 。 幂法则给出
3 ⋅ x 3 / 2 3 / 2 − 2 ⋅ x − 1 − 1 = 2 x 3 / 2 + 2 x , 3\cdot\frac{x^{3/2}}{3/2} - 2\cdot\frac{x^{-1}}{-1} = 2x^{3/2} + \frac{2}{x}, 3 ⋅ 3/2 x 3/2 − 2 ⋅ − 1 x − 1 = 2 x 3/2 + x 2 ,
因此,一般原函数是 2 x 3 / 2 + 2 x + C 2x^{3/2} + \dfrac2x + C 2 x 3/2 + x 2 + C 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上。
(c) 由于 k = 2 k = 2 k = 2 在表格中,得到 4 ⋅ e 2 t 2 = 2 e 2 t ; 4\cdot\dfrac{e^{2t}}{2} = 2e^{2t}\mathclose{\text{;}} 4 ⋅ 2 e 2 t = 2 e 2 t ; 且 − 3 cos t -3\cos t − 3 cos t 给出 − 3 sin t 。 -3\sin t\mathclose{\text{。}} − 3 sin t 。 答案是 2 e 2 t − 3 sin t + C 。 2e^{2t} - 3\sin t + C\mathclose{\text{。}} 2 e 2 t − 3 sin t + C 。
(d) 没有商的法则,因此展开并将每一项除以 x : x\mathclose{\text{:}} x : x 2 + 2 x + 1 x = x + 2 + 1 x 。 \dfrac{x^2 + 2x + 1}{x} = x + 2 + \dfrac1x\mathclose{\text{。}} x x 2 + 2 x + 1 = x + 2 + x 1 。 一般原函数是 x 2 2 + 2 x + ln ∣ x ∣ + C \dfrac{x^2}{2} + 2x + \ln\abs{x} + C 2 x 2 + 2 x + ln ∣ x ∣ + C 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上,且在 ( − ∞ , 0 ) (-\infty, 0) ( − ∞ , 0 ) 上使用相同公式,但常数可能不同。
通过对其求导来检查每一个答案。对于 (b):d d x ( 2 x 3 / 2 + 2 x − 1 ) = 3 x 1 / 2 − 2 x − 2 , \dfrac{d}{dx}\Big(2x^{3/2} + 2x^{-1}\Big) = 3x^{1/2} - 2x^{-2}\mathclose{\text{,}} d x d ( 2 x 3/2 + 2 x − 1 ) = 3 x 1/2 − 2 x − 2 , 即 g ( x ) 。 g(x)\mathclose{\text{。}} g ( x ) 。
提示
求导比撤销导数更容易,因此始终通过对其求导来检查原函数。只需几秒钟,几乎能发现所有错误。
注意
三张卡片。 (1) 反向幂法则会提高幂并进行除法:x 3 x^3 x 3 的一个原函数是 1 4 x 4 , \tfrac14 x^4\mathclose{\text{,}} 4 1 x 4 , 而不是 3 x 2 3x^2 3 x 2 (这是导数)也不是 x 4 x^4 x 4 (其导数是 4 x 3 )。 4x^3\mathclose{\text{)。}} 4 x 3 )。 (2) 原函数没有乘积法则:x cos x x\cos x x cos x 的一个原函数不是 1 2 x 2 sin x , \tfrac12 x^2\sin x\mathclose{\text{,}} 2 1 x 2 sin x , 其导数是 x sin x + 1 2 x 2 cos x 。 x\sin x + \tfrac12 x^2\cos x\mathclose{\text{。}} x sin x + 2 1 x 2 cos x 。 模块 11 积分此类乘积;第 10.7 节处理其中一个因子是另一个因子内部导数的情况。(3) “+ C ” +\,C\mathclose{\text{”}} + C ” 是求所有原函数时的一部分,当定义域由多个区间组成,如 x ≠ 0 , x \ne 0\mathclose{\text{,}} x = 0 , 常数可能在每个区间上不同。
图 10.1 展示了如何从原函数族中选择一个:要求图象通过给定点的那个。在曲线 1 3 x 3 − x + C \tfrac13 x^3 - x + C 3 1 x 3 − x + C 中,只有 C = 1 C = 1 C = 1 通过 ( 0 , 1 ) 。 (0, 1)\mathclose{\text{。}} ( 0 , 1 ) 。
定义 10.2初始值问题
一个 初始值问题 要求一个函数 y = F ( x ) y = F(x) y = F ( x ) 满足
F ′ ( x ) = f ( x ) for every x in I , F ( x 0 ) = y 0 , \begin{aligned} &F'(x) = f(x) \text{ for every } x \text{ in } I, \\ &F(x_0) = y_0, \end{aligned} F ′ ( x ) = f ( x ) for every x in I , F ( x 0 ) = y 0 ,
其中 I I I 是一个区间,x 0 x_0 x 0 是 I I I 的一个点,y 0 y_0 y 0 是一个数。方程 F ′ = f F' = f F ′ = f 是最简单的 differential equation 类型,即一个涉及未知函数导数的方程,而 F ( x 0 ) = y 0 F(x_0) = y_0 F ( x 0 ) = y 0 是initial condition 。
如果 f f f 在 I I I 上有一个原函数 G , G\mathclose{\text{,}} G , 则该问题有且仅有一个解。根据定理 10.1,每个解都有形式 G + C ; G + C\mathclose{\text{;}} G + C ; 初始条件说明 G ( x 0 ) + C = y 0 , G(x_0) + C = y_0\mathclose{\text{,}} G ( x 0 ) + C = y 0 , 因此 C = y 0 − G ( x 0 ) , C = y_0 - G(x_0)\mathclose{\text{,}} C = y 0 − G ( x 0 ) , 解为
F ( x ) = G ( x ) − G ( x 0 ) + y 0 . F(x) = G(x) - G(x_0) + y_0. F ( x ) = G ( x ) − G ( x 0 ) + y 0 .
解决这个问题的方法是:找出一般的原函数,代入初始条件,然后解出 C 。 C\mathclose{\text{。}} C 。 模块 13 研究的是微分方程,其中导数依赖于未知函数,例如 y ′ = k y 。 y' = ky\mathclose{\text{。}} y ′ = k y 。
例 10.2初始值问题 ✓ 已检验
求函数 F , F\mathclose{\text{,}} F , 使得 F ′ ( x ) = 3 x − 2 x 2 F'(x) = 3\sqrt x - \dfrac{2}{x^2} F ′ ( x ) = 3 x − x 2 2 在 x > 0 x > 0 x > 0 处,且 F ( 1 ) = 5 。 F(1) = 5\mathclose{\text{。}} F ( 1 ) = 5 。
根据例题 10.1(b),一般的原函数是 F ( x ) = 2 x 3 / 2 + 2 x + C 。 F(x) = 2x^{3/2} + \dfrac2x + C\mathclose{\text{。}} F ( x ) = 2 x 3/2 + x 2 + C 。 初始条件给出
F ( 1 ) = 2 + 2 + C = 4 + C = 5 , F(1) = 2 + 2 + C = 4 + C = 5, F ( 1 ) = 2 + 2 + C = 4 + C = 5 ,
因此 C = 1 C = 1 C = 1 且
F ( x ) = 2 x 3 / 2 + 2 x + 1 , x > 0. F(x) = 2x^{3/2} + \frac2x + 1, \qquad x > 0. F ( x ) = 2 x 3/2 + x 2 + 1 , x > 0.
检查:F ( 1 ) = 2 + 2 + 1 = 5 , F(1) = 2 + 2 + 1 = 5\mathclose{\text{,}} F ( 1 ) = 2 + 2 + 1 = 5 , 而F ′ F' F ′ 是给定的函数,如例 10.1 所示。
运动是初值问题的经典来源:速度是位置的导数,加速度是速度的导数(模块 4),因此,从加速度和两个初始条件可以恢复整个运动。
例 10.3再次考虑下落的球 ✓ 已检验
模块 1 将下落的球的下落距离 s ( t ) = 4.9 t 2 s(t) = 4.9t^2 s ( t ) = 4.9 t 2 米作为已知。推导它。从释放点向下测量距离。在地球表面附近,忽略空气阻力时,球的加速度是常量,为 a ( t ) = 9.8 a(t) = 9.8 a ( t ) = 9.8 m/s²,且从静止释放:v ( 0 ) = 0 v(0) = 0 v ( 0 ) = 0 和s ( 0 ) = 0 。 s(0) = 0\mathclose{\text{。}} s ( 0 ) = 0 。
(a) 求速度 v ( t ) v(t) v ( t ) 和下落距离 s ( t ) 。 s(t)\mathclose{\text{。}} s ( t ) 。
(b) 一个球以 14.7 m/s 的初速度从离地面 1.5 m 高处竖直向上抛出。以 y y y 为向上方向的坐标,求 y ( t ) 。 y(t)\mathclose{\text{。}} y ( t ) 。
(a) 速度是加速度的原函数: v ( t ) = 9.8 t + C 1 。 v(t) = 9.8t + C_1\mathclose{\text{。}} v ( t ) = 9.8 t + C 1 。 条件 v ( 0 ) = 0 v(0) = 0 v ( 0 ) = 0 给出 C 1 = 0 , C_1 = 0\mathclose{\text{,}} C 1 = 0 , 因此 v ( t ) = 9.8 t 。 v(t) = 9.8t\mathclose{\text{。}} v ( t ) = 9.8 t 。 位置是速度的原函数: s ( t ) = 4.9 t 2 + C 2 , s(t) = 4.9t^2 + C_2\mathclose{\text{,}} s ( t ) = 4.9 t 2 + C 2 , 且 s ( 0 ) = 0 s(0) = 0 s ( 0 ) = 0 给出 C 2 = 0 。 C_2 = 0\mathclose{\text{。}} C 2 = 0 。 所以
s ( t ) = 4.9 t 2 , s(t) = 4.9t^2, s ( t ) = 4.9 t 2 ,
模块 1 的公式,现在由一个物理事实推导得出:加速度是恒定的。
(b) 高度向上测量,重力向下拉,因此 a ( t ) = − 9.8 。 a(t) = -9.8\mathclose{\text{。}} a ( t ) = − 9.8 。 然后 v ( t ) = − 9.8 t + C 1 , v(t) = -9.8t + C_1\mathclose{\text{,}} v ( t ) = − 9.8 t + C 1 , 且 v ( 0 ) = 14.7 v(0) = 14.7 v ( 0 ) = 14.7 给出 C 1 = 14.7 。 C_1 = 14.7\mathclose{\text{。}} C 1 = 14.7 。 接下来 y ( t ) = − 4.9 t 2 + 14.7 t + C 2 , y(t) = -4.9t^2 + 14.7t + C_2\mathclose{\text{,}} y ( t ) = − 4.9 t 2 + 14.7 t + C 2 , 且 y ( 0 ) = 1.5 y(0) = 1.5 y ( 0 ) = 1.5 给出 C 2 = 1.5 : C_2 = 1.5\mathclose{\text{:}} C 2 = 1.5 :
y ( t ) = 1.5 + 14.7 t − 4.9 t 2 , y(t) = 1.5 + 14.7t - 4.9t^2, y ( t ) = 1.5 + 14.7 t − 4.9 t 2 ,
高度 练习 4.7 已求导。一般来说,一个初始速度为 v 0 、 v_0\mathclose{\text{、}} v 0 、 初始位置为 s 0 s_0 s 0 且加速度恒定为 a a a 的物体,其位置为 s ( t ) = s 0 + v 0 t + 1 2 a t 2 。 s(t) = s_0 + v_0 t + \tfrac12 a t^2\mathclose{\text{。}} s ( t ) = s 0 + v 0 t + 2 1 a t 2 。
注意
两个初始值问题的卡片。 (1) 每次求原函数都会引入自己的常数。在例题 10.3 中,速度需要 C 1 , C_1\mathclose{\text{,}} C 1 , 由 v ( 0 ) v(0) v ( 0 ) 确定,位置需要 C 2 , C_2\mathclose{\text{,}} C 2 , 由 s ( 0 ) s(0) s ( 0 ) 确定;忽略 C 1 C_1 C 1 会丢失初始速度。(2) C C C 不一定总是初始值。如果 s ′ ( t ) = sin t s'(t) = \sin t s ′ ( t ) = sin t 和 s ( 0 ) = 0 , s(0) = 0\mathclose{\text{,}} s ( 0 ) = 0 , 则 s ( t ) = − cos t + C s(t) = -\cos t + C s ( t ) = − cos t + C 和 s ( 0 ) = − 1 + C = 0 , s(0) = -1 + C = 0\mathclose{\text{,}} s ( 0 ) = − 1 + C = 0 , 因此 C = 1 C = 1 C = 1 和 s ( t ) = 1 − cos t ; s(t) = 1 - \cos t\mathclose{\text{;}} s ( t ) = 1 − cos t ; 设定 C = 0 C = 0 C = 0 将得到 s ( 0 ) = − 1 。 s(0) = -1\mathclose{\text{。}} s ( 0 ) = − 1 。 将条件代入整个原函数,然后解出 C 。 C\mathclose{\text{。}} C 。
模块 9 定义了定积分 ∫ a b f ( x ) d x \int_a^b f(x)\,dx ∫ a b f ( x ) d x 为黎曼和 ∑ f ( x i ∗ ) Δ x i \sum f(x_i^*)\,\Delta x_i ∑ f ( x i ∗ ) Δ x i 的极限,当划分的范数,即最宽子区间的宽度,趋近于 0 时;当 f f f 在 [ a , b ] [a, b] [ a , b ] 上连续时,该极限存在,且 f f f 可积。其中,当 f f f 为正时,积分是其图像与 x x x 轴之间的面积;当 f f f 为负时,该面积计入负值,因此积分是一个有符号的面积。本模块使用了模块 9 中的以下性质:
∫ a a f ( x ) d x = 0 \displaystyle\int_a^a f(x)\,dx = 0 ∫ a a f ( x ) d x = 0 和 ∫ b a f ( x ) d x = − ∫ a b f ( x ) d x ; \displaystyle\int_b^a f(x)\,dx = -\int_a^b f(x)\,dx\mathclose{\text{;}} ∫ b a f ( x ) d x = − ∫ a b f ( x ) d x ;
分割 :对于 ∫ a c f ( x ) d x = ∫ a b f ( x ) d x + ∫ b c f ( x ) d x , \displaystyle\int_a^c f(x)\,dx = \int_a^b f(x)\,dx + \int_b^c f(x)\,dx\mathclose{\text{,}} ∫ a c f ( x ) d x = ∫ a b f ( x ) d x + ∫ b c f ( x ) d x , 当 a 、 a\mathclose{\text{、}} a 、 b b b 和 c c c 以任意顺序排列时,若 f f f 在包含这三个点的闭区间上可积;
线性性 : ∫ a b ( c f ( x ) + g ( x ) ) d x = c ∫ a b f ( x ) d x + ∫ a b g ( x ) d x ; \displaystyle\int_a^b \big(c f(x) + g(x)\big)\,dx = c\int_a^b f(x)\,dx + \int_a^b g(x)\,dx\mathclose{\text{;}} ∫ a b ( c f ( x ) + g ( x ) ) d x = c ∫ a b f ( x ) d x + ∫ a b g ( x ) d x ;
有界性 :若 a < b a < b a < b 和 m ≤ f ( x ) ≤ M m \le f(x) \le M m ≤ f ( x ) ≤ M 是 a ≤ x ≤ b a \le x \le b a ≤ x ≤ b 的上界和下界,则 m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a ) ; m(b - a) \le \displaystyle\int_a^b f(x)\,dx \le M(b - a)\mathclose{\text{;}} m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a ) ;
积分中值定理 :如果 f f f 在 [ a , b ] [a, b] [ a , b ] 上连续,其中 a < b , a < b\mathclose{\text{,}} a < b , 则存在 c c c 属于 [ a , b ] , [a, b]\mathclose{\text{,}} [ a , b ] , 使得 ∫ a b f ( x ) d x = f ( c ) ( b − a ) 。 \displaystyle\int_a^b f(x)\,dx = f(c)\,(b - a)\mathclose{\text{。}} ∫ a b f ( x ) d x = f ( c ) ( b − a ) 。
现在保持左端固定,让右端移动。
定义 10.3面积函数
设I I I 为一个区间,设f f f 在I I I 内的每个闭区间上可积(当f f f 在I I I 上连续时即如此),并设a a a 为I I I 中的一个点。f f f 从a a a 出发的面积函数 是
A ( x ) = ∫ a x f ( t ) d t , x in I . A(x) = \int_a^x f(t)\,dt, \qquad x \text{ in } I. A ( x ) = ∫ a x f ( t ) d t , x in I .
读作 “A of x 是从 a 到 x 对 f of t 的积分”。它也被称为 积累函数 :随着 x x x 向右移动, A ( x ) A(x) A ( x ) 积累 f f f 下方的有符号面积。对于 x < a , x < a\mathclose{\text{,}} x < a , 积分方向相反,即 A ( x ) = − ∫ x a f ( t ) d t 。 A(x) = -\int_x^a f(t)\,dt\mathclose{\text{。}} A ( x ) = − ∫ x a f ( t ) d t 。 如在模块 9 中,字母 t t t 是一个哑变量: ∫ a x f ( t ) d t \int_a^x f(t)\,dt ∫ a x f ( t ) d t 和 ∫ a x f ( s ) d s \int_a^x f(s)\,ds ∫ a x f ( s ) d s 是同一个数,如同一个和 ∑ i = 1 n i 2 \sum_{i=1}^n i^2 ∑ i = 1 n i 2 不依赖于变量 i i i 的名称。写作 ∫ a x f ( x ) d x \int_a^x f(x)\,dx ∫ a x f ( x ) d x 会使得 x x x 同时表示右端点和从 a a a 移动到它的变量,因此变量需要另一个名称。
图 10.2 例 10.4 的分段线性函数 f f f (上图)及面积函数 A ( x ) = ∫ 0 x f ( t ) d t A(x) = \int_0^x f(t)\,dt A ( x ) = ∫ 0 x f ( t ) d t (下图)。图中标出了从 0 到 5 的面积:f > 0 f > 0 f > 0 时为蓝色并按正值计入,f < 0 f < 0 f < 0 时为橙色并按负值计入,因此 A ( 5 ) = 5 − 2.5 = 2.5 。 A(5) = 5 - 2.5 = 2.5\mathclose{\text{。}} A ( 5 ) = 5 − 2.5 = 2.5 。 当 f f f 为正时,A A A 上升;当 f f f 为负时下降。它在 x = 3 x = 3 x = 3 处达到最大值,此时 f f f 改变符号。虚线是 A A A 在 x = 5 x = 5 x = 5 处的切线,斜率为 f ( 5 ) = − 1 。 f(5) = -1\mathclose{\text{。}} f ( 5 ) = − 1 。
例 10.4阅读面积函数 ✓ 已检验
设 f f f 为图 10.2 中的函数,
f ( t ) = { 2 if 0 ≤ t ≤ 2 , 6 − 2 t if 2 < t ≤ 4 , t − 6 if 4 < t ≤ 6 , f(t) = \begin{cases} 2 & \text{if } 0 \le t \le 2, \\ 6 - 2t & \text{if } 2 < t \le 4, \\ t - 6 & \text{if } 4 < t \le 6, \end{cases} f ( t ) = ⎩ ⎨ ⎧ 2 6 − 2 t t − 6 if 0 ≤ t ≤ 2 , if 2 < t ≤ 4 , if 4 < t ≤ 6 ,
并设 A ( x ) = ∫ 0 x f ( t ) d t A(x) = \int_0^x f(t)\,dt A ( x ) = ∫ 0 x f ( t ) d t 对应 0 ≤ x ≤ 6 。 0 \le x \le 6\mathclose{\text{。}} 0 ≤ x ≤ 6 。
(a) 求 A ( x ) A(x) A ( x ) 对应 x = 0 , 1 , 2 , … , 6 。 x = 0, 1, 2, \dots, 6\mathclose{\text{。}} x = 0 , 1 , 2 , … , 6 。
(b) 判断 A A A 在何处递增、递减,以及在何处达到最大值?
(c) 比较 A A A 图像的斜率与 f f f 图像的高度。
(a) 区域是矩形、三角形和梯形。A ( 0 ) = 0 A(0) = 0 A ( 0 ) = 0 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上, f = 2 , f = 2\mathclose{\text{,}} f = 2 , 所以 A ( 1 ) = 2 A(1) = 2 A ( 1 ) = 2 和 A ( 2 ) = 4 。 A(2) = 4\mathclose{\text{。}} A ( 2 ) = 4 。 从 2 到 3, f f f 从 2 落到 0:一个面积为 1 2 ⋅ 1 ⋅ 2 = 1 \tfrac12 \cdot 1 \cdot 2 = 1 2 1 ⋅ 1 ⋅ 2 = 1 的三角形,所以 A ( 3 ) = 5 。 A(3) = 5\mathclose{\text{。}} A ( 3 ) = 5 。 从 3 到 4, f f f 从 0 落到 − 2 : -2\mathclose{\text{:}} − 2 : 一个位于轴下方的三角形,其有符号面积为 − 1 , -1\mathclose{\text{,}} − 1 , 所以 A ( 4 ) = 4 。 A(4) = 4\mathclose{\text{。}} A ( 4 ) = 4 。 从 4 到 5, f f f 从 − 2 -2 − 2 上升到 − 1 : -1\mathclose{\text{:}} − 1 : 一个位于轴下方的梯形,其有符号面积为 − 2 + 1 2 ⋅ 1 = − 1.5 , -\tfrac{2 + 1}{2} \cdot 1 = -1.5\mathclose{\text{,}} − 2 2 + 1 ⋅ 1 = − 1.5 , 所以 A ( 5 ) = 2.5 。 A(5) = 2.5\mathclose{\text{。}} A ( 5 ) = 2.5 。 从 5 到 6,一个有符号面积为 − 0.5 -0.5 − 0.5 的三角形: A ( 6 ) = 2 。 A(6) = 2\mathclose{\text{。}} A ( 6 ) = 2 。 因此,对于 x = 0 , 1 , … , 6 , x = 0, 1, \dots, 6\mathclose{\text{,}} x = 0 , 1 , … , 6 , A ( x ) A(x) A ( x ) 为 0, 2, 4, 5, 4, 2.5 和 2。
(b) 当 x x x 经过 [ 0 , 3 ] , [0, 3]\mathclose{\text{,}} [ 0 , 3 ] , f ≥ 0 , f \ge 0\mathclose{\text{,}} f ≥ 0 , 因此每一步增加面积且 A A A 增加,从 0 到 5。在 [ 3 , 6 ] , [3, 6]\mathclose{\text{,}} [ 3 , 6 ] , f ≤ 0 , f \le 0\mathclose{\text{,}} f ≤ 0 , 因此每一步减少面积且 A A A 减少,从 5 到 2。 A A A 在 x = 3 x = 3 x = 3 最大,此时 f f f 由正变负: A ( 3 ) = 5 。 A(3) = 5\mathclose{\text{。}} A ( 3 ) = 5 。
(c) 在 [ 0 , 2 ] , [0, 2]\mathclose{\text{,}} [ 0 , 2 ] , A ( x ) = 2 x : A(x) = 2x\mathclose{\text{:}} A ( x ) = 2 x : 一条斜率为 2 的直线,且在 f f f 那里高度为 2。在 x = 3 , x = 3\mathclose{\text{,}} x = 3 , A A A 的图像在顶部平坦,且 f ( 3 ) = 0 。 f(3) = 0\mathclose{\text{。}} f ( 3 ) = 0 。 对于 4 ≤ x ≤ 6 , 4 \le x \le 6\mathclose{\text{,}} 4 ≤ x ≤ 6 , 4 到 x x x 之间的区域是一个在轴下方的梯形,两平行边分别为 2 和 6 − x , 6 - x\mathclose{\text{,}} 6 − x , 宽度为 x − 4 , x - 4\mathclose{\text{,}} x − 4 , 因此
A ( x ) = 4 − 1 2 ( 2 + ( 6 − x ) ) ( x − 4 ) = 1 2 x 2 − 6 x + 20. \begin{aligned} A(x) &= 4 - \tfrac12\,\big(2 + (6 - x)\big)(x - 4) \\ &= \tfrac12 x^2 - 6x + 20. \end{aligned} A ( x ) = 4 − 2 1 ( 2 + ( 6 − x ) ) ( x − 4 ) = 2 1 x 2 − 6 x + 20.
根据模块4的规则,A ′ ( x ) = x − 6 A'(x) = x - 6 A ′ ( x ) = x − 6 即为该部分上的f ( x ) ; f(x)\mathclose{\text{;}} f ( x ) ; 在x = 5 、 x = 5\mathclose{\text{、}} x = 5 、 A ′ ( 5 ) = − 1 = f ( 5 ) A'(5) = -1 = f(5) A ′ ( 5 ) = − 1 = f ( 5 ) 处,图10.2中虚线切线的斜率。每次,A A A 在x x x 处的斜率等于f f f 在x x x 处的高度。第10.4节证明了当f f f 连续时,这总是成立。
这里是另一个例子,使用数字而不是形状。设f ( t ) = cos t f(t) = \cos t f ( t ) = cos t 和A ( x ) = ∫ 0 x cos t d t 。 A(x) = \int_0^x \cos t\,dt\mathclose{\text{。}} A ( x ) = ∫ 0 x cos t d t 。 现在三角形不再有帮助。表格中A A A 的值是数值计算得到的,就像使用大量矩形的黎曼和所给出的一样,而A A A 的前向差值(步长为 0.001)也是如此,它们是其图像上短弦的斜率:
x x x A ( x ) A(x) A ( x ) A ( x + 0.001 ) − A ( x ) 0.001 \dfrac{A(x + 0.001) - A(x)}{0.001} 0.001 A ( x + 0.001 ) − A ( x ) cos x \cos x cos x 0.5 0.5 0.5 0.479426 0.479426 0.479426 0.877343 0.877343 0.877343 0.877583 0.877583 0.877583 1 1 1 0.841471 0.841471 0.841471 0.539881 0.539881 0.539881 0.540302 0.540302 0.540302 1.5 1.5 1.5 0.997495 0.997495 0.997495 0.0702384 0.0702384 0.0702384 0.0707372 0.0707372 0.0707372 2 2 2 0.909297 0.909297 0.909297 − 0.416601 -0.416601 − 0.416601 − 0.416147 -0.416147 − 0.416147 3 3 3 0.141120 0.141120 0.141120 − 0.990063 -0.990063 − 0.990063 − 0.989992 -0.989992 − 0.989992
A A A 的斜率与cos x \cos x cos x 相同,精确到小数点后三位,正如步长为 0.001 的前向差值所显示的(模块 4)。而A A A 在cos x > 0 \cos x > 0 cos x > 0 上升至x = π / 2 ≈ 1.571 x = \pi/2 \approx 1.571 x = π /2 ≈ 1.571 时增加,之后下降。你可能还认出A A A 的值:sin 1 ≈ 0.841471 \sin 1 \approx 0.841471 sin 1 ≈ 0.841471 和sin 2 ≈ 0.909297 。 \sin 2 \approx 0.909297\mathclose{\text{。}} sin 2 ≈ 0.909297 。 这两个观察都是微积分基本定理在起作用。
以下演示会绘制你所选函数的两个图像。
注意
A ( x ) A(x) A ( x ) 是一个面积,f ( x ) f(x) f ( x ) 是一个高度:不同的数值。在例 10.4 中,A ( 5 ) = 2.5 A(5) = 2.5 A ( 5 ) = 2.5 而 f ( 5 ) = − 1 。 f(5) = -1\mathclose{\text{。}} f ( 5 ) = − 1 。 递减函数不必为负:A A A 在 [ 3 , 6 ] [3, 6] [ 3 , 6 ] 上递减但保持正值,因为在 x = 3 x = 3 x = 3 之后损失的面积小于之前获得的面积。f f f 的符号告诉你 A A A 是上升还是下降,而不是 A A A 是否为正。
在第 10.3 节的两个例子中,面积函数在 x x x 处的斜率等于 f f f 在 x x x 处的高度。这是为什么,用图表示。将右端从 x x x 移动到 x + h , x + h\mathclose{\text{,}} x + h , 且 h > 0 h > 0 h > 0 很小。面积增加由 x x x 和 x + h x + h x + h 之间的窄条(图 10.3)决定,因此根据分割性质
A ( x + h ) − A ( x ) = ∫ x x + h f ( t ) d t . A(x + h) - A(x) = \int_x^{x + h} f(t)\,dt. A ( x + h ) − A ( x ) = ∫ x x + h f ( t ) d t .
该条带近似为宽度为 h h h 且高度为 f ( x ) f(x) f ( x ) 的矩形,因此为 A ( x + h ) − A ( x ) ≈ f ( x ) h , A(x + h) - A(x) \approx f(x)\,h\mathclose{\text{,}} A ( x + h ) − A ( x ) ≈ f ( x ) h , 且 A A A 的差商接近 f ( x ) 。 f(x)\mathclose{\text{。}} f ( x ) 。 条带越窄,近似越精确:在极限情况下,为 A ′ ( x ) = f ( x ) 。 A'(x) = f(x)\mathclose{\text{。}} A ′ ( x ) = f ( x ) 。 积分的中值定理将这个 “≈ \approx ≈ ” 转化为一个精确的陈述。
图 10.3 第一部分证明思想。面积函数的值 A ( x ) A(x) A ( x ) 是从 a a a 到 x x x 的浅色区域的面积。将右端从 x x x 移动到 x + h , x + h\mathclose{\text{,}} x + h , 则添加了面积为 A ( x + h ) − A ( x ) A(x + h) - A(x) A ( x + h ) − A ( x ) 的深色条带。积分的中值定理给出一个点 c , c\mathclose{\text{,}} c , 位于 x x x 和 x + h x + h x + h 之间,使得高度为 f ( c ) f(c) f ( c ) (虚线)的矩形恰好等于该条带的面积。当 h → 0 h \to 0 h → 0 时, c c c 被压向 x , x\mathclose{\text{,}} x , f ( c ) f(c) f ( c ) 接近 f ( x ) 。 f(x)\mathclose{\text{。}} f ( x ) 。
定理 10.2微积分基本定理,第一部分
设 f f f 在 [ a , b ] [a, b] [ a , b ] 上连续,并设
A ( x ) = ∫ a x f ( t ) d t , a ≤ x ≤ b . A(x) = \int_a^x f(t)\,dt, \qquad a \le x \le b. A ( x ) = ∫ a x f ( t ) d t , a ≤ x ≤ b .
则 A A A 在 [ a , b ] [a, b] [ a , b ] 上连续,在 ( a , b ) (a, b) ( a , b ) 上可导,对每个 x x x 属于 ( a , b ) , (a, b)\mathclose{\text{,}} ( a , b ) , 有 A ′ ( x ) = f ( x ) , A'(x) = f(x)\mathclose{\text{,}} A ′ ( x ) = f ( x ) , 且在端点处其单侧导数分别为 A + ′ ( a ) = f ( a ) A'_+(a) = f(a) A + ′ ( a ) = f ( a ) 和 A − ′ ( b ) = f ( b ) 。 A'_-(b) = f(b)\mathclose{\text{。}} A − ′ ( b ) = f ( b ) 。 因此 A A A 是 f f f 在 [ a , b ] [a, b] [ a , b ] 上的原函数。在莱布尼茨记号中,
d d x ∫ a x f ( t ) d t = f ( x ) . \frac{d}{dx}\int_a^x f(t)\,dt = f(x). d x d ∫ a x f ( t ) d t = f ( x ) .
最后一行读作:“积分从 a 到 x 的 f(t) dt 关于 x 的导数是 f(x)”。
证明
设 x x x ∈ [ a , b ] , [a, b]\mathclose{\text{,}} [ a , b ] , 且 h ≠ 0 h \ne 0 h = 0 与 x + h x + h x + h ∈ [ a , b ] 。 [a, b]\mathclose{\text{。}} [ a , b ] 。 根据分割性质,
A ( x + h ) − A ( x ) = ∫ a x + h f ( t ) d t − ∫ a x f ( t ) d t = ∫ x x + h f ( t ) d t . \begin{aligned} &A(x + h) - A(x) \\ &\quad= \int_a^{x + h} f(t)\,dt - \int_a^x f(t)\,dt \\ &\quad= \int_x^{x + h} f(t)\,dt. \end{aligned} A ( x + h ) − A ( x ) = ∫ a x + h f ( t ) d t − ∫ a x f ( t ) d t = ∫ x x + h f ( t ) d t .
若 h > 0 , h > 0\mathclose{\text{,}} h > 0 , f f f 在 [ x , x + h ] [x, x + h] [ x , x + h ] 上连续,则积分中值定理给出一个 c h c_h c h ∈ [ x , x + h ] , [x, x + h]\mathclose{\text{,}} [ x , x + h ] , 使得 ∫ x x + h f ( t ) d t = f ( c h ) h 。 \int_x^{x + h} f(t)\,dt = f(c_h)\,h\mathclose{\text{。}} ∫ x x + h f ( t ) d t = f ( c h ) h 。 若 h < 0 , h < 0\mathclose{\text{,}} h < 0 , 则给出 c h c_h c h ∈ [ x + h , x ] , [x + h, x]\mathclose{\text{,}} [ x + h , x ] , 使得 ∫ x + h x f ( t ) d t = f ( c h ) ( − h ) , \int_{x + h}^x f(t)\,dt = f(c_h)\,(-h)\mathclose{\text{,}} ∫ x + h x f ( t ) d t = f ( c h ) ( − h ) , 且反转积分限会改变符号,因此仍为 ∫ x x + h f ( t ) d t = f ( c h ) h 。 \int_x^{x + h} f(t)\,dt = f(c_h)\,h\mathclose{\text{。}} ∫ x x + h f ( t ) d t = f ( c h ) h 。 无论哪种情况,
A ( x + h ) − A ( x ) h = f ( c h ) , \frac{A(x + h) - A(x)}{h} = f(c_h), h A ( x + h ) − A ( x ) = f ( c h ) ,
其中 c h c_h c h 介于 x x x 与 x + h x + h x + h 之间。
连续性。 f f f 在闭区间 [ a , b ] [a, b] [ a , b ] 上连续,因此根据极值定理(模块 3) ∣ f ∣ \abs{f} ∣ f ∣ 在那里有最大值 M 。 M\mathclose{\text{。}} M 。 然后 ∣ A ( x + h ) − A ( x ) ∣ = ∣ f ( c h ) ∣ ∣ h ∣ ≤ M ∣ h ∣ , \abs{A(x + h) - A(x)} = \abs{f(c_h)}\,\abs{h} \le M\abs{h}\mathclose{\text{,}} ∣ A ( x + h ) − A ( x ) ∣ = ∣ f ( c h ) ∣ ∣ h ∣ ≤ M ∣ h ∣ , 它在 h → 0 h \to 0 h → 0 趋于 0 时趋于 0。所以 A A A 在 x x x 处连续(当 x x x 为 a a a 或 b b b 时从一侧)。
导数。 现在设 x x x 在 ( a , b ) (a, b) ( a , b ) 内,因此 h h h 可能为正或负。由于 c h c_h c h 介于 x x x 和 x + h x + h x + h 之间,所以 ∣ c h − x ∣ ≤ ∣ h ∣ 。 \abs{c_h - x} \le \abs{h}\mathclose{\text{。}} ∣ c h − x ∣ ≤ ∣ h ∣ 。 令 ε > 0 。 \varepsilon > 0\mathclose{\text{。}} ε > 0 。 因为 f f f 在 x x x 处连续,存在一个 δ > 0 , \delta > 0\mathclose{\text{,}} δ > 0 , 使得 ∣ f ( c ) − f ( x ) ∣ < ε \abs{f(c) - f(x)} < \varepsilon ∣ f ( c ) − f ( x ) ∣ < ε 每当 c c c 在 [ a , b ] [a, b] [ a , b ] 且 ∣ c − x ∣ < δ \abs{c - x} < \delta ∣ c − x ∣ < δ 时成立。对于 0 < ∣ h ∣ < δ 0 < \abs{h} < \delta 0 < ∣ h ∣ < δ (其中 x + h x + h x + h 在 [ a , b ] , [a, b]\mathclose{\text{,}} [ a , b ] , 如前所述),则 ∣ c h − x ∣ < δ , \abs{c_h - x} < \delta\mathclose{\text{,}} ∣ c h − x ∣ < δ , 所以
∣ A ( x + h ) − A ( x ) h − f ( x ) ∣ = ∣ f ( c h ) − f ( x ) ∣ < ε . \begin{aligned} \left\lvert \frac{A(x + h) - A(x)}{h} - f(x)\right\rvert &= \abs{f(c_h) - f(x)} \\ &< \varepsilon. \end{aligned} h A ( x + h ) − A ( x ) − f ( x ) = ∣ f ( c h ) − f ( x ) ∣ < ε .
由极限的定义, A A A 的差商当 h → 0 h \to 0 h → 0 趋近于 A ′ ( x ) = f ( x ) A'(x) = f(x) A ′ ( x ) = f ( x ) 时趋于 f ( x ) 。 f(x)\mathclose{\text{。}} f ( x ) 。 在 x = a x = a x = a 和 x = b x = b x = b 处, h h h 只能取一个符号,同样的论证表明 A A A 的单侧导数分别为 f ( a ) f(a) f ( a ) 和 f ( b ) 。 f(b)\mathclose{\text{。}} f ( b ) 。
∎
每个假设都被使用了。在 [ a , b ] [a, b] [ a , b ] 上的连续性给出了积分的中值定理和 M M M 的界;在 x x x 处的连续性使得 f ( c h ) f(c_h) f ( c h ) 趋近于 f ( x ) 。 f(x)\mathclose{\text{。}} f ( x ) 。 没有连续性,结论可能不成立。令 f ( t ) = 0 f(t) = 0 f ( t ) = 0 为 t < 0 , t < 0\mathclose{\text{,}} t < 0 , f ( t ) = 1 f(t) = 1 f ( t ) = 1 为 t ≥ 0 , t \ge 0\mathclose{\text{,}} t ≥ 0 , 这是一个可积的函数(其积分是矩形的面积),但在 0 处不连续。此时 A ( x ) = ∫ 0 x f ( t ) d t A(x) = \int_0^x f(t)\,dt A ( x ) = ∫ 0 x f ( t ) d t 在 x ≤ 0 x \le 0 x ≤ 0 处为 0,在 x x x 处为 x ≥ 0 : x \ge 0\mathclose{\text{:}} x ≥ 0 : 其图像在 0 处有一个拐点,像 小节 4.4 ] 中 ∣ x ∣ \abs{x} ∣ x ∣ 的图像那样,而 A ′ ( 0 ) A'(0) A ′ ( 0 ) 不存在。在第 10.3 节的证明中, sign(x) 展示了这样的拐点。
起点a a a 可在任意位置,x x x 在其任一侧。若f f f 在开区间I I I 上连续且a a a 为I I I 中一点,则A ( x ) = ∫ a x f ( t ) d t A(x) = \int_a^x f(t)\,dt A ( x ) = ∫ a x f ( t ) d t 在I I I 中x x x 的任一侧处具有A ′ ( x ) = f ( x ) , A'(x) = f(x)\mathclose{\text{,}} A ′ ( x ) = f ( x ) , 且位于a a a 的任一侧。事实上,在I I I 中选取p p p 和q , q\mathclose{\text{,}} q , 使p p p 小于a a a 和x , x\mathclose{\text{,}} x , 且q q q 大于二者;由分裂性质,
A ( x ) = ∫ p x f ( t ) d t − ∫ p a f ( t ) d t , A(x) = \int_p^x f(t)\,dt - \int_p^a f(t)\,dt, A ( x ) = ∫ p x f ( t ) d t − ∫ p a f ( t ) d t ,
第一部分关于 [ p , q ] [p, q] [ p , q ] 表明,第一项进行求导,第二项是一个常数。同样的公式说明改变 a a a 的影响:它会使 A A A 改变一个常数 ∫ p a f ( t ) d t 。 \int_p^a f(t)\,dt\mathclose{\text{。}} ∫ p a f ( t ) d t 。 从不同起始点得到的面积函数是相差常数的原函数,正如定理 10.1 所述;在推导过程中,移动 a a a 会使 A A A 的图像上下平移。
要点
第一部分说明求导可还原积分过程。把 f f f 从一个固定点积分到 x , x\mathclose{\text{,}} x , 再对 x x x 求导,就得到原来的 f 。 f\mathclose{\text{。}} f 。 特别地,区间上的每个连续函数在该区间都存在原函数 ,∫ a x f ( t ) d t \int_a^x f(t)\,dt ∫ a x f ( t ) d t 就是其中一个。
这包括那些用模块1目录中的函数无法表示原函数的函数。函数 e − x 2 e^{-x^2} e − x 2 是连续的,因此 ∫ 0 x e − t 2 d t \int_0^x e^{-t^2}\,dt ∫ 0 x e − t 2 d t 是它的原函数,这是一个完全有效的函数,没有更简单的表达式;它在第10.8节下以它自己的名称出现。
变限积分
部分1对一个上限为 x x x 本身的积分进行求导。当极限是 x x x 的函数时,模块5的链式法则 5 ] 会参与进来。
定理 10.3变限积分
设 f f f 在开区间 I I I 上连续, a a a 属于 I , I\mathclose{\text{,}} I , 且 u u u 和 v v v 是可导函数,其值域在 I I I 内。则
d d x ∫ a u ( x ) f ( t ) d t = f ( u ( x ) ) u ′ ( x ) , d d x ∫ x a f ( t ) d t = − f ( x ) ( x in I ) , \begin{aligned} \frac{d}{dx}\int_a^{u(x)} f(t)\,dt &= f\big(u(x)\big)\,u'(x), \\ \frac{d}{dx}\int_x^a f(t)\,dt &= -f(x) \quad (x \text{ in } I), \end{aligned} d x d ∫ a u ( x ) f ( t ) d t d x d ∫ x a f ( t ) d t = f ( u ( x ) ) u ′ ( x ) , = − f ( x ) ( x in I ) ,
和
d d x ∫ v ( x ) u ( x ) f ( t ) d t = f ( u ( x ) ) u ′ ( x ) − f ( v ( x ) ) v ′ ( x ) . \begin{aligned} &\frac{d}{dx}\int_{v(x)}^{u(x)} f(t)\,dt \\ &\quad= f\big(u(x)\big)\,u'(x) - f\big(v(x)\big)\,v'(x). \end{aligned} d x d ∫ v ( x ) u ( x ) f ( t ) d t = f ( u ( x ) ) u ′ ( x ) − f ( v ( x ) ) v ′ ( x ) .
证明
设 A ( y ) = ∫ a y f ( t ) d t A(y) = \int_a^y f(t)\,dt A ( y ) = ∫ a y f ( t ) d t 对于 y y y 在 I ; I\mathclose{\text{;}} I ; 根据上述关于开区间的形式,由第一部分,A ′ ( y ) = f ( y ) 。 A'(y) = f(y)\mathclose{\text{。}} A ′ ( y ) = f ( y ) 。 第一个积分是 A ( u ( x ) ) , A\big(u(x)\big)\mathclose{\text{,}} A ( u ( x ) ) , 链式法则给出其导数 A ′ ( u ( x ) ) u ′ ( x ) = f ( u ( x ) ) u ′ ( x ) 。 A'\big(u(x)\big)\,u'(x) = f\big(u(x)\big)\,u'(x)\mathclose{\text{。}} A ′ ( u ( x ) ) u ′ ( x ) = f ( u ( x ) ) u ′ ( x ) 。 第二个是 − A ( x ) , -A(x)\mathclose{\text{,}} − A ( x ) , 导数为 − f ( x ) 。 -f(x)\mathclose{\text{。}} − f ( x ) 。 根据拆分性质,第三个是 A ( u ( x ) ) − A ( v ( x ) ) , A\big(u(x)\big) - A\big(v(x)\big)\mathclose{\text{,}} A ( u ( x ) ) − A ( v ( x ) ) , 链式法则使用两次,得到最后一个公式。
∎
例 10.5导数的积分 ✓ 已检验
求:
(a) d d x ∫ 1 x 1 + t 3 d t , \dfrac{d}{dx}\displaystyle\int_1^x \sqrt{1 + t^3}\,dt\mathclose{\text{,}} d x d ∫ 1 x 1 + t 3 d t , 对于 x > − 1 x > -1 x > − 1
(b) d d x ∫ 0 x 2 e − t 2 d t \dfrac{d}{dx}\displaystyle\int_0^{x^2} e^{-t^2}\,dt d x d ∫ 0 x 2 e − t 2 d t
(c) d d x ∫ x 2 x 1 t d t , \dfrac{d}{dx}\displaystyle\int_x^{2x} \frac{1}{t}\,dt\mathclose{\text{,}} d x d ∫ x 2 x t 1 d t , 用于 x > 0 x > 0 x > 0
(a) f ( t ) = 1 + t 3 f(t) = \sqrt{1 + t^3} f ( t ) = 1 + t 3 在开区间 ( − 1 , ∞ ) (-1, \infty) ( − 1 , ∞ ) 上连续,该区间包含 1,因此第一部分适用:导数为 1 + x 3 。 \sqrt{1 + x^3}\mathclose{\text{。}} 1 + x 3 。 不需要 1 + t 3 \sqrt{1 + t^3} 1 + t 3 的原函数,这是幸运的:没有由模块 1 的函数库中函数构成的公式可以表示它。
(b) 上限为 u ( x ) = x 2 , u(x) = x^2\mathclose{\text{,}} u ( x ) = x 2 , 带 u ′ ( x ) = 2 x 。 u'(x) = 2x\mathclose{\text{。}} u ′ ( x ) = 2 x 。 将 u ( x ) u(x) u ( x ) 代入被积函数并乘以 u ′ ( x ) : u'(x)\mathclose{\text{:}} u ′ ( x ) :
d d x ∫ 0 x 2 e − t 2 d t = e − ( x 2 ) 2 ⋅ 2 x = 2 x e − x 4 . \frac{d}{dx}\int_0^{x^2} e^{-t^2}\,dt = e^{-(x^2)^2}\cdot 2x = 2x\,e^{-x^4}. d x d ∫ 0 x 2 e − t 2 d t = e − ( x 2 ) 2 ⋅ 2 x = 2 x e − x 4 .
(c) 1 / t 1/t 1/ t 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上连续,且对于 x > 0 x > 0 x > 0 两个极限都存在。在 u ( x ) = 2 x u(x) = 2x u ( x ) = 2 x 和 v ( x ) = x v(x) = x v ( x ) = x 的情况下,
d d x ∫ x 2 x d t t = 1 2 x ⋅ 2 − 1 x ⋅ 1 = 0. \frac{d}{dx}\int_x^{2x} \frac{dt}{t} = \frac{1}{2x}\cdot 2 - \frac{1}{x}\cdot 1 = 0. d x d ∫ x 2 x t d t = 2 x 1 ⋅ 2 − x 1 ⋅ 1 = 0.
导数在区间 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上为 0,因此根据模块 8,积分对于每一个 x > 0 x > 0 x > 0 都有相同的值:从 x x x 到 2 x 2x 2 x 的 y = 1 / t y = 1/t y = 1/ t 下方的面积不依赖于 x , x\mathclose{\text{,}} x , 因为当区域变宽时,它以完全正确的比例变低。例 10.6 找到了这个值 ln 2 。 \ln 2\mathclose{\text{。}} ln 2 。
注意
三张卡片。 (1) 忽略链式法则: d d x ∫ 0 x 2 e − t 2 d t \dfrac{d}{dx}\displaystyle\int_0^{x^2} e^{-t^2}\,dt d x d ∫ 0 x 2 e − t 2 d t 是 2 x e − x 4 , 2x\,e^{-x^4}\mathclose{\text{,}} 2 x e − x 4 , 不是 e − x 4 e^{-x^4} e − x 4 也不是 e − x 2 。 e^{-x^2}\mathclose{\text{。}} e − x 2 。 (2) 代入错误的字母: d d x ∫ a x f ( t ) d t \dfrac{d}{dx}\displaystyle\int_a^x f(t)\,dt d x d ∫ a x f ( t ) d t 是 f ( x ) , f(x)\mathclose{\text{,}} f ( x ) , 关于 x x x 的函数,不是 f ( t ) 。 f(t)\mathclose{\text{。}} f ( t ) 。 (3) 两个常数限的积分是一个数,因此其导数为 0: d d x ∫ 0 1 e − t 2 d t = 0 , \dfrac{d}{dx}\displaystyle\int_0^1 e^{-t^2}\,dt = 0\mathclose{\text{,}} d x d ∫ 0 1 e − t 2 d t = 0 , 不是 e − x 2 。 e^{-x^2}\mathclose{\text{。}} e − x 2 。
第 1 部分说明积分产生一个原函数。第 2 部分则反过来:计算积分时,只需找到任意一个原函数。
定理 10.4微积分基本定理,第 2 部分
设 f f f 在 [ a , b ] [a, b] [ a , b ] 上连续,且 F F F 在 [ a , b ] [a, b] [ a , b ] 上连续,且对于每个 x x x 在 ( a , b ) (a, b) ( a , b ) 中,F ′ ( x ) = f ( x ) F'(x) = f(x) F ′ ( x ) = f ( x ) 成立;例如,F F F 可以是 f f f 在包含 [ a , b ] [a, b] [ a , b ] 的区间上的任意原函数。则
∫ a b f ( x ) d x = F ( b ) − F ( a ) . \int_a^b f(x)\,dx = F(b) - F(a). ∫ a b f ( x ) d x = F ( b ) − F ( a ) .
差 F ( b ) − F ( a ) F(b) - F(a) F ( b ) − F ( a ) 写作 [ F ( x ) ] a b , \big[F(x)\big]_a^b\mathclose{\text{,}} [ F ( x ) ] a b , 读作 “F of x 从 a 到 b 评价”。有些书写作 F ( x ) ∣ a b 。 F(x)\big|_a^b\mathclose{\text{。}} F ( x ) a b 。
证明
设 A ( x ) = ∫ a x f ( t ) d t A(x) = \int_a^x f(t)\,dt A ( x ) = ∫ a x f ( t ) d t 对 a ≤ x ≤ b 。 a \le x \le b\mathclose{\text{。}} a ≤ x ≤ b 。 由第 1 部分,可知 A A A 在 [ a , b ] [a, b] [ a , b ] 上连续,且对于 ( a , b ) (a, b) ( a , b ) 中的每个 x , x\mathclose{\text{,}} x , 都有 A ′ ( x ) = f ( x ) = F ′ ( x ) 。 A'(x) = f(x) = F'(x)\mathclose{\text{。}} A ′ ( x ) = f ( x ) = F ′ ( x ) 。 在开区间上,两个导数相同的函数相差一个常数(定理 8.6 )),因此 F ( x ) − A ( x ) = C F(x) - A(x) = C F ( x ) − A ( x ) = C 对某个常数 C C C 以及 x x x 在 ( a , b ) (a, b) ( a , b ) 上成立。由于 F F F 和 A A A 在 a a a 和 b b b 处连续,因此令 x → a + x \to a^+ x → a + 和 x → b − x \to b^- x → b − 可得 F ( a ) − A ( a ) = C F(a) - A(a) = C F ( a ) − A ( a ) = C 和 F ( b ) − A ( b ) = C F(b) - A(b) = C F ( b ) − A ( b ) = C 也连续。因此
F ( b ) − F ( a ) = ( A ( b ) + C ) − ( A ( a ) + C ) = A ( b ) − A ( a ) = ∫ a b f ( t ) d t − 0 , \begin{aligned} F(b) - F(a) &= \big(A(b) + C\big) - \big(A(a) + C\big) \\ &= A(b) - A(a) \\ &= \int_a^b f(t)\,dt - 0, \end{aligned} F ( b ) − F ( a ) = ( A ( b ) + C ) − ( A ( a ) + C ) = A ( b ) − A ( a ) = ∫ a b f ( t ) d t − 0 ,
由于 A ( a ) = ∫ a a f ( t ) d t = 0 。 A(a) = \int_a^a f(t)\,dt = 0\mathclose{\text{。}} A ( a ) = ∫ a a f ( t ) d t = 0 。 积分变量的名称无关紧要,因此这等于 ∫ a b f ( x ) d x 。 \int_a^b f(x)\,dx\mathclose{\text{。}} ∫ a b f ( x ) d x 。
∎
所以在第2部分中,不定积分的常数从不重要:( F ( b ) + C ) − ( F ( a ) + C ) = F ( b ) − F ( a ) . (F(b) + C) - (F(a) + C) = F(b) - F(a)\mathclose{\text{.}} ( F ( b ) + C ) − ( F ( a ) + C ) = F ( b ) − F ( a ) . 任何不定积分都可以。
例 10.6两行积分 ✓ 已检验
评估 (a) ∫ 0 1 x 2 d x , \displaystyle\int_0^1 x^2\,dx\mathclose{\text{,}} ∫ 0 1 x 2 d x , (b) ∫ 0 π sin x d x , \displaystyle\int_0^\pi \sin x\,dx\mathclose{\text{,}} ∫ 0 π sin x d x , (c) ∫ 1 2 d x x \displaystyle\int_1^2 \frac{dx}{x} ∫ 1 2 x d x 和 (d) ∫ 0 1 d x 1 + x 2 。 \displaystyle\int_0^1 \frac{dx}{1 + x^2}\mathclose{\text{。}} ∫ 0 1 1 + x 2 d x 。
对于每个问题,从第10.1节的积分表中选取一个在积分区间内有效的不定积分,然后相减。
(a) ∫ 0 1 x 2 d x = [ x 3 3 ] 0 1 = 1 3 − 0 = 1 3 . \displaystyle\int_0^1 x^2\,dx = \Big[\frac{x^3}{3}\Big]_0^1 = \frac13 - 0 = \frac13. ∫ 0 1 x 2 d x = [ 3 x 3 ] 0 1 = 3 1 − 0 = 3 1 .
(b) ∫ 0 π sin x d x = [ − cos x ] 0 π = − cos π − ( − cos 0 ) = 1 + 1 = 2. \displaystyle\int_0^\pi \sin x\,dx = \big[-\cos x\big]_0^\pi = -\cos\pi - (-\cos 0) = 1 + 1 = 2. ∫ 0 π sin x d x = [ − cos x ] 0 π = − cos π − ( − cos 0 ) = 1 + 1 = 2.
(c) ln x \ln x ln x 是 1 / x 1/x 1/ x 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上的原函数,包含 [ 1 , 2 ] : [1, 2]\mathclose{\text{:}} [ 1 , 2 ] : ∫ 1 2 d x x = ln 2 − ln 1 = ln 2 ≈ 0.6931. \displaystyle\int_1^2 \frac{dx}{x} = \ln 2 - \ln 1 = \ln 2 \approx 0.6931. ∫ 1 2 x d x = ln 2 − ln 1 = ln 2 ≈ 0.6931.
(d) ∫ 0 1 d x 1 + x 2 = arctan 1 − arctan 0 = π 4 ≈ 0.7854. \displaystyle\int_0^1 \frac{dx}{1 + x^2} = \arctan 1 - \arctan 0 = \frac{\pi}{4} \approx 0.7854. ∫ 0 1 1 + x 2 d x = arctan 1 − arctan 0 = 4 π ≈ 0.7854.
所以正弦曲线的一个拱形所围成的面积恰好为2,且 y = 1 / ( 1 + x 2 ) y = 1/(1 + x^2) y = 1/ ( 1 + x 2 ) 从 0 到 1 下的面积是 π / 4 : \pi/4\mathclose{\text{:}} π /4 : π \pi π 来自一条没有圆的曲线。根据例题10.5(c),(c) 也是 1 / t 1/t 1/ t 从 x x x 到 2 x 2x 2 x 的面积,对于每一个 x > 0 x > 0 x > 0 都成立。
注意
(1) 第二部分需要 f f f 在整个区间 [ a , b ] [a, b] [ a , b ] 上连续,并且在整个区间上有原函数。“计算” ∫ − 1 1 d x x 2 = [ − 1 x ] − 1 1 = − 1 − 1 = − 2 \displaystyle\int_{-1}^1 \frac{dx}{x^2} = \Big[-\frac1x\Big]_{-1}^1 = -1 - 1 = -2 ∫ − 1 1 x 2 d x = [ − x 1 ] − 1 1 = − 1 − 1 = − 2 是错误的:一个正函数不能有负的积分。函数 1 / x 2 1/x^2 1/ x 2 在 0 处不连续,甚至在 0 附近也不 bounded,而且 − 1 / x -1/x − 1/ x 并不是在包含 0 的任何区间上的原函数;模块 12 显示该区域实际上为无穷大。(2) 1 / x 1/x 1/ x 的情况也是如此。它的原函数 ln ∣ x ∣ \ln\abs{x} ln ∣ x ∣ 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 和 ( − ∞ , 0 ) (-\infty, 0) ( − ∞ , 0 ) 上有效,因此 ∫ 1 2 d x x = ln 2 \int_1^2 \frac{dx}{x} = \ln 2 ∫ 1 2 x d x = ln 2 和 ∫ − 2 − 1 d x x = ln 1 − ln 2 = − ln 2 ; \int_{-2}^{-1} \frac{dx}{x} = \ln 1 - \ln 2 = -\ln 2\mathclose{\text{;}} ∫ − 2 − 1 x d x = ln 1 − ln 2 = − ln 2 ; 但 [ ln ∣ x ∣ ] − 1 2 = ln 2 \big[\ln\abs{x}\big]_{-1}^{2} = \ln 2 [ ln ∣ x ∣ ] − 1 2 = ln 2 并不是 ∫ − 1 2 d x x \int_{-1}^{2} \frac{dx}{x} ∫ − 1 2 x d x 的值。该积分不存在:1 / x 1/x 1/ x 在 0 附近无界。(3) 减去 F ( a ) F(a) F ( a ) 的全部,括号内:[ x 2 − 3 x ] 1 2 = ( 4 − 6 ) − ( 1 − 3 ) = 0 , \big[x^2 - 3x\big]_1^2 = (4 - 6) - (1 - 3) = 0\mathclose{\text{,}} [ x 2 − 3 x ] 1 2 = ( 4 − 6 ) − ( 1 − 3 ) = 0 , 而不是 ( 4 − 6 ) − 1 − 3 = − 6 。 (4 - 6) - 1 - 3 = -6\mathclose{\text{。}} ( 4 − 6 ) − 1 − 3 = − 6 。
比较例题 10.6 与模块 9 的方法。在那里,像 ∫ 0 1 x 2 d x \int_0^1 x^2\,dx ∫ 0 1 x 2 d x 这样的积分是黎曼和的极限:使用 n n n 个矩形和右端点,和为 ( n + 1 ) ( 2 n + 1 ) 6 n 2 , \dfrac{(n + 1)(2n + 1)}{6n^2}\mathclose{\text{,}} 6 n 2 ( n + 1 ) ( 2 n + 1 ) , 用模块 9 的公式 1 2 + 2 2 + ⋯ + n 2 1^2 + 2^2 + \dots + n^2 1 2 + 2 2 + ⋯ + n 2 计算得出,其极限 n → ∞ n \to \infty n → ∞ 是 1 3 。 \tfrac13\mathclose{\text{。}} 3 1 。 这需要一个和的公式,然后取极限,这种方法只适用于少数那些和有公式的函数。对于 sin x \sin x sin x 在 [ 0 , π ] [0, \pi] [ 0 , π ] 上的积分,中点和 M n M_n M n 使用 n n n 个矩形,每个宽度为 π / n , \pi/n\mathclose{\text{,}} π / n , 逐渐趋近于 2:
n n n M n M_n M n 10 10 10 2.00824841 2.00824841 2.00824841 100 100 100 2.00008225 2.00008225 2.00008225 1000 1000 1000 2.00000082 2.00000082 2.00000082
而第 2 部分只需一行就得到 2。阿基米德在公元前 3 世纪用穷竭法求面积,这是黎曼和的前身,他为每种形状都使用了一个巧妙的论证。基本定理将所有这些替换为一个问题:什么函数的导数是这个?它将模块 1 中的面积问题转化为求导的逆运算,这也是为什么积分是一个实用工具而不是极限理论。它也兑现了 第 1.1 节 ] 中的承诺。
要点
模块 1 比较了汽车的速度表和里程表,并承诺微积分基本定理将表明它们彼此互为逆运算。现在我们兑现这个承诺。设 s ( t ) s(t) s ( t ) 为时间 t t t 时的里程表读数,而 v ( t ) = s ′ ( t ) v(t) = s'(t) v ( t ) = s ′ ( t ) 是速度表读数,是一个连续函数。
Part 2: 将速度表读数在一段时间内累加,你得到里程表读数的变化量: ∫ a b v ( t ) d t = s ( b ) − s ( a ) 。 \displaystyle\int_a^b v(t)\,dt = s(b) - s(a)\mathclose{\text{。}} ∫ a b v ( t ) d t = s ( b ) − s ( a ) 。
Part 1: 问这个累积总量增长的速度,你将得到速度表读数: d d t ∫ a t v ( u ) d u = v ( t ) 。 \dfrac{d}{dt}\displaystyle\int_a^t v(u)\,du = v(t)\mathclose{\text{。}} d t d ∫ a t v ( u ) d u = v ( t ) 。
积分与微分是互为逆运算的过程,模块 1 中的切线问题和面积问题则是同一问题的两个方面。
深入一步Part 2 直接来自黎曼和
Part 2 也可以不借助 Part 1,从积分的定义来证明,且证明表明只要 f f f 可积,无论是否连续,该结论都成立。设 F F F 在 [ a , b ] [a, b] [ a , b ] 上连续,且 F ′ = f F' = f F ′ = f 在 ( a , b ) (a, b) ( a , b ) 上,取任意分划 a = x 0 < x 1 < ⋯ < x n = b 。 a = x_0 < x_1 < \dots < x_n = b\mathclose{\text{。}} a = x 0 < x 1 < ⋯ < x n = b 。 该和
( F ( x 1 ) − F ( x 0 ) ) + ( F ( x 2 ) − F ( x 1 ) ) + ⋯ + ( F ( x n ) − F ( x n − 1 ) ) \begin{aligned} &\big(F(x_1) - F(x_0)\big) \\ &\quad+ \big(F(x_2) - F(x_1)\big) \\ &\quad+ \dots + \big(F(x_n) - F(x_{n-1})\big) \end{aligned} ( F ( x 1 ) − F ( x 0 ) ) + ( F ( x 2 ) − F ( x 1 ) ) + ⋯ + ( F ( x n ) − F ( x n − 1 ) )
裂项相消法应用于F ( b ) − F ( a ) 。 F(b) - F(a)\mathclose{\text{。}} F ( b ) − F ( a ) 。 由中值定理(模块8),每个括号对应于( x i − 1 , x i ) (x_{i-1}, x_i) ( x i − 1 , x i ) 中某个c i c_i c i 的F ′ ( c i ) Δ x i = f ( c i ) Δ x i , F'(c_i)\,\Delta x_i = f(c_i)\,\Delta x_i\mathclose{\text{,}} F ′ ( c i ) Δ x i = f ( c i ) Δ x i , 其中Δ x i = x i − x i − 1 \Delta x_i = x_i - x_{i-1} Δ x i = x i − x i − 1 成立。因此,对于任意划分,都存在一个具有样本点c i c_i c i 的f f f 的黎曼和,其值恰好为F ( b ) − F ( a ) 。 F(b) - F(a)\mathclose{\text{。}} F ( b ) − F ( a ) 。 若f f f 可积,当子区间缩小时黎曼和趋近于∫ a b f ( x ) d x , \int_a^b f(x)\,dx\mathclose{\text{,}} ∫ a b f ( x ) d x , 故积分等于F ( b ) − F ( a ) 。 F(b) - F(a)\mathclose{\text{。}} F ( b ) − F ( a ) 。
不定积分
第2部分将原函数作为计算积分的方法,这解释了用于它们的符号。
定义 10.4不定积分
f f f 的不定积分 记作 ∫ f ( x ) d x , \int f(x)\,dx\mathclose{\text{,}} ∫ f ( x ) d x , 是它在某区间上的一般原函数:
∫ f ( x ) d x = F ( x ) + C \int f(x)\,dx = F(x) + C ∫ f ( x ) d x = F ( x ) + C
表示对于每个 x x x 在区间内,F ′ ( x ) = f ( x ) F'(x) = f(x) F ′ ( x ) = f ( x ) 都成立。
将 ∫ f ( x ) d x \int f(x)\,dx ∫ f ( x ) d x 读作 “f(x) 关于 x 的积分”。定积分 ∫ a b f ( x ) d x \int_a^b f(x)\,dx ∫ a b f ( x ) d x 是一个数;不定积分 ∫ f ( x ) d x \int f(x)\,dx ∫ f ( x ) d x 是一个函数族。第2部分将它们联系起来: ∫ a b f ( x ) d x = [ ∫ f ( x ) d x ] a b , \int_a^b f(x)\,dx = \Big[\int f(x)\,dx\Big]_a^b\mathclose{\text{,}} ∫ a b f ( x ) d x = [ ∫ f ( x ) d x ] a b , 使用该族中的任意一个函数。对 积分 f f f 是找出其中任意一种。在此记号下,第10.1节的积分表读作
∫ x n d x = x n + 1 n + 1 + C ( n ≠ − 1 ) , ∫ d x x = ln ∣ x ∣ + C , ∫ cos x d x = sin x + C , \begin{aligned} \int x^n\,dx &= \frac{x^{n+1}}{n + 1} + C \quad (n \ne -1), \\ \int \frac{dx}{x} &= \ln\abs{x} + C, \\ \int \cos x\,dx &= \sin x + C, \end{aligned} ∫ x n d x ∫ x d x ∫ cos x d x = n + 1 x n + 1 + C ( n = − 1 ) , = ln ∣ x ∣ + C , = sin x + C ,
以此类推,带有表中的条件,以及和数乘的规则读作 ∫ ( c f ( x ) + g ( x ) ) d x = c ∫ f ( x ) d x + ∫ g ( x ) d x 。 \int \big(c f(x) + g(x)\big)\,dx = c\int f(x)\,dx + \int g(x)\,dx\mathclose{\text{。}} ∫ ( c f ( x ) + g ( x ) ) d x = c ∫ f ( x ) d x + ∫ g ( x ) d x 。 d x dx d x 表示哪个字母是变量: ∫ x t 2 d x = 1 2 x 2 t 2 + C , \int x t^2\,dx = \tfrac12 x^2 t^2 + C\mathclose{\text{,}} ∫ x t 2 d x = 2 1 x 2 t 2 + C , 而 ∫ x t 2 d t = 1 3 x t 3 + C 。 \int x t^2\,dt = \tfrac13 x t^3 + C\mathclose{\text{。}} ∫ x t 2 d t = 3 1 x t 3 + C 。
注意
不定积分不是一个数,而定积分不是一个函数族。 ∫ 2 x d x = x 2 + C , \int 2x\,dx = x^2 + C\mathclose{\text{,}} ∫ 2 x d x = x 2 + C , 而不是 x 2 x^2 x 2 单独,后者是众多原函数中的一个;而 ∫ 0 1 2 x d x = 1 \int_0^1 2x\,dx = 1 ∫ 0 1 2 x d x = 1 是一个数,其中不含 C C C 和 x 。 x\mathclose{\text{。}} x 。
净变化定理
第2部分还有另一种读法。一个具有连续导数的函数 F F F 是其导数的原函数,因此第2部分中使用 f = F ′ f = F' f = F ′ 给出:
定理 10.5净变化定理
如果 F ′ F' F ′ 在 [ a , b ] [a, b] [ a , b ] 上连续,则
∫ a b F ′ ( x ) d x = F ( b ) − F ( a ) . \int_a^b F'(x)\,dx = F(b) - F(a). ∫ a b F ′ ( x ) d x = F ( b ) − F ( a ) .
用文字表达:积分是一个变化率的净变化 。如果 s ( t ) s(t) s ( t ) 是位置,那么 ∫ a b v ( t ) d t = s ( b ) − s ( a ) \int_a^b v(t)\,dt = s(b) - s(a) ∫ a b v ( t ) d t = s ( b ) − s ( a ) 是 位移(即位置的变化) 。如果 V ( t ) V(t) V ( t ) 是水箱中水的体积,水以速率 r ( t ) = V ′ ( t ) r(t) = V'(t) r ( t ) = V ′ ( t ) 流入,则 ∫ a b r ( t ) d t \int_a^b r(t)\,dt ∫ a b r ( t ) d t 是体积的变化。如果 E ( t ) E(t) E ( t ) 是到时间 t t t 为止所用的能量,其变化率是 功率 P ( t ) = E ′ ( t ) , P(t) = E'(t)\mathclose{\text{,}} P ( t ) = E ′ ( t ) , 而 ∫ a b P ( t ) d t \int_a^b P(t)\,dt ∫ a b P ( t ) d t 是在 a a a 和 b b b 之间所用的能量。单位相乘:升每分钟乘以分钟得到升;瓦特(即焦耳每秒)乘以秒得到焦耳。
例 10.7位移与距离 ✓ 已检验
模块 4 的 例 4.10 跟随一个速度为 v ( t ) = 3 t 2 − 12 t + 9 v(t) = 3t^2 - 12t + 9 v ( t ) = 3 t 2 − 12 t + 9 米每秒的粒子。不使用其位置函数,求(a)其位移和(b)它在 0 ≤ t ≤ 4 0 \le t \le 4 0 ≤ t ≤ 4 内所行的路程。
(a) 根据净变化定理,位移是
∫ 0 4 ( 3 t 2 − 12 t + 9 ) d t = [ t 3 − 6 t 2 + 9 t ] 0 4 = 64 − 96 + 36 = 4 m . \begin{aligned} &\int_0^4 (3t^2 - 12t + 9)\,dt \\ &\quad= \big[t^3 - 6t^2 + 9t\big]_0^4 \\ &\quad= 64 - 96 + 36 = 4 \text{ m}. \end{aligned} ∫ 0 4 ( 3 t 2 − 12 t + 9 ) d t = [ t 3 − 6 t 2 + 9 t ] 0 4 = 64 − 96 + 36 = 4 m .
(b) 距离计算所有前进或后退的路程,因此是速度 ∣ v ( t ) ∣ \abs{v(t)} ∣ v ( t ) ∣ 的积分。因子:v ( t ) = 3 ( t − 1 ) ( t − 3 ) , v(t) = 3(t - 1)(t - 3)\mathclose{\text{,}} v ( t ) = 3 ( t − 1 ) ( t − 3 ) , 对于 0 ≤ t < 1 0 \le t < 1 0 ≤ t < 1 为正,对于 1 < t < 3 1 < t < 3 1 < t < 3 为负,对于 3 < t ≤ 4 3 < t \le 4 3 < t ≤ 4 为正。在每个区间 ∣ v ∣ \abs{v} ∣ v ∣ 是 v v v 或 − v , -v\mathclose{\text{,}} − v , 因此分段积分,使用 F ( t ) = t 3 − 6 t 2 + 9 t : F(t) = t^3 - 6t^2 + 9t\mathclose{\text{:}} F ( t ) = t 3 − 6 t 2 + 9 t :
∫ 0 1 v d t = F ( 1 ) − F ( 0 ) = 4 , ∫ 1 3 v d t = F ( 3 ) − F ( 1 ) = 0 − 4 = − 4 , ∫ 3 4 v d t = F ( 4 ) − F ( 3 ) = 4 − 0 = 4. \begin{aligned} \int_0^1 v\,dt &= F(1) - F(0) = 4, \\ \int_1^3 v\,dt &= F(3) - F(1) = 0 - 4 = -4, \\ \int_3^4 v\,dt &= F(4) - F(3) = 4 - 0 = 4. \end{aligned} ∫ 0 1 v d t ∫ 1 3 v d t ∫ 3 4 v d t = F ( 1 ) − F ( 0 ) = 4 , = F ( 3 ) − F ( 1 ) = 0 − 4 = − 4 , = F ( 4 ) − F ( 3 ) = 4 − 0 = 4.
距离是 4 + 4 + 4 = 12 4 + 4 + 4 = 12 4 + 4 + 4 = 12 米:粒子前进 4 米,后退 4 米,再前进 4 米,最终距离起点 4 米,如 模块 4 从 s ( t ) s(t) s ( t ) 所得。图 10.4 显示两个积分作为面积。
图 10.4 例 10.7 中粒子的位移和距离。左:速度 v ( t ) = 3 t 2 − 12 t + 9 ; v(t) = 3t^2 - 12t + 9\mathclose{\text{;}} v ( t ) = 3 t 2 − 12 t + 9 ; 带符号的面积 4 、 4\mathclose{\text{、}} 4 、 − 4 -4 − 4 和 4 4 4 相加得到位移 4 米。右:速度 ∣ v ( t ) ∣ ; \abs{v(t)}\mathclose{\text{;}} ∣ v ( t ) ∣ ; 所有面积均为正,相加得到路程 12 米。
例 10.8水箱中的水 ✓ 已检验
假设一个水箱在时间 t = 0 t = 0 t = 0 时含有 500 升水,水流以 r ( t ) = 40 − 4 t r(t) = 40 - 4t r ( t ) = 40 − 4 t 升每分钟的速度流入,持续 0 ≤ t ≤ 15 , 0 \le t \le 15\mathclose{\text{,}} 0 ≤ t ≤ 15 , 其中负的速率表示水流出。15 分钟后水箱中有多少水?什么时候水箱最满?此时水箱中有多少水?
15 分钟内体积的变化为
∫ 0 15 ( 40 − 4 t ) d t = [ 40 t − 2 t 2 ] 0 15 = 600 − 450 = 150 litres , \begin{aligned} \int_0^{15} (40 - 4t)\,dt &= \big[40t - 2t^2\big]_0^{15} \\ &= 600 - 450 = 150 \text{ litres}, \end{aligned} ∫ 0 15 ( 40 − 4 t ) d t = [ 40 t − 2 t 2 ] 0 15 = 600 − 450 = 150 litres ,
因此,水箱在 t = 15 t = 15 t = 15 时含有 500 + 150 = 650 500 + 150 = 650 500 + 150 = 650 升水。当 r ( t ) > 0 r(t) > 0 r ( t ) > 0 时体积增加,当 r ( t ) < 0 r(t) < 0 r ( t ) < 0 时体积减少;在 r ( t ) = 0 r(t) = 0 r ( t ) = 0 时达到 t = 10 , t = 10\mathclose{\text{,}} t = 10 , 因此水箱在 t = 10 t = 10 t = 10 分钟时最满,此时含有 500 + [ 40 t − 2 t 2 ] 0 10 = 500 + 400 − 200 = 700 500 + \big[40t - 2t^2\big]_0^{10} = 500 + 400 - 200 = 700 500 + [ 40 t − 2 t 2 ] 0 10 = 500 + 400 − 200 = 700 升水。从 t = 10 t = 10 t = 10 到 t = 15 t = 15 t = 15 期间损失了 50 升水。
例 10.9功率的能量 ✓ 已检验
假设一个 GPU 在一分钟任务期间的功率消耗为 P ( t ) = 250 + 150 sin π t 60 P(t) = 250 + 150\sin\dfrac{\pi t}{60} P ( t ) = 250 + 150 sin 60 π t 瓦特,持续 0 ≤ t ≤ 60 0 \le t \le 60 0 ≤ t ≤ 60 秒。它使用了多少能量(以焦耳和千瓦时为单位,1 kWh 是 3.6 × 10 6 3.6 \times 10^6 3.6 × 1 0 6 J)?这分钟内的平均功率是多少?
能量是功率的积分。在表格中 k = π / 60 k = \pi/60 k = π /60 为已知, sin π t 60 \sin\dfrac{\pi t}{60} sin 60 π t 的一个原函数是 − 60 π cos π t 60 , -\dfrac{60}{\pi}\cos\dfrac{\pi t}{60}\mathclose{\text{,}} − π 60 cos 60 π t , 因此
E = ∫ 0 60 P ( t ) d t = [ 250 t − 9000 π cos π t 60 ] 0 60 = 15000 − 9000 π ( cos π − cos 0 ) = 15000 + 18000 π ≈ 20729.6 J . \begin{aligned} E &= \int_0^{60} P(t)\,dt \\ &= \Big[250t - \frac{9000}{\pi}\cos\frac{\pi t}{60}\Big]_0^{60} \\ &= 15000 - \frac{9000}{\pi}(\cos\pi - \cos 0) \\ &= 15000 + \frac{18000}{\pi} \approx 20729.6 \text{ J}. \end{aligned} E = ∫ 0 60 P ( t ) d t = [ 250 t − π 9000 cos 60 π t ] 0 60 = 15000 − π 9000 ( cos π − cos 0 ) = 15000 + π 18000 ≈ 20729.6 J .
那大约是 20.7 kJ,或 20729.6 / ( 3.6 × 10 6 ) ≈ 0.00576 20729.6/(3.6 \times 10^6) \approx 0.00576 20729.6/ ( 3.6 × 1 0 6 ) ≈ 0.00576 kWh。平均功率是 P P P (模块 9)在最低功率 250 W 和最高功率 400 W 之间的平均值,即 E / 60 ≈ 345.5 E/60 \approx 345.5 E /60 ≈ 345.5 W。
注意
位移不是距离。 ∫ a b v ( t ) d t \int_a^b v(t)\,dt ∫ a b v ( t ) d t 将正反方向的运动用相反符号相加,因此位移可以很小,甚至为 0,而物体却可能运动很远。对于距离,积分速度 ∣ v ( t ) ∣ : \abs{v(t)}\mathclose{\text{:}} ∣ v ( t ) ∣ : 找到 v v v 变号的位置,将区间分割,然后相加各段的长度。并保持单位:速率的积分单位是速率单位乘以时间单位。
第 10.1 节的积分表处理基本函数的和。它不能处理 ∫ 2 x cos ( x 2 ) d x : \int 2x\cos(x^2)\,dx\mathclose{\text{:}} ∫ 2 x cos ( x 2 ) d x : 积分函数是乘积,且不是表中任何函数的乘积。但你以前见过,作为导数。根据链式法则,
d d x sin ( x 2 ) = cos ( x 2 ) ⋅ 2 x , \frac{d}{dx}\sin(x^2) = \cos(x^2)\cdot 2x, d x d sin ( x 2 ) = cos ( x 2 ) ⋅ 2 x ,
so ∫ 2 x cos ( x 2 ) d x = sin ( x 2 ) + C . \int 2x\cos(x^2)\,dx = \sin(x^2) + C\mathclose{\text{.}} ∫ 2 x cos ( x 2 ) d x = sin ( x 2 ) + C . 被积函数具有形状 f ( g ( x ) ) g ′ ( x ) : f\big(g(x)\big)\,g'(x)\mathclose{\text{:}} f ( g ( x ) ) g ′ ( x ) : 一个外层函数 f f f 在一个内层函数 g ( x ) g(x) g ( x ) 处的值,乘以内层函数的导数。每当 F ′ = f , F' = f\mathclose{\text{,}} F ′ = f , 链式法则说明这样的被积函数是 F ( g ( x ) ) F\big(g(x)\big) F ( g ( x ) ) 的导数。
莱布尼茨记号使这种模式变得机械。命名内层函数为 u = g ( x ) 。 u = g(x)\mathclose{\text{。}} u = g ( x ) 。 其微分,定义在 第7.2节 ] 中,是 d u = g ′ ( x ) d x 。 du = g'(x)\,dx\mathclose{\text{。}} d u = g ′ ( x ) d x 。 将 g ( x ) g(x) g ( x ) 替换为 u , u\mathclose{\text{,}} u , 将 g ′ ( x ) d x g'(x)\,dx g ′ ( x ) d x 替换为 d u : du\mathclose{\text{:}} d u :
∫ cos ( x 2 ) ⋅ 2 x d x = ∫ cos u d u = sin u + C = sin ( x 2 ) + C . \begin{aligned} \int \cos(x^2)\cdot 2x\,dx &= \int \cos u\,du \\ &= \sin u + C = \sin(x^2) + C. \end{aligned} ∫ cos ( x 2 ) ⋅ 2 x d x = ∫ cos u d u = sin u + C = sin ( x 2 ) + C .
定理 10.6替换法则
设 g g g 在区间 I I I 上可导,且设 F F F 是 f f f 在包含 g g g 所有值的开区间上的原函数。那么
∫ f ( g ( x ) ) g ′ ( x ) d x = F ( g ( x ) ) + C \int f\big(g(x)\big)\,g'(x)\,dx = F\big(g(x)\big) + C ∫ f ( g ( x ) ) g ′ ( x ) d x = F ( g ( x ) ) + C
在 I I I 上。结合 u = g ( x ) u = g(x) u = g ( x ) 和 d u = g ′ ( x ) d x , du = g'(x)\,dx\mathclose{\text{,}} d u = g ′ ( x ) d x , 这表示 ∫ f ( g ( x ) ) g ′ ( x ) d x = ∫ f ( u ) d u , \int f\big(g(x)\big)\,g'(x)\,dx = \int f(u)\,du\mathclose{\text{,}} ∫ f ( g ( x ) ) g ′ ( x ) d x = ∫ f ( u ) d u , 并将 u = g ( x ) u = g(x) u = g ( x ) 放回最后。
证明
根据链式法则,对于 x x x 中的每一个 I , I\mathclose{\text{,}} I , 都有 d d x F ( g ( x ) ) = F ′ ( g ( x ) ) g ′ ( x ) = f ( g ( x ) ) g ′ ( x ) 。 \dfrac{d}{dx}F\big(g(x)\big) = F'\big(g(x)\big)\,g'(x) = f\big(g(x)\big)\,g'(x)\mathclose{\text{。}} d x d F ( g ( x ) ) = F ′ ( g ( x ) ) g ′ ( x ) = f ( g ( x ) ) g ′ ( x ) 。 因此, F ( g ( x ) ) F\big(g(x)\big) F ( g ( x ) ) 是 f ( g ( x ) ) g ′ ( x ) f\big(g(x)\big)\,g'(x) f ( g ( x ) ) g ′ ( x ) 在 I I I 上的原函数,定理10.1给出了所有其他的原函数。
∎
要点
用替换法积分:
选择 u = g ( x ) , u = g(x)\mathclose{\text{,}} u = g ( x ) , 一个内层函数,其导数作为被积函数的因子出现,可能相差一个常数因子。
计算 d u = g ′ ( x ) d x , du = g'(x)\,dx\mathclose{\text{,}} d u = g ′ ( x ) d x , 并求解其替换的积分部分(例如 x d x = 1 2 d u )。 x\,dx = \tfrac12\,du\mathclose{\text{)。}} x d x = 2 1 d u )。
将 整个积分重写为u u u 的形式;x x x 不得残留,即使在d x dx d x 中也不得残留。
对 在u u u 中积分,然后将u = g ( x ) u = g(x) u = g ( x ) 代回。
通过求导验证 。
例 10.10四种替换方法 ✓ 已检验
求:
(a) ∫ 2 x ( x 2 + 1 ) 3 d x \displaystyle\int 2x(x^2 + 1)^3\,dx ∫ 2 x ( x 2 + 1 ) 3 d x
(b) ∫ x 2 x 3 + 1 d x , \displaystyle\int x^2\sqrt{x^3 + 1}\,dx\mathclose{\text{,}} ∫ x 2 x 3 + 1 d x , 对于 x > − 1 x > -1 x > − 1
(c) ∫ e x 1 + e x d x \displaystyle\int \frac{e^x}{1 + e^x}\,dx ∫ 1 + e x e x d x
(d) ∫ ln x x d x , \displaystyle\int \frac{\ln x}{x}\,dx\mathclose{\text{,}} ∫ x ln x d x , 对于 x > 0 x > 0 x > 0
(a) 令 u = x 2 + 1 ; u = x^2 + 1\mathclose{\text{;}} u = x 2 + 1 ; 则 d u = 2 x d x , du = 2x\,dx\mathclose{\text{,}} d u = 2 x d x , 正好剩下以下因子:
∫ u 3 d u = u 4 4 + C = ( x 2 + 1 ) 4 4 + C . \int u^3\,du = \frac{u^4}{4} + C = \frac{(x^2 + 1)^4}{4} + C. ∫ u 3 d u = 4 u 4 + C = 4 ( x 2 + 1 ) 4 + C .
(b) 令 u = x 3 + 1 , u = x^3 + 1\mathclose{\text{,}} u = x 3 + 1 , 则 d u = 3 x 2 d x du = 3x^2\,dx d u = 3 x 2 d x 且 x 2 d x = 1 3 d u 。 x^2\,dx = \tfrac13\,du\mathclose{\text{。}} x 2 d x = 3 1 d u 。 对于 x > − 1 , x > -1\mathclose{\text{,}} x > − 1 , u > 0 , u > 0\mathclose{\text{,}} u > 0 , 以及
∫ u ⋅ 1 3 d u = 1 3 ⋅ 2 3 u 3 / 2 + C = 2 9 ( x 3 + 1 ) 3 / 2 + C . \begin{aligned} \int \sqrt u\cdot\tfrac13\,du &= \frac13\cdot\frac23 u^{3/2} + C \\ &= \frac29 (x^3 + 1)^{3/2} + C. \end{aligned} ∫ u ⋅ 3 1 d u = 3 1 ⋅ 3 2 u 3/2 + C = 9 2 ( x 3 + 1 ) 3/2 + C .
检查:d d x 2 9 ( x 3 + 1 ) 3 / 2 = 2 9 ⋅ 3 2 ( x 3 + 1 ) 1 / 2 ⋅ 3 x 2 = x 2 x 3 + 1 。 \dfrac{d}{dx}\,\dfrac29(x^3 + 1)^{3/2} = \dfrac29\cdot\dfrac32(x^3 + 1)^{1/2}\cdot 3x^2 = x^2\sqrt{x^3 + 1}\mathclose{\text{。}} d x d 9 2 ( x 3 + 1 ) 3/2 = 9 2 ⋅ 2 3 ( x 3 + 1 ) 1/2 ⋅ 3 x 2 = x 2 x 3 + 1 。
(c) 令 u = 1 + e x , u = 1 + e^x\mathclose{\text{,}} u = 1 + e x , 则 d u = e x d x : du = e^x\,dx\mathclose{\text{:}} d u = e x d x :
∫ d u u = ln ∣ u ∣ + C = ln ( 1 + e x ) + C , \int \frac{du}{u} = \ln\abs{u} + C = \ln(1 + e^x) + C, ∫ u d u = ln ∣ u ∣ + C = ln ( 1 + e x ) + C ,
不使用绝对值符号,因为 1 + e x > 0 。 1 + e^x > 0\mathclose{\text{。}} 1 + e x > 0 。
(d) 设u = ln x , u = \ln x\mathclose{\text{,}} u = ln x , 则d u = d x x : du = \dfrac{dx}{x}\mathclose{\text{:}} d u = x d x :
∫ u d u = u 2 2 + C = ( ln x ) 2 2 + C . \int u\,du = \frac{u^2}{2} + C = \frac{(\ln x)^2}{2} + C. ∫ u d u = 2 u 2 + C = 2 ( ln x ) 2 + C .
下面三个需要再看一遍:第一个中内函数的导数隐藏在一个分数中,第二个需要安排一个常数,第三个则剩下一些 x 。 x\mathclose{\text{。}} x 。
例 10.11需要再看一遍的替换方法 ✓ 已检验
求:
(a) ∫ tan x d x \displaystyle\int \tan x\,dx ∫ tan x d x
(b) ∫ d x a 2 + x 2 , \displaystyle\int \frac{dx}{a^2 + x^2}\mathclose{\text{,}} ∫ a 2 + x 2 d x , 其中 a ≠ 0 a \ne 0 a = 0 是一个常数
(c) ∫ x x − 1 d x , \displaystyle\int x\sqrt{x - 1}\,dx\mathclose{\text{,}} ∫ x x − 1 d x , 用于 x > 1 x > 1 x > 1
(a) 写 tan x = sin x cos x \tan x = \dfrac{\sin x}{\cos x} tan x = cos x sin x 并令 u = cos x , u = \cos x\mathclose{\text{,}} u = cos x , 所以 d u = − sin x d x : du = -\sin x\,dx\mathclose{\text{:}} d u = − sin x d x :
∫ sin x cos x d x = − ∫ d u u = − ln ∣ u ∣ + C = − ln ∣ cos x ∣ + C , \begin{aligned} \int \frac{\sin x}{\cos x}\,dx &= -\int \frac{du}{u} = -\ln\abs{u} + C \\ &= -\ln\abs{\cos x} + C, \end{aligned} ∫ cos x sin x d x = − ∫ u d u = − ln ∣ u ∣ + C = − ln ∣ cos x ∣ + C ,
在每个 cos x ≠ 0 \cos x \ne 0 cos x = 0 有效的区间内。由于 − ln ∣ cos x ∣ = ln 1 ∣ cos x ∣ , -\ln\abs{\cos x} = \ln\dfrac{1}{\abs{\cos x}}\mathclose{\text{,}} − ln ∣ cos x ∣ = ln ∣ cos x ∣ 1 , 答案也可以写成 ln ∣ sec x ∣ + C 。 \ln\abs{\sec x} + C\mathclose{\text{。}} ln ∣ sec x ∣ + C 。
(b) 将 a 2 a^2 a 2 从分母中提出,令 a 2 + x 2 = a 2 ( 1 + ( x / a ) 2 ) , a^2 + x^2 = a^2\big(1 + (x/a)^2\big)\mathclose{\text{,}} a 2 + x 2 = a 2 ( 1 + ( x / a ) 2 ) , 并令 u = x / a , u = x/a\mathclose{\text{,}} u = x / a , 所以 d u = d x / a du = dx/a d u = d x / a 和 d x = a d u : dx = a\,du\mathclose{\text{:}} d x = a d u :
∫ d x a 2 + x 2 = ∫ a d u a 2 ( 1 + u 2 ) = 1 a arctan u + C = 1 a arctan x a + C . \begin{aligned} \int \frac{dx}{a^2 + x^2} &= \int \frac{a\,du}{a^2(1 + u^2)} \\ &= \frac1a \arctan u + C \\ &= \frac1a\arctan\frac{x}{a} + C. \end{aligned} ∫ a 2 + x 2 d x = ∫ a 2 ( 1 + u 2 ) a d u = a 1 arctan u + C = a 1 arctan a x + C .
同样地,对于常数 a > 0 , a > 0\mathclose{\text{,}} a > 0 , 有 ∫ d x a 2 − x 2 = arcsin x a + C \displaystyle\int \frac{dx}{\sqrt{a^2 - x^2}} = \arcsin\frac{x}{a} + C ∫ a 2 − x 2 d x = arcsin a x + C 对于 − a < x < a ; -a < x < a\mathclose{\text{;}} − a < x < a ; 练习 10.6 处理了 a = 3 a = 3 a = 3 的情况。
(c) 令 u = x − 1 , u = x - 1\mathclose{\text{,}} u = x − 1 , 所以 d u = d x 。 du = dx\mathclose{\text{。}} d u = d x 。 剩下的因子 x x x 可以用 u u u 表示为 x = u + 1 。 x = u + 1\mathclose{\text{。}} x = u + 1 。 然后
∫ ( u + 1 ) u d u = ∫ ( u 3 / 2 + u 1 / 2 ) d u = 2 5 u 5 / 2 + 2 3 u 3 / 2 + C = 2 5 ( x − 1 ) 5 / 2 + 2 3 ( x − 1 ) 3 / 2 + C . \begin{aligned} \int (u + 1)\sqrt u\,du &= \int \big(u^{3/2} + u^{1/2}\big)\,du \\ &= \frac25 u^{5/2} + \frac23 u^{3/2} + C \\ &= \frac25 (x - 1)^{5/2} \\ &\qquad + \frac23 (x - 1)^{3/2} + C. \end{aligned} ∫ ( u + 1 ) u d u = ∫ ( u 3/2 + u 1/2 ) d u = 5 2 u 5/2 + 3 2 u 3/2 + C = 5 2 ( x − 1 ) 5/2 + 3 2 ( x − 1 ) 3/2 + C .
注意
三张替换卡片。 (1) 忘记 d u : du\mathclose{\text{:}} d u : 将 cos ( x 2 ) ⋅ 2 x d x \cos(x^2)\cdot 2x\,dx cos ( x 2 ) ⋅ 2 x d x 替换为 “cos u d x \cos u\,dx cos u d x ” 会在 u u u 中的积分中留下一个 d x , dx\mathclose{\text{,}} d x , 这是无意义的; 2 x d x 2x\,dx 2 x d x 变为 d u 。 du\mathclose{\text{。}} d u 。 (2) 将剩余变量当作常数处理。对于 u = x 2 , u = x^2\mathclose{\text{,}} u = x 2 , ∫ cos ( x 2 ) d x \int \cos(x^2)\,dx ∫ cos ( x 2 ) d x 没有与 d x dx d x 相乘的因子 x , x\mathclose{\text{,}} x , 并且在积分内部将 2 x 2x 2 x 当作常数进行除法运算,导致错误答案 sin ( x 2 ) 2 x 。 \dfrac{\sin(x^2)}{2x}\mathclose{\text{。}} 2 x sin ( x 2 ) 。 常数因子可以穿过积分号,变量则不能。(事实上,由 模块 1 的函数目录中构建的任何公式,其导数都不等于 cos ( x 2 ) 。) \cos(x^2)\mathclose{\text{。)}} cos ( x 2 ) 。) (3) 在 u u u 中留下答案,或忘记检查答案。
定积分
对于定积分,使用替换有两种方式。一种是在 x x x 中找到原函数,如上所述,并使用原始上下限应用第 2 部分。另一种是将变量和上下限一起改变,从不返回到 x 。 x\mathclose{\text{。}} x 。 图 10.5 展示了第二种方法的作用:它改变了区域,但不改变其面积。
定理 10.7替换在定积分中的应用
设 g ′ g' g ′ 在 [ a , b ] [a, b] [ a , b ] 上连续,且设 f f f 在包含 g ( x ) g(x) g ( x ) 的区间 J J J 上连续,对于每一个 x x x 在 [ a , b ] [a, b] [ a , b ] 中。那么
∫ a b f ( g ( x ) ) g ′ ( x ) d x = ∫ g ( a ) g ( b ) f ( u ) d u . \int_a^b f\big(g(x)\big)\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(u)\,du. ∫ a b f ( g ( x ) ) g ′ ( x ) d x = ∫ g ( a ) g ( b ) f ( u ) d u .
证明
如果 J J J 包含某个端点,则用 f f f 在该端点的值把它常值延拓到端点之外。延拓后的函数在包含 J J J 的开区间上连续,并在 J J J 上与 f f f 一致,故公式两边都不变。于是可假设 J J J 为开区间。由第一部分,f f f 在 J J J 上有原函数 F 。 F\mathclose{\text{。}} F 。 由定理 10.6,F ( g ( x ) ) F\big(g(x)\big) F ( g ( x ) ) 是 f ( g ( x ) ) g ′ ( x ) f\big(g(x)\big)\,g'(x) f ( g ( x ) ) g ′ ( x ) 的原函数,后者在 [ a , b ] [a, b] [ a , b ] 上连续。因此由第二部分,左边等于 F ( g ( b ) ) − F ( g ( a ) ) 。 F\big(g(b)\big) - F\big(g(a)\big)\mathclose{\text{。}} F ( g ( b ) ) − F ( g ( a ) ) 。 在 g ( a ) g(a) g ( a ) 与 g ( b ) g(b) g ( b ) 之间的区间上再次应用第二部分,该区间位于 J J J 内,得到右边也等于 F ( g ( b ) ) − F ( g ( a ) ) 。 F\big(g(b)\big) - F\big(g(a)\big)\mathclose{\text{。}} F ( g ( b ) ) − F ( g ( a ) ) 。 (当 g ( b ) < g ( a ) g(b) < g(a) g ( b ) < g ( a ) 时使用约定 ∫ p q = − ∫ q p ; \int_p^q = -\int_q^p\mathclose{\text{;}} ∫ p q = − ∫ q p ; 当 g ( a ) = g ( b ) g(a) = g(b) g ( a ) = g ( b ) 时两边均为 0。)
∎
例 10.12改变积分限 ✓ 已检验
评价 (a) ∫ 0 π 2 x sin ( x 2 ) d x , \displaystyle\int_0^{\sqrt\pi} 2x\sin(x^2)\,dx\mathclose{\text{,}} ∫ 0 π 2 x sin ( x 2 ) d x , (b) ∫ 0 1 x 1 + x 2 d x \displaystyle\int_0^1 \frac{x}{1 + x^2}\,dx ∫ 0 1 1 + x 2 x d x 和 (c) ∫ 0 π / 2 sin x cos 2 x d x 。 \displaystyle\int_0^{\pi/2} \sin x\cos^2 x\,dx\mathclose{\text{。}} ∫ 0 π /2 sin x cos 2 x d x 。
(a) 设 u = x 2 , u = x^2\mathclose{\text{,}} u = x 2 , 所以 d u = 2 x d x 。 du = 2x\,dx\mathclose{\text{。}} d u = 2 x d x 。 当 x = 0 , x = 0\mathclose{\text{,}} x = 0 , 得 u = 0 ; u = 0\mathclose{\text{;}} u = 0 ; 当 x = π , x = \sqrt\pi\mathclose{\text{,}} x = π , 得 u = π 。 u = \pi\mathclose{\text{。}} u = π 。 所以
∫ 0 π 2 x sin ( x 2 ) d x = ∫ 0 π sin u d u = [ − cos u ] 0 π = 2 , \begin{aligned} \int_0^{\sqrt\pi} 2x\sin(x^2)\,dx &= \int_0^\pi \sin u\,du \\ &= \big[-\cos u\big]_0^\pi = 2, \end{aligned} ∫ 0 π 2 x sin ( x 2 ) d x = ∫ 0 π sin u d u = [ − cos u ] 0 π = 2 ,
一个正弦曲线拱形的面积(例 10.6(b))。
(b) 设 u = 1 + x 2 , u = 1 + x^2\mathclose{\text{,}} u = 1 + x 2 , 所以 d u = 2 x d x du = 2x\,dx d u = 2 x d x 和 x d x = 1 2 d u ; x\,dx = \tfrac12\,du\mathclose{\text{;}} x d x = 2 1 d u ; x = 0 x = 0 x = 0 给出 u = 1 , u = 1\mathclose{\text{,}} u = 1 , x = 1 x = 1 x = 1 给出 u = 2 : u = 2\mathclose{\text{:}} u = 2 :
∫ 0 1 x d x 1 + x 2 = 1 2 ∫ 1 2 d u u = 1 2 [ ln u ] 1 2 = ln 2 2 ≈ 0.3466. \begin{aligned} \int_0^1 \frac{x\,dx}{1 + x^2} &= \frac12\int_1^2 \frac{du}{u} = \frac12\big[\ln u\big]_1^2 \\ &= \frac{\ln 2}{2} \approx 0.3466. \end{aligned} ∫ 0 1 1 + x 2 x d x = 2 1 ∫ 1 2 u d u = 2 1 [ ln u ] 1 2 = 2 ln 2 ≈ 0.3466.
另一种方式:在 x x x 中的一个原函数是 1 2 ln ( 1 + x 2 ) , \tfrac12\ln(1 + x^2)\mathclose{\text{,}} 2 1 ln ( 1 + x 2 ) , 且 [ 1 2 ln ( 1 + x 2 ) ] 0 1 = 1 2 ln 2 − 1 2 ln 1 , \big[\tfrac12\ln(1 + x^2)\big]_0^1 = \tfrac12\ln 2 - \tfrac12\ln 1\mathclose{\text{,}} [ 2 1 ln ( 1 + x 2 ) ] 0 1 = 2 1 ln 2 − 2 1 ln 1 , 相同。
(c) 设 u = cos x , u = \cos x\mathclose{\text{,}} u = cos x , 所以 d u = − sin x d x ; du = -\sin x\,dx\mathclose{\text{;}} d u = − sin x d x ; x = 0 x = 0 x = 0 给出 u = 1 , u = 1\mathclose{\text{,}} u = 1 , x = π / 2 x = \pi/2 x = π /2 给出 u = 0 : u = 0\mathclose{\text{:}} u = 0 :
∫ 0 π / 2 cos 2 x sin x d x = ∫ 1 0 u 2 ( − d u ) = ∫ 0 1 u 2 d u = 1 3 . \begin{aligned} \int_0^{\pi/2} \cos^2 x\,\sin x\,dx &= \int_1^0 u^2\,(-du) \\ &= \int_0^1 u^2\,du = \frac13. \end{aligned} ∫ 0 π /2 cos 2 x sin x d x = ∫ 1 0 u 2 ( − d u ) = ∫ 0 1 u 2 d u = 3 1 .
新的积分限以相反的顺序出现,且来自 d u du d u 的负号使它们反转。保持替换后的位置:积分符号下方应为 u u u 在下限 x x x 处的值,即使它是较大的数。
图 10.5 替换变量会改变区域但不会改变其面积。左图:从 x = 0 x = 0 x = 0 到 π \sqrt\pi π 下方的 y = 2 x sin ( x 2 ) y = 2x\sin(x^2) y = 2 x sin ( x 2 ) 区域,高而窄。右图:从 u = 0 u = 0 u = 0 到 π \pi π 下方的 y = sin u y = \sin u y = sin u 区域,低而宽。根据 u = x 2 , u = x^2\mathclose{\text{,}} u = x 2 , 定理 10.7 说明这两个面积相等,例题 10.12(a) 计算出两者均为 2。两个图使用相同的刻度。
注意
定积分中最常见的错误:改变变量但不改变积分限。对于 u = x 2 + 1 , u = x^2 + 1\mathclose{\text{,}} u = x 2 + 1 ,
∫ 0 2 x ( x 2 + 1 ) 2 d x = 1 2 ∫ 1 5 u 2 d u = 1 2 ⋅ 125 − 1 3 = 62 3 . \begin{aligned} \int_0^2 x(x^2 + 1)^2\,dx &= \frac12\int_1^5 u^2\,du \\ &= \frac12\cdot\frac{125 - 1}{3} = \frac{62}{3}. \end{aligned} ∫ 0 2 x ( x 2 + 1 ) 2 d x = 2 1 ∫ 1 5 u 2 d u = 2 1 ⋅ 3 125 − 1 = 3 62 .
保持原极限得到 1 2 ∫ 0 2 u 2 d u = 4 3 , \tfrac12\int_0^2 u^2\,du = \tfrac43\mathclose{\text{,}} 2 1 ∫ 0 2 u 2 d u = 3 4 , 这是错误的;使用 u u u 的原函数 1 6 u 3 \tfrac16 u^3 6 1 u 3 并取 x x x 的极限 0 和 2 也是错误的。若省略因子 1 2 , \tfrac12\mathclose{\text{,}} 2 1 , 则得到 124 3 。 \tfrac{124}{3}\mathclose{\text{。}} 3 124 。 要么改变极限,要么在使用旧极限前返回到 x 。 x\mathclose{\text{。}} x 。
奇函数与偶函数
模块9利用对称性求区间[ − a , a ] [-a, a] [ − a , a ] 上的积分:对于偶函数,y y y 轴左侧的面积是其右侧面积的镜像,而对于奇函数,两者相互抵消。它通过黎曼和证明了这一点(第9.6节 ]);对于连续函数,换元法给出了一个两行的证明。
定理 10.8偶函数与奇函数的积分
设 f f f 在 [ − a , a ] [-a, a] [ − a , a ] 上连续,其中 a > 0 . a > 0\mathclose{\text{.}} a > 0 .
如果 f f f 是偶函数,则 ∫ − a a f ( x ) d x = 2 ∫ 0 a f ( x ) d x . \displaystyle\int_{-a}^a f(x)\,dx = 2\int_0^a f(x)\,dx\mathclose{\text{.}} ∫ − a a f ( x ) d x = 2 ∫ 0 a f ( x ) d x .
如果 f f f 是奇函数,则 ∫ − a a f ( x ) d x = 0 . \displaystyle\int_{-a}^a f(x)\,dx = 0\mathclose{\text{.}} ∫ − a a f ( x ) d x = 0 .
证明
在 0 处分割:∫ − a a f ( x ) d x = ∫ − a 0 f ( x ) d x + ∫ 0 a f ( x ) d x . \int_{-a}^a f(x)\,dx = \int_{-a}^0 f(x)\,dx + \int_0^a f(x)\,dx\mathclose{\text{.}} ∫ − a a f ( x ) d x = ∫ − a 0 f ( x ) d x + ∫ 0 a f ( x ) d x . 在第一个积分中替换 u = − x , u = -x\mathclose{\text{,}} u = − x , 所以 d u = − d x ; du = -dx\mathclose{\text{;}} d u = − d x ; x = − a x = -a x = − a 给出 u = a u = a u = a 和 x = 0 x = 0 x = 0 给出 u = 0 . u = 0\mathclose{\text{.}} u = 0 . 根据定理 10.7,
∫ − a 0 f ( x ) d x = ∫ a 0 f ( − u ) ( − d u ) = ∫ 0 a f ( − u ) d u . \begin{aligned} \int_{-a}^0 f(x)\,dx &= \int_a^0 f(-u)\,(-du) \\ &= \int_0^a f(-u)\,du. \end{aligned} ∫ − a 0 f ( x ) d x = ∫ a 0 f ( − u ) ( − d u ) = ∫ 0 a f ( − u ) d u .
如果 f f f 是偶函数,则 f ( − u ) = f ( u ) , f(-u) = f(u)\mathclose{\text{,}} f ( − u ) = f ( u ) , 因此这个是 ∫ 0 a f ( u ) d u , \int_0^a f(u)\,du\mathclose{\text{,}} ∫ 0 a f ( u ) d u , 总和为 2 ∫ 0 a f ( x ) d x . 2\int_0^a f(x)\,dx\mathclose{\text{.}} 2 ∫ 0 a f ( x ) d x . 如果 f f f 是奇函数,则 f ( − u ) = − f ( u ) , f(-u) = -f(u)\mathclose{\text{,}} f ( − u ) = − f ( u ) , 因此它为 − ∫ 0 a f ( u ) d u , -\int_0^a f(u)\,du\mathclose{\text{,}} − ∫ 0 a f ( u ) d u , 总和为 0.
∎
例 10.13对称性节省工作 ✓ 已检验
评价 (a) ∫ − 1 1 ( x 6 + 4 x 3 − x + 1 ) d x , \displaystyle\int_{-1}^1 (x^6 + 4x^3 - x + 1)\,dx\mathclose{\text{,}} ∫ − 1 1 ( x 6 + 4 x 3 − x + 1 ) d x , (b) ∫ − π / 2 π / 2 ( x 3 + 1 ) cos x d x \displaystyle\int_{-\pi/2}^{\pi/2} (x^3 + 1)\cos x\,dx ∫ − π /2 π /2 ( x 3 + 1 ) cos x d x 和 (c) ∫ − 1 1 tan x 1 + x 2 d x 。 \displaystyle\int_{-1}^1 \frac{\tan x}{1 + x^2}\,dx\mathclose{\text{。}} ∫ − 1 1 1 + x 2 tan x d x 。
(a) x 6 + 1 x^6 + 1 x 6 + 1 是偶函数,而 4 x 3 − x 4x^3 - x 4 x 3 − x 是奇函数,因此
∫ − 1 1 ( x 6 + 4 x 3 − x + 1 ) d x = 2 ∫ 0 1 ( x 6 + 1 ) d x + 0 = 2 ( 1 7 + 1 ) = 16 7 . \begin{aligned} &\int_{-1}^1 (x^6 + 4x^3 - x + 1)\,dx \\ &\quad= 2\int_0^1 (x^6 + 1)\,dx + 0 \\ &\quad= 2\Big(\frac17 + 1\Big) = \frac{16}{7}. \end{aligned} ∫ − 1 1 ( x 6 + 4 x 3 − x + 1 ) d x = 2 ∫ 0 1 ( x 6 + 1 ) d x + 0 = 2 ( 7 1 + 1 ) = 7 16 .
(b) x 3 cos x x^3\cos x x 3 cos x 是奇函数(奇函数乘以偶函数),而 cos x \cos x cos x 是偶函数,因此积分是 0 + 2 ∫ 0 π / 2 cos x d x = 2 [ sin x ] 0 π / 2 = 2 。 0 + 2\int_0^{\pi/2}\cos x\,dx = 2\big[\sin x\big]_0^{\pi/2} = 2\mathclose{\text{。}} 0 + 2 ∫ 0 π /2 cos x d x = 2 [ sin x ] 0 π /2 = 2 。
(c) tan x \tan x tan x 是奇函数,而 1 + x 2 1 + x^2 1 + x 2 是偶函数,因此它们的商是奇函数;它在 [ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] 上连续,其中 cos x ≠ 0 。 \cos x \ne 0\mathclose{\text{。}} cos x = 0 。 积分结果为 0,无需原函数。
注意
两种方法都需要对称区间和可积函数。 ∫ − 1 2 x 3 d x \int_{-1}^2 x^3\,dx ∫ − 1 2 x 3 d x 不为 0:区间不对称,积分是 16 4 − 1 4 = 15 4 。 \tfrac{16}{4} - \tfrac14 = \tfrac{15}{4}\mathclose{\text{。}} 4 16 − 4 1 = 4 15 。 而 ∫ − 1 1 d x x \int_{-1}^1 \frac{dx}{x} ∫ − 1 1 x d x 不为 0 “由对称性”: 1 / x 1/x 1/ x 是奇函数但未在 0 处定义,且在该点附近无界,因此积分在模块 9 的意义上不存在。
SymPy 可以对 sp.integrate 进行积分。以变量作为第二个参数时返回原函数;以元组 (x, a, b) 作为参数时返回从 a 到 b 的定积分。
动手计算SymPy 中的积分
Python 复制
import sympy as sp
x, t = sp.symbols ('x t' )
print (sp.integrate (x**2 - 1 , x)) # an antiderivative: no + C
print (sp.integrate (x**2 , (x, 0 , 1 ))) # a definite integral, exactly
print (sp.integrate (1 /(1 + x**2 ), (x, 0 , 1 ))) # Example 10.6(d)
print (sp.integrate (2 *x*sp.sin (x**2 ), (x, 0 , sp.sqrt (sp.pi)))) # Example 10.12(a)
SymPy 会省略 + C , +\,C\mathclose{\text{,}} + C , 并给出精确答案:pi/4,而不是 0.785。要检查你自己的原函数,对其求导并简化与被积函数的差;若差为 0,则说明正确:
Python 复制
F = sp.Rational (2 , 9 )*(x**3 + 1 )**sp.Rational (3 , 2 ) # Example 10.10(b)
print (sp.simplify (sp.diff (F, x) - x**2 *sp.sqrt (x**3 + 1 )))
sp.Integral 写下一个积分表达式而没有进行计算,而 .doit() 进行了计算。sp.diff 应用第1部分和链式法则处理具有变量上下限的积分,而不需要找到任何原函数:
Python 复制
I = sp.Integral (sp.exp (-t**2 ), (t, 0 , x**2 ))
print (sp.diff (I, x)) # Example 10.5(b)
print (sp.diff (sp.Integral (1 /t, (t, x, 2 *x)), x)) # Example 10.5(c)
print (sp.Integral (x**2 , (x, 0 , 1 )).doit ())
对于每一个 x , x\mathclose{\text{,}} x , 中间答案都是 0,如例 10.5(c) 所示。SymPy 也了解第 10.5 节中的陷阱:
Python 复制
print (sp.integrate (1 /x**2 , (x, -1 , 1 )))
oo 是 SymPy 的 ∞ : \infty\mathclose{\text{:}} ∞ : 从 − 1 -1 − 1 到 1 的 1 / x 2 1/x^2 1/ x 2 下面积分是无限的,而不是 − 2 。 -2\mathclose{\text{。}} − 2 。
为什么 SymPy 的答案可能看起来不同
同一个函数的两个原函数看起来可能很不一样。根据定理 10.1,它们可以相差一个常数;也可能像第 5.7 节 中的导数一样,写法不同但值相同。
动手计算仅相差一个常数的答案
Python 复制
import sympy as sp
x = sp.symbols ('x' )
mine = (x**2 + 1 )**4 /4 # Example 10.10(a), by substitution
theirs = sp.integrate (2 *x*(x**2 + 1 )**3 , x)
print (theirs)
print (sp.expand (mine - theirs))
输出
x**8/4 + x**6 + 3*x**4/2 + x**2
1/4
SymPy 展开被积函数并逐项积分,因此它的原函数没有常数项。展开后,1 4 ( x 2 + 1 ) 4 \tfrac14(x^2 + 1)^4 4 1 ( x 2 + 1 ) 4 是同一个多项式加上1 4 : \tfrac14\mathclose{\text{:}} 4 1 : 两个答案相差常数1 4 , \tfrac14\mathclose{\text{,}} 4 1 , 且两者都正确。另一个积分可以用两种方式用替换法计算:
Python 复制
print (sp.integrate (sp.sin (x)*sp.cos (x), x))
print (sp.simplify (sp.sin (x)**2 /2 - (-sp.cos (x)**2 /2 )))
使用 u = sin x , u = \sin x\mathclose{\text{,}} u = sin x , ∫ sin x cos x d x = 1 2 sin 2 x + C \int \sin x\cos x\,dx = \tfrac12\sin^2 x + C ∫ sin x cos x d x = 2 1 sin 2 x + C 是 SymPy 的答案。使用 u = cos x u = \cos x u = cos x 和 d u = − sin x d x , du = -\sin x\,dx\mathclose{\text{,}} d u = − sin x d x , 同样的积分是 − 1 2 cos 2 x + C 。 -\tfrac12\cos^2 x + C\mathclose{\text{。}} − 2 1 cos 2 x + C 。 两者都正确:由于 sin 2 x + cos 2 x = 1 , \sin^2 x + \cos^2 x = 1\mathclose{\text{,}} sin 2 x + cos 2 x = 1 , 它们相差 1 2 。 \tfrac12\mathclose{\text{。}} 2 1 。 另一个不同之处是:
Python 复制
print (sp.integrate (1 /x, x))
print (sp.integrate (1 /x, (x, -2 , -1 )))
SymPy 给出 ln x , \ln x\mathclose{\text{,}} ln x , 而没有写成 ln ∣ x ∣ 。 \ln\abs{x}\mathclose{\text{。}} ln ∣ x ∣ 。 在 x > 0 x > 0 x > 0 时,它是 1 / x 1/x 1/ x 的一个原函数。当 x x x 为负时,SymPy 给出的 log(x) 不是实数,因为 SymPy 支持复数。若在 ( − ∞ , 0 ) (-\infty, 0) ( − ∞ , 0 ) 上只做实数计算,则用 ln ∣ x ∣ 。 \ln\abs{x}\mathclose{\text{。}} ln ∣ x ∣ 。 定积分仍能得到正确结果:[ ln ∣ x ∣ ] − 2 − 1 = ln 1 − ln 2 = − ln 2 。 \big[\ln\abs{x}\big]_{-2}^{-1} = \ln 1 - \ln 2 = -\ln 2\mathclose{\text{。}} [ ln ∣ x ∣ ] − 2 − 1 = ln 1 − ln 2 = − ln 2 。
注意
不要通过相减来检查你的原函数:两个正确的答案可能相差一个常数,如 1 4 ( x 2 + 1 ) 4 \tfrac14(x^2 + 1)^4 4 1 ( x 2 + 1 ) 4 和 SymPy 的多项式也是如此,因此差值不必为 0。相反,你应该对你的答案进行求导并与被积函数进行比较,如第一框所示:sp.simplify(sp.diff(F, x) - f) 必须给出 0。如果差值是一个常数,也说明两个答案都是正确的。
当不存在公式时
询问 SymPy 对 e − x 2 e^{-x^2} e − x 2 的原函数,它会给出一个你未曾见过的函数:
动手计算涉及特殊函数的积分
Python 复制
import sympy as sp
x = sp.symbols ('x' )
print (sp.integrate (sp.exp (-x**2 ), x))
print (sp.diff (sp.erf (x), x))
I = sp.integrate (sp.exp (-x**2 ), (x, 0 , 1 ))
print (I, sp.N (I))
输出
sqrt(pi)*erf(x)/2
2*exp(-x**2)/sqrt(pi)
sqrt(pi)*erf(1)/2 0.746824132812427
erf 是 错误函数 ,定义为一个面积函数:
erf x = 2 π ∫ 0 x e − t 2 d t . \operatorname{erf} x = \frac{2}{\sqrt\pi}\int_0^x e^{-t^2}\,dt. erf x = π 2 ∫ 0 x e − t 2 d t .
根据第一部分,其导数是 2 π e − x 2 , \dfrac{2}{\sqrt\pi}e^{-x^2}\mathclose{\text{,}} π 2 e − x 2 , 如第二行所示,因此 π 2 erf x \dfrac{\sqrt\pi}{2}\operatorname{erf} x 2 π erf x 是 e − x 2 e^{-x^2} e − x 2 的原函数:SymPy 的答案是第一部分在起作用,附带了一个名称。它的值是数值计算得到的,与 sin x \sin x sin x 和 ln x \ln x ln x 的值相同。使用一千个矩形的中点和法与 SymPy 的值在前七位数字上一致:
Python 复制
import numpy as np
n = 1000
mids = (np.arange (n) + 0.5 )/n # midpoints of [0, 1] cut into n pieces
print (np.sum (np.exp (-mids**2 ))/n)
正弦积分 Si x = ∫ 0 x sin t t d t \operatorname{Si} x = \int_0^x \frac{\sin t}{t}\,dt Si x = ∫ 0 x t s i n t d t 是另一个这样的函数;在 t = 0 t = 0 t = 0 处其被积函数被赋予值 1,其极限在那里(模块 2 ),因此它是连续的:
Python 复制
print (sp.integrate (sp.sin (x)/x, x))
由模块1目录中的函数构成的任何公式都没有导数e − x 2 e^{-x^2} e − x 2 或sin x x ; \frac{\sin x}{x}\mathclose{\text{;}} x s i n x ; 这是一个定理,超出本系列范围,模块11将回到此类函数。误差函数在概率论和统计学中占据核心地位,其中e − x 2 e^{-x^2} e − x 2 是正态分布的形状(模块12)。当SymPy以erf、Si或其他特殊函数作答时,它并未失败:根据第一部分,该积分是一个完全有效的函数,而SymPy已为其命名。
f f f 在区间上的一个反导函数 是满足F F F 的函数F ′ = f 。 F' = f\mathclose{\text{。}} F ′ = f 。 在区间上,所有反导函数都是F + C F + C F + C (定理10.1,来自模块8中导数相等意味着常数差的定理);在由多个区间组成的定义域上,常数在每个区间上可能不同。
基本原函数表可由求导法则反向推导得出:x n + 1 n + 1 \dfrac{x^{n+1}}{n + 1} n + 1 x n + 1 对 x n x^n x n (n ≠ − 1 ), n \ne -1\mathclose{\text{),}} n = − 1 ), ln ∣ x ∣ \ln\abs{x} ln ∣ x ∣ 对 1 x , \dfrac1x\mathclose{\text{,}} x 1 , − cos x -\cos x − cos x 对 sin x , \sin x\mathclose{\text{,}} sin x , arctan x \arctan x arctan x 对 1 1 + x 2 , \dfrac{1}{1 + x^2}\mathclose{\text{,}} 1 + x 2 1 , 依此类推。每个原函数都应通过求导来验证。
初值问题 F ′ = f , F' = f\mathclose{\text{,}} F ′ = f , F ( x 0 ) = y 0 F(x_0) = y_0 F ( x 0 ) = y 0 在加速度为常数且有两个初始条件的情况下,有且仅有一个解存在于 f f f 连续的区间内;其中 v ( t ) = v 0 + a t v(t) = v_0 + at v ( t ) = v 0 + a t 和 s ( t ) = s 0 + v 0 t + 1 2 a t 2 s(t) = s_0 + v_0t + \tfrac12at^2 s ( t ) = s 0 + v 0 t + 2 1 a t 2 是下落球的 s = 4.9 t 2 。 s = 4.9t^2\mathclose{\text{。}} s = 4.9 t 2 。
面积函数 A ( x ) = ∫ a x f ( t ) d t A(x) = \int_a^x f(t)\,dt A ( x ) = ∫ a x f ( t ) d t 积累有符号面积:它在 f > 0 f > 0 f > 0 处增加,在 f < 0 f < 0 f < 0 处减少。
基本定理,第一部分: 如果 f f f 在包含 a a a 的区间上连续,则 d d x ∫ a x f ( t ) d t = f ( x ) \dfrac{d}{dx}\displaystyle\int_a^x f(t)\,dt = f(x) d x d ∫ a x f ( t ) d t = f ( x ) 在该区间内(端点处为单侧导数)存在。因此,每个在区间上连续的函数都有一个原函数,并且结合链式法则可得 d d x ∫ a u ( x ) f ( t ) d t = f ( u ( x ) ) u ′ ( x ) 。 \dfrac{d}{dx}\displaystyle\int_a^{u(x)} f(t)\,dt = f\big(u(x)\big)u'(x)\mathclose{\text{。}} d x d ∫ a u ( x ) f ( t ) d t = f ( u ( x ) ) u ′ ( x ) 。
基本定理,第2部分: 如果 f f f 在 [ a , b ] [a, b] [ a , b ] 上连续,且 F F F 是 f f f 在那里的一个原函数,那么 ∫ a b f ( x ) d x = F ( b ) − F ( a ) = [ F ( x ) ] a b 。 \int_a^b f(x)\,dx = F(b) - F(a) = \big[F(x)\big]_a^b\mathclose{\text{。}} ∫ a b f ( x ) d x = F ( b ) − F ( a ) = [ F ( x ) ] a b 。 黎曼和的极限变为两行计算;速度表和里程表互为逆运算。
不定积分 ∫ f ( x ) d x = F ( x ) + C \int f(x)\,dx = F(x) + C ∫ f ( x ) d x = F ( x ) + C 是一般的原函数。** 净变化定理**, ∫ a b F ′ ( x ) d x = F ( b ) − F ( a ) : \int_a^b F'(x)\,dx = F(b) - F(a)\mathclose{\text{:}} ∫ a b F ′ ( x ) d x = F ( b ) − F ( a ) : 速率的积分是净变化。位移是 ∫ v d t ; \int v\,dt\mathclose{\text{;}} ∫ v d t ; 路程是 ∫ ∣ v ∣ d t 。 \int \abs{v}\,dt\mathclose{\text{。}} ∫ ∣ v ∣ d t 。
替换法 反转链式法则: ∫ f ( g ( x ) ) g ′ ( x ) d x = ∫ f ( u ) d u \int f\big(g(x)\big)g'(x)\,dx = \int f(u)\,du ∫ f ( g ( x ) ) g ′ ( x ) d x = ∫ f ( u ) d u 与 u = g ( x ) , u = g(x)\mathclose{\text{,}} u = g ( x ) , d u = g ′ ( x ) d x ; du = g'(x)\,dx\mathclose{\text{;}} d u = g ′ ( x ) d x ; 在定积分中,将积分限改为 g ( a ) g(a) g ( a ) 和 g ( b ) 。 g(b)\mathclose{\text{。}} g ( b ) 。 在 [ − a , a ] [-a, a] [ − a , a ] 区间上,偶函数的积分是奇函数在 [ 0 , a ] [0, a] [ 0 , a ] 区间积分的两倍,奇函数的积分是 0。
SymPy: sp.integrate(f, x) (无 + C ), +\,C\mathclose{\text{),}} + C ), sp.integrate(f, (x, a, b)), sp.Integral(...) 和 .doit()。它的答案可能与你的答案相差一个常数,写 ln x \ln x ln x 为 ln ∣ x ∣ , \ln\abs{x}\mathclose{\text{,}} ln ∣ x ∣ , 或使用特殊函数如 erf , \operatorname{erf}\mathclose{\text{,}} erf , 定义为面积函数。
练习 10.1 ★ 原函数
求每个函数的通积分,并通过对其求导来验证你的答案。
(a) f ( x ) = 8 x 3 − 6 x 2 + 1 f(x) = 8x^3 - 6x^2 + 1 f ( x ) = 8 x 3 − 6 x 2 + 1
(b) g ( x ) = 1 x 3 − 4 x , g(x) = \dfrac{1}{x^3} - \dfrac{4}{\sqrt x}\mathclose{\text{,}} g ( x ) = x 3 1 − x 4 , 对于 x > 0 x > 0 x > 0
(c) h ( t ) = 3 e − t + 2 sin 3 t h(t) = 3e^{-t} + 2\sin 3t h ( t ) = 3 e − t + 2 sin 3 t
(d) q ( x ) = ( 1 + x ) 2 x , q(x) = \dfrac{(1 + x)^2}{\sqrt x}\mathclose{\text{,}} q ( x ) = x ( 1 + x ) 2 , 对于 x > 0 x > 0 x > 0
查看解答✓ 已检验
(a) 逐项计算: 8 ⋅ x 4 4 − 6 ⋅ x 3 3 + x = 2 x 4 − 2 x 3 + x , 8\cdot\dfrac{x^4}{4} - 6\cdot\dfrac{x^3}{3} + x = 2x^4 - 2x^3 + x\mathclose{\text{,}} 8 ⋅ 4 x 4 − 6 ⋅ 3 x 3 + x = 2 x 4 − 2 x 3 + x , 因此答案是 2 x 4 − 2 x 3 + x + C 。 2x^4 - 2x^3 + x + C\mathclose{\text{。}} 2 x 4 − 2 x 3 + x + C 。 验证: 8 x 3 − 6 x 2 + 1 。 8x^3 - 6x^2 + 1\mathclose{\text{。}} 8 x 3 − 6 x 2 + 1 。
(b) 以幂的形式表示, g ( x ) = x − 3 − 4 x − 1 / 2 。 g(x) = x^{-3} - 4x^{-1/2}\mathclose{\text{。}} g ( x ) = x − 3 − 4 x − 1/2 。 幂法则给出
x − 2 − 2 − 4 ⋅ x 1 / 2 1 / 2 = − 1 2 x 2 − 8 x , \frac{x^{-2}}{-2} - 4\cdot\frac{x^{1/2}}{1/2} = -\frac{1}{2x^2} - 8\sqrt x, − 2 x − 2 − 4 ⋅ 1/2 x 1/2 = − 2 x 2 1 − 8 x ,
因此答案是 − 1 2 x 2 − 8 x + C 。 -\dfrac{1}{2x^2} - 8\sqrt x + C\mathclose{\text{。}} − 2 x 2 1 − 8 x + C 。 验证: d d x ( − 1 2 x − 2 − 8 x 1 / 2 ) = x − 3 − 4 x − 1 / 2 。 \dfrac{d}{dx}\Big(-\tfrac12 x^{-2} - 8x^{1/2}\Big) = x^{-3} - 4x^{-1/2}\mathclose{\text{。}} d x d ( − 2 1 x − 2 − 8 x 1/2 ) = x − 3 − 4 x − 1/2 。
(c) 用 k = − 1 , k = -1\mathclose{\text{,}} k = − 1 , e − t e^{-t} e − t 的一个原函数是 e − t − 1 = − e − t ; \dfrac{e^{-t}}{-1} = -e^{-t}\mathclose{\text{;}} − 1 e − t = − e − t ; 用 k = 3 , k = 3\mathclose{\text{,}} k = 3 , sin 3 t \sin 3t sin 3 t 的一个原函数是 − cos 3 t 3 。 -\dfrac{\cos 3t}{3}\mathclose{\text{。}} − 3 cos 3 t 。 答案是 − 3 e − t − 2 3 cos 3 t + C 。 -3e^{-t} - \dfrac23\cos 3t + C\mathclose{\text{。}} − 3 e − t − 3 2 cos 3 t + C 。 验证: 3 e − t + 2 sin 3 t 。 3e^{-t} + 2\sin 3t\mathclose{\text{。}} 3 e − t + 2 sin 3 t 。
(d) 展开分子并分别将每一项除以 x = x 1 / 2 : \sqrt x = x^{1/2}\mathclose{\text{:}} x = x 1/2 :
1 + 2 x + x 2 x 1 / 2 = x − 1 / 2 + 2 x 1 / 2 + x 3 / 2 . \frac{1 + 2x + x^2}{x^{1/2}} = x^{-1/2} + 2x^{1/2} + x^{3/2}. x 1/2 1 + 2 x + x 2 = x − 1/2 + 2 x 1/2 + x 3/2 .
答案是 2 x 1 / 2 + 4 3 x 3 / 2 + 2 5 x 5 / 2 + C 。 2x^{1/2} + \dfrac43 x^{3/2} + \dfrac25 x^{5/2} + C\mathclose{\text{。}} 2 x 1/2 + 3 4 x 3/2 + 5 2 x 5/2 + C 。 将分子和分母分别积分的快捷方式是没有根据的:不存在原函数的商法则。
练习 10.2 ★ 分部积分法 2
计算:
(a) ∫ 1 3 ( 2 x − 1 ) 2 d x \displaystyle\int_1^3 (2x - 1)^2\,dx ∫ 1 3 ( 2 x − 1 ) 2 d x
(b) ∫ 0 π / 3 sec 2 x d x \displaystyle\int_0^{\pi/3} \sec^2 x\,dx ∫ 0 π /3 sec 2 x d x
(c) ∫ 1 4 ( x + 1 x ) d x \displaystyle\int_1^4 \Big(\sqrt x + \frac{1}{\sqrt x}\Big)\,dx ∫ 1 4 ( x + x 1 ) d x
(d) ∫ 0 1 / 2 d x 1 − x 2 \displaystyle\int_0^{1/2} \frac{dx}{\sqrt{1 - x^2}} ∫ 0 1/2 1 − x 2 d x
查看解答✓ 已检验
(a) 展开: ( 2 x − 1 ) 2 = 4 x 2 − 4 x + 1 , (2x - 1)^2 = 4x^2 - 4x + 1\mathclose{\text{,}} ( 2 x − 1 ) 2 = 4 x 2 − 4 x + 1 , 其原函数为 F ( x ) = 4 3 x 3 − 2 x 2 + x 。 F(x) = \tfrac43 x^3 - 2x^2 + x\mathclose{\text{。}} F ( x ) = 3 4 x 3 − 2 x 2 + x 。 然后 F ( 3 ) = 36 − 18 + 3 = 21 F(3) = 36 - 18 + 3 = 21 F ( 3 ) = 36 − 18 + 3 = 21 和 F ( 1 ) = 4 3 − 2 + 1 = 1 3 , F(1) = \tfrac43 - 2 + 1 = \tfrac13\mathclose{\text{,}} F ( 1 ) = 3 4 − 2 + 1 = 3 1 , 因此积分是 21 − 1 3 = 62 3 。 21 - \tfrac13 = \tfrac{62}{3}\mathclose{\text{。}} 21 − 3 1 = 3 62 。 (用 u = 2 x − 1 u = 2x - 1 u = 2 x − 1 代换得到相同结果: 1 2 ∫ 1 5 u 2 d u = 1 2 ⋅ 124 3 = 62 3 。) \tfrac12\int_1^5 u^2\,du = \tfrac12\cdot\tfrac{124}{3} = \tfrac{62}{3}\mathclose{\text{。)}} 2 1 ∫ 1 5 u 2 d u = 2 1 ⋅ 3 124 = 3 62 。 )
(b) tan x \tan x tan x 是 sec 2 x \sec^2 x sec 2 x 在 ( − π / 2 , π / 2 ) (-\pi/2, \pi/2) ( − π /2 , π /2 ) 上的原函数,包含 [ 0 , π / 3 ] : [0, \pi/3]\mathclose{\text{:}} [ 0 , π /3 ] : tan π 3 − tan 0 = 3 . \tan\dfrac{\pi}{3} - \tan 0 = \sqrt3\mathclose{\text{.}} tan 3 π − tan 0 = 3 .
(c) 作为幂函数, x 1 / 2 + x − 1 / 2 , x^{1/2} + x^{-1/2}\mathclose{\text{,}} x 1/2 + x − 1/2 , 其原函数为 2 3 x 3 / 2 + 2 x 1 / 2 。 \tfrac23 x^{3/2} + 2x^{1/2}\mathclose{\text{。}} 3 2 x 3/2 + 2 x 1/2 。 在 4 处为 2 3 ⋅ 8 + 2 ⋅ 2 = 28 3 ; \tfrac23\cdot 8 + 2\cdot 2 = \tfrac{28}{3}\mathclose{\text{;}} 3 2 ⋅ 8 + 2 ⋅ 2 = 3 28 ; 在 1 处为 2 3 + 2 = 8 3 。 \tfrac23 + 2 = \tfrac83\mathclose{\text{。}} 3 2 + 2 = 3 8 。 积分是 28 3 − 8 3 = 20 3 。 \tfrac{28}{3} - \tfrac83 = \tfrac{20}{3}\mathclose{\text{。}} 3 28 − 3 8 = 3 20 。
(d) arcsin x \arcsin x arcsin x 是 ( − 1 , 1 ) (-1, 1) ( − 1 , 1 ) 的原函数,且包含 [ 0 , 1 2 ] : [0, \tfrac12]\mathclose{\text{:}} [ 0 , 2 1 ] : arcsin 1 2 − arcsin 0 = π 6 ≈ 0.5236 。 \arcsin\tfrac12 - \arcsin 0 = \dfrac{\pi}{6} \approx 0.5236\mathclose{\text{。}} arcsin 2 1 − arcsin 0 = 6 π ≈ 0.5236 。
练习 10.3 ★ 导数的积分
求每个函数的导数。
(a) F ( x ) = ∫ 2 x ln ( 1 + t 2 ) d t F(x) = \displaystyle\int_2^x \ln(1 + t^2)\,dt F ( x ) = ∫ 2 x ln ( 1 + t 2 ) d t
(b) G ( x ) = ∫ x 5 1 + t 4 d t G(x) = \displaystyle\int_x^5 \sqrt{1 + t^4}\,dt G ( x ) = ∫ x 5 1 + t 4 d t
(c) H ( x ) = ∫ 0 sin x e t 2 d t H(x) = \displaystyle\int_0^{\sin x} e^{t^2}\,dt H ( x ) = ∫ 0 s i n x e t 2 d t
(d) K ( x ) = ∫ x x 2 t 3 d t , K(x) = \displaystyle\int_x^{x^2} t^3\,dt\mathclose{\text{,}} K ( x ) = ∫ x x 2 t 3 d t , 用两种方法:用定理 10.3,以及先计算积分。
查看解答✓ 已检验
(a) ln ( 1 + t 2 ) \ln(1 + t^2) ln ( 1 + t 2 ) 在 R \R R 上连续,因此由第 1 部分, F ′ ( x ) = ln ( 1 + x 2 ) 。 F'(x) = \ln(1 + x^2)\mathclose{\text{。}} F ′ ( x ) = ln ( 1 + x 2 ) 。
(b) 变量是下限: G ( x ) = − ∫ 5 x 1 + t 4 d t , G(x) = -\int_5^x \sqrt{1 + t^4}\,dt\mathclose{\text{,}} G ( x ) = − ∫ 5 x 1 + t 4 d t , 因此 G ′ ( x ) = − 1 + x 4 。 G'(x) = -\sqrt{1 + x^4}\mathclose{\text{。}} G ′ ( x ) = − 1 + x 4 。
(c) 上限是 u ( x ) = sin x , u(x) = \sin x\mathclose{\text{,}} u ( x ) = sin x , 其中 u ′ ( x ) = cos x : u'(x) = \cos x\mathclose{\text{:}} u ′ ( x ) = cos x : H ′ ( x ) = e sin 2 x cos x . H'(x) = e^{\sin^2 x}\cos x\mathclose{\text{.}} H ′ ( x ) = e s i n 2 x cos x .
(d) 根据定理 10.3,使用 u ( x ) = x 2 u(x) = x^2 u ( x ) = x 2 和 v ( x ) = x : v(x) = x\mathclose{\text{:}} v ( x ) = x :
K ′ ( x ) = ( x 2 ) 3 ⋅ 2 x − x 3 ⋅ 1 = 2 x 7 − x 3 . \begin{aligned} K'(x) &= (x^2)^3\cdot 2x - x^3\cdot 1 \\ &= 2x^7 - x^3. \end{aligned} K ′ ( x ) = ( x 2 ) 3 ⋅ 2 x − x 3 ⋅ 1 = 2 x 7 − x 3 .
先计算,K ( x ) = [ t 4 4 ] x x 2 = x 8 4 − x 4 4 , K(x) = \Big[\dfrac{t^4}{4}\Big]_x^{x^2} = \dfrac{x^8}{4} - \dfrac{x^4}{4}\mathclose{\text{,}} K ( x ) = [ 4 t 4 ] x x 2 = 4 x 8 − 4 x 4 , 因此 K ′ ( x ) = 2 x 7 − x 3 : K'(x) = 2x^7 - x^3\mathclose{\text{:}} K ′ ( x ) = 2 x 7 − x 3 : 相同的结果。
练习 10.4 ★ 位移与距离
一名骑车人沿一条直线道路以 v ( t ) = 2 t − 4 v(t) = 2t - 4 v ( t ) = 2 t − 4 米每秒的速度骑行 0 ≤ t ≤ 5 0 \le t \le 5 0 ≤ t ≤ 5 秒,其中正速度表示向东。
(a) 求 5 秒内的位移。
(b) 求骑行的总距离。
(c) 用三角形的面积验证这两个结果。
查看解答✓ 已检验
(a) 位移是 ∫ 0 5 ( 2 t − 4 ) d t = [ t 2 − 4 t ] 0 5 = 25 − 20 = 5 \displaystyle\int_0^5 (2t - 4)\,dt = \big[t^2 - 4t\big]_0^5 = 25 - 20 = 5 ∫ 0 5 ( 2 t − 4 ) d t = [ t 2 − 4 t ] 0 5 = 25 − 20 = 5 米:骑车人最终在起点东边 5 米处。
(b) v ( t ) < 0 v(t) < 0 v ( t ) < 0 对于 t < 2 t < 2 t < 2 (向西骑行) 和 v ( t ) > 0 v(t) > 0 v ( t ) > 0 对于 t > 2 。 t > 2\mathclose{\text{。}} t > 2 。 带有 F ( t ) = t 2 − 4 t 、 F(t) = t^2 - 4t\mathclose{\text{、}} F ( t ) = t 2 − 4 t 、 ∫ 0 2 v d t = F ( 2 ) − F ( 0 ) = − 4 \int_0^2 v\,dt = F(2) - F(0) = -4 ∫ 0 2 v d t = F ( 2 ) − F ( 0 ) = − 4 和 ∫ 2 5 v d t = F ( 5 ) − F ( 2 ) = 5 − ( − 4 ) = 9 。 \int_2^5 v\,dt = F(5) - F(2) = 5 - (-4) = 9\mathclose{\text{。}} ∫ 2 5 v d t = F ( 5 ) − F ( 2 ) = 5 − ( − 4 ) = 9 。 距离是 ∣ − 4 ∣ + 9 = 13 \abs{-4} + 9 = 13 ∣ − 4 ∣ + 9 = 13 米:4 米向西,然后 9 米向东。
(c) 图形 v v v 是一条经过 ( 2 , 0 ) (2, 0) ( 2 , 0 ) 的直线。从 0 到 2,它在轴下方围成一个底为 2、高为 4 的三角形,面积为 4;从 2 到 5,它在轴上方围成一个底为 3、高为 6 的三角形,面积为 9。有符号面积为 − 4 + 9 = 5 ; -4 + 9 = 5\mathclose{\text{;}} − 4 + 9 = 5 ; 无符号面积为 4 + 9 = 13 。 4 + 9 = 13\mathclose{\text{。}} 4 + 9 = 13 。
练习 10.5 ★★ 刹车的汽车
一辆以 30 m/s 速度行驶的汽车以恒定的减速度 6 m/s²(其加速度为 − 6 -6 − 6 m/s²)刹车,直到停止。
(a) 求其速度 v ( t ) v(t) v ( t ) 和位置 s ( t ) , s(t)\mathclose{\text{,}} s ( t ) , 从刹车开始点起,刹车开始后 t t t 秒时的数值。
(b) 它何时停止?刹车过程中行驶了多少距离?
(c) 如果减速度减半,它将行驶多远?如果以减速度 6 m/s² 起始速度为 60 m/s,又将行驶多远?
查看解答✓ 已检验
(a) v v v 是 a = − 6 a = -6 a = − 6 的原函数: v ( t ) = − 6 t + C 1 , v(t) = -6t + C_1\mathclose{\text{,}} v ( t ) = − 6 t + C 1 , 且 v ( 0 ) = 30 v(0) = 30 v ( 0 ) = 30 给出 v ( t ) = 30 − 6 t 。 v(t) = 30 - 6t\mathclose{\text{。}} v ( t ) = 30 − 6 t 。 然后 s ( t ) = 30 t − 3 t 2 + C 2 , s(t) = 30t - 3t^2 + C_2\mathclose{\text{,}} s ( t ) = 30 t − 3 t 2 + C 2 , 且 s ( 0 ) = 0 s(0) = 0 s ( 0 ) = 0 给出 s ( t ) = 30 t − 3 t 2 。 s(t) = 30t - 3t^2\mathclose{\text{。}} s ( t ) = 30 t − 3 t 2 。 这些成立直到汽车停止;之后它保持静止。
(b) v ( t ) = 0 v(t) = 0 v ( t ) = 0 当 t = 5 t = 5 t = 5 s,然后 s ( 5 ) = 150 − 75 = 75 s(5) = 150 - 75 = 75 s ( 5 ) = 150 − 75 = 75 m。
(c) 以 a = − 3 a = -3 a = − 3 为条件: v ( t ) = 30 − 3 t v(t) = 30 - 3t v ( t ) = 30 − 3 t 在 t = 10 t = 10 t = 10 处为 0,且 s ( 10 ) = 300 − 150 = 150 s(10) = 300 - 150 = 150 s ( 10 ) = 300 − 150 = 150 m,是两倍的距离。一般地,以初始速度 v 0 v_0 v 0 和减速度 d , d\mathclose{\text{,}} d , 汽车在行驶 t = v 0 / d t = v_0/d t = v 0 / d 后停止。
v 0 ⋅ v 0 d − d 2 ( v 0 d ) 2 = v 0 2 2 d . v_0\cdot\frac{v_0}{d} - \frac{d}{2}\Big(\frac{v_0}{d}\Big)^2 = \frac{v_0^2}{2d}. v 0 ⋅ d v 0 − 2 d ( d v 0 ) 2 = 2 d v 0 2 .
所以以 60 m/s 的速度行驶 d = 6 , d = 6\mathclose{\text{,}} d = 6 , 它行驶 3600 12 = 300 \dfrac{3600}{12} = 300 12 3600 = 300 m:两倍的速度意味着四倍的制动距离,这就是为什么道路速度如此重要。
练习 10.6 ★★ 换元法
求:
(a) ∫ x ( 3 x 2 + 1 ) 4 d x \displaystyle\int x(3x^2 + 1)^4\,dx ∫ x ( 3 x 2 + 1 ) 4 d x
(b) ∫ sin x 2 + cos x d x \displaystyle\int \frac{\sin x}{2 + \cos x}\,dx ∫ 2 + cos x sin x d x
(c) ∫ e x x d x , \displaystyle\int \frac{e^{\sqrt x}}{\sqrt x}\,dx\mathclose{\text{,}} ∫ x e x d x , 用于 x > 0 x > 0 x > 0
(d) ∫ d x 9 − x 2 , \displaystyle\int \frac{dx}{\sqrt{9 - x^2}}\mathclose{\text{,}} ∫ 9 − x 2 d x , 对于 − 3 < x < 3 -3 < x < 3 − 3 < x < 3
(e) ∫ sin x cos x d x , \displaystyle\int \sin x\cos x\,dx\mathclose{\text{,}} ∫ sin x cos x d x , 一次用 u = sin x , u = \sin x\mathclose{\text{,}} u = sin x , 一次用 u = cos x 。 u = \cos x\mathclose{\text{。}} u = cos x 。 解释为什么两个答案看起来不同。
查看解答✓ 已检验
(a) u = 3 x 2 + 1 , u = 3x^2 + 1\mathclose{\text{,}} u = 3 x 2 + 1 , d u = 6 x d x , du = 6x\,dx\mathclose{\text{,}} d u = 6 x d x , 因此 x d x = 1 6 d u : x\,dx = \tfrac16\,du\mathclose{\text{:}} x d x = 6 1 d u :
1 6 ∫ u 4 d u = u 5 30 + C = ( 3 x 2 + 1 ) 5 30 + C . \begin{aligned} \frac16\int u^4\,du &= \frac{u^5}{30} + C \\ &= \frac{(3x^2 + 1)^5}{30} + C. \end{aligned} 6 1 ∫ u 4 d u = 30 u 5 + C = 30 ( 3 x 2 + 1 ) 5 + C .
(b) u = 2 + cos x , u = 2 + \cos x\mathclose{\text{,}} u = 2 + cos x , d u = − sin x d x : du = -\sin x\,dx\mathclose{\text{:}} d u = − sin x d x :
− ∫ d u u = − ln ∣ u ∣ + C = − ln ( 2 + cos x ) + C , \begin{aligned} -\int \frac{du}{u} &= -\ln\abs{u} + C \\ &= -\ln(2 + \cos x) + C, \end{aligned} − ∫ u d u = − ln ∣ u ∣ + C = − ln ( 2 + cos x ) + C ,
不使用绝对值符号,因为 2 + cos x ≥ 1 。 2 + \cos x \ge 1\mathclose{\text{。}} 2 + cos x ≥ 1 。
(c) u = x , u = \sqrt x\mathclose{\text{,}} u = x , d u = d x 2 x , du = \dfrac{dx}{2\sqrt x}\mathclose{\text{,}} d u = 2 x d x , 因此 d x x = 2 d u : \dfrac{dx}{\sqrt x} = 2\,du\mathclose{\text{:}} x d x = 2 d u : 2 ∫ e u d u = 2 e x + C 。 \displaystyle 2\int e^u\,du = 2e^{\sqrt x} + C\mathclose{\text{。}} 2 ∫ e u d u = 2 e x + C 。
(d) 9 − x 2 = 9 ( 1 − ( x / 3 ) 2 ) , 9 - x^2 = 9\big(1 - (x/3)^2\big)\mathclose{\text{,}} 9 − x 2 = 9 ( 1 − ( x /3 ) 2 ) , 且 9 = 3 。 \sqrt9 = 3\mathclose{\text{。}} 9 = 3 。 设 u = x / 3 , u = x/3\mathclose{\text{,}} u = x /3 , 则 d x = 3 d u : dx = 3\,du\mathclose{\text{:}} d x = 3 d u :
∫ 3 d u 3 1 − u 2 = arcsin u + C = arcsin x 3 + C . \begin{aligned} \int \frac{3\,du}{3\sqrt{1 - u^2}} &= \arcsin u + C \\ &= \arcsin\frac{x}{3} + C. \end{aligned} ∫ 3 1 − u 2 3 d u = arcsin u + C = arcsin 3 x + C .
(e) 由u = sin x u = \sin x u = sin x 和d u = cos x d x du = \cos x\,dx d u = cos x d x 得∫ u d u = 1 2 sin 2 x + C 。 \int u\,du = \tfrac12\sin^2 x + C\mathclose{\text{。}} ∫ u d u = 2 1 sin 2 x + C 。 由u = cos x u = \cos x u = cos x 和d u = − sin x d x du = -\sin x\,dx d u = − sin x d x 得− ∫ u d u = − 1 2 cos 2 x + C 。 -\int u\,du = -\tfrac12\cos^2 x + C\mathclose{\text{。}} − ∫ u d u = − 2 1 cos 2 x + C 。 两者均正确。它们的差1 2 sin 2 x + 1 2 cos 2 x = 1 2 \tfrac12\sin^2 x + \tfrac12\cos^2 x = \tfrac12 2 1 sin 2 x + 2 1 cos 2 x = 2 1 为常数,且由定理10.1可知,区间上的原函数至多相差一个常数:每个答案中的“+ C ” +\,C\mathclose{\text{”}} + C ” 吸收了该常数。
练习 10.7 ★★ 用替换法计算定积分
(a) 精确计算并保留四位小数求值 ∫ 0 1 x e − x 2 d x 。 \displaystyle\int_0^1 x e^{-x^2}\,dx\mathclose{\text{。}} ∫ 0 1 x e − x 2 d x 。
(b) 计算 ∫ 0 π / 4 tan x sec 2 x d x 。 \displaystyle\int_0^{\pi/4} \tan x\sec^2 x\,dx\mathclose{\text{。}} ∫ 0 π /4 tan x sec 2 x d x 。
(c) 计算 ∫ 0 3 x x + 1 d x 。 \displaystyle\int_0^3 \frac{x}{\sqrt{x + 1}}\,dx\mathclose{\text{。}} ∫ 0 3 x + 1 x d x 。
(d) 一名学生写出 ∫ 0 2 x x 2 + 1 d x = 1 2 ∫ 0 2 d u u 。 \displaystyle\int_0^2 \frac{x}{x^2 + 1}\,dx = \frac12\int_0^2 \frac{du}{u}\mathclose{\text{。}} ∫ 0 2 x 2 + 1 x d x = 2 1 ∫ 0 2 u d u 。 找出错误,并求出正确值。
查看解答✓ 已检验
(a) u = − x 2 , u = -x^2\mathclose{\text{,}} u = − x 2 , d u = − 2 x d x , du = -2x\,dx\mathclose{\text{,}} d u = − 2 x d x , 所以 x d x = − 1 2 d u ; x\,dx = -\tfrac12\,du\mathclose{\text{;}} x d x = − 2 1 d u ; x = 0 x = 0 x = 0 给出 u = 0 , u = 0\mathclose{\text{,}} u = 0 , x = 1 x = 1 x = 1 给出 u = − 1 : u = -1\mathclose{\text{:}} u = − 1 :
∫ 0 1 x e − x 2 d x = − 1 2 ∫ 0 − 1 e u d u = 1 2 ∫ − 1 0 e u d u = 1 2 ( 1 − e − 1 ) ≈ 0.3161. \begin{aligned} \int_0^1 x e^{-x^2}\,dx &= -\frac12\int_0^{-1} e^u\,du \\ &= \frac12\int_{-1}^0 e^u\,du \\ &= \frac12\big(1 - e^{-1}\big) \approx 0.3161. \end{aligned} ∫ 0 1 x e − x 2 d x = − 2 1 ∫ 0 − 1 e u d u = 2 1 ∫ − 1 0 e u d u = 2 1 ( 1 − e − 1 ) ≈ 0.3161.
(b) u = tan x , u = \tan x\mathclose{\text{,}} u = tan x , d u = sec 2 x d x ; du = \sec^2 x\,dx\mathclose{\text{;}} d u = sec 2 x d x ; 极限变为 tan 0 = 0 \tan 0 = 0 tan 0 = 0 和 tan π 4 = 1 : \tan\dfrac{\pi}{4} = 1\mathclose{\text{:}} tan 4 π = 1 : ∫ 0 1 u d u = 1 2 。 \displaystyle\int_0^1 u\,du = \frac12\mathclose{\text{。}} ∫ 0 1 u d u = 2 1 。
(c) u = x + 1 , u = x + 1\mathclose{\text{,}} u = x + 1 , d u = d x , du = dx\mathclose{\text{,}} d u = d x , 以及剩余的 x x x 是 u − 1 ; u - 1\mathclose{\text{;}} u − 1 ; 积分限变为 1 和 4:
∫ 1 4 u − 1 u d u = ∫ 1 4 ( u 1 / 2 − u − 1 / 2 ) d u = [ 2 3 u 3 / 2 − 2 u 1 / 2 ] 1 4 = ( 16 3 − 4 ) − ( 2 3 − 2 ) = 8 3 . \begin{aligned} &\int_1^4 \frac{u - 1}{\sqrt u}\,du \\ &\quad= \int_1^4 \big(u^{1/2} - u^{-1/2}\big)\,du \\ &\quad= \Big[\frac23 u^{3/2} - 2u^{1/2}\Big]_1^4 \\ &\quad= \Big(\frac{16}{3} - 4\Big) - \Big(\frac23 - 2\Big) = \frac83. \end{aligned} ∫ 1 4 u u − 1 d u = ∫ 1 4 ( u 1/2 − u − 1/2 ) d u = [ 3 2 u 3/2 − 2 u 1/2 ] 1 4 = ( 3 16 − 4 ) − ( 3 2 − 2 ) = 3 8 .
(d) 用 u = x 2 + 1 u = x^2 + 1 u = x 2 + 1 作为被积函数是正确的,1 2 ⋅ d u u , \tfrac12\cdot\tfrac{du}{u}\mathclose{\text{,}} 2 1 ⋅ u d u , 但积分限仍是 x x x 的。当 x = 0 , x = 0\mathclose{\text{,}} x = 0 , u = 1 ; u = 1\mathclose{\text{;}} u = 1 ; 当 x = 2 , x = 2\mathclose{\text{,}} x = 2 , u = 5 。 u = 5\mathclose{\text{。}} u = 5 。 正确的值是
1 2 ∫ 1 5 d u u = 1 2 ln 5 ≈ 0.8047. \frac12\int_1^5 \frac{du}{u} = \frac12\ln 5 \approx 0.8047. 2 1 ∫ 1 5 u d u = 2 1 ln 5 ≈ 0.8047.
学生的积分甚至未定义:1 / u 1/u 1/ u 在 u = 0 u = 0 u = 0 附近无界。
练习 10.8 ★★ 由公式定义的面积函数
设 g ( x ) = ∫ 0 x ( t 2 − 4 t + 3 ) d t 。 g(x) = \displaystyle\int_0^x (t^2 - 4t + 3)\,dt\mathclose{\text{。}} g ( x ) = ∫ 0 x ( t 2 − 4 t + 3 ) d t 。
(a) 不计算积分,求 g ′ ( x ) 。 g'(x)\mathclose{\text{。}} g ′ ( x ) 。
(b) g g g 在哪些区间上是递增的,在哪些区间上是递减的?它在哪些点有局部最大值和局部最小值?
(c) g g g 的图像在哪些区间上是向上凹的,在哪些区间上是向下凹的?
(d) 求 g ( x ) g(x) g ( x ) 的表达式,并利用它求出 (b) 中各点的 g 。 g\mathclose{\text{。}} g 。 g ( 3 ) g(3) g ( 3 ) 对面积有什么说法?
查看解答✓ 已检验
(a) 被积函数在 R \R R 上连续,因此根据第1部分, g ′ ( x ) = x 2 − 4 x + 3 = ( x − 1 ) ( x − 3 ) 。 g'(x) = x^2 - 4x + 3 = (x - 1)(x - 3)\mathclose{\text{。}} g ′ ( x ) = x 2 − 4 x + 3 = ( x − 1 ) ( x − 3 ) 。
(b) g ′ ( x ) > 0 g'(x) > 0 g ′ ( x ) > 0 对于 x < 1 x < 1 x < 1 和对于 x > 3 , x > 3\mathclose{\text{,}} x > 3 , 以及 g ′ ( x ) < 0 g'(x) < 0 g ′ ( x ) < 0 对于 1 < x < 3 。 1 < x < 3\mathclose{\text{。}} 1 < x < 3 。 因此 g g g 在 ( − ∞ , 1 ] (-\infty, 1] ( − ∞ , 1 ] 和 [ 3 , ∞ ) [3, \infty) [ 3 , ∞ ) 上是递增的,在 [ 1 , 3 ] [1, 3] [ 1 , 3 ] 上是递减的。根据一阶导数判别法(模块 8), g g g 在 x = 1 x = 1 x = 1 处有一个局部最大值,在 x = 3 x = 3 x = 3 处有一个局部最小值。
(c) g ′ ′ ( x ) = 2 x − 4 , g''(x) = 2x - 4\mathclose{\text{,}} g ′′ ( x ) = 2 x − 4 , 其在 x < 2 x < 2 x < 2 上为负,在 x > 2 x > 2 x > 2 上为正:图像在 ( − ∞ , 2 ) (-\infty, 2) ( − ∞ , 2 ) 上是向下凹的,在 ( 2 , ∞ ) (2, \infty) ( 2 , ∞ ) 上是向上凹的,有一个拐点在 x = 2 。 x = 2\mathclose{\text{。}} x = 2 。
(d) 根据第 2 部分, g ( x ) = [ t 3 3 − 2 t 2 + 3 t ] 0 x = x 3 3 − 2 x 2 + 3 x 。 g(x) = \Big[\dfrac{t^3}{3} - 2t^2 + 3t\Big]_0^x = \dfrac{x^3}{3} - 2x^2 + 3x\mathclose{\text{。}} g ( x ) = [ 3 t 3 − 2 t 2 + 3 t ] 0 x = 3 x 3 − 2 x 2 + 3 x 。 然后 g ( 1 ) = 1 3 − 2 + 3 = 4 3 g(1) = \tfrac13 - 2 + 3 = \tfrac43 g ( 1 ) = 3 1 − 2 + 3 = 3 4 和 g ( 3 ) = 9 − 18 + 9 = 0 。 g(3) = 9 - 18 + 9 = 0\mathclose{\text{。}} g ( 3 ) = 9 − 18 + 9 = 0 。 因此从 0 到 1 的面积,其中被积函数为正,是 4 3 , \tfrac43\mathclose{\text{,}} 3 4 , 而从 1 到 3 的有符号面积,其中为负,是 − 4 3 : -\tfrac43\mathclose{\text{:}} − 3 4 : 在 [ 0 , 3 ] [0, 3] [ 0 , 3 ] 上它们相互抵消。
练习 10.9 ★★ 电荷来自电流
电流是电荷流动的速率:1 安培等于 1 库仑每秒。假设流入电容器的电流是 I ( t ) = 0.2 e − t / 5 I(t) = 0.2e^{-t/5} I ( t ) = 0.2 e − t /5 安培持续 t ≥ 0 t \ge 0 t ≥ 0 秒。
(a) 在前5秒内有多少电荷流过?在前10秒内有多少?均保留三位小数。
(b) 找出在前 T T T 秒内流过的电荷 Q ( T ) , Q(T)\mathclose{\text{,}} Q ( T ) , 以及当 T → ∞ T \to \infty T → ∞ 趋近于某个值时它所趋近的数值。
查看解答✓ 已检验
(a) 根据净变化定理,电荷是电流的积分。利用k = − 1 5 , k = -\tfrac15\mathclose{\text{,}} k = − 5 1 , e − t / 5 e^{-t/5} e − t /5 的一个原函数是e − t / 5 − 1 / 5 = − 5 e − t / 5 , \dfrac{e^{-t/5}}{-1/5} = -5e^{-t/5}\mathclose{\text{,}} − 1/5 e − t /5 = − 5 e − t /5 , 因此I ( t ) I(t) I ( t ) 之一为0.2 ⋅ ( − 5 e − t / 5 ) = − e − t / 5 。 0.2\cdot(-5e^{-t/5}) = -e^{-t/5}\mathclose{\text{。}} 0.2 ⋅ ( − 5 e − t /5 ) = − e − t /5 。 那么
∫ 0 5 0.2 e − t / 5 d t = [ − e − t / 5 ] 0 5 = 1 − e − 1 ≈ 0.632 C , \begin{aligned} \int_0^5 0.2e^{-t/5}\,dt &= \big[-e^{-t/5}\big]_0^5 \\ &= 1 - e^{-1} \approx 0.632 \text{ C}, \end{aligned} ∫ 0 5 0.2 e − t /5 d t = [ − e − t /5 ] 0 5 = 1 − e − 1 ≈ 0.632 C ,
并以相同方式得到 ∫ 0 10 0.2 e − t / 5 d t = 1 − e − 2 ≈ 0.865 \int_0^{10} 0.2e^{-t/5}\,dt = 1 - e^{-2} \approx 0.865 ∫ 0 10 0.2 e − t /5 d t = 1 − e − 2 ≈ 0.865 C。
(b) Q ( T ) = [ − e − t / 5 ] 0 T = 1 − e − T / 5 Q(T) = \big[-e^{-t/5}\big]_0^T = 1 - e^{-T/5} Q ( T ) = [ − e − t /5 ] 0 T = 1 − e − T /5 库仑。当 T → ∞ T \to \infty T → ∞ 时,根据 e − T / 5 → 0 e^{-T/5} \to 0 e − T /5 → 0 (模块3),因此 Q ( T ) → 1 : Q(T) \to 1\mathclose{\text{:}} Q ( T ) → 1 : 总体而言,电容器所带的电荷趋近于1库仑,在前5秒内大约有三分之二的电荷。
练习 10.10 ★★★ 对数作为面积
本练习通过积分重建自然对数,不使用你已知的 ln \ln ln 相关知识。对于 x > 0 , x > 0\mathclose{\text{,}} x > 0 , 令
L ( x ) = ∫ 1 x d t t . L(x) = \int_1^x \frac{dt}{t}. L ( x ) = ∫ 1 x t d t .
(a) 证明 L L L 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上可导,导数为 L ′ ( x ) = 1 / x , L'(x) = 1/x\mathclose{\text{,}} L ′ ( x ) = 1/ x , 并且 L ( 1 ) = 0 。 L(1) = 0\mathclose{\text{。}} L ( 1 ) = 0 。
(b) 修正 y > 0 。 y > 0\mathclose{\text{。}} y > 0 。 证明函数 x ↦ L ( x y ) x \mapsto L(xy) x ↦ L ( x y ) 和 x ↦ L ( x ) + L ( y ) x \mapsto L(x) + L(y) x ↦ L ( x ) + L ( y ) 在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上有相同的导数,并推导出 L ( x y ) = L ( x ) + L ( y ) L(xy) = L(x) + L(y) L ( x y ) = L ( x ) + L ( y ) 对所有 x , y > 0 x, y > 0 x , y > 0 成立。
(c) 推导出 L ( 1 / x ) = − L ( x ) , L(1/x) = -L(x)\mathclose{\text{,}} L ( 1/ x ) = − L ( x ) , 并证明 L ( x n ) = n L ( x ) L(x^n) = nL(x) L ( x n ) = n L ( x ) 对于每一个正整数 n n n 成立。
(d) 证明 L ( 2 ) ≥ 1 2 , L(2) \ge \tfrac12\mathclose{\text{,}} L ( 2 ) ≥ 2 1 , 并推导出 L ( x ) → ∞ L(x) \to \infty L ( x ) → ∞ 当 x → ∞ x \to \infty x → ∞ 趋于无穷时成立。
查看解答✓ 已检验
(a) 1 / t 1/t 1/ t 在包含 1 的开区间 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上连续。根据第 1 部分(适用于开区间的形式),在每个 x > 0 x > 0 x > 0 处 L L L 可导,且导数为 L ′ ( x ) = 1 / x 。 L'(x) = 1/x\mathclose{\text{。}} L ′ ( x ) = 1/ x 。 并且 L ( 1 ) = ∫ 1 1 d t t = 0 。 L(1) = \int_1^1 \frac{dt}{t} = 0\mathclose{\text{。}} L ( 1 ) = ∫ 1 1 t d t = 0 。
(b) 根据链式法则, d d x L ( x y ) = L ′ ( x y ) ⋅ y = y x y = 1 x 。 \dfrac{d}{dx}L(xy) = L'(xy)\cdot y = \dfrac{y}{xy} = \dfrac1x\mathclose{\text{。}} d x d L ( x y ) = L ′ ( x y ) ⋅ y = x y y = x 1 。 并且 d d x ( L ( x ) + L ( y ) ) = 1 x + 0 , \dfrac{d}{dx}\big(L(x) + L(y)\big) = \dfrac1x + 0\mathclose{\text{,}} d x d ( L ( x ) + L ( y ) ) = x 1 + 0 , 因为 L ( y ) L(y) L ( y ) 不依赖于 x 。 x\mathclose{\text{。}} x 。 两个函数在区间 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上有相同的导数,因此根据第 8 模块,它们相差一个常数: L ( x y ) = L ( x ) + L ( y ) + C L(xy) = L(x) + L(y) + C L ( x y ) = L ( x ) + L ( y ) + C 对所有 x > 0 x > 0 x > 0 成立。在 x = 1 x = 1 x = 1 处,此式给出 L ( y ) = 0 + L ( y ) + C , L(y) = 0 + L(y) + C\mathclose{\text{,}} L ( y ) = 0 + L ( y ) + C , 因此 C = 0 。 C = 0\mathclose{\text{。}} C = 0 。
(c) 由 (b),L ( x ) + L ( 1 / x ) = L ( x ⋅ 1 x ) = L ( 1 ) = 0 , L(x) + L(1/x) = L\big(x\cdot\tfrac1x\big) = L(1) = 0\mathclose{\text{,}} L ( x ) + L ( 1/ x ) = L ( x ⋅ x 1 ) = L ( 1 ) = 0 , 所以 L ( 1 / x ) = − L ( x ) 。 L(1/x) = -L(x)\mathclose{\text{。}} L ( 1/ x ) = − L ( x ) 。 对于幂次使用数学归纳法:L ( x 1 ) = 1 ⋅ L ( x ) , L(x^1) = 1\cdot L(x)\mathclose{\text{,}} L ( x 1 ) = 1 ⋅ L ( x ) , 且如果 L ( x n ) = n L ( x ) , L(x^n) = nL(x)\mathclose{\text{,}} L ( x n ) = n L ( x ) , 则 L ( x n + 1 ) = L ( x n ⋅ x ) = n L ( x ) + L ( x ) = ( n + 1 ) L ( x ) 。 L(x^{n+1}) = L(x^n\cdot x) = nL(x) + L(x) = (n + 1)L(x)\mathclose{\text{。}} L ( x n + 1 ) = L ( x n ⋅ x ) = n L ( x ) + L ( x ) = ( n + 1 ) L ( x ) 。
(d) 对于 1 ≤ t ≤ 2 , 1 \le t \le 2\mathclose{\text{,}} 1 ≤ t ≤ 2 , 1 t ≥ 1 2 , \dfrac1t \ge \dfrac12\mathclose{\text{,}} t 1 ≥ 2 1 , 因此根据积分的夹逼定理,L ( 2 ) ≥ 1 2 ( 2 − 1 ) = 1 2 。 L(2) \ge \tfrac12(2 - 1) = \tfrac12\mathclose{\text{。}} L ( 2 ) ≥ 2 1 ( 2 − 1 ) = 2 1 。 由 (c),L ( 2 n ) = n L ( 2 ) ≥ n 2 。 L(2^n) = nL(2) \ge \tfrac{n}{2}\mathclose{\text{。}} L ( 2 n ) = n L ( 2 ) ≥ 2 n 。 由于 L ′ = 1 / x > 0 , L' = 1/x > 0\mathclose{\text{,}} L ′ = 1/ x > 0 , L L L 是递增的(模块 8),因此 L ( x ) ≥ n 2 L(x) \ge \tfrac{n}{2} L ( x ) ≥ 2 n 对于每个 x ≥ 2 n 。 x \ge 2^n\mathclose{\text{。}} x ≥ 2 n 。 给定任意数 M , M\mathclose{\text{,}} M , 取 n > 2 M : n > 2M\mathclose{\text{:}} n > 2 M : 则 L ( x ) > M L(x) > M L ( x ) > M 对所有 x ≥ 2 n x \ge 2^n x ≥ 2 n 成立。因此 L ( x ) → ∞ 。 L(x) \to \infty\mathclose{\text{。}} L ( x ) → ∞ 。
这些是 ln \ln ln 的性质,而且确实 L = ln : L = \ln\mathclose{\text{:}} L = ln : 两者在 ( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上都有导数 1 / x , 1/x\mathclose{\text{,}} 1/ x , 且在 1 处的值为 0。一些书在此处开始,并将 ln x \ln x ln x 定义为此积分。
练习 10.11 ★★★ 周期函数
设 f f f 在 R \R R 上连续,并且以 p > 0 p > 0 p > 0 为周期:f ( x + p ) = f ( x ) f(x + p) = f(x) f ( x + p ) = f ( x ) 对于每个 x x x 成立。
(a) 证明 I ( a ) = ∫ a a + p f ( x ) d x I(a) = \displaystyle\int_a^{a + p} f(x)\,dx I ( a ) = ∫ a a + p f ( x ) d x 在每个 a a a 处的值相同。(对 a a a 求导。)
(b) 推导出 ∫ 0 n p f ( x ) d x = n ∫ 0 p f ( x ) d x \displaystyle\int_0^{np} f(x)\,dx = n\int_0^p f(x)\,dx ∫ 0 n p f ( x ) d x = n ∫ 0 p f ( x ) d x 对于每一个正整数 n 。 n\mathclose{\text{。}} n 。
(c) 利用 (a) 来计算 ∫ 1 1 + π ∣ sin x ∣ d x , \displaystyle\int_1^{1 + \pi} \abs{\sin x}\,dx\mathclose{\text{,}} ∫ 1 1 + π ∣ sin x ∣ d x , 并通过将 sin x \sin x sin x 变号的区间分开来验证答案。
查看解答✓ 已检验
(a) 根据分割性质, I ( a ) = ∫ 0 a + p f ( x ) d x − ∫ 0 a f ( x ) d x 。 I(a) = \int_0^{a + p} f(x)\,dx - \int_0^a f(x)\,dx\mathclose{\text{。}} I ( a ) = ∫ 0 a + p f ( x ) d x − ∫ 0 a f ( x ) d x 。 根据定理 10.3,令 u ( a ) = a + p , u(a) = a + p\mathclose{\text{,}} u ( a ) = a + p ,
I ′ ( a ) = f ( a + p ) ⋅ 1 − f ( a ) = 0 , I'(a) = f(a + p)\cdot 1 - f(a) = 0, I ′ ( a ) = f ( a + p ) ⋅ 1 − f ( a ) = 0 ,
由周期性。在区间 R \R R 上导数为 0 的函数是常数(模块 8),因此 I ( a ) = I ( 0 ) I(a) = I(0) I ( a ) = I ( 0 ) 对于每一个 a 。 a\mathclose{\text{。}} a 。
(b) 将 [ 0 , n p ] [0, np] [ 0 , n p ] 分割为 n n n 个区间 [ k p , ( k + 1 ) p ] , [kp, (k + 1)p]\mathclose{\text{,}} [ k p , ( k + 1 ) p ] , 对于 k = 0 , 1 , … , n − 1 : k = 0, 1, \dots, n - 1\mathclose{\text{:}} k = 0 , 1 , … , n − 1 :
∫ 0 n p f ( x ) d x = ∑ k = 0 n − 1 I ( k p ) = n I ( 0 ) = n ∫ 0 p f ( x ) d x . \begin{aligned} \int_0^{np} f(x)\,dx &= \sum_{k=0}^{n-1} I(kp) = n\,I(0) \\ &= n\int_0^p f(x)\,dx. \end{aligned} ∫ 0 n p f ( x ) d x = k = 0 ∑ n − 1 I ( k p ) = n I ( 0 ) = n ∫ 0 p f ( x ) d x .
(c) ∣ sin x ∣ \abs{\sin x} ∣ sin x ∣ 是连续的,且以 π \pi π 为周期,因为 ∣ sin ( x + π ) ∣ = ∣ − sin x ∣ = ∣ sin x ∣ 。 \abs{\sin(x + \pi)} = \abs{-\sin x} = \abs{\sin x}\mathclose{\text{。}} ∣ sin ( x + π ) ∣ = ∣ − sin x ∣ = ∣ sin x ∣ 。 根据 (a),
∫ 1 1 + π ∣ sin x ∣ d x = ∫ 0 π ∣ sin x ∣ d x = ∫ 0 π sin x d x = 2. \begin{aligned} \int_1^{1 + \pi} \abs{\sin x}\,dx &= \int_0^\pi \abs{\sin x}\,dx \\ &= \int_0^\pi \sin x\,dx = 2. \end{aligned} ∫ 1 1 + π ∣ sin x ∣ d x = ∫ 0 π ∣ sin x ∣ d x = ∫ 0 π sin x d x = 2.
验证: sin x > 0 \sin x > 0 sin x > 0 在 ( 1 , π ) (1, \pi) ( 1 , π ) 上, sin x < 0 \sin x < 0 sin x < 0 在 ( π , 1 + π ) (\pi, 1 + \pi) ( π , 1 + π ) 上,因此积分是
∫ 1 π sin x d x − ∫ π 1 + π sin x d x = ( 1 + cos 1 ) + ( 1 − cos 1 ) = 2. \begin{aligned} &\int_1^\pi \sin x\,dx - \int_\pi^{1 + \pi} \sin x\,dx \\ &\quad= (1 + \cos 1) + (1 - \cos 1) = 2. \end{aligned} ∫ 1 π sin x d x − ∫ π 1 + π sin x d x = ( 1 + cos 1 ) + ( 1 − cos 1 ) = 2.
练习 10.12 ★★★ 对称性下的正弦平方
(a) 使用替换 u = π 2 − x u = \dfrac{\pi}{2} - x u = 2 π − x 来证明 ∫ 0 π / 2 sin n x d x = ∫ 0 π / 2 cos n x d x \displaystyle\int_0^{\pi/2} \sin^n x\,dx = \int_0^{\pi/2} \cos^n x\,dx ∫ 0 π /2 sin n x d x = ∫ 0 π /2 cos n x d x 对于每一个正整数 n 。 n\mathclose{\text{。}} n 。
(b) 利用 sin 2 x + cos 2 x = 1 \sin^2 x + \cos^2 x = 1 sin 2 x + cos 2 x = 1 推导出 ∫ 0 π / 2 sin 2 x d x = π 4 。 \displaystyle\int_0^{\pi/2} \sin^2 x\,dx = \frac{\pi}{4}\mathclose{\text{。}} ∫ 0 π /2 sin 2 x d x = 4 π 。
(c) 求 ∫ 0 π sin 2 x d x \displaystyle\int_0^\pi \sin^2 x\,dx ∫ 0 π sin 2 x d x 和 sin 2 x \sin^2 x sin 2 x 在 [ 0 , π ] [0, \pi] [ 0 , π ] 上的平均值。
查看解答✓ 已检验
(a) 与 u = π 2 − x , u = \dfrac{\pi}{2} - x\mathclose{\text{,}} u = 2 π − x , d u = − d x ; du = -dx\mathclose{\text{;}} d u = − d x ; x = 0 x = 0 x = 0 给出 u = π 2 , u = \dfrac{\pi}{2}\mathclose{\text{,}} u = 2 π , x = π 2 x = \dfrac{\pi}{2} x = 2 π 给出 u = 0 。 u = 0\mathclose{\text{。}} u = 0 。 由模块 1 的加法公式,sin ( π 2 − u ) = sin π 2 cos u − cos π 2 sin u = cos u 。 \sin\Big(\dfrac{\pi}{2} - u\Big) = \sin\dfrac{\pi}{2}\cos u - \cos\dfrac{\pi}{2}\sin u = \cos u\mathclose{\text{。}} sin ( 2 π − u ) = sin 2 π cos u − cos 2 π sin u = cos u 。 因此由定理 10.7
∫ 0 π / 2 sin n x d x = ∫ π / 2 0 cos n u ( − d u ) = ∫ 0 π / 2 cos n u d u . \begin{aligned} \int_0^{\pi/2} \sin^n x\,dx &= \int_{\pi/2}^0 \cos^n u\,(-du) \\ &= \int_0^{\pi/2} \cos^n u\,du. \end{aligned} ∫ 0 π /2 sin n x d x = ∫ π /2 0 cos n u ( − d u ) = ∫ 0 π /2 cos n u d u .
(b) 设 S = ∫ 0 π / 2 sin 2 x d x 。 S = \int_0^{\pi/2} \sin^2 x\,dx\mathclose{\text{。}} S = ∫ 0 π /2 sin 2 x d x 。 由 (a),∫ 0 π / 2 cos 2 x d x = S \int_0^{\pi/2} \cos^2 x\,dx = S ∫ 0 π /2 cos 2 x d x = S 同样成立。相加,
2 S = ∫ 0 π / 2 ( sin 2 x + cos 2 x ) d x = ∫ 0 π / 2 1 d x = π 2 , \begin{aligned} 2S &= \int_0^{\pi/2} \big(\sin^2 x + \cos^2 x\big)\,dx \\ &= \int_0^{\pi/2} 1\,dx = \frac{\pi}{2}, \end{aligned} 2 S = ∫ 0 π /2 ( sin 2 x + cos 2 x ) d x = ∫ 0 π /2 1 d x = 2 π ,
所以 S = π 4 。 S = \dfrac{\pi}{4}\mathclose{\text{。}} S = 4 π 。 未需要 sin 2 x \sin^2 x sin 2 x 的原函数。
(c) 在 [ π 2 , π ] [\tfrac{\pi}{2}, \pi] [ 2 π , π ] 中替换 u = π − x : u = \pi - x\mathclose{\text{:}} u = π − x : 因为 sin ( π − u ) = sin u , \sin(\pi - u) = \sin u\mathclose{\text{,}} sin ( π − u ) = sin u , ∫ π / 2 π sin 2 x d x = ∫ 0 π / 2 sin 2 u d u = π 4 . \int_{\pi/2}^\pi \sin^2 x\,dx = \int_0^{\pi/2} \sin^2 u\,du = \dfrac{\pi}{4}\mathclose{\text{.}} ∫ π /2 π sin 2 x d x = ∫ 0 π /2 sin 2 u d u = 4 π . 所以 ∫ 0 π sin 2 x d x = π 2 , \int_0^\pi \sin^2 x\,dx = \dfrac{\pi}{2}\mathclose{\text{,}} ∫ 0 π sin 2 x d x = 2 π , 且平均值为 1 π ⋅ π 2 = 1 2 . \dfrac{1}{\pi}\cdot\dfrac{\pi}{2} = \dfrac12\mathclose{\text{.}} π 1 ⋅ 2 π = 2 1 . 这就是为什么一个交流电压 V 0 sin ω t V_0\sin\omega t V 0 sin ω t 在平均上相当于一个恒定电压 V 0 / 2 V_0/\sqrt2 V 0 / 2 的功率:功率与电压的平方成正比,且 sin 2 \sin^2 sin 2 在半个周期内的平均值为 1 2 . \tfrac12\mathclose{\text{.}} 2 1 .
1 哪个函数是
1 x 2 \dfrac{1}{x^2} x 2 1 在
( 0 , ∞ ) (0, \infty) ( 0 , ∞ ) 上的原函数?
ln ( x 2 ) \ln(x^2) ln ( x 2 ) − 1 x -\dfrac{1}{x} − x 1 − 2 x 3 -\dfrac{2}{x^3} − x 3 2 1 x \dfrac{1}{x} x 1 写出
1 x 2 = x − 2 , \dfrac{1}{x^2} = x^{-2}\mathclose{\text{,}} x 2 1 = x − 2 , 将幂次加 1 并除以新的幂次:
x − 1 − 1 = − 1 x ; \dfrac{x^{-1}}{-1} = -\dfrac1x\mathclose{\text{;}} − 1 x − 1 = − x 1 ; 检查:
( − x − 1 ) ′ = x − 2 。 \big(-x^{-1}\big)' = x^{-2}\mathclose{\text{。}} ( − x − 1 ) ′ = x − 2 。 − 2 x 3 -\dfrac{2}{x^3} − x 3 2 是
1 x 2 \dfrac{1}{x^2} x 2 1 的导数,不是原函数。
ln ( x 2 ) = 2 ln x \ln(x^2) = 2\ln x ln ( x 2 ) = 2 ln x 的导数是
2 x 。 \dfrac2x\mathclose{\text{。}} x 2 。 1 x \dfrac1x x 1 的导数是
− 1 x 2 : -\dfrac{1}{x^2}\mathclose{\text{:}} − x 2 1 : 符号错误。
2 设
f f f 在
R \R R 和
A ( x ) = ∫ 2 x f ( t ) d t A(x) = \displaystyle\int_2^x f(t)\,dt A ( x ) = ∫ 2 x f ( t ) d t 上连续。则
A ′ ( x ) A'(x) A ′ ( x ) 是
f ( x ) − f ( 2 ) f(x) - f(2) f ( x ) − f ( 2 ) f ′ ( x ) f'(x) f ′ ( x ) f ( x ) f(x) f ( x ) f ( 2 ) f(2) f ( 2 ) 根据基本定理第一部分,面积函数的导数是积分上限处的被积函数:
f ( x ) 。 f(x)\mathclose{\text{。}} f ( x ) 。 下限 2 仅将
A A A 移动一个常数,因此不会出现在
A ′ A' A ′ 中;
f ( x ) − f ( 2 ) f(x) - f(2) f ( x ) − f ( 2 ) 和
f ( 2 ) f(2) f ( 2 ) 错误地引入了它。
f ′ ( x ) f'(x) f ′ ( x ) 求导次数过多一次。
3 d d x ∫ 0 x 3 cos t d t \dfrac{d}{dx}\displaystyle\int_0^{x^3} \cos t\,dt d x d ∫ 0 x 3 cos t d t 等于
3 x 2 cos ( x 3 ) 3x^2\cos(x^3) 3 x 2 cos ( x 3 ) cos ( x 3 ) \cos(x^3) cos ( x 3 ) sin ( x 3 ) \sin(x^3) sin ( x 3 ) 3 x 2 cos x 3x^2\cos x 3 x 2 cos x 由
u ( x ) = x 3 , u(x) = x^3\mathclose{\text{,}} u ( x ) = x 3 , 定理10.3给出
cos ( u ( x ) ) u ′ ( x ) = 3 x 2 cos ( x 3 ) 。 \cos\big(u(x)\big)\,u'(x) = 3x^2\cos(x^3)\mathclose{\text{。}} cos ( u ( x ) ) u ′ ( x ) = 3 x 2 cos ( x 3 ) 。 cos ( x 3 ) \cos(x^3) cos ( x 3 ) 忽略了因子
u ′ ( x ) = 3 x 2 。 u'(x) = 3x^2\mathclose{\text{。}} u ′ ( x ) = 3 x 2 。 sin ( x 3 ) \sin(x^3) sin ( x 3 ) 是积分本身
sin ( x 3 ) − sin 0 , \sin(x^3) - \sin 0\mathclose{\text{,}} sin ( x 3 ) − sin 0 , 而非其导数。
3 x 2 cos x 3x^2\cos x 3 x 2 cos x 将
x x x 代入余弦函数以替代
x 3 。 x^3\mathclose{\text{。}} x 3 。
4 ∫ 1 3 3 x 2 d x \displaystyle\int_1^3 3x^2\,dx ∫ 1 3 3 x 2 d x 等于
12 12 12 27 27 27 28 28 28 26 26 26 x 3 x^3 x 3 是一个原函数,因此积分是
3 3 − 1 3 = 27 − 1 = 26 。 3^3 - 1^3 = 27 - 1 = 26\mathclose{\text{。}} 3 3 − 1 3 = 27 − 1 = 26 。 27 忘记减去
F ( 1 ) , F(1)\mathclose{\text{,}} F ( 1 ) , 而 28 加上了它。12 是
[ 6 x ] 1 3 = 18 − 6 , \big[6x\big]_1^3 = 18 - 6\mathclose{\text{,}} [ 6 x ] 1 3 = 18 − 6 , 它使用了
3 x 2 3x^2 3 x 2 的导数而不是一个原函数。
5 一个粒子沿直线运动,速度为
v ( t ) = t − 2 v(t) = t - 2 v ( t ) = t − 2 米每秒持续
0 ≤ t ≤ 4 。 0 \le t \le 4\mathclose{\text{。}} 0 ≤ t ≤ 4 。 它行驶的距离是多少?
0 m 2 m 4 m 8 m 速度
∣ t − 2 ∣ \abs{t - 2} ∣ t − 2 ∣ 限定了两个三角形,每个三角形的底为 2,高为 2,因此面积为 2:距离是
2 + 2 = 4 2 + 2 = 4 2 + 2 = 4 米。0 米是位移,即
∫ 0 4 ( t − 2 ) d t : \int_0^4 (t - 2)\,dt\mathclose{\text{:}} ∫ 0 4 ( t − 2 ) d t : 粒子先向后移动 2 米,再向前移动 2 米,最终回到起点。2 米只计算了其中一个运动阶段,而 8 米是
∫ 0 4 t d t , \int_0^4 t\,dt\mathclose{\text{,}} ∫ 0 4 t d t , 它忽略了
− 2 。 -2\mathclose{\text{。}} − 2 。
6 用
u = x 2 + 1 , u = x^2 + 1\mathclose{\text{,}} u = x 2 + 1 , 积分
∫ 0 1 x ( x 2 + 1 ) 3 d x \displaystyle\int_0^1 x(x^2 + 1)^3\,dx ∫ 0 1 x ( x 2 + 1 ) 3 d x 变为
1 2 ∫ 1 2 u 3 d u \dfrac12\displaystyle\int_1^2 u^3\,du 2 1 ∫ 1 2 u 3 d u ∫ 1 2 u 3 d u \displaystyle\int_1^2 u^3\,du ∫ 1 2 u 3 d u 1 2 ∫ 0 1 u 3 d u \dfrac12\displaystyle\int_0^1 u^3\,du 2 1 ∫ 0 1 u 3 d u ∫ 0 1 u 3 d u \displaystyle\int_0^1 u^3\,du ∫ 0 1 u 3 d u d u = 2 x d x , du = 2x\,dx\mathclose{\text{,}} d u = 2 x d x , 因此
x d x = 1 2 d u ; x\,dx = \tfrac12\,du\mathclose{\text{;}} x d x = 2 1 d u ; 并且积分限随变量变化:
x = 0 x = 0 x = 0 给出
u = 1 , u = 1\mathclose{\text{,}} u = 1 , x = 1 x = 1 x = 1 给出
u = 2 。 u = 2\mathclose{\text{。}} u = 2 。 因此积分是
1 2 ∫ 1 2 u 3 d u = 15 8 。 \tfrac12\int_1^2 u^3\,du = \tfrac{15}{8}\mathclose{\text{。}} 2 1 ∫ 1 2 u 3 d u = 8 15 。 其他选项要么忽略了因子
1 2 , \tfrac12\mathclose{\text{,}} 2 1 , 要么保留了旧的积分限 0 和 1,要么两者都忽略了。
7 积分
sin x cos x \sin x\cos x sin x cos x 与
u = cos x , u = \cos x\mathclose{\text{,}} u = cos x , 你得到
− 1 2 cos 2 x + C ; -\tfrac12\cos^2 x + C\mathclose{\text{;}} − 2 1 cos 2 x + C ; SymPy 打印
sin(x)**2/2。哪一个正确?
你的答案错误,而 SymPy 的正确 SymPy 的答案错误,因为它没有包含 + C +\,C + C 两者都错误,因为它们是不同的函数 两者都正确:它们相差一个常数 1 2 \tfrac12 2 1 1 2 sin 2 x − ( − 1 2 cos 2 x ) = 1 2 ( sin 2 x + cos 2 x ) = 1 2 \tfrac12\sin^2 x - \big(-\tfrac12\cos^2 x\big) = \tfrac12(\sin^2 x + \cos^2 x) = \tfrac12 2 1 sin 2 x − ( − 2 1 cos 2 x ) = 2 1 ( sin 2 x + cos 2 x ) = 2 1 是一个常数,且在区间上的原函数可能相差一个常数(定理 10.1);对任一函数求导都得到
sin x cos x 。 \sin x\cos x\mathclose{\text{。}} sin x cos x 。 SymPy 通常省略 “
+ C +\,C + C ”,这并不使其答案错误,且两个不同的函数都可以是同一函数的原函数。
8 ∫ − 1 1 ( x 3 + 3 x 2 ) d x \displaystyle\int_{-1}^1 (x^3 + 3x^2)\,dx ∫ − 1 1 ( x 3 + 3 x 2 ) d x 等于
0 0 0 2 2 2 4 4 4 1 1 1 x 3 x^3 x 3 是奇函数,因此在
[ − 1 , 1 ] [-1, 1] [ − 1 , 1 ] 上的积分是 0;
3 x 2 3x^2 3 x 2 是偶函数,因此其积分是
2 ∫ 0 1 3 x 2 d x = 2 [ x 3 ] 0 1 = 2 。 2\int_0^1 3x^2\,dx = 2\big[x^3\big]_0^1 = 2\mathclose{\text{。}} 2 ∫ 0 1 3 x 2 d x = 2 [ x 3 ] 0 1 = 2 。 总和为 2。0 将整个被积函数视为奇函数;1 忘记加倍;4 双倍两次。
重新作答