zuai-logo
zuai-logo
  1. AP Maths
FlashcardFlashcardStudy GuideStudy Guide
Question BankQuestion BankGlossaryGlossary

Riemann Sums & Definite Integrals

David Brown

David Brown

6 min read

Next Topic - Accumulation Functions

Listen to this study note

Study Guide Overview

This study guide covers trapezoidal sums as a method to approximate the area under a curve, which relates to definite integrals. It includes how to calculate a trapezoidal sum, especially with equal intervals, and how to recognize over and underestimates based on concavity. A worked example using table data is provided, along with practice questions and key terms in a glossary.

#Trapezoidal Sums Study Notes

#Table of Contents

  1. Introduction to Trapezoidal Sums
  2. Calculating a Trapezoidal Sum
  3. Special Case: Equal Intervals
  4. Overestimation and Underestimation
  5. Worked Example
  6. Practice Questions
  7. Glossary
  8. Summary and Key Takeaways

#Introduction to Trapezoidal Sums

#What is a Trapezoidal Sum?

A trapezoidal sum is a method for approximating the exact value of an accumulation of change.

  • It is used to approximate the exact value of a definite integral or the exact area between a curve and the x-axis.
  • The approximation is achieved by adding up the areas of a number of trapezoids.
Key Concept

A trapezoidal sum approximates the area under a curve by dividing it into trapezoids, then summing their areas.

#Calculating a Trapezoidal Sum

To calculate the trapezoidal sum of a function fff between x=ax=ax=a and x=bx=bx=b (where a<ba<ba<b):

  1. Divide the interval into nnn subintervals by choosing values x0,x1,…,xnx_{0}, x_{1}, \ldots, x_{n}x0​,x1​,…,xn​ such that a=x0<x1<⋯<xn=ba=x_{0}<x_{1}<\cdots <x_{n}=ba=x0​<x1​<⋯<xn​=b.

    • The intervals do not need to be the same size.
  2. Define nnn trapezoids:

    • The iiith trapezoid has a width of xi−xi−1x_{i}-x_{i-1}xi​−xi−1​. This is the distance from the left-hand side to the right-hand side of the trapezoid.
    • The parallel sides of the iiith trapezoid have heights of f(xi−1)f(x_{i-1})f(xi−1​) and f(xi)f(x_{i})f(xi​). These are the values of the function at the left-hand and right-hand sides of the trapezoid.
    • The area of the iiith trapezoid is (xi−xi−1)⋅f(xi−1)+f(xi)2(x_{i}-x_{i-1}) \cdot \frac{f(x_{i-1}) + f(x_{i})}{2}(xi​−xi−1​)⋅2f(xi−1​)+f(xi​)​.
  3. The trapezoidal sum is the sum of the areas of these nnn trapezoids: ∑i=1n(xi−xi−1)⋅f(xi−1)+f(xi)2\sum_{i=1}^{n} (x_{i}-x_{i-1}) \cdot \frac{f(x_{i-1}) + f(x_{i})}{2}i=1∑n​(xi​−xi−1​)⋅2f(xi−1​)+f(xi​)​

Consider a function fff with n=5n=5n=5 trapezoids. Increasing the number of trapezoids, nnn, generally gives a more accurate approximation. In exams, you may be given values of the function in a table rather than the function itself.

#Special Case: Equal Intervals

When all intervals in a trapezoidal sum are the same size, the formula simplifies:

  • The width of each trapezoid is b−an\frac{b-a}{n}nb−a​.

The trapezoidal sum becomes: ∑i=1nb−an⋅f(xi−1)+f(xi)2\sum_{i=1}^{n} \frac{b-a}{n} \cdot \frac{f(x_{i-1}) + f(x_{i})}{2}i=1∑n​nb−a​⋅2f(xi−1​)+f(xi​)​

Simplified further: b−an[f(x0)+f(xn)2+∑i=1n−1f(xi)]\frac{b-a}{n} \left[ \frac{f(x_{0}) + f(x_{n})}{2} + \sum_{i=1}^{n-1} f(x_{i}) \right]nb−a​[2f(x0​)+f(xn​)​+i=1∑n−1​f(xi​)] or b−a2n[f(x0)+f(xn)+2∑i=1n−1f(xi)]\frac{b-a}{2n} \left[ f(x_{0}) + f(x_{n}) + 2 \sum_{i=1}^{n-1} f(x_{i}) \right]2nb−a​[f(x0​)+f(xn​)+2i=1∑n−1​f(xi​)]

Exam Tip

Understand the process of calculating the trapezoidal sum rather than memorizing the formula.

#Overestimation and Underestimation

  • If a function is concave up over the interval, the trapezoidal sum will be an overestimate.
  • If a function is concave down over the interval, the trapezoidal sum will be an underestimate.
Common Mistake

Functions with segments that are both concave up and concave down make it unclear whether the trapezoidal sum will be an overestimate or underestimate.

#Worked Example

A social sciences researcher models the total mass of garden gnomes using a function mmm. The table below gives values of m′(t)m'(t)m′(t) over the interval 0≤t≤120 \le t \le 120≤t≤12. At t=0t=0t=0, m(0)=24.9m(0)=24.9m(0)=24.9 kg.

