NotesAPCalculus ABnumerical integration
Back to Calculus AB Notes

Numerical integration - Calculus AB AP Study Notes

Numerical integration - Calculus AB AP Study Notes | Times Edu
APCalculus AB~6 min read

Overview

# Numerical Integration Summary Numerical integration techniques—including Riemann sums (left, right, midpoint), trapezoidal rule, and Simpson's rule—provide methods for approximating definite integrals when antiderivatives are difficult or impossible to find analytically. Students must understand how to calculate these approximations, determine their accuracy through error bounds, and recognize that left/right sums may underestimate or overestimate depending on function concavity. These methods are highly exam-relevant, appearing regularly in both multiple-choice and free-response questions, often combined with function tables, rate problems, and applications involving accumulated change.

Core Concepts & Theory

Numerical integration approximates the definite integral ∫ₐᵇ f(x)dx when an antiderivative cannot be found analytically or when working with discrete data points. This is essential for calculating accumulation from rate functions.

Key Methods:

Left Riemann Sum: L_n = Δx[f(x₀) + f(x₁) + ... + f(x_{n-1})] where Δx = (b-a)/n. Uses left endpoints of subintervals, typically underestimates for increasing functions.

Right Riemann Sum: R_n = Δx[f(x₁) + f(x₂) + ... + f(xₙ)]. Uses right endpoints, typically overestimates for increasing functions.

Midpoint Rule: M_n = Δx[f(m₁) + f(m₂) + ... + f(mₙ)] where mᵢ is the midpoint of each subinterval. Generally more accurate than left/right sums.

Trapezoidal Rule: T_n = (Δx/2)[f(x₀) + 2f(x₁) + 2f(x₂) + ... + 2f(x_{n-1}) + f(xₙ)]. Averages left and right sums, forming trapezoids rather than rectangles. Note the pattern: first and last terms appear once, interior terms are doubled.

Memory Aid - "LRMT": Left is Lower (for increasing), Right is Raised, Midpoint is More accurate, Trapezoidal Takes the average.

Error Behavior: For concave up functions, L_n and M_n underestimate while R_n and T_n overestimate. This reverses for concave down functions. Increasing n always improves accuracy by reducing Δx.

Detailed Explanation with Real-World Examples

Numerical integration solves practical problems where exact integration is impossible or impractical.

Real-World Application - Environmental Science: Consider measuring pollution levels in a river. Sensors collect discrete temperature readings every hour rather than continuous data. To find total heat energy accumulated over 24 hours, we cannot integrate a formula—we must use trapezoidal rule on the data points. Each trapezoid represents the average temperature between consecutive hours multiplied by one hour.

Engineering Example - Velocity Data: A car's speedometer records velocity every 5 seconds during acceleration testing. To determine distance traveled, we need ∫v(t)dt, but we only have data points, not a velocity function. The midpoint rule estimates distance by assuming constant velocity at each interval's midpoint—like approximating your journey by checking speed at the middle of each city block.

Medical Application: Heart rate monitors produce discrete pulse readings. Calculating total blood pumped requires integrating heart rate over time. With 60 readings per minute, left Riemann sums provide lower bounds (conservative estimates) for blood volume calculations.

Visual Analogy: Imagine calculating a pond's area from satellite images. Rectangles (Riemann sums) overlay the pond using grid squares—left/right positioning matters. Trapezoids fit the curved shoreline better by connecting points with straight lines. Midpoints sample the center of each grid square, often capturing the pond's shape more accurately. More subdivisions (larger n) mean finer grids and better approximations, just as higher-resolution images reveal more detail.

Worked Examples & Step-by-Step Solutions

**Example 1**: Approximate ∫₁⁴ (x² + 1)dx using n=3 rectangles with the left Riemann sum. *Solution:* Δx = (4-1)/3 = 1 Partition points: x₀=1, x₁=2, x₂=3, x₃=4 L₃ = 1[f(1) + f(2) + f(3)] = 1[(1²+1) + (2²+1) + (3²+1)] = 1[2 + 5 + 10] = **17** *Examiner Note*: The exact value is [x³/3 + x]₁⁴ = 64/3 ...

Unlock 3 More Sections

Sign up free to access the complete notes, key concepts, and exam tips for this topic.

No credit card required · Free forever

Key Concepts

  • Numerical Integration: Estimating the area under a curve when an exact calculation is difficult or impossible, often by dividing it into simpler shapes.
  • Riemann Sums: A method of numerical integration that uses rectangles to approximate the area under a curve.
  • Left Riemann Sum: A Riemann Sum where the height of each rectangle is determined by the function's value at the left endpoint of its subinterval.
  • Right Riemann Sum: A Riemann Sum where the height of each rectangle is determined by the function's value at the right endpoint of its subinterval.
  • +6 more (sign up to view)

Exam Tips

  • Always clearly state which method you are using (e.g., 'Left Riemann Sum with 4 subintervals').
  • Draw a quick sketch of the function and your rectangles/trapezoids, especially if the function is increasing or decreasing, to predict if your estimate will be an overestimate or underestimate.
  • +3 more tips (sign up)

AI Tutor

Get instant AI-powered explanations for any concept in this topic.

Still Struggling?

Get 1-on-1 help from an expert AP tutor.

More Calculus AB Notes

Ask Aria anything!

Your AI academic advisor