Let a curve PQ show y=f(x) between x=a and x=b. Drop vertical lines from P and Q to the x-axis, meeting it at A and B. What is the area of the region PABQ under the curve?
Here is a strategy that works for any curve. Chop AB into N equal strips, each of width Δx=(b−a)/N. Over each strip, draw a rectangle whose height is the curve’s height at the strip’s left edge. Rectangles are easy to measure, so add them:
This is a little off, because thin slivers between the bar tops and the curve are missed (or overcounted). But use more, thinner strips and the bars touch the curve at more points while the slivers shrink. Try it:
Interactive
Area as a sum of thin bars
Drag the limits a and b along the x-axis. Increase N and the bars hug the curve ever more tightly; the leftover slivers shrink away.
N6
Δx1.1667
∑f(xi)Δx17.6691
∫abfdx16.9430
error0.7261
Curve
Bar height taken from
As N→∞ (equivalently Δx→0) the error vanishes and the sum becomes the exact area. We write that limit with a stretched S, for “sum”:
Definite integral(2.8)
I=∫abf(x)dx=Δx→0limi=1∑Nf(xi)Δx
read as “the integral of f(x) from a to b”; a is the lower limit and b the upper limit
Take f(x)=x. The region under it between a and b is a trapezium, so we know the answer should be (average height) × width =21(a+b)(b−a). Let’s get there by summing bars. The bar heights are a,a+Δx,a+2Δx,…, an arithmetic progression of N terms, so
Summing series by hand gets painful fast. Fortunately there is a beautiful shortcut. Find any function F(x) whose derivative is f(x). Then
Fundamental theorem of calculus
∫abf(x)dx=F(b)−F(a)≡[F(x)]ab,where dxdF=f(x)
F is called the antiderivative or indefinite integral of f, written ∫f(x)dx=F(x). Check it on our trapezium: dxd(21x2)=x, so ∫abxdx=21b2−21a2, exactly what the long way gave.
Interactive
Accumulating area
Drag x. The top graph shades the area under f from a to x. The bottom graph plots that area F(x) as it builds up. Notice that the slope of F at x always equals the height f(x).