Tutorials › AP Calculus › Evaluating Polynomial Riemann Limits with Sum Formulas

Riemann Sums and Definite Integrals · Tutorial 443 of 999

Evaluating Polynomial Riemann Limits with Sum Formulas

Turn polynomial Riemann sums into algebraic expressions in the number of subintervals, then use finite-sum formulas to evaluate their limits.

Beginner 9 min read

What You'll Learn

  • Express right-endpoint sample points using the subinterval index.
  • Expand polynomial function values before summing.
  • Apply formulas for sums of constants, integers, squares, and cubes.
  • Evaluate polynomial Riemann-sum limits by simplifying powers of the partition size.
  • Check endpoint indexing and confirm the resulting limit.

From a Riemann Sum to a Limit

A Riemann sum for a function on an interval is built by dividing the interval into subintervals, choosing a sample point in each one, and adding the function value at that point times the subinterval width. When the sample points depend on an integer \(n\), evaluating the limit often becomes an algebra problem: express each sample point in terms of its index, substitute into the function, and use finite-sum formulas.

This method is useful because a sum that initially contains many terms can be rewritten as a formula involving \(n\). The limit as \(n\) increases can then be found by simplifying that formula and examining its highest powers of \(n\).

Definition: Divide an interval \([a,b]\) into \(n\) equal subintervals, each of width \(\Delta x=(b-a)/n\). Using right endpoints, the \(k\)th sample point is \(x_k=a+k\Delta x\), for \(k=1,2,\ldots,n\). The corresponding right-endpoint Riemann sum is \(\sum_{k=1}^{n} f(x_k)\Delta x\).

Here \(n\) is the number of subintervals and \(k\) is the index identifying one of them. Keeping their roles distinct is essential: \(n\) changes as the partition is refined, while \(k\) runs through the terms of a particular sum.

Finite-Sum Formulas You Need

For the sums in this tutorial, the basic formulas are:

$$ \sum_{k=1}^{n}1=n,\qquad \sum_{k=1}^{n}k=\frac{n(n+1)}{2}, $$
$$ \sum_{k=1}^{n}k^2=\frac{n(n+1)(2n+1)}{6},\qquad \sum_{k=1}^{n}k^3=\left(\frac{n(n+1)}{2}\right)^2. $$

The first formula counts \(n\) terms, each equal to \(1\). The others let us replace a sum of powers of the index with an expression in \(n\). These are finite identities, valid for every positive integer \(n\), not approximations.

Why the Sum-of-Squares Formula Works

A short derivation shows how such formulas can be established. Expand the difference between consecutive cubes:

$$ (k+1)^3-k^3=3k^2+3k+1. $$

Sum both sides from \(k=1\) to \(k=n\). On the left, consecutive terms cancel:

$$ \sum_{k=1}^{n}\big((k+1)^3-k^3\big) =(n+1)^3-1. $$

On the right, use the sum formulas for \(k\) and \(1\):

$$ (n+1)^3-1 =3\sum_{k=1}^{n}k^2+3\frac{n(n+1)}{2}+n. $$

Rearrange to isolate the sum of squares:

$$ 3\sum_{k=1}^{n}k^2 =(n+1)^3-1-\frac{3n(n+1)}{2}-n =\frac{n(n+1)(2n+1)}{2}. $$

Dividing by \(3\) gives \(\sum_{k=1}^{n}k^2=n(n+1)(2n+1)/6\). This derivation also illustrates why a power sum is helpful: after summing a telescoping difference, the desired finite sum can be isolated using simpler formulas.

A Reliable Evaluation Process

1
Find the width and sample point.
For an equal partition, calculate \(\Delta x=(b-a)/n\) and write \(x_k=a+k\Delta x\), matching the stated endpoint choice.
2
Substitute into the function.
Write \(f(x_k)\) explicitly as an expression involving \(k\) and \(n\), and expand it if needed.
3
Sum the terms.
Multiply by \(\Delta x\), separate sums using algebra, and apply the finite-sum formulas.
4
Simplify and take the limit.
Cancel powers of \(n\) where possible. For a rational expression, divide by the highest power of \(n\) in the denominator or compare leading powers.

Worked Examples

Worked Example: A Quadratic on the Interval from 0 to 2

Evaluate the right-endpoint Riemann-sum limit for \(f(x)=x^2\) on \([0,2]\).

First, the width and right endpoint are

$$ \Delta x=\frac{2-0}{n}=\frac{2}{n}, \qquad x_k=0+k\frac{2}{n}=\frac{2k}{n}. $$

Substitute the sample point into the function and multiply by the width:

$$ f(x_k)\Delta x =\left(\frac{2k}{n}\right)^2\frac{2}{n} =\frac{4k^2}{n^2}\frac{2}{n} =\frac{8k^2}{n^3}. $$

Therefore the sum and its limit are

$$ \lim_{n\to\infty}\sum_{k=1}^{n}\frac{8k^2}{n^3} =\lim_{n\to\infty}\frac{8}{n^3} \frac{n(n+1)(2n+1)}{6} $$
$$ =\lim_{n\to\infty}\frac{4n(n+1)(2n+1)}{3n^3} =\lim_{n\to\infty}\frac{4}{3} \left(1+\frac{1}{n}\right) \left(2+\frac{3}{n}+\frac{1}{n^2}\right) =\frac{8}{3}. $$

Check: The finite-\(n\) expression is \(\frac{4}{3}(1+1/n)(2+3/n+1/n^2)\). As \(n\) increases, the factors \(1/n\) and \(1/n^2\) approach zero, leaving \(\frac{4}{3}\cdot1\cdot2=8/3\), consistent with the limit.

Worked Example: A Linear Function with a Nonzero Starting Point

