Riemann Sums and Area Approximation
Approximating area under curves using rectangles
📊 Riemann Sums and Area Approximation
The Area Problem
How do we find the area under a curve?
Example: Find the area between and the x-axis from to .
For simple shapes (rectangles, triangles), we have formulas. But for curves? We need a new approach!
💡 Key Idea: Approximate the area using rectangles, then take the limit as the number of rectangles approaches infinity!
Approximating with Rectangles
The Basic Strategy
Step 1: Divide the interval into subintervals
Step 2: On each subinterval, draw a rectangle
Step 3: Add up the areas of all rectangles
Step 4: Take the limit as
Partitioning the Interval
Regular Partition
Divide into equal subintervals:
Width of each rectangle:
Partition points:
In general:
Types of Riemann Sums
The height of each rectangle depends on where we sample the function!
Left Riemann Sum
Use the left endpoint of each subinterval:
Right Riemann Sum
Use the right endpoint of each subinterval:
Midpoint Riemann Sum
Use the midpoint of each subinterval:
Example 1: Computing a Left Riemann Sum
Approximate the area under from to using 4 rectangles (left endpoints).
Step 1: Find
Step 2: Find partition points
Step 3: Calculate function values at left endpoints
Step 4: Calculate Left Riemann Sum
Answer: The left Riemann sum approximation is 1.75 square units.
Note: The actual area is , so this is an underestimate (because is increasing).
Example 2: Right Riemann Sum
Same function from to with 4 rectangles (right endpoints).
Use the same partition, but sample at right endpoints:
Answer: The right Riemann sum approximation is 3.75 square units.
This is an overestimate (because is increasing and we use right endpoints).
Increasing vs Decreasing Functions
For Increasing Functions
- Left sum underestimates (rectangles below curve)
- Right sum overestimates (rectangles above curve)
- Midpoint sum is usually more accurate
For Decreasing Functions
- Left sum overestimates
- Right sum underestimates
- Midpoint sum is usually more accurate
Sigma Notation Review
Summation Symbol
Read as: "The sum from to of "
Useful Formulas
(sum of constants)
(sum of first integers)
(sum of squares)
(sum of cubes)
Example 3: Using Formulas
Find the right Riemann sum for on with rectangles, then take the limit.
Step 1: Find
Step 2: Partition points
Step 3: Right Riemann sum
Step 4: Take the limit
Answer: The exact area is square unit.
Check: Area of triangle with base 1 and height 1 is ✓
The Definite Integral (Preview)
As , the Riemann sum approaches the definite integral:
This is the exact area under the curve!
Properties of Riemann Sums
More Rectangles = Better Approximation
As increases (more rectangles, thinner width):
- The approximation gets more accurate
- Left, right, and midpoint sums all approach the same value
Convergence
For continuous functions on :
Trapezoidal Rule
Instead of rectangles, use trapezoids!
Pattern: First and last get coefficient 1, all middle terms get coefficient 2.
Often more accurate than left/right/midpoint sums!
Example 4: Trapezoidal Rule
Approximate using 4 trapezoids.
Step 1:
Points:
Function values:
Step 2: Apply formula
Actual:
Pretty close! Better than left (1.75) or right (3.75) with same number of rectangles.
⚠️ Common Mistakes
Mistake 1: Wrong Number of Terms
For rectangles:
- Left sum uses ( terms)
- Right sum uses ( terms)
Don't mix them up!
Mistake 2: Forgetting
Each rectangle has area = height × width!
Don't forget to multiply by .
Mistake 3: Using Wrong Endpoints
Left sum: use left endpoints ( through )
Right sum: use right endpoints ( through )
Mistake 4: Arithmetic Errors
With multiple terms, it's easy to make calculation mistakes.
Check: Does your answer make sense? Is it positive when area should be positive?
Historical Note
Named after Bernhard Riemann (1826-1866), who formalized the concept of integration using these sums.
The idea dates back to Archimedes (~250 BC) who used "method of exhaustion" to find areas!
The Big Picture
Riemann sums are the foundation of the definite integral:
- Approximate area with rectangles
- More rectangles = better approximation
- Take the limit as
- Get exact area = definite integral
Next, we'll learn the Fundamental Theorem of Calculus, which gives us an easier way to compute these areas!
📝 Practice Strategy
- Find first
- List partition points:
- Identify which endpoints to use (left, right, or midpoint)
- Calculate function values at those points
- Sum and multiply by
- Check: Does the answer make sense given the graph?
- For limits: Use summation formulas, then let
📚 Practice Problems
1Problem 1easy
❓ Question:
Approximate using a left Riemann sum with rectangles.
💡 Show Solution
Step 1: Find
Step 2: Find partition points
Step 3: Calculate function values at left endpoints
Step 4: Calculate Left Riemann Sum
Answer: The left Riemann sum approximation is 9 square units.
2Problem 2medium
❓ Question:
Use the midpoint Riemann sum with to approximate .
💡 Show Solution
Step 1: Find
Step 2: Find partition points
Step 3: Find midpoints
Midpoint of :
Midpoint of :
Midpoint of :
Step 4: Calculate function values at midpoints
Step 5: Calculate Midpoint Riemann Sum
Answer: The midpoint Riemann sum approximation is 8.75 square units.
Note: The actual value is , so this is quite accurate!
3Problem 3expert
❓ Question:
Find the exact value of by taking the limit of a right Riemann sum as .
💡 Show Solution
Step 1: Set up the right Riemann sum
Step 2: Write the sum
Step 3: Factor out constant
Step 4: Use summation formula
Step 5: Simplify
Step 6: Take the limit
Answer:
4Problem 4medium
❓ Question:
Approximate ∫₀² x² dx using a left Riemann sum with n = 4 rectangles.
💡 Show Solution
Step 1: Find Δx: Δx = (b - a)/n = (2 - 0)/4 = 0.5
Step 2: Identify left endpoints: x₀ = 0, x₁ = 0.5, x₂ = 1, x₃ = 1.5
Step 3: Evaluate f(x) = x² at left endpoints: f(0) = 0 f(0.5) = 0.25 f(1) = 1 f(1.5) = 2.25
Step 4: Calculate left Riemann sum: L₄ = Δx[f(x₀) + f(x₁) + f(x₂) + f(x₃)] L₄ = 0.5[0 + 0.25 + 1 + 2.25] L₄ = 0.5[3.5] L₄ = 1.75
Step 5: Note: Actual value: ∫₀² x² dx = [x³/3]₀² = 8/3 ≈ 2.67 Left sum underestimates for increasing functions
Answer: L₄ = 1.75
5Problem 5hard
❓ Question:
Use a midpoint Riemann sum with n = 3 to approximate ∫₁⁴ (1/x) dx.
💡 Show Solution
Step 1: Find Δx: Δx = (4 - 1)/3 = 1
Step 2: Find subintervals: [1, 2], [2, 3], [3, 4]
Step 3: Find midpoints: m₁ = 1.5, m₂ = 2.5, m₃ = 3.5
Step 4: Evaluate f(x) = 1/x at midpoints: f(1.5) = 1/1.5 = 2/3 ≈ 0.667 f(2.5) = 1/2.5 = 2/5 = 0.4 f(3.5) = 1/3.5 = 2/7 ≈ 0.286
Step 5: Calculate midpoint sum: M₃ = Δx[f(m₁) + f(m₂) + f(m₃)] M₃ = 1[2/3 + 2/5 + 2/7]
Step 6: Find common denominator (105): 2/3 = 70/105 2/5 = 42/105 2/7 = 30/105 Sum = 142/105 ≈ 1.352
Step 7: Note: Actual: ∫₁⁴ (1/x) dx = ln(4) ≈ 1.386 Pretty close!
Answer: M₃ = 142/105 ≈ 1.352
Practice with Flashcards
Review key concepts with our flashcard system
Browse All Topics
Explore other calculus topics