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 with slices. The exact area is .
- Increase and watch the sum converge. How does the error shrink when doubles?
Predict
A midpoint sum for has an error of 0.0417 with 4 slices. About what is the error with 8 slices?
About 0.0104, a quarter. The midpoint rule's error goes as : doubling the slices divides it by four. (The left and right sums from lesson 41 are cruder: their errors only halve.) In the limit, every reasonable choice of slices gives the same answer, .
Name it
Sums and sigma notation
A sum of many terms is written with :
Three closed forms make hand computation possible:
The definite integral
Split into slices of width , pick a point in each, and form the Riemann sum . The definite integral is its limit:
For continuous the limit exists and doesn't depend on which points you pick.
By hand, for : with right endpoints ,
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: . A current that flows both ways delivers a net charge.
- Linearity: .
- Additivity: .
- Reversing: , and .
- Bounds: if on , then .
Worked example
Compute .
Show the solution
- Split the sum.
- Sum each part.
Answer the sum is 670.
Worked example
Find as a limit of right-endpoint sums.
Show the solution
- Set up the slices. and , so the right sum is
- Use the sum of squares.
- Let .
- Check with numbers. At the sum is 3.08, at it's 2.707: closing in on 2.667 from above, since right endpoints overestimate a rising function.
Answer , about 2.667.
Worked example
Use to find the right-endpoint sum for with .
Show the solution
- Write the sum. With width and heights :
- Put in .
- Compare with the exact area. The exact area is , so the error is 0.0050, about : right endpoints overshoot a rising curve by about half a slice per unit of rise.
Answer the right-endpoint sum with is 0.338 35.
Check
Compute .
Check
Using right endpoints and = 5 slices, what is the Riemann sum for ?
Check
and . What is ?
Check
and . What is ?
Check
A current A flows for 20 ms, exactly one cycle. What net charge passes?
Check
On , . What is the largest could be?
Check
Estimate 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 as the limit of right-endpoint sums.
Step 1
With slices of width and heights , use 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°.
Step 2
Let .
Explain why
Why does a Riemann sum get closer to the exact integral as the slices get thinner?
Each slice approximates the area under the curve by a rectangle, and the error in a slice comes from how much the function changes across it. Thinner slices mean the function changes less across each one, so each rectangle fits better. Even though there are more slices, the total error shrinks: for a smooth function it goes as the slice width (left or right sums) or its square (midpoint sums). In the limit the sum equals the area exactly.
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.