MatheramaMatherama
← Definite Integration
Definite Integration·Section 1·15 min read

Introduction to Definite Integration

In Chapter 23, we studied indefinite integration as the reverse process of differentiation: given a derivative f(x)f(x), we sought a primitive function F(x)F(x) such that F′(x)=f(x)F'(x) = f(x).

We now turn to a foundational geometric problem that occupied mathematicians from ancient Greece to the seventeenth century:

How can we compute the exact area of a plane region bounded by curved boundaries?

In elementary geometry, finding the area of a polygon is straightforward because any straight-edged figure can be split into a finite number of triangles. But the moment a boundary curves continuously, ordinary geometry cannot give us an exact answer.

To solve this, Archimedes introduced the method of exhaustion, approximating curved shapes with straight-sided polygons. In the seventeenth and nineteenth centuries, Newton, Leibniz, Cauchy, and Riemann transformed this geometric idea into the modern theory of definite integration—a systematic method of slicing a curved region into vanishingly thin rectangular strips and taking the limit of their sum.


The Curvilinear Trapezoid§

To analyze curved areas mathematically, we set up the problem using Cartesian coordinates.

Let f(x)f(x) be a continuous, positive function on a closed interval [a,b][a, b], where a<ba < b:

f(x)≥0for all x∈[a,b]f(x) \ge 0 \quad \text{for all } x \in [a, b]

Consider the region bounded by four boundaries:

  1. The continuous curve y=f(x)y = f(x) along the top.
  2. The xx-axis (y=0y = 0) along the bottom.
  3. The vertical line x=ax = a on the left.
  4. The vertical line x=bx = b on the right.

This region is called a curvilinear trapezoid.

The Curvilinear Trapezoid

If the upper boundary were a straight line, this would be an ordinary trapezoid with area (b−a)⋅f(a)+f(b)2(b - a) \cdot \frac{f(a) + f(b)}{2}. But because y=f(x)y = f(x) bends and curves, simple geometry formulas cannot give its exact area. Our goal is to find the exact area AA of this region.


The Slicing Strategy: Partitioning the Interval§

To find the area of an unfamiliar curved shape, the most natural strategy is to approximate it using the simplest shape whose area we know: the rectangle.

Let us divide the base interval [a,b][a, b] into nn equal sub-intervals.

Step Width§

Since the total distance from aa to bb has length b−ab - a, each of the nn sub-intervals has an equal width hh:

h=b−anh = \frac{b - a}{n}

Multiplying both sides by nn gives the fundamental relation:

nh=b−a  ⟺  b=a+nhnh = b - a \iff b = a + nh

The Division Points§

We denote the n+1n + 1 division points by x0,x1,x2,…,xnx_0, x_1, x_2, \dots, x_n, where:

x0=ax_0 = a x1=a+hx_1 = a + h x2=a+2hx_2 = a + 2h ⋮\vdots xr=a+rhx_r = a + rh ⋮\vdots xn=a+nh=bx_n = a + nh = b

In general, the rr-th division point is:

xr=a+rhfor r=0,1,2,…,nx_r = a + rh \quad \text{for } r = 0, 1, 2, \dots, n

These points divide [a,b][a, b] into nn consecutive sub-intervals:

[x0,x1]=[a,a+h],[x1,x2]=[a+h,a+2h],…,[xr−1,xr]=[a+(r−1)h,a+rh][x_0, x_1] = [a, a + h], \quad [x_1, x_2] = [a + h, a + 2h], \quad \dots, \quad [x_{r-1}, x_r] = [a + (r-1)h, a + rh]

Each sub-interval has the exact same width:

xr−xr−1=hx_r - x_{r-1} = h

Two Natural Approximations: Left Sum and Right Sum§

To see how rectangular approximations work, let us first consider a function f(x)f(x) that is strictly increasing on [a,b][a, b]:

x1<x2  ⟹  f(x1)<f(x2)x_1 < x_2 \implies f(x_1) < f(x_2)