t (days)0371012
m′(t)m'(t)m′(t) (kg/day)2.64.812.20.7-1.3

#Calculation:

  1. Divide the interval into four subintervals:

    • Widths: 3−03-03−0, 7−37-37−3, 10−710-710−7, 12−1012-1012−10
    • Heights: m′(0),m′(3),m′(7),m′(10),m′(12)m'(0), m'(3), m'(7), m'(10), m'(12)m′(0),m′(3),m′(7),m′(10),m′(12)
  2. Calculate the area of each trapezoid: 1st Trapezoid:(3−0)⋅2.6+4.822nd Trapezoid:(7−3)⋅4.8+12.223rd Trapezoid:(10−7)⋅12.2+0.724th Trapezoid:(12−10)⋅0.7+(−1.3)2\begin{aligned} &\text{1st Trapezoid:} & (3-0) \cdot \frac{2.6 + 4.8}{2} \\ &\text{2nd Trapezoid:} & (7-3) \cdot \frac{4.8 + 12.2}{2} \\ &\text{3rd Trapezoid:} & (10-7) \cdot \frac{12.2 + 0.7}{2} \\ &\text{4th Trapezoid:} & (12-10) \cdot \frac{0.7 + (-1.3)}{2} \end{aligned}​1st Trapezoid:2nd Trapezoid:3rd Trapezoid:4th Trapezoid:​(3−0)⋅22.6+4.8​(7−3)⋅24.8+12.2​(10−7)⋅212.2+0.7​(12−10)⋅20.7+(−1.3)​​

  3. Sum the areas: (3−0)⋅2.6+4.82+(7−3)⋅4.8+12.22+(10−7)⋅12.2+0.72+(12−10)⋅0.7+(−1.3)2=63.85 kg\left(3-0\right) \cdot \frac{2.6 + 4.8}{2} + \left(7-3\right) \cdot \frac{4.8 + 12.2}{2} + \left(10-7\right) \cdot \frac{12.2 + 0.7}{2} + \left(12-10\right) \cdot \frac{0.7 + (-1.3)}{2} = 63.85 \text{ kg}(3−0)⋅22.6+4.8​+(7−3)⋅24.8+12.2​+(10−7)⋅212.2+0.7​+(12−10)⋅20.7+(−1.3)​=63.85 kg

  4. Add the initial mass: 63.85+24.9=88.75 kg63.85 + 24.9 = 88.75 \text{ kg}63.85+24.9=88.75 kg

The total mass at t=12t=12t=12 is approximately 88.75 kg.

#Practice Questions

Practice Question

1. Calculate the trapezoidal sum for f(x)f(x)f(x) from x=0x=0x=0 to x=4x=4x=4 using 4 subintervals: f(0)=3f(0)=3f(0)=3, f(1)=5f(1)=5f(1)=5, f(2)=7f(2)=7f(2)=7, f(3)=6f(3)=6f(3)=6, f(4)=2f(4)=2f(4)=2.

2. Determine whether the trapezoidal sum is an overestimate or underestimate for f(x)=x2f(x) = x^2f(x)=x2 over [0,2][0, 2][0,2].

#Glossary

Trapezoidal Sum: An approximation method for the area under a curve by dividing it into trapezoids.

Definite Integral: The net area under a curve between two points, often represented as ∫abf(x),dx\int_{a}^{b} f(x) , dx∫ab​f(x),dx.

Concave Up: A function is concave up if its second derivative is positive.

Concave Down: A function is concave down if its second derivative is negative.

#Summary and Key Takeaways

#Summary

  • Trapezoidal sums approximate the area under a curve by summing the areas of trapezoids.
  • The formula can be simplified when intervals are of equal size.
  • Understanding concavity helps determine if the sum is an overestimate or underestimate.

#Key Takeaways

  • Trapezoidal Sum Formula: ∑i=1n(xi−xi−1)⋅f(xi−1)+f(xi)2\sum_{i=1}^{n} (x_{i}-x_{i-1}) \cdot \frac{f(x_{i-1}) + f(x_{i})}{2}i=1∑n​(xi​−xi−1​)⋅2f(xi−1​)+f(xi​)​
  • Concavity and Estimation:
    • Concave Up: Overestimate
    • Concave Down: Underestimate

#Exam Strategy

  1. Understand the Process: Focus on understanding the method rather than memorizing the formula.
  2. Check Concavity: Determine if the function is concave up or down to predict overestimation or underestimation.
  3. Use Tables Efficiently: Be comfortable using values from tables to calculate trapezoidal sums.
Exam Tip

These notes link directly to the IB curriculum objective of understanding numerical integration methods.

Happy studying!

Explore more resources

FlashcardFlashcard

Flashcard

Continute to Flashcard

Question BankQuestion Bank

Question Bank

Continute to Question Bank

Mock ExamMock Exam

Mock Exam

Continute to Mock Exam

Feedback stars icon

How are we doing?

Give us your feedback and let us know how we can improve

Previous Topic - Riemann SumsNext Topic - Accumulation Functions

Question 1 of 8

What is the primary purpose of using a trapezoidal sum? 🤔

To find the exact derivative of a function

To approximate the area under a curve

To find the roots of a polynomial

To calculate the slope of a tangent line