A542 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A5 · Lesson 42 · The definite integral

From a sum of slices to an exact area

Lesson 41 estimated accumulated charge by adding up thin slices of current. The estimate improves as the slices get thinner, and in the limit of infinitely many infinitely thin slices it becomes exact: the definite integral. This lesson makes that limit precise, computes one by hand to see the machinery work, and collects the rules that let you take integrals apart and put them back together.

  • The bars are a midpoint sum for ∫02x2dx with n slices. The exact area is 8/3≈2.6667.
  • Increase n and watch the sum converge. How does the error shrink when n doubles?

Predict

A midpoint sum for ∫02x2dx has an error of 0.0417 with 4 slices. About what is the error with 8 slices?

Name it

Sums and sigma notation

A sum of many terms is written with Σ:

∑k=1nak=a1+a2+⋯+an

Three closed forms make hand computation possible:

∑k=1n1=n∑k=1nk=n(n+1)2∑k=1nk2=n(n+1)(2n+1)6

The definite integral

Split [a,b] into n slices of width Δx=b−an, pick a point xk* in each, and form the Riemann sum ∑f(xk*)Δx. The definite integral is its limit:

∫abf(x)dx=limn→∞⁡∑k=1nf(xk*)Δx

For continuous f the limit exists and doesn't depend on which points you pick.

By hand, for ∫01x2dx: with right endpoints xk=k/n,

∑k=1n(kn)21n=1n3⋅n(n+1)(2n+1)6→26=13

The fundamental theorem (lesson 43) will make this a one-liner, but this is what it's shortcutting.

Signed area and properties

Area below the axis counts as negative: ∫02πsin⁡xdx=0. A current that flows both ways delivers a net charge.

  • Linearity: ∫(af+bg)=a∫f+b∫g.
  • Additivity: ∫abf+∫bcf=∫acf.
  • Reversing: ∫baf=−∫abf, and ∫aaf=0.
  • Bounds: if m≤f≤M on [a,b], then m(b−a)≤∫abf≤M(b−a).

Worked example

Compute ∑k=120(3k+2).

Show the solution
  1. Split the sum. ∑k=120(3k+2)=3∑k+∑2
  2. Sum each part. 3∑k+∑2=3⋅20⋅212+2⋅20=630+40=670

Answer the sum is 670.

Worked example

Find ∫02x2dx as a limit of right-endpoint sums.

Show the solution
  1. Set up the slices. Δx=2/n and xk=2k/n, so the right sum is Sn=∑k=1n4k2n2⋅2n
  2. Use the sum of squares. Sn=8n3⋅n(n+1)(2n+1)6=4(n+1)(2n+1)3n2
  3. Let n→∞. Sn→83
  4. Check with numbers. At n=10 the sum is 3.08, at n=100 it's 2.707: closing in on 2.667 from above, since right endpoints overestimate a rising function.

Answer ∫02x2dx=83, about 2.667.

Worked example

Use ∑k=1nk2=n(n+1)(2n+1)6 to find the right-endpoint sum for ∫01x2dx with n=100.

Show the solution
  1. Write the sum. With width 1/n and heights (k/n)2: Sn=1n3∑k2=(n+1)(2n+1)6n2
  2. Put in n=100. S100=101×20160000=0.33835
  3. Compare with the exact area. The exact area is 13, so the error is 0.0050, about 12n: right endpoints overshoot a rising curve by about half a slice per unit of rise.

Answer the right-endpoint sum with n=100 is 0.338 35.

Check

Compute ∑k=120(2k+5).

Check

Using right endpoints and n = 5 slices, what is the Riemann sum for ∫01x2dx?

Check

∫01f=6 and ∫01g=3. What is ∫01(2f+3g)?

Check

∫02f=3 and ∫25f=−2. What is ∫05f?

Check

A current i(t)=2sin⁡(100πt) A flows for 20 ms, exactly one cycle. What net charge passes?

Check

On [1,5], 1≤f(x)≤4. What is the largest ∫15f could be?

Check

Estimate ∫02xdx with a right-endpoint sum of 4 slices.

(a)

What is the sum?

(b)

What is the exact integral?

(c)

By how much does the sum overshoot?

Check

Find ∫0bx2dx as the limit of right-endpoint sums.

Step 1

With n slices of width b/n and heights (kb/n)2, use ∑k2=n(n+1)(2n+1)6 to write the sum.

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does a Riemann sum get closer to the exact integral as the slices get thinner?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.