On any sub-interval [xr−1,xr][x_{r-1}, x_r], the function climbs steadily from its lowest value at the left endpoint to its highest value at the right endpoint:

f(xr−1)≤f(x)≤f(xr)f(x_{r-1}) \le f(x) \le f(x_r)

This allows us to construct two different rectangular approximations on each strip: one that sits beneath the curve, and one that stands above it.


The Left Sum (Inscribed Rectangles)§

On each sub-interval [xr−1,xr][x_{r-1}, x_r], build a rectangle of base hh with height chosen at the left endpoint:

Height=f(xr−1)=f(a+(r−1)h)\text{Height} = f(x_{r-1}) = f(a + (r-1)h)

Because f(x)f(x) is increasing, this rectangle lies entirely beneath the curve. It is an inscribed rectangle.

Left Riemann Sum (Inscribed Rectangles)

The area of the rr-th inscribed rectangle is:

Area=base×height=h⋅f(a+(r−1)h)\text{Area} = \text{base} \times \text{height} = h \cdot f(a + (r-1)h)

Adding up the areas of all nn inscribed rectangles gives the Left Sum, denoted by sns_n:

sn=h[f(a)+f(a+h)+f(a+2h)+⋯+f(a+(n−1)h)]s_n = h \Big[ f(a) + f(a + h) + f(a + 2h) + \dots + f(a + (n-1)h) \Big]

Using sigma notation, with index rr running from 00 to n−1n-1:

sn=h∑r=0n−1f(a+rh)s_n = h \sum_{r=0}^{n-1} f(a + rh)

Because every inscribed rectangle lies completely inside the curvilinear trapezoid, their total area is an underestimate of the true area AA:

sn<As_n < A

The Right Sum (Circumscribed Rectangles)§

Next, on each sub-interval [xr−1,xr][x_{r-1}, x_r], build a rectangle of base hh with height chosen at the right endpoint:

Height=f(xr)=f(a+rh)\text{Height} = f(x_r) = f(a + rh)

Because f(x)f(x) is increasing, the top of this rectangle juts out above the curve. It is a circumscribed rectangle.

Right Riemann Sum (Circumscribed Rectangles)

The area of the rr-th circumscribed rectangle is:

Area=base×height=h⋅f(a+rh)\text{Area} = \text{base} \times \text{height} = h \cdot f(a + rh)

Adding up the areas of all nn circumscribed rectangles gives the Right Sum, denoted by SnS_n:

Sn=h[f(a+h)+f(a+2h)+f(a+3h)+⋯+f(a+nh)]S_n = h \Big[ f(a + h) + f(a + 2h) + f(a + 3h) + \dots + f(a + nh) \Big]

Using sigma notation, with index rr running from 11 to nn:

Sn=h∑r=1nf(a+rh)S_n = h \sum_{r=1}^{n} f(a + rh)

Because every circumscribed rectangle extends above the curve, their total area is an overestimate of the true area AA:

A<SnA < S_n

Trapping the Exact Area§

Putting both inequalities together, the true area AA of the curvilinear trapezoid is strictly trapped between the inscribed rectangles (Left Sum) and the circumscribed rectangles (Right Sum):

sn<A<Sns_n < A < S_n

Written out with summation formulas:

h∑r=0n−1f(a+rh)<A<h∑r=1nf(a+rh)h \sum_{r=0}^{n-1} f(a + rh) < A < h \sum_{r=1}^{n} f(a + rh)

No matter how many slices nn we choose, the true area AA is always trapped between these two easy-to-calculate rectangular sums.


The Vanishing Error and Telescoping Cancellation§

How close are our two estimates sns_n and SnS_n to each other? Let us find their difference:

Sn−sn=h∑r=1nf(a+rh)−h∑r=0n−1f(a+rh)S_n - s_n = h \sum_{r=1}^n f(a + rh) - h \sum_{r=0}^{n-1} f(a + rh)

Writing out both sums side by side reveals a simple and beautiful cancellation:

