Riemann sums: left, right and midpoint
Problem 4.406 · medium
Compute the right Riemann sum \( \displaystyle R_{4} \) for \( \displaystyle f(x) = x^{2} + 4 \) on \( \displaystyle [-1, 1] \).
- \[ 1 \cdot \frac{1}{2} = \frac{1}{2} \]Δx = (b − a)/n.✓ Proved
- The right endpoints are x = -1/2, 0, 1/2, 1.Reviewed
- \[ \frac{4 + \frac{17}{4} + \frac{17}{4} + 5}{2} = \frac{35}{4} \]Δx times the sum of the function values there.✓ Proved
- For comparison, the exact integral is 26/3 ≈ 8.6667.Reviewed
Answer \( R_{4} = \frac{35}{4} \approx 8.7500 \)
✓ Nihil obstat Lines: 2 proved, 2 reviewed. The answer was also checked a second way, without looking at the solution. Reviewers found nothing wrong with the explanation.
The full receipt
| Line | Status | Checked by | Detail |
|---|---|---|---|
| 1 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 2 | Reviewed | reviewers: gpt-oss:20b, qwen3.6:27b-mlx | a sentence; read, not computed |
| 3 | ✓ Proved | sympy 1.14.0 | simplify(lhs - rhs) reduced to 0 |
| 4 | Reviewed | reviewers: gpt-oss:20b, qwen3.6:27b-mlx | a sentence; read, not computed |
| answer, a second way | ✓ Checked independently | sympy 1.14.0 + mpmath 1.3.0 | the sum recomputed in 30-digit floating point |
Reviewers
gpt-oss:20b: passqwen3.6:27b-mlx: pass — The solution correctly identifies the subinterval width and right endpoints, computes the Riemann sum accurately, and provides a correct comparison with the exact integral.
Every verdict on record (4)
qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the subinterval width and right endpoints, computes the Riemann sum accurately, and provides a correct comparison with the exact integral.gpt-oss:20b: pass 2026-10-05qwen3.6:27b-mlx: pass 2026-10-05 — The solution correctly identifies the subinterval width and right endpoints, computes the Riemann sum accurately, and provides a correct comparison with the exact integral.gpt-oss:20b: pass 2026-10-05
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/riemann_sums, checked 2026-10-05 with SymPy 1.14.0.