Kim’s Math NotesCourse index

Riemann Sums, Summation Notation, and Definite Integral Notation

How can I read a definite integral from a Riemann sum?

Write a definite integral as the limit of a Riemann sum with Σ, and read a limit of a sum back as an integral (Δx, a, b, f).

The start left out, or added twice

Common mistake lim∑(2+5kn)35n=∫05x3dx, or ∫27(2+x)3dx.

Correction xk=a+kΔx gives a=2, b=7; f is what is done to xk: x3. So ∫27x3dx.

More pieces, closer to the area

Take a rising curve from zero to one. Two rectangles go on it, each as tall as its right end. The pink bits poking above the curve are the error. Cut it into four. Then eight. Each pink bit is smaller, and all together they add up to less error.

Same curves, but now each rectangle is as tall as its left end. The yellow gaps under the curve shrink, too. So the more pieces we cut, the closer the rectangles get to the true area.

Watch this part of the concept lesson

n pieces, and sigma

Before we cut into infinitely many pieces, take n pieces, find that area, and then let n go to infinity. Chop the interval from zero to one into n equal pieces. Each piece has width one over n. We call that delta x. Grab piece number k.

Its right edge is k steps of one over n from zero, so x sub k equals k over n.

Watch this part of the concept lesson

Read the rest of this scene

Its height goes right up to the curve: f of x sub k, which is f of k over n. Add up all n areas, width times height: one over n times f of x one, plus one over n times f of x two, all the way to one over n times f of x n. That's long, so here's a short way. Add them all up, k from one to n: that's sigma. So S is the sum, k from one to n, of f of k over n, times one over n.

With n pieces, it's still an estimate. S is approximately the area, not equal to it.

n to infinity: the definite integral

Now let n grow without bound. The limit, as n goes to infinity, of that sum equals the integral from zero to one of f of x d x. But wait. Where do the ends, zero and one, come from? Look at the first piece, k equals one. x one is one over n, and as n goes to infinity, that slides down to zero. That's the start.

k equals two: x two is two over n, one more step.

Watch this part of the concept lesson

Read the rest of this scene

Jump to the last piece, k equals n. x n is n over n, which is one. That's the end. Subtract the first two points: two over n minus one over n is one over n. That's the width, delta x. As n goes to infinity, delta x shrinks to zero, and we write d x in place of delta x.

Now match them up. k over n becomes x. One over n becomes d x. k equals one becomes the bottom end, zero, and k equals n becomes the top end, one. That limit has a name: the definite integral. The limit of the sum is the exact area.

And inside, f of x d x is the area of a very thin strip: height f of x, times width d x.

Any interval [a, b]

What if we're not on zero to one? Take any interval from a to b, and chop it into n equal pieces. Each width, x sub k minus x sub k minus one, is b minus a over n. Where is x sub k? Start at a, and take k steps of b minus a over n.

So x sub k equals a plus b minus a over n, times k.

Watch this part of the concept lesson

Read the rest of this scene

Piece number k, S sub k, is its height, f of x sub k, times its width. Add all n pieces, and that's S sub n: S with n pieces. Now, if f is continuous on a to b, let n go to infinity. The limit of S sub n is the integral from a to b of f of x d x. It's a signed area: any part below the x axis counts as negative.

And the pieces don't even have to be equal; all that matters is that every width goes to zero.

One limit, three integrals

Here's the same limit, read three ways. Way one: call the whole inside, a plus b minus a over n times k, your x. k equals one gives a plus one tiny step. As n goes to infinity, that step goes to zero, so it starts at a. k equals two gives a plus two steps.

And k equals n: the n's cancel, leaving a plus b minus a, which is b. That's the end.

Watch this part of the concept lesson

Read the rest of this scene

x two minus x one is b minus a over n, the width, and it becomes d x. So way one gives the integral from a to b of f of x d x. Here's the one rule behind all three: whatever part with k you call x, k equals one gives the start, k equals n gives the end, and x two minus x one gives d x. Way two: leave a alone, and call only b minus a over n times k your x.