Sn=h[f(a+h)+f(a+2h)+⋯+f(a+(n−1)h)+f(a+nh)]S_n = h \Big[ f(a+h) + f(a+2h) + \dots + f(a+(n-1)h) + f(a+nh) \Big] sn=h[f(a)+f(a+h)+f(a+2h)+⋯+f(a+(n−1)h)]s_n = h \Big[ f(a) + f(a+h) + f(a+2h) + \dots + f(a+(n-1)h) \Big]

Every intermediate term from f(a+h)f(a+h) through f(a+(n−1)h)f(a+(n-1)h) cancels out completely! Only the first and last terms survive:

Sn−sn=h[f(a+nh)−f(a)]S_n - s_n = h \Big[ f(a + nh) - f(a) \Big]

Since a+nh=ba + nh = b and h=b−anh = \frac{b - a}{n}, this simplifies to:

Sn−sn=b−an[f(b)−f(a)]S_n - s_n = \frac{b - a}{n} \Big[ f(b) - f(a) \Big]

Notice how powerful this result is:

  • The numbers aa, bb, f(a)f(a), and f(b)f(b) are fixed constants that do not change with nn.
  • Therefore, the bracket (b−a)[f(b)−f(a)](b - a)[f(b) - f(a)] is just a fixed number.
  • As we increase the number of slices nn toward infinity (n→∞n \to \infty), the fraction 1n→0\frac{1}{n} \to 0.

Taking the limit as n→∞n \to \infty:

lim⁡n→∞(Sn−sn)=lim⁡n→∞(b−an[f(b)−f(a)])=0\lim_{n \to \infty} (S_n - s_n) = \lim_{n \to \infty} \left( \frac{b - a}{n} \big[ f(b) - f(a) \big] \right) = 0

The difference between the circumscribed overestimate SnS_n and the inscribed underestimate sns_n shrinks to zero!


The Squeeze Principle: Finding the Exact Area§

Because the true area AA is permanently trapped between the two sums:

sn<A<Sns_n < A < S_n

and the gap between them vanishes as n→∞n \to \infty:

lim⁡n→∞(Sn−sn)=0\lim_{n \to \infty} (S_n - s_n) = 0

by the Sandwich (Squeeze) Theorem, both sequences are forced to converge to the exact same value. That common value must be the true area AA:

A=lim⁡n→∞sn=lim⁡n→∞SnA = \lim_{n \to \infty} s_n = \lim_{n \to \infty} S_n

Visualizing the Convergence: Coarse vs. Fine Partitions§

To see why the error disappears, look at what happens when we increase the number of slices from a coarse partition (n=4n = 4) to a finer partition (n=16n = 16).

Convergence via Partition Refinement

With n=4n = 4, the wide rectangular steps create large, visible gaps between the rectangles and the curve.

When we refine the partition to n=16n = 16, the step width hh is cut to one-fourth of its original size. The jagged staircase flattens against the smooth curve, and the gap between the upper and lower sums practically disappears. In the limit as n→∞n \to \infty (h→0h \to 0), the stepped boundary becomes indistinguishable from the curve itself.


Definition of the Definite Integral§

Because both the Left Sum and the Right Sum converge to the exact area AA, we can write AA as either limit:

A=lim⁡n→∞h∑r=0n−1f(a+rh)=lim⁡n→∞h∑r=1nf(a+rh)A = \lim_{n \to \infty} h \sum_{r=0}^{n-1} f(a + rh) = \lim_{n \to \infty} h \sum_{r=1}^{n} f(a + rh)

where h=b−anh = \frac{b - a}{n} and nh=b−anh = b - a.

This fundamental limit is called the Definite Integral of f(x)f(x) from aa to bb, and is written as:

∫abf(x) dx\int_a^b f(x) \, dx

Thus:

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

Anatomy of the Integral Symbol§

Leibniz introduced this notation to represent the limiting sum from which the definite integral arises:

