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] into n subintervals. On each subinterval [x_{i-1},x_i] pick a sample point x_i^*. Then a Riemann sum is:
\sum_{i=1}^{n} f(x_i^*)\,\Delta x_i
where \Delta x_i = x_i-x_{i-1} (width of the ith subinterval).
If the partition gets finer (maximum width goes to 0), the limit is the definite integral:
\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)
Pick the interval [a,b] and number of pieces n.
Compute width:
\Delta x = \frac{b-a}{n}
Write partition points:
x_i = a + i\Delta x\quad\text{for} \quad i=0,1,\dots,n
Choose sample points (this is the “type”):
- Left: x_i^* = x_{i-1}
- Right: x_i^* = x_i
- Midpoint: x_i^* = \frac{x_{i-1}+x_i}{2}
Form the sum:
\sum_{i=1}^{n} f(x_i^*)\,\Delta x
Mini-example (setup only): Approximate \int_0^2 x^2\,dx with n=4 right endpoints.
\Delta x = \frac{2-0}{4} = \frac{1}{2}
Right endpoints: x_i = 0 + i\cdot\frac{1}{2} for i=1,2,3,4
Sum:
R_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
\sum_{i=1}^{n} f(\text{stuff in } i,n)\cdot(\text{something}/n)
do this:
- Identify \Delta x from the factor multiplying the function.
- Use \Delta x = \frac{b-a}{n} to find the interval length b-a.
- Match the inside to a sample point form:
- Right endpoints often look like a+i\Delta x.
- Left endpoints often look like a+(i-1)\Delta x.
- Midpoints often look like a+\left(i-\frac{1}{2}\right)\Delta x.
- Write the integral \int_a^b f(x)\,dx.
Mini-example:
\lim_{n\to\infty}\sum_{i=1}^{n} \sin\left(3+\frac{2i}{n}\right)\cdot\frac{2}{n}
- \Delta x = \frac{2}{n} so b-a=2.
- Inside is 3+\frac{2i}{n} = a+i\Delta x with a=3.
- So b=5 and the integral is:
\int_{3}^{5} \sin(x)\,dx
C) Unequal subintervals (common with tables)
If widths are not constant:
- Each rectangle uses its own width: \Delta x_i = x_i-x_{i-1}.
- Sum: \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 \Delta x = \frac{b-a}{n} and x_i = a+i\Delta x.
| Approximation | Formula | When to use | Notes |
|---|---|---|---|
| Left Riemann sum | L_n=\sum_{i=1}^{n} f(x_{i-1})\,\Delta x | “left endpoints” | Uses x_0,\dots,x_{n-1} |
| Right Riemann sum | R_n=\sum_{i=1}^{n} f(x_i)\,\Delta x | “right endpoints” | Uses x_1,\dots,x_n |
| Midpoint sum | M_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 rule | 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 ends | Equivalent: T_n=\frac{L_n+R_n}{2} |
How to spot left/right/midpoint from sigma notation
Assume \Delta x=\frac{b-a}{n}.
| Given in sum | Type | Why |
|---|---|---|
| \sum_{i=1}^{n} f\left(a+i\Delta x\right)\Delta x | Right | uses x_i |
| \sum_{i=1}^{n} f\left(a+(i-1)\Delta x\right)\Delta x | Left | uses x_{i-1} |
| \sum_{i=1}^{n} f\left(a+\left(i-\frac{1}{2}\right)\Delta x\right)\Delta x | Midpoint | uses midpoint of each subinterval |
Net area vs area
- \int_a^b f(x)\,dx is **net signed area** (below x-axis counts negative).
- Total area between curve and axis is usually:
\int_a^b |f(x)|\,dx
(or split where f(x)=0).
Over/underestimate rules (high-yield)
Let f be continuous on [a,b] with equal subintervals.
Monotonicity (increasing/decreasing):
- If f is increasing:
- L_n **underestimates** \int_a^b f(x)\,dx
- R_n overestimates
- If f is decreasing:
- L_n overestimates
- R_n underestimates
Concavity (midpoint vs trapezoid):
- If f''(x)>0 (concave up):
- T_n overestimates
- M_n underestimates
- If f''(x)
These are “shape” facts: trapezoids use secant lines; midpoints use tangent-ish rectangle heights.
Error bounds (good to know, sometimes tested)
If f has a continuous second derivative on [a,b] and K=\max_{[a,b]}|f''(x)|, then:
- Trapezoidal error bound:
|E_T|\le \frac{K(b-a)^3}{12n^2}
- Midpoint error bound:
|E_M|\le \frac{K(b-a)^3}{24n^2}
So midpoint is typically about twice as accurate as trapezoidal for the same n (based on bounds).
Examples & Applications
Example 1: Convert a limit of a sum to an integral
Convert:
\lim_{n\to\infty}\sum_{i=1}^{n} \left(1+\frac{4i}{n}\right)^2\cdot\frac{4}{n}
- \Delta x=\frac{4}{n} so interval length is 4.
- Sample point: 1+\frac{4i}{n}=a+i\Delta x with a=1.
- Then b=5.
Integral:
\int_{1}^{5} x^2\,dx
Example 2: Compute a left sum from a table with unequal widths
Suppose you’re given times t and values v(t) (velocity) at:
- t=0,1,3,6
Left Riemann sum for \int_0^6 v(t)\,dt using this partition:
v(0)(1-0)+v(1)(3-1)+v(3)(6-3)
That is:
v(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 \int_0^2 f(x)\,dx using L_4.
- If f is **increasing** on [0,2], then L_4 is an underestimate.
- If f is **decreasing**, L_4 is an overestimate.
This is a fast multiple-choice win.
Example 4: Trapezoidal rule quickly via averaging
If you already computed L_n and R_n (same n), then:
T_n=\frac{L_n+R_n}{2}
This saves time on FRQs when both are available.
Common Mistakes & Traps
Mixing up \Delta x with the sample point
- Wrong: treating \frac{b-a}{n} as the input to f.
- Why wrong: \Delta x is a width; the input is x_i^*.
- Fix: always write “sum = height \times width”: f(x_i^*)\Delta x.
Using the wrong endpoints (left vs right)
- Wrong: for L_n using x_i instead of x_{i-1}.
- Why wrong: left sum uses left edges of each subinterval.
- Fix: draw a quick partition: first rectangle in L_n uses x_0=a.
Forgetting unequal widths in table problems
- Wrong: using one constant \Delta x when the table spacing changes.
- Why wrong: each rectangle/trapezoid has its own width.
- Fix: compute each \Delta x_i directly from consecutive x-values.
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 \int |f(x)|dx or split at zeros for total area.
Messing up the interval when converting a sum to an integral
- Wrong: seeing \Delta x=\frac{5}{n} and assuming interval is [0,5].
- Why wrong: the interval start a comes from the expression inside f.
- Fix: match a+i\Delta x (or left/midpoint form) and solve for a and b.
Off-by-one index errors
- Wrong: using i=0 to n-1 with a formula built for i=1 to n (or vice versa).
- Why wrong: endpoints shift.
- Fix: anchor yourself: right sum uses x_1 through x_n; left uses x_0 through x_{n-1}.
Assuming “more rectangles” always overestimates
- Wrong: thinking increasing n always makes the approximation bigger.
- Why wrong: it depends on increasing/decreasing and concavity.
- Fix: use monotonicity/concavity rules, not vibes.
For trapezoidal rule, forgetting the interior points are doubled
- Wrong: using \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,\dots,2,1.
Memory Aids & Quick Tricks
| Trick / mnemonic | What it helps you remember | When to use |
|---|---|---|
| “Left starts at a, Right ends at b” | Left sum uses x_0=a; right sum uses x_n=b | Picking endpoints quickly |
| Coefficients for trapezoid: 1,2,2,\dots,2,1 | Interior points are counted twice | Writing T_n from values |
| T_n=\frac{L_n+R_n}{2} | Trapezoid equals average of left and right sums | If you already have L_n and R_n |
| “Increasing: Left Low, Right High” | Under/overestimates for monotone increasing functions | Conceptual questions |
| “Concave Up: Traps Up, Mid Down” | Concavity-based over/under for T_n vs M_n | No-calculation estimate questions |
| Midpoint pattern i-\frac{1}{2} | Midpoint sample points in sigma form | Converting sums ↔ integrals |
Quick Review Checklist
- You can write a Riemann sum as \sum f(x_i^*)\Delta x_i and explain what each piece means.
- For equal widths: \Delta x=\frac{b-a}{n} and x_i=a+i\Delta x.
- You can build L_n, R_n, M_n, and T_n and recognize them from sigma notation.
- You can convert \lim_{n\to\infty}\sum f(a+i\Delta x)\Delta x into \int_a^b f(x)\,dx.
- You handle unequal partitions by using each \Delta x_i separately.
- You know net area vs total area (use |f(x)| if needed).
- You can decide over/underestimates using:
- increasing/decreasing for L_n and R_n
- concavity for T_n and M_n
- You remember T_n=\frac{L_n+R_n}{2} and trapezoid coefficients 1,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.