AP Course

AP Calculus AB/BC

Study the complete College Board sequence for AP Calculus AB and BC, from limits through infinite series.

Choose an official unit and topic to open its lecture, concept check, or focused practice.

Lessons
1.1 Introducing Calculus: Can Change Occur at an Instant?1.2 Defining Limits and Using Limit Notation1.3 Estimating Limit Values from Graphs1.4 Estimating Limit Values from Tables1.5 Determining Limits Using Algebraic Properties of Limits1.6 Determining Limits Using Algebraic Manipulation1.7 Selecting Procedures for Determining Limits1.8 Determining Limits Using the Squeeze Theorem1.9 Connecting Multiple Representations of Limits1.10 Exploring Types of Discontinuities1.11 Defining Continuity at a Point1.12 Confirming Continuity over an Interval1.13 Removing Discontinuities1.14 Connecting Infinite Limits and Vertical Asymptotes1.15 Connecting Limits at Infinity and Horizontal Asymptotes1.16 Working with the Intermediate Value Theorem (IVT)2.1 Defining Average and Instantaneous Rates of Change at a Point2.2 Defining the Derivative of a Function and Using Derivative Notation2.3 Estimating Derivatives of a Function at a Point2.4 Connecting Differentiability and Continuity: Determining When Derivatives Do and Do Not Exist2.5 Applying the Power Rule2.6 Derivative Rules: Constant, Sum, Difference, and Constant Multiple2.7 Derivatives of cos x, sin x, e^x, and ln x2.8 The Product Rule2.9 The Quotient Rule2.10 Finding the Derivatives of Tangent, Cotangent, Secant, and/or Cosecant Functions3.1 The Chain Rule3.2 Implicit Differentiation3.3 Differentiating Inverse Functions3.4 Differentiating Inverse Trigonometric Functions3.5 Selecting Procedures for Calculating Derivatives3.6 Calculating Higher-Order Derivatives4.1 Interpreting the Meaning of the Derivative in Context4.2 Straight-Line Motion: Connecting Position, Velocity, and Acceleration4.3 Rates of Change in Applied Contexts Other Than Motion4.4 Introduction to Related Rates4.5 Solving Related Rates Problems4.6 Approximating Values of a Function Using Local Linearity and Linearization4.7 Using L’Hospital’s Rule for Determining Limits of Indeterminate Forms5.1 Using the Mean Value Theorem5.2 Extreme Value Theorem, Global Versus Local Extrema, and Critical Points5.3 Determining Intervals on Which a Function Is Increasing or Decreasing5.4 Using the First Derivative Test to Determine Relative (Local) Extrema5.5 Using the Candidates Test to Determine Absolute (Global) Extrema5.6 Determining Concavity of Functions over Their Domains5.7 Using the Second Derivative Test to Determine Extrema5.8 Sketching Graphs of Functions and Their Derivatives5.9 Connecting a Function, Its First Derivative, and Its Second Derivative5.10 Introduction to Optimization Problems5.11 Solving Optimization Problems5.12 Exploring Behaviors of Implicit Relations6.1 Exploring Accumulations of Change6.2 Approximating Areas with Riemann Sums6.3 Riemann Sums, Summation Notation, and Definite Integral Notation6.4 The Fundamental Theorem of Calculus and Accumulation Functions6.5 Interpreting the Behavior of Accumulation Functions Involving Area6.6 Applying Properties of Definite Integrals6.7 The Fundamental Theorem of Calculus and Definite Integrals6.8 Finding Antiderivatives and Indefinite Integrals: Basic Rules and Notation6.9 Integrating Using Substitution6.10 Integrating Functions Using Long Division and Completing the Square6.11 Integrating Using Integration by Parts6.12 Using Linear Partial Fractions6.13 Evaluating Improper Integrals6.14 Selecting Techniques for Antidifferentiation7.1 Modeling Situations with Differential Equations7.2 Verifying Solutions for Differential Equations7.3 Sketching Slope Fields7.4 Reasoning Using Slope Fields7.5 Approximating Solutions Using Euler’s Method7.6 Finding General Solutions Using Separation of Variables7.7 Finding Particular Solutions Using Initial Conditions and Separation of Variables7.8 Exponential Models with Differential Equations7.9 Logistic Models with Differential Equations8.1 Finding the Average Value of a Function on an Interval8.2 Connecting Position, Velocity, and Acceleration of Functions Using Integrals8.3 Using Accumulation Functions and Definite Integrals in Applied Contexts8.4 Finding the Area Between Curves Expressed as Functions of x8.5 Finding the Area Between Curves Expressed as Functions of y8.6 Finding the Area Between Curves That Intersect at More Than Two Points8.7 Volumes with Cross Sections: Squares and Rectangles8.8 Volumes with Cross Sections: Triangles and Semicircles8.9 Volume with Disc Method: Revolving Around the x- or y-Axis8.10 Volume with Disc Method: Revolving Around Other Axes8.11 Volume with Washer Method: Revolving Around the x- or y-Axis8.12 Volume with Washer Method: Revolving Around Other Axes8.13 The Arc Length of a Smooth, Planar Curve and Distance Traveled9.1 Defining and Differentiating Parametric Equations9.2 Second Derivatives of Parametric Equations9.3 Finding Arc Lengths of Curves Given by Parametric Equations9.4 Defining and Differentiating Vector-Valued Functions9.5 Integrating Vector-Valued Functions9.6 Solving Motion Problems Using Parametric and Vector-Valued Functions9.7 Defining Polar Coordinates and Differentiating in Polar Form9.8 Find the Area of a Polar Region or the Area Bounded by a Single Polar Curve9.9 Finding the Area of the Region Bounded by Two Polar Curves10.1 Defining Convergent and Divergent Infinite Series10.2 Working with Geometric Series10.3 The nth Term Test for Divergence10.4 Integral Test for Convergence10.5 Harmonic Series and p-Series10.6 Comparison Tests for Convergence10.7 Alternating Series Test for Convergence10.8 Ratio Test for Convergence10.9 Determining Absolute or Conditional Convergence10.10 Alternating Series Error Bound10.11 Finding Taylor Polynomial Approximations of Functions10.12 Lagrange Error Bound10.13 Radius and Interval of Convergence of Power Series10.14 Finding Taylor or Maclaurin Series for a Function10.15 Representing Functions as Power Series
Quizzes
Practice Problems AP formula notes, graph references, and practice sets will be added here.