Components of the Definite Integral Symbol

  • The Integral Sign (∫\int): An elongated letter "S" (from the Latin Summa, meaning sum). It represents the continuous limit of the summation symbol ∑\sum.
  • The Limits of Integration (aa and bb): The interval [a,b][a, b] along the xx-axis over which the accumulation occurs. The number aa is the lower limit, and bb is the upper limit.
  • The Integrand (f(x)f(x)): The function being integrated, which specifies the height of the curve at each point.
  • The Variable of Integration (dxdx): Specifies the active variable with respect to which the integration is performed (here, xx).

Note on dxdx: At this introductory stage, do not worry about treating dxdx as an "infinitesimal quantity." For now, it simply tells us which variable we are integrating with respect to. As we advance through subsequent sections—especially when we study integration by substitution and the Fundamental Theorem of Calculus—its deeper algebraic and geometric role will become completely clear.


Extending Beyond Strictly Increasing Functions§

Our initial derivation assumed that f(x)f(x) is strictly positive and strictly increasing on [a,b][a, b]. While this made the geometry easy to visualize, the definite integral works for all continuous functions.

Let us examine what occurs when these conditions are relaxed.


Strictly Decreasing Positive Functions§

Suppose f(x)≥0f(x) \ge 0 is continuous and strictly decreasing on [a,b][a, b]:

x1<x2  ⟹  f(x1)>f(x2)x_1 < x_2 \implies f(x_1) > f(x_2)

On any sub-interval [xr−1,xr][x_{r-1}, x_r], the function drops as we move from left to right. Therefore, the roles of the endpoints reverse:

  • The maximum height on the strip occurs at the left endpoint: f(xr−1)f(x_{r-1}).
  • The minimum height on the strip occurs at the right endpoint: f(xr)f(x_r).

Because of this reversal:

1. Left Sum (Circumscribed Rectangles):

The Left Sum evaluates heights at left endpoints, which are now the highest points on each strip. Hence, the rectangles extend above the curve, making the Left Sum an overestimate:

snleft=h∑r=0n−1f(a+rh)>As_n^{\text{left}} = h \sum_{r=0}^{n-1} f(a + rh) > A

2. Right Sum (Inscribed Rectangles):

The Right Sum evaluates heights at right endpoints, which are now the lowest points on each strip. Hence, the rectangles sit beneath the curve, making the Right Sum an underestimate:

Snright=h∑r=1nf(a+rh)<AS_n^{\text{right}} = h \sum_{r=1}^{n} f(a + rh) < A

Decreasing Functions

The bounding inequality simply reverses:

Snright<A<snleftS_n^{\text{right}} < A < s_n^{\text{left}}

The difference between the two sums still collapses telescopically:

snleft−Snright=h[f(a)−f(b)]=b−an[f(a)−f(b)]s_n^{\text{left}} - S_n^{\text{right}} = h \big[ f(a) - f(b) \big] = \frac{b - a}{n} \big[ f(a) - f(b) \big]

As n→∞n \to \infty, this difference approaches zero:

lim⁡n→∞(snleft−Snright)=0\lim_{n \to \infty} \left( s_n^{\text{left}} - S_n^{\text{right}} \right) = 0

By the Sandwich Theorem, both sums squeeze down to the exact same limit, which is once again the exact area A=∫abf(x) dxA = \int_a^b f(x) \, dx.


Functions with Both Increasing and Decreasing Regions§

What if a positive function f(x)≥0f(x) \ge 0 rises on some intervals and falls on others (for example, a wave or a curve with peaks and valleys)?

On intervals where the curve climbs, the left endpoint gives an inscribed rectangle (underestimate) and the right endpoint gives a circumscribed rectangle (overestimate). On intervals where the curve descends, the roles reverse. On intervals containing local peaks or troughs, neither endpoint represents the extreme value of the strip.

Consequently, we cannot say that the Left Sum is always an underestimate or that the Right Sum is always an overestimate. On some strips the rectangle overshoots the curve, while on others it falls short.

Non-Monotonic Functions and Rectangular Approximations

However, as we divide [a,b][a, b] into increasingly fine strips (n→∞n \to \infty, h→0h \to 0), the width hh of every sub-interval shrinks toward zero. Because f(x)f(x) is continuous, the difference between the highest value and lowest value of the function on each tiny strip vanishes.

