Reimann Sums (Everything to Know for AP Calculus)

What You Need to Know

The big idea

Riemann sums approximate the net area / net accumulation of a function over an interval by adding areas of rectangles (and sometimes trapezoids). On AP Calc, they’re the bridge between “add up tiny pieces” and the definite integral.

Important: The standard spelling is Riemann sum (after Bernhard Riemann). Your prompt says “Reimann,” but the math concept is the same.

Core definition (the one you must know)

Partition the interval [a,b][a,b] into nn subintervals. On each subinterval [xi1,xi][x_{i-1},x_i] pick a sample point xix_i^*. Then a Riemann sum is:

i=1nf(xi)Δxi\sum_{i=1}^{n} f(x_i^*)\,\Delta x_i

where Δxi=xixi1\Delta x_i = x_i-x_{i-1} (width of the iith subinterval).

If the partition gets finer (maximum width goes to 00), the limit is the definite integral:

abf(x)dx=limni=1nf(xi)Δxi\int_a^b f(x)\,dx = \lim_{n\to\infty} \sum_{i=1}^{n} f(x_i^*)\,\Delta x_i

Why it matters on AP Calculus

You’ll be asked to:

  • Build a Riemann sum from a description/table/graph.
  • Identify what integral a given sum represents.
  • Approximate an integral numerically (left/right/midpoint/trapezoidal sums).
  • Use increasing/decreasing and concavity to decide over/underestimates.
  • Interpret sums/integrals as total change from a rate.

Step-by-Step Breakdown

A) How to build a Riemann sum from scratch (equal subintervals)
  1. Pick the interval [a,b][a,b] and number of pieces nn.

  2. Compute width:

    Δx=ban\Delta x = \frac{b-a}{n}

  3. Write partition points:

    xi=a+iΔxfori=0,1,,nx_i = a + i\Delta x\quad\text{for} \quad i=0,1,\dots,n

  4. Choose sample points (this is the “type”):

    • Left: xi=xi1x_i^* = x_{i-1}
    • Right: xi=xix_i^* = x_i
    • Midpoint: xi=xi1+xi2x_i^* = \frac{x_{i-1}+x_i}{2}
  5. Form the sum:

    i=1nf(xi)Δx\sum_{i=1}^{n} f(x_i^*)\,\Delta x

Mini-example (setup only): Approximate 02x2dx\int_0^2 x^2\,dx with n=4n=4 right endpoints.

  • Δx=204=12\Delta x = \frac{2-0}{4} = \frac{1}{2}

  • Right endpoints: xi=0+i12x_i = 0 + i\cdot\frac{1}{2} for i=1,2,3,4i=1,2,3,4

  • Sum:

    R4=i=14((i2)2)12R_4 = \sum_{i=1}^{4} \left(\left(\frac{i}{2}\right)^2\right)\cdot\frac{1}{2}

B) How to read a given summation and convert it to an integral

When you see something like

i=1nf(stuff in i,n)(something/n)\sum_{i=1}^{n} f(\text{stuff in } i,n)\cdot(\text{something}/n)

do this:

  1. Identify Δx\Delta x from the factor multiplying the function.
  2. Use Δx=ban\Delta x = \frac{b-a}{n} to find the interval length bab-a.
  3. Match the inside to a sample point form:
    • Right endpoints often look like a+iΔxa+i\Delta x.
    • Left endpoints often look like a+(i1)Δxa+(i-1)\Delta x.
    • Midpoints often look like a+(i12)Δxa+\left(i-\frac{1}{2}\right)\Delta x.
  4. Write the integral abf(x)dx\int_a^b f(x)\,dx.

Mini-example:

limni=1nsin(3+2in)2n\lim_{n\to\infty}\sum_{i=1}^{n} \sin\left(3+\frac{2i}{n}\right)\cdot\frac{2}{n}

  • Δx=2n\Delta x = \frac{2}{n} so ba=2b-a=2.
  • Inside is 3+2in=a+iΔx3+\frac{2i}{n} = a+i\Delta x with a=3a=3.
  • So b=5b=5 and the integral is:

35sin(x)dx\int_{3}^{5} \sin(x)\,dx

C) Unequal subintervals (common with tables)

If widths are not constant:

  1. Each rectangle uses its own width: Δxi=xixi1\Delta x_i = x_i-x_{i-1}.
  2. Sum: f(xi)Δxi\sum f(x_i^*)\Delta x_i.

On AP free response with tables, you typically choose:

  • left endpoint: use the function value at the start of each interval
  • right endpoint: use the function value at the end of each interval
  • midpoint: if midpoints are provided

Key Formulas, Rules & Facts

Equal-width sums (most common)

Let Δx=ban\Delta x = \frac{b-a}{n} and xi=a+iΔxx_i = a+i\Delta x.

