<<

3.3 for Infinite 3.3.1 The test

We may plot the an in the Cartesian plane, with independent variable n and dependent variable a. n X The sum an can then be represented geometrically as the of a collection of rectangles with n=1 height an and width 1. This geometric viewpoint suggests that we compare this sum to an integral. If an can be represented as a of n, for real numbers n, not just integers, and if the m X sequence an is decreasing, then an looks a bit like area under the curve a = a(n). n=1 In particular, m m+2 X Z m+1 X an > an dn > an n=1 n=1 n=2 For example, let us examine the first 10 terms of the harmonic series

10 X 1 1 1 1 1 1 1 1 1 1 = 1 + + + + + + + + + . n 2 3 4 5 6 7 8 9 10 1 1 1 If we draw the curve y = x (or a = n ) we see that

10 11 10 X 1 Z 11 dx X 1 X 1 1 > > = − 1 + . n x n n 11 1 1 2 1

(See Figure 1, copied from Wikipedia)

Z 11 dx Now = ln(11) − ln(1) = ln(11) so 1 x

10 X 1 1 1 1 1 1 1 1 1 1 = 1 + + + + + + + + + > ln(11) n 2 3 4 5 6 7 8 9 10 1 and 1 1 1 1 1 1 1 1 1 1 1 + + + + + + + + + < ln(11) + (1 − ). 2 3 4 5 6 7 8 9 10 11 Z dx So we may bound our series, above and below, with some version of the integral . x If we allow the sum to turn into an infinite series, we turn the integral into an . The ∞ Z ∞ dx X 1 integral diverges to infinity, so the sum must also diverge. x n 1 1 In general, the convergence or of a series is equivalent to convergence or divergence of the associated improper integral.

Theorem. (Integral test) ∞ X Suppose a(n) is a continuous function of n for all positive real numbers n. Then the series an 1 Z ∞ converges or diverges exactly when a(x) dx converges or diverges. 1

1 Figure 1: The integral test

Warning! If the integral converges then the associated series converges. But they might not converge ∞ Z ∞ dx X 1 to the same thing! For example, the integral converges to 1. But the series converges to x2 n2 1 1 π2 a number larger than 1! (Indeed, Euler discovered around 1735 that the series converges to .) 6

See http://en.wikipedia.org/wiki/Integral_test for the Wikipedia summary of this test.

3.3.2 p-series ∞ X 1 For what values of the exponent p does the series converge? np 1 According to the integral test, we can ask, instead, “for what values of the exponent p does the integral ∞ X dx converge? xp 1 The improper integral is evaluated as follows:

1. If p > 1 then

Z ∞ Z b  b dx −p 1 −p+1 1 −p+1 p = lim x dx = lim x = lim (b − 1) 1 x b→∞ 1 b→∞ 1 − p 1 b→∞ 1 − p

−p+1 Since p > 1 then limb→∞ b = 0 and so this integral and the associated series converge. 2. If p = 1 then

Z ∞ Z ∞ Z b 1 dx dx b p = = lim = lim [ln x ]1 = lim ln b = ∞. 1 x 1 x b→∞ 1 x b→∞ b→∞

So the integral and the associated series diverge. ∞ X 1 But then the series is the harmonic series. We already knew that it diverges! n 1

2 3. If p < 1 then Z ∞ dx 1 −p+1 p = lim (b − 1) 1 x b→∞ 1 − p

−p+1 Since p > 1 then limb→∞ b = ∞ and so this integral and the associated series converge. So the integral and the associated series diverge.

Conclusion. (p-test) ∞ X 1 The series converges if and only if p > 1. np 1

3.3.3 Comparison tests The integral test provides information about convergence and divergence of a series, if we can evaluate the integral. Even if we can evaluate the integral and the series converges, all the test tells us is that the series converges. It does not tell us the of the series. We now focus on convergence/divergence and give up attempting to determine the exact limit of a converging series. Once we are willing to do this, it turns out that there are a number of techniques that will provide us with convergence/divergence information.

The first test is the comparison test. Think of a converging series as one which is “small”, that is, the terms go to zero so rapidly that the infinite sum converges to a finite . If another series is “smaller” than a converging series then it too should converge. On the other hand, a series which diverges to infinity is “large” – that is, the terms, even if they go to zero, provide a sum which grows beyond bounds. Therefore another series which is term-by-term larger than a diverging series, should also diverge to infinity. We can make this precise. ∞ ∞ X X If an ≥ bn ≥ 0 for all n and bn diverges then an diverges. n=0 n=0 ∞ ∞ X X If 0 ≤ an ≤ bn for all n and bn converges then an converges. n=0 n=0

In some cases, we can’t do a strict comparison test between two series but the series begin, in the limit, to “look alike.”

This leads us to the : an P P If lim = 1 then an and bn either both converge or both diverge. n→∞ bn

Let’s make this clear with some examples.

∞ X 1 n n 1 1. We know, via the integral test, that the harmonic series diverges. Since > = n n2 − 0.5 n2 n n=1 ∞ X n then the series diverges by the (strict) comparison test. n2 − 0.5 1