Whether we evaluate the height of each rectangle at the left endpoint, the right endpoint, the midpoint, or any point on the strip, the sum converges to the exact same unique number:

∫abf(x) dx=Area A\int_a^b f(x) \, dx = \text{Area } A

Negative Functions: When the Curve Lies Below the Axis§

Now consider what happens if the function is strictly negative on [a,b][a, b]:

f(x)≤0for all x∈[a,b]f(x) \le 0 \quad \text{for all } x \in [a, b]

In this case, the entire curve y=f(x)y = f(x) lies beneath the xx-axis.

If we build our rectangular sum using the definition of the definite integral:

Sn=h∑r=1nf(a+rh)S_n = h \sum_{r=1}^n f(a + rh)

let us look at the sign of each term:

  • The width of each strip h=b−anh = \frac{b - a}{n} is positive (h>0h > 0).
  • But the function values are all negative (f(a+rh)≤0f(a + rh) \le 0).

Because we are multiplying a positive width by a negative value, every term in the sum is negative! Consequently, the sum SnS_n is negative, and taking the limit gives a negative number:

∫abf(x) dx=lim⁡n→∞h∑r=1nf(a+rh)≤0\int_a^b f(x) \, dx = \lim_{n \to \infty} h \sum_{r=1}^n f(a + rh) \le 0

This immediately raises a natural question: How can an area be negative? In geometry, area can never be negative—a room cannot have an area of −20 m2-20\text{ m}^2.

To understand what the integral represents here, let us look at the true geometric height of each strip:

Negative Functions and Positive Geometric Height

1. Finding the Positive Geometric Height:

In coordinate geometry, the height (distance) of any vertical strip is the upper boundary minus the lower boundary:

Heightr=ytop−ybottom=0−f(a+rh)=−f(a+rh)\text{Height}_r = y_{\text{top}} - y_{\text{bottom}} = 0 - f(a + rh) = -f(a + rh)

Because f(a+rh)f(a + rh) is negative, the quantity −f(a+rh)-f(a + rh) is a strictly positive number.

2. Writing the Geometric Area as a Sum:

The actual geometric area of the rr-th rectangular strip is:

Arear=base×height=h⋅(−f(a+rh))\text{Area}_r = \text{base} \times \text{height} = h \cdot \big(-f(a + rh)\big)

Adding up the areas of all nn rectangles gives the approximation for the true geometric area AA:

A≈∑r=1nh⋅(−f(a+rh))A \approx \sum_{r=1}^n h \cdot \big(-f(a + rh)\big)

3. Factoring Out the Negative Sign:

We can factor out the minus sign from every term in the summation:

A≈−h∑r=1nf(a+rh)=−SnA \approx - h \sum_{r=1}^n f(a + rh) = - S_n

4. Taking the Limit:

Now take the limit as n→∞n \to \infty (h→0h \to 0):

A=lim⁡n→∞[−h∑r=1nf(a+rh)]=−lim⁡n→∞h∑r=1nf(a+rh)A = \lim_{n \to \infty} \left[ - h \sum_{r=1}^n f(a + rh) \right] = - \lim_{n \to \infty} h \sum_{r=1}^n f(a + rh)

Recognizing the limit on the right as the definite integral ∫abf(x) dx\int_a^b f(x) \, dx:

A=−∫abf(x) dxA = - \int_a^b f(x) \, dx

Multiplying both sides by −1-1 reveals the key relationship:

∫abf(x) dx=−A\int_a^b f(x) \, dx = - A

This resolves the puzzle completely through summation formulas:

The definite integral does not force heights to be positive. Because it multiplies the width hh by the raw function value f(x)f(x), any region below the xx-axis produces a negative sum. Hence, for a curve below the xx-axis, the definite integral evaluates to the negative of the true geometric area.


The Definite Integral as Net Signed Area§

What happens if a function takes both positive and negative values on [a,b][a, b], crossing the xx-axis at one or more points?

