∫Calc Practice

Riemann sums: left, right and midpoint

Problem 4.850 · medium

Compute the right Riemann sum \( \displaystyle R_{5} \) for \( \displaystyle f(x) = x^{2} + 1 \) on \( \displaystyle [-1, 2] \).
  1. \[ \frac{3}{5} \]
    Δx = (b − a)/n.✓ Proved
  2. The right endpoints are x = -2/5, 1/5, 4/5, 7/5, 2.
    Reviewed
  3. \[ \frac{3 \left(\frac{26}{25} + \frac{29}{25} + \frac{41}{25} + \frac{74}{25} + 5\right)}{5} = \frac{177}{25} \]
    Δx times the sum of the function values there.✓ Proved
  4. For comparison, the exact integral is 6 ≈ 6.0000.
    Reviewed
Answer \( R_{5} = \frac{177}{25} \approx 7.0800 \)

✓ 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
LineStatusChecked byDetail
1✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
2Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
3✓ Provedsympy 1.14.0simplify(lhs - rhs) reduced to 0
4Reviewedreviewers: gpt-oss:20b, qwen3.6:27b-mlxa sentence; read, not computed
answer, a second way✓ Checked independentlysympy 1.14.0 + mpmath 1.3.0the sum recomputed in 30-digit floating point

Reviewers

  • gpt-oss:20b: pass
  • qwen3.6:27b-mlx: pass — The solution correctly calculates the step size, identifies the right endpoints, computes the Riemann sum, and provides the exact integral for comparison. All steps are mathematically sound.
Every verdict on record (4)
  • gpt-oss:20b: pass 2026-10-10
  • qwen3.6:27b-mlx: pass 2026-10-10 — The solution correctly calculates the step size, identifies the right endpoints, computes the Riemann sum, and provides the exact integral for comparison. All steps are mathematically sound.
  • qwen3.6:27b-mlx: pass 2026-10-10 — The solution correctly calculates the step size, identifies the right endpoints, computes the Riemann sum, and provides the exact integral for comparison.
  • gpt-oss:20b: pass 2026-10-10

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-10 with SymPy 1.14.0.