AP Calculus AB · Topic 6.3 · Reading guide, about 4 min

From sums of rectangles to the definite integral

Sigma notation, Riemann sums as the number of rectangles grows, and the definite integral as a limit with its notation.

In one minute

The estimates from the last topic get better as you use more, narrower rectangles. The definite integral is what they approach in the limit, written ∫abf(x) dx\int_a^b f(x)\,dx.

This topic gives you the notation to write sums compactly, the skill to read a limit of a sum as an integral, and the meaning of every symbol in the integral so you can interpret it in a story.

Key terms

Sigma notation
A shorthand for adding terms. ∑i=1nai\sum_{i=1}^{n} a_i means a1+a2+⋯+ana_1+a_2+\cdots+a_n, with ii the index and the numbers below and above the sigma its first and last values.
Definite integral
The number ∫abf(x) dx\int_a^b f(x)\,dx, defined as the limit of Riemann sums as the number of subintervals goes to infinity and the widths go to 0.
Limit of a Riemann sum
lim⁡n→∞∑i=1nf(xi) Δx\lim_{n\to\infty}\sum_{i=1}^{n} f(x_i)\,\Delta x, where Δx=b−an\Delta x=\frac{b-a}{n} and xix_i is a sample point in the iith piece.
Integrand
The function being integrated, the part f(x)f(x) in ∫abf(x) dx\int_a^b f(x)\,dx.
Limits of integration
The numbers aa and bb on the integral sign, the lower and upper bounds of the interval.
Differential
The dxdx at the end of an integral. It names the variable of integration and stands for the width Δx\Delta x of a tiny piece.
Sample point
The xx-value in each subinterval where the height is read: left end, right end, or midpoint.
Dummy variable
The letter of integration. ∫13x2 dx\int_1^3 x^2\,dx and ∫13t2 dt\int_1^3 t^2\,dt are the same number.

Sigma notation and Riemann sums in symbols

Sigma notation is bookkeeping. To evaluate ∑i=14(2i+1)\sum_{i=1}^{4}(2i+1), substitute i=1,2,3,4i=1,2,3,4 and add: 3+5+7+9=243+5+7+9=24. Always substitute carefully, and watch the starting index, since ∑i=03\sum_{i=0}^{3} has four terms and ∑i=13\sum_{i=1}^{3} has three.

Now split [a,b][a,b] into nn equal pieces, each with width Δx=b−an\Delta x=\frac{b-a}{n}. The right endpoint of the iith piece is xi=a+i Δxx_i=a+i\,\Delta x. A right Riemann sum is then ∑i=1nf(xi) Δx\sum_{i=1}^{n} f(x_i)\,\Delta x. A left sum uses xi−1x_{i-1} and runs the same way, and a midpoint sum uses the average of the two ends.

For example, with f(x)=x2f(x)=x^2 on [2,5][2,5] and n=3n=3, Δx=1\Delta x=1 and the right endpoints are 3, 4, 5, so the right sum is 9+16+25=509+16+25=50.

The definite integral as a limit

As nn grows, the width Δx\Delta x shrinks, and left, right, midpoint and trapezoid sums all squeeze toward the same number when the function is continuous. That shared value is the definite integral: ∫abf(x) dx=lim⁡n→∞∑i=1nf(xi) Δx\int_a^b f(x)\,dx=\lim_{n\to\infty}\sum_{i=1}^{n} f(x_i)\,\Delta x. Read the symbol this way: the stretched S means sum, f(x)f(x) is the height, and dxdx is the tiny width.

The integral is a single number. It is the signed area between ff and the xx-axis from aa to bb. If ff is a rate, it is the net change of the quantity over that interval, which connects straight back to the first topic of this unit.

The converse skill is the one tested most. Given a limit of a sum, find Δx\Delta x first, then the bounds, then the function. The factor multiplying the sum is b−an\frac{b-a}{n}, so it tells you the length b−ab-a. The sample points tell you aa: when xi=a+i Δxx_i=a+i\,\Delta x, the constant term in the argument is aa. Then b=a+(b−a)b=a+(b-a), and the function is whatever is being done to the sample point.