Consider a continuous function f(x)f(x) that is positive on [a,c][a, c] and negative on [c,b][c, b], crossing the xx-axis at x=cx = c.

Net Signed Area

The region bounded between the curve and the xx-axis is split into two distinct parts:

  • A lobe above the xx-axis on [a,c][a, c], with geometric area A1>0A_1 > 0.
  • A lobe below the xx-axis on [c,b][c, b], with geometric area A2>0A_2 > 0.

Because the definite integral accumulates positive values where f(x)>0f(x) > 0 and negative values where f(x)<0f(x) < 0, it calculates the Net Signed Area:

∫abf(x) dx=A1−A2\int_a^b f(x) \, dx = A_1 - A_2

This distinction between net signed area and total geometric area is crucial:

Net Signed Area (The Definite Integral):

Regions above the xx-axis are counted as positive (+A1+A_1), while regions below the xx-axis are counted as negative (−A2-A_2). If both lobes are identical in size (A1=A2A_1 = A_2), the definite integral is precisely zero:

∫abf(x) dx=0\int_a^b f(x) \, dx = 0

even though a substantial geometric region is enclosed between the curve and the axis!

Total Geometric Area:

If a problem asks for the physical, non-negative area enclosed between the curve and the xx-axis, we must take the absolute value of the function ∣f(x)∣|f(x)|, or split the integral at the crossing points:

Total Geometric Area=∫ab∣f(x)∣ dx=∫acf(x) dx+∫cb(−f(x)) dx=A1+A2\text{Total Geometric Area} = \int_a^b |f(x)| \, dx = \int_a^c f(x) \, dx + \int_c^b \big(-f(x)\big) \, dx = A_1 + A_2

Summary§

Slicing and Partitioning§

To compute the area under a curve, divide [a,b][a, b] into nn equal strips of width h=b−anh = \frac{b - a}{n}, with division points xr=a+rhx_r = a + rh for r=0,1,…,nr = 0, 1, \dots, n.

Trapping the Area (Monotonic Functions)§

For a strictly increasing function, the Left Sum forms inscribed rectangles (underestimate) and the Right Sum forms circumscribed rectangles (overestimate):

snleft<A<Snrights_n^{\text{left}} < A < S_n^{\text{right}}

For a strictly decreasing function, the Left Sum forms circumscribed rectangles (overestimate) and the Right Sum forms inscribed rectangles (underestimate):

Snright<A<snleftS_n^{\text{right}} < A < s_n^{\text{left}}

In both cases, the gap between the circumscribed and inscribed sums cancels telescopically:

Gap=b−an∣f(b)−f(a)∣→0as n→∞\text{Gap} = \frac{b - a}{n} \big| f(b) - f(a) \big| \to 0 \quad \text{as } n \to \infty

The Definite Integral§

By the Sandwich Theorem, both sums squeeze toward the exact same limit, defining the definite integral:

∫abf(x) dx=lim⁡n→∞h∑r=1nf(a+rh)where nh=b−a\int_a^b f(x) \, dx = \lim_{n \to \infty} h \sum_{r=1}^n f(a + rh) \quad \text{where } nh = b - a

Geometric Area vs. Net Signed Area§

Positive functions (f(x)≥0f(x) \ge 0): The integral directly equals the geometric area under the curve.

Negative functions (f(x)≤0f(x) \le 0): Every term in the sum is negative, so the integral equals the negative of the geometric area:

∫abf(x) dx=−A\int_a^b f(x) \, dx = - A

General functions (crossing the axis): The integral computes the Net Signed Area:

∫abf(x) dx=Aabove−Abelow\int_a^b f(x) \, dx = A_{\text{above}} - A_{\text{below}}

To find the physical geometric area, we must integrate ∣f(x)∣|f(x)|:

Total Geometric Area=∫ab∣f(x)∣ dx=Aabove+Abelow\text{Total Geometric Area} = \int_a^b |f(x)| \, dx = A_{\text{above}} + A_{\text{below}}
Section 1 of 15 · Definite Integration

Mark this section complete when you have worked through its proofs.