Lagrange Error Bound
引入本课内容
| English | 释义 | 拼音 |
|---|---|---|
| Lagrange error bound/ˈlæɡreɪndʒ ˈerə baʊnd/ | 拉格朗日误差界 | lā gé lǎng rì wù chā jiè |
| remainder/rɪˈmeɪndə/ | 余项 | yú xiàng |
| continuous derivatives | 连续导数 | lián xù dǎo shù |
| error bound | 误差界 | wù chā jiè |
| tolerance/ˈtɒlərəns/ | 容许误差 | róng xǔ wù chā |
| alternating series error bound/ˈɔːltəneɪtɪŋ ˈsɪəriːz ˈerə baʊnd/ | 交错级数误差界 | jiāo cuò jí shù wù chā jiè |
| cubic coefficient | 三次项系数 | sān cì xiàng xì shù |
1.105 的精度够吗?
- $e^{0.1}$ 的二次麦克劳林近似是 $1+0.1+0.1^2/2=1.105$。不知道精确值时,怎样保证它的精度?
- 拉格朗日误差界给出了误差的上限。将这个上限与所需的精度进行比较。

明确误差和泰勒阶数
- 设 $P_n$ 包含直到 $n$ 阶的泰勒项。余项是 $R_n(x)=f(x)-P_n(x)$;绝对误差是 $|R_n(x)|$。
- 如果某些系数为零,多项式的次数可能低于 $n$。应使用导数匹配到的阶数,而不是非零项的个数。
A Taylor polynomial through order 3 must contain four nonzero terms.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Some derivative values may be zero, so their coefficients vanish.
求出区间上下一个导数的界
- 一个充分条件是:$f$ 在连接 $a$ 和 $x$ 的闭区间上,直到 $n+1$ 阶的导数都连续。
- 选择 $M\ge0$,使得在该区间的每一点都有 $|f^{(n+1)}(t)|\le M$。那么:

