Kittttttan*s Web

日本語 | English

Calculus

5.Integrals

5.5 The Definite Integral

The integral of v(x) is an antiderivative ƒ(x) plus a constant C. This section takes two steps. First, we choose C. Second, we construct ƒ(x). The object is to define the integral—in the most frequent case when a suitable ƒ(x) is not directly known.

The indefinite integral contains "+ C." The constant is not settled because ƒ(x) + C has the same slope for every C. When we care only about the derivative, C makes no difference. When the goal is a number—a definite integral—C can be assigned a definite value at the starting point.

For mileage traveled, we subtract the reading at the start. This section does the same for area. Distance is ƒ(t) and area is ƒ(x)—while the definite integral is ƒ(b) − ƒ(a). Don't pay attention to t or x, pay attention to the great formula of integral calculus:

bv(t) dt = bv(x) dx = ƒ(b) − ƒ(a).   (1)
aa

For a typical v(x), we can't find ƒ(x) by guessing or substitution. But still v(x) has an "area" under its graph—and this yields the desired integral ƒ(x).

Most of this section is theoretical, leading to the definition of the integral. You may think we should have defined integrals before computing them—which is logically true. But the idea of area (and the use of rectangles) was already pretty clear in our first examples. Now we go much further. Every continuous function v(x) has an integral (also some discontinuous functions). Then the Fundamental Theorem completes the circle: The integral leads back to dƒ/dx = u(x). The area up to x is the antiderivative that we couldn't otherwise discover.

THE CONSTANT OF INTEGRATION

Our goal is to turn ƒ(x) + C into a definite integral—the area between a and b. The first requirement is to have area = zero at the start:

ƒ(a) + C = starting area = 0   so   C = −ƒ(a).   (2)

For the area up to x (moving endpoint, indefinite integral), use t as the dummy variable:

EXAMPLE 1   The area under the graph of 5(x + 1)⁴ from a to b has ƒ(x) = (x + 1)⁵:

b5(x + 1)⁴ dx = (x + 1)⁵b= (b + 1)⁵ − (a + 1)⁵.
aa

The calculation has two separate steps—first find ƒ(x), then substitute b and a. After the first step, check that dƒ/dx is v. The upper limit in the second step gives plus ƒ(b), the lower limit gives minus ƒ(a). Notice the brackets (or the vertical bar):

ƒ(x)b= ƒ(b) − ƒ(a)   x³|2= 8 − 1  cos x2t= cos 2t − 1.
a10

Changing the example to ƒ(x) = (x + 1)⁵—1 gives an equally good antiderivative—and now ƒ(0) = 0. But ƒ(b) − ƒ(a) stays the same, because the -1 disappears:

(x + 1)⁵ − 1b= ((b + 1)⁵ − 1) − ((a + 1)⁵ − 1) = (b + 1)⁵ − (a + 1)⁵.
a

EXAMPLE 2   When v = 2x sin x² we recognize ƒ = -cos x². The area from 0 to 3 is

32x sin x² dx = −cos x²3= −cos 9 + cos 0.
00

The upper limit copies the minus sign. The lower limit gives −(−cos 0), which is +cos 0. That example shows the right form for solving exercises on definite integrals.

Example 2 jumped directly to ƒ(x)= −cos x². But most problems involving the chain rule go more slowly—by substitution. Set u = x², with du/dx = 2x:

32x sin x² dx = 3sin ududx =  ?sin u du.   (3)
00dx?

We need new limits when u replaces x². Those limits on u are a² and b². (In this case a² = 0² and b² = 3² = 9.) If x goes from a to b, then u goes from u(a) to u(b).

bv(u(x))dudx = u(b)v(u) du = ƒ(u(b)) − ƒ(u(a)).   (4)
adxu(a)
EXAMPLE 31(x² + 5)³x dx = 6du = u⁴6 = 6⁴ − 5⁴
x=0u=528588

In this case u = x² + 5. Therefore du/dx = 2x (or du = 2x dx for differentials). We have to account for the missing 2. The integral is (1/8)u⁴. The limits on u = x² + 5 are u(0) = 0² + 5 and u(1) = 1² + 5. That is why the u-integral goes from 5 to 6. The alternative is to find ƒ(x) = (1/8)(x² + 5)⁴ in one jump (and check it).

