Оценка ошибки Лагранжа
Введено| English | Значение |
|---|---|
| Lagrange error bound/ˈlæɡreɪndʒ ˈerə baʊnd/ | оценка погрешности Лагранжа |
Bounding a Taylor polynomial's error
- A Taylor polynomial is only an approximation. How wrong can it be?
- The Lagrange error bound 拉格朗日误差界 gives a guaranteed ceiling on the remainder.
- It uses the next derivative — the first one the polynomial didn't match.
- With it, you can prove an approximation is accurate to a required tolerance.
The bound
- The error of the degree-$n$ Taylor polynomial $P_n$ at $x$ satisfies:
-
$$|R_n(x)|\le \frac{M}{(n+1)!}\,\big|x-a\big|^{\,n+1}$$
- Here $M$ is a maximum of $\big|f^{(n+1)}\big|$ on the interval between $a$ and $x$.
- It looks like the next Taylor term, but with the derivative replaced by its worst-case size $M$.

Taylor polynomials hug sin x more closely near the centre; the error grows away from it
Разрыв, который ограничивает эта оценка
y = a·e^{bx}
Оценка Лагранжа ограничивает разрыв между $e^x$ и его полиномом Тейлора с использованием максимума следующей производной $M$.
Оценка ошибки Лагранжа равна $|R_n(x)|\le$
Сложность 1/5 · 100 монет + небольшой бонус за первое выполнение сегодня
Использует оценку производной порядка $(n+1)$ и $(n+1)!$.
Finding the pieces
- $(n+1)$: one more than the polynomial's degree — the first missing term's order.
- $M$: a bound on the $(n+1)$th derivative's absolute value between $a$ and $x$ (use the biggest it gets).
- $|x-a|^{n+1}$: the distance from the center, raised to that power.
- Multiply, divide by $(n+1)!$, and you have a guaranteed error ceiling.
Для полинома степени $n$, что ограничивает $M$?
Сложность 1/5 · 100 монет + небольшой бонус за первое выполнение сегодня
На одну степень выше: производная порядка $(n+1)$.
В оценке $M$ — это...
Сложность 1/5 · 100 монет + небольшой бонус за первое выполнение сегодня
Оценка худшего случая для следующей производной.
Proving accuracy
- To show $P_n$ is within, say, $0.001$: compute the Lagrange bound and check it's $\le 0.001$.
- Because the bound overestimates the true error, if the bound is small, the real error is smaller.
- Larger $n$ shrinks the bound (bigger factorial, more accuracy).
- It's the rigorous companion to Taylor approximation.
С $M=1.2$, $n=2$, $x=0.1$, $a=0$: чему равно $\dfrac{1.2}{3!}(0.1)^3=$? (десятичное число)
Сложность 2/5 · 140 монет + небольшой бонус за первое выполнение сегодня
$\frac{1.2}{6}\cdot0.001=0.0002$.
Оценка Лагранжа — гарантированная верхняя граница, обычно превышающая фактическую ошибку.
Сложность 1/5 · 100 монет + небольшой бонус за первое выполнение сегодня
Если оценка мала, то истинная ошибка еще меньше.
Увеличение степени $n$ обычно приводит к уменьшению верхней границы погрешности...
Сложность 1/5 · 100 монет + небольшой бонус за первое выполнение сегодня
Большой факториал уменьшает оценку → больше точности.
Use the $(n+1)$th derivative and the factorial $(n+1)!$ — one past the polynomial's degree, not $n$. $M$ is the maximum of $|f^{(n+1)}|$ on the interval between $a$ and $x$ (a worst-case bound, so pick a value you can justify is large enough). The bound is a guarantee, usually larger than the actual error.
Bound the error of the degree-$2$ Maclaurin polynomial for $e^x$ at $x=0.1$.
- Next derivative: $f'''(x)=e^x$; on $[0,0.1]$, $M=e^{0.1}\le 1.2$.
- $|R_2(0.1)|\le \dfrac{1.2}{3!}\,(0.1)^3=\dfrac{1.2}{6}(0.001)=0.0002$.
- So $1+0.1+\tfrac{0.01}{2}=1.105$ is within $0.0002$ of $e^{0.1}$. ✓
The Lagrange error bound: $|R_n(x)|\le \frac{M}{(n+1)!}|x-a|^{n+1}$, where $M$ bounds the $(n+1)$th derivative on the interval between $a$ and $x$. It's the next Taylor term with the derivative replaced by its max — a guaranteed error ceiling for proving an approximation meets a tolerance.