AP Calculus AB/BC · Unit 6 · Topic 6.2

Approximating Areas with Riemann Sums

Use left, right, midpoint, and trapezoidal sums to estimate signed area.

1. Topic Focus

Interpret definite integrals as accumulated change, connect sums to integrals, apply both Fundamental Theorems, and select antiderivative techniques.

This topic: Use left, right, midpoint, and trapezoidal sums to estimate signed area.

2. Key Relationship

\(\sum_{i=1}^n f(x_i^*)\Delta x\)

Read every symbol with its domain, direction, units, and hypotheses before applying the relationship.

3. Visual Connection

right rectanglesError directionincreasing: L underR overconcave up: M underT overreverse the pairs
Method and function behavior determine the estimateEndpoint choice controls left/right error, while concavity controls midpoint/trapezoidal error.

4. Worked Example

For an increasing positive function, a left sum underestimates and a right sum overestimates.

Write the governing relationship first, carry out the algebra cleanly, and finish with a sentence that answers the mathematical question.

5. Concept Development

Approximation works across representations

A definite integral can be approximated when a function is given by a formula, table, graph, or verbal description. The central idea is always the same: divide the interval into subintervals, choose a representative height on each one, multiply height by width, and add the signed contributions.

Build the partition first

A partition \(a=x_0<x_1<\cdots<x_n=b\) creates the subintervals \([x_{i-1},x_i]\). Write these intervals before choosing heights; this prevents endpoint shifts and missing terms.

Uniform partitions

For \(n\) equal-width subintervals of \([a,b]\), every rectangle has width

\(\Delta x=\frac{b-a}{n},\qquad x_i=a+i\Delta x.\)

The number \(n\) counts subintervals, so a partition with \(n\) intervals has \(n+1\) endpoints.

Nonuniform partitions

When table inputs are unevenly spaced, use the individual widths \(\Delta x_i=x_i-x_{i-1}\). There is no common \(\Delta x\) to factor out:

\(\sum_{i=1}^{n}f(x_i^*)\Delta x_i.\)

