AP® CALCULUS AB & BC · UNIT 6

Riemann Sums, Summation Notation, and Definite Integral Notation

Write a sum with sigma notation, read a definite integral, and translate between them as the subinterval widths approach zero.

Topic 6.3 study notes6 worked examples · 7 practice questionsUpdated 11 November 2026
Calculus notebook with limit and integral symbols, a compass and pencil on an olive and cream study desk

1. From a finite sum to a definite integral

A Riemann sum adds a finite collection of signed height-times-width products. For a continuous function, when the widest subinterval approaches zero, the sums approach a single number. The definite integral names that number.

AP Calculus AB & BC · Topic 6.3. Practice both translations. Given a definite integral, choose a partition and write a limit of sums. Given a limit of sums, recover the sample points, width, integrand, and interval.

2. Read and simplify sigma notation

The lower index tells you where to start. The upper index tells you where to stop. Substitute every integer in that range into the summand and add the results.

∑i=mnai=am+⋯+an

The number of terms is n−m+1. For instance, the index values in ∑j=03(2j+1) are 0,1,2,3. The four terms are 1,3,5,7, giving 16. You may rename the index if you do so throughout the sum.

Rules for finite sums

Factor out constants that do not depend on the index. Split a sum of terms into sums with the same bounds. A constant c added over n terms gives nc.

∑i=1ncai=c∑i=1nai
∑i=1n(ai+bi)=A+B

Here A=∑i=1nai and B=∑i=1nbi. Subtraction works the same way. To shift the index, shift the bounds and adjust the summand so the terms stay the same.

∑i=1nai=∑j=0n−1aj+1
Finite sum formulas
SumValueAt n=5
∑i=1n1n5
∑i=1nin(n+1)215
∑i=1ni2n(n+1)(2n+1)655
∑i=1ni3[n(n+1)2]2225

3. Build a sum from a partition

Take a<b and partition [a,b] at a=x0<x1<⋯<xn=b. The subinterval with index i is [xi−1,xi]. Its width is Δxi=xi−xi−1, and its sample xi* lies in that subinterval.

S=∑i=1nf(xi*)Δxi

Each term is a signed contribution. A sample below the horizontal axis gives a negative term. In an unequal partition, keep each width with its own function value.

Equal widths and endpoint conventions

For n equal subintervals, use the following width and partition points.

Δx=b−an
xi=a+iΔx
Which sample belongs to subinterval i?
MethodSample xi*
Leftxi−1=a+(i−1)Δx
Rightxi=a+iΔx
Midpointxi−1+xi2

In each row, the subinterval index i runs from 1 through n. With left samples, reindexing the same sum from 0 to n−1 also works.

Ln=∑i=0n−1f(xi)Δx

4. Read the integral and its limit

In ∫abf(x)dx, the lower bound a gives the starting input, the upper bound b gives the ending input, and f(x) is the integrand. The differential dx identifies the variable of integration. For a rate, the integral has units of rate times input.

For a continuous function on [a,b], let S be the sum for a given partition and choice of samples. Denote the largest width by h.

h=max1≤i≤nΔxi
∫abf(x)dx=limh→0S

This limit has the same value for any sequence of partitions whose largest width goes to zero, with any allowed sample in each gap. For equal widths, h=Δx, so increasing n makes every gap shrink.

∫abf(x)dx=limn→∞Sn
Why the widest gap matters. Splitting only one part of the interval can make the number of gaps arbitrarily large while leaving a wide gap elsewhere. The definition requires that every width becomes small.

5. Translate in both directions

From integral to limit

  1. Read the interval and integrand.
  2. Choose the sample rule and write the width and sample formula.
  3. Evaluate the integrand at the sample, multiply by the width, sum, and take the limit.

From limit to integral

  1. Find the expression playing the role of xi* and the width. For equally spaced samples, the spacing between successive samples gives the width.
  2. Recover the interval. For right endpoints xi=a+iΔx, the point at i=0 is a and the point at i=n is b. For midpoints, use the partition endpoints rather than the first and last midpoint.
  3. Replace the sample expression with the variable of integration. Carry any constant factor outside the width into the integrand or in front of the integral.

A conversion can be complete even if you do not evaluate the integral. If the problem asks for a finite sum with a fixed n, leave it finite.

6. Worked examples with graphs

Example 1 · Evaluate a finite sigma sum

Evaluate S=∑k=15(3k−2).

1 · Expand one term per index

Substitute 1,2,3,4,5 for k.

S=1+4+7+10+13

2 · Check by splitting the sum

There are five copies of the constant term, and the index values add to 15.

S=3∑k=15k−2(5)
S=3(15)−10=35

Example 2 · Simplify a sum with a variable upper index

Simplify Sn=∑i=1n(i2+3i−5).

1 · Apply linearity

Split the quadratic, linear, and constant terms into separate pieces. Let A=∑i=1ni2 and B=∑i=1ni.

Sn=A+3B−5n

2 · Use the power-sum formulas

A=n(n+1)(2n+1)6
B=n(n+1)2

Substitute these two values into the expression above. With a common denominator and simplification, the result is

Sn=n(n2+6n−10)3.

Example 3 · Write a right sum and its limit

For ∫15x2dx, write the right Riemann sum for n equal subintervals and express the integral as a limit.

1 · Find the width and samples

