Riemann sums: left, right, midpoint

    Introduction to Riemann Sums

    Riemann sums are a fundamental concept in calculus used to approximate the definite integral of a function. The definite integral calculates the net accumulated change of a quantity over an interval. Since finding the exact area under a curve can be complex or impossible for some functions, Riemann sums provide a way to estimate this area by dividing the region into a series of geometric shapes, typically rectangles, and summing their areas.

    The general idea involves partitioning an interval [a, b] into n subintervals, each with a width usually denoted by Δx (delta x). If the subintervals are of equal width, then Δx = (b - a) / n. Within each subinterval, a specific point is chosen to determine the height of the rectangle. The sum of the areas of these rectangles approximates the area under the curve.

    Types of Riemann Sums

    The method for choosing the height of each rectangle defines different types of Riemann sums:

    Left Riemann Sum (LRAM)

    • In a Left Riemann Sum (LRAM), the height of each rectangle is determined by the function's value at the left endpoint of each subinterval.
    • Formula for LRAM: Σ f(xi-1) Δx, where xi-1 is the left endpoint of the i-th subinterval.
    • If the function f(x) is decreasing on an interval, LRAM will overestimate the true area.
    • If the function f(x) is increasing on an interval, LRAM will underestimate the true area.
    • Example: To approximate ∫04 x² dx using 4 subintervals, Δx = (4-0)/4 = 1. The left endpoints would be 0, 1, 2, 3. LRAM = f(0)·1 + f(1)·1 + f(2)·1 + f(3)·1 = 0²·1 + 1²·1 + 2²·1 + 3²·1 = 0 + 1 + 4 + 9 = 14.

    Right Riemann Sum (RRAM)

    • In a Right Riemann Sum (RRAM), the height of each rectangle is determined by the function's value at the right endpoint of each subinterval.
    • Formula for RRAM: Σ f(xi) Δx, where xi is the right endpoint of the i-th subinterval.
    • If the function f(x) is decreasing on an interval, RRAM will underestimate the true area.
    • If the function f(x) is increasing on an interval, RRAM will overestimate the true area.
    • Example: Using the same integral ∫04 x² dx with 4 subintervals, Δx = 1. The right endpoints would be 1, 2, 3, 4. RRAM = f(1)·1 + f(2)·1 + f(3)·1 + f(4)·1 = 1²·1 + 2²·1 + 3²·1 + 4²·1 = 1 + 4 + 9 + 16 = 30.

    Midpoint Riemann Sum (MRAM)

    • In a Midpoint Riemann Sum (MRAM), the height of each rectangle is determined by the function's value at the midpoint of each subinterval.
    • Formula for MRAM: Σ f((xi-1 + xi)/2) Δx, where (xi-1 + xi)/2 is the midpoint of the i-th subinterval.
    • MRAM generally provides a more accurate approximation than LRAM or RRAM for a given number of subintervals because the errors from overestimation and underestimation tend to balance out within each rectangle.
    • The accuracy of MRAM is not directly tied to the monotonicity of the function (increasing/decreasing) in the same predictable way as LRAM/RRAM.
    • Example: For ∫04 x² dx with 4 subintervals, Δx = 1. The midpoints would be 0.5, 1.5, 2.5, 3.5. MRAM = f(0.5)·1 + f(1.5)·1 + f(2.5)·1 + f(3.5)·1 = (0.5)²·1 + (1.5)²·1 + (2.5)²·1 + (3.5)²·1 = 0.25 + 2.25 + 6.25 + 12.25 = 21.

    As the number of subintervals (n) approaches infinity, all three types of Riemann sums approach the exact value of the definite integral. This concept is fundamental to the definition of the definite integral.

    Practice questions

    1

    What point on each subinterval determines the height of the rectangle in a Left Riemann Sum?

    2

    If a function is strictly increasing over an interval, how does a Right Riemann Sum approximate the definite integral?

    3

    Which Riemann sum method generally provides a more accurate approximation for a given number of subintervals?

    4

    Calculate the Right Riemann Sum for f(x) = 2x on the interval [1, 3] with n=2 subintervals.

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/calculus-ab/unit-6-integration-and-accumulation-of-change/riemann-sums-left-right-midpoint