What is Riemann Sums?
Mathematical Foundation
Laws & Principles
- Left Sum: Evaluates the function structurally at the far left vertex of each subrectangle. By geometric definition, it strictly under-approximates inherently increasing continuous functions.
- Right Sum: Evaluates structurally at the far right vertex. It presents the exact mathematical opposite approximation behavior of the left summation evaluation.
- Midpoint Sum: Evaluates precisely at the statistical midpoint. It frequently yields definitively higher accuracy than boundary estimations due to natural mathematical area cancellation.
Step-by-Step Example Walkthrough
" Approximating the definite integral of f(x) = x² from x=0 to x=2 using n=4 subintervals (Midpoint Sum). "
- 1. Calculate segment width: Δx = (2 - 0) / 4 = 0.5.
- 2. Find the midpoints: 0.25, 0.75, 1.25, 1.75.
- 3. Evaluate f(x) strictly at each midpoint: f(0.25)=0.0625, f(0.75)=0.5625, f(1.25)=1.5625, f(1.75)=3.0625.
- 4. Multiply by width: M4 = 0.5 * (0.0625 + 0.5625 + 1.5625 + 3.0625).
- 5. Final evaluate: 0.5 * 5.25 = 2.625.