Euler Hall — free maths guides

The definite integral as a limit of Riemann sums

Write a definite integral as a limit of right- or left-endpoint Riemann sums. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus II guides.

The integral is what the sums approach

wherexkx_k is a sample point in thekk-th strip.

Three things in that line carry all the meaning, and each one is a place to lose marks:

- *Δx=b−an\Delta x = \frac{b-a}{n}** is the WIDTH. Writingb−ab - a is wrong; writing nothing is the commonest error and the sum then grows without bound instead of converging. - *xkx_k for the right-endpoint convention isa+kΔxa + k\Delta x, so on[0,1][0,1] it iskn\frac{k}{n}. Starting atk=0k=0 samples the left edge of the first strip, which is a different sum. - the index runs11 tonn**, one sample per strip.

The definition says the limit exists — and equals the same number for every choice of sample points — precisely when the function is integrable. So "the integral exists" and "these sums converge to one value" are the same statement.

*dxdx is not decoration.** It is theΔx\Delta x of the limit, and it is what makes the integrand's units work:f(x) dxf(x)\,dx has the units offf times the units ofxx, which is what the integral offf should have.

Why the limit is the area

Each termf(xk)Δxf(x_k)\Delta x is the area of one rectangle. The sum is the total area ofnn rectangles that together approximate the region under the curve.

Asnn grows the rectangles get thinner, so on each one the function varies less and the rectangle's top is closer to the curve. The total error is bounded by the sum of the little gaps, and — this is the part that needs proof — that total gap tends to zero for an integrable function.

The proof uses the upper and lower sums. Ifff is integrable thenU−L→0U - L \to 0, and every Riemann sum with any sample choice lies betweenLL andUU. A sequence trapped between two sequences with the same limit has that limit. That is the whole argument, and it is why the choice of sample point does not matter.

It is also why the definition needs a bounded function on a closed interval: without the boundsMkM_k andmkm_k need not exist.

Worked example: from the sum to the value

Evaluate∫01x dx\int_0^1 x\,dx from the definition.

Right endpoints:Δx=1n\Delta x = \frac1n,xk=knx_k = \frac{k}{n}, so

lim⁡n→∞n+12n=12\lim_{n\to\infty}\frac{n+1}{2n} = \frac12.

The geometry agrees: the region undery=xy = x from 0 to 1 is a right triangle with both legs 1, so its area is12\frac12. Two independent routes to the same number is what makes this a verification rather than a calculation.

Now the same for a constant:∫035 dx=lim⁡∑k=1n5⋅3n=lim⁡5⋅3=15\int_0^3 5\,dx = \lim \sum_{k=1}^n 5 \cdot \frac3n = \lim 5 \cdot 3 = 15, which is a rectangle 3 by 5.

By the end you can
  • Write a definite integral as a limit of right- or left-endpoint Riemann sums
  • Get the sample point and the width from the same partition
  • Explain why the limit does not depend on the choice of sample points
Check yourself
  1. 1. Write∫013x dx\int_0^1 3x\,dx as a limit of right sums.
  2. 2. Write∫12x dx\int_1^2 x\,dx as a limit of right sums.
  3. 3. What isΔx\Delta x for∫−11f\int_{-1}^{1} f withn=4n = 4 strips?
Answers

1.lim⁡∑k=1n3⋅kn⋅1n=lim⁡3(n+1)2n=32\lim\sum_{k=1}^{n} 3\cdot\frac{k}{n}\cdot\frac1n = \lim\frac{3(n+1)}{2n} = \frac32. 2.Δx=1n\Delta x = \frac1n,xk=1+knx_k = 1 + \frac{k}{n}, solim⁡∑(1+kn)1n=1+12=32\lim\sum\left(1 + \frac{k}{n}\right)\frac1n = 1 + \frac12 = \frac32. 3.1−(−1)4=12\frac{1 - (-1)}{4} = \frac12.

Work out where to start — free, no accountAnswer six real questions — free, no account