Integration as the limit of a sum

Integration as the limit of a sum

Spec H4 · AQA A-Level Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • Area under a curve ≈∑f(x) δx\approx\sum f(x)\,\delta x, the sum of strips of width δx\delta x.
  • If ff is increasing, left-hand rectangles underestimate and right-hand rectangles overestimate.
  • ∫abf(x) dx=lim⁡δx→0∑f(x) δx\int_a^bf(x)\,dx=\lim_{\delta x\to0}\sum f(x)\,\delta x.
  • Read the limits from the first and last values of xx in the sum.
  • Quantities built from many small parts, such as mass from density, are integrals.

Strips and rectangles

Split the region into thin strips of width δx\delta x and add the rectangles: area ≈∑f(x) δx\approx\sum f(x)\,\delta x.

To find the area under y=f(x)y=f(x) from x=ax=a to x=bx=b, divide the region into thin vertical strips of equal width δx\delta x and draw a rectangle on each. A rectangle at xx has area f(x) δxf(x)\,\delta x.

Choosing the height from the left-hand or right-hand end gives two different sums. For y=x2y=x^2 on [0,3][0,3] with three strips of width 11: left ends give 0+1+4=50+1+4=5 and right ends give 1+4+9=141+4+9=14, while the exact area is 99.

−0.50.511.522.533.5246810xy(1, 1)(2, 4)(3, 9)y = x²
y = x² on [0, 3]: exact area 9, left sum 5, right sum 14
02468101214Left endsExactRight endsEstimateArea
Three strips for y = x² on [0, 3] bracket the exact area.

For y=x2y=x^2 on [0,3][0,3] with three strips, what do the right-hand ends give?

Under- and over-estimates

For an increasing function the left sum is an underestimate; for a decreasing function it is the other way round.

If ff is increasing, left-hand rectangles lie below the curve (an underestimate) and right-hand rectangles reach above it (an overestimate). If ff is decreasing it is the other way round. The exact area lies between the two sums.

The error is the difference between the sum and the exact area, for example 9−59=44.4%\frac{9-5}{9}=44.4\% for the three left-hand rectangles on y=x2y=x^2. Using more, narrower strips reduces the error.

0.511.522.533.5246810xy(0, 0)(1, 1)(2, 4)(3, 9)y = x²
y = x² is increasing, so the three left-hand strips (heights 0, 1, 4) give 5, an underestimate of the exact area 9 (shaded).

f increasing

  • Left-hand rectangles: underestimate
  • Right-hand rectangles: overestimate

f decreasing

  • Left-hand rectangles: overestimate
  • Right-hand rectangles: underestimate

ff is decreasing on [a,b][a,b]. Do left-hand rectangles give an underestimate or an overestimate?

The limit of a sum

As δx→0\delta x\to0 the rectangles fit the curve, and the sum becomes ∫abf(x) dx\int_a^bf(x)\,dx.

As the strip width δx→0\delta x\to0 the rectangles fit the curve more and more closely: the limit of a sum is the definite integral.

The integral sign ∫\int is a stretched 'S' for sum, and dxdx is what δx\delta x becomes. To go from a sum to an integral, read the limits from the first and last values of xx in the sum, and the function f(x)f(x) multiplying δx\delta x.

0.20.40.60.811.21.41.61.822.22.4123456xyy = f(x) = x²
As the strips get narrower the sum approaches the exact area under the curve: ∫₀² x² dx = 8/3 ≈ 2.67 (shaded).
  • lim⁡δx→0∑x=abf(x) δx\lim_{\delta x\to0}\sum_{x=a}^{b}f(x)\,\delta x∫abf(x) dx\int_a^bf(x)\,dx

Worked example

Write lim⁡δx→0∑x=14(2x+1) δx\lim_{\delta x\to0}\sum_{x=1}^{4}(2x+1)\,\delta x as an integral and evaluate it.

What does lim⁡δx→0∑x=023x2 δx\lim_{\delta x\to0}\sum_{x=0}^{2}3x^2\,\delta x equal as an integral?

Limit from an exact sum

Write the sum in terms of nn, simplify with ∑r=n(n+1)2\sum r=\frac{n(n+1)}{2}, then let n→∞n\to\infty.

With nn equal-width strips on [a,b][a,b] the width is b−an\frac{b-a}{n} and the rrth right-hand end is x=a+rb−anx=a+r\frac{b-a}{n}.

For y=3xy=3x on [0,2][0,2] the width is 2n\frac2n and the heights are 6rn\frac{6r}{n}. As n→∞n\to\infty, 6n→0\frac6n\to0, so the sum tends to 6=∫023x dx6=\int_0^23x\,dx. The term 6n\frac6n is the overestimate and shows how quickly the error falls.

−0.50.511.522.5−11234567xy(2, 6)y = 3x
The area under y = 3x on [0, 2] is 6, the limit of the sums 6 + 6/n.

Worked example

Find the sum of the nn right-hand rectangles for y=3xy=3x on [0,2][0,2], and its limit.

The sum 6+6n6+\frac6n is for nn right-hand rectangles. What does it tend to as n→∞n\to\infty?

Modelling with sums

Any quantity made of many small parts is a limit of a sum, so it can be written as an integral.

For a rod of density ρ(x)\rho(x) kg per metre, a piece of length δx\delta x has mass about ρ(x) δx\rho(x)\,\delta x, so the total mass is lim⁡∑ρ(x)δx=∫ρ(x)dx\lim\sum\rho(x)\delta x=\int\rho(x)dx.

The mass of the first kk metres can be set equal to a given value and solved, rejecting any root outside the domain.

0.511.522.533.544.5512345xyρ = 2 + x/2
Density ρ=2+x2\rho=2+\frac x2: the area under the graph from 00 to 44 is the mass, 1212 kg.

Worked example

A rod has density ρ=2+x2\rho=2+\frac x2 kg per metre for 0≤x≤40\le x\le4. Find its mass, and the mass of the first kk metres.

A rod has density ρ=2x\rho=2x kg per metre for 0≤x≤30\le x\le3. What is its mass?

Try an exam question

Write lim⁡δx→0∑x=02(3x2+1) δx\lim_{\delta x\to0}\sum_{x=0}^{2}(3x^2+1)\,\delta x as a definite integral and evaluate it.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Find the total area of the three rectangles.

1 mark, marked against the mark scheme

Revision notes