Start at 1 and advance i widths to the right endpoint.

Δx=5−1n=4n
xi=1+4in

2 · Square each sample and multiply by the width

Rn=4n∑i=1n(1+4in)2

As n increases, the common width goes to zero. The requested integral is the limit of these sums.

∫15x2dx=limn→∞Rn

Example 4 · Evaluate an integral using its definition

Use a limit of right sums to find ∫023xdx.

1 · Compute the width and right endpoint

Divide [0,2] into n equal gaps. With f(x)=3x, the height at xi is 6in.

Δx=2n,xi=2in

2 · Add the signed products

Rn=12n2∑i=1ni
Rn=12n2·n(n+1)2
Rn=6+6n

3 · Take the limit

The excess 6n tends to 0. The graphs below show the same line and interval with two different widths.

∫023xdx=limn→∞Rn
limn→∞Rn=6

Two right rectangles · R2=9

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0.0 0.5 1.0 1.5 2.0 x 0.0 1.5 3.0 4.5 6.0 f x ( )
Width 1. The right samples are 1 and 2. The rectangles include the area above the rising line.

Eight right rectangles · R8=274

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0.0 0.5 1.0 1.5 2.0 x 0.0 1.5 3.0 4.5 6.0 f x ( )
Width 14. The narrower rectangles leave less excess area above the same line.

Example 5 · Recover a definite integral from a limit

Rewrite limn→∞Sn as a definite integral or a constant multiple of one.

1 · Identify the sample spacing

Sn=1n∑i=1n(2+4in)2

The right endpoints are 2+4in. Successive endpoints are 4n apart, so the partition runs from 2 to 6.

2 · Match the width factor

The prefactor 1n is one fourth of the width 4n. Keep that factor outside the integral. Replace the sampled input by x.

limn→∞Sn=14∫26x2dx

Example 6 · Interpret the signed value from a graph

The graph of f(x)=x−1 on [0,3] crosses the axis at 1. Find the integral and the total geometric area.

1 · Measure the two triangles

Below the axis, the base and height are both 1, giving area 12. Above the axis, the base and height are both 2, giving area 2.

2 · Apply the signs

Subtract the area below the axis for the signed integral. Add both areas when the question asks for the geometric total.

∫03(x−1)dx=32
∫03|x−1|dx=52

Positive and negative contributions

image/svg+xml Matplotlib v3.11.2, https://matplotlib.org/ 0 1 2 3 x −1 0 1 2 f x ( )
The triangle below the axis contributes −12. The triangle above contributes 2.

7. Practice with step-by-step solutions

Problem 1

Evaluate S=∑k=16(2k+3).

Show solution 1

Solution

There are six terms. The indices add to 6(7)2=21.

S=2(21)+3(6)=60

Problem 2

Simplify Sn=∑i=1n(i2−i).

Show solution 2

Solution

Subtract the sum of the first n integers from the sum of their squares. The two numerators have n(n+1) in common.

Sn=n(n+1)(2n−2)6
Sn=n(n+1)(n−1)3

Problem 3

Expand S=∑j=04j3.

Show solution 3

Solution

Include 0 as the first of the five indices.

S=0+1+8+27+64
S=100

Problem 4

Write the left sum for ∫04(x+1)dx with n equal subintervals.

Show solution 4

Solution

The width is 4n. With the index starting at 0, the left samples are xi=4in through i=n−1.

Ln=4n∑i=0n−1(1+4in)

Problem 5

Evaluate the limit of Sn=∑i=1n2in2 as n→∞.

Show solution 5

Solution

Factor out 2n2 and use the sum of the first n integers.

Sn=n+1n
limn→∞Sn=1

This also matches ∫012xdx, with width 1n and right endpoints in.

Problem 6

For mi=1+2i−1n, write the limit of Sn=2n∑i=1nmi as an integral.

Show solution 6

Solution

Rewrite mi as 1+(i−12)2n. These are midpoint samples for width 2n and interval [1,3].

limn→∞Sn=∫13xdx

Problem 7

One subinterval has width 12 in every partition. All other gaps shrink as n→∞. Can you use the definition to conclude the sums approach the integral?

Show solution 7

Solution

The largest width is always at least 12, so it cannot tend to 0. The defining convergence condition is missing. For a specific function and sample choice, you would need a separate argument.

8. Check the setup before submitting

  • Count the terms and check the first and last samples against the requested rule.
  • Include the width with each height. Factor out a common width only when the partition is uniform.
  • Write the limit when you switch from a finite estimate to an exact integral. Keep the integration variable consistent with the differential.
  • Explain what the signed result measures and include units when the problem gives them.
Review properties of definite integrals

These rules apply when the integrals exist. Topic 6.6 develops them in more detail.

Scale or combine integrands

∫abcf(x)dx=c∫abf(x)dx

Let I=∫ab(f(x)±g(x))dx. Then

I=∫abf(x)dx±∫abg(x)dx.

Reverse, collapse, or split the interval

∫baf(x)dx=−∫abf(x)dx
∫aaf(x)dx=0

To split ∫abf(x)dx at c inside [a,b], add the integral from a to c and the integral from c to b.

9. Continue Unit 6

Use Topic 6.2 to review finite estimates from tables and graphs. Topic 6.4 uses definite integrals to describe how a quantity accumulates.