The Lagrange error bound
Problem 7.418 · easy
What degree \( \displaystyle n \) of Maclaurin polynomial for \( \displaystyle \sin{\left(x \right)} \) guarantees, by the Lagrange error bound, an error less than \( \displaystyle \frac{1}{1000000} \) at \( \displaystyle x = \frac{1}{2} \)?
- |Rₙ(x)| ≤ M|x|ⁿ⁺¹/(n + 1)!, where M bounds |f⁽ⁿ⁺¹⁾|; here M = 1 because |sin| and |cos| are at most 1.
- \[ 1 \cdot \frac{1}{10321920} = \frac{1}{10321920} \]n = 7: the bound is 1/10321920 < 1/1000000.✓ Proved
- \[ 1 \cdot \frac{1}{645120} = \frac{1}{645120} \]n = 6: the bound is 1/645120, not below 1/1000000.✓ Proved
Answer \( n = 7 \)
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: passqwen3.6:27b-mlx: fail (error) — The solution fails to check n=5, which is the actual smallest degree satisfying the condition (bound 1/38400 < 1/1000000). By only comparing n=6 and n=7, it incorrectly identifies n=7 as the answer.
Every verdict on record (4)
gpt-oss:20b: pass 2026-10-08qwen3.6:27b-mlx: fail (error) 2026-10-08 — The solution fails to check n=5, which is the actual smallest degree satisfying the condition (bound 1/38400 < 1/1000000). By only comparing n=6 and n=7, it incorrectly identifies n=7 as the answer.qwen3.6:27b-mlx: inconclusive 2026-10-08 — reviewer response could not be parsed: { "verdict": "fail", "severity": "error", "notes": "The Lagrange error bound formula is incorrect; it should use |x|^(n+1) in the numerator, not |x|^(n+1) divided by (n+1)! with an implicit x^n or simgpt-oss:20b: pass 2026-10-08
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-08 with SymPy 1.14.0.