Integral Calculus 201-SN3-RE (201-NYB) • CEGEP, Montreal
Corrected exercises: advanced convergence tests and classic pitfalls, 201-SN3-RE (201-NYB)
This is the third set of corrected exercises on infinite series in 201-SN3-RE (formerly 201-NYB), Integral Calculus, the CEGEP course in the Science program. The first two cover the usual tests and their use on transcendental terms; this one exists to fill what was left, for a specific reason: a hard exam does not test the usual tests, it tests the ones nobody reviewed and the pitfalls that trip up good students. It covers the Cauchy criterion for series, the Cauchy condensation test and Bertrand series, the root test (Cauchy's nth root rule) compared with the ratio test (d'Alembert's rule), Raabe's test (the Raabe-Duhamel rule), telescoping series, Taylor expansions pushed to a higher order, Abel's test and the Cauchy product of two series.
By the end of the fifteen exercises, you can prove that the harmonic series diverges with the Cauchy criterion (exercise 1), recover the p-series and Bertrand results by condensation (exercise 2), conclude with the nth root where the ratio test says nothing (exercise 3), settle a series whose ratio tends to 1 with Raabe's test (exercises 4 and 12), compute an exact sum by telescoping, with square roots, an inverse tangent or factorials (exercises 5 and 11), and multiply two series with the Cauchy product, all the way to the distribution of the sum of two geometric waiting times (exercises 9 and 14). Exercise 15 speeds up the alternating harmonic series by averaging two partial sums.
Three exercises deserve special attention. Exercise 6 shows that reasoning with asymptotic equivalents, perfectly legitimate on positive terms, becomes WRONG as soon as the sign changes: it is the most expensive mistake of the whole chapter. Exercise 8 presents Abel's test, the only tool able to handle a series such as the sum of the nsinn, whose signs follow no regular alternation. Exercise 9 shows that the Cauchy product of two conditionally convergent series can diverge: the absolute convergence hypothesis is not decoration. Exercise 10 brings it all together: eight series, and for each one the choice of the test BEFORE any computation.
Self-checking setType your answers and check them question by question: the page tells you right or wrong before you open the solution. With an account, every answer right on the first try earns points, and your right answers stay filled in when you come back.
•Cauchy criterion: ∑an converges if and only if for every ε>0 there is an N such that ∑n=p+1qan<ε for all q>p≥N. It is a NECESSARY AND SUFFICIENT condition, unlike the divergence test.
•Cauchy condensation test: if (an) is positive and decreasing, ∑an and ∑2na2n either both converge or both diverge.
•If anan+1→L, then n∣an∣→L as well. The root test (Cauchy's rule) therefore concludes whenever the ratio test (d'Alembert's rule) does, and sometimes when it does not.
•Raabe's test (Raabe-Duhamel): if anan+1=1−nα+o(n1) with an>0, the series converges if α>1 and diverges if α<1.
•Abel's test (called Dirichlet's test in most English textbooks): if (an) decreases to 0 and the partial sums of (bn) are bounded, then ∑anbn converges. The alternating series test is the special case bn=(−1)n.
•PITFALL: the limit comparison test and asymptotic equivalents require a CONSTANT SIGN. On a series whose signs vary, two equivalent terms can give series that behave differently.
•Cauchy product: cn=∑k=0nakbn−k. If ∑an and ∑bn converge ABSOLUTELY, then ∑cn converges to the product of the sums.
Part A: the tests you do not always learn (/50)
Exercise 1: The Cauchy criterion: necessary AND sufficient
The divergence test only gives a necessary condition: it can establish divergence, never convergence. The Cauchy criterion, on the other hand, characterizes convergence completely.
a) State the Cauchy criterion for a series ∑an.
b) Taking q=p+1, deduce that the general term of a convergent series necessarily tends to 0.
c) Use the criterion with q=2p to prove that the harmonic series DIVERGES, without using the integral test or grouping the terms into blocks.
d) Use it to show that ∑n21 converges, by bounding ∑n=p+1qn21 above with a telescoping sum.
e) Why is this criterion so valuable in theory, when it is almost never used in practice?
Show the solution
Answers
a)Blocks ∑p+1qan<ε once q>p≥N
b)q=p+1: an→0
c)Block ≥21: the harmonic series diverges
d)Block <p1: converges
e)A proof tool more than a computing tool
a)
The series ∑an converges if and only if: for every ε>0, there is an index N such that for all q>p≥N, ∑n=p+1qan<ε. In other words, blocks of consecutive terms become arbitrarily small, however long they are.
b)
Taking q=p+1, the sum reduces to the single term ap+1, and the condition becomes ∣ap+1∣<ε as soon as p≥N: this is exactly the definition of an→0. The divergence test is therefore a simple corollary of the Cauchy criterion, which explains why it is necessary but not sufficient: it only uses blocks of length 1.
c)
Take q=2p. Each of the p terms of ∑n=p+12pn1 is greater than or equal to 2p1, so ∑n=p+12pn1≥p⋅2p1=21. These blocks never become small, whatever p is: the Cauchy criterion fails with ε=21, so the harmonic series DIVERGES. (Numerically, these blocks actually tend to ln2≈0.693, well above 21.)
d)
For n≥2, n21≤n(n−1)1=n−11−n1. Summing from p+1 to q, the sum telescopes: ∑n=p+1qn21≤p1−q1<p1. Given ε>0, it is enough to take N>ε1 for every block to be smaller than ε. The series CONVERGES.
e)
It is valuable because it characterizes convergence without ever mentioning the value of the sum: it is the tool used to prove the other tests, and it is what ties convergence to the completeness of R. In practice it is not used, because ALL the blocks must be controlled at once, which is much harder than applying a comparison. It therefore serves mainly as a proof tool, and to establish divergence as in c.
Tick the exercises you have done or want to review: a free account, no password, keeps your ticks and your right answers from one visit to the next, tells you which chapter to tackle next and lets you ask for the exercise you are missing. Create your space, an email is enough.
Exercise 2: Cauchy condensation: the p-series and Bertrand tests in one line
The condensation theorem states that if (an) is positive and decreasing, then ∑an and ∑2na2n either both converge or both diverge. It turns a slowly decreasing series into a geometric series.
a) Apply condensation to an=np1. Which series do you get, and what does it tell you?
b) Conclude: for which values of p does the p-series converge? You have just proved the p-series test completely.
c) Apply condensation to an=nlnn1 for n≥2.
d) Apply it to an=n(lnn)β1 and recover Bertrand's test.
e) Where is the decreasing hypothesis used? Give the idea of the proof by bounding ∑an above and below with blocks.
Show the solution
Answers
a)∑(21−p)n, geometric
b)Converges if and only if p>1
c)nln21: diverges
d)Bertrand: β>1
e)Decreasing: bounds on the blocks
a)
Compute 2na2n=2n⋅(2n)p1=2n(1−p)=(21−p)n. It is a geometric series with common ratio r=21−p, which converges if and only if r<1.
b)
21−p<1 is equivalent to 1−p<0, that is, p>1. The p-series converges if and only if p>1. Condensation therefore proves the p-series test in three lines, without any integral: it reduces everything to a geometric series, whose behaviour has been known since the start of the chapter.
c)
2na2n=2nln(2n)2n=nln21. This is the harmonic series up to a constant factor, which DIVERGES. So ∑nlnn1 diverges, even though its general term is much smaller than n1.
d)
2na2n=2n(nln2)β2n=(ln2)β1⋅nβ1. Up to a constant, this is a p-series with exponent β: it converges if and only if β>1. This is exactly Bertrand's test, and the proof also explains WHY the logarithm plays the role of the variable again: condensation turns ln2n into nln2.
e)
The decreasing hypothesis is essential to bound each block by its first and last terms. Idea: group the terms into blocks [2k,2k+1), which contain 2k terms. Since the sequence decreases, each term lies between a2k+1 and a2k, so the block lies between 2ka2k+1 and 2ka2k. Summing over k, the whole series lies between 21∑2k+1a2k+1 and ∑2ka2k: the two series therefore behave the same way. Without the decreasing hypothesis the bounds collapse, and the theorem is false.
Exercise 3: Root test versus ratio test: which one is stronger
Consider the series with general term an=2−n−(−1)n, that is, an=2−n−1 if n is even and an=2−n+1 if n is odd.
a) Compute a2, a3, a4 and a5, then the ratios a2a3 and a3a4.
b) Show that the ratio anan+1 only takes two values and therefore has no limit. What does the ratio test (d'Alembert's rule) conclude?
c) Compute nan and its limit. What does the root test (Cauchy's rule) conclude?
d) State the general theorem relating the two tests, and deduce which one is more powerful.
e) Give a series on which BOTH tests fail, and say how you conclude in that case.
Show the solution
Answers
a)a3/a2=2; a4/a3=81
b)Ratio without a limit: the ratio test is silent
c)Root tends to 21: converges
d)Root test strictly stronger
e)∑n1: both fail
a)
a2=2−3=81=0.125, a3=2−2=41=0.25, a4=2−5=321, a5=2−4=161. The ratios: a2a3=2 and a3a4=81. The sequence is not even decreasing: it zigzags.
b)
anan+1=2−(n+1)−(−1)n+1+n+(−1)n=2−1+2(−1)n. For even n this equals 21=2, for odd n it equals 2−3=81. The ratio oscillates forever between 2 and 81: it has no limit, and the ratio test is INCONCLUSIVE. It does not even conclude divergence, although the ratio exceeds 1 every other time.
c)
nan=2n−n−(−1)n=2−1−n(−1)n. Since n(−1)n→0, the limit is 2−1=21<1: the root test concludes CONVERGENCE. (The sum is in fact exactly 23, splitting the even and odd indices into two geometric series.)
d)
Theorem: if anan+1 has a limit L, then n∣an∣ has the same limit L. The converse is false, as the example above shows. The root test is therefore STRICTLY STRONGER: whenever the ratio test concludes, the root test reaches the same conclusion, and it sometimes concludes when the ratio test is silent. In practice the ratio test still remains the first reflex, because ratios of factorials simplify far more easily than their nth roots.
e)
The harmonic series ∑n1: the ratio tends to 1 and so does the nth root, since nn1=e−nlnn→1. Both tests fail together, and that is no accident: both implicitly compare the series with a geometric series, and no geometric series can mimic a polynomial decrease. You then conclude with the p-series test, by comparison or with the integral test.
Exercise 4: Raabe's test (Raabe-Duhamel): when the ratio tends to 1
When the ratio test gives 1, all is not lost: the SPEED at which the ratio approaches 1 still carries the information. Write anan+1=1−nα+o(n1); the series converges if α>1 and diverges if α<1.
a) Apply the test to an=np1: compute α and recover the p-series test.
b) Let an=2⋅4⋅6⋯(2n)1⋅3⋅5⋯(2n−1). Compute a1, a2 and a3, then simplify the ratio anan+1.
c) What does the ratio test give on this series? Then apply Raabe's test and conclude.
d) Take for granted that an∼πn1. Check that this is consistent with c, then give the behaviour of ∑an2 and of ∑an3.
e) Why does Raabe's test see what the ratio test does not?
Show the solution
Answers
a)α=p: p-series test recovered
b)a3=165; ratio 2n+22n+1
c)α=21: diverges
d)∑an2 diverges, ∑an3 converges
e)Raabe reads the n1 term
a)
anan+1=(n+1n)p=(1+n1)−p=1−np+o(n1) by the Taylor expansion. So α=p, and the test gives convergence for p>1 and divergence for p<1: exactly the p-series test. (The case p=1 escapes the test, as always on the boundary.)
b)
a1=21, a2=2⋅41⋅3=83=0.375, a3=2⋅4⋅61⋅3⋅5=4815=165=0.3125. The ratio simplifies drastically, since all the common factors cancel: anan+1=2n+22n+1.
c)
2n+22n+1→1: the ratio test is inconclusive. Expand: 2n+22n+1=1−2n+21=1−2n1+o(n1), so α=21. Since α<1, the series DIVERGES. Numerical check: n(1−anan+1) equals 0.490 for n=50 and 0.499 for n=500, which confirms α=21.
d)
If an∼πn1=π1n−1/2, then ∑an behaves like a p-series with exponent 21≤1: it diverges, which confirms c. Next, an2∼πn1, exponent 1: ∑an2 DIVERGES too. Finally, an3∼(πn)3/21, exponent 23>1: ∑an3 CONVERGES.
e)
Because the ratio test only keeps the LIMIT of the ratio and throws away all the information on how that limit is reached. Yet between 1−2n1 and 1−n2, the limit is the same but the decrease of an is radically different, like n−1/2 in one case and like n−2 in the other. Raabe's test reads precisely the n1 term of the expansion, that is, what the ratio test had neglected.
Exercise 5: Partial fractions and telescoping: computing the exact sum
Deciding whether a series converges is one thing; computing its sum is another. For rational fractions, partial fraction decomposition often reveals a telescoping sum that gives the exact value.
a) Decompose n(n+1)1 into partial fractions and compute ∑n≥1n(n+1)1.
b) Same work for ∑n≥1n(n+2)1. Careful: here the telescoping leaves TWO terms.
c) Compute ∑n≥1n(n+1)(n+2)1.
d) Show that n2(n+1)22n+1=n21−(n+1)21 and deduce the sum of the corresponding series.
e) Compute ∑n≥2ln(1−n21) by factoring the argument of the logarithm.
Show the solution
Answers
a)1
b)43
c)41
d)1
e)−ln2
a)
n(n+1)1=n1−n+11. The partial sum telescopes: SN=1−N+11→1. The sum is exactly 1.
b)
n(n+2)1=21(n1−n+21). Since the shift is 2, the terms cancel two indices apart, and TWO terms REMAIN at the start: SN=21(1+21−N+11−N+21)⟶21⋅23=43. The general rule: a shift of k leaves k terms on each side.
c)
n(n+1)(n+2)1=21(n(n+1)1−(n+1)(n+2)1). This is again a telescoping sum, on the sequence un=n(n+1)1: the sum equals 21u1=21⋅21=41.
d)
Use a common denominator: n21−(n+1)21=n2(n+1)2(n+1)2−n2=n2(n+1)22n+1, which is indeed the stated identity. The sum therefore telescopes to 121=1.
e)
1−n21=n2n2−1=n2(n−1)(n+1), so ln(1−n21)=ln(n−1)+ln(n+1)−2lnn=[ln(n+1)−lnn]−[lnn−ln(n−1)]. This is the difference of two consecutive terms of the sequence vn=ln(n+1)−lnn, so the sum from 2 to N equals vN−v1=lnNN+1−ln2→−ln2. The sum is −ln2≈−0.693. Note in passing that all the terms are negative, which is consistent.
Part B: the pitfalls (/50)
Exercise 6: The major pitfall: an asymptotic equivalent can only be used when the sign is constant
The limit comparison test is a theorem about series with POSITIVE TERMS. This exercise shows that forgetting it leads to wrong conclusions, and that the pitfall is completely invisible unless you are on your guard.
a) Let an=n(−1)n and bn=n(−1)n+n1. Show that anbn→1, so that an and bn are asymptotically equivalent.
b) Determine the behaviour of ∑an, then that of ∑bn. What do you notice?
c) Explain precisely which hypothesis of the limit comparison test is violated.
d) Study ∑n≥2ln(1+n(−1)n). The term is equivalent to n(−1)n, whose series converges: does the series converge for all that?
e) State the correct method to apply to a series whose terms change sign.
Show the solution
Answers
a)anbn→1
b)∑an converges, ∑bn diverges
c)Constant sign required
d)Expansion: −2n1, diverges
e)Absolute convergence first, then expansion
a)
anbn=1+(−1)n/n1/n=1+n(−1)n⟶1. The two sequences are therefore indeed equivalent in the usual sense.
b)
∑an is an alternating series whose absolute value n1 decreases to 0: it CONVERGES (conditionally). On the other hand, ∑bn=∑an+∑n1, the sum of a convergent series and the divergent harmonic series: it DIVERGES. Two series with equivalent terms thus behave in OPPOSITE ways here, which is impossible for positive terms.
c)
The limit comparison test requires the terms to have a constant sign, at least from some index on. Here an changes sign at every index. The equivalence bn∼an controls the ratio, but not the DIFFERENCE: bn−an=n1 is negligible compared with an∼n−1/2 (in absolute value), and yet its series diverges. With positive terms such an accident cannot happen, because convergence is then equivalent to the partial sums simply being bounded above.
d)
No. The Taylor expansion gives ln(1+n(−1)n)=n(−1)n−2n1+O(n3/21). The first term gives a convergent series and so does the third (a p-series with exponent 23), but the middle term, −2n1, produces a divergent series. The series therefore DIVERGES, and its partial sums behave like −21lnN. This is the typical counterexample: the equivalent was correct, the conclusion drawn from it was wrong.
e)
On a series whose terms change sign, NEVER reason with equivalents. Proceed in this order: first test for absolute convergence, which settles the matter if ∑∣an∣ converges; otherwise, expand the general term to an order high enough to separate an alternating part, handled by the alternating series test (Leibniz), from a remainder of constant sign, handled by the p-series test; conclude on the SUM of these pieces. This is exactly the method of question d.
Exercise 7: When the equivalent vanishes: the Taylor expansion to a higher order
When two equivalent quantities are subtracted, the first-order equivalent cancels out and no longer tells you anything. You must then push the Taylor expansion as far as the first nonzero term.
a) Study ∑n≥1(sinn1−n1). What does the first-order equivalent give, and why is it not enough?
b) Study ∑n≥1(n1−ln(1+n1)).
c) Study ∑n≥1(e1/n−1−n1).
d) Study ∑n≥1((1+n1)n−e). The term tends to 0: is that enough?
e) State the general rule: to which order must you expand?
Show the solution
Answers
a)∼−6n31: converges
b)∼2n21: converges
c)∼2n21: converges
d)∼−2ne: diverges
e)As far as the first nonzero term
a)
To first order, sinn1∼n1, so the difference is equivalent to 0: the information is lost, and a zero equivalent says nothing. Push the expansion further: sinu=u−6u3+O(u5) with u=n1, hence sinn1−n1=−6n31+O(n51)∼−6n31. The terms have a constant sign (negative) and are comparable to n−3: the series CONVERGES absolutely. Check at n=100: the difference equals −1.6667×10−7, and −6⋅1061 equals −1.6667×10−7.
b)
ln(1+u)=u−2u2+O(u3), so n1−ln(1+n1)∼2n21. Positive terms, exponent 2>1: the series CONVERGES. At n=100 the difference equals 4.967×10−5, close to 2⋅1041=5×10−5.
c)
eu=1+u+2u2+O(u3), so e1/n−1−n1∼2n21: the series CONVERGES, for the same reason as in b. At n=100: 5.017×10−5.
d)
No, it is not enough: a term that tends to 0 is necessary but never sufficient. Expand: (1+n1)n=exp(nln(1+n1))=exp(1−2n1+O(n21))=e(1−2n1+O(n21)), so the term equals −2ne+O(n21)∼−2ne. Terms of constant sign, equivalent to a multiple of n1: the series DIVERGES. At n=1000 the term equals −1.3579×10−3, against −2000e=−1.3591×10−3.
e)
You must expand as far as the FIRST NONZERO TERM. That term provides the equivalent you are looking for, and it alone decides the behaviour; everything else is negligible compared with it. On a series whose terms change sign, you must go one step further still, until every term whose series diverges has been isolated, as in the previous exercise.
Exercise 8: Abel's test: beyond alternating series
The series ∑nsinn does not have positive terms, and it is not alternating either: the signs of sinn follow one another irregularly. None of the tests seen so far applies. Abel's test, often called Dirichlet's test in English textbooks, is made exactly for this.
a) State Abel's test, and show that the alternating series test is a special case of it.
b) Using the complex geometric sum ∑k=1neik, show that the partial sums ∑k=1nsink are bounded. Give an explicit bound.
c) Deduce that ∑n≥1nsinn converges.
d) Is this series absolutely convergent? Use ∣sinn∣≥sin2n=21−cos2n.
e) Does Abel's test apply to ∑nsinn? And to ∑sinn?
Show the solution
Answers
a)Leibniz: Abel with (−1)n
b)∣∑sink∣≤sin211≈2.086
c)Converges, sum 2π−1
d)Conditionally convergent
e)nsinn converges; sinn diverges
a)
Abel's test: if (an) is a positive DECREASING sequence that tends to 0, and if the partial sums Bn=∑k=1nbk are BOUNDED, then ∑anbn converges. Special case: with bn=(−1)n, the partial sums are alternately −1 and 0, so they are bounded by 1; this is exactly the alternating series test. Leibniz's test is therefore nothing but Abel's test with the simplest possible oscillating part.
b)
The geometric sum with ratio ei=1 equals ∑k=1neik=eiei−1ein−1, whose modulus is bounded by ∣ei−1∣∣ein−1∣≤∣ei−1∣2=2sin212=sin211≈2.086. Since ∑k=1nsink is the imaginary part of this sum, it is bounded by the same constant. (Numerically, the largest value observed up to n=3000 is about 1.958: the bound is correct and fairly tight.)
c)
Apply Abel's test with an=n1, positive, decreasing and with limit zero, and bn=sinn, whose partial sums are bounded by b. The test gives the CONVERGENCE of ∑nsinn. Its sum is in fact 2π−1≈1.0708.
d)
No. We have ∣sinn∣≥sin2n=21−cos2n, so n∣sinn∣≥21⋅n1−21⋅ncos2n. The series ∑ncos2n converges by the same Abel argument, while ∑n1 diverges. The lower bound is therefore the difference of a divergent series and a convergent series: it diverges, and by comparison ∑n∣sinn∣ DIVERGES. The series is CONDITIONALLY CONVERGENT.
e)
For ∑nsinn: yes, n1 still decreases to 0 and the oscillating part is unchanged, so the series converges (still conditionally). For ∑sinn: no, because there is no decreasing factor any more; an=1 does not tend to 0. And indeed the series diverges, since its general term sinn does not tend to 0.
Exercise 9: The Cauchy product and the condition that makes it legitimate
Multiplying two series term by term makes no sense. The right product is the Cauchy product, cn=∑k=0nakbn−k, which gathers all the products whose indices have the same sum, exactly as for polynomials.
a) Write c0, c1 and c2 in terms of the ak and bk.
b) State the theorem: under which hypothesis do we have ∑cn=(∑an)(∑bn)?
c) Apply it to the exponential series an=n!xn and bn=n!yn, and recover the identity exey=ex+y.
d) Take an=bn=n+1(−1)n, conditionally convergent series. Find a lower bound for ∣cn∣ and show that the Cauchy product DIVERGES.
e) What can you conclude about whether the hypothesis of the theorem is necessary?
Show the solution
Answers
a)c2=a0b2+a1b1+a2b0
b)Absolute convergence of both
c)exey=ex+y
d)∣cn∣≥n/2+1n+1→2: diverges
e)Essential hypothesis
a)
c0=a0b0; c1=a0b1+a1b0; c2=a0b2+a1b1+a2b0. This is the rule for multiplying polynomials, where the coefficient of xn gathers all the products of indices adding up to n.
b)
If ∑an and ∑bn converge ABSOLUTELY, then ∑cn converges absolutely and its sum is the product of the two sums. (Mertens' theorem weakens the hypothesis: it is enough for one of the two series to converge absolutely and for the other one simply to converge.)
c)
Both exponential series converge absolutely for all x and y, so the hypothesis is satisfied. Compute cn=∑k=0nk!xk⋅(n−k)!yn−k=n!1∑k=0n(kn)xkyn−k=n!(x+y)n by the binomial theorem. Summing: exey=∑n!(x+y)n=ex+y. Numerical check with x=0.7 and y=0.4: both sides equal 3.0041660239.
d)
These series converge (they are alternating) but not absolutely, since ∑n+11 is a p-series with exponent 21. All the products akan−k have the same sign (−1)n, so no cancellation occurs and ∣cn∣=∑k=0n(k+1)(n−k+1)1. Now (k+1)(n−k+1)≤(2n+1)2 by the AM-GM inequality, so each term is at least 2n+11 and ∣cn∣≥2n+1n+1→2. The general term does not tend to 0: the Cauchy product DIVERGES. Numerically, ∣c200∣≈2.94 and ∣c800∣≈3.04.
e)
The absolute convergence hypothesis is not a precaution for comfort: it is essential. Two perfectly convergent series can have a divergent Cauchy product, so the equality ∑cn=(∑an)(∑bn) does not even make sense in that case. It is the same phenomenon as for rearrangements: without absolute convergence, the manipulations that are valid on finite sums are no longer allowed.
Exercise 10: Synthesis problem: the complete decision tree
For each of the eight series, first state THE test you choose and why, before any computation, then conclude. This is the complete method of the chapter, and it is exactly the question that comes at the end of an exam.
a) ∑n≥1nnn!3n b) ∑n≥2n(lnn)21 c) ∑n≥1n2cosn
d) ∑n≥1(n+1−n) e) ∑n≥1n+n(−1)n
f) ∑n≥1(n+1n)n2 g) ∑n≥1n1+1/n1 h) ∑n≥1nsinn
i) Summarize in five lines the decision tree you have just applied.
Factorial and nth power: ratio test. The ratio tends to e3≈1.104>1: DIVERGES.
b)
Fraction with a logarithm in the denominator: integral test, or condensation. With u=lnx, the integral becomes ∫u2du, which converges: CONVERGES. (Condensation gives ∑n2(ln2)21, same conclusion.)
c)
Bounded numerator, no equivalent: direct bound. n2cosn≤n21, a convergent series: ABSOLUTELY CONVERGENT.
d)
Difference of two equivalent quantities: rationalize rather than expand. n+1−n=n+1+n1∼2n1, a p-series with exponent 21: DIVERGES. (You can also see that the partial sum telescopes to N+1−1→+∞.)
e)
Alternating series: alternating series test (Leibniz). n+n1 decreases to 0, so the series CONVERGES; but n+n1∼n1, so not absolutely: CONDITIONALLY CONVERGENT.
f)
An nth power applied to a whole expression: root test. nan=(n+1n)n=(1+n1)n1→e1<1: CONVERGES.
g)
Pitfall: the exponent tends to 1, so you might think of the harmonic series. Write n1+1/n=n⋅n1/n and n1/n=enlnn→1. So an∼n1 and, by limit comparison on positive terms, the series DIVERGES. The extra exponent n1 is too weak to tip the balance.
h)
Irregular signs, neither positive nor alternating: Abel's test. n1 decreases to 0 and the partial sums of sinn are bounded: CONVERGES, and only conditionally.
i)
The tree. First, does the general term tend to 0? If not, the series diverges, and you are done. Second, do the terms have a constant sign? If so: look for an equivalent and conclude with the p-series test or by comparison; with factorials or kn, use the ratio test; with an nth power applied to a whole expression, use the root test; if the ratio gives 1, try Raabe's test, the integral test or condensation. Third, if the sign varies: first test for absolute convergence; otherwise apply the alternating series test if the series is alternating, Abel's test if the oscillating part has bounded partial sums, and otherwise expand the general term until a convergent part and a part of constant sign are separated. Fourth, never reason with equivalents outside the constant-sign case. Fifth, if an exact sum is asked for, look for telescoping, a geometric series or a known series.
Part C: the classics (/50)
Exercise 11: Telescoping with square roots, the inverse tangent and factorials
Each series telescopes, provided you write its term as the difference of two consecutive terms of the same sequence. Find that sequence, write the partial sum, then compute the sum.
a) ∑n≥1(n1−n+11)
b) ∑n≥1arctann2+n+11, using arctanp−arctanq=arctan1+pqp−q for p>q≥0.
c) ∑n≥1(n+2−2n+1+n)
d) ∑n≥1(n+1)!n
e) ∑n≥0(3n+1)(3n+4)1
Show the solution
Answers
a)1
b)4π
c)1−2
d)1
e)31
a)
Sequence vn=n1: SN=v1−vN+1=1−N+11→1. The sum is 1.
b)
With p=n+1 and q=n: arctan(n+1)−arctann=arctan1+n(n+1)1=arctann2+n+11. Hence SN=arctan(N+1)−arctan1→2π−4π=4π≈0.785.
c)
The term is a difference of differences: (n+2−n+1)−(n+1−n)=wn+1−wn with wn=n+1−n=n+1+n1→0. So SN=wN+1−w1→0−(2−1)=1−2≈−0.414. The terms are negative, which is consistent with the concavity of the square root.
d)
(n+1)!n=(n+1)!(n+1)−1=n!1−(n+1)!1: SN=1!1−(N+1)!1→1. The trick is to make the factor that simplifies the factorial appear in the numerator.
e)
(3n+1)(3n+4)1=31(3n+11−3n+41): the sequence is 3n+11, and 3(n+1)+1=3n+4 is indeed its next term. SN=31(1−3N+41)→31. The coefficient 31 comes from the gap between the two factors, and it is often forgotten.
Exercise 12: Raabe's test on products
Reminder (exercise 4): for a series with positive terms, if anan+1=1−nα+o(n1), the series converges if α>1 and diverges if α<1.
a) Let an=3⋅6⋅9⋯(3n)1⋅4⋅7⋯(3n−2). Simplify the ratio anan+1, compute α and conclude.
b) Numerical check: compute n(1−anan+1) for n=100.
c) For a>0, let un=(a+1)(a+2)⋯(a+n)n!. Compute α and discuss the behaviour of ∑un according to a.
d) Simplify un for a=1 and for a=3, recover the conclusions of c), and compute ∑n≥1un for a=3.
e) Determine the behaviour of ∑an2 for the sequence of a).
Show the solution
Answers
a)α=32: diverges
b)303200≈0.660
c)α=a: converges if a>1
d)a=1: diverges; a=3: sum 21
e)α=34: converges
a)
Going from an to an+1 adds a factor 3n+1 on top and 3n+3 at the bottom: anan+1=3n+33n+1=1−3n+32=1−3n2+o(n1). The ratio test gives 1 and is inconclusive; Raabe's test gives α=32<1: the series DIVERGES.
b)
n(1−3n+33n+1)=3n+32n, and for n=100: 303200≈0.660, already close to 32.
c)
unun+1=a+n+1n+1=1−n+a+1a=1−na+o(n1): α=a. The series converges if a>1 and diverges if a<1; the test says nothing for a=1.
d)
For a=1: un=2⋅3⋯(n+1)n!=n+11, a shifted harmonic series: it DIVERGES, and the boundary case is settled by hand. For a=3: 4⋅5⋯(n+3)=3!(n+3)!, so un=(n+3)!6n!=(n+1)(n+2)(n+3)6∼n36: it CONVERGES, as announced by α=3. Sum: (n+1)(n+2)(n+3)1=21((n+1)(n+2)1−(n+2)(n+3)1) telescopes from n=1 to 21⋅2⋅31=121, hence ∑n≥1un=126=21.
e)
an2an+12=(1−3n+32)2=1−3n4+o(n1): α=34>1, so ∑an2 CONVERGES. Squaring doubles α: this reflects the fact that an behaves like a constant times n−2/3, and an2 like n−4/3.
Exercise 13: Abel's test in practice
Reminder (exercise 8): if (an) decreases to 0 and the partial sums of (bn) are bounded, then ∑anbn converges. For each series, say whether it is absolutely convergent, conditionally convergent or divergent.
a) ∑n≥2lnnsin(2n), taking for granted that ∣∑k=1nsin(2k)∣≤sin11. Give the value of this bound.
b) ∑n≥1n1cos3nπ. Give the maximum of ∑k=1ncos3kπ.
c) ∑n≥1n1cos2nπ, whose sum you will compute.
d) ∑n≥1n3/2sinn
e) ∑n≥1nsin2n
Show the solution
Answers
a)Conditionally convergent
b)Partial sums bounded by 23; conditionally convergent
c)−21ln2; conditionally convergent
d)Absolutely convergent
e)Divergent
a)
lnn1 decreases to 0 for n≥2, and the partial sums of sin(2k) are bounded by sin11≈1.188 (same computation as in exercise 8 with the ratio e2i: ∣e2i−1∣2=sin11). Abel: the series converges. In absolute value, lnn∣sin2n∣≥lnnsin22n=2lnn1−2lnncos4n: the first series diverges (its term exceeds 2n1), the second converges by Abel, so the lower bound diverges. CONDITIONALLY CONVERGENT.
b)
cos3kπ is periodic with period 6: 21,−21,−1,−21,21,1, with sum zero. The partial sums are 21,0,−1,−23,−1,0 and then start over: they are bounded, with maximum 23 in absolute value. Abel with n1: the series converges. Since cos3nπ≥21, the series of absolute values exceeds ∑2n1 and diverges. CONDITIONALLY CONVERGENT.
c)
cos2nπ equals 0 for odd n and (−1)m for n=2m. The series is therefore ∑m≥12m(−1)m=−21(1−21+31−⋯)=−21ln2≈−0.347. Removing the zero terms changes neither the behaviour nor the sum, since it only repeats some of the partial sums. Absolute values: ∑2m1 diverges. CONDITIONALLY CONVERGENT.
d)
n3/2sinn≤n3/21, p-series with p=23>1: ABSOLUTELY CONVERGENT. Abel's test is useless here: always test for absolute convergence first.
e)
Positive terms. sin2n=21−cos2n, so nsin2n=2n1−2ncos2n. The series ∑2ncos2n converges by Abel and ∑2n1 diverges: the series DIVERGES. A squared sine is not small: it equals 21 on average, and the series behaves like ∑2n1.
Exercise 14: The Cauchy product of two geometric distributions
Two queues are independent. You wait X minutes at the first one and Y minutes at the second, with P(X=k)=(21)k+1 and P(Y=k)=32(31)k for k=0,1,2,… The probability of waiting n minutes in total is cn=P(X+Y=n)=∑k=0nP(X=k)P(Y=n−k): it is the Cauchy product of the two series.
a) Check that ∑k≥0P(X=k)=1 and ∑k≥0P(Y=k)=1.
b) Compute c0, c1 and c2.
c) Show that cn=2n1−3n+12, using ∑k=0nukvn−k=u−vun+1−vn+1 for u=v. Deduce c3.
d) Justify without computation that ∑n≥0cn=1, then check it with the formula from c).
e) Compute the probability of waiting at least 3 minutes in total.
Show the solution
Answers
a)Two geometric series with sum 1
b)31, 185, 10819
c)cn=2n1−3n+12; c3≈0.100
d)Cauchy product: 1
e)10823≈0.213
a)
Two geometric series: ∑(21)k+1=1−1/21/2=1 and 32∑(31)k=32⋅1−1/31=1.
cn=∑k=0n21(21)k⋅32(31)n−k=31∑k=0nukvn−k with u=21, v=31 and u−v=61. Hence cn=31⋅6(2n+11−3n+11)=2n1−3n+12. Check: c0=1−32=31 and c1=21−92=185. Then c3=81−812=64865≈0.100.
d)
Both series have positive terms and converge, so they converge absolutely: the Cauchy product theorem gives ∑cn=1×1=1. It is also obvious in terms of probability, since X+Y necessarily takes some integer value. Check: ∑2n1=2 and ∑3n+12=1−1/32/3=1, hence 2−1=1.
e)
P(X+Y≥3)=1−(c0+c1+c2)=1−10836+30+19=10823≈0.213. Use the known total sum: rather than adding infinitely many cn, subtract the first three.
Exercise 15: Speeding up the alternating harmonic series
The alternating harmonic series converges to ln2, but slowly. Write Sn=∑k=1nk(−1)k+1 and take for granted that ln2−Sn=(−1)nIn, with In=∫011+xxndx. The goal is to gain accuracy without computing more terms.
a) Compute S10 to three decimal places and the error ∣ln2−S10∣. Compare it with the bound 111 given by the alternating series test.
b) Let An=2Sn+Sn+1. Show that An=Sn+2(n+1)(−1)n, then compute A10 and its error.
c) Using integration by parts, show that In=2(n+1)1+n+11∫01(1+x)2xn+1dx, then that ∣ln2−An∣≤(n+1)(n+2)1. Give this bound for n=10.
d) Which index n guarantees an error of at most 10−4, first with Sn and the bound from the test, then with An and the bound from c)?
e) Why is the average of two consecutive partial sums so effective for an alternating series?
Show the solution
Answers
a)S10≈0.646, error 0.0475
b)A10≈0.6911, error 0.0021
c)Bound (n+1)(n+2)1
d)9999 versus 99
e)The average cancels the zigzag
a)
S10=1−21+⋯−101=25201627≈0.646. With ln2≈0.6931, the error is 0.0475, about half of the bound 111≈0.0909. The bound from the test is safe, but pessimistic by a factor of about two.
b)
Sn+1=Sn+n+1(−1)n, so An=22Sn+n+1(−1)n=Sn+2(n+1)(−1)n. For n=10: A10=S10+221≈0.6456+0.0455=0.6911, with an error of about 0.0021: more than twenty times more accurate than S10, for the same work.
c)
Integrate by parts, with xn as the derivative of n+1xn+1: In=[(n+1)(1+x)xn+1]01+n+11∫01(1+x)2xn+1dx=2(n+1)1+n+1Jn, with 0≤Jn≤∫01xn+1dx=n+21. Now ln2−An=(−1)nIn−2(n+1)(−1)n=(−1)nn+1Jn, hence ∣ln2−An∣≤(n+1)(n+2)1. For n=10: 1321≈0.0076, consistent with the actual error 0.0021.
d)
With Sn: n+11≤10−4 requires n≥9999. With An: you need (n+1)(n+2)≥104; n=98 gives 99×100=9900, which is not enough, and n=99 gives 100×101=10,100. So n=99 is enough, that is, S99 and S100: one hundred terms instead of ten thousand.
e)
The partial sums of an alternating series jump alternately above and below the limit, and the limit lies almost halfway between two consecutive sums: the error of Sn is about half of the next term, with an alternating sign. The average cancels these two errors almost exactly and leaves only a residue of order n21. Averaging the averages again speeds things up further: this is the principle of convergence acceleration methods.
Something missing from this set?A type of exercise your teacher gives, a problem you are stuck on, a mistake you spotted: tell me, I read every request.
Sending goes through your free space: that is how I can answer you and tell you when the exercise is added. An email is enough, no password. Create your space.
Rather not create an account? Write to me directly.
Looking for an integral calculus tutor in Montreal?
Get in touch for a first session. The questions that separate the top marks almost always involve Abel's test, Raabe's test or the pitfall of asymptotic equivalents: those are exactly the points worked on here.