ApproximationFormulaWhen to useNotes
Left Riemann sumLn=i=1nf(xi1)ΔxL_n=\sum_{i=1}^{n} f(x_{i-1})\,\Delta x“left endpoints”Uses x0,,xn1x_0,\dots,x_{n-1}
Right Riemann sumRn=i=1nf(xi)ΔxR_n=\sum_{i=1}^{n} f(x_i)\,\Delta x“right endpoints”Uses x1,,xnx_1,\dots,x_n
Midpoint sumMn=i=1nf(xi1+xi2)ΔxM_n=\sum_{i=1}^{n} f\left(\frac{x_{i-1}+x_i}{2}\right)\,\Delta x“midpoints”Often more accurate than left/right
Trapezoidal ruleTn=Δx2[f(x0)+2i=1n1f(xi)+f(xn)]T_n=\frac{\Delta x}{2}\left[f(x_0)+2\sum_{i=1}^{n-1} f(x_i)+f(x_n)\right]“trapezoids” / average endsEquivalent: Tn=Ln+Rn2T_n=\frac{L_n+R_n}{2}
How to spot left/right/midpoint from sigma notation

Assume Δx=ban\Delta x=\frac{b-a}{n}.

Given in sumTypeWhy
i=1nf(a+iΔx)Δx\sum_{i=1}^{n} f\left(a+i\Delta x\right)\Delta xRightuses xix_i
i=1nf(a+(i1)Δx)Δx\sum_{i=1}^{n} f\left(a+(i-1)\Delta x\right)\Delta xLeftuses xi1x_{i-1}
i=1nf(a+(i12)Δx)Δx\sum_{i=1}^{n} f\left(a+\left(i-\frac{1}{2}\right)\Delta x\right)\Delta xMidpointuses midpoint of each subinterval
Net area vs area
  • abf(x)dx\int_a^b f(x)\,dx is **net signed area** (below xx-axis counts negative).
  • Total area between curve and axis is usually:

abf(x)dx\int_a^b |f(x)|\,dx

(or split where f(x)=0f(x)=0).

Over/underestimate rules (high-yield)

Let ff be continuous on [a,b][a,b] with equal subintervals.

Monotonicity (increasing/decreasing):

  • If ff is increasing:
    • LnL_n **underestimates** abf(x)dx\int_a^b f(x)\,dx
    • RnR_n overestimates
  • If ff is decreasing:
    • LnL_n overestimates
    • RnR_n underestimates

Concavity (midpoint vs trapezoid):

  • If f(x)>0f''(x)>0 (concave up):
    • TnT_n overestimates
    • MnM_n underestimates
  • If f(x)<0f''(x)<0 (concave down):
    • TnT_n underestimates
    • MnM_n overestimates

These are “shape” facts: trapezoids use secant lines; midpoints use tangent-ish rectangle heights.

Error bounds (good to know, sometimes tested)

If ff has a continuous second derivative on [a,b][a,b] and K=max[a,b]f(x)K=\max_{[a,b]}|f''(x)|, then:

  • Trapezoidal error bound:

ETK(ba)312n2|E_T|\le \frac{K(b-a)^3}{12n^2}

  • Midpoint error bound:

EMK(ba)324n2|E_M|\le \frac{K(b-a)^3}{24n^2}

So midpoint is typically about twice as accurate as trapezoidal for the same nn (based on bounds).

Examples & Applications

Example 1: Convert a limit of a sum to an integral

Convert:

limni=1n(1+4in)24n\lim_{n\to\infty}\sum_{i=1}^{n} \left(1+\frac{4i}{n}\right)^2\cdot\frac{4}{n}

  • Δx=4n\Delta x=\frac{4}{n} so interval length is 44.
  • Sample point: 1+4in=a+iΔx1+\frac{4i}{n}=a+i\Delta x with a=1a=1.
  • Then b=5b=5.

Integral:

15x2dx\int_{1}^{5} x^2\,dx

Example 2: Compute a left sum from a table with unequal widths

Suppose you’re given times tt and values v(t)v(t) (velocity) at:

  • t=0,1,3,6t=0,1,3,6

Left Riemann sum for 06v(t)dt\int_0^6 v(t)\,dt using this partition:

v(0)(10)+v(1)(31)+v(3)(63)v(0)(1-0)+v(1)(3-1)+v(3)(6-3)

That is:

v(0)1+v(1)2+v(3)3v(0)\cdot 1+v(1)\cdot 2+v(3)\cdot 3

Interpretation: approximate displacement (net change in position) by “velocity × time.”

Example 3: Over/under without calculating

Approximate 02f(x)dx\int_0^2 f(x)\,dx using L4L_4.

  • If ff is **increasing** on [0,2][0,2], then L4L_4 is an underestimate.
  • If ff is **decreasing**, L4L_4 is an overestimate.

This is a fast multiple-choice win.

