Unit 6 · Topic 6.3 Beta

Riemann Sums, Sigma Notation and the Definite Integral

5 min read · freeNot practiced

Riemann sums estimate an area. Use more subintervals and the estimate improves. This page follows that idea to the end: take the limit as the number of subintervals goes to infinity. The result is the definite integral, the central object of the rest of the course.

Sigma notation for a Riemann sum

Writing out a sum with 100 terms is slow, so we use sigma notation. The symbol ∑\sum (capital sigma) means "add up":

∑i=14(2i+1)=3+5+7+9=24.\sum_{i=1}^{4} (2i + 1) = 3 + 5 + 7 + 9 = 24.

The index ii starts at the number below the sigma and goes up by 1 to the number on top. Substitute each value of ii into the expression and add.

Now split [a,b][a, b] into nn subintervals of equal width. Each has width

Δx=b−an,\Delta x = \frac{b - a}{n},

and the right ends are x1=a+Δxx_1 = a + \Delta x, x2=a+2Δxx_2 = a + 2\Delta x, and in general xi=a+iΔxx_i = a + i\,\Delta x, up to xn=bx_n = b. A right Riemann sum is then

∑i=1nf(xi)Δx=∑i=1nf(a+(b−a)in)b−an.\sum_{i=1}^{n} f(x_i)\,\Delta x = \sum_{i=1}^{n} f\left(a + \frac{(b - a)i}{n}\right)\frac{b - a}{n}.

The limit: the definite integral

Three panels show right Riemann sums for f(x) = 0.25x squared + 1 on [0, 4] with n = 4, 8 and 32 rectangles: 11.5, 10.375 and about 9.586. The rectangles hug the curve more closely each time and the sums approach the definite integral, 28/3, about 9.333.
Figure 1. Right sums with 4, 8 and 32 rectangles approach one number. LevlPrep original diagram.

As nn grows, the rectangles get thinner and hug the curve more closely, as in the figure. For a continuous function the sums approach a single number, whichever endpoints you use (left, right or midpoint). That number is the definite integral:

∫abf(x)dx=limn→∞∑i=1nf(xi)Δx.\int_a^b f(x)\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} f(x_i)\,\Delta x.

Each piece of the symbol echoes the sum. The integral sign, ∫, is a stretched S, for "sum". The function f(x)f(x) is the integrand, the height. The numbers aa and bb are the limits of integration, the ends of the interval. And dxdx stands for the vanishing width Δx\Delta x; it also names the variable. Never drop it.

The letter is a placeholder: ∫27g(t)dt\int_2^7 g(t)\,dt and ∫27g(u)du\int_2^7 g(u)\,du are the same number. The definite integral is a number, not a function of tt.

Translating a limit of sums into an integral

The exam often shows a limit of sums and asks which integral it equals. Match three things:

  1. Width. The factor cn\frac{c}{n} is Δx\Delta x, so the interval has length c=b−ac = b - a.
  2. Points. The expression a+cina + \frac{ci}{n} is xix_i; its constant aa is the left end.
  3. Height. Whatever is done to xix_i is the function ff.

Worked example 1. Write limn→∞∑i=1n3n(2+3in)\displaystyle \lim_{n \to \infty} \sum_{i=1}^{n} \frac{3}{n}\left(2 + \frac{3i}{n}\right) as a definite integral, and find its value.

Width: Δx=3n\Delta x = \frac{3}{n}, so b−a=3b - a = 3.

Points: xi=2+3inx_i = 2 + \frac{3i}{n}, so a=2a = 2 and b=5b = 5.

Height: the term is xix_i itself, so f(x)=xf(x) = x.

The limit is ∫25xdx\int_2^5 x\,dx. The region under y=xy = x from 2 to 5 is a trapezoid with heights 2 and 5 and width 3: area 2+52⋅3=212\frac{2 + 5}{2} \cdot 3 = \frac{21}{2}.

A careful point: the same limit also equals ∫03(2+x)dx\int_0^3 (2 + x)\,dx, read with points 3in\frac{3i}{n} on [0,3][0, 3] and the 2 moved into the function. Both are right. What is wrong is to mix them: ∫25(2+x)dx\int_2^5 (2 + x)\,dx counts the 2 twice.

Translating an integral into a limit of sums

Worked example 2. Write ∫13x3dx\int_1^3 x^3\,dx as a limit of right Riemann sums.

Δx=3−1n=2n\Delta x = \frac{3 - 1}{n} = \frac{2}{n}. Right ends: xi=1+2inx_i = 1 + \frac{2i}{n}. Heights: f(xi)=(1+2in)3f(x_i) = \left(1 + \frac{2i}{n}\right)^3.

∫13x3dx=limn→∞∑i=1n(1+2in)32n.\int_1^3 x^3\,dx = \lim_{n \to \infty} \sum_{i=1}^{n} \left(1 + \frac{2i}{n}\right)^3 \frac{2}{n}.

What a definite integral means

  • If f(x)≥0f(x) \ge 0 on [a,b][a, b], ∫abf(x)dx\int_a^b f(x)\,dx is the area of the region under the graph. When that region is a triangle, trapezoid or part of a circle, geometry gives the value: the upper half of a circle of radius 2 encloses 12π(2)2=2π\frac{1}{2}\pi(2)^2 = 2\pi.
  • If ff is negative, each product f(xi)Δxf(x_i)\Delta x is negative, so the integral is negative: ∫14(−2)dx\int_1^4 (-2)\,dx=−6= -6.
  • If ff is a rate, the integral is the accumulated change, in (rate units) times (input units). If P(t)P(t) is power in kilowatts and tt is in hours, ∫024P(t)dt\int_0^{24} P(t)\,dt is the energy used over the day, in kilowatt-hours.

With a calculator

Every graphing calculator, and the Desmos calculator built into the exam, computes definite integrals numerically. On a calculator question, write the integral as your setup, such as ∫02e−x2dx\int_0^2 e^{-x^2}\,dx, then the value correct to three decimal places: 0.8820.882. A number with no integral written beside it shows no setup, and the setup earns its own point.

Spot a mistake on this page?