The Lagrange error bound
Problem 7.261 · easy
What degree \( \displaystyle n \) of Maclaurin polynomial for \( \displaystyle e^{x} \) guarantees, by the Lagrange error bound, an error less than \( \displaystyle \frac{1}{10000} \) at \( \displaystyle x = \frac{1}{5} \)?
- |Rₙ(x)| ≤ M|x|ⁿ⁺¹/(n + 1)!, where M bounds |f⁽ⁿ⁺¹⁾|; here M = 3 because on [0, 1] every derivative of eˣ is at most e < 3.
- \[ 1 \cdot \frac{1}{125000} = \frac{1}{125000} \]n = 4: the bound is 1/125000 < 1/10000.✓ Proved
- \[ 1 \cdot \frac{1}{5000} = \frac{1}{5000} \]n = 3: the bound is 1/5000, not below 1/10000.✓ Proved
Answer \( n = 4 \)
Lines: 2 proved, 1 not checked. The answer was also checked a second way, without looking at the solution. The reviewers disagree about how one step is explained; every verdict is in the receipt.
The full receipt
| Line | Status | Checked by | Detail |
|---|---|---|---|
| 1 | Not checked | — | a sentence; read, not computed |
| 2 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 3 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| answer, a second way | ✓ Checked independently | sympy 1.14.0 + mpmath 1.3.0 | the bound recomputed at n and n − 1 |
Reviewers
gpt-oss:20b: inconclusive — reviewer response could not be parsed: Compute: (1/5)^5=1/3125. 5! =120. e^{0.2}≈1.221. bound≈1.221/(120*3125)=1.221/375000≈3.25e-6 <1e-4. For n=3: bound= e^{0.2}/4!*(1/5)^4=1.221/(24*625)=1.221/15000≈8.14e-5 <1e-4. So n=3 suffices. So ansqwen3.6:27b-mlx: pass — The solution correctly applies the Lagrange error bound formula with a valid upper bound M=3 for the derivative on the interval [0, 1/5]. The calculations for n=3 and n=4 are correct, leading to the right conclusion.
Every verdict on record (4)
qwen3.6:27b-mlx: pass 2026-10-04 — The solution correctly applies the Lagrange error bound formula with a valid upper bound M=3 for the derivative on the interval [0, 1/5]. The calculations for n=3 and n=4 are correct, leading to the right conclusion.gpt-oss:20b: inconclusive 2026-10-04 — reviewer response could not be parsed: Compute: (1/5)^5=1/3125. 5! =120. e^{0.2}≈1.221. bound≈1.221/(120*3125)=1.221/375000≈3.25e-6 <1e-4. For n=3: bound= e^{0.2}/4!*(1/5)^4=1.221/(24*625)=1.221/15000≈8.14e-5 <1e-4. So n=3 suffices. So ansqwen3.6:27b-mlx: inconclusive 2026-10-04 — reviewer returned a non-objectgpt-oss:20b: pass 2026-10-04
Proved: SymPy reduced the difference between the two sides to zero. Checked independently: a separate
method, named above, confirmed it. Checked numerically: the two sides agree at every sampled point, which is evidence,
not proof. Reviewed: a model or a person read it; that is all a sentence can have. Solution by
generator:structured/lagrange_error, checked 2026-10-04 with SymPy 1.14.0.