Educerie

Educerie · AP · Calculus AB and BC

AP Calculus AB and BC 6.3

Riemann Sums, Summation Notation, and Definite Integral Notation

What exactly is a definite integral, and how do we write it and read it?

What you will learn

  • Understand a Riemann sum as a sum of value times width over a partition.
  • Know that the definite integral is the limit of Riemann sums as the widths go to zero.
  • Understand how a limit of right sums is read off as a definite integral.

You must be able to

  1. Write a definite integral as the limit of a right Riemann sum with n equal subintervals.
  2. Rewrite the limit of a sum as a definite integral, reading a, b and f.
  3. Pull out a constant when the front factor is a multiple of the width.
  4. Interpret a definite integral of a rate as a net change with units.
  5. Evaluate a sum in sigma notation.

In the exam. Section I multiple choice: a limit of a sum in summation notation to be rewritten as a definite integral (or the reverse), or a Riemann sum to be written in sigma notation. Section II free response: the notation matters in every integral you write, since a missing limit or a missing dxdx loses the point.

1Sigma notation

∑i=1nai\displaystyle\sum_{i=1}^{n} a_i means a1+a2+⋯+ana_1 + a_2 + \dots + a_n.

  • ii is the index. It counts through whole numbers.
  • The number under Σ\Sigma is where it starts, and the number above is where it stops.
  • The expression after Σ\Sigma says what to add at each step.

Example: ∑i=14(2i+1)=3+5+7+9=24\displaystyle\sum_{i=1}^{4} (2i + 1) = 3 + 5 + 7 + 9 = 24.

The index is a dummy: ∑i=14(2i+1)\sum_{i=1}^{4} (2i + 1) and ∑k=14(2k+1)\sum_{k=1}^{4} (2k + 1) are the same sum. A sum can also start somewhere else: ∑i=03f(xi)\sum_{i=0}^{3} f(x_i) has four terms.

2A general Riemann sum

Take a partition of [a,b][a, b] into nn subintervals, and in the iith subinterval choose a point xi∗x_i^*. The subinterval's width is Δxi\Delta x_i. A Riemann sum is

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

It is a sum of products: the value of ff at a point in each subinterval, times that subinterval's length. This is how the CED describes it. The sample point can be anywhere in its subinterval: left end, right end, middle, or any other point.

Figure 1 shows four subintervals of different widths. Each rectangle has width Δxi\Delta x_i and height f(xi∗)f(x_i^*), and the sample point sits inside its subinterval.

A curve above the x-axis from a to b cut into four subintervals of different widths. In each one, a rectangle has the width of the subinterval and the height of the function at a chosen point inside it 0 y x a b xi* Δxi f(xi*)
Figure 1 · A Riemann sum over four subintervals of different widths, with a sample point in each

3The definite integral as a limit

If ff is continuous on [a,b][a, b], the Riemann sums settle on one number as every subinterval's width goes to zero. That number is the definite integral.

∫abf(x) dx=lim⁡max⁡Δxi→0∑i=1nf(xi∗) Δxi \int_a^b f(x)\,dx = \lim_{\max \Delta x_i \to 0} \sum_{i=1}^{n} f(x_i^*)\,\Delta x_i

The parts of the notation:

  • aa and bb are the limits of integration, the ends of the interval.
  • f(x)f(x) is the integrand, the function being added up.
  • dxdx names the variable, and stands for the width of the thin strips.

With equal subintervals, Δx=b−an\Delta x = \frac{b - a}{n}, and making the widths shrink is the same as letting n→∞n \to \infty.

The variable is a dummy, as the index is: ∫abf(x) dx=∫abf(t) dt\int_a^b f(x)\,dx = \int_a^b f(t)\,dt. The dxdx is not optional. An integral written without it is incomplete, and on a free-response question it can cost a point.

4The standard form for equal subintervals

With nn equal subintervals, Δx=b−an\Delta x = \frac{b - a}{n}.

  • The right end of the iith subinterval is xi=a+i Δxx_i = a + i\,\Delta x, for i=1,…,ni = 1, \dots, n.
  • The left end is a+(i−1) Δxa + (i - 1)\,\Delta x, and the left sum runs i=1i = 1 to nn with that point.

So the right Riemann sum is

∑i=1nf ⁣(a+i b−an)b−an \sum_{i=1}^{n} f\!\left(a + i\,\frac{b - a}{n}\right)\frac{b - a}{n}