Reading a limit of a sum as an integral
Piece of the sumWhat it tells youIn the next example
Factor 3n\frac{3}{n}Δx=b−an\Delta x=\frac{b-a}{n}, so b−a=3b-a=3Length of interval is 3
Argument 2+3in2+\frac{3i}{n}a+i Δxa+i\,\Delta x, so a=2a=2Lower bound 2, upper bound 5
Operation on the argumentThe function ffSquaring, so f(x)=x2f(x)=x^2

A fully worked example

Write lim⁡n→∞∑i=1n3n(2+3in)2\lim_{n\to\infty}\sum_{i=1}^{n}\frac{3}{n}\left(2+\frac{3i}{n}\right)^2 as a definite integral and evaluate it.

Step 1. The width is Δx=3n\Delta x=\frac{3}{n}, so b−a=3b-a=3.

Step 2. The sample point is xi=2+i⋅3nx_i=2+i\cdot\frac{3}{n}, so a=2a=2 and b=2+3=5b=2+3=5.

Step 3. The function applied to the sample point is squaring, so f(x)=x2f(x)=x^2. The sum is a right sum, and the limit is ∫25x2 dx\int_2^5 x^2\,dx.

Step 4. Evaluate with an antiderivative. Since ddx(x33)=x2\frac{d}{dx}\left(\frac{x^3}{3}\right)=x^2, the value is 533−233=125−83=1173=39\frac{5^3}{3}-\frac{2^3}{3}=\frac{125-8}{3}=\frac{117}{3}=39. This fits the earlier right sum of 50 for n=3n=3 being an overestimate, since ff is increasing.

A second conversion: lim⁡n→∞∑i=1nπ2ncos⁡(iπ2n)\lim_{n\to\infty}\sum_{i=1}^{n}\frac{\pi}{2n}\cos\left(\frac{i\pi}{2n}\right). Here Δx=π2n\Delta x=\frac{\pi}{2n} so b−a=π2b-a=\frac{\pi}{2}, and the sample point is 0+i⋅π2n0+i\cdot\frac{\pi}{2n}, so a=0a=0 and b=π2b=\frac{\pi}{2}. The integral is ∫0π/2cos⁡x dx=sin⁡π2−sin⁡0=1\int_0^{\pi/2}\cos x\,dx=\sin\frac{\pi}{2}-\sin 0=1, with xx in radians.

How it connects

  • Back to 6.2: left, right, midpoint and trapezoid sums are the finite approximations whose limit defines the integral.
  • Forward to 6.4: putting a variable upper limit on the integral gives a function, and the Fundamental Theorem of Calculus describes its derivative.
  • Forward to 6.7: the second part of the Fundamental Theorem lets you evaluate integrals with antiderivatives, as done above.

Common mistakes

  • Forgetting that the width determines the interval length. The factor in front of the sum is b−an\frac{b-a}{n}, not just any constant.
  • Assuming the lower bound is always 0. Read the sample point: the term without ii is the lower bound.
  • **Writing the integral without dxdx.** The differential is part of the notation and names the variable.
  • Thinking the limit is a function. A definite integral with fixed bounds is a number.

How it shows up on the exam

  • A limit of a sum with nn and ii that you must rewrite as a definite integral, often in multiple-choice form with several look-alike options.
  • A sum in sigma notation you must evaluate or match to a Riemann sum for a given graph or table.
  • A rate-in-context question where you write the integral that represents a total amount and explain what it means.

Check yourself

  1. In a limit of a sum, how do you decide the width, then the bounds, then the function?
  2. Why is the sum a right sum if the sample point is a+i Δxa+i\,\Delta x with ii from 1 to nn?
  3. What is the difference between the limit of a Riemann sum and an estimate with 10 rectangles?
  4. Why can you rename the variable of integration without changing the value?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.