MohammedPreview
Open in TheBrain

A Sum

Lingual

  1. A quantity obtained by addition or aggregation.
  2. (often plural) An arithmetic computation, especially one posed to a student as an exercise (not necessarily limited to addition).
  3. A quantity of money.
  4. A summary; the principal points or thoughts when viewed together; the amount; the substance; compendium.
  5. A central idea or point.
  6. The utmost degree.
  7. (obsolete) An old English measure of corn equal to the quarter.
Synonyms
Hyponyms

Mathematics

Calculus

Riemann Sum

A Riemann sum is a method for approximating the total area under a curve by dividing a region into simpler geometric shapes—typically rectangles—and summing their areas. It forms the foundational definition of the definite integral in calculus.

To approximate the area under a continuous function \(f(x)\) across the closed interval \([a, b]\):

  1. Partition the interval into \(n\) sub-intervals of equal width:

\[\Delta x = \frac{b - a}{n}\]

  1. Select sample points \(x_i^*\) within each sub-interval \([x_{i-1}, x_i]\).
  2. Sum the rectangular areas:

\[S = \sum_{i=1}^{n} f(x_i^*) \Delta x\]

As the number of sub-intervals approaches infinity (\(n \to \infty\)), the width \(\Delta x \to 0\), giving the exact definite integral:

\[\int_{a}^{b} f(x) \, dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i^*) \Delta x\]


Common Variants

The choice of sample point \(x_i^*\) determines the type of Riemann sum:

\[x_i^* = a + (i - 1)\Delta x\]

\[x_i^* = a + i\Delta x\]

\[x_i^* = \frac{x_{i-1} + x_i}{2} = a + \left(i - \frac{1}{2}\right)\Delta x\]

\[T_n = \frac{L_n + R_n}{2} = \frac{\Delta x}{2} \left[ f(x_0) + 2f(x_1) + 2f(x_2) + \dots + f(x_n) \right]\]


Over- vs. Under-Estimation

For monotonic functions, the shape of the curve dictates whether an endpoint sum over- or under-estimates the true area:

Function BehaviorLeft Sum (\(L_n\))Right Sum (\(R_n\))
Strictly Increasing (\(f'(x) > 0\))UnderestimateOverestimate
Strictly Decreasing (\(f'(x) < 0\))OverestimateUnderestimate

For the Midpoint and Trapezoidal rules, estimation error depends on curvature (concavity):