Example (invented): ∫26ln⁡x dx\int_2^6 \ln x\,dx. Here a=2a = 2, b=6b = 6, so Δx=4n\Delta x = \frac{4}{n} and the right sum is ∑i=1nln⁡ ⁣(2+4in)4n\sum_{i=1}^{n} \ln\!\left(2 + \frac{4i}{n}\right)\frac{4}{n}. The integral is its limit as n→∞n \to \infty.

This is the "integral to limit" direction. It is only a matter of filling in the pattern.

5From a limit of a sum to an integral

This is the direction the exam asks most. It works because a right sum with nn equal strips always has the same pieces. Each strip has width Δx=b−an\Delta x = \frac{b-a}{n}. The iith right end sits ii widths in from the start, at a+i Δxa + i\,\Delta x. A sum written in that pattern is therefore a right sum, and you can read aa, bb and ff straight off it.

Look at the sum and read off four things.

  1. The width factor. The term that is a constant over nn, like 3n\frac{3}{n}, equals Δx=b−an\Delta x = \frac{b - a}{n}. So the constant is b−ab - a.
  2. The start. In a+(b−a) ina + \frac{(b - a)\,i}{n}, the number that stands alone is aa.
  3. The end. b=a+(b−a)b = a + (b - a).
  4. The function. Replace the whole point a+(b−a)ina + \frac{(b - a)i}{n} by xx. What is left is f(x)f(x).

Example (invented): lim⁡n→∞∑i=1n2n(1+2in)3\displaystyle\lim_{n \to \infty} \sum_{i=1}^{n} \frac{2}{n}\left(1 + \frac{2i}{n}\right)^3.

  • The width factor is 2n\frac{2}{n}, so b−a=2b - a = 2.
  • The point is 1+2in1 + \frac{2i}{n}, so a=1a = 1 and b=3b = 3.
  • Replacing the point by xx leaves x3x^3.

The limit is ∫13x3 dx\int_1^3 x^3\,dx.

Example (invented): lim⁡n→∞∑i=1n3n4+3in\displaystyle\lim_{n \to \infty} \sum_{i=1}^{n} \frac{3}{n}\sqrt{4 + \frac{3i}{n}}. The width is 3, a=4a = 4, so b=7b = 7 and f(x)=xf(x) = \sqrt{x}. The limit is ∫47x dx\int_4^7 \sqrt{x}\,dx.

When the factor in front is not exactly the width, pull out a constant. A constant multiplier of every term can be taken outside the sum, and then outside the limit, because a sum of cc times each term is cc times the sum.

Example (invented): lim⁡n→∞∑i=1n6n(1+3in)2\displaystyle\lim_{n \to \infty} \sum_{i=1}^{n} \frac{6}{n}\left(1 + \frac{3i}{n}\right)^2. The width is 3n\frac{3}{n}, and 6n=2⋅3n\frac{6}{n} = 2 \cdot \frac{3}{n}. So the limit is 2∫14x2 dx2\int_1^4 x^2\,dx.

When the sum has no aa at all, a=0a = 0. Example: lim⁡1n∑i=1n(in)2=∫01x2 dx\lim \frac{1}{n}\sum_{i=1}^{n}\left(\frac{i}{n}\right)^2 = \int_0^1 x^2\,dx.

6More than one correct answer

The answer is not always unique. You can move the start into the function.

Example: lim⁡∑3n(1+3in)2\lim \sum \frac{3}{n}\left(1 + \frac{3i}{n}\right)^2 equals ∫14x2 dx\int_1^4 x^2\,dx, reading the point as xx, and also ∫03(1+x)2 dx\int_0^3 (1 + x)^2\,dx, reading 3in\frac{3i}{n} as xx. Both equal 21.

An exam question that gives four integrals will make sure only one is correct. If you find a second one, check that the other options do not match, and choose the one that fits.

7Meaning of a definite integral

A definite integral is a number. It means one of two things, depending on what ff is.

  • If ff is a rate of change, ∫abf(x) dx\int_a^b f(x)\,dx is the net change in the quantity from aa to bb (6.1).
  • If ff is a height and f≥0f \ge 0, the integral is the area between the graph and the xx-axis. Where ff is negative, that part counts negative.

Example (invented): A(t)A(t) is the rate, in kilograms per day, at which a compost heap grows. The statement ∫29A(t) dt=84\int_2^9 A(t)\,dt = 84 means the mass of the heap changed by a net 84 kilograms from day 2 to day 9. The unit is kilograms, the unit of the rate times the unit of tt.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.