EXAMPLE 4   ∫01 sin x² dx = ?? (no elementary function gives this integral).

If we try cos x², the chain rule produces an extra 2x—no adjustment will work. Does sin x² still have an antiderivative? Yes! Every continuous v(x) has an ƒ(x). Whether ƒ(x) has an algebraic formula or not, we can write it as ∫ v(x) dx. To define that integral, we now take the limit of rectangular areas.

INTEGRALS AS LIMITS OF "RIEMANN SUMS"

We have come to the definition of the integral. The chapter started with the integrals of x and x2,from formulas for 1 + … + n and 1² + … + n². We will not go back to those formulas. But for other functions, too irregular to find exact sums, the rectangular areas also approach a limit.

That limit is the integral. This definition is a major step in the theory of calculus. It can be studied in detail, or understood in principle. The truth is that the definition is not so painful—you virtually know it already.

ProblemIntegrate the continuous function v(x)over the interval [a, b].

Step 1   Split [a, b] into n subintervals [a, x1], [x1, x2], …, [xn-1, b].

The "meshpoints" x1, x2, … divide up the interval from a to b. The endpoints are x0 = a and xn = b. The length of subinterval k is Δxk = xk − xk-1. In that smaller interval, the minimum of v(x)is mk. The maximum is Mk.

Now construct rectangles. The "lower rectangle" over interval k has height mk. The "upper rectangle" reaches to Mk. Since v is continuous, there are points xmin and xmax where v = mk and v = Mk (extreme value theorem). The graph of v(x) is in between.

Important: The area under v(x) contains the area "s" of the lower rectangles:

ab v(x) dx ≥ m1Δx1 + m2Δx2 + … + mnΔxn = s.   (5)

The area under v(x) is contained in the area "S" of the upper rectangles:

ab v(x) dx ≤ M1Δx1 + M2Δx2 + … + MnΔxn = S.   (6)

The lower sum s and the upper sum S were computed earlier in special cases-when v was x or x² and the spacings Δx were equal. Figure 5.9a shows why s ≤ area ≤ S.

Fig.5.9 Area of lower rectangles = s. Upper sum S includes top pieces. Riemann sum S* is in between.

Notice an important fact. When a new dividing point x' is added, the lower sum increases. The minimum in one piece can be greater (see second figure) than the original mk. Similarly the upper sum decreases. The maximum in one piece can be below the overall maximum. As new points are added, s goes up and S comes down. So the sums come closer together:

s ≤ s' ≤   ≤ S' ≤ S.   (7)

I have left space in between for the curved area—the integral of v(x).

Now add more and more meshpoints in such a way that Δxmax → 0. The lower sums increase and the upper sums decrease. They never pass each other. If v(x) is continuous, those sums close in on a single number A. That number is the definite integral—the area under the graph.

DEFINITION   The area A is the common limit of the lower and upper sums:

s → A and S → A as Δxmax → 0.   (8)

This limit A exists for all continuous v(x), and also for some discontinuous functions. When it exists, A is the "Riemann integral" of v(x) from a to b.

REMARKS ON THE INTEGRAL

As for derivatives, so for integrals: The definition involves a limit. Calculus is built on limits, and we always add "if the limit exists." That is the delicate point. I hope the next five remarks (increasingly technical) will help to distinguish functions that are Riemann integrable from functions that are not.

Remark 1   The sums s and S may fail to approach the same limit. A standard example has V(x) = 1 at all fractions x = p/q, and V(x) = 0 at all other points. Every interval contains rational points (fractions) and irrational points (nonrepeating decimals). Therefore mk = 0 and Mk = 1. The lower sum is always s = 0. The upper sum is always S = b − a (the sum of 1's times Δx's). The gap in equation (7) stays open. This function V(x) is not Riemann integrable. The area under its graph is not defined (at least by Riemann—see Remark 5).

Remark 2   The step function U(x) is discontinuous but still integrable. On every interval the minimum mk equals the maximum Mk—except on the interval containing the jump. That jump interval has mk = 0 and Mk = 1. But when we multiply by Δxk, and require Δxmax → 0, the difference between s and S goes to zero. The area under a step function is clear—the rectangles fit exactly.

