Kittttttan*s Web

日本語 | English

Calculus

5.Integrals

5.1 The Idea of the Integral

This chapter is about the idea of integration, and also about the technique of integration. We explain how it is done in principle, and then how it is done in practice. Integration is a problem of adding up infinitely many things, each of which is infinitesimally small. Doing the addition is not recommended. The whole point of calculus is to offer a better way.

The problem of integration is to find a limit of sums. The key is to work backward from a limit of differences (which is the derivative). We can integrate v(x) ifit turns up as the derivative of another function ƒ(x). The integral of v = cos x is ƒ = sin x. The integral of v = x is ƒ = ½x². Basically, ƒ(x) is an "antiderivative". The list of ƒ's will grow much longer (Section 5.4 is crucial). A selection is inside the cover of this book. If we don't find a suitable ƒ(x), numerical integration can still give an excellent answer.

I could go directly to the formulas for integrals, which allow you to compute areas under the most amazing curves. (Area is the clearest example of adding up infinitely many infinitely thin rectangles, so it always comes first. It is certainly not the only problem that integral calculus can solve.) But I am really unwilling just to write down formulas, and skip over all the ideas. Newton and Leibniz had an absolutely brilliant intuition, and there is no reason why we can't share it.

They started with something simple. We will do the same.

SUMS AND DIFFERENCES

Integrals and derivatives can be mostly explained by working (very briefly) with sums and differences. Instead of functions, we have n ordinary numbers. The key idea is nothing more than a basic fact of algebra. In the limit as n → ∞,it becomes the basic fact of calculus. The step of "going to the limit" is the essential difference between algebra and calculus! It has to be taken, in order to add up infinitely many infinitesimals—but we start out this side of it.

To see what happens before the limiting step, we need two sets of n numbers. The first set will be v1, v2, …, vn, where suggests velocity. The second set of numbers will be ƒ1, ƒ2, …, ƒn, where ƒ recalls the idea of distance. You might think d would be a better symbol for distance, but that is needed for the dx and dy of calculus. A first example has n = 4:

v1, v2, v3, v4= 1, 2, 3, 4   ƒ1, ƒ2, ƒ3, ƒ4 = 1, 3, 6, 10.

The relation between the v's and ƒ's is seen in that example. When you are given 1, 3, 6, 10, how do you produce 1, 2, 3, 4? By taking drerences. The difference between 10 and 6 is 4. Subtracting 6 − 3 is 3. The difference ƒ2 − ƒ1 = 3 − 1 is v2 = 2. Each v is the difference between two ƒ's:

vj is the difference ƒj − ƒj-1.

This is the discrete form of the derivative. I admit to a small difficulty at j = 1, from the fact that there is no ƒ0. The first v should be ƒ1 − ƒ0, and the natural idea is to agree that ƒ0 is zero. This need for a starting point will come back to haunt us (or help us) in calculus.

Now look again at those same numbers—but start with v. From v = 1, 2, 3, 4 how do you produce ƒ = 1, 3, 6, 10? By taking sums. The first two v's add to 3, which is ƒ2. The first three v's add to ƒ3 = 6. The sum of all four v's is 1 + 2 + 3 + 4 = 10. Taking sums is the opposite of taking differences.

That idea from algebra is the key to calculus. The sum ƒj involves all the numbers v1 + v2 + … + vj. The difference vj involves only the two numbers ƒj − ƒj-1. The fact that one reverses the other is the "Fundamental Theorem." Calculus will change sums to integrals and differences to derivatives—but why not let the key idea come through now?

5AFundamental Theorem of Calculus (before limits):
If each vj = ƒj − ƒj-1, then v1 + v2 + … + vn = ƒn − ƒ0.

The differences of the ƒ's add up to ƒn − ƒ0. All ƒ's in between are canceled, leaving only the last ƒn and the starting ƒ0. The sum "telescopes":

v1 + v2 + … + vn = (ƒ1 − ƒ0) + (ƒ2 − ƒ1) + (ƒ3 − ƒ2) + … + (ƒn − ƒn-1).