Now k equals one gives b minus a over n, which goes to zero, and k equals n gives exactly b minus a. The a stays parked inside f: the integral from zero to b minus a of f of a plus x d x. Way three: call only k over n your x. Then x runs from zero to one, and d x takes only the one over n. The leftover b minus a from the width moves out front: b minus a times the integral from zero to one of f of a plus b minus a times x, d x.

One limit, three integrals that look different, the same area.

Reading a sum back: up to n - 1

Now read one backward. The limit, as n goes to infinity, of the sum from k equals one to n minus one, of one plus two k over n, squared, times two over n. Stay calm, and call the inside x sub k: one plus two k over n. k equals one gives one plus two over n, which goes to one. That's the start. This sum stops one piece early, at k equals n minus one.

That's one plus two times n minus one over n, which is three minus two over n, and it goes to three.

Watch this part of the concept lesson

Read the rest of this scene

x two minus x one is two over n: that matches the end, so it becomes d x. And x sub k is squared, so f of x is x squared: the integral from one to three of x squared d x. Why didn't the missing last piece matter? Its area is two over n times three squared, eighteen over n, and that goes to zero. One wafer-thin piece has zero area in the limit.

Read it way two, calling only two k over n your x, and you get the integral from zero to two of one plus x, squared. Same area.

Example 1: integral → sum → limit

Example one. Take the integral from one to four of root x d x. Write it as a sum with sigma, then as a limit. Part a. The plan, always in this order: delta x, then x sub k, then f of x sub k. Delta x is four minus one, over n: three over n. x sub k starts at one and takes k steps of three over n: one plus three k over n.

Plug that into the square root for the height.

Watch this part of the concept lesson

Read the rest of this scene

Height times width, added up: the sum from k equals one to n of root of one plus three k over n, times three over n. With n pieces, it's approximately the integral. Part b is one line. The integral from one to four of root x d x equals the limit, as n goes to infinity, of that same sum. Quick check backward: k equals one gives one plus three over n, which goes to one, and k equals n gives exactly one plus three, four. It matches.

More of these are in your workbook: problems one, four b, and six. Same rhythm: delta x, x sub k, then f.

Example 2: which integral is it?

Example two, A. P. style. This limit of a sum equals which definite integral? The plan: x one gives a, x n gives b, x two minus x one gives d x, then find f. Call the whole inside x sub k: two plus five k over n. k equals one gives two plus five over n, which goes to two.

So a is two.

Watch this part of the concept lesson

Read the rest of this scene

k equals n gives two plus five, seven. So b is seven. x two minus x one is five over n, sitting right at the end, ready to become d x. And x sub k is cubed, so f of x is x cubed. Together: the integral from two to seven of x cubed d x. That's B.

Read it way two and you'd get the integral from zero to five of two plus x, cubed. Also true, just not on the list. Problems two, three, and five in your workbook read backward like this.

Three traps

This is where people lose points. Choice A, the integral from zero to five of x cubed: the start, two, got dropped. Choice C, the integral from two to seven of two plus x, cubed: the two got used twice, in the ends and inside. Choice D, five times the integral from two to seven: five over n is already all of d x, so the five got used twice. The fix: whatever you call x, its ends and its d x come from that same choice.

x sub k is two plus five k over n: ends two and seven, d x is five over n, nothing left over.

Watch this part of the concept lesson

Worked examples

Example 1

Consider ∫14xdx: as a sum with Σ, then as a limit.
(a) Right sum, n equal pieces, with Σ
(b) The integral as a limit of that sum
Hint

Δx first, then xk=a+kΔx, then f(xk).

Answer and solution

Answer limn→∞∑k=1n1+3kn⋅3n

  1. Δx=4−1n=3n,xk=1+3kn
  2. (a) ∑k=1n1+3kn⋅3n
  3. (b) ∫14xdx=limn→∞∑k=1n1+3kn⋅3n
  4. Check: a=1, b=1+3=4.

Example 2

limn→∞∑k=1n(2+5kn)35n is equal to
  1. ∫05x3dx
  2. ∫27x3dx
  3. ∫27(2+x)3dx
  4. 5∫27x3dx