Left-endpoint sums

The left sum uses the first endpoint of each subinterval:

\(L=\sum_{i=1}^{n}f(x_{i-1})(x_i-x_{i-1}).\)

The final table value is not used as a height because it is not the left endpoint of any included subinterval.

Right-endpoint sums

The right sum uses the second endpoint of each subinterval:

\(R=\sum_{i=1}^{n}f(x_i)(x_i-x_{i-1}).\)

The initial table value is not used as a height. Each right endpoint must be paired with the width immediately to its left.

Midpoint sums

The midpoint sum samples each interval at \(m_i=(x_{i-1}+x_i)/2\):

\(M=\sum_{i=1}^{n}f(m_i)(x_i-x_{i-1}).\)

A table supports this method only if it supplies, or allows calculation of, the function values at those midpoints.

Trapezoidal sums

A trapezoid uses the average of its two endpoint heights:

\(T=\sum_{i=1}^{n}\frac{f(x_{i-1})+f(x_i)}{2}(x_i-x_{i-1}).\)

This formula works for both uniform and nonuniform partitions.

Trapezoids average left and right sums

For the same partition, each trapezoid averages its left and right rectangle. Consequently,

\(T=\frac{L+R}{2}.\)

This identity is a useful calculation check, but it does not make the trapezoidal estimate automatically exact.

Keep signed heights

If \(f(x_i^*)<0\), the corresponding rectangle contributes a negative amount. A Riemann sum approximates a definite integral, or net signed area. If geometric area is requested, split at zeros and make below-axis contributions positive.

Monotonicity controls left and right error

For an increasing function, left rectangles lie below the curve and right rectangles lie above it, so \(L\) underestimates and \(R\) overestimates. For a decreasing function, the conclusions reverse. Without known monotonicity, no general left/right error claim is justified.

Concavity controls midpoint and trapezoidal error

For a concave-up function, secant segments lie above the graph, so the trapezoidal sum overestimates; midpoint rectangles underestimate. For a concave-down function, trapezoidal sums underestimate and midpoint sums overestimate.

More subintervals and accuracy

For a well-behaved function, making the largest subinterval width smaller generally improves the approximation and the sums approach one limiting value. However, a single increase in \(n\) does not guarantee that every named approximation is closer, so compare error using supported behavior rather than intuition alone.

Interpret estimates in context

If the integrand is a rate, the product of rate and input width has units of accumulated quantity. State that the answer is an approximation, include units, and distinguish estimated change from a final amount.

Common errors

Frequent errors include using \(n\) data points as though they made \(n\) intervals, pairing a height with the wrong width, assuming table intervals are equal, using unavailable midpoint values, dropping negative signs, and deciding over- or underestimation from concavity when the method is left or right.

6. Detailed Worked Example and Error Check

Example 1: Four methods on one function. Approximate \(\int_0^2(x^2+1)\,dx\) with four equal subintervals. Here \(\Delta x=1/2\).

\(L_4=\tfrac12(1+1.25+2+3.25)=3.75,\)
\(R_4=\tfrac12(1.25+2+3.25+5)=5.75.\)

At the midpoints \(0.25,0.75,1.25,1.75\), the heights sum to \(9.25\), so \(M_4=4.625\). Also, \(T_4=(L_4+R_4)/2=4.75\). The exact value is \(14/3\approx4.667\): increasing behavior explains the left/right errors, and concavity up explains the midpoint/trapezoidal errors.

Example 2: Nonuniform table. Suppose

\(x\)0136
\(f(x)\)25410

The widths are \(1,2,3\), so

\(L=2(1)+5(2)+4(3)=24,\qquad R=5(1)+4(2)+10(3)=43.\)

The trapezoidal estimate is \(T=(24+43)/2=33.5\). A midpoint estimate cannot be computed from this table because the required midpoint values are missing.

Example 3: A rate table and units. A flow rate \(r(t)\), in liters per hour, is recorded at times \(0,2,5,9\) hours with values \(3,6,4,-2\). A trapezoidal estimate of net change is

\(2\frac{3+6}{2}+3\frac{6+4}{2}+4\frac{4+(-2)}{2}=28\text{ liters}.\)

The negative endpoint remains part of the signed estimate, and the unequal time widths are handled separately.

