Riemann Sums, the Definite Integral, and Accumulation
AP Calculus BC · Unit 6 — Integration and Accumulation of Change
A sum that never stops refining
Chop $[a,b]$ into $n$ subintervals of width $\Delta x=\dfrac{b-a}{n}$, pick a sample point $x_k^{*}$ in each one, and add up the rectangles:
$$\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{k=1}^{n} f\!\left(x_k^{*}\right)\Delta x$$Left, right and midpoint sums differ only in where $x_k^{*}$ sits; the trapezoidal sum averages the left and right heights. For a function that is increasing, a left sum underestimates and a right sum overestimates; for a function that is concave up, the trapezoidal sum overestimates and the midpoint sum underestimates. These four facts are decided by shape alone, so a question can ask for them with no formula in sight.
Reading a limit backwards
BC asks the reverse direction too: given $\displaystyle\lim_{n\to\infty}\sum_{k=1}^{n}\frac{b-a}{n}\,f\!\left(a+\frac{(b-a)k}{n}\right)$, name the integral. Match $\Delta x$ to the constant factor and $a+\frac{(b-a)k}{n}$ to the variable $x$; the endpoints fall out of that match.
Properties worth memorising
$$\int_a^b f=-\int_b^a f,\qquad \int_a^c f+\int_c^b f=\int_a^b f,\qquad \int_a^a f=0$$The interpretation that carries the whole unit: if $f$ is a rate in units of $Q$ per unit time, then $\int_a^b f(t)\,dt$ is the net change in $Q$ over $[a,b]$ — not the final amount, and not the rate.
Worked example: turning a limit of a sum into an integral
Write $\displaystyle\lim_{n\to\infty}\sum_{k=1}^{n}\frac{2}{n}\,\ln\!\left(3+\frac{2k}{n}\right)$ as a definite integral.
Solution
Step 1 — identify $\Delta x$. The constant factor standing outside is $\frac2n$, so $\Delta x=\frac2n$ and $b-a=2$.
Step 2 — identify $x$. The expression containing $k$ is $3+\frac{2k}{n}$, that is, $x=3+\frac{2k}{n}$. With $k=0$ we get $x=3$, with $k=n$ we get $x=5$.
Step 3 — put it together.
$$\lim_{n\to\infty}\sum_{k=1}^{n}\frac{2}{n}\ln\!\left(3+\frac{2k}{n}\right)=\int_3^5 \ln x\,dx$$A quick check: $b-a$ read from the right endpoint equals exactly $n\Delta x=2$. If these two numbers disagree, you surely dropped a coefficient in $\Delta x$.