The number ƒ1 is canceled by -ƒ1. Similarly -ƒ2 cancels ƒ2 and -ƒ3, cancels ƒ3. Eventuallyfn and -ƒ0 are left. When ƒ0 is zero, the sum is the final ƒn.

That completes the algebra. We add the v's by finding the ƒ's.

Question   How do you add the odd numbers 1 + 3 + 5 + … + 99 (the v's)?

Answer   They are the differences between 0, 1, 4, 9, …. These ƒ's are squares. By the Fundamental Theorem, the sum of 50 odd numbers is (50)².

The tricky part is to discover the right ƒ's! Their differences must produce the v's. In calculus, the tricky part is to find the right ƒ(x). Its derivative must produce v(x). It is remarkable how often ƒ can be found—more often for integrals than for sums. Our next step is to understand how the integral is a limit of sums.

SUMS APPROACH INTEGRALS

Suppose you start a successful company. The rate of income is increasing. After x years, the income per year is √x million dollars. In the first four years you reach √1, √2, √3, and √4 million dollars. Those numbers are displayed in a bar graph (Figure 5.1a, for investors). I realize that most start-up companies make losses, but your company is an exception. If the example is too good to be true, please keep reading.

Fig.5.1 Total income = total area of rectangles = 6.15.

The graph shows four rectangles, of heights √1, √2, √3, √4. Since the base of each rectangle is one year, those numbers are also the areas of the rectangles. One investor, possibly weak in arithmetic, asks a simple question: What is the total income for all four years? There are two ways to answer, and I will give both.

The first answer is √1 + √2 + √3 + √4. Addition gives 6.15 million dollars. Figure 5.1b shows this total—which is reached at year 4. This is exactly like velocities and distances, but now v is the incomeper year and ƒ is the totalincome. Algebraically, ƒj is still v1 + … + vj.

The second answer comes from geometry. The total income is the total area of the rectangles. We are emphasizing the correspondence between athiition and area. That point may seem obvious, but it becomes important when a second investor (smarter than the first) asks a harder question.

Here is the problem. The incomes as stated are false. The company did not make a million dollars the first year. After three months, when x was 1/4, the rate of income was only √x = 1/2. The bar graph showed √1 = 1 for the whole year, but that was an overstatement. The income in three months was not more than 1/2 times 1/4, the rate multiplied by the time.

All other quarters and years were also overstated. Figure 5.2a is closer to reality, with 4 years divided into 16 quarters. It gives a new estimate for total income.

Again there are two ways to find the total. We add √1/4 + √2/4 + … + √16/4, remembering to multiply them all by 1/4 (because each rate applies to 1/4 year). This is also the area of the 16 rectangles. The area approach is better because the 1/4 is automatic. Each rectangle has base 1/4, so that factor enters each area. The total area is now 5.56 million dollars, closer to the truth.

You see what is coming. The next step divides time into weeks. After one week the rate √x is only √1/52. That is the height of the first rectangle-its base is Δx = 1/52. There is a rectangle for every week. Then a hard-working investor divides time into days, and the base of each rectangle is Δx = 1/365. At that point there are 4 × 365 = 1460 rectangles, or 1461 because of leap year, with a total area below 5½ million dollars. The calculation is elementary but depressing—adding up thousands of square roots, each multiplied by Δ x from the base. There has to be a better way.

Fig.5.2 Income = sum of areas (not heights) = (1/4)(√(1/4) + √(2/4) + … √(16/4))

The better way, in fact the best way, is calculus. The whole idea is to allow for continuous change. The geometry problem is to find the area under the square root curve. That question cannot be answered by arithmetic, because it involves a limit. The rectangles have base &Delat;x and heights √Δx, √2Δx, …, √4. There are 4/Δx rectangles—more and more terms from thinner and thinner rectangles. The area is the limit of the sum as Δx → 0.

This limiting area is the "integral." We are looking for a number below 5½.

Algebra (area of n rectangles): Compute v1 + … + vn by finding ƒ's.

Key idea: If vj = ƒj − ƒj-1 then the sum is ƒn − ƒ0.

Calculus (area under curve): Compute the limit of Δx[v(Δx) + v(2Δx) + …].

Key idea: If v(x) = dƒ/dx then area = integral to be explained next.