模块 1 提出了两个问题(第 1.1 节 )。切线问题要求求曲线在一点的斜率,第 II 部分用导数解决了这个问题。面积问题要求求曲线下的面积,图 1.1 提示了一种方法:用细长的矩形填满该区域,将它们的面积相加,并观察当矩形越来越细时,总和趋近于什么数值。本模块将实施这一计划。它的答案是 定积分 ,微积分的第二个重要思想。
面积问题
你知道矩形的面积(宽乘以高)和三角形的面积(底的一半乘以高),并且每个多边形都可以分割成三角形。具有曲边的区域则不同:无法通过切割将其转化为三角形。考虑最简单的例子,即抛物线 y = x 2 y = x^2 y = x 2 从 x = 0 x = 0 x = 0 到 x = 1 x = 1 x = 1 之间的区域,该区域由曲线、 x x x 轴和直线 x = 1 x = 1 x = 1 所围成。称其面积为 A 。 A\mathclose{\text{。}} A 。
你暂时还不能计算 A , A\mathclose{\text{,}} A , 但你可以将其夹在两个值之间。这个想法很古老:公元前3世纪,阿基米德用“穷竭法”找到了面积,通过用更简单的形状不断填满一个区域,这种方法是本模块中和的前身。将 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 分成四个宽度为 1 4 \tfrac14 4 1 的条带。曲线在每个条带内上升,因此一个高度等于曲线上该条带左端点高度的矩形会位于曲线下方,而一个高度等于曲线上该条带右端点高度的矩形则会覆盖该条带在区域中的部分(图9.1,左图)。
例 9.1用两个和夹住一个面积 ✓ 已检验
用四个条带,找出曲线 y = x 2 y = x^2 y = x 2 在区间 0 到 1 下方的面积 A A A 的一个下界和一个上界。
条带为[ 0 , 1 4 ] 、 \big[0, \tfrac14\big]\mathclose{\text{、}} [ 0 , 4 1 ] 、 [ 1 4 , 1 2 ] 、 \big[\tfrac14, \tfrac12\big]\mathclose{\text{、}} [ 4 1 , 2 1 ] 、 [ 1 2 , 3 4 ] \big[\tfrac12, \tfrac34\big] [ 2 1 , 4 3 ] 和[ 3 4 , 1 ] , \big[\tfrac34, 1\big]\mathclose{\text{,}} [ 4 3 , 1 ] , 每个宽度为1 4 。 \tfrac14\mathclose{\text{。}} 4 1 。 在它们的左端,曲线的高度分别为0 2 、 0^2\mathclose{\text{、}} 0 2 、 ( 1 4 ) 2 、 \big(\tfrac14\big)^2\mathclose{\text{、}} ( 4 1 ) 2 、 ( 1 2 ) 2 \big(\tfrac12\big)^2 ( 2 1 ) 2 和( 3 4 ) 2 , \big(\tfrac34\big)^2\mathclose{\text{,}} ( 4 3 ) 2 , 即0 、 0\mathclose{\text{、}} 0 、 1 16 、 \tfrac{1}{16}\mathclose{\text{、}} 16 1 、 4 16 \tfrac{4}{16} 16 4 和9 16 。 \tfrac{9}{16}\mathclose{\text{。}} 16 9 。 因此,曲线下矩形的总面积为
1 4 ( 0 + 1 16 + 4 16 + 9 16 ) = 14 64 = 0.21875. \begin{aligned} &\frac14\Big(0 + \frac{1}{16} + \frac{4}{16} + \frac{9}{16}\Big) \\ &\quad= \frac{14}{64} = 0.21875. \end{aligned} 4 1 ( 0 + 16 1 + 16 4 + 16 9 ) = 64 14 = 0.21875.
在右侧端点的高度分别是 1 16 , \tfrac{1}{16}\mathclose{\text{,}} 16 1 , 4 16 , \tfrac{4}{16}\mathclose{\text{,}} 16 4 , 9 16 \tfrac{9}{16} 16 9 和 1 , 1\mathclose{\text{,}} 1 , 因此覆盖的矩形总面积为
1 4 ( 1 16 + 4 16 + 9 16 + 16 16 ) = 30 64 = 0.46875. \begin{aligned} &\frac14\Big(\frac{1}{16} + \frac{4}{16} + \frac{9}{16} + \frac{16}{16}\Big) \\ &\quad= \frac{30}{64} = 0.46875. \end{aligned} 4 1 ( 16 1 + 16 4 + 16 9 + 16 16 ) = 64 30 = 0.46875.
该区域包含前四个矩形,并位于后四个矩形内部,因此
0.21875 < A < 0.46875. 0.21875 < A < 0.46875. 0.21875 < A < 0.46875.
两个总面积相差 0.25 。 0.25\mathclose{\text{。}} 0.25 。 每个高度(除第一个和最后一个外)在两个总面积中都出现,因此差值为 1 4 ( 1 − 0 ) : \tfrac14\big(1 - 0\big)\mathclose{\text{:}} 4 1 ( 1 − 0 ) : 即条带宽度乘以 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 两端高度之差。
四个条带留下较大的间隙,但更细的条带可以填补。使用 100 个条带时,两个总面积分别为 0.32835 和 0.33835(第 9.3 节计算得出),间隙仅为 1 100 。 \tfrac{1}{100}\mathclose{\text{。}} 100 1 。 它们逐渐逼近 1 3 , \tfrac13\mathclose{\text{,}} 3 1 , 第 9.3 节证明了 A = 1 3 。 A = \tfrac13\mathclose{\text{。}} A = 3 1 。
距离问题
一辆以恒定速度 20 m/s 行驶 10 秒的汽车行驶了 20 × 10 = 200 20 \times 10 = 200 20 × 10 = 200 米。在速度-时间图上,速度是一条高度为 20 的水平线,距离是其下方矩形的面积:宽度为 10 秒,高度为 20 米每秒。单位相乘,秒乘以米每秒得到米。
当速度变化时,速度图下方的面积仍然是距离。模块 1 中下落的球在 t t t 秒后速度为 v ( t ) = 9.8 t v(t) = 9.8t v ( t ) = 9.8 t m/s(第 4.1 节 )。其速度图是一条通过原点的直线,因此从时间 0 到时间 t t t 的区域是一个底边为 t 、 t\mathclose{\text{、}} t 、 高为 9.8 t 9.8t 9.8 t 的三角形,面积为
1 2 ⋅ t ⋅ 9.8 t = 4.9 t 2 . \frac12 \cdot t \cdot 9.8t = 4.9t^2. 2 1 ⋅ t ⋅ 9.8 t = 4.9 t 2 .
这正是球下落的距离 s ( t ) = 4.9 t 2 s(t) = 4.9t^2 s ( t ) = 4.9 t 2 (第 1.3 节 )。这并非巧合:第 9.4 节解释了原因,模块 10 证明了这一点。
通常没有速度的公式,只有读数。
例 9.2从速度表计算距离 ✓ 已检验
假设一位乘客每隔 2 秒读取一次汽车的速度表,当汽车从静止加速时,将读数转换为米每秒。这些数字是虚构的:
时间 t t t (秒)
速度 v v v (米/秒)
0
0
2
6
4
11
6
15
8
18
10
20
估计这 10 秒内汽车行驶的距离。
汽车在整个过程中加速,因此在每个2秒的时间间隔内,其速度介于该间隔开始时的读数与结束时的读数之间。在m m m 到M M M 的速度范围内持续Δ t \Delta t Δ t 秒,汽车行驶的距离介于m Δ t m\,\Delta t m Δ t 到M Δ t M\,\Delta t M Δ t 米之间。(模块8的均值定理 使这一点精确化:从t 1 t_1 t 1 到t 2 t_2 t 2 所覆盖的距离为v ( c ) ( t 2 − t 1 ) , v(c)(t_2 - t_1)\mathclose{\text{,}} v ( c ) ( t 2 − t 1 ) , 对应于其间某个时刻c 。) c\mathclose{\text{。)}} c 。) 对五个区间求和,距离至少为
2 ( 0 + 6 + 11 + 15 + 18 ) = 2 × 50 = 100 m \begin{aligned} &2(0 + 6 + 11 + 15 + 18) \\ &\quad= 2 \times 50 = 100 \text{ m} \end{aligned} 2 ( 0 + 6 + 11 + 15 + 18 ) = 2 × 50 = 100 m
并且最多为
2 ( 6 + 11 + 15 + 18 + 20 ) = 2 × 70 = 140 m . \begin{aligned} &2(6 + 11 + 15 + 18 + 20) \\ &\quad= 2 \times 70 = 140 \text{ m}. \end{aligned} 2 ( 6 + 11 + 15 + 18 + 20 ) = 2 × 70 = 140 m .
因此,汽车行驶的距离介于 100 米和 140 米之间。这两个值的平均值 120 米是一个合理的单一估计值;模块 11 在“梯形法则”的名称下研究了这一点。
两个估计值相差 40 米。在 2、4、6 和 8 秒时的读数同时出现在两个总和中,因此差异为 2 × ( 20 − 0 ) : 2 \times (20 - 0)\mathclose{\text{:}} 2 × ( 20 − 0 ) : 时间步长乘以从第一个读数到最后一个读数的速度变化。每秒读一次速度表,差距将减半,为 20 米。
图 9.1 两个问题其实是同一个。左:曲线 y = x 2 y = x^2 y = x 2 在 0 到 1 之间的面积介于蓝色矩形的总和 0.21875 和橙色矩形的总和 0.46875 之间(例 9.1)。右:例 9.2 的速度读数(点);所行距离介于蓝色总和 100 米和橙色总和 140 米之间。
要点
面积问题和距离问题实际上是同一个问题。将区间分成小段;在每一小段上,将变化的高度(或速度)用一个常数代替;将矩形的面积相加,即高度乘以宽度(或速度乘以时间);然后让这些小段变小。总和趋近于精确答案。本模块其余部分将这些步骤转化为一个定义,即定积分,并转化为计算定积分的方法。
注意
左端的读数只给出下界估计,这是因为速度在增加。对于减速的汽车,它们给出上界估计(练习 9.3)。对于先上升后下降的速度,这两个和都不必是下界或上界估计(练习 9.9)。
第 9.1 节的和有四个或五个项。更细的条带会产生更长的和,可能有上千项,或有 n n n 项,其中 n n n 是未知数。它们需要一种紧凑的符号表示。
定义 9.1西格玛符号
对于整数 m ≤ n m \le n m ≤ n 和数 a m , a m + 1 , … , a n , a_m, a_{m+1}, \dots, a_n\mathclose{\text{,}} a m , a m + 1 , … , a n ,
∑ i = m n a i = a m + a m + 1 + ⋯ + a n . \sum_{i=m}^{n} a_i = a_m + a_{m+1} + \dots + a_n. i = m ∑ n a i = a m + a m + 1 + ⋯ + a n .
符号 ∑ \sum ∑ 是希腊大写西格玛,表示“求和”,左边读作“a i a_i a i 从 i i i 到 m m m 的和”。字母 n n n 是求和的 i i i 下标 , 和 m m m 是求和的 n n n 下限** 和上限 **。
下标变量遍历所有整数 m , m + 1 , … , n , m, m + 1, \dots, n\mathclose{\text{,}} m , m + 1 , … , n , 每个值对应一项,因此共有 n − m + 1 n - m + 1 n − m + 1 项。(此处的“极限”表示范围的端点,而非模块 2 中的“极限”概念。)例如,
∑ i = 1 5 i 2 = 1 + 4 + 9 + 16 + 25 = 55 , ∑ k = 0 3 2 k = 1 + 2 + 4 + 8 = 15 , ∑ i = 1 4 1 i = 1 + 1 2 + 1 3 + 1 4 = 25 12 . \begin{aligned} \sum_{i=1}^{5} i^2 &= 1 + 4 + 9 + 16 + 25 = 55, \\[5pt] \sum_{k=0}^{3} 2^k &= 1 + 2 + 4 + 8 = 15, \\[5pt] \sum_{i=1}^{4} \frac{1}{i} &= 1 + \frac12 + \frac13 + \frac14 = \frac{25}{12}. \end{aligned} i = 1 ∑ 5 i 2 k = 0 ∑ 3 2 k i = 1 ∑ 4 i 1 = 1 + 4 + 9 + 16 + 25 = 55 , = 1 + 2 + 4 + 8 = 15 , = 1 + 2 1 + 3 1 + 4 1 = 12 25 .
下标是一个 虚拟变量(dummy variable) :其名称无关紧要,因此 ∑ i = 1 5 i 2 \sum_{i=1}^{5} i^2 ∑ i = 1 5 i 2 和 ∑ k = 1 5 k 2 \sum_{k=1}^{5} k^2 ∑ k = 1 5 k 2 是同一个数 55,且都不依赖于 i i i 或 k 。 k\mathclose{\text{。}} k 。 反过来,从求和表达式转换为西格玛符号,需找到下标 i i i 对应的项的公式。奇数 1 , 3 , 5 , … 1, 3, 5, \dots 1 , 3 , 5 , … 是 2 i − 1 2i - 1 2 i − 1 到 i = 1 , 2 , 3 , … i = 1, 2, 3, \dots i = 1 , 2 , 3 , … 的和,即 2 i − 1 = 99 2i - 1 = 99 2 i − 1 = 99 在 i = 50 i = 50 i = 50 处,因此
1 + 3 + 5 + ⋯ + 99 = ∑ i = 1 50 ( 2 i − 1 ) . 1 + 3 + 5 + \dots + 99 = \sum_{i=1}^{50} (2i - 1). 1 + 3 + 5 + ⋯ + 99 = i = 1 ∑ 50 ( 2 i − 1 ) .
如果 v i v_i v i 是例 9.2 在时间 t = 2 i t = 2i t = 2 i 的速度读数,那么那里的两个估计值分别是 ∑ i = 0 4 2 v i = 100 \sum_{i=0}^{4} 2v_i = 100 ∑ i = 0 4 2 v i = 100 和 ∑ i = 1 5 2 v i = 140 。 \sum_{i=1}^{5} 2v_i = 140\mathclose{\text{。}} ∑ i = 1 5 2 v i = 140 。
定理 9.1和的规则
对于数 a i a_i a i 和 b i , b_i\mathclose{\text{,}} b i , 一个常数 c c c 和整数 m ≤ n m \le n m ≤ n (在第三条规则中 n ≥ 1 n \ge 1 n ≥ 1 出现),
∑ i = m n c a i = c ∑ i = m n a i , ∑ i = m n ( a i + b i ) = ∑ i = m n a i + ∑ i = m n b i , ∑ i = 1 n c = n c . \begin{aligned} \sum_{i=m}^{n} c\,a_i &= c\sum_{i=m}^{n} a_i, \\[5pt] \sum_{i=m}^{n} \big(a_i + b_i\big) &= \sum_{i=m}^{n} a_i + \sum_{i=m}^{n} b_i, \\[5pt] \sum_{i=1}^{n} c &= nc. \end{aligned} i = m ∑ n c a i i = m ∑ n ( a i + b i ) i = 1 ∑ n c = c i = m ∑ n a i , = i = m ∑ n a i + i = m ∑ n b i , = n c .
第二条规则同样适用于将 − - − 替换为 + + + 的情况。
证明
将和写出来。第一条规则是分配律:c a m + ⋯ + c a n = c ( a m + ⋯ + a n ) 。 ca_m + \dots + ca_n = c(a_m + \dots + a_n)\mathclose{\text{。}} c a m + ⋯ + c a n = c ( a m + ⋯ + a n ) 。 第二条规则重新分组项,这是加法允许的:( a m + b m ) + ⋯ + ( a n + b n ) = ( a m + ⋯ + a n ) + ( b m + ⋯ + b n ) 。 (a_m + b_m) + \dots + (a_n + b_n) = (a_m + \dots + a_n) + (b_m + \dots + b_n)\mathclose{\text{。}} ( a m + b m ) + ⋯ + ( a n + b n ) = ( a m + ⋯ + a n ) + ( b m + ⋯ + b n ) 。 在第三条规则中,项 c c c 不依赖于 i , i\mathclose{\text{,}} i , 因此和为 c + c + ⋯ + c , c + c + \dots + c\mathclose{\text{,}} c + c + ⋯ + c , 共有 n n n 项,即 n c 。 nc\mathclose{\text{。}} n c 。 包含 − - − 的规则由前两条规则推导得出,即 c = − 1 。 c = -1\mathclose{\text{。}} c = − 1 。
∎
注意
和并不逐项相乘:∑ a i b i \sum a_i b_i ∑ a i b i 不等于 ( ∑ a i ) ( ∑ b i ) 。 \big(\sum a_i\big)\big(\sum b_i\big)\mathclose{\text{。}} ( ∑ a i ) ( ∑ b i ) 。 对于 a i = b i = i a_i = b_i = i a i = b i = i 和 n = 2 , n = 2\mathclose{\text{,}} n = 2 , ∑ i = 1 2 i ⋅ i = 1 + 4 = 5 , \sum_{i=1}^{2} i \cdot i = 1 + 4 = 5\mathclose{\text{,}} ∑ i = 1 2 i ⋅ i = 1 + 4 = 5 , 而 ( 1 + 2 ) ( 1 + 2 ) = 9 。 (1 + 2)(1 + 2) = 9\mathclose{\text{。}} ( 1 + 2 ) ( 1 + 2 ) = 9 。 和也不逐项相除,或置于根号下。一个常数相加 n n n 次等于 n c , nc\mathclose{\text{,}} n c , 而不是 c : c\mathclose{\text{:}} c : ∑ i = 1 10 3 = 30 。 \sum_{i=1}^{10} 3 = 30\mathclose{\text{。}} ∑ i = 1 10 3 = 30 。
幂的和
x 、 x\mathclose{\text{、}} x 、 x 2 x^2 x 2 和 x 3 x^3 x 3 的黎曼和(第 9.3 和 9.4 节,以及练习 9.5)导致从 1 到 n n n 的整数和,以及它们的平方和立方和。每个都有一个闭合表达式。
定理 9.2幂的和
对于每一个整数 n ≥ 1 , n \ge 1\mathclose{\text{,}} n ≥ 1 , 从 1 到 n n n 的整数和、它们的平方和以及它们的立方和为
∑ i = 1 n i = n ( n + 1 ) 2 , ∑ i = 1 n i 2 = n ( n + 1 ) ( 2 n + 1 ) 6 , ∑ i = 1 n i 3 = ( n ( n + 1 ) 2 ) 2 . \begin{aligned} \sum_{i=1}^{n} i &= \frac{n(n + 1)}{2}, \\[5pt] \sum_{i=1}^{n} i^2 &= \frac{n(n + 1)(2n + 1)}{6}, \\[5pt] \sum_{i=1}^{n} i^3 &= \left(\frac{n(n + 1)}{2}\right)^2. \end{aligned} i = 1 ∑ n i i = 1 ∑ n i 2 i = 1 ∑ n i 3 = 2 n ( n + 1 ) , = 6 n ( n + 1 ) ( 2 n + 1 ) , = ( 2 n ( n + 1 ) ) 2 .
以下三个证明使用了三种不同的思想,每种都值得掌握。
这是通常以高斯命名的配对论证。将和 S = 1 + 2 + ⋯ + n S = 1 + 2 + \dots + n S = 1 + 2 + ⋯ + n 从前往后和从后往前写出,然后按列相加:
S = 1 + 2 + ⋯ + n , S = n + ( n − 1 ) + ⋯ + 1 , 2 S = ( n + 1 ) + ⋯ + ( n + 1 ) . \begin{aligned} S &= 1 + 2 + \dots + n, \\ S &= n + (n - 1) + \dots + 1, \\ 2S &= (n + 1) + \dots + (n + 1). \end{aligned} S S 2 S = 1 + 2 + ⋯ + n , = n + ( n − 1 ) + ⋯ + 1 , = ( n + 1 ) + ⋯ + ( n + 1 ) .
每一列的两个数相加等于 n + 1 , n + 1\mathclose{\text{,}} n + 1 , 因为一个数增加 1 时,另一个数减少 1;共有 n n n 列。因此 2 S = n ( n + 1 ) , 2S = n(n + 1)\mathclose{\text{,}} 2 S = n ( n + 1 ) , 和 S = n ( n + 1 ) 2 。 S = \dfrac{n(n + 1)}{2}\mathclose{\text{。}} S = 2 n ( n + 1 ) 。
∎
证明 平方和
展开 ( i + 1 ) 3 = i 3 + 3 i 2 + 3 i + 1 (i + 1)^3 = i^3 + 3i^2 + 3i + 1 ( i + 1 ) 3 = i 3 + 3 i 2 + 3 i + 1 得到,对于每一个 i , i\mathclose{\text{,}} i ,
( i + 1 ) 3 − i 3 = 3 i 2 + 3 i + 1. (i + 1)^3 - i^3 = 3i^2 + 3i + 1. ( i + 1 ) 3 − i 3 = 3 i 2 + 3 i + 1.
将以下方程加到 i = 1 , 2 , … , n 。 i = 1, 2, \dots, n\mathclose{\text{。}} i = 1 , 2 , … , n 。 左边几乎所有项都相互抵消:
∑ i = 1 n [ ( i + 1 ) 3 − i 3 ] = ( 2 3 − 1 3 ) + ( 3 3 − 2 3 ) + … + ( ( n + 1 ) 3 − n 3 ) = ( n + 1 ) 3 − 1 , \begin{aligned} &\sum_{i=1}^{n}\big[(i + 1)^3 - i^3\big] \\[5pt] &\quad= (2^3 - 1^3) + (3^3 - 2^3) + \dots \\[5pt] &\qquad + \big((n + 1)^3 - n^3\big) \\[5pt] &\quad= (n + 1)^3 - 1, \end{aligned} i = 1 ∑ n [ ( i + 1 ) 3 − i 3 ] = ( 2 3 − 1 3 ) + ( 3 3 − 2 3 ) + … + ( ( n + 1 ) 3 − n 3 ) = ( n + 1 ) 3 − 1 ,
因为除了 ( n + 1 ) 3 (n + 1)^3 ( n + 1 ) 3 和 1 3 1^3 1 3 以外,每个立方体都出现一次加号和一次减号。像这样坍缩的和,像折叠裂项相消一样,称为 裂项相消和(telescoping sum) 。右边,对于 S = ∑ i = 1 n i 2 , S = \sum_{i=1}^{n} i^2\mathclose{\text{,}} S = ∑ i = 1 n i 2 , 和的规则以及第一个公式给出
∑ i = 1 n ( 3 i 2 + 3 i + 1 ) = 3 S + 3 n ( n + 1 ) 2 + n . \begin{aligned} &\sum_{i=1}^{n}\big(3i^2 + 3i + 1\big) \\[5pt] &\quad= 3S + \frac{3n(n + 1)}{2} + n. \end{aligned} i = 1 ∑ n ( 3 i 2 + 3 i + 1 ) = 3 S + 2 3 n ( n + 1 ) + n .
所以 3 S = ( n + 1 ) 3 − 1 − n − 3 n ( n + 1 ) 2 。 3S = (n + 1)^3 - 1 - n - \tfrac{3n(n + 1)}{2}\mathclose{\text{。}} 3 S = ( n + 1 ) 3 − 1 − n − 2 3 n ( n + 1 ) 。 由于 − 1 − n = − ( n + 1 ) , -1 - n = -(n + 1)\mathclose{\text{,}} − 1 − n = − ( n + 1 ) , 右边的每一项都包含因子 n + 1 ; n + 1\mathclose{\text{;}} n + 1 ; 将其提出并化简:
3 S = ( n + 1 ) [ ( n + 1 ) 2 − 1 − 3 n 2 ] = ( n + 1 ) ( n 2 + n 2 ) = n ( n + 1 ) ( 2 n + 1 ) 2 . \begin{aligned} 3S &= (n + 1)\Big[(n + 1)^2 - 1 - \frac{3n}{2}\Big] \\ &= (n + 1)\Big(n^2 + \frac{n}{2}\Big) \\ &= \frac{n(n + 1)(2n + 1)}{2}. \end{aligned} 3 S = ( n + 1 ) [ ( n + 1 ) 2 − 1 − 2 3 n ] = ( n + 1 ) ( n 2 + 2 n ) = 2 n ( n + 1 ) ( 2 n + 1 ) .
除以 3 得到第二个公式。
∎
第三个证明使用 数学归纳法 ,这是 练习 5.10 ] 用来证明幂法则的方法。它通过两个步骤证明一个陈述 P ( n ) P(n) P ( n ) 对于每一个整数 n ≥ 1 n \ge 1 n ≥ 1 都成立:
基础情形 :P ( 1 ) P(1) P ( 1 ) 成立;
归纳步骤 :对于每一个 k ≥ 1 , k \ge 1\mathclose{\text{,}} k ≥ 1 , 如果 P ( k ) P(k) P ( k ) 成立,那么 P ( k + 1 ) P(k + 1) P ( k + 1 ) 也成立。
那么 P ( 1 ) P(1) P ( 1 ) 成立;根据归纳步骤与 k = 1 , k = 1\mathclose{\text{,}} k = 1 , P ( 2 ) P(2) P ( 2 ) 也成立;同样,P ( 3 ) P(3) P ( 3 ) 也成立,依据 k = 2 ; k = 2\mathclose{\text{;}} k = 2 ; 如此类推,如同一排多米诺骨牌,每一枚都推倒下一枚。
证明 立方和的和
设 P ( n ) P(n) P ( n ) 表示 ∑ i = 1 n i 3 = n 2 ( n + 1 ) 2 4 。 \sum_{i=1}^{n} i^3 = \dfrac{n^2(n + 1)^2}{4}\mathclose{\text{。}} ∑ i = 1 n i 3 = 4 n 2 ( n + 1 ) 2 。 对于基础情形,当 n = 1 n = 1 n = 1 时,两边均为 1。对于归纳步骤,假设对于某个 k ≥ 1 , k \ge 1\mathclose{\text{,}} k ≥ 1 , P ( k ) P(k) P ( k ) 成立。前 k + 1 k + 1 k + 1 项的和等于前 k k k 项的和加上一项,因此,提取公共因子 ( k + 1 ) 2 , (k + 1)^2\mathclose{\text{,}} ( k + 1 ) 2 ,
∑ i = 1 k + 1 i 3 = k 2 ( k + 1 ) 2 4 + ( k + 1 ) 3 = ( k + 1 ) 2 ( k 2 + 4 k + 4 ) 4 = ( k + 1 ) 2 ( k + 2 ) 2 4 . \begin{aligned} \sum_{i=1}^{k+1} i^3 &= \frac{k^2(k + 1)^2}{4} + (k + 1)^3 \\[5pt] &= \frac{(k + 1)^2\big(k^2 + 4k + 4\big)}{4} \\[5pt] &= \frac{(k + 1)^2(k + 2)^2}{4}. \end{aligned} i = 1 ∑ k + 1 i 3 = 4 k 2 ( k + 1 ) 2 + ( k + 1 ) 3 = 4 ( k + 1 ) 2 ( k 2 + 4 k + 4 ) = 4 ( k + 1 ) 2 ( k + 2 ) 2 .
即为 P ( k + 1 ) : P(k + 1)\mathclose{\text{:}} P ( k + 1 ) : 将 k + 1 k + 1 k + 1 代入 n n n 的公式。通过归纳法,可知对于每个 n ≥ 1 , {n \ge 1}\mathclose{\text{,}} n ≥ 1 , P ( n ) P(n) P ( n ) 成立。
∎
第三个公式表示 1 3 + 2 3 + ⋯ + n 3 = ( 1 + 2 + ⋯ + n ) 2 : 1^3 + 2^3 + \dots + n^3 = (1 + 2 + \dots + n)^2\mathclose{\text{:}} 1 3 + 2 3 + ⋯ + n 3 = ( 1 + 2 + ⋯ + n ) 2 : 立方和等于和的平方。
例 9.3公式求和 ✓ 已检验
求:
(a) ∑ i = 1 100 i \sum_{i=1}^{100} i ∑ i = 1 100 i
(b) ∑ i = 1 n ( 2 i − 1 ) , \sum_{i=1}^{n} (2i - 1)\mathclose{\text{,}} ∑ i = 1 n ( 2 i − 1 ) , 即前 n n n 个奇数的和
(c) ∑ i = 1 10 ( 3 i 2 − 4 i ) \sum_{i=1}^{10} \big(3i^2 - 4i\big) ∑ i = 1 10 ( 3 i 2 − 4 i )
(d) ∑ i = 1 20 i 3 \sum_{i=1}^{20} i^3 ∑ i = 1 20 i 3
(a) 与 n = 100 : n = 100\mathclose{\text{:}} n = 100 : 100 ⋅ 101 2 = 5050 。 \dfrac{100 \cdot 101}{2} = 5050\mathclose{\text{。}} 2 100 ⋅ 101 = 5050 。
(b) 根据求和规则和第一个公式,
∑ i = 1 n ( 2 i − 1 ) = 2 ∑ i = 1 n i − ∑ i = 1 n 1 = n ( n + 1 ) − n = n 2 . \begin{aligned} \sum_{i=1}^{n} (2i - 1) &= 2\sum_{i=1}^{n} i - \sum_{i=1}^{n} 1 \\[5pt] &= n(n + 1) - n = n^2. \end{aligned} i = 1 ∑ n ( 2 i − 1 ) = 2 i = 1 ∑ n i − i = 1 ∑ n 1 = n ( n + 1 ) − n = n 2 .
前 n n n 个奇数的和为 n 2 : n^2\mathclose{\text{:}} n 2 : 1 + 3 = 4 , 1 + 3 = 4\mathclose{\text{,}} 1 + 3 = 4 , 1 + 3 + 5 = 9 , 1 + 3 + 5 = 9\mathclose{\text{,}} 1 + 3 + 5 = 9 , 依此类推。使用 n = 50 , n = 50\mathclose{\text{,}} n = 50 , 1 + 3 + ⋯ + 99 = 2500 。 1 + 3 + \dots + 99 = 2500\mathclose{\text{。}} 1 + 3 + ⋯ + 99 = 2500 。
(c) 根据包含 n = 10 , n = 10\mathclose{\text{,}} n = 10 , ∑ i = 1 10 i 2 = 10 ⋅ 11 ⋅ 21 6 = 385 \sum_{i=1}^{10} i^2 = \dfrac{10 \cdot 11 \cdot 21}{6} = 385 ∑ i = 1 10 i 2 = 6 10 ⋅ 11 ⋅ 21 = 385 和 ∑ i = 1 10 i = 55 \sum_{i=1}^{10} i = 55 ∑ i = 1 10 i = 55 的公式。因此,和为 3 ⋅ 385 − 4 ⋅ 55 = 935 。 3 \cdot 385 - 4 \cdot 55 = 935\mathclose{\text{。}} 3 ⋅ 385 − 4 ⋅ 55 = 935 。
(d) ( 20 ⋅ 21 2 ) 2 = 210 2 = 44,100 . \Big(\dfrac{20 \cdot 21}{2}\Big)^2 = 210^2 = 44{,}100\mathclose{\text{.}} ( 2 20 ⋅ 21 ) 2 = 21 0 2 = 44 , 100 .
动手计算使用 Python 和 SymPy 的求和
Python 内置的 sum 可以将给定的数字相加,而 range(1, n + 1) 可以生成从 1 到 n n n 的整数:
Python 复制
print (sum (range (1 , 101 ))) # 1 + 2 + ... + 100
print (sum (i**2 for i in range (1 , 11 ))) # 1 + 4 + ... + 100
print (sum (range (1 , 100 ))) # stops at 99
range(a, b) 在 b 之前停止,因此第三行漏掉了 100:典型的 off-by-one 错误。SymPy 的 summation 可以求和上限为符号的和。声明符号为正整数可以告诉它 i i i 和 n n n 是什么类型的数:
Python 复制
import sympy as sp
i, n = sp.symbols ('i n' , integer=True , positive=True )
S2 = sp.summation (i**2 , (i, 1 , n))
print (S2)
print (sp.factor (S2))
print (sp.factor (sp.summation (i**3 , (i, 1 , n))))
print (sp.summation (2 *i - 1 , (i, 1 , n)))
输出
n**3/3 + n**2/2 + n/6
n*(n + 1)*(2*n + 1)/6
n**2*(n + 1)**2/4
n**2
SymPy 返回平方和的展开形式; factor 将其转换为定理 9.2 的形式。
以下为第9.1节的一般求和内容。设 f f f 在 [ a , b ] [a, b] [ a , b ] 上定义,并将 [ a , b ] [a, b] [ a , b ] 等分成 n n n 个等宽子区间
Δ x = b − a n , \Delta x = \frac{b - a}{n}, Δ x = n b − a ,
读作 “delta x”。切割点为 x i = a + i Δ x x_i = a + i\,\Delta x x i = a + i Δ x 对应 i = 0 , 1 , … , n , i = 0, 1, \dots, n\mathclose{\text{,}} i = 0 , 1 , … , n , 因此 x 0 = a x_0 = a x 0 = a 和 x n = b , x_n = b\mathclose{\text{,}} x n = b , 且第 i i i 个子区间为 [ x i − 1 , x i ] 。 [x_{i-1}, x_i]\mathclose{\text{。}} [ x i − 1 , x i ] 。 在每个子区间上取一个高度:即在该子区间的左端点 x i − 1 、 x_{i-1}\mathclose{\text{、}} x i − 1 、 右端点 x i x_i x i 或中点处 f f f 的值
m i = x i − 1 + x i 2 = a + ( i − 1 2 ) Δ x . m_i = \frac{x_{i-1} + x_i}{2} = a + \Big(i - \frac12\Big)\Delta x. m i = 2 x i − 1 + x i = a + ( i − 2 1 ) Δ x .
定义 9.2左和、右和与中点和
用这种记号表示,函数 f f f 在 [ a , b ] [a, b] [ a , b ] 上,将 n n n 个子区间划分的左和 left sum 、右和 right sum 和中点和midpoint sum 为
L n = ∑ i = 1 n f ( x i − 1 ) Δ x , R n = ∑ i = 1 n f ( x i ) Δ x , M n = ∑ i = 1 n f ( m i ) Δ x . \begin{aligned} L_n &= \sum_{i=1}^{n} f(x_{i-1})\,\Delta x, \\[5pt] R_n &= \sum_{i=1}^{n} f(x_i)\,\Delta x, \\[5pt] M_n &= \sum_{i=1}^{n} f(m_i)\,\Delta x. \end{aligned} L n R n M n = i = 1 ∑ n f ( x i − 1 ) Δ x , = i = 1 ∑ n f ( x i ) Δ x , = i = 1 ∑ n f ( m i ) Δ x .
它们是 Riemann 和 的例子,以德国数学家 Riemann 命名,他在 1854 年定义了第 9.4 节中的积分(该成果于 1868 年发表)。
当 f f f 为正时,每一项是宽度为 Δ x \Delta x Δ x 的矩形的面积;当 f f f 为负时,该项为负值,第 9.4 节解释了这样的项代表什么。在例 9.1 中,两个总和分别为 L 4 = 0.21875 L_4 = 0.21875 L 4 = 0.21875 和 R 4 = 0.46875 R_4 = 0.46875 R 4 = 0.46875 对于 f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上的积分。对于一个正的递增函数, L n L_n L n 总是面积的下界估计, R n R_n R n 是上界估计;对于一个正的递减函数,则正好相反。
例 9.4
三个和式用于 1 / x 1/x 1/ x ✓ 已检验
求 L 4 、 L_4\mathclose{\text{、}} L 4 、 R 4 R_4 R 4 和 M 4 M_4 M 4 在 f ( x ) = 1 / x f(x) = 1/x f ( x ) = 1/ x 上 [ 1 , 2 ] [1, 2] [ 1 , 2 ] 的积分,精确到小数点后四位,并说明它们告诉你的关于图像下方面积的信息。
这里 Δ x = 2 − 1 4 = 1 4 。 \Delta x = \tfrac{2 - 1}{4} = \tfrac14\mathclose{\text{。}} Δ x = 4 2 − 1 = 4 1 。 分界点是 1 、 1\mathclose{\text{、}} 1 、 5 4 、 \tfrac54\mathclose{\text{、}} 4 5 、 3 2 、 \tfrac32\mathclose{\text{、}} 2 3 、 7 4 \tfrac74 4 7 和 2 , 2\mathclose{\text{,}} 2 , 其中 f f f 取值为 1 、 1\mathclose{\text{、}} 1 、 4 5 、 \tfrac45\mathclose{\text{、}} 5 4 、 2 3 、 \tfrac23\mathclose{\text{、}} 3 2 、 4 7 \tfrac47 7 4 和 1 2 。 \tfrac12\mathclose{\text{。}} 2 1 。 因此
L 4 = 1 4 ( 1 + 4 5 + 2 3 + 4 7 ) = 319 420 ≈ 0.7595 , R 4 = 1 4 ( 4 5 + 2 3 + 4 7 + 1 2 ) = 533 840 ≈ 0.6345. \begin{aligned} L_4 &= \frac14\Big(1 + \frac45 + \frac23 + \frac47\Big) \\ &= \frac{319}{420} \approx 0.7595, \\ R_4 &= \frac14\Big(\frac45 + \frac23 + \frac47 + \frac12\Big) \\ &= \frac{533}{840} \approx 0.6345. \end{aligned} L 4 R 4 = 4 1 ( 1 + 5 4 + 3 2 + 7 4 ) = 420 319 ≈ 0.7595 , = 4 1 ( 5 4 + 3 2 + 7 4 + 2 1 ) = 840 533 ≈ 0.6345.
中点分别是 9 8 , \tfrac98\mathclose{\text{,}} 8 9 , 11 8 , \tfrac{11}{8}\mathclose{\text{,}} 8 11 , 13 8 \tfrac{13}{8} 8 13 和 15 8 , \tfrac{15}{8}\mathclose{\text{,}} 8 15 , 其中 f f f 取值为 8 9 , \tfrac89\mathclose{\text{,}} 9 8 , 8 11 , \tfrac{8}{11}\mathclose{\text{,}} 11 8 , 8 13 \tfrac{8}{13} 13 8 和 8 15 : \tfrac{8}{15}\mathclose{\text{:}} 15 8 :
M 4 = 1 4 ( 8 9 + 8 11 + 8 13 + 8 15 ) ≈ 0.6912. \begin{aligned} M_4 &= \frac14\Big(\frac89 + \frac{8}{11} + \frac{8}{13} + \frac{8}{15}\Big) \\ &\approx 0.6912. \end{aligned} M 4 = 4 1 ( 9 8 + 11 8 + 13 8 + 15 8 ) ≈ 0.6912.
由于 1 / x 1/x 1/ x 在 [ 1 , 2 ] [1, 2] [ 1 , 2 ] 上递减,因此在每个子区间内,其左端点的值最大,右端点的值最小。因此,左端点的矩形覆盖了区域,而右端点的矩形则位于区域内(图9.2):面积 A A A 介于 R 4 ≈ 0.6345 R_4 \approx 0.6345 R 4 ≈ 0.6345 和 L 4 ≈ 0.7595 L_4 \approx 0.7595 L 4 ≈ 0.7595 之间。中点求和的值也介于两者之间,因为每个中点高度在其子区间端点高度之间。它还比 A A A 更接近:每个中点矩形在其子区间的左半部分低于曲线,在右半部分则超出曲线,这两个误差几乎相互抵消。模块10显示 A = ln 2 ≈ 0.693147 , A = \ln 2 \approx 0.693147\mathclose{\text{,}} A = ln 2 ≈ 0.693147 , 因此 M 4 M_4 M 4 已经在 0.002 以内。
图 9.2 左、右和中点求和法用于 f ( x ) = 1 / x f(x) = 1/x f ( x ) = 1/ x 在 [ 1 , 2 ] [1, 2] [ 1 , 2 ] 上的 n = 4 n = 4 n = 4 (例9.4);点标记了高度被取的位置。由于 1 / x 1/x 1/ x 是递减的,左端的矩形在图上方突出,右端的矩形则在图下方;中点矩形在每个子区间左半部分低于图线,在右半部分则高于图线。
当 n n n 增大时,这些和如何趋近于面积?以下是 f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上的三种和:
n n n L n L_n L n R n R_n R n M n M_n M n 4 4 4 0.21875 0.21875 0.21875 0.46875 0.46875 0.46875 0.328125 0.328125 0.328125 10 10 10 0.285 0.285 0.285 0.385 0.385 0.385 0.3325 0.3325 0.3325 100 100 100 0.32835 0.32835 0.32835 0.33835 0.33835 0.33835 0.333325 0.333325 0.333325
所有三种和都逐渐逼近 1 3 = 0.3333 … : \tfrac13 = 0.3333\ldots\mathclose{\text{:}} 3 1 = 0.3333 … : 对于任何递增函数,左和从下方趋近,右和从上方趋近,而中点和则比两者都快得多。一个近似值的 误差 是精确值减去近似值:当近似值过小时为正,当近似值过大时为负。误差显示出收敛速度:
n n n 1 3 − R n \tfrac13 - R_n 3 1 − R n 1 3 − M n \tfrac13 - M_n 3 1 − M n 10 10 10 − 0.05166667 -0.05166667 − 0.05166667 0.00083333 0.00083333 0.00083333 20 20 20 − 0.02541667 -0.02541667 − 0.02541667 0.00020833 0.00020833 0.00020833 40 40 40 − 0.01260417 -0.01260417 − 0.01260417 0.00005208 0.00005208 0.00005208 80 80 80 − 0.00627604 -0.00627604 − 0.00627604 0.00001302 0.00001302 0.00001302
每次 n n n 双倍,R n R_n R n 的误差大约减半,L n L_n L n 的误差也是如此,其大小几乎相同但符号相反;M n M_n M n 的误差则被精确地除以 4。下面的精确公式解释了这一点:R n R_n R n 的误差大约为 − 1 2 n , -\tfrac{1}{2n}\mathclose{\text{,}} − 2 n 1 , 而 M n M_n M n 的误差恰好为 1 12 n 2 。 \tfrac{1}{12n^2}\mathclose{\text{。}} 12 n 2 1 。 因此,使用一千倍的矩形会使左和右求和的精度大约提高一千倍,而中点求和的精度则提高一千万倍。模块 11 解释了原因,并将中点求和、梯形法则和辛普森法则构建为实用的数值积分方法。
动手计算Python 中的黎曼和
一个简短的函数计算了三种求和。它取 i = 0 , 1 , … , n − 1 i = 0, 1, \dots, n - 1 i = 0 , 1 , … , n − 1 在 a + ( i + shift ) Δ x a + (i + \text{shift})\,\Delta x a + ( i + shift ) Δ x 处的高,其中左端点的偏移为 0,右端点的偏移为 1,中点的偏移为 1 2 : \tfrac12\mathclose{\text{:}} 2 1 :
Python 复制
def riemann (f, a, b, n, rule):
dx = (b - a)/n
shift = {'left' : 0 , 'right' : 1 , 'mid' : 0.5 }[rule]
return sum (f (a + (i + shift)*dx) for i in range (n))*dx
def f (x):
return 1 /x
for rule in ['left' , 'right' , 'mid' ]:
print (rule, riemann (f, 1 , 2 , 4 , rule))
输出
left 0.7595238095238095
right 0.6345238095238095
mid 0.6912198912198912
这三种求和是例 9.4 中的三种和。现在,中点求和的误差,相对于 ln 2 \ln 2 ln 2 (模块 10 将找到的面积)进行测量:
Python 复制
import math
prev = None
for n in [10 , 20 , 40 , 80 ]:
err = math.log (2 ) - riemann (f, 1 , 2 , n, 'mid' )
note = '' if prev is None else f' previous/this = {prev/err:.3f}'
print (f'n = {n:2d} error = {err:.3e}{note}' )
prev = err
输出
n = 10 error = 3.118e-04
n = 20 error = 7.808e-05 previous/this = 3.993
n = 40 error = 1.953e-05 previous/this = 3.998
n = 80 error = 4.883e-06 previous/this = 4.000
误差为正:1 / x 1/x 1/ x 的中点和是略微偏小的。每次 n n n 倍增,误差几乎精确地减少为原来的四分之一,如同 x 2 x^2 x 2 的情况。
注意
三张黎曼和的便签。首先,Δ x \Delta x Δ x 是b − a n , \tfrac{b - a}{n}\mathclose{\text{,}} n b − a , 不是1 n : \tfrac1n\mathclose{\text{:}} n 1 : 在[ 1 , 3 ] [1, 3] [ 1 , 3 ] 上,n = 4 , n = 4\mathclose{\text{,}} n = 4 , Δ x = 0.5 。 \Delta x = 0.5\mathclose{\text{。}} Δ x = 0.5 。 其次,n n n 个子区间有n + 1 n + 1 n + 1 个切割点x 0 , … , x n ; x_0, \dots, x_n\mathclose{\text{;}} x 0 , … , x n ; 左和取前n n n 个,右和取后n n n 个,因此每个和都有n n n 项,不是n + 1 。 n + 1\mathclose{\text{。}} n + 1 。 第三,中点是子区间的中点,不是[ a , b ] [a, b] [ a , b ] 的中点:M 4 M_4 M 4 在[ 1 , 2 ] [1, 2] [ 1 , 2 ] 上,其高度取在9 8 , \tfrac98\mathclose{\text{,}} 8 9 , 11 8 , \tfrac{11}{8}\mathclose{\text{,}} 8 11 , 13 8 \tfrac{13}{8} 8 13 和15 8 。 \tfrac{15}{8}\mathclose{\text{。}} 8 15 。
精确面积作为极限
表格表明 y = x 2 y = x^2 y = x 2 从 0 到 1 下方的面积是 1 3 。 \tfrac13\mathclose{\text{。}} 3 1 。 平方和的公式将这个推测转化为一个证明。
例 9.5
y = x 2 y = x^2 y = x 2 下方的面积✓ 已检验
证明从 0 到 1 下方 y = x 2 y = x^2 y = x 2 的面积 A A A 恰好是 1 3 。 \tfrac13\mathclose{\text{。}} 3 1 。
这里 Δ x = 1 n \Delta x = \tfrac1n Δ x = n 1 和 x i = i n , x_i = \tfrac{i}{n}\mathclose{\text{,}} x i = n i , 所以 f ( x i ) = i 2 n 2 。 f(x_i) = \tfrac{i^2}{n^2}\mathclose{\text{。}} f ( x i ) = n 2 i 2 。 因子 1 n 3 \tfrac{1}{n^3} n 3 1 不依赖于 i , i\mathclose{\text{,}} i , 因此可以提出到和式外面(和式的第一个规则),并且定理 9.2 将其余部分相加:
R n = ∑ i = 1 n i 2 n 2 ⋅ 1 n = 1 n 3 ∑ i = 1 n i 2 = 1 n 3 ⋅ n ( n + 1 ) ( 2 n + 1 ) 6 = ( n + 1 ) ( 2 n + 1 ) 6 n 2 . \begin{aligned} R_n &= \sum_{i=1}^{n} \frac{i^2}{n^2}\cdot\frac1n = \frac{1}{n^3}\sum_{i=1}^{n} i^2 \\[5pt] &= \frac{1}{n^3}\cdot\frac{n(n + 1)(2n + 1)}{6} \\[5pt] &= \frac{(n + 1)(2n + 1)}{6n^2}. \end{aligned} R n = i = 1 ∑ n n 2 i 2 ⋅ n 1 = n 3 1 i = 1 ∑ n i 2 = n 3 1 ⋅ 6 n ( n + 1 ) ( 2 n + 1 ) = 6 n 2 ( n + 1 ) ( 2 n + 1 ) .
展开分子 ( n + 1 ) ( 2 n + 1 ) = 2 n 2 + 3 n + 1 , (n + 1)(2n + 1) = 2n^2 + 3n + 1\mathclose{\text{,}} ( n + 1 ) ( 2 n + 1 ) = 2 n 2 + 3 n + 1 , 并将每一项除以 6 n 2 , 6n^2\mathclose{\text{,}} 6 n 2 ,
R n = 1 3 + 1 2 n + 1 6 n 2 . R_n = \frac13 + \frac{1}{2n} + \frac{1}{6n^2}. R n = 3 1 + 2 n 1 + 6 n 2 1 .
左边的和具有相同的高度,只是 f ( x 0 ) = 0 f(x_0) = 0 f ( x 0 ) = 0 替换了 f ( x n ) = 1 , f(x_n) = 1\mathclose{\text{,}} f ( x n ) = 1 , 因此 L n = R n − 1 n : L_n = R_n - \tfrac1n\mathclose{\text{:}} L n = R n − n 1 :
L n = 1 3 − 1 2 n + 1 6 n 2 . L_n = \frac13 - \frac{1}{2n} + \frac{1}{6n^2}. L n = 3 1 − 2 n 1 + 6 n 2 1 .
当 n → ∞ 、 n \to \infty\mathclose{\text{、}} n → ∞ 、 1 n \tfrac1n n 1 和 1 n 2 \tfrac{1}{n^2} n 2 1 趋近于 0(无穷大极限,模块 3,其中 n n n 遍历所有整数),因此
lim n → ∞ L n = lim n → ∞ R n = 1 3 . \lim_{n\to\infty} L_n = \lim_{n\to\infty} R_n = \frac13. n → ∞ lim L n = n → ∞ lim R n = 3 1 .
由于 x 2 x^2 x 2 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上递增,对于每个 n , n\mathclose{\text{,}} n , 都有 L n ≤ A ≤ R n , L_n \le A \le R_n\mathclose{\text{,}} L n ≤ A ≤ R n , 如例 9.1 所示。因此 A A A 是一个被两个都趋近于 1 3 \tfrac13 3 1 的量夹逼的固定数,根据模块 2 的夹逼定理(同样适用于无穷大极限,模块 3),所以 A = 1 3 。 A = \tfrac13\mathclose{\text{。}} A = 3 1 。
中点求和采用相同的方法。中点为 m i = ( i − 1 2 ) 1 n , m_i = \big(i - \tfrac12\big)\tfrac1n\mathclose{\text{,}} m i = ( i − 2 1 ) n 1 , 因此 f ( m i ) Δ x = 1 n 3 ( i − 1 2 ) 2 。 f(m_i)\,\Delta x = \tfrac{1}{n^3}\big(i - \tfrac12\big)^2\mathclose{\text{。}} f ( m i ) Δ x = n 3 1 ( i − 2 1 ) 2 。 展开 ( i − 1 2 ) 2 = i 2 − i + 1 4 , \big(i - \tfrac12\big)^2 = i^2 - i + \tfrac14\mathclose{\text{,}} ( i − 2 1 ) 2 = i 2 − i + 4 1 , 使用所有三个求和法则以及定理 9.2 的前两个公式,然后展开括号并整理项:
M n = 1 n 3 ∑ i = 1 n ( i 2 − i + 1 4 ) = 1 n 3 ( n ( n + 1 ) ( 2 n + 1 ) 6 − n ( n + 1 ) 2 + n 4 ) = 1 n 3 ( n 3 3 − n 12 ) = 1 3 − 1 12 n 2 . \begin{aligned} M_n &= \frac{1}{n^3}\sum_{i=1}^{n}\Big(i^2 - i + \frac14\Big) \\[5pt] &= \frac{1}{n^3}\Big(\frac{n(n + 1)(2n + 1)}{6} \\[5pt] &\qquad - \frac{n(n + 1)}{2} + \frac{n}{4}\Big) \\[5pt] &= \frac{1}{n^3}\Big(\frac{n^3}{3} - \frac{n}{12}\Big) \\[5pt] &= \frac13 - \frac{1}{12n^2}. \end{aligned} M n = n 3 1 i = 1 ∑ n ( i 2 − i + 4 1 ) = n 3 1 ( 6 n ( n + 1 ) ( 2 n + 1 ) − 2 n ( n + 1 ) + 4 n ) = n 3 1 ( 3 n 3 − 12 n ) = 3 1 − 12 n 2 1 .
这就是为什么表格中的中点误差在 n n n 倍增时被恰好除以 4。
相同的步骤适用于 [ 0 , b ] [0, b] [ 0 , b ] 的任何 b > 0 。 b > 0\mathclose{\text{。}} b > 0 。 现在 Δ x = b n \Delta x = \tfrac{b}{n} Δ x = n b 和 x i = i b n , x_i = \tfrac{ib}{n}\mathclose{\text{,}} x i = n ib , 因此
R n = ∑ i = 1 n i 2 b 2 n 2 ⋅ b n = b 3 n 3 ∑ i = 1 n i 2 = b 3 ⋅ ( n + 1 ) ( 2 n + 1 ) 6 n 2 , \begin{aligned} R_n &= \sum_{i=1}^{n}\frac{i^2b^2}{n^2}\cdot\frac{b}{n} = \frac{b^3}{n^3}\sum_{i=1}^{n} i^2 \\[5pt] &= b^3\cdot\frac{(n + 1)(2n + 1)}{6n^2}, \end{aligned} R n = i = 1 ∑ n n 2 i 2 b 2 ⋅ n b = n 3 b 3 i = 1 ∑ n i 2 = b 3 ⋅ 6 n 2 ( n + 1 ) ( 2 n + 1 ) ,
趋近于 b 3 3 , \tfrac{b^3}{3}\mathclose{\text{,}} 3 b 3 , 而 L n = R n − b 3 n L_n = R_n - \tfrac{b^3}{n} L n = R n − n b 3 趋近于同一个数。从 0 到 b b b 下 y = x 2 y = x^2 y = x 2 的面积为 b 3 3 : \tfrac{b^3}{3}\mathclose{\text{:}} 3 b 3 : 8 3 \tfrac83 3 8 对应 b = 2 , b = 2\mathclose{\text{,}} b = 2 , 9 9 9 对应 b = 3 。 b = 3\mathclose{\text{。}} b = 3 。
左端、右端和中点求和分别以三种特定方式取高度,这些高度是在等宽子区间上计算的。这些选择没有任何强制性。子区间内的任意一点都可以作为高度,且子区间可以有不同的宽度:例如在图像变化快的地方使用较窄的区间。定积分的定义确保这些选择不会影响结果。
定义 9.3分划与黎曼和
设a < b 。 a < b\mathclose{\text{。}} a < b 。 [ a , b ] [a, b] [ a , b ] 的一个划分 P P P 是点a = x 0 < x 1 < ⋯ < x n = b a = x_0 < x_1 < \dots < x_n = b a = x 0 < x 1 < ⋯ < x n = b 的列表。它将[ a , b ] [a, b] [ a , b ] 切割为n n n 个子区间[ x i − 1 , x i ] , [x_{i-1}, x_i]\mathclose{\text{,}} [ x i − 1 , x i ] , 其宽度为Δ x i = x i − x i − 1 ; \Delta x_i = x_i - x_{i-1}\mathclose{\text{;}} Δ x i = x i − x i − 1 ; 最大宽度为P P P 的范数 ,记作∥ P ∥ 。 \norm{P}\mathclose{\text{。}} ∥ P ∥ 。 在每个子区间[ x i − 1 , x i ] [x_{i-1}, x_i] [ x i − 1 , x i ] 中选取一个样本点 x i ∗ , x_i^*\mathclose{\text{,}} x i ∗ , 读作“x i star”。f f f 关于P P P 及这些样本点的黎曼和 为
∑ i = 1 n f ( x i ∗ ) Δ x i . \sum_{i=1}^{n} f(x_i^*)\,\Delta x_i. i = 1 ∑ n f ( x i ∗ ) Δ x i .
图9.3(左)展示了一个例子。左端和右端和中点的和是将区间划分为n n n 等份后的黎曼和,其范数为b − a n , \tfrac{b - a}{n}\mathclose{\text{,}} n b − a , 样本点分别取在左端点、右端点或中点。
定义 9.4定积分
设函数 f f f 定义在 [ a , b ] [a, b] [ a , b ] 上。如果分割逐渐加细时,黎曼和趋于某个数 I , I\mathclose{\text{,}} I , 就称它在 [ a , b ] [a, b] [ a , b ] 上可积 。具体来说,对每个 ε > 0 , \varepsilon > 0\mathclose{\text{,}} ε > 0 , 存在 δ > 0 , \delta > 0\mathclose{\text{,}} δ > 0 , 使得
∣ ∑ i = 1 n f ( x i ∗ ) Δ x i − I ∣ < ε \Big|\sum_{i=1}^{n} f(x_i^*)\,\Delta x_i - I\Big| < \varepsilon i = 1 ∑ n f ( x i ∗ ) Δ x i − I < ε
对 [ a , b ] [a, b] [ a , b ] 的每个满足 ∥ P ∥ < δ \norm{P} < \delta ∥ P ∥ < δ 的分割 P P P 和任意采样点 x i ∗ , x_i^*\mathclose{\text{,}} x i ∗ , 上式都成立。此时 I I I 称为 f f f 从 a a a 到 b b b 的定积分 ,记作
∫ a b f ( x ) d x = lim ∥ P ∥ → 0 ∑ i = 1 n f ( x i ∗ ) Δ x i . \int_a^b f(x)\,dx = \lim_{\norm{P}\to0}\sum_{i=1}^{n} f(x_i^*)\,\Delta x_i. ∫ a b f ( x ) d x = ∥ P ∥ → 0 lim i = 1 ∑ n f ( x i ∗ ) Δ x i .
该条件的形状与模块2中极限的ε–δ定义类似,其中黎曼和在f ( x ) f(x) f ( x ) 的位置,范数∥ P ∥ \norm{P} ∥ P ∥ 在表示x x x 与它趋近点之间的距离的位置:无论你设定多小的容忍度ε , \varepsilon\mathclose{\text{,}} ε , 只要分区足够细,每个黎曼和都在ε \varepsilon ε 之内I , I\mathclose{\text{,}} I , 无论样本点在哪里。它要求的比单变量函数的极限更多,因为黎曼和并不由∥ P ∥ \norm{P} ∥ P ∥ 唯一确定:许多分区具有相同的范数,每个分区允许许多样本点的选择,而所有这些和都必须接近I 。 I\mathclose{\text{。}} I 。 符号lim ∥ P ∥ → 0 , \lim_{\norm{P}\to0}\mathclose{\text{,}} lim ∥ P ∥ → 0 , 读作“当P P P 的范数趋近于0时的极限”,正是对这一条件的简写。只能存在这样一个数I : I\mathclose{\text{:}} I : 当ε \varepsilon ε 小于这两个数之间的距离的一半时,两个不同的数不能同时都在同一个黎曼和的ε \varepsilon ε 之内。
如何读记号。 ∫ a b f ( x ) d x \int_a^b f(x)\,dx ∫ a b f ( x ) d x 读作「对 x x x 的函数 f f f 从 a a a 积分到 b , b\mathclose{\text{,}} b , d x 」。 dx\mathclose{\text{」。}} d x 」。 符号 ∫ \int ∫ 是莱布尼茨的记号(模块 1),形状是拉长的 S,提醒我们积分是和的极限。函数 f ( x ) f(x) f ( x ) 叫作被积函数 ,a a a 和 b b b 分别是积分下限和上限 ,即区间的端点,有别于模块 2 的极限。d x dx d x 对应各小区间的宽度 Δ x i , \Delta x_i\mathclose{\text{,}} Δ x i , 于是 f ( x ) d x f(x)\,dx f ( x ) d x 呼应 f ( x i ∗ ) Δ x i , f(x_i^*)\,\Delta x_i\mathclose{\text{,}} f ( x i ∗ ) Δ x i , 也标明了积分变量。定积分的值是一个数,不是 x x x 的函数。与求和下标类似,x x x 是哑变量,
∫ a b f ( x ) d x = ∫ a b f ( t ) d t = ∫ a b f ( u ) d u . \int_a^b f(x)\,dx = \int_a^b f(t)\,dt = \int_a^b f(u)\,du. ∫ a b f ( x ) d x = ∫ a b f ( t ) d t = ∫ a b f ( u ) d u .
当 f f f 可积且 f ( x ) ≥ 0 f(x) \ge 0 f ( x ) ≥ 0 在 [ a , b ] [a, b] [ a , b ] 上时,积分是从 a a a 到 b b b 的 f f f 图像下方的面积。实际上,积分现在是该面积的定义,它会给出你已经知道的面积,如下文所示。
哪些函数是可积的?几乎是你将遇到的每一个函数。
定理 9.3可积函数
如果 f f f 在 [ a , b ] [a, b] [ a , b ] 上连续,则 f f f 在 [ a , b ] [a, b] [ a , b ] 上可积。更一般地,f f f 在 [ a , b ] [a, b] [ a , b ] 上可积,如果它在该区间上有界(存在一个数 K , K\mathclose{\text{,}} K , 使得对于每个 x x x 在 [ a , b ] [a, b] [ a , b ] 中都有 ∣ f ( x ) ∣ ≤ K ), \abs{f(x)} \le K\mathclose{\text{),}} ∣ f ( x ) ∣ ≤ K ), 并且在 [ a , b ] [a, b] [ a , b ] 中只有有限个间断点,例如跳跃间断点。
该证明,如同极值定理的证明一样,需要实数的完备性,属于实分析课程的内容;本系列使用该定理而不作证明。它涵盖多项式、在任意区间 [ a , b ] [a, b] [ a , b ] 上的 sin x 、 \sin x\mathclose{\text{、}} sin x 、 cos x \cos x cos x 和 e x , e^x\mathclose{\text{,}} e x , 在不包含 0 的任意区间 [ a , b ] [a, b] [ a , b ] 上的 1 / x , 1/x\mathclose{\text{,}} 1/ x , 以及有限个跳跃间断点的分段函数。一旦知道 f f f 是可积的,就可以使用任意方便的黎曼和来计算其积分:
定理 9.4等分区间上的积分
如果 f f f 在 [ a , b ] [a, b] [ a , b ] 上可积,则
∫ a b f ( x ) d x = lim n → ∞ L n = lim n → ∞ R n = lim n → ∞ M n , \begin{aligned} \int_a^b f(x)\,dx &= \lim_{n\to\infty} L_n = \lim_{n\to\infty} R_n \\[5pt] &= \lim_{n\to\infty} M_n, \end{aligned} ∫ a b f ( x ) d x = n → ∞ lim L n = n → ∞ lim R n = n → ∞ lim M n ,
并且对于等分区间 n n n 中的任意其他样本点选择,也是如此。
证明
设 I = ∫ a b f ( x ) d x I = \int_a^b f(x)\,dx I = ∫ a b f ( x ) d x 和 ε > 0 , \varepsilon > 0\mathclose{\text{,}} ε > 0 , 并取一个 δ \delta δ 如定义 9.4 所述。将区间分成 n n n 等份,其范数为 b − a n , \tfrac{b - a}{n}\mathclose{\text{,}} n b − a , 只要 n > b − a δ n > \tfrac{b - a}{\delta} n > δ b − a 成立,该范数就小于 δ 。 \delta\mathclose{\text{。}} δ 。 对于所有这样的 n , n\mathclose{\text{,}} n , 该分法的每个黎曼和 L n , L_n\mathclose{\text{,}} L n , 其中 R n R_n R n 和 M n M_n M n 为其中的项,都与 I I I 的差小于 ε 。 \varepsilon\mathclose{\text{。}} ε 。 这就是 lim n → ∞ L n = I \lim_{n\to\infty} L_n = I lim n → ∞ L n = I 的意思,同样适用于 R n R_n R n 和 M n 。 M_n\mathclose{\text{。}} M n 。
∎
所以例 9.5 中的面积是一个积分:由于 x 2 x^2 x 2 是连续的,因此它是可积的(定理 9.3),并且根据定理 9.4,其积分为右和的极限。结合 [ 0 , b ] [0, b] [ 0 , b ] 的计算,
∫ 0 1 x 2 d x = 1 3 , ∫ 0 b x 2 d x = b 3 3 ( b > 0 ) . \int_0^1 x^2\,dx = \frac13, \qquad \int_0^b x^2\,dx = \frac{b^3}{3} \quad (b > 0). ∫ 0 1 x 2 d x = 3 1 , ∫ 0 b x 2 d x = 3 b 3 ( b > 0 ) .
积分也给出你已经知道的面积。函数 x x x 是连续的,其在 [ 0 , b ] [0, b] [ 0 , b ] 上的右和为
∑ i = 1 n i b n ⋅ b n = b 2 n 2 ⋅ n ( n + 1 ) 2 = b 2 2 ( 1 + 1 n ) , \sum_{i=1}^{n} \frac{ib}{n}\cdot\frac{b}{n} = \frac{b^2}{n^2}\cdot\frac{n(n + 1)}{2} = \frac{b^2}{2}\Big(1 + \frac1n\Big), i = 1 ∑ n n ib ⋅ n b = n 2 b 2 ⋅ 2 n ( n + 1 ) = 2 b 2 ( 1 + n 1 ) ,
哪种方法 b 2 2 : \tfrac{b^2}{2}\mathclose{\text{:}} 2 b 2 : x x x 从 0 到 b b b 的积分是其图像下方三角形的面积,底为 b , b\mathclose{\text{,}} b , 高为 b 。 b\mathclose{\text{。}} b 。 每个常函数 c ≥ 0 c \ge 0 c ≥ 0 的黎曼和都是 c ( b − a ) , c(b - a)\mathclose{\text{,}} c ( b − a ) , 因为宽度之和为 b − a : b - a\mathclose{\text{:}} b − a : 矩形的面积。模块 11 显示积分给出圆的面积 π r 2 。 \pi r^2\mathclose{\text{。}} π r 2 。
定理 9.4 中的假设 “f f f 可积” 不能省略:下面的“深入一步”框显示了一个右和有极限的函数,尽管它不可积。
例 9.6积分作为和的极限 ✓ 已检验
将 ∫ 1 3 x 2 d x \displaystyle\int_1^3 x^2\,dx ∫ 1 3 x 2 d x 表示为右和的极限。
被积函数是连续的,因此定理 9.4 允许你使用 R n 。 R_n\mathclose{\text{。}} R n 。 这里 Δ x = 2 n \Delta x = \tfrac2n Δ x = n 2 和 x i = 1 + 2 i n , x_i = 1 + \tfrac{2i}{n}\mathclose{\text{,}} x i = 1 + n 2 i , 因此
f ( x i ) = ( 1 + 2 i n ) 2 = 1 + 4 i n + 4 i 2 n 2 . f(x_i) = \Big(1 + \frac{2i}{n}\Big)^2 = 1 + \frac{4i}{n} + \frac{4i^2}{n^2}. f ( x i ) = ( 1 + n 2 i ) 2 = 1 + n 4 i + n 2 4 i 2 .
根据求和规则,将不依赖于 i i i 的因子提出每个和,
R n = ∑ i = 1 n ( 1 + 4 i n + 4 i 2 n 2 ) 2 n = 2 n ∑ i = 1 n 1 + 8 n 2 ∑ i = 1 n i + 8 n 3 ∑ i = 1 n i 2 = 2 + 8 n 2 ⋅ n ( n + 1 ) 2 + 8 n 3 ⋅ n ( n + 1 ) ( 2 n + 1 ) 6 = 2 + 4 ( n + 1 ) n + 4 ( n + 1 ) ( 2 n + 1 ) 3 n 2 . \begin{aligned} R_n &= \sum_{i=1}^{n}\Big(1 + \frac{4i}{n} + \frac{4i^2}{n^2}\Big)\frac2n \\[5pt] &= \frac2n\sum_{i=1}^{n} 1 + \frac{8}{n^2}\sum_{i=1}^{n} i \\[5pt] &\qquad + \frac{8}{n^3}\sum_{i=1}^{n} i^2 \\[5pt] &= 2 + \frac{8}{n^2}\cdot\frac{n(n + 1)}{2} \\[5pt] &\qquad + \frac{8}{n^3}\cdot\frac{n(n + 1)(2n + 1)}{6} \\[5pt] &= 2 + \frac{4(n + 1)}{n} \\[5pt] &\qquad + \frac{4(n + 1)(2n + 1)}{3n^2}. \end{aligned} R n = i = 1 ∑ n ( 1 + n 4 i + n 2 4 i 2 ) n 2 = n 2 i = 1 ∑ n 1 + n 2 8 i = 1 ∑ n i + n 3 8 i = 1 ∑ n i 2 = 2 + n 2 8 ⋅ 2 n ( n + 1 ) + n 3 8 ⋅ 6 n ( n + 1 ) ( 2 n + 1 ) = 2 + n 4 ( n + 1 ) + 3 n 2 4 ( n + 1 ) ( 2 n + 1 ) .
当 n → ∞ , n \to \infty\mathclose{\text{,}} n → ∞ , n + 1 n = 1 + 1 n \tfrac{n + 1}{n} = 1 + \tfrac1n n n + 1 = 1 + n 1 接近 1, ( n + 1 ) ( 2 n + 1 ) n 2 = 2 + 3 n + 1 n 2 \tfrac{(n + 1)(2n + 1)}{n^2} = 2 + \tfrac3n + \tfrac{1}{n^2} n 2 ( n + 1 ) ( 2 n + 1 ) = 2 + n 3 + n 2 1 接近 2,因此
∫ 1 3 x 2 d x = 2 + 4 + 8 3 = 26 3 ≈ 8.667. \int_1^3 x^2\,dx = 2 + 4 + \frac83 = \frac{26}{3} \approx 8.667. ∫ 1 3 x 2 d x = 2 + 4 + 3 8 = 3 26 ≈ 8.667.
比较从 0 到 ∫ 0 3 x 2 d x = 9 \int_0^3 x^2\,dx = 9 ∫ 0 3 x 2 d x = 9 和 ∫ 0 1 x 2 d x = 1 3 , \int_0^1 x^2\,dx = \tfrac13\mathclose{\text{,}} ∫ 0 1 x 2 d x = 3 1 , 以及 9 − 1 3 = 26 3 9 - \tfrac13 = \tfrac{26}{3} 9 − 3 1 = 3 26 的面积,应如此,因为从 1 到 3 的区域是从 0 到 3 的区域减去从 0 到 1 的区域。第 9.5 节将这种减法转化为一条规则。
动手计算使用 SymPy 计算黎曼和的极限
SymPy 可以完成例 9.6 的全部计算:用符号 n n n 构建右和,用 summation 将其相加,并让 n → ∞ n \to \infty n → ∞ 以 limit 为变量:
Python 复制
import sympy as sp
i, n = sp.symbols ('i n' , integer=True , positive=True )
a, b = 1 , 3
dx = sp.Integer (b - a)/n
xi = a + i*dx # the right ends
Rn = sp.summation (xi**2 *dx, (i, 1 , n))
print (sp.factor (Rn))
print (sp.limit (Rn, n, sp.oo))
输出
2*(13*n**2 + 12*n + 2)/(3*n**2)
26/3
因式分解后的右和是例 9.6 在公共分母下的公式。改变函数或区间并重新运行:对于 x 3 x^3 x 3 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上的积分,极限是 4(练习 9.5)。
深入一步不可积的函数
第一次阅读可以跳过这个框。定理 9.3 要求有界性和仅有限个间断点,定理 9.4 要求可积性。两个例子说明了原因。
过多的间断点。 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上,令 D ( x ) = 1 D(x) = 1 D ( x ) = 1 当 x x x 是有理数时,且 D ( x ) = 0 D(x) = 0 D ( x ) = 0 当 x x x 是无理数时。然而,每个分划的每个子区间,无论多窄,都包含有理数和无理数。选择所有样本点为有理数,则每一项都是 1 ⋅ Δ x i , 1 \cdot \Delta x_i\mathclose{\text{,}} 1 ⋅ Δ x i , 因此黎曼和为所有子区间的总宽度,即 1;选择所有样本点为无理数,则黎曼和为 0。无论 ∥ P ∥ \norm{P} ∥ P ∥ 多小,总有一些黎曼和为 1,另一些为 0,因此没有数 I I I 能在 ε = 1 2 \varepsilon = \tfrac12 ε = 2 1 的范围内接近所有这些值: D D D 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上不可积。然而其右端点和都是 1,因为右端点 i n \tfrac{i}{n} n i 都是有理数,所以 lim n → ∞ R n = 1 \lim_{n\to\infty} R_n = 1 lim n → ∞ R n = 1 存在。仅靠等宽和的极限并不能使函数可积。(D D D 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 的每个点上都间断。)
无界. 设 f ( x ) = 1 / x f(x) = 1/\sqrt{x} f ( x ) = 1/ x 为 0 < x ≤ 1 0 < x \le 1 0 < x ≤ 1 和 f ( 0 ) = 0 . f(0) = 0\mathclose{\text{.}} f ( 0 ) = 0 . 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 的每一个划分中,第一个子区间 [ 0 , x 1 ] [0, x_1] [ 0 , x 1 ] 包含可以任意接近 0 的点,其中 1 / x 1/\sqrt{x} 1/ x 可以任意大. 选择 x 1 ∗ x_1^* x 1 ∗ 足够接近 0,使得单项 f ( x 1 ∗ ) Δ x 1 f(x_1^*)\,\Delta x_1 f ( x 1 ∗ ) Δ x 1 以及整个黎曼和(其余项为正)大于你任意指定的数. 黎曼和趋近于无定义的数,因此 f f f 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上不可积. 相同的论证表明,每个可积函数都是有界的. 模块 12 给一些无界函数的积分赋予意义,作为瑕积分;这个积分将被证明等于 2.
带符号的面积
当f f f 为负时,黎曼和的项f ( x i ∗ ) Δ x i f(x_i^*)\,\Delta x_i f ( x i ∗ ) Δ x i 为负:它们是带负号的矩形面积。因此,积分将x x x 轴上方的面积计为正,下方的面积计为负:
∫ a b f ( x ) d x = ( area above the axis ) − ( area below the axis ) . \begin{aligned} \int_a^b f(x)\,dx &= (\text{area above the axis}) \\[5pt] &\quad - (\text{area below the axis}). \end{aligned} ∫ a b f ( x ) d x = ( area above the axis ) − ( area below the axis ) .
这是净面积 ,或有符号面积 ,在f f f 的图像与x x x 轴之间。总面积 在图像与轴之间将每一部分计为正:它是轴上方的面积加上轴下方的面积。由于∣ f ∣ \abs{f} ∣ f ∣ 的图像将轴下方的部分翻转,总面积是∫ a b ∣ f ( x ) ∣ d x 。 \int_a^b \abs{f(x)}\,dx\mathclose{\text{。}} ∫ a b ∣ f ( x ) ∣ d x 。 在图9.3(右)中,两部分完全抵消:净面积为0,但总面积不是。
图 9.3 左图:针对具有不等宽度Δ x i \Delta x_i Δ x i 的划分x 0 < x 1 < ⋯ < x 5 x_0 < x_1 < \dots < x_5 x 0 < x 1 < ⋯ < x 5 的黎曼和,以及每个子区间内任意位置的样本点x i ∗ x_i^* x i ∗ (点)。右图:例9.7的有向面积。x 2 − 2 x x^2 - 2x x 2 − 2 x 的图像在[ 0 , 2 ] [0, 2] [ 0 , 2 ] 上围成4 3 \tfrac43 3 4 的轴下面积,在[ 2 , 3 ] [2, 3] [ 2 , 3 ] 上围成4 3 \tfrac43 3 4 的轴上面积,因此从0到3的积分为0。
例 9.7符号面积 ✓ 已检验
将 ∫ 0 3 ( x 2 − 2 x ) d x \displaystyle\int_0^3 \big(x^2 - 2x\big)\,dx ∫ 0 3 ( x 2 − 2 x ) d x 表示为右和的极限。
被积函数是连续的,因此定理 9.4 适用。这里 Δ x = 3 n \Delta x = \tfrac3n Δ x = n 3 和 x i = 3 i n , x_i = \tfrac{3i}{n}\mathclose{\text{,}} x i = n 3 i , 所以 f ( x i ) = 9 i 2 n 2 − 6 i n f(x_i) = \tfrac{9i^2}{n^2} - \tfrac{6i}{n} f ( x i ) = n 2 9 i 2 − n 6 i 和
R n = ∑ i = 1 n ( 9 i 2 n 2 − 6 i n ) 3 n = 27 n 3 ∑ i = 1 n i 2 − 18 n 2 ∑ i = 1 n i = 9 ( n + 1 ) ( 2 n + 1 ) 2 n 2 − 9 ( n + 1 ) n . \begin{aligned} R_n &= \sum_{i=1}^{n}\Big(\frac{9i^2}{n^2} - \frac{6i}{n}\Big)\frac3n \\[5pt] &= \frac{27}{n^3}\sum_{i=1}^{n} i^2 - \frac{18}{n^2}\sum_{i=1}^{n} i \\[5pt] &= \frac{9(n + 1)(2n + 1)}{2n^2} - \frac{9(n + 1)}{n}. \end{aligned} R n = i = 1 ∑ n ( n 2 9 i 2 − n 6 i ) n 3 = n 3 27 i = 1 ∑ n i 2 − n 2 18 i = 1 ∑ n i = 2 n 2 9 ( n + 1 ) ( 2 n + 1 ) − n 9 ( n + 1 ) .
在公分母 2 n 2 2n^2 2 n 2 下,分子为 9 ( n + 1 ) [ ( 2 n + 1 ) − 2 n ] = 9 ( n + 1 ) , 9(n + 1)\big[(2n + 1) - 2n\big] = 9(n + 1)\mathclose{\text{,}} 9 ( n + 1 ) [ ( 2 n + 1 ) − 2 n ] = 9 ( n + 1 ) , 因此
R n = 9 ( n + 1 ) 2 n 2 = 9 2 n + 9 2 n 2 , R_n = \frac{9(n + 1)}{2n^2} = \frac{9}{2n} + \frac{9}{2n^2}, R n = 2 n 2 9 ( n + 1 ) = 2 n 9 + 2 n 2 9 ,
该值趋于 0。因此 ∫ 0 3 ( x 2 − 2 x ) d x = 0 。 \int_0^3 (x^2 - 2x)\,dx = 0\mathclose{\text{。}} ∫ 0 3 ( x 2 − 2 x ) d x = 0 。
积分结果为 0,但图像并非 x x x 轴。由于 x 2 − 2 x = x ( x − 2 ) , x^2 - 2x = x(x - 2)\mathclose{\text{,}} x 2 − 2 x = x ( x − 2 ) , 被积函数在 ( 0 , 2 ) (0, 2) ( 0 , 2 ) 上为负,在 ( 2 , 3 ) (2, 3) ( 2 , 3 ) 上为正:轴下方的面积等于轴上方的面积。例 9.8 动手计算们,各为 4 3 。 \tfrac43\mathclose{\text{。}} 3 4 。
位移与路程。 对于沿直线运动的物体,当物体向后运动时速度v ( t ) v(t) v ( t ) 为负。在短时间Δ t \Delta t Δ t 内,其位置变化约为v ( t i ∗ ) Δ t : v(t_i^*)\,\Delta t\mathclose{\text{:}} v ( t i ∗ ) Δ t : 当v > 0 v > 0 v > 0 时向前,当v < 0 v < 0 v < 0 时向后。这些变化累加为v v v 的黎曼和,因此∫ a b v ( t ) d t \int_a^b v(t)\,dt ∫ a b v ( t ) d t 是位移 ,即位置的净变化量s ( b ) − s ( a ) , s(b) - s(a)\mathclose{\text{,}} s ( b ) − s ( a ) , 而路程 ,即将每次运动都计为正值的量,为∫ a b ∣ v ( t ) ∣ d t 。 \int_a^b \abs{v(t)}\,dt\mathclose{\text{。}} ∫ a b ∣ v ( t ) ∣ d t 。 模块10证明了第一个陈述,即净变化定理。例如,一个速度为v ( t ) = 2 − t v(t) = 2 - t v ( t ) = 2 − t m/s的物体,在0 ≤ t ≤ 4 0 \le t \le 4 0 ≤ t ≤ 4 期间,先向前运动2秒,然后向后运动2秒。v v v 的图像在[ 0 , 2 ] [0, 2] [ 0 , 2 ] 上形成一个面积为2的位于轴上方的三角形,在[ 2 , 4 ] [2, 4] [ 2 , 4 ] 上形成一个面积为2的位于轴下方的三角形。因此位移为∫ 0 4 ( 2 − t ) d t = 2 − 2 = 0 \int_0^4 (2 - t)\,dt = 2 - 2 = 0 ∫ 0 4 ( 2 − t ) d t = 2 − 2 = 0 m,因为物体回到了起点,但路程为2 + 2 = 4 2 + 2 = 4 2 + 2 = 4 m。
注意
∫ a b f ( x ) d x \int_a^b f(x)\,dx ∫ a b f ( x ) d x 是图形与轴之间区域的面积,当 f ≥ 0 f \ge 0 f ≥ 0 在 [ a , b ] [a, b] [ a , b ] 上。当 f f f 为负时,积分减去面积:它是一个净面积,即使区域很大,也可能为 0 或负数。要找到总面积,需将 [ a , b ] [a, b] [ a , b ] 中 f f f 变号处分开,然后将各部分的大小相加:对于 x 2 − 2 x x^2 - 2x x 2 − 2 x 在 [ 0 , 3 ] [0, 3] [ 0 , 3 ] 上的总面积是 4 3 + 4 3 = 8 3 , \tfrac43 + \tfrac43 = \tfrac83\mathclose{\text{,}} 3 4 + 3 4 = 3 8 , 而不是 0。
介值定理的和遵循第 9.2 节中和的规则。让分划缩小,这些规则就变成了积分的规则。首先,两个约定使规则适用于积分限的任何顺序。
定义 9.5积分限反转与相等
对于 a < b a < b a < b 和 f f f 在 [ a , b ] [a, b] [ a , b ] 上可积,
∫ b a f ( x ) d x = − ∫ a b f ( x ) d x . \int_b^a f(x)\,dx = -\int_a^b f(x)\,dx. ∫ b a f ( x ) d x = − ∫ a b f ( x ) d x .
对于每一个 c , c\mathclose{\text{,}} c , 其中 f f f 有定义, ∫ c c f ( x ) d x = 0 。 \displaystyle\int_c^c f(x)\,dx = 0\mathclose{\text{。}} ∫ c c f ( x ) d x = 0 。
从 b b b 返回到 a a a 时,宽度 Δ x = a − b n \Delta x = \tfrac{a - b}{n} Δ x = n a − b 为负,因此每个黎曼和都会改变符号:这使得第一个约定成为自然的约定。第二个约定说明单个点没有面积。
定理 9.5线性性
如果 f f f 和 g g g 在 [ a , b ] [a, b] [ a , b ] 上可积,且 c c c 是一个常数,则 f + g 、 f + g\mathclose{\text{、}} f + g 、 f − g f - g f − g 和 c f cf c f 在 [ a , b ] [a, b] [ a , b ] 上可积,并且
∫ a b ( f ( x ) + g ( x ) ) d x = ∫ a b f ( x ) d x + ∫ a b g ( x ) d x , ∫ a b c f ( x ) d x = c ∫ a b f ( x ) d x , \begin{aligned} \int_a^b \big(f(x) + g(x)\big)\,dx &= \int_a^b f(x)\,dx \\[5pt] &\quad + \int_a^b g(x)\,dx, \\[5pt] \int_a^b c\,f(x)\,dx &= c\int_a^b f(x)\,dx, \end{aligned} ∫ a b ( f ( x ) + g ( x ) ) d x ∫ a b c f ( x ) d x = ∫ a b f ( x ) d x + ∫ a b g ( x ) d x , = c ∫ a b f ( x ) d x ,
且当 f + g f + g f + g 用 f − g f - g f − g 替代时,上述结论同样成立。对于常值函数, ∫ a b c d x = c ( b − a ) 。 \displaystyle\int_a^b c\,dx = c(b - a)\mathclose{\text{。}} ∫ a b c d x = c ( b − a ) 。
证明
对于每一个划分和每一个样本点的选择, f + g f + g f + g 的黎曼和等于 f f f 的黎曼和加上 g g g 的黎曼和,根据求和的第二规则。给定 ε > 0 , \varepsilon > 0\mathclose{\text{,}} ε > 0 , 取 δ 1 \delta_1 δ 1 作为 f , f\mathclose{\text{,}} f , 取 δ 2 \delta_2 δ 2 作为 g , g\mathclose{\text{,}} g , 每个都满足误差 ε 2 , \tfrac{\varepsilon}{2}\mathclose{\text{,}} 2 ε , 如定义 9.4 所述。如果 ∥ P ∥ \norm{P} ∥ P ∥ 小于两者,则两个黎曼和分别在 ε 2 \tfrac{\varepsilon}{2} 2 ε 的范围内接近 ∫ a b f \int_a^b f ∫ a b f 和 ∫ a b g , \int_a^b g\mathclose{\text{,}} ∫ a b g , 因此它们的和在 ε \varepsilon ε 的范围内接近 ∫ a b f + ∫ a b g 。 \int_a^b f + \int_a^b g\mathclose{\text{。}} ∫ a b f + ∫ a b g 。 这证明了第一个公式。对于第二个公式, c f cf c f 的黎曼和是 c c c 乘以 f f f 的黎曼和;当 f f f 的和在 ε ∣ c ∣ + 1 \tfrac{\varepsilon}{\abs{c} + 1} ∣ c ∣ + 1 ε 的范围内接近 ∫ a b f \int_a^b f ∫ a b f 时, c f cf c f 的和在 ∣ c ∣ ε ∣ c ∣ + 1 < ε \tfrac{\abs{c}\,\varepsilon}{\abs{c} + 1} < \varepsilon ∣ c ∣ + 1 ∣ c ∣ ε < ε 的范围内接近 c ∫ a b f 。 c\int_a^b f\mathclose{\text{。}} c ∫ a b f 。 对于 f − g , f - g\mathclose{\text{,}} f − g , 将两个公式结合 c = − 1 。 c = -1\mathclose{\text{。}} c = − 1 。 最后,每一个常函数 c c c 的黎曼和都是 ∑ c Δ x i = c ( b − a ) , \sum c\,\Delta x_i = c(b - a)\mathclose{\text{,}} ∑ c Δ x i = c ( b − a ) , 因为宽度之和为 b − a 。 b - a\mathclose{\text{。}} b − a 。
∎
这些是证明模块 2 中极限法则的论证。区间上的可加性需要更仔细的处理。
定理 9.6可加性
设 f f f 在包含 a , a\mathclose{\text{,}} a , b b b 和 c c c 的区间上连续,或有有限个间断点且有界。则
∫ a b f ( x ) d x + ∫ b c f ( x ) d x = ∫ a c f ( x ) d x . \begin{aligned} &\int_a^b f(x)\,dx + \int_b^c f(x)\,dx \\[5pt] &\quad= \int_a^c f(x)\,dx. \end{aligned} ∫ a b f ( x ) d x + ∫ b c f ( x ) d x = ∫ a c f ( x ) d x .
证明
根据定理 9.3, f f f 在由 a , a\mathclose{\text{,}} a , b b b 和 c c c 构成的每个闭区间上都是可积的。首先假设 a < b < c , a < b < c\mathclose{\text{,}} a < b < c , 令 ε > 0 。 \varepsilon > 0\mathclose{\text{。}} ε > 0 。 定义 9.4 对每个区间 [ a , b ] , [a, b]\mathclose{\text{,}} [ a , b ] , [ b , c ] [b, c] [ b , c ] 和 [ a , c ] [a, c] [ a , c ] 给出一个 δ ; \delta\mathclose{\text{;}} δ ; 令 δ \delta δ 为这三个中的最小值。那么,对于范数小于 δ \delta δ 的划分,每个区间上的黎曼和与其积分的误差不超过 ε 。 \varepsilon\mathclose{\text{。}} ε 。 取 [ a , b ] [a, b] [ a , b ] 和 [ b , c ] [b, c] [ b , c ] 的划分,其范数均小于 δ , \delta\mathclose{\text{,}} δ , 并任取样本点,令 S 1 S_1 S 1 和 S 2 S_2 S 2 分别为它们的黎曼和。这两个划分共同构成 [ a , c ] [a, c] [ a , c ] 的划分,其范数也小于 δ , \delta\mathclose{\text{,}} δ , 其黎曼和为 S 1 + S 2 。 S_1 + S_2\mathclose{\text{。}} S 1 + S 2 。 所以
∣ ∫ a c f − ∫ a b f − ∫ b c f ∣ ≤ ∣ ∫ a c f − ( S 1 + S 2 ) ∣ + ∣ S 1 − ∫ a b f ∣ + ∣ S 2 − ∫ b c f ∣ < 3 ε . \begin{aligned} &\Big|\int_a^c f - \int_a^b f - \int_b^c f\Big| \\[5pt] &\quad\le \Big|\int_a^c f - (S_1 + S_2)\Big| \\[5pt] &\qquad + \Big|S_1 - \int_a^b f\Big| + \Big|S_2 - \int_b^c f\Big| \\[5pt] &\quad< 3\varepsilon. \end{aligned} ∫ a c f − ∫ a b f − ∫ b c f ≤ ∫ a c f − ( S 1 + S 2 ) + S 1 − ∫ a b f + S 2 − ∫ b c f < 3 ε .
左侧是一个固定数,对每个ε > 0 \varepsilon > 0 ε > 0 都小于3 ε , 3\varepsilon\mathclose{\text{,}} 3 ε , 因此为0。a 、 a\mathclose{\text{、}} a 、 b b b 和c c c 的其他所有顺序均由该情形根据定义9.5得出。例如,若a < c < b , a < c < b\mathclose{\text{,}} a < c < b , 已证情形给出∫ a c f + ∫ c b f = ∫ a b f , \int_a^c f + \int_c^b f = \int_a^b f\mathclose{\text{,}} ∫ a c f + ∫ c b f = ∫ a b f , 从而∫ a c f = ∫ a b f − ∫ c b f = ∫ a b f + ∫ b c f 。 \int_a^c f = \int_a^b f - \int_c^b f = \int_a^b f + \int_b^c f\mathclose{\text{。}} ∫ a c f = ∫ a b f − ∫ c b f = ∫ a b f + ∫ b c f 。 若三个数中有两个相等,则公式直接由定义9.5得出。
∎
(可加性适用于所有在最大区间上可积的函数,但证明此类函数在较小区间上可积的证明属于实分析内容。)
例 9.8积分的分割 ✓ 已检验
求 ∫ 0 2 ( x 2 − 2 x ) d x \displaystyle\int_0^2 \big(x^2 - 2x\big)\,dx ∫ 0 2 ( x 2 − 2 x ) d x 和 ∫ 2 3 ( x 2 − 2 x ) d x , \displaystyle\int_2^3 \big(x^2 - 2x\big)\,dx\mathclose{\text{,}} ∫ 2 3 ( x 2 − 2 x ) d x , 以及从 0 到 3 之间函数 y = x 2 − 2 x y = x^2 - 2x y = x 2 − 2 x 与 x x x 轴之间的总面积。
由线性性质,
∫ 0 2 ( x 2 − 2 x ) d x = ∫ 0 2 x 2 d x − 2 ∫ 0 2 x d x . \begin{aligned} \int_0^2 \big(x^2 - 2x\big)\,dx &= \int_0^2 x^2\,dx \\[5pt] &\quad - 2\int_0^2 x\,dx. \end{aligned} ∫ 0 2 ( x 2 − 2 x ) d x = ∫ 0 2 x 2 d x − 2 ∫ 0 2 x d x .
第一个积分是 2 3 3 = 8 3 \tfrac{2^3}{3} = \tfrac83 3 2 3 = 3 8 (参见第 9.4 节)。第二个积分是三角形的面积:函数 y = x y = x y = x 从 0 到 2 的图像从 ( 0 , 0 ) (0, 0) ( 0 , 0 ) 变化到 ( 2 , 2 ) , (2, 2)\mathclose{\text{,}} ( 2 , 2 ) , 因此为 ∫ 0 2 x d x = 1 2 ⋅ 2 ⋅ 2 = 2 。 \int_0^2 x\,dx = \tfrac12 \cdot 2 \cdot 2 = 2\mathclose{\text{。}} ∫ 0 2 x d x = 2 1 ⋅ 2 ⋅ 2 = 2 。 所以
∫ 0 2 ( x 2 − 2 x ) d x = 8 3 − 4 = − 4 3 . \int_0^2 \big(x^2 - 2x\big)\,dx = \frac83 - 4 = -\frac43. ∫ 0 2 ( x 2 − 2 x ) d x = 3 8 − 4 = − 3 4 .
由可加性,区域 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 和 [ 2 , 3 ] [2, 3] [ 2 , 3 ] 上的积分之和等于区域 [ 0 , 3 ] [0, 3] [ 0 , 3 ] 上的积分,根据例题 9.7,该积分为 0,因此
∫ 2 3 ( x 2 − 2 x ) d x = 0 − ( − 4 3 ) = 4 3 . \int_2^3 \big(x^2 - 2x\big)\,dx = 0 - \Big(-\frac43\Big) = \frac43. ∫ 2 3 ( x 2 − 2 x ) d x = 0 − ( − 3 4 ) = 3 4 .
轴下方的区域面积为 4 3 , \tfrac43\mathclose{\text{,}} 3 4 , 轴上方的区域面积为 4 3 : \tfrac43\mathclose{\text{:}} 3 4 : 总面积为 8 3 , \tfrac83\mathclose{\text{,}} 3 8 , 而从 0 到 3 的积分结果为 0(图 9.3)
定理 9.7比较
设 f f f 和 g g g 在 [ a , b ] [a, b] [ a , b ] 上可积,其中 a < b a < b a < b
(a) 若 f ( x ) ≥ 0 f(x) \ge 0 f ( x ) ≥ 0 对于 [ a , b ] [a, b] [ a , b ] 中的每一个 x x x 成立,则 ∫ a b f ( x ) d x ≥ 0 \displaystyle\int_a^b f(x)\,dx \ge 0 ∫ a b f ( x ) d x ≥ 0
(b) 若 f ( x ) ≤ g ( x ) f(x) \le g(x) f ( x ) ≤ g ( x ) 对于 [ a , b ] [a, b] [ a , b ] 中的每一个 x x x 成立,则 ∫ a b f ( x ) d x ≤ ∫ a b g ( x ) d x \displaystyle\int_a^b f(x)\,dx \le \int_a^b g(x)\,dx ∫ a b f ( x ) d x ≤ ∫ a b g ( x ) d x
(c) 若 m ≤ f ( x ) ≤ M m \le f(x) \le M m ≤ f ( x ) ≤ M 对于 [ a , b ] [a, b] [ a , b ] 中的每一个 x x x 成立,则m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a ) . \begin{aligned} m(b - a) &\le \int_a^b f(x)\,dx \\[5pt] &\le M(b - a). \end{aligned} m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a ) .
证明
(a) 每个黎曼和 ∑ f ( x i ∗ ) Δ x i \sum f(x_i^*)\,\Delta x_i ∑ f ( x i ∗ ) Δ x i 是非负数的乘积之和,因此至少为 0。假设积分 I I I 为负数。根据定义 9.4 与 ε = ∣ I ∣ 2 , \varepsilon = \tfrac{\abs{I}}{2}\mathclose{\text{,}} ε = 2 ∣ I ∣ , 足够细的分划的黎曼和将位于 ∣ I ∣ 2 \tfrac{\abs{I}}{2} 2 ∣ I ∣ 之内,且 I , I\mathclose{\text{,}} I , 这不可能。因此 I ≥ 0 。 I \ge 0\mathclose{\text{。}} I ≥ 0 。
(b) 由线性性, g − f g - f g − f 可积,且 ∫ a b g − ∫ a b f = ∫ a b ( g − f ) , \int_a^b g - \int_a^b f = \int_a^b (g - f)\mathclose{\text{,}} ∫ a b g − ∫ a b f = ∫ a b ( g − f ) , 其由 (a) 得到至少为 0,因为 g ( x ) − f ( x ) ≥ 0 。 g(x) - f(x) \ge 0\mathclose{\text{。}} g ( x ) − f ( x ) ≥ 0 。
(c) 将 (b) 应用于常函数 m m m 和 f , f\mathclose{\text{,}} f , 以及 f f f 和常函数 M , M\mathclose{\text{,}} M , 并使用 ∫ a b m d x = m ( b − a ) \int_a^b m\,dx = m(b - a) ∫ a b m d x = m ( b − a ) (定理 9.5)。
∎
当f ≥ 0 f \ge 0 f ≥ 0 连续时,取m m m 和M M M 在[ a , b ] [a, b] [ a , b ] 上的最小值和最大值,它们由极值定理(模块3)保证存在。则部分(c)表明,图线下的面积介于[ a , b ] [a, b] [ a , b ] 上两个矩形的面积之间,一个的高度等于图线的最低点,另一个的高度等于图线的最高点。
部分 (b) 也将净面积与第 9.4 节的总面积进行比较。设 f f f 连续,或有有限个间断点的有界函数,因此 ∣ f ∣ \abs{f} ∣ f ∣ 也是如此,且两者均可积。由于 − ∣ f ( x ) ∣ ≤ f ( x ) ≤ ∣ f ( x ) ∣ , -\abs{f(x)} \le f(x) \le \abs{f(x)}\mathclose{\text{,}} − ∣ f ( x ) ∣ ≤ f ( x ) ≤ ∣ f ( x ) ∣ , 部分 (b) 与线性性质给出 − ∫ a b ∣ f ( x ) ∣ d x ≤ ∫ a b f ( x ) d x ≤ ∫ a b ∣ f ( x ) ∣ d x , -\int_a^b \abs{f(x)}\,dx \le \int_a^b f(x)\,dx \le \int_a^b \abs{f(x)}\,dx\mathclose{\text{,}} − ∫ a b ∣ f ( x ) ∣ d x ≤ ∫ a b f ( x ) d x ≤ ∫ a b ∣ f ( x ) ∣ d x , 即,
∣ ∫ a b f ( x ) d x ∣ ≤ ∫ a b ∣ f ( x ) ∣ d x . \Big|\int_a^b f(x)\,dx\Big| \le \int_a^b \abs{f(x)}\,dx. ∫ a b f ( x ) d x ≤ ∫ a b ∣ f ( x ) ∣ d x .
在大小上,净面积永远不会超过总面积:对于 x 2 − 2 x x^2 - 2x x 2 − 2 x 在 [ 0 , 3 ] [0, 3] [ 0 , 3 ] 上,0 对比 8 3 。 \tfrac83\mathclose{\text{。}} 3 8 。
例 9.9无公式的积分上界 ✓ 已检验
证明 ∫ 0 1 e − x 2 d x \displaystyle\int_0^1 e^{-x^2}\,dx ∫ 0 1 e − x 2 d x 介于 0.36 和 1 之间,然后证明它介于 0.57 和 0.89 之间。
被积函数是连续的,因此积分存在(定理 9.3)。模块 10 的快捷方法无法动手计算,因为没有由熟悉函数组成的公式具有导数 e − x 2 e^{-x^2} e − x 2 (模块 11),但比较定理可以对它进行界定。在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上, x 2 x^2 x 2 从 0 增加到 1,因此 − x 2 -x^2 − x 2 从 0 减少到 − 1 , -1\mathclose{\text{,}} − 1 , 且 e − x 2 e^{-x^2} e − x 2 从 e 0 = 1 e^0 = 1 e 0 = 1 减少到 e − 1 。 e^{-1}\mathclose{\text{。}} e − 1 。 因此 e − 1 ≤ e − x 2 ≤ 1 e^{-1} \le e^{-x^2} \le 1 e − 1 ≤ e − x 2 ≤ 1 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上,根据定理 9.7(c),结合 b − a = 1 , b - a = 1\mathclose{\text{,}} b − a = 1 , 得到
e − 1 ≤ ∫ 0 1 e − x 2 d x ≤ 1. e^{-1} \le \int_0^1 e^{-x^2}\,dx \le 1. e − 1 ≤ ∫ 0 1 e − x 2 d x ≤ 1.
由于 e − 1 ≈ 0.3679 , e^{-1} \approx 0.3679\mathclose{\text{,}} e − 1 ≈ 0.3679 , 积分值介于 0.36 和 1 之间。
为了做得更好,将 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 在 1 2 \tfrac12 2 1 处分割(可加性),并分别对每个部分进行界定。在 [ 0 , 1 2 ] \big[0, \tfrac12\big] [ 0 , 2 1 ] 上, e − 1 / 4 ≤ e − x 2 ≤ 1 ; e^{-1/4} \le e^{-x^2} \le 1\mathclose{\text{;}} e − 1/4 ≤ e − x 2 ≤ 1 ; 在 [ 1 2 , 1 ] \big[\tfrac12, 1\big] [ 2 1 , 1 ] 上, e − 1 ≤ e − x 2 ≤ e − 1 / 4 。 e^{-1} \le e^{-x^2} \le e^{-1/4}\mathclose{\text{。}} e − 1 ≤ e − x 2 ≤ e − 1/4 。 每个部分的宽度为 1 2 , \tfrac12\mathclose{\text{,}} 2 1 , 因此
e − 1 / 4 + e − 1 2 ≤ ∫ 0 1 e − x 2 d x ≤ 1 + e − 1 / 4 2 , \frac{e^{-1/4} + e^{-1}}{2} \le \int_0^1 e^{-x^2}\,dx \le \frac{1 + e^{-1/4}}{2}, 2 e − 1/4 + e − 1 ≤ ∫ 0 1 e − x 2 d x ≤ 2 1 + e − 1/4 ,
其中界限关于0.5733 0.5733 0.5733 和0.8894 : 0.8894\mathclose{\text{:}} 0.8894 : 积分介于0.57和0.89之间。这两个界限是R 2 R_2 R 2 和L 2 。 L_2\mathclose{\text{。}} L 2 。 相同的论证适用于任何连续递减的f f f 和任何n : n\mathclose{\text{:}} n : 在每个子区间上,f f f 的值介于右端点和左端点的值之间,因此定理9.7(c)给出了每个子区间上积分的界限,将n n n 的结果相加(可加性)得到R n ≤ ∫ a b f ( x ) d x ≤ L n 。 R_n \le \int_a^b f(x)\,dx \le L_n\mathclose{\text{。}} R n ≤ ∫ a b f ( x ) d x ≤ L n 。 对于连续递增的f , f\mathclose{\text{,}} f , 有L n ≤ ∫ a b f ( x ) d x ≤ R n 。 L_n \le \int_a^b f(x)\,dx \le R_n\mathclose{\text{。}} L n ≤ ∫ a b f ( x ) d x ≤ R n 。 界限之间的差距∣ L n − R n ∣ = Δ x ∣ f ( a ) − f ( b ) ∣ \abs{L_n - R_n} = \Delta x\,\abs{f(a) - f(b)} ∣ L n − R n ∣ = Δ x ∣ f ( a ) − f ( b ) ∣ 随着n n n 的增大而缩小。
(对于这个被积函数,积分限是严格的,因为它仅在单个点上等于每个积分限;练习 9.12 展示了如何证明这样的严格不等式。)
动手计算还没有公式的一个数
中点和的值被确定下来。将每个和打印到九位小数:
Python 复制
import math
def midpoint (f, a, b, n):
dx = (b - a)/n
return sum (f (a + (i + 0.5 )*dx) for i in range (n))*dx
def g (x):
return math.exp (-x**2 )
for n in [2 , 10 , 100 , 1000 ]:
print (f"{n} {midpoint(g, 0, 1, n):.9f}" )
输出
2 0.754597944
10 0.747130878
100 0.746827198
1000 0.746824163
数字趋于稳定:在小数点后六位,∫ 0 1 e − x 2 d x ≈ 0.746824 , \int_0^1 e^{-x^2}\,dx \approx 0.746824\mathclose{\text{,}} ∫ 0 1 e − x 2 d x ≈ 0.746824 , 位于例 9.9 的积分限之间。e − x 2 e^{-x^2} e − x 2 的积分是概率论的核心:模块 12 将再次遇到它们,与正态分布相关。
注意
积分不相乘:∫ a b f ( x ) g ( x ) d x \int_a^b f(x)g(x)\,dx ∫ a b f ( x ) g ( x ) d x 不等于 ∫ a b f ( x ) d x ⋅ ∫ a b g ( x ) d x 。 \int_a^b f(x)\,dx \cdot \int_a^b g(x)\,dx\mathclose{\text{。}} ∫ a b f ( x ) d x ⋅ ∫ a b g ( x ) d x 。 例如,∫ 0 1 x ⋅ x d x = ∫ 0 1 x 2 d x = 1 3 , \int_0^1 x \cdot x\,dx = \int_0^1 x^2\,dx = \tfrac13\mathclose{\text{,}} ∫ 0 1 x ⋅ x d x = ∫ 0 1 x 2 d x = 3 1 , 而 ( ∫ 0 1 x d x ) 2 = ( 1 2 ) 2 = 1 4 。 \big(\int_0^1 x\,dx\big)^2 = \big(\tfrac12\big)^2 = \tfrac14\mathclose{\text{。}} ( ∫ 0 1 x d x ) 2 = ( 2 1 ) 2 = 4 1 。 它们也不相除。比较定理需要 a < b : a < b\mathclose{\text{:}} a < b : 当积分限调换时,不等式方向反转,因为 ∫ 1 0 1 d x = − 1 \int_1^0 1\,dx = -1 ∫ 1 0 1 d x = − 1 虽然 1 > 0 。 1 > 0\mathclose{\text{。}} 1 > 0 。
瑞曼和的极限需要计算。当图下的区域由熟悉形状组成,或具有对称性时,积分计算更快。
几何
当图由直线段和圆弧组成时,其积分是矩形、三角形、梯形和圆部分面积的和,每个位于轴下方的部分前加负号。请记住,平行边长为 p p p 和 q , q\mathclose{\text{,}} q , 相距 w w w 的梯形面积为 ( p + q ) w 2 , \tfrac{(p + q)w}{2}\mathclose{\text{,}} 2 ( p + q ) w , 半径为 r r r 的圆面积为 π r 2 。 \pi r^2\mathclose{\text{。}} π r 2 。
例 9.10作为熟悉区域的积分 ✓ 已检验
计算:
(a) ∫ 0 3 ( 2 x + 1 ) d x \displaystyle\int_0^3 (2x + 1)\,dx ∫ 0 3 ( 2 x + 1 ) d x
(b) ∫ − 1 2 ∣ x ∣ d x \displaystyle\int_{-1}^{2} \abs{x}\,dx ∫ − 1 2 ∣ x ∣ d x
(c) ∫ 0 4 4 x − x 2 d x \displaystyle\int_0^4 \sqrt{4x - x^2}\,dx ∫ 0 4 4 x − x 2 d x
(d) ∫ 0 3 ( x − 1 ) d x \displaystyle\int_0^3 (x - 1)\,dx ∫ 0 3 ( x − 1 ) d x
(a) 图形是一条直线,在 [ 0 , 3 ] [0, 3] [ 0 , 3 ] 轴上方,其下方的区域是一个梯形,两平行边分别为 f ( 0 ) = 1 f(0) = 1 f ( 0 ) = 1 和 f ( 3 ) = 7 , f(3) = 7\mathclose{\text{,}} f ( 3 ) = 7 , 相距 3。积分是 ( 1 + 7 ) ⋅ 3 2 = 12 。 \tfrac{(1 + 7) \cdot 3}{2} = 12\mathclose{\text{。}} 2 ( 1 + 7 ) ⋅ 3 = 12 。
(b) ∣ x ∣ \abs{x} ∣ x ∣ 的图形是一个 V 形。区域由两个三角形组成:一个在 [ − 1 , 0 ] [-1, 0] [ − 1 , 0 ] 上方,底边为 1,高为 1,面积为 1 2 ; \tfrac12\mathclose{\text{;}} 2 1 ; 另一个在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上方,底边为 2,高为 2,面积为 2。积分是 1 2 + 2 = 5 2 。 \tfrac12 + 2 = \tfrac52\mathclose{\text{。}} 2 1 + 2 = 2 5 。
(c) 完全平方: 4 x − x 2 = 4 − ( x − 2 ) 2 。 4x - x^2 = 4 - (x - 2)^2\mathclose{\text{。}} 4 x − x 2 = 4 − ( x − 2 ) 2 。 因此 y = 4 x − x 2 y = \sqrt{4x - x^2} y = 4 x − x 2 表示 y ≥ 0 y \ge 0 y ≥ 0 和 ( x − 2 ) 2 + y 2 = 4 : {(x - 2)^2 + y^2 = 4}\mathclose{\text{:}} ( x − 2 ) 2 + y 2 = 4 : 图形是半径为 2,中心在 ( 2 , 0 ) (2, 0) ( 2 , 0 ) 的圆的上半部分,从 x = 0 x = 0 x = 0 到 x = 4 。 x = 4\mathclose{\text{。}} x = 4 。 区域是一个半圆,面积为 1 2 π ⋅ 2 2 = 2 π \tfrac12\pi \cdot 2^2 = 2\pi 2 1 π ⋅ 2 2 = 2 π (图 9.4,左图)。
(d) 直线 y = x − 1 y = x - 1 y = x − 1 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上位于轴下方,形成一个面积为 1 2 \tfrac12 2 1 的三角形,并在 [ 1 , 3 ] [1, 3] [ 1 , 3 ] 上位于轴上方,形成一个底为 2 高为 2、面积为 2 的三角形。该积分等于有符号面积 2 − 1 2 = 3 2 。 2 - \tfrac12 = \tfrac32\mathclose{\text{。}} 2 − 2 1 = 2 3 。
对称性
回顾第1.4节 ],若f ( − x ) = f ( x ) , f(-x) = f(x)\mathclose{\text{,}} f ( − x ) = f ( x ) , 则f f f 为偶 ;若f ( − x ) = − f ( x ) , f(-x) = -f(x)\mathclose{\text{,}} f ( − x ) = − f ( x ) , 则为 奇⒍,对x x x 在其定义域内均成立。例如,x 2 、 x^2\mathclose{\text{、}} x 2 、 cos x \cos x cos x 和∣ x ∣ \abs{x} ∣ x ∣ 为偶函数,x 3 、 x^3\mathclose{\text{、}} x 3 、 sin x \sin x sin x 和1 x \tfrac1x x 1 为奇函数。在关于0对称的区间[ − a , a ] [-a, a] [ − a , a ] 上,偶函数的图像由互为镜像的两半组成,奇函数的图像由互为倒置镜像的两半组成(图9.4)。
定理 9.8偶函数与奇函数的积分
设 a > 0 , a > 0\mathclose{\text{,}} a > 0 , 且 f f f 在 [ − a , a ] [-a, a] [ − a , a ] 上连续,或有有限个间断点且有界。
(a) 若 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 。
(b) 如果 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 。
证明
由可加性, ∫ − a a f = ∫ − a 0 f + ∫ 0 a f , \int_{-a}^{a} f = \int_{-a}^{0} f + \int_0^a f\mathclose{\text{,}} ∫ − a a f = ∫ − a 0 f + ∫ 0 a f , 且两个积分都存在(定理 9.3)。通过它们的黎曼和比较这两个部分。取 [ 0 , a ] [0, a] [ 0 , a ] 的一个分划 0 = x 0 < x 1 < ⋯ < x n = a , 0 = x_0 < x_1 < \dots < x_n = a\mathclose{\text{,}} 0 = x 0 < x 1 < ⋯ < x n = a , 样本点为 x i ∗ 。 x_i^*\mathclose{\text{。}} x i ∗ 。 其镜像 − a = − x n < ⋯ < − x 1 < − x 0 = 0 -a = -x_n < \dots < -x_1 < -x_0 = 0 − a = − x n < ⋯ < − x 1 < − x 0 = 0 是 [ − a , 0 ] [-a, 0] [ − a , 0 ] 的一个分划,具有相同的宽度,因此相同的范数;取 − x i ∗ -x_i^* − x i ∗ 作为其样本点。其黎曼和为
∑ i = 1 n f ( − x i ∗ ) Δ x i . \sum_{i=1}^{n} f(-x_i^*)\,\Delta x_i. i = 1 ∑ n f ( − x i ∗ ) Δ x i .
如果 f f f 是偶数,这等于 ∑ f ( x i ∗ ) Δ x i , \sum f(x_i^*)\,\Delta x_i\mathclose{\text{,}} ∑ f ( x i ∗ ) Δ x i , 即 [ 0 , a ] [0, a] [ 0 , a ] 的分划的黎曼和;如果 f f f 是奇数,则等于 − ∑ f ( x i ∗ ) Δ x i 。 -\sum f(x_i^*)\,\Delta x_i\mathclose{\text{。}} − ∑ f ( x i ∗ ) Δ x i 。 当范数趋于 0 时, [ − a , 0 ] [-a, 0] [ − a , 0 ] 的和趋于 ∫ − a 0 f , \int_{-a}^{0} f\mathclose{\text{,}} ∫ − a 0 f , [ 0 , a ] [0, a] [ 0 , a ] 的和趋于 ∫ 0 a f \int_0^a f ∫ 0 a f (定义 9.4)。因此,若 f f f 是偶数,则 ∫ − a 0 f = ∫ 0 a f ; \int_{-a}^{0} f = \int_0^a f\mathclose{\text{;}} ∫ − a 0 f = ∫ 0 a f ; 若 f f f 是奇数,则 ∫ − a 0 f = − ∫ 0 a f 。 \int_{-a}^{0} f = -\int_0^a f\mathclose{\text{。}} ∫ − a 0 f = − ∫ 0 a f 。 加上 ∫ 0 a f \int_0^a f ∫ 0 a f 得到 (a) 和 (b)。
∎
图 9.4 左:∫ 0 4 4 x − x 2 d x \int_0^4 \sqrt{4x - x^2}\,dx ∫ 0 4 4 x − x 2 d x 是半圆的面积,半径为 2,即 2 π 2\pi 2 π (例 9.10)。中间:奇函数 x 3 − 3 x x^3 - 3x x 3 − 3 x 在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 上;每个区域在原点另一侧有镜像区域,符号相反,因此积分是 0。右:偶函数;其两部分面积均为 A , A\mathclose{\text{,}} A , 因此在 [ − a , a ] [-a, a] [ − a , a ] 上的积分是 [ 0 , a ] [0, a] [ 0 , a ] 上积分的两倍。
例 9.11利用对称性 ✓ 已检验
计算:
(a) ∫ − 2 2 ( x 3 − 4 x + sin x ) d x \displaystyle\int_{-2}^{2} \big(x^3 - 4x + \sin x\big)\,dx ∫ − 2 2 ( x 3 − 4 x + sin x ) d x
(b) ∫ − 1 1 ( 3 x 2 + 5 x 3 − 2 ) d x \displaystyle\int_{-1}^{1} \big(3x^2 + 5x^3 - 2\big)\,dx ∫ − 1 1 ( 3 x 2 + 5 x 3 − 2 ) d x
(c) ∫ − π π x 2 sin x d x \displaystyle\int_{-\pi}^{\pi} x^2\sin x\,dx ∫ − π π x 2 sin x d x
(d) ∫ − 3 3 ∣ x ∣ d x \displaystyle\int_{-3}^{3} \abs{x}\,dx ∫ − 3 3 ∣ x ∣ d x
(a) 每一项随 x x x 改变符号:( − x ) 3 − 4 ( − x ) + sin ( − x ) = − ( x 3 − 4 x + sin x ) 。 (-x)^3 - 4(-x) + \sin(-x) = -\big(x^3 - 4x + \sin x\big)\mathclose{\text{。}} ( − x ) 3 − 4 ( − x ) + sin ( − x ) = − ( x 3 − 4 x + sin x ) 。 被积函数是奇函数,因此积分是 0。你甚至不需要知道如何积分 sin x 。 \sin x\mathclose{\text{。}} sin x 。
(b) 将被积函数分解为偶函数部分和奇函数部分,利用线性性:
∫ − 1 1 ( 3 x 2 + 5 x 3 − 2 ) d x = ∫ − 1 1 ( 3 x 2 − 2 ) d x + 5 ∫ − 1 1 x 3 d x . \begin{aligned} &\int_{-1}^{1} \big(3x^2 + 5x^3 - 2\big)\,dx \\[5pt] &\quad= \int_{-1}^{1} \big(3x^2 - 2\big)\,dx + 5\int_{-1}^{1} x^3\,dx. \end{aligned} ∫ − 1 1 ( 3 x 2 + 5 x 3 − 2 ) d x = ∫ − 1 1 ( 3 x 2 − 2 ) d x + 5 ∫ − 1 1 x 3 d x .
第二个积分是 0,因为 x 3 x^3 x 3 是奇函数。第一个被积函数是偶函数,因此第一个积分是 2 ∫ 0 1 ( 3 x 2 − 2 ) d x = 2 ( 3 ⋅ 1 3 − 2 ⋅ 1 ) = 2 ( 1 − 2 ) = − 2 。 2\int_0^1 \big(3x^2 - 2\big)\,dx = 2\big(3 \cdot \tfrac13 - 2 \cdot 1\big) = 2(1 - 2) = -2\mathclose{\text{。}} 2 ∫ 0 1 ( 3 x 2 − 2 ) d x = 2 ( 3 ⋅ 3 1 − 2 ⋅ 1 ) = 2 ( 1 − 2 ) = − 2 。 积分是 − 2 。 -2\mathclose{\text{。}} − 2 。
(c) ( − x ) 2 sin ( − x ) = − x 2 sin x , (-x)^2\sin(-x) = -x^2\sin x\mathclose{\text{,}} ( − x ) 2 sin ( − x ) = − x 2 sin x , 因此被积函数是奇函数,积分是 0。一般来说,偶函数与奇函数的乘积是奇函数。
(d) ∣ x ∣ \abs{x} ∣ x ∣ 是偶函数,因此积分是 2 ∫ 0 3 x d x = 2 ⋅ 9 2 = 9 , 2\int_0^3 x\,dx = 2 \cdot \tfrac92 = 9\mathclose{\text{,}} 2 ∫ 0 3 x d x = 2 ⋅ 2 9 = 9 , 即底为 3、高为 3 的三角形面积的两倍。
注意
对称性需要一个关于 0 对称的区间: ∫ 0 1 x 3 d x \int_0^1 x^3\,dx ∫ 0 1 x 3 d x 不等于 0 而是 1 4 \tfrac14 4 1 (练习 9.5),因为在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上奇函数 x 3 x^3 x 3 是正的。并且在 [ − a , a ] [-a, a] [ − a , a ] 上积分等于 0 并不能使函数为奇函数: ∫ − 1 1 ( x 2 − 1 3 ) d x = 2 3 − 2 3 = 0 , \int_{-1}^{1} \big(x^2 - \tfrac13\big)\,dx = \tfrac23 - \tfrac23 = 0\mathclose{\text{,}} ∫ − 1 1 ( x 2 − 3 1 ) d x = 3 2 − 3 2 = 0 , 但 x 2 − 1 3 x^2 - \tfrac13 x 2 − 3 1 是偶函数。
n n n 个数 y 1 , … , y n y_1, \dots, y_n y 1 , … , y n 的平均值是 y 1 + ⋯ + y n n 。 \tfrac{y_1 + \dots + y_n}{n}\mathclose{\text{。}} n y 1 + ⋯ + y n 。 但一天内温度取无限多个值时,如何计算平均温度?采样。取 [ a , b ] [a, b] [ a , b ] 等分区间 n n n 的右端点 x 1 , … , x n , x_1, \dots, x_n\mathclose{\text{,}} x 1 , … , x n , 并平均这些点处的函数值 f 。 f\mathclose{\text{。}} f 。 乘以并除以 b − a , b - a\mathclose{\text{,}} b − a , 并使用 Δ x = b − a n , \Delta x = \tfrac{b - a}{n}\mathclose{\text{,}} Δ x = n b − a ,
f ( x 1 ) + ⋯ + f ( x n ) n = 1 b − a ∑ i = 1 n f ( x i ) b − a n = R n b − a . \begin{aligned} &\frac{f(x_1) + \dots + f(x_n)}{n} \\[5pt] &\quad= \frac{1}{b - a}\sum_{i=1}^{n} f(x_i)\,\frac{b - a}{n} = \frac{R_n}{b - a}. \end{aligned} n f ( x 1 ) + ⋯ + f ( x n ) = b − a 1 i = 1 ∑ n f ( x i ) n b − a = b − a R n .
当 n n n 增大时,这些样本平均值趋近于 1 b − a ∫ a b f ( x ) d x , \tfrac{1}{b - a}\int_a^b f(x)\,dx\mathclose{\text{,}} b − a 1 ∫ a b f ( x ) d x , 根据定理 9.4。
定义 9.6平均值
函数f f f 在[ a , b ] [a, b] [ a , b ] 上的平均值 ,其中a < b , a < b\mathclose{\text{,}} a < b ,
f avg = 1 b − a ∫ a b f ( x ) d x , f_{\text{avg}} = \frac{1}{b - a}\int_a^b f(x)\,dx, f avg = b − a 1 ∫ a b f ( x ) d x ,
读作 “f 平均值”。
重新排列,f avg ( b − a ) = ∫ a b f ( x ) d x : f_{\text{avg}}(b - a) = \int_a^b f(x)\,dx\mathclose{\text{:}} f avg ( b − a ) = ∫ a b f ( x ) d x : 当 f ≥ 0 f \ge 0 f ≥ 0 时,高度为 f avg f_{\text{avg}} f avg 的矩形在 [ a , b ] [a, b] [ a , b ] 上的面积,与图下区域的面积相同(图 9.5)。例如,函数 x 2 x^2 x 2 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上的平均值为 1 3 , \tfrac13\mathclose{\text{,}} 3 1 , 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上的平均值为 1 2 ⋅ 8 3 = 4 3 。 \tfrac12 \cdot \tfrac83 = \tfrac43\mathclose{\text{。}} 2 1 ⋅ 3 8 = 3 4 。
例 9.12落球的平均速度 ✓ 已检验
求落球速度 v ( t ) = 9.8 t v(t) = 9.8t v ( t ) = 9.8 t 在 [ 0 , 3 ] [0, 3] [ 0 , 3 ] 和 [ 1 , 3 ] [1, 3] [ 1 , 3 ] 上的平均值,并与模块 1 进行比较。
在 [ 0 , 3 ] [0, 3] [ 0 , 3 ] 上,函数 v v v 图像下方的区域是一个底为 3、高为 v ( 3 ) = 29.4 v(3) = 29.4 v ( 3 ) = 29.4 的三角形,面积为 1 2 ⋅ 3 ⋅ 29.4 = 44.1 , \tfrac12 \cdot 3 \cdot 29.4 = 44.1\mathclose{\text{,}} 2 1 ⋅ 3 ⋅ 29.4 = 44.1 , 因此
v avg = 1 3 ⋅ 44.1 = 14.7 m/s . v_{\text{avg}} = \frac13 \cdot 44.1 = 14.7 \text{ m/s}. v avg = 3 1 ⋅ 44.1 = 14.7 m/s .
在 [ 1 , 3 ] [1, 3] [ 1 , 3 ] 上,该区域是一个平行边为 v ( 1 ) = 9.8 v(1) = 9.8 v ( 1 ) = 9.8 和 v ( 3 ) = 29.4 、 v(3) = 29.4\mathclose{\text{、}} v ( 3 ) = 29.4 、 相距 2 的梯形,面积为 ( 9.8 + 29.4 ) ⋅ 2 2 = 39.2 , \tfrac{(9.8 + 29.4) \cdot 2}{2} = 39.2\mathclose{\text{,}} 2 ( 9.8 + 29.4 ) ⋅ 2 = 39.2 , 因此 v avg = 39.2 2 = 19.6 v_{\text{avg}} = \tfrac{39.2}{2} = 19.6 v avg = 2 39.2 = 19.6 m/s。
小节 1.6 发现球在 t = 1 t = 1 t = 1 和 t = 3 t = 3 t = 3 之间下落 s ( 3 ) − s ( 1 ) = 39.2 s(3) - s(1) = 39.2 s ( 3 ) − s ( 1 ) = 39.2 m,平均速度为 19.6 m/s:同样的数值。区间内速度的平均值即为平均速度,即位移除以时间,理所当然。
球在 t = 2 t = 2 t = 2 处的速度为 19.6 m/s,位于 [ 1 , 3 ] [1, 3] [ 1 , 3 ] 中间:速度达到了平均值。连续函数总是如此。
定理 9.9积分的中值定理
如果 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 ] , 使得
f ( c ) = 1 b − a ∫ a b f ( x ) d x , f(c) = \frac{1}{b - a}\int_a^b f(x)\,dx, f ( c ) = b − a 1 ∫ a b f ( x ) d x ,
即, ∫ a b f ( x ) d x = f ( c ) ( b − a ) 。 \int_a^b f(x)\,dx = f(c)(b - a)\mathclose{\text{。}} ∫ a b f ( x ) d x = f ( c ) ( b − a ) 。
证明
由于 f f f 连续,因此可积(定理 9.3),并且根据极值定理(模块 3),它在 [ a , b ] [a, b] [ a , b ] 上有最小值 m = f ( d ) m = f(d) m = f ( d ) 和最大值 M = f ( e ) , M = f(e)\mathclose{\text{,}} M = f ( e ) , 对于某些数 d d d 和 e e e ∈ [ a , b ] 。 [a, b]\mathclose{\text{。}} [ a , b ] 。 由于 m ≤ f ( x ) ≤ M m \le f(x) \le M m ≤ f ( x ) ≤ M 在 [ a , b ] [a, b] [ a , b ] 上,比较定理给出 m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a ) , m(b - a) \le \int_a^b f(x)\,dx \le M(b - a)\mathclose{\text{,}} m ( b − a ) ≤ ∫ a b f ( x ) d x ≤ M ( b − a ) , 并将两边除以 b − a > 0 , b - a > 0\mathclose{\text{,}} b − a > 0 ,
m ≤ f avg ≤ M . m \le f_{\text{avg}} \le M. m ≤ f avg ≤ M .
若 f avg = m , f_{\text{avg}} = m\mathclose{\text{,}} f avg = m , 取 c = d ; c = d\mathclose{\text{;}} c = d ; 若 f avg = M , f_{\text{avg}} = M\mathclose{\text{,}} f avg = M , 取 c = e 。 c = e\mathclose{\text{。}} c = e 。 否则 f avg f_{\text{avg}} f avg 严格介于 f ( d ) f(d) f ( d ) 与 f ( e ) f(e) f ( e ) 之间,且 f f f 在端点为 d d d 和 e e e 的闭区间上连续,因此根据介值定理(模块 3),存在一个数 c c c 严格介于 d d d 与 e e e 之间,并在 [ a , b ] [a, b] [ a , b ] 中,具有 f ( c ) = f avg 。 f(c) = f_{\text{avg}}\mathclose{\text{。}} f ( c ) = f avg 。
∎
连续性是必要的,因为模块 3 中所用的两个定理都需要连续性。没有连续性,结论可能不成立:定义在 [ 0 , 1 ) [0, 1) [ 0 , 1 ) 上为 0,在 [ 1 , 2 ] [1, 2] [ 1 , 2 ] 上为 1 的函数是可积的,有一个跳跃点,其在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上的积分等于边长为 1 的正方形的面积。因此,该函数在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上的平均值为 1 2 , \tfrac12\mathclose{\text{,}} 2 1 , 而该值函数从未取到。
图 9.5 f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 上的平均值为 4 3 \tfrac43 3 4 (例 9.13)。虚线矩形的高度为 4 3 , \tfrac43\mathclose{\text{,}} 3 4 , 位于 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 上,其面积 16 3 \tfrac{16}{3} 3 16 与图下阴影区域相同:区域中高于矩形的部分面积等于矩形中被区域留空的部分面积。图在两个点 c = ± 2 3 c = \pm\tfrac{2}{\sqrt3} c = ± 3 2 处达到高度 4 3 。 \tfrac43\mathclose{\text{。}} 3 4 。
例 9.13平均值达到的位置 ✓ 已检验
求 f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 上的平均值,以及所有在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 内且满足 f ( c ) = f avg f(c) = f_{\text{avg}} f ( c ) = f avg 的 c c c 值。然后在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上重复相同操作。
函数 x 2 x^2 x 2 是偶函数,因此根据定理 9.8 和第 9.4 节,得到 ∫ − 2 2 x 2 d x = 2 ∫ 0 2 x 2 d x = 2 ⋅ 8 3 = 16 3 。 \int_{-2}^{2} x^2\,dx = 2\int_0^2 x^2\,dx = 2 \cdot \tfrac83 = \tfrac{16}{3}\mathclose{\text{。}} ∫ − 2 2 x 2 d x = 2 ∫ 0 2 x 2 d x = 2 ⋅ 3 8 = 3 16 。 该区间长度为 4,因此 f avg = 1 4 ⋅ 16 3 = 4 3 。 f_{\text{avg}} = \tfrac14 \cdot \tfrac{16}{3} = \tfrac43\mathclose{\text{。}} f avg = 4 1 ⋅ 3 16 = 3 4 。 解方程 c 2 = 4 3 c^2 = \tfrac43 c 2 = 3 4 得到 c = ± 2 3 ≈ ± 1.155 , c = \pm\tfrac{2}{\sqrt3} \approx \pm1.155\mathclose{\text{,}} c = ± 3 2 ≈ ± 1.155 , 且两者都在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 内。定理保证至少存在一个 c ; c\mathclose{\text{;}} c ; 此处有两个。
在 [ 0 , 1 ] , [0, 1]\mathclose{\text{,}} [ 0 , 1 ] , f avg = ∫ 0 1 x 2 d x = 1 3 f_{\text{avg}} = \int_0^1 x^2\,dx = \tfrac13 f avg = ∫ 0 1 x 2 d x = 3 1 和 c 2 = 1 3 c^2 = \tfrac13 c 2 = 3 1 中包含 c c c 的 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 给出 c = 1 3 ≈ 0.577 。 c = \tfrac{1}{\sqrt3} \approx 0.577\mathclose{\text{。}} c = 3 1 ≈ 0.577 。 注意 c c c 并不是区间中点 1 2 : \tfrac12\mathclose{\text{:}} 2 1 : 函数 x 2 x^2 x 2 在区间 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上的平均值并不等于其在中点 1 4 \tfrac14 4 1 处的值。
注意
f f f 的平均值并不等于其在区间端点处的值的平均值。对于 x 2 x^2 x 2 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上的 f ( 0 ) + f ( 1 ) 2 = 1 2 , \tfrac{f(0) + f(1)}{2} = \tfrac12\mathclose{\text{,}} 2 f ( 0 ) + f ( 1 ) = 2 1 , 而 f avg = 1 3 。 f_{\text{avg}} = \tfrac13\mathclose{\text{。}} f avg = 3 1 。 对于线性函数,例如例 9.12 中的速率 9.8 t , 9.8t\mathclose{\text{,}} 9.8 t , 两者一致,但一般情况下并不一致:平均值考虑了 f f f 的所有取值。
本模块从 0 到 b b b 的精确积分,对于 b > 0 b > 0 b > 0 为:
f ( x ) f(x) f ( x )
∫ 0 b f ( x ) d x \displaystyle\int_0^b f(x)\,dx ∫ 0 b f ( x ) d x
发现在
x x x
b 2 2 \dfrac{b^2}{2} 2 b 2
一个三角形
x 2 x^2 x 2
b 3 3 \dfrac{b^3}{3} 3 b 3
第 9.3 节
x 3 x^3 x 3
b 4 4 \dfrac{b^4}{4} 4 b 4
练习 9.5
9.8 x 9.8x 9.8 x
4.9 b 2 4.9b^2 4.9 b 2
一个三角形,第 9.1 节
将每个答案视为上限 b b b 的函数,并使用 模块 4: ( b 2 2 ) ′ = b , \big(\tfrac{b^2}{2}\big)' = b\mathclose{\text{,}} ( 2 b 2 ) ′ = b , ( b 3 3 ) ′ = b 2 , \big(\tfrac{b^3}{3}\big)' = b^2\mathclose{\text{,}} ( 3 b 3 ) ′ = b 2 , ( b 4 4 ) ′ = b 3 \big(\tfrac{b^4}{4}\big)' = b^3 ( 4 b 4 ) ′ = b 3 和 ( 4.9 b 2 ) ′ = 9.8 b \big(4.9b^2\big)' = 9.8b ( 4.9 b 2 ) ′ = 9.8 b 的幂法则 ] 对其求导。每次积分被还原时,用 b b b 替换 x 。 x\mathclose{\text{。}} x 。 对于自由下落的球来说,这并不令人惊讶:速度图上到时间 b b b 的面积是下落的距离 s ( b ) = 4.9 b 2 , s(b) = 4.9b^2\mathclose{\text{,}} s ( b ) = 4.9 b 2 , 距离的导数就是速度。
这种模式是 基本定理 ,是 模块 10 的主题:积分和微分互为逆运算,正如 小节 1.1 ] 所暗示的那样。它最常用的形式是:如果 f f f 在 [ a , b ] [a, b] [ a , b ] 和 F F F 上连续,且 F ′ = f F' = f F ′ = f 是其原函数,则
∫ 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 ) .
有了它, ∫ 0 1 x 2 d x = 1 3 3 − 0 3 3 = 1 3 \int_0^1 x^2\,dx = \tfrac{1^3}{3} - \tfrac{0^3}{3} = \tfrac13 ∫ 0 1 x 2 d x = 3 1 3 − 3 0 3 = 3 1 只需一行,无需求和也无需极限。它还能够计算本模块只能估算的积分。由于 ( ln x ) ′ = 1 x (\ln x)' = \tfrac1x ( ln x ) ′ = x 1 对于 x > 0 x > 0 x > 0 (模块 6), ∫ 1 2 d x x = ln 2 − ln 1 = ln 2 ≈ 0.693147 , \int_1^2 \tfrac{dx}{x} = \ln 2 - \ln 1 = \ln 2 \approx 0.693147\mathclose{\text{,}} ∫ 1 2 x d x = ln 2 − ln 1 = ln 2 ≈ 0.693147 , 即例 9.4 中和式所趋近的数;并且由于 ( − cos x ) ′ = sin x (-\cos x)' = \sin x ( − cos x ) ′ = sin x (模块 5 ), ∫ 0 π sin x d x = − cos π + cos 0 = 2 。 \int_0^\pi \sin x\,dx = -\cos\pi + \cos 0 = 2\mathclose{\text{。}} ∫ 0 π sin x d x = − cos π + cos 0 = 2 。
黎曼和依然至关重要。它们定义了积分;它们将实际问题(面积、距离、能量、平均值,以及在模块12中的体积、功和概率)转化为积分;并且当 F F F 没有由熟悉函数构成的公式时,如对于 e − x 2 , e^{-x^2}\mathclose{\text{,}} e − x 2 , 它们可以数值计算积分(模块11)。
曲线下面积和变速运动所经过的距离是同一个问题:将区间分成小段,用矩形近似每一小段,相加,然后让小段趋于零。
西格玛符号将 a m + ⋯ + a n a_m + \dots + a_n a m + ⋯ + a n 表示为 ∑ i = m n a i ; \sum_{i=m}^{n} a_i\mathclose{\text{;}} ∑ i = m n a i ; 和式可以拆分为 + + + 和 − , -\mathclose{\text{,}} − , 常数可以提出。 ∑ i = n ( n + 1 ) 2 、 \sum i = \tfrac{n(n+1)}{2}\mathclose{\text{、}} ∑ i = 2 n ( n + 1 ) 、 ∑ i 2 = n ( n + 1 ) ( 2 n + 1 ) 6 \sum i^2 = \tfrac{n(n+1)(2n+1)}{6} ∑ i 2 = 6 n ( n + 1 ) ( 2 n + 1 ) 和 ∑ i 3 = ( n ( n + 1 ) 2 ) 2 \sum i^3 = \big(\tfrac{n(n+1)}{2}\big)^2 ∑ i 3 = ( 2 n ( n + 1 ) ) 2 由配对、裂项相消和归纳法证明。
左、右和中点和 L n 、 L_n\mathclose{\text{、}} L n 、 R n R_n R n 和 M n M_n M n 分别在等宽 Δ x = b − a n \Delta x = \tfrac{b - a}{n} Δ x = n b − a 的 n n n 个子区间左端点、右端点或中点处取高。对于连续递增的 f , f\mathclose{\text{,}} f , L n ≤ ∫ a b f ≤ R n ; L_n \le \int_a^b f \le R_n\mathclose{\text{;}} L n ≤ ∫ a b f ≤ R n ; 对于连续递减的 f , f\mathclose{\text{,}} f , 则相反。对于 x 2 x^2 x 2 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上, L n L_n L n 和 R n R_n R n 的误差像 1 n \tfrac1n n 1 一样缩小, M n M_n M n 的误差像 1 n 2 \tfrac{1}{n^2} n 2 1 一样缩小。
定积分 ∫ 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 时的极限,无论样本点如何选取。连续函数,以及有限个间断点的有界函数都是可积的,此时 ∫ a b f = lim L n = lim R n = lim M n 。 \int_a^b f = \lim L_n = \lim R_n = \lim M_n\mathclose{\text{。}} ∫ a b f = lim L n = lim R n = lim M n 。 精确极限给出 ∫ 0 b x 2 d x = b 3 3 。 \int_0^b x^2\,dx = \tfrac{b^3}{3}\mathclose{\text{。}} ∫ 0 b x 2 d x = 3 b 3 。
积分是一个有符号的面积:轴上方的面积计为正,轴下方的面积计为负。总面积是 ∫ a b ∣ f ∣ 。 \int_a^b \abs{f}\mathclose{\text{。}} ∫ a b ∣ f ∣ 。 速度的积分是一个位移;所行路程是速度的积分 ∣ v ∣ 。 \abs{v}\mathclose{\text{。}} ∣ v ∣ 。
积分具有线性性质,区间可加(∫ a b f + ∫ b c f = ∫ a c f , \int_a^b f + \int_b^c f = \int_a^c f\mathclose{\text{,}} ∫ a b f + ∫ b c f = ∫ a c f , 与 ∫ b a f = − ∫ a b f ), \int_b^a f = -\int_a^b f\mathclose{\text{),}} ∫ b a f = − ∫ a b f ), 并保持不等式: m ( b − a ) ≤ ∫ a b f ≤ M ( b − a ) m(b - a) \le \int_a^b f \le M(b - a) m ( b − a ) ≤ ∫ a b f ≤ M ( b − a ) 当 m ≤ f ≤ M m \le f \le M m ≤ f ≤ M 在 [ a , b ] [a, b] [ a , b ] 上, a < b . a < b\mathclose{\text{.}} a < b .
三角形、梯形和圆盘的面积直接给出积分;在 [ − a , a ] [-a, a] [ − a , a ] 上,奇函数积分等于 0,偶函数积分等于其在 [ 0 , a ] [0, a] [ 0 , a ] 上积分的两倍。
f f f 在 [ a , b ] [a, b] [ a , b ] 上的平均值为 1 b − a ∫ a b f ( x ) d x , \tfrac{1}{b - a}\int_a^b f(x)\,dx\mathclose{\text{,}} b − a 1 ∫ a b f ( x ) d x , 且连续函数在其定义域 [ a , b ] [a, b] [ a , b ] 内某处取其平均值(积分的中值定理)。
对 ∫ 0 b x 2 d x = b 3 3 \int_0^b x^2\,dx = \tfrac{b^3}{3} ∫ 0 b x 2 d x = 3 b 3 关于 b b b 求导可得到 b 2 : b^2\mathclose{\text{:}} b 2 : 这是微积分基本定理的初步体现,模块 10。
练习 9.1 ★ 西格玛符号
(a) 写出并计算 ∑ i = 1 5 ( 2 i + 1 ) \sum_{i=1}^{5} (2i + 1) ∑ i = 1 5 ( 2 i + 1 ) 和 ∑ k = 0 4 3 k 。 \sum_{k=0}^{4} 3^k\mathclose{\text{。}} ∑ k = 0 4 3 k 。
(b) 用求和符号表示 2 + 4 + 6 + ⋯ + 100 , 2 + 4 + 6 + \dots + 100\mathclose{\text{,}} 2 + 4 + 6 + ⋯ + 100 , 并利用定理 9.2 计算。
(c) 利用求和法则和定理 9.2 计算 ∑ i = 1 10 ( i 2 − 3 i + 2 ) 。 \sum_{i=1}^{10} \big(i^2 - 3i + 2\big)\mathclose{\text{。}} ∑ i = 1 10 ( i 2 − 3 i + 2 ) 。
查看解答✓ 已检验
(a) ∑ i = 1 5 ( 2 i + 1 ) = 3 + 5 + 7 + 9 + 11 = 35 , \sum_{i=1}^{5} (2i + 1) = 3 + 5 + 7 + 9 + 11 = 35\mathclose{\text{,}} ∑ i = 1 5 ( 2 i + 1 ) = 3 + 5 + 7 + 9 + 11 = 35 , 和 ∑ k = 0 4 3 k = 1 + 3 + 9 + 27 + 81 = 121 。 \sum_{k=0}^{4} 3^k = 1 + 3 + 9 + 27 + 81 = 121\mathclose{\text{。}} ∑ k = 0 4 3 k = 1 + 3 + 9 + 27 + 81 = 121 。 第二个求和式有五个项,因为 k k k 从 0 开始。
(b) 偶数索引为 i i i 的数是 2 i , 2i\mathclose{\text{,}} 2 i , 且 2 i = 100 2i = 100 2 i = 100 在 i = 50 i = 50 i = 50 处,因此和为 ∑ i = 1 50 2 i 。 \sum_{i=1}^{50} 2i\mathclose{\text{。}} ∑ i = 1 50 2 i 。 根据求和的第一个规则和定理 9.2,
∑ i = 1 50 2 i = 2 ∑ i = 1 50 i = 2 ⋅ 50 ⋅ 51 2 = 2550. \begin{aligned} \sum_{i=1}^{50} 2i &= 2\sum_{i=1}^{50} i \\[5pt] &= 2 \cdot \frac{50 \cdot 51}{2} = 2550. \end{aligned} i = 1 ∑ 50 2 i = 2 i = 1 ∑ 50 i = 2 ⋅ 2 50 ⋅ 51 = 2550.
(c) 将和拆开,并使用定理 9.2 与 n = 10 : n = 10\mathclose{\text{:}} n = 10 :
∑ i = 1 10 ( i 2 − 3 i + 2 ) = ∑ i = 1 10 i 2 − 3 ∑ i = 1 10 i + ∑ i = 1 10 2 = 385 − 3 ⋅ 55 + 2 ⋅ 10 = 240. \begin{aligned} &\sum_{i=1}^{10} \big(i^2 - 3i + 2\big) \\[5pt] &\quad= \sum_{i=1}^{10} i^2 - 3\sum_{i=1}^{10} i + \sum_{i=1}^{10} 2 \\[5pt] &\quad= 385 - 3 \cdot 55 + 2 \cdot 10 = 240. \end{aligned} i = 1 ∑ 10 ( i 2 − 3 i + 2 ) = i = 1 ∑ 10 i 2 − 3 i = 1 ∑ 10 i + i = 1 ∑ 10 2 = 385 − 3 ⋅ 55 + 2 ⋅ 10 = 240.
一个常见的错误是写出 ∑ i = 1 10 2 = 2 ; \sum_{i=1}^{10} 2 = 2\mathclose{\text{;}} ∑ i = 1 10 2 = 2 ; 它实际上是 2 + 2 + ⋯ + 2 = 20 。 2 + 2 + \dots + 2 = 20\mathclose{\text{。}} 2 + 2 + ⋯ + 2 = 20 。 通过另一种方法验证: i 2 − 3 i + 2 = ( i − 1 ) ( i − 2 ) , i^2 - 3i + 2 = (i - 1)(i - 2)\mathclose{\text{,}} i 2 − 3 i + 2 = ( i − 1 ) ( i − 2 ) , 其在 i = 1 , … , 10 i = 1, \dots, 10 i = 1 , … , 10 处的值为 0 , 0 , 2 , 6 , 12 , 20 , 30 , 42 , 56 , 72 , 0, 0, 2, 6, 12, 20, 30, 42, 56, 72\mathclose{\text{,}} 0 , 0 , 2 , 6 , 12 , 20 , 30 , 42 , 56 , 72 , 和为 240。
练习 9.2 ★ 手动计算黎曼和
设 f ( x ) = 4 − x 2 f(x) = 4 - x^2 f ( x ) = 4 − x 2 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上。
(a) 计算 L 4 、 L_4\mathclose{\text{、}} L 4 、 R 4 R_4 R 4 和 M 4 。 M_4\mathclose{\text{。}} M 4 。
(b) 其中哪一个一定大于曲线下的面积,哪一个一定更小?为什么?
(c) 利用线性性质和 ∫ 0 b x 2 d x = b 3 3 \int_0^b x^2\,dx = \tfrac{b^3}{3} ∫ 0 b x 2 d x = 3 b 3 求出面积。哪一个这三个和最接近?
查看解答✓ 已检验
(a) Δ x = 2 − 0 4 = 0.5 。 \Delta x = \tfrac{2 - 0}{4} = 0.5\mathclose{\text{。}} Δ x = 4 2 − 0 = 0.5 。 切割点 0 , 0.5 , 1 , 1.5 , 2 0, 0.5, 1, 1.5, 2 0 , 0.5 , 1 , 1.5 , 2 给出的值为 4 , 3.75 , 3 , 1.75 , 0 , 4, 3.75, 3, 1.75, 0\mathclose{\text{,}} 4 , 3.75 , 3 , 1.75 , 0 , 因此
L 4 = 0.5 ( 4 + 3.75 + 3 + 1.75 ) = 0.5 ⋅ 12.5 = 6.25 , R 4 = 0.5 ( 3.75 + 3 + 1.75 + 0 ) = 0.5 ⋅ 8.5 = 4.25. \begin{aligned} L_4 &= 0.5(4 + 3.75 + 3 + 1.75) \\ &= 0.5 \cdot 12.5 = 6.25, \\ R_4 &= 0.5(3.75 + 3 + 1.75 + 0) \\ &= 0.5 \cdot 8.5 = 4.25. \end{aligned} L 4 R 4 = 0.5 ( 4 + 3.75 + 3 + 1.75 ) = 0.5 ⋅ 12.5 = 6.25 , = 0.5 ( 3.75 + 3 + 1.75 + 0 ) = 0.5 ⋅ 8.5 = 4.25.
中点 0.25 , 0.75 , 1.25 , 1.75 0.25, 0.75, 1.25, 1.75 0.25 , 0.75 , 1.25 , 1.75 给出值 3.9375 , 3.4375 , 2.4375 , 0.9375 , 3.9375, 3.4375, 2.4375, 0.9375\mathclose{\text{,}} 3.9375 , 3.4375 , 2.4375 , 0.9375 , 其和为 10.75 , 10.75\mathclose{\text{,}} 10.75 , 因此 M 4 = 0.5 ⋅ 10.75 = 5.375 。 M_4 = 0.5 \cdot 10.75 = 5.375\mathclose{\text{。}} M 4 = 0.5 ⋅ 10.75 = 5.375 。
(b) 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上, x 2 x^2 x 2 增加,因此 4 − x 2 4 - x^2 4 − x 2 减少。在每个子区间,其左端点的值为其最大值,因此 L 4 = 6.25 L_4 = 6.25 L 4 = 6.25 比面积大;其右端点的值为其最小值,因此 R 4 = 4.25 R_4 = 4.25 R 4 = 4.25 比面积小。这个论点对 M 4 M_4 M 4 没有任何说明。
(c) 由线性性,
∫ 0 2 ( 4 − x 2 ) d x = ∫ 0 2 4 d x − ∫ 0 2 x 2 d x = 8 − 8 3 = 16 3 ≈ 5.333. \begin{aligned} &\int_0^2 \big(4 - x^2\big)\,dx \\[5pt] &\quad= \int_0^2 4\,dx - \int_0^2 x^2\,dx \\[5pt] &\quad= 8 - \frac83 = \frac{16}{3} \approx 5.333. \end{aligned} ∫ 0 2 ( 4 − x 2 ) d x = ∫ 0 2 4 d x − ∫ 0 2 x 2 d x = 8 − 3 8 = 3 16 ≈ 5.333.
M 4 = 5.375 M_4 = 5.375 M 4 = 5.375 是最近的,比 43 8 − 16 3 = 1 24 ≈ 0.042 \tfrac{43}{8} - \tfrac{16}{3} = \tfrac{1}{24} \approx 0.042 8 43 − 3 16 = 24 1 ≈ 0.042 大; L 4 L_4 L 4 比 11 12 ≈ 0.917 \tfrac{11}{12} \approx 0.917 12 11 ≈ 0.917 大, R 4 R_4 R 4 比 13 12 ≈ 1.083 \tfrac{13}{12} \approx 1.083 12 13 ≈ 1.083 小。此处中点和高估,因为图像是向下弯曲的;模块 11 解释了这种联系。
练习 9.3 ★ 一辆减速的汽车
一位司机刹车,一位乘客每 5 秒读一次速度表,直到汽车停止。将读数转换为米每秒后,数据如下:
时间 t t t (秒)
速度 v v v (米/秒)
0
20
5
18
10
15
15
11
20
6
25
0
(a) 求左和右的和。哪一个是对刹车距离的上界估计?为什么?
(b) 速度表需要多频繁地读取,才能使两个估计值之间的差异不超过 20 米?
查看解答✓ 已检验
(a) 与 Δ t = 5 \Delta t = 5 Δ t = 5 s,
L = 5 ( 20 + 18 + 15 + 11 + 6 ) = 5 ⋅ 70 = 350 m , R = 5 ( 18 + 15 + 11 + 6 + 0 ) = 5 ⋅ 50 = 250 m . \begin{aligned} L &= 5(20 + 18 + 15 + 11 + 6) \\ &= 5 \cdot 70 = 350 \text{ m}, \\ R &= 5(18 + 15 + 11 + 6 + 0) \\ &= 5 \cdot 50 = 250 \text{ m}. \end{aligned} L R = 5 ( 20 + 18 + 15 + 11 + 6 ) = 5 ⋅ 70 = 350 m , = 5 ( 18 + 15 + 11 + 6 + 0 ) = 5 ⋅ 50 = 250 m .
汽车在整个过程中减速,因此在每个区间内,其速度最大值为该区间开始时的读数,最小值为该区间结束时的读数。因此,左和为 350 米,是上界估计值;右和为 250 米,是下界估计值:制动距离在 250 米和 350 米之间。这与例 9.2 相反,例 9.2 中汽车在加速。
(b) 如例 9.2 所示,除了第一个和最后一个读数外,每个读数在两个和中都出现,因此在每隔 Δ t \Delta t Δ t 秒读取一次的情况下
L − R = Δ t ( v ( 0 ) − v ( 25 ) ) = 20 Δ t . \begin{aligned} L - R &= \Delta t\,\big(v(0) - v(25)\big) \\ &= 20\,\Delta t. \end{aligned} L − R = Δ t ( v ( 0 ) − v ( 25 ) ) = 20 Δ t .
当 Δ t ≤ 1 \Delta t \le 1 Δ t ≤ 1 时,差异最多为 20 米:速度表至少每秒读取一次。
练习 9.4 ★ 积分与面积
通过将其解释为有符号面积或利用对称性来计算每个积分。
(a) ∫ 1 4 ( 3 − x ) d x \displaystyle\int_1^4 (3 - x)\,dx ∫ 1 4 ( 3 − x ) d x
(b) ∫ − 2 4 ∣ x ∣ d x \displaystyle\int_{-2}^{4} \abs{x}\,dx ∫ − 2 4 ∣ x ∣ d x
(c) ∫ 0 3 9 − x 2 d x \displaystyle\int_0^3 \sqrt{9 - x^2}\,dx ∫ 0 3 9 − x 2 d x
(d) ∫ − 2 2 ( x cos x + 3 ) d x \displaystyle\int_{-2}^{2} \big(x\cos x + 3\big)\,dx ∫ − 2 2 ( x cos x + 3 ) d x
查看解答✓ 已检验
(a) 直线 y = 3 − x y = 3 - x y = 3 − x 在 [ 1 , 3 ) [1, 3) [ 1 , 3 ) 上方,且在 ( 3 , 4 ] (3, 4] ( 3 , 4 ] 下方。上方:一个底边为 2、高为 f ( 1 ) = 2 f(1) = 2 f ( 1 ) = 2 的三角形,面积为 2。下方:一个底边为 1、高为 ∣ f ( 4 ) ∣ = 1 \abs{f(4)} = 1 ∣ f ( 4 ) ∣ = 1 的三角形,面积为 1 2 。 \tfrac12\mathclose{\text{。}} 2 1 。 积分是 2 − 1 2 = 3 2 。 2 - \tfrac12 = \tfrac32\mathclose{\text{。}} 2 − 2 1 = 2 3 。
(b) 两个三角形:在 [ − 2 , 0 ] [-2, 0] [ − 2 , 0 ] 上,底边为 2、高为 2,面积为 2;在 [ 0 , 4 ] [0, 4] [ 0 , 4 ] 上,底边为 4、高为 4,面积为 8。积分是 2 + 8 = 10 。 2 + 8 = 10\mathclose{\text{。}} 2 + 8 = 10 。
(c) y = 9 − x 2 y = \sqrt{9 - x^2} y = 9 − x 2 是圆 x 2 + y 2 = 9 x^2 + y^2 = 9 x 2 + y 2 = 9 的上半部分,半径为 3。从 x = 0 x = 0 x = 0 到 x = 3 , x = 3\mathclose{\text{,}} x = 3 , 它围成一个四分之一圆盘,面积为 1 4 π ⋅ 3 2 = 9 π 4 ≈ 7.069 。 \tfrac14\pi \cdot 3^2 = \tfrac{9\pi}{4} \approx 7.069\mathclose{\text{。}} 4 1 π ⋅ 3 2 = 4 9 π ≈ 7.069 。
(d) 由线性性质,积分是 ∫ − 2 2 x cos x d x + ∫ − 2 2 3 d x 。 \int_{-2}^{2} x\cos x\,dx + \int_{-2}^{2} 3\,dx\mathclose{\text{。}} ∫ − 2 2 x cos x d x + ∫ − 2 2 3 d x 。 函数 x cos x x\cos x x cos x 是奇函数,因为 ( − x ) cos ( − x ) = − x cos x (-x)\cos(-x) = -x\cos x ( − x ) cos ( − x ) = − x cos x (余弦是偶函数),因此其在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 上的积分是 0。第二个积分是 3 ⋅ 4 = 12 。 3 \cdot 4 = 12\mathclose{\text{。}} 3 ⋅ 4 = 12 。 答案是 12。
(a) 证明 f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上关于 n n n 个子区间的右黎和为 R n = 4 ( 1 + 1 n ) 2 。 R_n = 4\big(1 + \tfrac1n\big)^2\mathclose{\text{。}} R n = 4 ( 1 + n 1 ) 2 。
(b) 推出 ∫ 0 2 x 3 d x = 4 。 \displaystyle\int_0^2 x^3\,dx = 4\mathclose{\text{。}} ∫ 0 2 x 3 d x = 4 。
(c) 用相同的方式证明对于每个 b > 0 , b > 0\mathclose{\text{,}} b > 0 , 都有 ∫ 0 b x 3 d x = b 4 4 , \displaystyle\int_0^b x^3\,dx = \frac{b^4}{4}\mathclose{\text{,}} ∫ 0 b x 3 d x = 4 b 4 , 并求 ∫ 0 1 x 3 d x \displaystyle\int_0^1 x^3\,dx ∫ 0 1 x 3 d x 和 ∫ 1 2 x 3 d x 。 \displaystyle\int_1^2 x^3\,dx\mathclose{\text{。}} ∫ 1 2 x 3 d x 。
查看解答✓ 已检验
(a) Δ x = 2 n \Delta x = \tfrac2n Δ x = n 2 和 x i = 2 i n , x_i = \tfrac{2i}{n}\mathclose{\text{,}} x i = n 2 i , 所以 f ( x i ) = 8 i 3 n 3 。 f(x_i) = \tfrac{8i^3}{n^3}\mathclose{\text{。}} f ( x i ) = n 3 8 i 3 。 根据求和的第一个规则和 ∑ i 3 \sum i^3 ∑ i 3 的公式,
R n = ∑ i = 1 n 8 i 3 n 3 ⋅ 2 n = 16 n 4 ∑ i = 1 n i 3 = 16 n 4 ⋅ n 2 ( n + 1 ) 2 4 = 4 ( n + 1 ) 2 n 2 = 4 ( 1 + 1 n ) 2 . \begin{aligned} R_n &= \sum_{i=1}^{n}\frac{8i^3}{n^3}\cdot\frac2n = \frac{16}{n^4}\sum_{i=1}^{n} i^3 \\[5pt] &= \frac{16}{n^4}\cdot\frac{n^2(n + 1)^2}{4} \\[5pt] &= \frac{4(n + 1)^2}{n^2} = 4\Big(1 + \frac1n\Big)^2. \end{aligned} R n = i = 1 ∑ n n 3 8 i 3 ⋅ n 2 = n 4 16 i = 1 ∑ n i 3 = n 4 16 ⋅ 4 n 2 ( n + 1 ) 2 = n 2 4 ( n + 1 ) 2 = 4 ( 1 + n 1 ) 2 .
(b) x 3 x^3 x 3 是连续的,因此在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上可积(定理 9.3),并且根据定理 9.4,其积分为 lim n → ∞ R n = 4 ⋅ ( 1 + 0 ) 2 = 4 。 \lim_{n\to\infty} R_n = 4 \cdot (1 + 0)^2 = 4\mathclose{\text{。}} lim n → ∞ R n = 4 ⋅ ( 1 + 0 ) 2 = 4 。
(c) 现在 Δ x = b n \Delta x = \tfrac{b}{n} Δ x = n b 和 x i = i b n , x_i = \tfrac{ib}{n}\mathclose{\text{,}} x i = n ib , 所以
R n = b 4 n 4 ∑ i = 1 n i 3 = b 4 n 4 ⋅ n 2 ( n + 1 ) 2 4 = b 4 4 ( 1 + 1 n ) 2 , \begin{aligned} R_n &= \frac{b^4}{n^4}\sum_{i=1}^{n} i^3 \\[5pt] &= \frac{b^4}{n^4}\cdot\frac{n^2(n + 1)^2}{4} \\[5pt] &= \frac{b^4}{4}\Big(1 + \frac1n\Big)^2, \end{aligned} R n = n 4 b 4 i = 1 ∑ n i 3 = n 4 b 4 ⋅ 4 n 2 ( n + 1 ) 2 = 4 b 4 ( 1 + n 1 ) 2 ,
这趋近于 b 4 4 。 \tfrac{b^4}{4}\mathclose{\text{。}} 4 b 4 。 当 b = 1 b = 1 b = 1 时, ∫ 0 1 x 3 d x = 1 4 。 \int_0^1 x^3\,dx = \tfrac14\mathclose{\text{。}} ∫ 0 1 x 3 d x = 4 1 。 根据可加性, ∫ 1 2 x 3 d x = ∫ 0 2 x 3 d x − ∫ 0 1 x 3 d x = 4 − 1 4 = 15 4 。 \int_1^2 x^3\,dx = \int_0^2 x^3\,dx - \int_0^1 x^3\,dx = 4 - \tfrac14 = \tfrac{15}{4}\mathclose{\text{。}} ∫ 1 2 x 3 d x = ∫ 0 2 x 3 d x − ∫ 0 1 x 3 d x = 4 − 4 1 = 4 15 。
练习 9.6 ★★ 两种方式的有符号面积
(a) 将 ∫ 1 4 ( 2 x − 3 ) d x \displaystyle\int_1^4 (2x - 3)\,dx ∫ 1 4 ( 2 x − 3 ) d x 表示为右和的极限。
(b) 用几何方法验证你的答案:绘制图像并找出它与 x x x 轴所形成的三角形的面积。图像与轴之间的总面积是多少?
查看解答✓ 已检验
(a) Δ x = 3 n \Delta x = \tfrac3n Δ x = n 3 和 x i = 1 + 3 i n , x_i = 1 + \tfrac{3i}{n}\mathclose{\text{,}} x i = 1 + n 3 i , 因此 f ( x i ) = 2 + 6 i n − 3 = 6 i n − 1 , f(x_i) = 2 + \tfrac{6i}{n} - 3 = \tfrac{6i}{n} - 1\mathclose{\text{,}} f ( x i ) = 2 + n 6 i − 3 = n 6 i − 1 , 并且
R n = ∑ i = 1 n ( 6 i n − 1 ) 3 n = 18 n 2 ∑ i = 1 n i − 3 n ∑ i = 1 n 1 = 18 n 2 ⋅ n ( n + 1 ) 2 − 3 = 9 ( n + 1 ) n − 3. \begin{aligned} R_n &= \sum_{i=1}^{n}\Big(\frac{6i}{n} - 1\Big)\frac3n \\[5pt] &= \frac{18}{n^2}\sum_{i=1}^{n} i - \frac3n\sum_{i=1}^{n} 1 \\[5pt] &= \frac{18}{n^2}\cdot\frac{n(n + 1)}{2} - 3 \\[5pt] &= \frac{9(n + 1)}{n} - 3. \end{aligned} R n = i = 1 ∑ n ( n 6 i − 1 ) n 3 = n 2 18 i = 1 ∑ n i − n 3 i = 1 ∑ n 1 = n 2 18 ⋅ 2 n ( n + 1 ) − 3 = n 9 ( n + 1 ) − 3.
当 n → ∞ , n \to \infty\mathclose{\text{,}} n → ∞ , n + 1 n → 1 , \tfrac{n + 1}{n} \to 1\mathclose{\text{,}} n n + 1 → 1 , 因此 ∫ 1 4 ( 2 x − 3 ) d x = 9 − 3 = 6 。 \int_1^4 (2x - 3)\,dx = 9 - 3 = 6\mathclose{\text{。}} ∫ 1 4 ( 2 x − 3 ) d x = 9 − 3 = 6 。
(b) 直线 y = 2 x − 3 y = 2x - 3 y = 2 x − 3 与轴在 x = 3 2 x = \tfrac32 x = 2 3 处相交。在 [ 1 , 3 2 ] \big[1, \tfrac32\big] [ 1 , 2 3 ] 区间内,它位于轴下方,形成一个底为 1 2 、 \tfrac12\mathclose{\text{、}} 2 1 、 高为 ∣ f ( 1 ) ∣ = 1 \abs{f(1)} = 1 ∣ f ( 1 ) ∣ = 1 的三角形,面积为 1 4 。 \tfrac14\mathclose{\text{。}} 4 1 。 在 [ 3 2 , 4 ] \big[\tfrac32, 4\big] [ 2 3 , 4 ] 区间内,它位于轴上方,形成一个底为 5 2 、 \tfrac52\mathclose{\text{、}} 2 5 、 高为 f ( 4 ) = 5 f(4) = 5 f ( 4 ) = 5 的三角形,面积为 25 4 。 \tfrac{25}{4}\mathclose{\text{。}} 4 25 。 有符号的面积是 25 4 − 1 4 = 6 , \tfrac{25}{4} - \tfrac14 = 6\mathclose{\text{,}} 4 25 − 4 1 = 6 , 如 (a) 所示。总面积是 25 4 + 1 4 = 13 2 。 \tfrac{25}{4} + \tfrac14 = \tfrac{13}{2}\mathclose{\text{。}} 4 25 + 4 1 = 2 13 。
练习 9.7 ★★ 去而复返
例 4.10 中的粒子位置为 s ( t ) = t 3 − 6 t 2 + 9 t s(t) = t^3 - 6t^2 + 9t s ( t ) = t 3 − 6 t 2 + 9 t 米,速度为 v ( t ) = 3 t 2 − 12 t + 9 v(t) = 3t^2 - 12t + 9 v ( t ) = 3 t 2 − 12 t + 9 m/s;它在 t = 1 t = 1 t = 1 和 t = 3 t = 3 t = 3 处静止,并在两者之间向反方向运动。
(a) 使用 ∫ 0 b t 2 d t = b 3 3 \int_0^b t^2\,dt = \tfrac{b^3}{3} ∫ 0 b t 2 d t = 3 b 3 和 ∫ 0 b t d t = b 2 2 \int_0^b t\,dt = \tfrac{b^2}{2} ∫ 0 b t d t = 2 b 2 的线性性来求 ∫ 0 b v ( t ) d t \int_0^b v(t)\,dt ∫ 0 b v ( t ) d t 对于 b > 0 。 b > 0\mathclose{\text{。}} b > 0 。 将其与 s ( b ) − s ( 0 ) s(b) - s(0) s ( b ) − s ( 0 ) 进行比较。
(b) 使用可加性来求 ∫ 0 1 v ( t ) d t 、 \int_0^1 v(t)\,dt\mathclose{\text{、}} ∫ 0 1 v ( t ) d t 、 ∫ 1 3 v ( t ) d t \int_1^3 v(t)\,dt ∫ 1 3 v ( t ) d t 和 ∫ 3 4 v ( t ) d t 。 \int_3^4 v(t)\,dt\mathclose{\text{。}} ∫ 3 4 v ( t ) d t 。 求前 4 秒内的位移和路程,并与 模块 4 进行比较。
查看解答✓ 已检验
(a) 通过线性性,有 ∫ 0 b 9 d t = 9 b , \int_0^b 9\,dt = 9b\mathclose{\text{,}} ∫ 0 b 9 d t = 9 b ,
∫ 0 b v ( t ) d t = 3 ∫ 0 b t 2 d t − 12 ∫ 0 b t d t + ∫ 0 b 9 d t = 3 ⋅ b 3 3 − 12 ⋅ b 2 2 + 9 b = b 3 − 6 b 2 + 9 b . \begin{aligned} &\int_0^b v(t)\,dt \\[5pt] &\quad= 3\int_0^b t^2\,dt - 12\int_0^b t\,dt \\[5pt] &\qquad + \int_0^b 9\,dt \\[5pt] &\quad= 3\cdot\frac{b^3}{3} - 12\cdot\frac{b^2}{2} + 9b \\[5pt] &\quad= b^3 - 6b^2 + 9b. \end{aligned} ∫ 0 b v ( t ) d t = 3 ∫ 0 b t 2 d t − 12 ∫ 0 b t d t + ∫ 0 b 9 d t = 3 ⋅ 3 b 3 − 12 ⋅ 2 b 2 + 9 b = b 3 − 6 b 2 + 9 b .
即 s ( b ) , s(b)\mathclose{\text{,}} s ( b ) , 且 s ( 0 ) = 0 : s(0) = 0\mathclose{\text{:}} s ( 0 ) = 0 : 从 0 到 b b b 的速度积分是位移 s ( b ) − s ( 0 ) , s(b) - s(0)\mathclose{\text{,}} s ( b ) − s ( 0 ) , 如第 9.4 节所述。
(b) 写 F ( b ) = ∫ 0 b v ( t ) d t = b 3 − 6 b 2 + 9 b , F(b) = \int_0^b v(t)\,dt = b^3 - 6b^2 + 9b\mathclose{\text{,}} F ( b ) = ∫ 0 b v ( t ) d t = b 3 − 6 b 2 + 9 b , 使得 F ( 1 ) = 4 , F(1) = 4\mathclose{\text{,}} F ( 1 ) = 4 , F ( 3 ) = 0 F(3) = 0 F ( 3 ) = 0 和 F ( 4 ) = 4 。 F(4) = 4\mathclose{\text{。}} F ( 4 ) = 4 。 由可加性,∫ p q v = F ( q ) − F ( p ) \int_p^q v = F(q) - F(p) ∫ p q v = F ( q ) − F ( p ) 对于 0 ≤ p < q , 0 \le p < q\mathclose{\text{,}} 0 ≤ p < q , 所以
∫ 0 1 v d t = 4 , ∫ 1 3 v d t = 0 − 4 = − 4 , ∫ 3 4 v d t = 4 − 0 = 4. \begin{aligned} \int_0^1 v\,dt &= 4, \\[5pt] \int_1^3 v\,dt &= 0 - 4 = -4, \\[5pt] \int_3^4 v\,dt &= 4 - 0 = 4. \end{aligned} ∫ 0 1 v d t ∫ 1 3 v d t ∫ 3 4 v d t = 4 , = 0 − 4 = − 4 , = 4 − 0 = 4.
在 [ 0 , 4 ] [0, 4] [ 0 , 4 ] 时间内位移为 4 − 4 + 4 = 4 4 - 4 + 4 = 4 4 − 4 + 4 = 4 米。速度仅在 ( 1 , 3 ) (1, 3) ( 1 , 3 ) 为负,因此路程为 ∫ 0 4 ∣ v ∣ d t = 4 + 4 + 4 = 12 \int_0^4 \abs{v}\,dt = 4 + 4 + 4 = 12 ∫ 0 4 ∣ v ∣ d t = 4 + 4 + 4 = 12 米。这些数值与例 4.10 相同:粒子向前移动 4 米,返回 4 米,再向前移动 4 米,总共移动了 12 米,最终距离起点 4 米。
练习 9.8 ★★ 上界与平均值
(a) 证明 1 ≤ ∫ 0 1 1 + x 2 d x ≤ 2 。 1 \le \displaystyle\int_0^1 \sqrt{1 + x^2}\,dx \le \sqrt2\mathclose{\text{。}} 1 ≤ ∫ 0 1 1 + x 2 d x ≤ 2 。
(b) 求 f ( x ) = 3 x 2 f(x) = 3x^2 f ( x ) = 3 x 2 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 上的平均值,以及 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 中满足 f ( c ) = f avg f(c) = f_{\text{avg}} f ( c ) = f avg 的数 c 。 c\mathclose{\text{。}} c 。
(c) 求 g ( x ) = 4 − x 2 g(x) = \sqrt{4 - x^2} g ( x ) = 4 − x 2 在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 上的平均值,以及 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 中所有满足 g ( c ) = g avg g(c) = g_{\text{avg}} g ( c ) = g avg 的数 c 。 c\mathclose{\text{。}} c 。
查看解答✓ 已检验
(a) 对于 x x x ∈ [ 0 , 1 ] , [0, 1]\mathclose{\text{,}} [ 0 , 1 ] , 有 0 ≤ x 2 ≤ 1 , 0 \le x^2 \le 1\mathclose{\text{,}} 0 ≤ x 2 ≤ 1 , 因此 1 ≤ 1 + x 2 ≤ 2 , 1 \le 1 + x^2 \le 2\mathclose{\text{,}} 1 ≤ 1 + x 2 ≤ 2 , 由于平方根是增函数,故 1 ≤ 1 + x 2 ≤ 2 。 1 \le \sqrt{1 + x^2} \le \sqrt2\mathclose{\text{。}} 1 ≤ 1 + x 2 ≤ 2 。 应用定理 9.7(c) 与 b − a = 1 b - a = 1 b − a = 1 得 1 ≤ ∫ 0 1 1 + x 2 d x ≤ 2 ≈ 1.414 。 1 \le \int_0^1 \sqrt{1 + x^2}\,dx \le \sqrt2 \approx 1.414\mathclose{\text{。}} 1 ≤ ∫ 0 1 1 + x 2 d x ≤ 2 ≈ 1.414 。
(b) ∫ 0 2 3 x 2 d x = 3 ⋅ 8 3 = 8 , \int_0^2 3x^2\,dx = 3 \cdot \tfrac83 = 8\mathclose{\text{,}} ∫ 0 2 3 x 2 d x = 3 ⋅ 3 8 = 8 , 因此 f avg = 8 2 = 4 。 f_{\text{avg}} = \tfrac82 = 4\mathclose{\text{。}} f avg = 2 8 = 4 。 由 3 c 2 = 4 3c^2 = 4 3 c 2 = 4 得 c 2 = 4 3 ; c^2 = \tfrac43\mathclose{\text{;}} c 2 = 3 4 ; 在 [ 0 , 2 ] [0, 2] [ 0 , 2 ] 中的根为 c = 2 3 ≈ 1.155 。 c = \tfrac{2}{\sqrt3} \approx 1.155\mathclose{\text{。}} c = 3 2 ≈ 1.155 。
(c) ∫ − 2 2 4 − x 2 d x \int_{-2}^{2} \sqrt{4 - x^2}\,dx ∫ − 2 2 4 − x 2 d x 是半圆面积,半径为 2,面积为 2 π 。 2\pi\mathclose{\text{。}} 2 π 。 区间长度为 4,因此 g avg = 2 π 4 = π 2 ≈ 1.571 。 g_{\text{avg}} = \tfrac{2\pi}{4} = \tfrac{\pi}{2} \approx 1.571\mathclose{\text{。}} g avg = 4 2 π = 2 π ≈ 1.571 。 解 4 − c 2 = π 2 : \sqrt{4 - c^2} = \tfrac{\pi}{2}\mathclose{\text{:}} 4 − c 2 = 2 π : 平方得 4 − c 2 = π 2 4 , 4 - c^2 = \tfrac{\pi^2}{4}\mathclose{\text{,}} 4 − c 2 = 4 π 2 , 因此 c = ± 4 − π 2 4 ≈ ± 1.238 。 c = \pm\sqrt{4 - \tfrac{\pi^2}{4}} \approx \pm1.238\mathclose{\text{。}} c = ± 4 − 4 π 2 ≈ ± 1.238 。 两者都在 [ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 中,且都满足方程,因为 π 2 4 \tfrac{\pi^2}{4} 4 π 2 的平方根为 π 2 。 \tfrac{\pi}{2}\mathclose{\text{。}} 2 π 。
练习 9.9 ★★ 能量来自功率日志
一个程序在一次一分钟的任务中,每隔10秒记录一次GPU的功率消耗。读数如下:
时间 t t t (秒)
功率 P P P (W)
0
120
10
180
20
250
30
260
40
240
50
200
60
150
能量是功率随时间的积累:1瓦特持续1秒等于1焦耳(J),因此该任务消耗了 E = ∫ 0 60 P ( t ) d t E = \int_0^{60} P(t)\,dt E = ∫ 0 60 P ( t ) d t 焦耳。
(a) 用左和右求和法估算 E 。 E\mathclose{\text{。}} E 。
(b) 你能得出 E E E 介于两者之间吗?解释。
(c) 从两个求和的平均值估算任务期间的平均功率,以及以瓦时为单位的能量(1 1 1 Wh = 3600 = 3600 = 3600 J)。
查看解答✓ 已检验
(a) 与 Δ t = 10 \Delta t = 10 Δ t = 10 s,
L = 10 ( 120 + 180 + 250 + 260 + 240 + 200 ) = 10 ⋅ 1250 = 12,500 J , R = 10 ( 180 + 250 + 260 + 240 + 200 + 150 ) = 10 ⋅ 1280 = 12,800 J . \begin{aligned} L &= 10(120 + 180 + 250 \\ &\qquad + 260 + 240 + 200) \\ &= 10 \cdot 1250 = 12{,}500 \text{ J}, \\ R &= 10(180 + 250 + 260 \\ &\qquad + 240 + 200 + 150) \\ &= 10 \cdot 1280 = 12{,}800 \text{ J}. \end{aligned} L R = 10 ( 120 + 180 + 250 + 260 + 240 + 200 ) = 10 ⋅ 1250 = 12 , 500 J , = 10 ( 180 + 250 + 260 + 240 + 200 + 150 ) = 10 ⋅ 1280 = 12 , 800 J .
(b) 否。功率在前30秒内上升,之后下降。在上升的区间,区间的左侧读数是较小的;在下降的区间,左侧读数是较大的。因此,左侧和右侧的和都混合了低估和高估,且无法保证始终在 E E E 之上或之下。更糟糕的是,10秒的读数无法反映它们之间的短时尖峰。在不知道 P P P 在读数之间的更多信息(例如,每个区间内是稳定上升还是下降)的情况下,这些读数无法限定能量。
(c) 两个和的平均值是 12,650 12{,}650 12 , 650 J。平均功率是 1 60 ∫ 0 60 P ( t ) d t ≈ 12,650 60 ≈ 210.8 \tfrac{1}{60}\int_0^{60} P(t)\,dt \approx \tfrac{12{,}650}{60} \approx 210.8 60 1 ∫ 0 60 P ( t ) d t ≈ 60 12 , 650 ≈ 210.8 W,能量大约是 12,650 3600 ≈ 3.51 \tfrac{12{,}650}{3600} \approx 3.51 3600 12 , 650 ≈ 3.51 Wh。
练习 9.10 ★★★ 通过归纳法和裂项相消法求和
(a) 用归纳法证明公式 ∑ i = 1 n i 2 = n ( n + 1 ) ( 2 n + 1 ) 6 。 \sum_{i=1}^{n} i^2 = \dfrac{n(n + 1)(2n + 1)}{6}\mathclose{\text{。}} ∑ i = 1 n i 2 = 6 n ( n + 1 ) ( 2 n + 1 ) 。
(b) 证明 i ( i + 1 ) ( i + 2 ) − ( i − 1 ) i ( i + 1 ) = 3 i ( i + 1 ) , i(i + 1)(i + 2) - (i - 1)i(i + 1) = 3i(i + 1)\mathclose{\text{,}} i ( i + 1 ) ( i + 2 ) − ( i − 1 ) i ( i + 1 ) = 3 i ( i + 1 ) , 并用它来证明∑ i = 1 n i ( i + 1 ) = n ( n + 1 ) ( n + 2 ) 3 . \sum_{i=1}^{n} i(i + 1) = \frac{n(n + 1)(n + 2)}{3}. i = 1 ∑ n i ( i + 1 ) = 3 n ( n + 1 ) ( n + 2 ) .
(c) 利用 (b) 和公式 ∑ i \sum i ∑ i 给出公式 ∑ i 2 \sum i^2 ∑ i 2 的第三个证明。
查看解答✓ 已检验
(a) 基本情况. 对于 n = 1 n = 1 n = 1 两边都是 1: 1 ⋅ 2 ⋅ 3 6 = 1 . \tfrac{1 \cdot 2 \cdot 3}{6} = 1\mathclose{\text{.}} 6 1 ⋅ 2 ⋅ 3 = 1 .
归纳步骤. 假设公式对某个 k ≥ 1 k \ge 1 k ≥ 1 成立。加上下一个项并提取公共因子 k + 1 , k + 1\mathclose{\text{,}} k + 1 ,
∑ i = 1 k + 1 i 2 = k ( k + 1 ) ( 2 k + 1 ) 6 + ( k + 1 ) 2 = k + 1 6 [ k ( 2 k + 1 ) + 6 ( k + 1 ) ] = k + 1 6 ( 2 k 2 + 7 k + 6 ) = ( k + 1 ) ( k + 2 ) ( 2 k + 3 ) 6 . \begin{aligned} &\sum_{i=1}^{k+1} i^2 \\[5pt] &= \frac{k(k + 1)(2k + 1)}{6} + (k + 1)^2 \\[5pt] &= \frac{k + 1}{6}\big[k(2k + 1) + 6(k + 1)\big] \\[5pt] &= \frac{k + 1}{6}\big(2k^2 + 7k + 6\big) \\[5pt] &= \frac{(k + 1)(k + 2)(2k + 3)}{6}. \end{aligned} i = 1 ∑ k + 1 i 2 = 6 k ( k + 1 ) ( 2 k + 1 ) + ( k + 1 ) 2 = 6 k + 1 [ k ( 2 k + 1 ) + 6 ( k + 1 ) ] = 6 k + 1 ( 2 k 2 + 7 k + 6 ) = 6 ( k + 1 ) ( k + 2 ) ( 2 k + 3 ) .
这是公式对 n = k + 1 n = k + 1 n = k + 1 的形式,因为 2 ( k + 1 ) + 1 = 2 k + 3 。 2(k + 1) + 1 = 2k + 3\mathclose{\text{。}} 2 ( k + 1 ) + 1 = 2 k + 3 。 通过归纳,公式对每个 n ≥ 1 n \ge 1 n ≥ 1 都成立。
(b) 左边两个乘积都包含因子 i ( i + 1 ) : i(i + 1)\mathclose{\text{:}} i ( i + 1 ) :
i ( i + 1 ) ( i + 2 ) − ( i − 1 ) i ( i + 1 ) = i ( i + 1 ) [ ( i + 2 ) − ( i − 1 ) ] = 3 i ( i + 1 ) . \begin{aligned} &i(i + 1)(i + 2) - (i - 1)i(i + 1) \\ &\quad= i(i + 1)\big[(i + 2) - (i - 1)\big] \\ &\quad= 3i(i + 1). \end{aligned} i ( i + 1 ) ( i + 2 ) − ( i − 1 ) i ( i + 1 ) = i ( i + 1 ) [ ( i + 2 ) − ( i − 1 ) ] = 3 i ( i + 1 ) .
将此相加于 i = 1 , … , n 。 i = 1, \dots, n\mathclose{\text{。}} i = 1 , … , n 。 左边的表达式展开:每个 i i i 的 i ( i + 1 ) ( i + 2 ) i(i + 1)(i + 2) i ( i + 1 ) ( i + 2 ) 项抵消 i ′ = i + 1 i' = i + 1 i ′ = i + 1 的 − ( i ′ − 1 ) i ′ ( i ′ + 1 ) -(i' - 1)i'(i' + 1) − ( i ′ − 1 ) i ′ ( i ′ + 1 ) 项,这两个项是相同的乘积,因此只剩下最后一个正项和第一个负项:
∑ i = 1 n [ i ( i + 1 ) ( i + 2 ) − ( i − 1 ) i ( i + 1 ) ] = n ( n + 1 ) ( n + 2 ) − 0 ⋅ 1 ⋅ 2. \begin{aligned} &\sum_{i=1}^{n}\big[i(i + 1)(i + 2) \\[5pt] &\qquad - (i - 1)i(i + 1)\big] \\[5pt] &\quad= n(n + 1)(n + 2) - 0 \cdot 1 \cdot 2. \end{aligned} i = 1 ∑ n [ i ( i + 1 ) ( i + 2 ) − ( i − 1 ) i ( i + 1 ) ] = n ( n + 1 ) ( n + 2 ) − 0 ⋅ 1 ⋅ 2.
所以 3 ∑ i = 1 n i ( i + 1 ) = n ( n + 1 ) ( n + 2 ) , 3\sum_{i=1}^{n} i(i + 1) = n(n + 1)(n + 2)\mathclose{\text{,}} 3 ∑ i = 1 n i ( i + 1 ) = n ( n + 1 ) ( n + 2 ) , 即公式。
(c) 由于 i 2 = i ( i + 1 ) − i , i^2 = i(i + 1) - i\mathclose{\text{,}} i 2 = i ( i + 1 ) − i , 求和规则使得平方和等于 (b) 中的和减去 ∑ i = 1 n i 。 \sum_{i=1}^{n} i\mathclose{\text{。}} ∑ i = 1 n i 。 因此,由 (b) 和定理 9.2,
∑ i = 1 n i 2 = n ( n + 1 ) ( n + 2 ) 3 − n ( n + 1 ) 2 = n ( n + 1 ) [ 2 ( n + 2 ) − 3 ] 6 = n ( n + 1 ) ( 2 n + 1 ) 6 . \begin{aligned} &\sum_{i=1}^{n} i^2 \\[5pt] &\quad= \frac{n(n + 1)(n + 2)}{3} \\[5pt] &\qquad - \frac{n(n + 1)}{2} \\[5pt] &\quad= \frac{n(n + 1)\big[2(n + 2) - 3\big]}{6} \\[5pt] &\quad= \frac{n(n + 1)(2n + 1)}{6}. \end{aligned} i = 1 ∑ n i 2 = 3 n ( n + 1 ) ( n + 2 ) − 2 n ( n + 1 ) = 6 n ( n + 1 ) [ 2 ( n + 2 ) − 3 ] = 6 n ( n + 1 ) ( 2 n + 1 ) .
(a) 证明,对于每个数 r ≠ 1 r \ne 1 r = 1 和整数 n ≥ 1 , n \ge 1\mathclose{\text{,}} n ≥ 1 , ∑ i = 0 n − 1 r i = r n − 1 r − 1 . \sum_{i=0}^{n-1} r^i = \frac{r^n - 1}{r - 1}. i = 0 ∑ n − 1 r i = r − 1 r n − 1 .
(将和乘以 r − 1 。) r - 1\mathclose{\text{。)}} r − 1 。 )
(b) 证明 e x e^x e x 在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上以 n n n 个子区间计算的左黎和是L n = ( e − 1 ) 1 / n e 1 / n − 1 . L_n = (e - 1)\,\frac{1/n}{e^{1/n} - 1}. L n = ( e − 1 ) e 1/ n − 1 1/ n .
(c) 使用 lim h → 0 e h − 1 h = 1 \lim_{h\to0} \dfrac{e^h - 1}{h} = 1 lim h → 0 h e h − 1 = 1 来证明 ∫ 0 1 e x d x = e − 1 ≈ 1.718 。 \displaystyle\int_0^1 e^x\,dx = e - 1 \approx 1.718\mathclose{\text{。}} ∫ 0 1 e x d x = e − 1 ≈ 1.718 。 为什么这个极限是 1?
查看解答✓ 已检验
(a) 展开: ( r − 1 ) ( 1 + r + ⋯ + r n − 1 ) = ( r + r 2 + ⋯ + r n ) − ( 1 + r + ⋯ + r n − 1 ) 。 (r - 1)\big(1 + r + \dots + r^{n-1}\big) = \big(r + r^2 + \dots + r^n\big) - \big(1 + r + \dots + r^{n-1}\big)\mathclose{\text{。}} ( r − 1 ) ( 1 + r + ⋯ + r n − 1 ) = ( r + r 2 + ⋯ + r n ) − ( 1 + r + ⋯ + r n − 1 ) 。 每个从 r r r 到 r n − 1 r^{n-1} r n − 1 的幂都出现一次,且符号相反,相互抵消:差值形成裂项相消求和,结果为 r n − 1 。 r^n - 1\mathclose{\text{。}} r n − 1 。 由于 r ≠ 1 , r \ne 1\mathclose{\text{,}} r = 1 , 除以 r − 1 。 r - 1\mathclose{\text{。}} r − 1 。
(b) 此时 Δ x = 1 n , \Delta x = \tfrac1n\mathclose{\text{,}} Δ x = n 1 , 且左端点为 x i = i n x_i = \tfrac{i}{n} x i = n i 对于 i = 0 , … , n − 1 , i = 0, \dots, n - 1\mathclose{\text{,}} i = 0 , … , n − 1 , 因此
L n = ∑ i = 0 n − 1 e i / n ⋅ 1 n = 1 n ∑ i = 0 n − 1 ( e 1 / n ) i . \begin{aligned} L_n &= \sum_{i=0}^{n-1} e^{i/n}\cdot\frac1n \\[5pt] &= \frac1n\sum_{i=0}^{n-1}\big(e^{1/n}\big)^i. \end{aligned} L n = i = 0 ∑ n − 1 e i / n ⋅ n 1 = n 1 i = 0 ∑ n − 1 ( e 1/ n ) i .
这是 (a) 中的和乘以 r = e 1 / n , r = e^{1/n}\mathclose{\text{,}} r = e 1/ n , 其不等于 1,因为 1 n ≠ 0 , \tfrac1n \ne 0\mathclose{\text{,}} n 1 = 0 , 且 r n = e 。 r^n = e\mathclose{\text{。}} r n = e 。 因此 L n = 1 n ⋅ e − 1 e 1 / n − 1 , L_n = \tfrac1n \cdot \tfrac{e - 1}{e^{1/n} - 1}\mathclose{\text{,}} L n = n 1 ⋅ e 1/ n − 1 e − 1 , 即公式。
(c) 令 h = 1 n 。 h = \tfrac1n\mathclose{\text{。}} h = n 1 。 则
1 / n e 1 / n − 1 = h e h − 1 = 1 ( e h − 1 ) / h . \begin{aligned} \frac{1/n}{e^{1/n} - 1} &= \frac{h}{e^h - 1} \\[5pt] &= \frac{1}{(e^h - 1)/h}. \end{aligned} e 1/ n − 1 1/ n = e h − 1 h = ( e h − 1 ) / h 1 .
当 n → ∞ n \to \infty n → ∞ 时, h → 0 + , h \to 0^+\mathclose{\text{,}} h → 0 + , 且 e h − 1 h = e 0 + h − e 0 h \tfrac{e^h - 1}{h} = \tfrac{e^{0+h} - e^0}{h} h e h − 1 = h e 0 + h − e 0 是 e x e^x e x 在 0 处的差商。其极限是 e x e^x e x 在 0 处的导数,即 e 0 = 1 e^0 = 1 e 0 = 1 (模块 6)。因此 L n → ( e − 1 ) ⋅ 1 1 = e − 1 。 L_n \to (e - 1) \cdot \tfrac11 = e - 1\mathclose{\text{。}} L n → ( e − 1 ) ⋅ 1 1 = e − 1 。 由于 e x e^x e x 连续,因此可积,根据定理 9.4
∫ 0 1 e x d x = lim n → ∞ L n = e − 1 ≈ 1.718. \begin{aligned} \int_0^1 e^x\,dx &= \lim_{n\to\infty} L_n \\[5pt] &= e - 1 \approx 1.718. \end{aligned} ∫ 0 1 e x d x = n → ∞ lim L n = e − 1 ≈ 1.718.
练习 9.12 ★★★ 零积分
设f f f 在[ a , b ] [a, b] [ a , b ] 上连续,其中a < b , a < b\mathclose{\text{,}} a < b , 且对[ a , b ] [a, b] [ a , b ] 中的每个x , x\mathclose{\text{,}} x , f ( x ) ≥ 0 f(x) \ge 0 f ( x ) ≥ 0 成立。
(a) 证明:如果 f ( c ) > 0 f(c) > 0 f ( c ) > 0 在某个 c c c ∈ [ a , b ] [a, b] [ a , b ] 处成立,则 ∫ a b f ( x ) d x > 0 。 \int_a^b f(x)\,dx > 0\mathclose{\text{。}} ∫ a b f ( x ) d x > 0 。 (提示:由连续性,对于足够接近 c c c 的 x x x ∈ [ a , b ] , [a, b]\mathclose{\text{,}} [ a , b ] , 有 f ( x ) > f ( c ) 2 。) f(x) > \tfrac{f(c)}{2}\mathclose{\text{。)}} f ( x ) > 2 f ( c ) 。 )
(b) 推出:如果 ∫ a b f ( x ) d x = 0 , \int_a^b f(x)\,dx = 0\mathclose{\text{,}} ∫ a b f ( x ) d x = 0 , 则 f ( x ) = 0 f(x) = 0 f ( x ) = 0 对于每一个 x x x ∈ [ a , b ] [a, b] [ a , b ] 都成立。
(c) 说明在没有连续性的前提下 (b) 不成立:找出一个定义在 [ 0 , 1 ] [0, 1] [ 0 , 1 ] 上、可积的函数 g ≥ 0 , g \ge 0\mathclose{\text{,}} g ≥ 0 , 满足 ∫ 0 1 g ( x ) d x = 0 , \int_0^1 g(x)\,dx = 0\mathclose{\text{,}} ∫ 0 1 g ( x ) d x = 0 , 但并非处处为零。
查看解答✓ 已检验
(a) 设 ε = f ( c ) 2 > 0 。 \varepsilon = \tfrac{f(c)}{2} > 0\mathclose{\text{。}} ε = 2 f ( c ) > 0 。 由于 f f f 在 c c c 处连续,存在一个 δ > 0 , \delta > 0\mathclose{\text{,}} δ > 0 , 使得 ∣ f ( x ) − f ( c ) ∣ < f ( c ) 2 , \abs{f(x) - f(c)} < \tfrac{f(c)}{2}\mathclose{\text{,}} ∣ f ( x ) − f ( c ) ∣ < 2 f ( c ) , 因此 f ( x ) > f ( c ) 2 , f(x) > \tfrac{f(c)}{2}\mathclose{\text{,}} f ( x ) > 2 f ( c ) , 对于每一个 x x x ∈ [ a , b ] [a, b] [ a , b ] 且 ∣ x − c ∣ < δ 。 \abs{x - c} < \delta\mathclose{\text{。}} ∣ x − c ∣ < δ 。 令 p = max ( a , c − δ 2 ) p = \max\big(a, c - \tfrac{\delta}{2}\big) p = max ( a , c − 2 δ ) 和 q = min ( b , c + δ 2 ) 。 q = \min\big(b, c + \tfrac{\delta}{2}\big)\mathclose{\text{。}} q = min ( b , c + 2 δ ) 。 则 p < q p < q p < q (因为 a < b a < b a < b 和 δ > 0 ), \delta > 0\mathclose{\text{),}} δ > 0 ), [ p , q ] [p, q] [ p , q ] 位于 [ a , b ] [a, b] [ a , b ] 中,并且 f ( x ) > f ( c ) 2 f(x) > \tfrac{f(c)}{2} f ( x ) > 2 f ( c ) 在 [ p , q ] [p, q] [ p , q ] 上。由可加性,
∫ a b f = ∫ a p f + ∫ p q f + ∫ q b f . \int_a^b f = \int_a^p f + \int_p^q f + \int_q^b f. ∫ a b f = ∫ a p f + ∫ p q f + ∫ q b f .
第一个和最后一个积分至少为 0,根据定理 9.7(a),因为 f ≥ 0 f \ge 0 f ≥ 0 (或为 0,如果 p = a p = a p = a 或 q = b )。 q = b\mathclose{\text{)。}} q = b )。 中间的那个至少为 f ( c ) 2 ( q − p ) > 0 , \tfrac{f(c)}{2}(q - p) > 0\mathclose{\text{,}} 2 f ( c ) ( q − p ) > 0 , 根据定理 9.7(c)。所以 ∫ a b f > 0 。 \int_a^b f > 0\mathclose{\text{。}} ∫ a b f > 0 。
(b) 假设 ∫ a b f = 0 。 \int_a^b f = 0\mathclose{\text{。}} ∫ a b f = 0 。 如果 f f f 在 [ a , b ] [a, b] [ a , b ] 上不是处处为 0,那么存在一个 c c c 使得 f ( c ) > 0 , f(c) > 0\mathclose{\text{,}} f ( c ) > 0 , 由于 f ≥ 0 , f \ge 0\mathclose{\text{,}} f ≥ 0 , 并且 (a) 会给出 ∫ a b f > 0 , \int_a^b f > 0\mathclose{\text{,}} ∫ a b f > 0 , 不是 0。因此 f ( x ) = 0 f(x) = 0 f ( x ) = 0 对于 x x x 中的每个点 [ a , b ] 。 [a, b]\mathclose{\text{。}} [ a , b ] 。
(c) 设 g ( 1 2 ) = 1 g(\tfrac12) = 1 g ( 2 1 ) = 1 且 g ( x ) = 0 g(x) = 0 g ( x ) = 0 对于 x x x 中的每个其他点 [ 0 , 1 ] 。 [0, 1]\mathclose{\text{。}} [ 0 , 1 ] 。 它是有界的,且只有一个间断点,因此是可积的(定理 9.3)。在黎曼和中,只有包含 1 2 \tfrac12 2 1 的子区间(最多两个)可能有样本点使得 g g g 不为 0,且每个子区间的宽度至多为 ∥ P ∥ 。 \norm{P}\mathclose{\text{。}} ∥ P ∥ 。 因此每个黎曼和都在 0 和 2 ∥ P ∥ 2\norm{P} 2 ∥ P ∥ 之间,且和趋于 0: ∫ 0 1 g ( x ) d x = 0 , \int_0^1 g(x)\,dx = 0\mathclose{\text{,}} ∫ 0 1 g ( x ) d x = 0 , 尽管 g ( 1 2 ) = 1 。 g(\tfrac12) = 1\mathclose{\text{。}} g ( 2 1 ) = 1 。
1 ∑ i = 1 4 i 2 \displaystyle\sum_{i=1}^{4} i^2 i = 1 ∑ 4 i 2 等于
100 100 100 30 30 30 16 16 16 10 10 10 1 + 4 + 9 + 16 = 30 . 1 + 4 + 9 + 16 = 30\mathclose{\text{.}} 1 + 4 + 9 + 16 = 30 . 100 是
( 1 + 2 + 3 + 4 ) 2 , (1 + 2 + 3 + 4)^2\mathclose{\text{,}} ( 1 + 2 + 3 + 4 ) 2 , 即和的平方而非平方和;16 是最后一个项单独;10 是
∑ i , \sum i\mathclose{\text{,}} ∑ i , 不包含平方项。
2 R 3 R_3 R 3 在
f ( x ) = x f(x) = x f ( x ) = x 上
[ 0 , 3 ] [0, 3] [ 0 , 3 ] 的右和为
6 6 6 4.5 4.5 4.5 3 3 3 9 9 9 Δ x = 1 , \Delta x = 1\mathclose{\text{,}} Δ x = 1 , 且右端点为 1, 2 和 3,因此
R 3 = 1 + 2 + 3 = 6 。 R_3 = 1 + 2 + 3 = 6\mathclose{\text{。}} R 3 = 1 + 2 + 3 = 6 。 4.5 是精确积分,即底为 3、高为 3 的三角形面积:
R 3 R_3 R 3 由于
x x x 增加而高估;3 是左和
0 + 1 + 2 。 0 + 1 + 2\mathclose{\text{。}} 0 + 1 + 2 。 9 是高度为
f ( 3 ) f(3) f ( 3 ) 的一个矩形在整个区间上的面积。
3 若
f f f 在
[ a , b ] [a, b] [ a , b ] 上连续且递减,则对于每个
n n n L n ≤ ∫ a b f ( x ) d x ≤ R n L_n \le \int_a^b f(x)\,dx \le R_n L n ≤ ∫ a b f ( x ) d x ≤ R n L n = R n L_n = R_n L n = R n M n ≤ L n ≤ R n M_n \le L_n \le R_n M n ≤ L n ≤ R n R n ≤ ∫ a b f ( x ) d x ≤ L n R_n \le \int_a^b f(x)\,dx \le L_n R n ≤ ∫ a b f ( x ) d x ≤ L n 在每个子区间上,递减函数在左端点最大,在右端点最小,因此左矩形在图上方,右矩形在图下方。
L n ≤ ∫ ≤ R n L_n \le \int \le R_n L n ≤ ∫ ≤ R n 对于递增函数也成立。
L n = R n L_n = R_n L n = R n 仅当
f ( a ) = f ( b ) , f(a) = f(b)\mathclose{\text{,}} f ( a ) = f ( b ) , 因为
L n − R n = ( f ( a ) − f ( b ) ) Δ x L_n - R_n = \big(f(a) - f(b)\big)\Delta x L n − R n = ( f ( a ) − f ( b ) ) Δ x 此处为正。出于相同原因
L n > R n , L_n > R_n\mathclose{\text{,}} L n > R n , 因此
M n ≤ L n ≤ R n M_n \le L_n \le R_n M n ≤ L n ≤ R n 为假。
4 ∫ − 2 2 x 3 d x \displaystyle\int_{-2}^{2} x^3\,dx ∫ − 2 2 x 3 d x 等于
8 8 8 4 4 4 0 0 0 16 16 16 x 3 x^3 x 3 是奇函数,且
[ − 2 , 2 ] [-2, 2] [ − 2 , 2 ] 关于 0 对称,因此
[ − 2 , 0 ] [-2, 0] [ − 2 , 0 ] 下方轴的面积与
[ 0 , 2 ] [0, 2] [ 0 , 2 ] 上方的面积相互抵消。8 是
2 ∫ 0 2 x 3 d x , 2\int_0^2 x^3\,dx\mathclose{\text{,}} 2 ∫ 0 2 x 3 d x , 偶函数的规则;4 是
∫ 0 2 x 3 d x , \int_0^2 x^3\,dx\mathclose{\text{,}} ∫ 0 2 x 3 d x , 仅右半部分;16 是
2 4 。 2^4\mathclose{\text{。}} 2 4 。
5 ∫ 0 3 ( x − 1 ) d x \displaystyle\int_0^3 (x - 1)\,dx ∫ 0 3 ( x − 1 ) d x 等于
3 2 \dfrac32 2 3 5 2 \dfrac52 2 5 2 2 2 − 1 2 -\dfrac12 − 2 1 在
[ 0 , 1 ] [0, 1] [ 0 , 1 ] 处直线位于轴下方,形成一个面积为
1 2 \tfrac12 2 1 的三角形,在
[ 1 , 3 ] [1, 3] [ 1 , 3 ] 处位于轴上方,形成一个面积为2的三角形;积分是带符号面积
2 − 1 2 = 3 2 。 2 - \tfrac12 = \tfrac32\mathclose{\text{。}} 2 − 2 1 = 2 3 。 5 2 \tfrac52 2 5 将两个面积相加,得到总面积而非积分;2仅计算轴上方的部分,而
− 1 2 -\tfrac12 − 2 1 仅计算轴下方的部分。
6 若
∫ 0 4 f ( x ) d x = 7 \int_0^4 f(x)\,dx = 7 ∫ 0 4 f ( x ) d x = 7 和
∫ 0 1 f ( x ) d x = 2 , \int_0^1 f(x)\,dx = 2\mathclose{\text{,}} ∫ 0 1 f ( x ) d x = 2 , 则
∫ 1 4 f ( x ) d x \int_1^4 f(x)\,dx ∫ 1 4 f ( x ) d x 等于
9 9 9 − 5 -5 − 5 21 4 \dfrac{21}{4} 4 21 5 5 5 由可加性,
∫ 0 1 f + ∫ 1 4 f = ∫ 0 4 f , \int_0^1 f + \int_1^4 f = \int_0^4 f\mathclose{\text{,}} ∫ 0 1 f + ∫ 1 4 f = ∫ 0 4 f , 因此
∫ 1 4 f = 7 − 2 = 5 。 \int_1^4 f = 7 - 2 = 5\mathclose{\text{。}} ∫ 1 4 f = 7 − 2 = 5 。 9改为加法而非减法;
− 5 -5 − 5 是
∫ 4 1 f , \int_4^1 f\mathclose{\text{,}} ∫ 4 1 f , 且积分限颠倒;
21 4 \tfrac{21}{4} 4 21 假设积分与区间长度成正比,这对常数
f f f 成立,但一般情况不成立。
7 f ( x ) = 2 x f(x) = 2x f ( x ) = 2 x 在
[ 0 , 3 ] [0, 3] [ 0 , 3 ] 上的平均值是
9 9 9 3 3 3 6 6 6 3 2 \dfrac32 2 3 ∫ 0 3 2 x d x \int_0^3 2x\,dx ∫ 0 3 2 x d x 是底为 3、高为 6 的三角形的面积,即 9,以及
f avg = 9 3 = 3 。 f_{\text{avg}} = \tfrac93 = 3\mathclose{\text{。}} f avg = 3 9 = 3 。 9 是积分值,尚未除以区间长度;6 是最大值,即
f ( 3 ) ; f(3)\mathclose{\text{;}} f ( 3 ) ; 3 2 \tfrac32 2 3 是区间的中点,即
f f f 取其平均值的点,而非值本身。
8 下列函数中,哪一个在
[ 0 , 2 ] [0, 2] [ 0 , 2 ] 上可积?
f ( x ) = 1 x f(x) = \dfrac{1}{x} f ( x ) = x 1 对于 0 < x ≤ 2 , 0 < x \le 2\mathclose{\text{,}} 0 < x ≤ 2 , 带 f ( 0 ) = 0 f(0) = 0 f ( 0 ) = 0 f ( x ) = 1 f(x) = 1 f ( x ) = 1 对于有理数 x x x 和 f ( x ) = 0 f(x) = 0 f ( x ) = 0 对于无理数 x x x f ( x ) = 1 f(x) = 1 f ( x ) = 1 对于 x < 1 x < 1 x < 1 和 f ( x ) = 3 f(x) = 3 f ( x ) = 3 对于 x ≥ 1 x \ge 1 x ≥ 1 f ( x ) = 1 x − 1 f(x) = \dfrac{1}{x - 1} f ( x ) = x − 1 1 对于 x ≠ 1 , x \ne 1\mathclose{\text{,}} x = 1 , 带 f ( 1 ) = 0 f(1) = 0 f ( 1 ) = 0 第三个函数是有界的,并在 1 处有一个跳跃间断点,因此它是可积的(定理 9.3);其积分值为
1 + 3 = 4 。 1 + 3 = 4\mathclose{\text{。}} 1 + 3 = 4 。 第一个和最后一个函数在 0 和 1 附近无界,而可积函数必须是有界的。第二个函数在所有点都不连续:其黎曼和可以是 2 或 0,无论分划多么细(深入一步,第 9.4 节)。
重新作答