Hint

Read Δx, then a from xk, then b=a+(b−a), then f.

Answer and solution

Answer B. ∫27x3dx

  1. x1=2+5n→2=a,xn=2+5=7=b,Δx=5n→dx
  2. xk is cubed, so f(x)=x3: ∫27x3dx.
  3. Answer B.

Workbook

Problem 1

Write ∫0πsinxdx as the limit of a right Riemann sum with n subintervals of equal width.
Hint

Δx=πn and xk=πkn.

Answer and solution

Answer limn→∞∑k=1nsin(πkn)πn

  1. Δx=π−0n=πn,xk=πkn
  2. ∫0πsinxdx=limn→∞∑k=1nsin(πkn)πn

Common mistake Starting x_k at 1 or using the wrong width.

Watch the worked solution to Problem 1

Problem 2

limn→∞∑k=1nekn⋅1n is equal to
  1. ∫01exdx
  2. ∫12exdx
  3. ∫0nexdx
  4. n∫01exdx
Hint

Δx=1n, so the length is 1. Where does xk=kn start and end?

Answer and solution

Answer A. ∫01exdx

  1. Δx=1n→b−a=1,xk=kn:0to1
  2. xk goes into ex: ∫01exdx. Answer A.

Common mistake Taking the interval [1, 2] from e^(k/n).

Watch the worked solution to Problem 2

Problem 3

What is the value of limn→∞∑k=1n(1+3kn)3n?
  1. 92
  2. 152
  3. 8
  4. 15
Hint

Read it as an integral first: f(x)=x on [1,4]. Then use areas.

Answer and solution

Answer B. 152

  1. Δx=3n,xk=1+3kn:1to4,f(x)=x
  2. ∫14xdx=12(1+4)⋅3=152
  3. Answer B.

Common mistake Computing 1 + 3k/n as the integrand instead of x.

Watch the worked solution to Problem 3

Problem 4

Let f(x)=9−x2 on [0,3].
  1. Find the right Riemann sum with three subintervals of equal width.
  2. Write ∫03(9−x2)dx as the limit of a right Riemann sum with n equal subintervals.
Hint

Right ends 1, 2, 3 for (a); Δx=3n, xk=3kn for (b).

Answer and solution
  1. 13
  2. limn→∞∑k=1n(9−(3kn)2)3n
  1. width1,right ends1,2,3:1⋅8+1⋅5+1⋅0=13
  2. Δx=3n,xk=3kn
  3. ∫03(9−x2)dx=limn→∞∑k=1n(9−(3kn)2)3n

Common mistake Mixing up the width 3/n and x_k.

Watch the worked solution to Problem 4

Problem 5

Which of the following is NOT equal to limn→∞∑k=1nln(1+3kn)3n?
  1. ∫14lnxdx
  2. ∫03ln(1+x)dx
  3. ∫14ln(1+x)dx
  4. the limit of the right Riemann sums of lnx on [1,4]
Hint

Each correct choice must match both the width and where x_k runs.

Answer and solution

Answer C. ∫14ln(1+x)dx

  1. Read xk=1+3kn: ∫14lnxdx, so (A) and (D) are equal to it.
  2. Read xk=3kn: ∫03ln(1+x)dx, so (B) is equal too.
  3. (C) moves the start to 1 and adds 1 again: not equal. Answer C.

Common mistake Calling a correct form wrong because it starts at 0.

Watch the worked solution to Problem 5

Problem 6

Which of the following limits is equal to ∫261xdx?
  1. limn→∞∑k=1n12+4kn⋅2n
  2. limn→∞∑k=1n14kn⋅4n
  3. limn→∞∑k=1n42n+4k
  4. limn→∞∑k=1n12+kn⋅4n
Hint

Δx=4n, xk=2+4kn. Simplify each choice.

Answer and solution

Answer C. limn→∞∑k=1n42n+4k

  1. Δx=6−2n=4n,xk=2+4kn
  2. 12+4kn⋅4n=42n+4k
  3. Answer C.

Common mistake Choosing a form whose width or end does not match.

Watch the worked solution to Problem 6