Example 4: Reading monotonicity. A positive function decreases on \([1,5]\). On every subinterval, the left endpoint gives the larger height and the right endpoint gives the smaller height. Therefore

\(R<\int_1^5 f(x)\,dx<L.\)

No concavity information is needed for this left/right comparison.

Example 5: Reading concavity. Suppose \(g''(x)<0\) on \([0,6]\). The graph is concave down, so midpoint rectangles tend to sit above the curve while secant-topped trapezoids lie below it:

\(T<\int_0^6g(x)\,dx<M.\)

Whether \(g\) increases or decreases is irrelevant to this midpoint/trapezoidal error direction.

Example 6: Linear functions. For \(h(x)=3x-2\), the graph itself is the secant line on every subinterval. Thus every trapezoidal estimate is exact, regardless of the partition. Midpoint estimates are also exact because a linear function's midpoint height equals the average of its endpoint heights.

Example 7: Signed table estimate. A velocity table on equal two-second intervals gives right-endpoint values \(5,-1,-4,3\) meters per second. The right Riemann sum is

\(R=2[5+(-1)+(-4)+3]=6\text{ meters}.\)

This estimates displacement. Replacing the values by their absolute values would instead estimate total distance: \(2(5+1+4+3)=26\) meters.

7. AP Reasoning Routine

Identify the accumulating quantity and units, preserve bounds, choose a valid integration technique, and check answers by differentiation.

  • Identify the representation and requested quantity.
  • State the rule or theorem and verify its conditions.
  • Keep exact values until the final requested approximation.
  • Interpret sign, units, interval, and context.
AP Checkpoint

Compute and interpret each approximation.
(a) For \(f(x)=x+2\) on \([0,4]\) with four equal subintervals, find \(L_4,R_4,M_4,\) and \(T_4\).
(b) Find the midpoint sum for \(f(x)=x^2\) on \([0,3]\) using three equal subintervals.
(c) The table has \(x=1,2,5,7\) and \(f(x)=4,3,8,6\). Find the left, right, and trapezoidal estimates.
(d) If \(f\) is increasing on \([a,b]\), compare its left and right sums with the exact integral.
(e) If \(f\) is decreasing on \([a,b]\), make the same comparison.
(f) If \(f''>0\), state the midpoint and trapezoidal error directions.
(g) If \(f''<0\), state the midpoint and trapezoidal error directions.
(h) A rate has right-endpoint values \(-3,2,5,-1\) on four intervals of width \(0.5\). Find the signed right sum.
(i) A tank contains \(80\) liters. A right sum estimates a net inflow of \(13.5\) liters. Estimate the final amount and state why the answer is approximate.
(j) Explain why the trapezoidal estimate equals the average of the left and right estimates for the same partition and why it is exact for a linear function.

Check the solution

(a) \(\Delta x=1\). The endpoint heights are \(2,3,4,5,6\), so \(L_4=14\), \(R_4=18\), and \(T_4=16\). Midpoint heights are \(2.5,3.5,4.5,5.5\), so \(M_4=16\).
(b) The midpoints are \(0.5,1.5,2.5\) and \(\Delta x=1\), giving \(M_3=0.25+2.25+6.25=8.75\).
(c) The widths are \(1,3,2\). Thus \(L=4(1)+3(3)+8(2)=29\), \(R=3(1)+8(3)+6(2)=39\), and \(T=34\).
(d) For an increasing function, the left sum underestimates and the right sum overestimates: \(L\le\int_a^b f\le R\).
(e) For a decreasing function, the right sum underestimates and the left sum overestimates: \(R\le\int_a^b f\le L\).
(f) For concavity up, the midpoint sum underestimates and the trapezoidal sum overestimates.
(g) For concavity down, the midpoint sum overestimates and the trapezoidal sum underestimates.
(h) The signed sum is \(0.5[-3+2+5-1]=1.5\) accumulated units.
(i) The estimated final amount is \(80+13.5=93.5\) liters. It is approximate because sampled rate values replace the continuously changing rate over each interval.
(j) On each subinterval, trapezoid area is width times the average of the endpoint heights, exactly the average of the corresponding left and right rectangle areas. For a linear function, the secant forming the trapezoid is the graph itself, so no area error occurs.