H4 - Integration as a limit of sums

H4 - Integration as a limit of sums

Build area estimates from rectangle widths and heights, then see why their limiting value is a definite integral. Recognise an integral hidden in a sum and connect a finite numerical estimate with an exact antiderivative calculation.

Rectangle widths, heights and estimates

Can a collection of flat-topped rectangles recover the exact area under y=x2y=x^2 from 00 to 22? Four rectangles give different answers depending on which endpoint supplies each height. Neither answer is exact, but both tell us something useful.

You already know

A rectangle has area height times width. Sigma notation adds contributions: ∑i=1nai=a1+⋯+an\sum_{i=1}^n a_i=a_1+\cdots+a_n. The Fundamental Theorem evaluates ∫abf(x) dx\int_a^b f(x)\,dx exactly when an antiderivative is available. These are recall results, not supplied formulae.

Divide a fixed interval [a,b][a,b], with a<ba<b, into nn equal subintervals. Their common width is (b−a)/n(b-a)/n; their widths must add to the full interval length.

Endpoint rectangle sums

A left-endpoint sum uses the height at the left end of every subinterval; a right-endpoint sum uses the right end. With Δx=(b−a)/n\Delta x=(b-a)/n,

Ln=∑i=0n−1f(a+iΔx)ΔxRn=∑i=1nf(a+iΔx)ΔxL_n=\sum_{i=0}^{n-1}f(a+i\Delta x)\Delta x \qquad R_n=\sum_{i=1}^{n}f(a+i\Delta x)\Delta x

Both sums contain nn height-times-width contributions. The symbols Δx\Delta x and δx\delta x both mean a horizontal increment here. These rectangle-sum formulae are not in the formula booklet: learn the construction.

For an increasing function, each left height is below the graph across its strip, while each right height is above it. Hence Ln≤∫abf(x) dx≤RnL_n\le\int_a^b f(x)\,dx\le R_n. For a decreasing function the inequalities reverse. These are signed-integral comparisons; they describe ordinary area when f≥0f\ge0.

Left and right endpoint rectangles for y equals x squared on zero to two, giving lower and upper estimates

The picture uses four rectangles. Each height comes from a dot on the curve, while each rectangle still has a flat top.

Worked example 1: four rectangles

Question. Estimate the area under y=x2y=x^2 on [0,2][0,2] using four equal rectangles, with left endpoints and with right endpoints.

Plan. Find the common width, square the appropriate endpoint positions and multiply their sum by the width.

Δx=2−04=12divide the intervalL4=12(0+14+1+94)=74left positions 0,12,1,32R4=12(14+1+94+4)=154right positions 12,1,32,2\begin{aligned} \Delta x&=\frac{2-0}{4}=\frac12 && \text{divide the interval} \\ L_4&=\frac12\left(0+\frac14+1+\frac94\right)=\frac74 && \text{left positions }0,\tfrac12,1,\tfrac32 \\ R_4&=\frac12\left(\frac14+1+\frac94+4\right)=\frac{15}{4} && \text{right positions }\tfrac12,1,\tfrac32,2 \end{aligned}

Why this step? The squared values are heights, so the outside factor 1/21/2 converts their sum into an area estimate.

Answer. Left estimate =7/4=7/4; right estimate =15/4=15/4 square units. They under- and overestimate respectively because x2x^2 increases here.

Check. The exact integral is [x3/3]02=8/3[x^3/3]_0^2=8/3, and 7/4<8/3<15/47/4<8/3<15/4.

Change only the number of rectangles from 44 to 88. The interval stays fixed, so each width halves.

Worked example 2: eight rectangles

Question. Repeat the left- and right-endpoint estimates for y=x2y=x^2 on [0,2][0,2], using eight equal rectangles.

Plan. Use width 1/41/4 and endpoint heights (i/4)2(i/4)^2.

Δx=28=14new common widthL8=164(02+12+⋯+72)left heights times width=14064=3516add and simplifyR8=164(12+22+⋯+82)right heights times width=20464=5116add and simplify\begin{aligned} \Delta x&=\frac28=\frac14 && \text{new common width} \\ L_8&=\frac1{64}(0^2+1^2+\cdots+7^2) && \text{left heights times width} \\ &=\frac{140}{64}=\frac{35}{16} && \text{add and simplify} \\ R_8&=\frac1{64}(1^2+2^2+\cdots+8^2) && \text{right heights times width} \\ &=\frac{204}{64}=\frac{51}{16} && \text{add and simplify} \end{aligned}

Why this step? Each contribution is (i/4)2(1/4)=i2/64(i/4)^2(1/4)=i^2/64; the width is an additional factor, separate from the height's square.

Answer. Left estimate =35/16=35/16; right estimate =51/16=51/16 square units.

Check. 35/16<8/3<51/1635/16<8/3<51/16. The gap is 11, compared with 22 for four rectangles.

Whether an endpoint estimate is above or below depends on the graph's direction of change. For the decreasing graph y=6−2xy=6-2x on [0,2][0,2], four left heights are 6,5,4,36,5,4,3; their estimate is 99, above the exact area 88.

Watch out

Wrong: R4=1/4+1+9/4+4=15/2R_4=1/4+1+9/4+4=15/2 for the first example. This adds heights only. Right: multiply by the width 1/21/2, giving 15/415/4 square units.

Now change the number of rectangles again. The same increasing graph still determines the direction of each error.

The limiting sum and the integral

Increasing the number of rectangles makes each width smaller while they still cover the whole fixed interval. We do not set the width to zero and add zero areas; we examine the value approached by the complete sum.

For a continuous function, nearby heights become close as their horizontal separation shrinks. On a fixed closed interval this controls all the strips: choosing different points within the shrinking strips does not change the limiting sum. Such height-times-width sums are called Riemann sums.

Integration as a limiting sum

For continuous ff on [a,b][a,b],

lim⁡n→∞∑i=1nf(a+ib−an)b−an=∫abf(x) dx\lim_{n\to\infty}\sum_{i=1}^n f\left(a+i\frac{b-a}{n}\right)\frac{b-a}{n} =\int_a^b f(x)\,dx

Left endpoints, or any sample point in each subinterval, give the same limit as the widths tend to zero. Negative heights give negative contributions: this is a signed integral. For total geometric area, use ∣f(xi)∣|f(x_i)| as the heights.

Not in the formula booklet: learn it.

For an increasing function, the upper and lower bounds make convergence especially visible. Subtracting the endpoint sums cancels all shared interior heights:

Rn−Ln=Δx [f(b)−f(a)]R_n-L_n=\Delta x\,[f(b)-f(a)]

The endpoint values stay fixed while Δx→0\Delta x\to0, so this gap tends to zero. The integral is trapped between the sums, forcing both towards it. This gap result is not in the formula booklet: derive it by cancellation.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account