Example 4: Trapezoidal rule quickly via averaging

If you already computed LnL_n and RnR_n (same nn), then:

Tn=Ln+Rn2T_n=\frac{L_n+R_n}{2}

This saves time on FRQs when both are available.

Common Mistakes & Traps

  1. Mixing up Δx\Delta x with the sample point

    • Wrong: treating ban\frac{b-a}{n} as the input to ff.
    • Why wrong: Δx\Delta x is a width; the input is xix_i^*.
    • Fix: always write “sum = height ×\times width”: f(xi)Δxf(x_i^*)\Delta x.
  2. Using the wrong endpoints (left vs right)

    • Wrong: for LnL_n using xix_i instead of xi1x_{i-1}.
    • Why wrong: left sum uses left edges of each subinterval.
    • Fix: draw a quick partition: first rectangle in LnL_n uses x0=ax_0=a.
  3. Forgetting unequal widths in table problems

    • Wrong: using one constant Δx\Delta x when the table spacing changes.
    • Why wrong: each rectangle/trapezoid has its own width.
    • Fix: compute each Δxi\Delta x_i directly from consecutive xx-values.
  4. Confusing net area with total area

    • Wrong: saying the integral is “area” even when the graph is below the axis.
    • Why wrong: integrals count signed area.
    • Fix: use f(x)dx\int |f(x)|dx or split at zeros for total area.
  5. Messing up the interval when converting a sum to an integral

    • Wrong: seeing Δx=5n\Delta x=\frac{5}{n} and assuming interval is [0,5][0,5].
    • Why wrong: the interval start aa comes from the expression inside ff.
    • Fix: match a+iΔxa+i\Delta x (or left/midpoint form) and solve for aa and bb.
  6. Off-by-one index errors

    • Wrong: using i=0i=0 to n1n-1 with a formula built for i=1i=1 to nn (or vice versa).
    • Why wrong: endpoints shift.
    • Fix: anchor yourself: right sum uses x1x_1 through xnx_n; left uses x0x_0 through xn1x_{n-1}.
  7. Assuming “more rectangles” always overestimates

    • Wrong: thinking increasing nn always makes the approximation bigger.
    • Why wrong: it depends on increasing/decreasing and concavity.
    • Fix: use monotonicity/concavity rules, not vibes.
  8. For trapezoidal rule, forgetting the interior points are doubled

    • Wrong: using Δx2[f(x0)+i=1n1f(xi)+f(xn)]\frac{\Delta x}{2}\left[f(x_0)+\sum_{i=1}^{n-1} f(x_i)+f(x_n)\right].
    • Why wrong: each interior height is used in two adjacent trapezoids.
    • Fix: remember the coefficient pattern 1,2,2,,2,11,2,2,\dots,2,1.

Memory Aids & Quick Tricks

Trick / mnemonicWhat it helps you rememberWhen to use
“Left starts at aa, Right ends at bbLeft sum uses x0=ax_0=a; right sum uses xn=bx_n=bPicking endpoints quickly
Coefficients for trapezoid: 1,2,2,,2,11,2,2,\dots,2,1Interior points are counted twiceWriting TnT_n from values
Tn=Ln+Rn2T_n=\frac{L_n+R_n}{2}Trapezoid equals average of left and right sumsIf you already have LnL_n and RnR_n
“Increasing: Left Low, Right High”Under/overestimates for monotone increasing functionsConceptual questions
“Concave Up: Traps Up, Mid Down”Concavity-based over/under for TnT_n vs MnM_nNo-calculation estimate questions
Midpoint pattern i12i-\frac{1}{2}Midpoint sample points in sigma formConverting sums ↔ integrals

Quick Review Checklist

  • You can write a Riemann sum as f(xi)Δxi\sum f(x_i^*)\Delta x_i and explain what each piece means.
  • For equal widths: Δx=ban\Delta x=\frac{b-a}{n} and xi=a+iΔxx_i=a+i\Delta x.
  • You can build LnL_n, RnR_n, MnM_n, and TnT_n and recognize them from sigma notation.
  • You can convert limnf(a+iΔx)Δx\lim_{n\to\infty}\sum f(a+i\Delta x)\Delta x into abf(x)dx\int_a^b f(x)\,dx.
  • You handle unequal partitions by using each Δxi\Delta x_i separately.
  • You know net area vs total area (use f(x)|f(x)| if needed).
  • You can decide over/underestimates using:
    • increasing/decreasing for LnL_n and RnR_n
    • concavity for TnT_n and MnM_n
  • You remember Tn=Ln+Rn2T_n=\frac{L_n+R_n}{2} and trapezoid coefficients 1,2,,2,11,2,\dots,2,1.

You’ve got this—if you can translate smoothly between “sum of little pieces” and “integral,” you’re in great shape for AP Calc problems on this topic.