For a Taylor polynomial through order n, which expression bounds $|R_n(x)|$ when $|f^{(n+1)}|\le M$ throughout the interval?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Use the next derivative order, its factorial and the absolute distance.
For Taylor order n=3, which derivative must M bound in the Lagrange formula?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The order is n+1=4, even if the cubic coefficient is zero.
一个可靠的上界不必是精确的最大值
- 对于满足 $n=2$ 的 $e^x$,下一个导数是 $f'''(t)=e^t$。在 $[0,0.1]$ 上,$e^t\le e^{0.1}<1.2$,因此选择 $M=1.2$。
- 如果只取中心处的值,会得到 $1$。这太小了:当 $0<t\le0.1$ 时,$e^t>1$。要检查整个区间。
![整个导数区间上的界:在 [0, 0.1] 上,f‴(t) = eᵗ 始终小于 M = 1.2,因此拉格朗日误差界为 1.2 × 0.1³/3! = 0.0002](/learn-media/ap_calculus_bc/assets/1012-derivative-ceiling-plot.png?v=1794225445)
Which statement correctly describes a permitted M?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The exact maximum is sufficient, but any justified upper bound also works.
开启 $[0,0.1]$, $e^t\le e^{0.1}\approx 1.10517$. Which choices are valid upper bounds M?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Each chosen M must be at least the largest derivative magnitude on the interval.
计算并与容许误差比较
- 已知 $a=0$、$x=0.1$、$n=2$ 和 $M=1.2$,使用距离 $0.1$ 和分母 $3!$。
- 由于上界小于 容许误差 $0.001$,因此满足要求。要同时写出近似值和误差保证。
因此,$1.105$ 是 $e^{0.1}$ 的近似值,绝对误差最多为 $0.0002$。这是一个不等式,并不是说误差等于 $0.0002$。
Computed error and certified bound
For eˣ at x=0.1 with Taylor order 2, M=1.2 gives the worked bound 0.0002. Compare the bound with the numerical error and a chosen tolerance; cosine also shows zero coefficients and order versus degree.
With M=1.2, n=2, a=0 and x=0.1, calculate $M|x-a|^{n+1}/(n+1)!$.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$1.2(0.1)^3/6=0.0002$.
If a valid Lagrange bound is 0.0002, the actual absolute error must equal 0.0002.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The actual error is at most the bound; equality is not required.
A valid error bound is 0.0002. Which requested tolerance is certified?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The bound must be at or below the tolerance.
For Taylor order n=2, what positive integer divides M times the distance cubed in the Lagrange formula?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The denominator is 3!=6.
使用到实际中心的距离
- 假设在 $[0.8,1]$ 上有 $|f'''(t)|\le6$。对于以 $a=1$ 为中心的 $P_2$,估计 $f(0.8)$ 时使用距离 $|0.8-1|=0.2$。
- 误差界是 $6(0.2)^3/3!=0.008$。当 $x<a$ 时,使用 $[x,a]$;误差界始终非负。
The center is 1 and the target point is 0.8. What distance appears in the bound?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$|0.8-1|=0.2$.
Which interval must contain the derivative bound for a=1 and x=0.8?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
Use the closed interval joining the center and target.
Given $|f^{(3)}|\le 6$ on $[0.8,1]$, what bound applies to the order 2 Taylor approximation about 1 at x=0.8?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$6(0.2)^3/3!=0.008$.
找出具有统一误差保证的区间
- 在 $[-1,1]$ 上,$e^x$ 的每一阶导数都不超过 $e<3$。对于以 $0$ 为中心的 $P_2$,在整个区间上使用固定的界 $M=3$。
- 为保证误差最多为 $0.0005$,求解 $3|x|^3/6\le0.0005$。解得 $|x|\le0.1$,因此这个界保证了 $[-0.1,0.1]$。
选定的界所允许的最大区间,不一定是实际近似值满足容许误差的最大区间。求解 $x$ 时,要注意导数界适用的区间。
With n=2, a=0 and M=3 on $[-1,1]$, solve $3r^3/6=0.0005$ for the nonnegative radius r.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
$3r^3/6=0.0005$ gives $r^3=0.001$, hence $r=0.1$. Thus the certified interval about $0$ is(是) $[-0.1,0.1]$, within the interval where $M=3$ is valid.
If M was justified only on [−1,1], a radius calculation of 2 automatically guarantees the error bound on [−2,2].
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The formula needs a valid derivative bound on every interval from the center to the target.
过大的界可能无法得出结论
- 对于 $\cos(0.2)$,使用 $P_2=1-x^2/2$ 和 $|f'''(t)|=|\sin t|\le1$。拉格朗日误差界给出 $|R_2(0.2)|\le0.2^3/3!=0.001333\ldots$。
- 这个界无法保证满足容许误差 $0.001$,但它也不能证明近似值不满足要求:实际误差约为 $0.00006658$,小于 $0.001$。

A computed valid bound larger than the tolerance proves that the approximation fails the tolerance.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
It only means this bound does not certify the requested accuracy.
与交错级数误差界比较
- 余弦级数在 $x=0.2$ 处的各项符号交替,其正的大小逐渐减小到 $0$。交错级数误差界使用第一个被省略的非零项。
- 在 $1-x^2/2$ 之后,这一项是 $x^4/4!$。因此误差最多为 $0.2^4/24=0.000066666\ldots$,这保证了满足容许误差 $0.001$。

之后 $1-x^2/2$ in the cosine Maclaurin series, what is the first omitted nonzero term?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The cubic coefficient is zero, so the next nonzero term is fourth order.
Which conditions justify the alternating-series error estimate for the omitted tail?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Alternation alone does not give the next-term bound.
Calculate the alternating bound $0.2^4/4!$ for the two-nonzero-term cosine approximation.
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
The value is about 0.0000666667.
零系数可以让我们选择更高的阶数
- 余弦的三次项系数为零,因此 $P_2=P_3=1-x^2/2$。同一个多项式在 $0$ 处与原函数的导数匹配直到 $3$ 阶。
- 使用 $n=3$ 和 $|f^{(4)}(t)|=|\cos t|\le1$。此时拉格朗日误差界给出 $|R_3(0.2)|\le0.2^4/4!$,与这里的交错级数误差界相同。
For cosine about 0, $P_2=P_3$ because the third-order coefficient is zero.
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The same polynomial can use the stronger fourth-derivative Lagrange estimate as P₃.
When bounding the cosine P₃ error with Lagrange, which derivative order is used?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Use n+1=4.
将方法应用于新数据
- 假设在 $[1.8,2]$ 上直到 $4$ 阶的各阶导数都连续,且在该区间上 $|f^{(4)}(t)|\le9$。求以 $2$ 为展开点的三阶泰勒近似在 $1.8$ 处的误差上界;该上界能否保证误差不超过容许误差 $0.001$?
- 对于以 $2$ 为展开点的 $3$ 阶近似,在 $[1,3]$ 上使用 $|f^{(4)}|\le24$,求能保证误差不超过容许误差 $0.0001$ 的最大对称区间。然后使用 $1-x^2/2$,比较 $\cos(0.3)$ 的 $2$ 阶拉格朗日上界($M=1$)和交错级数上界,容许误差为 $0.0005$。
A function has continuous derivatives through order 4 on $[1.8,2]$ and $|f^{(4)}(t)|\le 9$ there. Bound the error of its Taylor polynomial through order 3 about 2 at x=1.8. Does the bound certify tolerance 0.001?
Use distance 0.2, derivative order 4 and denominator 4!.
For a Taylor polynomial through order 3 about a=2, suppose $|f^{(4)}(t)|\le 24$ on $[1,3]$. Find the largest symmetric interval certified by this fixed M for error at most 0.0001.
Solve the error inequality, then stay inside the interval where M is valid.
Use $1-x^2/2$ to approximate $\cos(0.3)$. Compare the order 2 Lagrange bound with M=1 and the alternating-series bound. Which certifies tolerance 0.0005?
One loose bound can fail to certify a tolerance that a sharper bound meets.
阶数改变时重新检查导数上界
- 仅凭阶乘变大,不能保证误差上界变小。对于正弦函数,在 $x=4$、$a=0$ 和 $M=1$ 的条件下,$0$ 阶近似给出的上界为 $4$,而 $1$ 阶近似给出的上界为 $8$。
- 对于每次估计,确定泰勒近似的阶数、导数上界、区间、距离和阶乘。将最终的误差上界与要求的容许误差进行比较。
如果从 $a$ 到 $x$ 的整个区间内都有 $|f^{(n+1)}|\le M$,则拉格朗日上界为 $M|x-a|^{n+1}/(n+1)!$。上界小于或等于容许误差时,就能保证所要求的精度。上界大于容许误差时,无法作出结论。只有满足交错级数上界的适用条件时,才能使用该上界。
For sine at x=4 about 0, take M=1 for every derivative. The order 0 bound is 4. What is the order 1 bound?
难度 1/5 · 今日首次完成可获 100 金币及少量额外奖励
The next bound is 4²/2!=8, so increasing order need not decrease this bound.
Review: to use Lagrange with Taylor order n=4, which derivative order must M bound?
难度 2/5 · 今日首次完成可获 140 金币及少量额外奖励
Use n+1=5.
出了什么问题?只有网站团队能看到这些信息。