Remark 3   With patience another key step could be proved: If s → A and S → A for one sequence of meshpoints, then this limit A is approached by every choice of meshpoints with Δxmax → 0. The integral is the lower bound of all upper sums S, and it is the upper bound of all possible s—provided those bounds are equal. The gap must close, to define the integral.

The same limit A is approached by "in-between rectangles." The height v(xk*) can be computed at any point xk* in subinterval k. See Figures 5.9c and 5.10. Then the total rectangular area is a "Riemann sum" between s and S:

S* = v(x1*)Δx1 + v(x2*)Δx2 + … + v(xn*)Δxn.   (9)

We cannot tell whether the true area is above or below S*. Very often A is closer to S* than to s or S. The midpoint rule takes x * in the middle of its interval (Figure 5.10), and Section 5.8 will establish its extra accuracy. The extreme sums s and S are used in the definition while S* is used in computation.

Fig.5.10 Various positions for x_k* in the base. The rectangles have height v(x_k*).

Remark 4Every continuous function is Riemann integrable. The proof is optional (in my class), but it belongs here for reference. It starts with continuity at x*: "For any e there is a δ …. " When the rectangles sit between x* − δ and x* + δ, the bounds Mk and mk differ by less than 2ε. Multiplying by the base Δxk, the areas differ by less than 2ε(Δxk). Combining all rectangles, the upper and lower sums differ by less than 2ε(Δx1 + Δx2 + … + Δxn) = 2ε(b − a).

As ε → 0 we conclude that S comes arbitrarily close to s. They squeeze in on a single number A. The Riemann sums approach the Riemann integral, if v is continuous.

Two problems are hidden by that reasoning. One is at the end, where S and s come together. We have to know that the line of real numbers has no "holes," so there is a number A to which these sequences converge. That is true.

Any increasing sequence, if it is bounded above, approaches a limit.

The decreasing sequence S, bounded below, converges to the same limit. So A exists.

The other problem is about continuity. We assumed without saying so that the width 2δ is the same around every point x*. We did not allow for the possibility that δ might approach zero where v(x) is rapidly changing—in which case an infinite number of rectangles could be needed. Our reasoning requires that

v(x) is unifomly continuous: δ depends on ε but not on the position of x*.

For each E there is a δ that works at all points in the interval. A continuous function on a closed interval is uniformly continuous. This fact (proof omitted) makes the reasoning correct, and v(x) is integrable.

On an infinite interval, even v = x² is not uniformly continuous. It changes across a subinterval by (x* + δ)² − (x* − δ)² = 4x*δ. As x* gets larger, δ must get smaller—to keep 4x*δ below ε. No single δ succeeds at all x*. But on a finite interval [0, b], the choice δ = ε/4b works everywhere—so v = x² is uniformly continuous.

Remark 5   If those four remarks were fairly optional, this one is totally at your discretion. Modern mathematics needs to integrate the zero-one function V(x) in the first remark. Somehow V has more 0's than 1's. The fractions (where V(x) = 1) can be put in a list, but the irrational numbers (where V(x) = 0) are "uncountable." The integral ought to be zero, but Riemann's upper sums all involve Mk = 1.

Lebesgue discovered a major improvement. He allowed infinitely many subintervals (smaller and smaller). Then all fractions can be covered with intervals of total width ε. (Amazing, when the fractions are packed so densely.) The idea is to cover 1/q, 2/q, …, q/q by narrow intervals of total width ε/2q. Combining all q = 1, 2, 3, …, the total width to cover all fractions is no more than ε(½ + ¼ + 1/8 + …) = ε. Since V(x) = 0 everywhere else, the upper sum S is only ε. And since ε was arbitrary, the "Lebesgue integral" is zero as desired.

That completes a fair amount of theory, possibly more than you want or need—but it is satisfying to get things straight. The definition of the integral is still being studied by experts (and so is the derivative, again to allow more functions). By contrast, the properties of the integral are used by everybody. Therefore the next section turns from definition to properties, collecting the rules that are needed in applications. They are very straightforward.