∞ X n 2. What about ? The straightforward comparison test does not help us here since n < 1 n2 + 1 n2+1 n 1 and it does us no good to examine a series which is term-by-term smaller than one which diverges.

3 n 1 n2 However, if we compare the two in the limit, and compute the ratio n2+1 / n = n2+1 then, in the n2 limit, as n → ∞, we have n2+1 → 1. In the limit, the two series become indistinguishable and so the limit comparison test assures us that as far as convergence/divergence is concerned, the two series act the same. They both diverge.

∞ X 1 3. We know, via the integral test, that the series converges. n2 n=1 What about ∞ X 1 n2 + 1 n=1 or ∞ X 1 ? n2 − 1 n=2

∞ X 1 In the first case, we can use the strict comparison test and note that since 1 < 1 then n2+1 n2 n2 + 1 n=1 is smaller, term-by-term, than a converging series and so it converges. ∞ ∞ X 1 X 1 In the second case, we know that is term-by-term larger than and this is not n2 − 1 n2 n=2 n=2 1 1 helpful. But the limit comparison test is helpful since the limit (as n → ∞) of ( )/( ) = n2 + 1 n2 ∞ ∞ ∞ ∞ n2 X 1 X 1 X 1 X 1 is 1. Since converges then so does and since converges then n2 + 1 n2 n2 n2 n2 − 1 n=1 n=2 n=2 n=2 converges.

The comparison tests are valuable when the series we are examining is “close” to a series we already understand. Often a little algebra allows us to appropriately compare the series in front of us with the series we know and get the same result. (But we must make sure the comparison is legitimate! For example, it does no good to compare a series with a diverging one if our series is term-by-term smaller!)

3.3.4 Big-oh and little-oh (Under construction. See http://en.wikipedia.org/wiki/Big_O_notation and notes stored with an- other course....)

3.3.5 We know that if a series converges, the terms must go to zero. But there are series (such as the harmonic series) where the terms go to zero but the series diverges. So if an → 0 then we know nothing about P an! Does the terms going to zero ever really help us? There is one case where we an → 0 is truly helpful.

The ∞ X If an is an alternating series and the terms an go to zero then the series converges. n=0

Absolute convergence. ∞ ∞ X X A series an converges absolutely if the series |an| converges. n=0 n=0

4 ∞ ∞ X X If a series |an| converges then so does an. n=0 n=0 P P An alternating series an converges conditionally if the series converges but |an| does not; in this case, the alternating terms are critical to the convergence of the series.

3.3.6 Ratio and root tests a A is detectable by the fact that the ratio n+1 = r is a constant, independent of n. an It turns out that many series which are not geometric have a “ratio” in the limit. Guided by the convergence tests for a geometric series, we have the following.

The (important!) a If the limit ρ = lim | n+1 | exists and if less than one, the series converges. n→∞ an If the limit ρ exists and is greater than one, the series diverges.

Note. Unlike the geometric series, it turns out that we know nothing here if the ratio is exactly 1. The series may or may not converge. (Some examples: the harmonic series, the alternating harmonic series, the Basel series.)

We will use the ratio test almost exclusively when we get to and .

The Another version of the question “does it eventually look geometric?” leads us to the root test. √ n If the limit ρ = lim an exists and if less than one, the series converges. n→∞ If the limit ρ exists and is greater than one, the series diverges.

3.3.7 Summary of convergence tests ∞ X Here are a few tests we can use for convergence of a series an. n=0

(See the flowchart which accompanies this.)

1. A series to recognize: Geometric! The ratio an+1 is a constant, independent of n. an

2. The “terms-must-go-to-zero” test for divergence.

If a series converges then the terms an must converge to zero. So if the terms an do not converge to zero then the series must diverge.

3. The integral test. ∞ X Z ∞ If an is an integrable function of n then the series an converges if and only if a(x) dx does. n=0 x=0 (3a) p-series (and harmonic series.)

5 X 1 converges if and only if p > 1. np The harmonic series is the series where p = 1; it diverges.

4. Be alert for the partial fractions decomposition and possibly a . 5. The comparison test. ∞ ∞ X X If an ≥ bn ≥ 0 for all n and bn diverges then an diverges. n=0 n=0 ∞ ∞ X X If 0 ≤ an ≤ bn for all n and bn converges then an converges. n=0 n=0

6. The limit comparison test an P P If lim = 1 then an and bn both converge or diverge. n→∞ bn 7. The alternating series test ∞ X If an is an alternating series and the terms an go to zero then the series converges. n=0 8. . ∞ ∞ X X A series an converges absolutely if the series |an| converges. n=0 n=0 ∞ ∞ X X If a series |an| converges then so does an. n=0 n=0

9. The ratio test a If the limit ρ = lim | n+1 | exists and if less than one, the series converges. n→∞ an If the limit ρ exists and is greater than one, the series diverges. 10. The root test √ n If the limit ρ = lim an exists and if less than one, the series converges. n→∞ If the limit ρ exists and is greater than one, the series diverges.

6