Evaluate the right-endpoint Riemann-sum limit for \(f(x)=3x-1\) on \([1,2]\). This example requires the constant and first-power sum formulas.

The width is \(\Delta x=(2-1)/n=1/n\), so the \(k\)th right endpoint is

$$ x_k=1+\frac{k}{n}. $$

Substitute this into the function and multiply by the width:

$$ f(x_k)\Delta x =\left(3\left(1+\frac{k}{n}\right)-1\right)\frac{1}{n} =\left(2+\frac{3k}{n}\right)\frac{1}{n} =\frac{2}{n}+\frac{3k}{n^2}. $$

Sum the constant part and the index part separately:

$$ \lim_{n\to\infty}\sum_{k=1}^{n} \left(\frac{2}{n}+\frac{3k}{n^2}\right) =\lim_{n\to\infty} \left(\frac{2}{n}\sum_{k=1}^{n}1+ \frac{3}{n^2}\sum_{k=1}^{n}k\right) $$
$$ =\lim_{n\to\infty} \left(\frac{2}{n}\cdot n+ \frac{3}{n^2}\cdot\frac{n(n+1)}{2}\right) =\lim_{n\to\infty}\left(2+\frac{3}{2}+\frac{3}{2n}\right) =\frac{7}{2}. $$

Check: At \(n=1\), the single right endpoint is \(x_1=2\). The sum is \(f(2)(1)=5\). The derived finite-\(n\) expression gives \(2+3(n+1)/(2n)=5\) at \(n=1\), confirming that the indexing and algebra agree. Its limit is \(2+3/2=7/2\).

Worked Example: A Cubic on the Unit Interval

Evaluate the right-endpoint Riemann-sum limit for \(f(x)=x^3\) on \([0,1]\). Use the finite-sum formula for cubes.

The width is \(1/n\), and the right endpoint of subinterval \(k\) is \(x_k=k/n\). Thus

$$ f(x_k)\Delta x =\left(\frac{k}{n}\right)^3\frac{1}{n} =\frac{k^3}{n^4}. $$

Apply the formula for the sum of cubes:

$$ \lim_{n\to\infty}\sum_{k=1}^{n}\frac{k^3}{n^4} =\lim_{n\to\infty}\frac{1}{n^4} \left(\frac{n(n+1)}{2}\right)^2 =\lim_{n\to\infty}\frac{n^2(n+1)^2}{4n^4} $$
$$ =\lim_{n\to\infty}\frac{1}{4} \left(1+\frac{1}{n}\right)^2 =\frac{1}{4}. $$

Check: The finite-\(n\) expression is \((1+1/n)^2/4\). Since \(1/n\to0\), it approaches \(1/4\), as calculated. The sample points also have the expected form: \(x_1=1/n\) and \(x_n=n/n=1\), the first and last right endpoints.

Why the Algebra Gives the Riemann-Sum Limit

The calculation is more than a collection of substitutions. For each fixed \(n\), the sample points and the width determine an exact finite sum. The sum formulas rewrite that finite sum exactly as a function of \(n\). Taking its limit therefore evaluates the original sequence of Riemann sums, rather than an approximation to that sequence.

For example, in the quadratic case, the sample points are \(2k/n\), and each rectangle has width \(2/n\). The resulting sum is exactly \(8\sum k^2/n^3\). Since the sum-of-squares identity is valid for every positive integer \(n\), replacing the summation by its formula changes nothing. The remaining limit follows from ordinary algebra. By the Riemann-sum definition of a definite integral, when the function is continuous on the interval, this limit is also the definite integral over that interval.

Common Mistake: Losing a Factor of the Width

A frequent error is to substitute the sample point into \(f\) but forget to multiply by \(\Delta x\). For the quadratic example, an incorrect calculation might be

$$ \sum_{k=1}^{n}f\left(\frac{2k}{n}\right) =\sum_{k=1}^{n}\frac{4k^2}{n^2}. $$

This is not the Riemann sum: it adds function values but omits the rectangle width \(2/n\). The correct term is

$$ f\left(\frac{2k}{n}\right)\Delta x =\frac{4k^2}{n^2}\cdot\frac{2}{n} =\frac{8k^2}{n^3}. $$

Without the width, the sum grows on the scale of \(n\), rather than approaching a finite area. A second indexing error is to use \(k/n\) as the right endpoint on \([a,b]\) without including \(a\) or scaling by \(b-a\). Always derive \(x_k=a+k(b-a)/n\) from the interval before substituting into \(f\).

How to Recognize a Successful Calculation

After applying the finite-sum formulas, a polynomial Riemann sum usually becomes a rational expression in \(n\). A finite limit is obtained when the powers of \(n\) in the numerator and denominator balance so the expression can be simplified to a constant plus terms that approach zero. If the resulting expression instead grows without bound, check whether the width was included, whether the sample point matches the stated interval, and whether the sum formula was applied with the correct powers.

For a polynomial of higher degree, expand \(f(x_k)\) into terms involving powers of \(k\) and \(n\), then use the corresponding finite-sum formula for each power. The same structure remains: sample point, function value, width, finite sum, simplification, limit. Careful bookkeeping matters more than speed.

Check Your Understanding

For each question, identify the sample point and width before simplifying the sum.

  1. For right endpoints on \([0,1]\), what are \(\Delta x\) and \(x_k\) when there are \(n\) equal subintervals?
  2. Which finite-sum formula evaluates \(\sum_{k=1}^{n}k^2\)?
  3. On \([0,3]\), write the right-endpoint sample point \(x_k\) in terms of \(k\) and \(n\).
  4. Why must a Riemann-sum term include the factor \(\Delta x\), in addition to \(f(x_k)\)?
  5. After replacing a power sum with its formula, what should you examine to evaluate the limit as \(n\to\infty\)?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon