Skip to main content

Code Scholars Tutoring · AP Calculus AB

Riemann sums, trapezoids, and signed area

Unit 6 · Topics 6.1, 6.2, 6.3. Original AP Calculus AB notes, worked example, and self-check.

Understand the idea

Approximate a changing quantity by summing rate times interval width. Left, right, and midpoint sums use different sample locations. Trapezoids average endpoint heights; nonuniform partitions require their individual widths. A definite integral is a limit of signed sums, so portions below the axis subtract. For an increasing function, left sums underestimate and right sums overestimate; concavity controls trapezoidal error.

∫abf(x) dx=lim⁡n→∞∑i=1nf(xi∗)Δxi,T=∑if(xi−1)+f(xi)2Δxi\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^n f(x_i^*)\Delta x_i,\qquad T=\sum_i\frac{f(x_{i-1})+f(x_i)}2\Delta x_i

Worked example

Given f(0)=1\displaystyle f(0)=1, f(1)=3\displaystyle f(1)=3, and f(3)=5\displaystyle f(3)=5, estimate the integral on [0,3]\displaystyle [0,3] with trapezoids.

The widths are 1\displaystyle 1 and 2\displaystyle 2. The estimate is 12(1+3)(1)+12(3+5)(2)=2+8=10\displaystyle \frac12(1+3)(1)+\frac12(3+5)(2)=2+8=10. Treating both widths as 1\displaystyle 1 would be incorrect.

Try it yourself

Find a right Riemann sum for f(x)=x2\displaystyle f(x)=x^2 on [0,2]\displaystyle [0,2] using two equal subintervals.

Show solution and reasoning

The width is 1\displaystyle 1 and right endpoints are 1,2\displaystyle 1,2. The sum is 1(12+22)=5\displaystyle 1(1^2+2^2)=5.