π Key idea of this section
Slice the region into n rectangles of width Ξx = (b β a) Γ· n. Area = lim (n β β) of β f(xβ)Β·Ξx = β«βα΅ f(x) dx.
The sigma notation
Adding many similar terms gets tiring to write, so mathematicians use the Greek capital sigma β for "sum":
β k for k = 1 to 4 = 1 + 2 + 3 + 4 = 10 β kΒ² for k = 1 to 3 = 1 + 4 + 9 = 14
The counter (k) marches through the integers; the recipe after β tells you what to add each time.
The rectangle machine
To find the area under a curve f from a to b: slice [a, b] into n equal strips of width Ξx = (b β a)/n. Number the strips k = 1, 2, ..., n; the right edge of strip k sits at xβ = a + kΒ·Ξx, and we use the height there, f(xβ). Each strip is a rectangle of area f(xβ)Β·Ξx, and the total estimate is:
β f(xβ)Β·Ξx for k = 1 to n β called a Riemann sum
Skinnier rectangles hug the curve better, so the exact area is the limit as n β β. That limit has its own symbol, the definite integral β an elongated S for "sum," Leibniz's idea:
β«βα΅ f(x) dx = lim (n β β) of β f(xβ)Β·Ξx
The dx is the fossil of Ξx after the slices got infinitely skinny.
Warm-up we can check β the area under f(x) = x from 0 to 4. We need the sum formula 1 + 2 + ... + n = n(n + 1)/2 (from pairing first with last: 1 + n, 2 + (n β 1), ... β there are n/2 pairs, each worth n + 1):
width: Ξx = 4/n; right edges: xβ = 4k/n; heights: f(xβ) = 4k/n Step 1: rectangle areas: (4k/n)(4/n) = 16k/nΒ² Step 2: total = (16/nΒ²) Γ β k = (16/nΒ²) Γ n(n + 1)/2 Step 3: = 8(n + 1)/n = 8(1 + 1/n) Step 4: limit as n β β: 8(1 + 0) = 8
Triangle check: the region IS a triangle, and 1/2 Γ 4 Γ 4 = 8 β . The rectangle machine works β now for a region no triangle formula can touch.
The main event β the area under f(x) = xΒ² from 0 to 3. We need the sum of squares formula:
1Β² + 2Β² + ... + nΒ² = n(n + 1)(2n + 1) Γ· 6
Verify it for n = 3: 3Γ4Γ7/6 = 84/6 = 14 = 1 + 4 + 9 β . (It is proved for all n in challenge problem 76.) Now run the machine:
width: Ξx = 3/n; right edges: xβ = 3k/n; heights: (3k/n)Β² = 9kΒ²/nΒ²
Step 1: rectangle k has area (9kΒ²/nΒ²)(3/n) = 27kΒ²/nΒ³
Step 2: total = (27/nΒ³) Γ β kΒ² = (27/nΒ³) Γ n(n + 1)(2n + 1)/6
Step 3: rewrite each n-factor as a fraction over n:
= (27/6) Γ (n + 1)/n Γ (2n + 1)/n
= (9/2) Γ (1 + 1/n) Γ (2 + 1/n)
Step 4: limit as n β β: 1/n β 0, so
(9/2) Γ 1 Γ 2 = 9
The area under y = xΒ² from 0 to 3 is EXACTLY 9.
No "about," no "close enough" β the limit delivered an exact integer out of infinitely many rectangles. Archimedes computed areas this way 2,000 years before Newton. File the number 9 away: Lesson 10 will get it in three lines, and you will see the shortcut and the grunt work agree.
βοΈ Your Turn!
- (a)Compute β k for k = 1 to 5 directly.
- (b)Compute β kΒ² for k = 1 to 4 two ways: by adding, and by the formula.
π Show the answers
Answers: (a) 1 + 2 + 3 + 4 + 5 = 15. (b) Adding: 1 + 4 + 9 + 16 = 30. Formula: 4Γ5Γ9/6 = 180/6 = 30 β .