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 nnth 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 nnth root where the ratio test says nothing (exercise 3), settle a series whose ratio tends to 11 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 sin⁡nn\frac{\sin n}{n}, 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.

15 corrected exercises • 150 points • 225 minutes

This chapter is part of 201-SN3-RE, every chapter with its set and sheet Before you start Revision sheet: the traps and the method for this chapter

Self-checking set Type 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.

Course recap

  • • Cauchy criterion: ∑an\sum a_{n} converges if and only if for every ε>0\varepsilon>0 there is an NN such that ∣∑n=p+1qan∣<ε\left|\sum_{n=p+1}^{q}a_{n}\right|<\varepsilon for all q>p≥Nq>p\geq N. It is a NECESSARY AND SUFFICIENT condition, unlike the divergence test.
  • • Cauchy condensation test: if (an)(a_{n}) is positive and decreasing, ∑an\sum a_{n} and ∑2na2n\sum 2^{n}a_{2^{n}} either both converge or both diverge.
  • • If ∣an+1an∣→L\left|\dfrac{a_{n+1}}{a_{n}}\right|\to L, then ∣an∣n→L\sqrt[n]{|a_{n}|}\to 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 an+1an=1−αn+o ⁣(1n)\dfrac{a_{n+1}}{a_{n}}=1-\dfrac{\alpha}{n}+o\!\left(\dfrac{1}{n}\right) with an>0a_{n}>0, the series converges if α>1\alpha>1 and diverges if α<1\alpha<1.
  • • Abel's test (called Dirichlet's test in most English textbooks): if (an)(a_{n}) decreases to 0 and the partial sums of (bn)(b_{n}) are bounded, then ∑anbn\sum a_{n}b_{n} converges. The alternating series test is the special case bn=(−1)nb_{n}=(-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−kc_{n}=\sum_{k=0}^{n}a_{k}b_{n-k}. If ∑an\sum a_{n} and ∑bn\sum b_{n} converge ABSOLUTELY, then ∑cn\sum c_{n} 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\sum a_{n}.
  • b) Taking q=p+1q=p+1, deduce that the general term of a convergent series necessarily tends to 0.
  • c) Use the criterion with q=2pq=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 ∑1n2\sum\frac{1}{n^{2}} converges, by bounding ∑n=p+1q1n2\sum_{n=p+1}^{q}\frac{1}{n^{2}} above with a telescoping sum.
  • e) Why is this criterion so valuable in theory, when it is almost never used in practice?

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Blocks ∣∑p+1qan∣<ε\left|\sum_{p+1}^{q}a_{n}\right|<\varepsilon once q>p≥Nq>p\geq N
  • b) q=p+1q=p+1: an→0a_{n}\to 0
  • c) Block ≥12\geq\frac{1}{2}: the harmonic series diverges
  • d) Block <1p<\frac{1}{p}: converges
  • e) A proof tool more than a computing tool
a)

The series ∑an\sum a_{n} converges if and only if: for every ε>0\varepsilon>0, there is an index NN such that for all q>p≥Nq>p\geq N, ∣∑n=p+1qan∣<ε\left|\sum_{n=p+1}^{q}a_{n}\right|<\varepsilon. In other words, blocks of consecutive terms become arbitrarily small, however long they are.

b)

Taking q=p+1q=p+1, the sum reduces to the single term ap+1a_{p+1}, and the condition becomes ∣ap+1∣<ε\left|a_{p+1}\right|<\varepsilon as soon as p≥Np\geq N: this is exactly the definition of an→0a_{n}\to 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=2pq=2p. Each of the pp terms of ∑n=p+12p1n\sum_{n=p+1}^{2p}\frac{1}{n} is greater than or equal to 12p\frac{1}{2p}, so ∑n=p+12p1n≥p⋅12p=12\sum_{n=p+1}^{2p}\frac{1}{n}\geq p\cdot\frac{1}{2p}=\frac{1}{2}. These blocks never become small, whatever pp is: the Cauchy criterion fails with ε=12\varepsilon=\frac{1}{2}, so the harmonic series DIVERGES. (Numerically, these blocks actually tend to ln⁡2≈0.693\ln 2\approx 0.693, well above 12\frac{1}{2}.)

d)

For n≥2n\geq 2, 1n2≤1n(n−1)=1n−1−1n\frac{1}{n^{2}}\leq\frac{1}{n(n-1)}=\frac{1}{n-1}-\frac{1}{n}. Summing from p+1p+1 to qq, the sum telescopes: ∑n=p+1q1n2≤1p−1q<1p\sum_{n=p+1}^{q}\frac{1}{n^{2}}\leq\frac{1}{p}-\frac{1}{q}<\frac{1}{p}. Given ε>0\varepsilon>0, it is enough to take N>1εN>\frac{1}{\varepsilon} for every block to be smaller than ε\varepsilon. 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\mathbb{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)(a_{n}) is positive and decreasing, then ∑an\sum a_{n} and ∑2na2n\sum 2^{n}a_{2^{n}} either both converge or both diverge. It turns a slowly decreasing series into a geometric series.

  • a) Apply condensation to an=1npa_{n}=\frac{1}{n^{p}}. Which series do you get, and what does it tell you?
  • b) Conclude: for which values of pp does the p-series converge? You have just proved the p-series test completely.
  • c) Apply condensation to an=1nln⁡na_{n}=\frac{1}{n\ln n} for n≥2n\geq 2.
  • d) Apply it to an=1n(ln⁡n)βa_{n}=\frac{1}{n(\ln n)^{\beta}} and recover Bertrand's test.
  • e) Where is the decreasing hypothesis used? Give the idea of the proof by bounding ∑an\sum a_{n} above and below with blocks.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) ∑(21−p)n\sum\left(2^{1-p}\right)^{n}, geometric
  • b) Converges if and only if p>1p>1
  • c) 1nln⁡2\frac{1}{n\ln 2}: diverges
  • d) Bertrand: β>1\beta>1
  • e) Decreasing: bounds on the blocks
a)

Compute 2na2n=2n⋅1(2n)p=2n(1−p)=(21−p)n2^{n}a_{2^{n}}=2^{n}\cdot\dfrac{1}{\left(2^{n}\right)^{p}}=2^{n(1-p)}=\left(2^{1-p}\right)^{n}. It is a geometric series with common ratio r=21−pr=2^{1-p}, which converges if and only if r<1r<1.

b)

21−p<12^{1-p}<1 is equivalent to 1−p<01-p<0, that is, p>1p>1. The p-series converges if and only if p>1p>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=2n2nln⁡(2n)=1nln⁡22^{n}a_{2^{n}}=\dfrac{2^{n}}{2^{n}\ln\left(2^{n}\right)}=\dfrac{1}{n\ln 2}. This is the harmonic series up to a constant factor, which DIVERGES. So ∑1nln⁡n\sum\frac{1}{n\ln n} diverges, even though its general term is much smaller than 1n\frac{1}{n}.

d)

2na2n=2n2n(nln⁡2)β=1(ln⁡2)β⋅1nβ2^{n}a_{2^{n}}=\dfrac{2^{n}}{2^{n}\left(n\ln 2\right)^{\beta}}=\dfrac{1}{(\ln 2)^{\beta}}\cdot\dfrac{1}{n^{\beta}}. Up to a constant, this is a p-series with exponent β\beta: it converges if and only if β>1\beta>1. This is exactly Bertrand's test, and the proof also explains WHY the logarithm plays the role of the variable again: condensation turns ln⁡2n\ln 2^{n} into nln⁡2n\ln 2.

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)\left[2^{k},2^{k+1}\right), which contain 2k2^{k} terms. Since the sequence decreases, each term lies between a2k+1a_{2^{k+1}} and a2ka_{2^{k}}, so the block lies between 2ka2k+12^{k}a_{2^{k+1}} and 2ka2k2^{k}a_{2^{k}}. Summing over kk, the whole series lies between 12∑2k+1a2k+1\frac{1}{2}\sum 2^{k+1}a_{2^{k+1}} and ∑2ka2k\sum 2^{k}a_{2^{k}}: the two series therefore behave the same way. Without the decreasing hypothesis the bounds collapse, and the theorem is false.

1 term≤ 1 · a(1)2 terms≤ 2 · a(2)4 terms≤ 4 · a(4)8 terms≤ 8 · a(8)...

Exercise 3: Root test versus ratio test: which one is stronger

Consider the series with general term an=2−n−(−1)na_{n}=2^{-n-(-1)^{n}}, that is, an=2−n−1a_{n}=2^{-n-1} if nn is even and an=2−n+1a_{n}=2^{-n+1} if nn is odd.

  • a) Compute a2a_{2}, a3a_{3}, a4a_{4} and a5a_{5}, then the ratios a3a2\frac{a_{3}}{a_{2}} and a4a3\frac{a_{4}}{a_{3}}.
  • b) Show that the ratio an+1an\frac{a_{n+1}}{a_{n}} only takes two values and therefore has no limit. What does the ratio test (d'Alembert's rule) conclude?
  • c) Compute ann\sqrt[n]{a_{n}} 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.

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) a3/a2=2a_{3}/a_{2}=2; a4/a3=18a_{4}/a_{3}=\frac{1}{8}
  • b) Ratio without a limit: the ratio test is silent
  • c) Root tends to 12\frac{1}{2}: converges
  • d) Root test strictly stronger
  • e) ∑1n\sum\frac{1}{n}: both fail
a)

a2=2−3=18=0.125a_{2}=2^{-3}=\frac{1}{8}=0.125, a3=2−2=14=0.25a_{3}=2^{-2}=\frac{1}{4}=0.25, a4=2−5=132a_{4}=2^{-5}=\frac{1}{32}, a5=2−4=116a_{5}=2^{-4}=\frac{1}{16}. The ratios: a3a2=2\frac{a_{3}}{a_{2}}=2 and a4a3=18\frac{a_{4}}{a_{3}}=\frac{1}{8}. The sequence is not even decreasing: it zigzags.

b)

an+1an=2−(n+1)−(−1)n+1+n+(−1)n=2−1+2(−1)n\dfrac{a_{n+1}}{a_{n}}=2^{-(n+1)-(-1)^{n+1}+n+(-1)^{n}}=2^{-1+2(-1)^{n}}. For even nn this equals 21=22^{1}=2, for odd nn it equals 2−3=182^{-3}=\frac{1}{8}. The ratio oscillates forever between 2 and 18\frac{1}{8}: 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)

ann=2−n−(−1)nn=2−1−(−1)nn\sqrt[n]{a_{n}}=2^{\frac{-n-(-1)^{n}}{n}}=2^{-1-\frac{(-1)^{n}}{n}}. Since (−1)nn→0\frac{(-1)^{n}}{n}\to 0, the limit is 2−1=12<12^{-1}=\frac{1}{2}<1: the root test concludes CONVERGENCE. (The sum is in fact exactly 32\frac{3}{2}, splitting the even and odd indices into two geometric series.)

d)

Theorem: if ∣an+1an∣\left|\frac{a_{n+1}}{a_{n}}\right| has a limit LL, then ∣an∣n\sqrt[n]{|a_{n}|} has the same limit LL. 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 nnth roots.

e)

The harmonic series ∑1n\sum\frac{1}{n}: the ratio tends to 1 and so does the nnth root, since 1nn=e−ln⁡nn→1\sqrt[n]{\frac{1}{n}}=e^{-\frac{\ln n}{n}}\to 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.

2468101214160.511.522.5aₙ₊₁/aₙⁿ√aₙ → 1/21n

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 an+1an=1−αn+o ⁣(1n)\dfrac{a_{n+1}}{a_{n}}=1-\dfrac{\alpha}{n}+o\!\left(\dfrac{1}{n}\right); the series converges if α>1\alpha>1 and diverges if α<1\alpha<1.

  • a) Apply the test to an=1npa_{n}=\frac{1}{n^{p}}: compute α\alpha and recover the p-series test.
  • b) Let an=1⋅3⋅5⋯(2n−1)2⋅4⋅6⋯(2n)a_{n}=\dfrac{1\cdot 3\cdot 5\cdots(2n-1)}{2\cdot 4\cdot 6\cdots(2n)}. Compute a1a_{1}, a2a_{2} and a3a_{3}, then simplify the ratio an+1an\frac{a_{n+1}}{a_{n}}.
  • c) What does the ratio test give on this series? Then apply Raabe's test and conclude.
  • d) Take for granted that an∼1πna_{n}\sim\dfrac{1}{\sqrt{\pi n}}. Check that this is consistent with c, then give the behaviour of ∑an2\sum a_{n}^{2} and of ∑an3\sum a_{n}^{3}.
  • e) Why does Raabe's test see what the ratio test does not?

Type your answers, the page tells you right or wrong 0/7

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) α=p\alpha=p: p-series test recovered
  • b) a3=516a_{3}=\frac{5}{16}; ratio 2n+12n+2\frac{2n+1}{2n+2}
  • c) α=12\alpha=\frac{1}{2}: diverges
  • d) ∑an2\sum a_{n}^{2} diverges, ∑an3\sum a_{n}^{3} converges
  • e) Raabe reads the 1n\frac{1}{n} term
a)

an+1an=(nn+1)p=(1+1n)−p=1−pn+o ⁣(1n)\dfrac{a_{n+1}}{a_{n}}=\left(\dfrac{n}{n+1}\right)^{p}=\left(1+\dfrac{1}{n}\right)^{-p}=1-\dfrac{p}{n}+o\!\left(\dfrac{1}{n}\right) by the Taylor expansion. So α=p\alpha=p, and the test gives convergence for p>1p>1 and divergence for p<1p<1: exactly the p-series test. (The case p=1p=1 escapes the test, as always on the boundary.)

b)

a1=12a_{1}=\frac{1}{2}, a2=1⋅32⋅4=38=0.375a_{2}=\frac{1\cdot 3}{2\cdot 4}=\frac{3}{8}=0.375, a3=1⋅3⋅52⋅4⋅6=1548=516=0.3125a_{3}=\frac{1\cdot 3\cdot 5}{2\cdot 4\cdot 6}=\frac{15}{48}=\frac{5}{16}=0.3125. The ratio simplifies drastically, since all the common factors cancel: an+1an=2n+12n+2\frac{a_{n+1}}{a_{n}}=\frac{2n+1}{2n+2}.

c)

2n+12n+2→1\dfrac{2n+1}{2n+2}\to 1: the ratio test is inconclusive. Expand: 2n+12n+2=1−12n+2=1−12n+o ⁣(1n)\frac{2n+1}{2n+2}=1-\frac{1}{2n+2}=1-\frac{1}{2n}+o\!\left(\frac{1}{n}\right), so α=12\alpha=\frac{1}{2}. Since α<1\alpha<1, the series DIVERGES. Numerical check: n(1−an+1an)n\left(1-\frac{a_{n+1}}{a_{n}}\right) equals 0.490 for n=50n=50 and 0.499 for n=500n=500, which confirms α=12\alpha=\frac{1}{2}.

d)

If an∼1πn=1πn−1/2a_{n}\sim\frac{1}{\sqrt{\pi n}}=\frac{1}{\sqrt{\pi}}n^{-1/2}, then ∑an\sum a_{n} behaves like a p-series with exponent 12≤1\frac{1}{2}\leq 1: it diverges, which confirms c. Next, an2∼1πna_{n}^{2}\sim\frac{1}{\pi n}, exponent 1: ∑an2\sum a_{n}^{2} DIVERGES too. Finally, an3∼1(πn)3/2a_{n}^{3}\sim\frac{1}{(\pi n)^{3/2}}, exponent 32>1\frac{3}{2}>1: ∑an3\sum a_{n}^{3} 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−12n1-\frac{1}{2n} and 1−2n1-\frac{2}{n}, the limit is the same but the decrease of ana_{n} is radically different, like n−1/2n^{-1/2} in one case and like n−2n^{-2} in the other. Raabe's test reads precisely the 1n\frac{1}{n} 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 1n(n+1)\frac{1}{n(n+1)} into partial fractions and compute ∑n≥11n(n+1)\sum_{n\geq 1}\frac{1}{n(n+1)}.
  • b) Same work for ∑n≥11n(n+2)\sum_{n\geq 1}\frac{1}{n(n+2)}. Careful: here the telescoping leaves TWO terms.
  • c) Compute ∑n≥11n(n+1)(n+2)\sum_{n\geq 1}\frac{1}{n(n+1)(n+2)}.
  • d) Show that 2n+1n2(n+1)2=1n2−1(n+1)2\frac{2n+1}{n^{2}(n+1)^{2}}=\frac{1}{n^{2}}-\frac{1}{(n+1)^{2}} and deduce the sum of the corresponding series.
  • e) Compute ∑n≥2ln⁡(1−1n2)\sum_{n\geq 2}\ln\left(1-\frac{1}{n^{2}}\right) by factoring the argument of the logarithm.

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 11
  • b) 34\frac{3}{4}
  • c) 14\frac{1}{4}
  • d) 11
  • e) −ln⁡2-\ln 2
a)

1n(n+1)=1n−1n+1\frac{1}{n(n+1)}=\frac{1}{n}-\frac{1}{n+1}. The partial sum telescopes: SN=1−1N+1→1S_{N}=1-\frac{1}{N+1}\to 1. The sum is exactly 1.

b)

1n(n+2)=12(1n−1n+2)\frac{1}{n(n+2)}=\frac{1}{2}\left(\frac{1}{n}-\frac{1}{n+2}\right). Since the shift is 2, the terms cancel two indices apart, and TWO terms REMAIN at the start: SN=12(1+12−1N+1−1N+2)⟶12⋅32=34S_{N}=\frac{1}{2}\left(1+\frac{1}{2}-\frac{1}{N+1}-\frac{1}{N+2}\right)\longrightarrow\frac{1}{2}\cdot\frac{3}{2}=\frac{3}{4}. The general rule: a shift of kk leaves kk terms on each side.

c)

1n(n+1)(n+2)=12(1n(n+1)−1(n+1)(n+2))\frac{1}{n(n+1)(n+2)}=\frac{1}{2}\left(\frac{1}{n(n+1)}-\frac{1}{(n+1)(n+2)}\right). This is again a telescoping sum, on the sequence un=1n(n+1)u_{n}=\frac{1}{n(n+1)}: the sum equals 12u1=12⋅12=14\frac{1}{2}u_{1}=\frac{1}{2}\cdot\frac{1}{2}=\frac{1}{4}.

d)

Use a common denominator: 1n2−1(n+1)2=(n+1)2−n2n2(n+1)2=2n+1n2(n+1)2\frac{1}{n^{2}}-\frac{1}{(n+1)^{2}}=\frac{(n+1)^{2}-n^{2}}{n^{2}(n+1)^{2}}=\frac{2n+1}{n^{2}(n+1)^{2}}, which is indeed the stated identity. The sum therefore telescopes to 112=1\frac{1}{1^{2}}=1.

e)

1−1n2=n2−1n2=(n−1)(n+1)n21-\frac{1}{n^{2}}=\frac{n^{2}-1}{n^{2}}=\frac{(n-1)(n+1)}{n^{2}}, so ln⁡(1−1n2)=ln⁡(n−1)+ln⁡(n+1)−2ln⁡n=[ln⁡(n+1)−ln⁡n]−[ln⁡n−ln⁡(n−1)]\ln\left(1-\frac{1}{n^{2}}\right)=\ln(n-1)+\ln(n+1)-2\ln n=\left[\ln(n+1)-\ln n\right]-\left[\ln n-\ln(n-1)\right]. This is the difference of two consecutive terms of the sequence vn=ln⁡(n+1)−ln⁡nv_{n}=\ln(n+1)-\ln n, so the sum from 22 to NN equals vN−v1=ln⁡N+1N−ln⁡2→−ln⁡2v_{N}-v_{1}=\ln\frac{N+1}{N}-\ln 2\to-\ln 2. The sum is −ln⁡2≈−0.693-\ln 2\approx-0.693. Note in passing that all the terms are negative, which is consistent.

123456789101112130.20.40.60.811.2sum = 1Sₙ = 1 − 1/(n + 1)nSₙ

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=(−1)nna_{n}=\frac{(-1)^{n}}{\sqrt{n}} and bn=(−1)nn+1nb_{n}=\frac{(-1)^{n}}{\sqrt{n}}+\frac{1}{n}. Show that bnan→1\frac{b_{n}}{a_{n}}\to 1, so that ana_{n} and bnb_{n} are asymptotically equivalent.
  • b) Determine the behaviour of ∑an\sum a_{n}, then that of ∑bn\sum b_{n}. What do you notice?
  • c) Explain precisely which hypothesis of the limit comparison test is violated.
  • d) Study ∑n≥2ln⁡(1+(−1)nn)\sum_{n\geq 2}\ln\left(1+\frac{(-1)^{n}}{\sqrt{n}}\right). The term is equivalent to (−1)nn\frac{(-1)^{n}}{\sqrt{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.

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) bnan→1\frac{b_{n}}{a_{n}}\to 1
  • b) ∑an\sum a_{n} converges, ∑bn\sum b_{n} diverges
  • c) Constant sign required
  • d) Expansion: −12n-\frac{1}{2n}, diverges
  • e) Absolute convergence first, then expansion
a)

bnan=1+1/n(−1)n/n=1+(−1)nn⟶1\dfrac{b_{n}}{a_{n}}=1+\dfrac{1/n}{(-1)^{n}/\sqrt{n}}=1+\dfrac{(-1)^{n}}{\sqrt{n}}\longrightarrow 1. The two sequences are therefore indeed equivalent in the usual sense.

b)

∑an\sum a_{n} is an alternating series whose absolute value 1n\frac{1}{\sqrt{n}} decreases to 0: it CONVERGES (conditionally). On the other hand, ∑bn=∑an+∑1n\sum b_{n}=\sum a_{n}+\sum\frac{1}{n}, 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 ana_{n} changes sign at every index. The equivalence bn∼anb_{n}\sim a_{n} controls the ratio, but not the DIFFERENCE: bn−an=1nb_{n}-a_{n}=\frac{1}{n} is negligible compared with an∼n−1/2a_{n}\sim 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+(−1)nn)=(−1)nn−12n+O ⁣(1n3/2)\ln\left(1+\frac{(-1)^{n}}{\sqrt{n}}\right)=\frac{(-1)^{n}}{\sqrt{n}}-\frac{1}{2n}+O\!\left(\frac{1}{n^{3/2}}\right). The first term gives a convergent series and so does the third (a p-series with exponent 32\frac{3}{2}), but the middle term, −12n-\frac{1}{2n}, produces a divergent series. The series therefore DIVERGES, and its partial sums behave like −12ln⁡N-\frac{1}{2}\ln N. 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∣\sum|a_{n}| 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(sin⁡1n−1n)\sum_{n\geq 1}\left(\sin\frac{1}{n}-\frac{1}{n}\right). What does the first-order equivalent give, and why is it not enough?
  • b) Study ∑n≥1(1n−ln⁡(1+1n))\sum_{n\geq 1}\left(\frac{1}{n}-\ln\left(1+\frac{1}{n}\right)\right).
  • c) Study ∑n≥1(e1/n−1−1n)\sum_{n\geq 1}\left(e^{1/n}-1-\frac{1}{n}\right).
  • d) Study ∑n≥1((1+1n)n−e)\sum_{n\geq 1}\left(\left(1+\frac{1}{n}\right)^{n}-e\right). The term tends to 0: is that enough?
  • e) State the general rule: to which order must you expand?

Type your answers, the page tells you right or wrong 0/9

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) ∼−16n3\sim-\frac{1}{6n^{3}}: converges
  • b) ∼12n2\sim\frac{1}{2n^{2}}: converges
  • c) ∼12n2\sim\frac{1}{2n^{2}}: converges
  • d) ∼−e2n\sim-\frac{e}{2n}: diverges
  • e) As far as the first nonzero term
a)

To first order, sin⁡1n∼1n\sin\frac{1}{n}\sim\frac{1}{n}, so the difference is equivalent to 00: the information is lost, and a zero equivalent says nothing. Push the expansion further: sin⁡u=u−u36+O(u5)\sin u=u-\frac{u^{3}}{6}+O(u^{5}) with u=1nu=\frac{1}{n}, hence sin⁡1n−1n=−16n3+O ⁣(1n5)∼−16n3\sin\frac{1}{n}-\frac{1}{n}=-\frac{1}{6n^{3}}+O\!\left(\frac{1}{n^{5}}\right)\sim-\frac{1}{6n^{3}}. The terms have a constant sign (negative) and are comparable to n−3n^{-3}: the series CONVERGES absolutely. Check at n=100n=100: the difference equals −1.6667×10−7-1.6667\times 10^{-7}, and −16⋅106-\frac{1}{6\cdot 10^{6}} equals −1.6667×10−7-1.6667\times 10^{-7}.

b)

ln⁡(1+u)=u−u22+O(u3)\ln(1+u)=u-\frac{u^{2}}{2}+O(u^{3}), so 1n−ln⁡(1+1n)∼12n2\frac{1}{n}-\ln\left(1+\frac{1}{n}\right)\sim\frac{1}{2n^{2}}. Positive terms, exponent 2>12>1: the series CONVERGES. At n=100n=100 the difference equals 4.967×10−54.967\times 10^{-5}, close to 12⋅104=5×10−5\frac{1}{2\cdot 10^{4}}=5\times 10^{-5}.

c)

eu=1+u+u22+O(u3)e^{u}=1+u+\frac{u^{2}}{2}+O(u^{3}), so e1/n−1−1n∼12n2e^{1/n}-1-\frac{1}{n}\sim\frac{1}{2n^{2}}: the series CONVERGES, for the same reason as in b. At n=100n=100: 5.017×10−55.017\times 10^{-5}.

d)

No, it is not enough: a term that tends to 0 is necessary but never sufficient. Expand: (1+1n)n=exp⁡(nln⁡(1+1n))=exp⁡(1−12n+O ⁣(1n2))=e(1−12n+O ⁣(1n2))\left(1+\frac{1}{n}\right)^{n}=\exp\left(n\ln\left(1+\frac{1}{n}\right)\right)=\exp\left(1-\frac{1}{2n}+O\!\left(\frac{1}{n^{2}}\right)\right)=e\left(1-\frac{1}{2n}+O\!\left(\frac{1}{n^{2}}\right)\right), so the term equals −e2n+O ⁣(1n2)∼−e2n-\frac{e}{2n}+O\!\left(\frac{1}{n^{2}}\right)\sim-\frac{e}{2n}. Terms of constant sign, equivalent to a multiple of 1n\frac{1}{n}: the series DIVERGES. At n=1000n=1000 the term equals −1.3579×10−3-1.3579\times 10^{-3}, against −e2000=−1.3591×10−3-\frac{e}{2000}=-1.3591\times 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 ∑sin⁡nn\sum\frac{\sin n}{n} does not have positive terms, and it is not alternating either: the signs of sin⁡n\sin n 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\sum_{k=1}^{n}e^{ik}, show that the partial sums ∑k=1nsin⁡k\sum_{k=1}^{n}\sin k are bounded. Give an explicit bound.
  • c) Deduce that ∑n≥1sin⁡nn\sum_{n\geq 1}\frac{\sin n}{n} converges.
  • d) Is this series absolutely convergent? Use ∣sin⁡n∣≥sin⁡2n=1−cos⁡2n2|\sin n|\geq\sin^{2}n=\frac{1-\cos 2n}{2}.
  • e) Does Abel's test apply to ∑sin⁡nn\sum\frac{\sin n}{\sqrt{n}}? And to ∑sin⁡n\sum\sin n?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Leibniz: Abel with (−1)n(-1)^{n}
  • b) ∣∑sin⁡k∣≤1sin⁡12≈2.086\left|\sum\sin k\right|\leq\frac{1}{\sin\frac{1}{2}}\approx 2.086
  • c) Converges, sum π−12\frac{\pi-1}{2}
  • d) Conditionally convergent
  • e) sin⁡nn\frac{\sin n}{\sqrt{n}} converges; sin⁡n\sin n diverges
a)

Abel's test: if (an)(a_{n}) is a positive DECREASING sequence that tends to 0, and if the partial sums Bn=∑k=1nbkB_{n}=\sum_{k=1}^{n}b_{k} are BOUNDED, then ∑anbn\sum a_{n}b_{n} converges. Special case: with bn=(−1)nb_{n}=(-1)^{n}, the partial sums are alternately −1-1 and 00, 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≠1e^{i}\neq 1 equals ∑k=1neik=ei ein−1ei−1\sum_{k=1}^{n}e^{ik}=e^{i}\,\frac{e^{in}-1}{e^{i}-1}, whose modulus is bounded by ∣ein−1∣∣ei−1∣≤2∣ei−1∣=22∣sin⁡12∣=1∣sin⁡12∣≈2.086\dfrac{|e^{in}-1|}{|e^{i}-1|}\leq\dfrac{2}{|e^{i}-1|}=\dfrac{2}{2\left|\sin\frac{1}{2}\right|}=\dfrac{1}{\left|\sin\frac{1}{2}\right|}\approx 2.086. Since ∑k=1nsin⁡k\sum_{k=1}^{n}\sin k is the imaginary part of this sum, it is bounded by the same constant. (Numerically, the largest value observed up to n=3000n=3000 is about 1.958: the bound is correct and fairly tight.)

c)

Apply Abel's test with an=1na_{n}=\frac{1}{n}, positive, decreasing and with limit zero, and bn=sin⁡nb_{n}=\sin n, whose partial sums are bounded by b. The test gives the CONVERGENCE of ∑sin⁡nn\sum\frac{\sin n}{n}. Its sum is in fact π−12≈1.0708\frac{\pi-1}{2}\approx 1.0708.

d)

No. We have ∣sin⁡n∣≥sin⁡2n=1−cos⁡2n2|\sin n|\geq\sin^{2}n=\frac{1-\cos 2n}{2}, so ∣sin⁡n∣n≥12⋅1n−12⋅cos⁡2nn\frac{|\sin n|}{n}\geq\frac{1}{2}\cdot\frac{1}{n}-\frac{1}{2}\cdot\frac{\cos 2n}{n}. The series ∑cos⁡2nn\sum\frac{\cos 2n}{n} converges by the same Abel argument, while ∑1n\sum\frac{1}{n} diverges. The lower bound is therefore the difference of a divergent series and a convergent series: it diverges, and by comparison ∑∣sin⁡n∣n\sum\frac{|\sin n|}{n} DIVERGES. The series is CONDITIONALLY CONVERGENT.

e)

For ∑sin⁡nn\sum\frac{\sin n}{\sqrt{n}}: yes, 1n\frac{1}{\sqrt{n}} still decreases to 0 and the oscillating part is unchanged, so the series converges (still conditionally). For ∑sin⁡n\sum\sin n: no, because there is no decreasing factor any more; an=1a_{n}=1 does not tend to 0. And indeed the series diverges, since its general term sin⁡n\sin n does not tend to 0.

2468101214161820222426-3-2-1123+M−MM = 1/sin(1/2) ≈ 2.086

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−kc_{n}=\sum_{k=0}^{n}a_{k}b_{n-k}, which gathers all the products whose indices have the same sum, exactly as for polynomials.

  • a) Write c0c_{0}, c1c_{1} and c2c_{2} in terms of the aka_{k} and bkb_{k}.
  • b) State the theorem: under which hypothesis do we have ∑cn=(∑an)(∑bn)\sum c_{n}=\left(\sum a_{n}\right)\left(\sum b_{n}\right)?
  • c) Apply it to the exponential series an=xnn!a_{n}=\frac{x^{n}}{n!} and bn=ynn!b_{n}=\frac{y^{n}}{n!}, and recover the identity exey=ex+ye^{x}e^{y}=e^{x+y}.
  • d) Take an=bn=(−1)nn+1a_{n}=b_{n}=\frac{(-1)^{n}}{\sqrt{n+1}}, conditionally convergent series. Find a lower bound for ∣cn∣\left|c_{n}\right| and show that the Cauchy product DIVERGES.
  • e) What can you conclude about whether the hypothesis of the theorem is necessary?

Type your answers, the page tells you right or wrong 0/6

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) c2=a0b2+a1b1+a2b0c_{2}=a_{0}b_{2}+a_{1}b_{1}+a_{2}b_{0}
  • b) Absolute convergence of both
  • c) exey=ex+ye^{x}e^{y}=e^{x+y}
  • d) ∣cn∣≥n+1n/2+1→2|c_{n}|\geq\frac{n+1}{n/2+1}\to 2: diverges
  • e) Essential hypothesis
a)

c0=a0b0c_{0}=a_{0}b_{0}; c1=a0b1+a1b0c_{1}=a_{0}b_{1}+a_{1}b_{0}; c2=a0b2+a1b1+a2b0c_{2}=a_{0}b_{2}+a_{1}b_{1}+a_{2}b_{0}. This is the rule for multiplying polynomials, where the coefficient of xnx^{n} gathers all the products of indices adding up to nn.

b)

If ∑an\sum a_{n} and ∑bn\sum b_{n} converge ABSOLUTELY, then ∑cn\sum c_{n} 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 xx and yy, so the hypothesis is satisfied. Compute cn=∑k=0nxkk!⋅yn−k(n−k)!=1n!∑k=0n(nk)xkyn−k=(x+y)nn!c_{n}=\sum_{k=0}^{n}\frac{x^{k}}{k!}\cdot\frac{y^{n-k}}{(n-k)!}=\frac{1}{n!}\sum_{k=0}^{n}\binom{n}{k}x^{k}y^{n-k}=\frac{(x+y)^{n}}{n!} by the binomial theorem. Summing: exey=∑(x+y)nn!=ex+ye^{x}e^{y}=\sum\frac{(x+y)^{n}}{n!}=e^{x+y}. Numerical check with x=0.7x=0.7 and y=0.4y=0.4: both sides equal 3.0041660239.

d)

These series converge (they are alternating) but not absolutely, since ∑1n+1\sum\frac{1}{\sqrt{n+1}} is a p-series with exponent 12\frac{1}{2}. All the products akan−ka_{k}a_{n-k} have the same sign (−1)n(-1)^{n}, so no cancellation occurs and ∣cn∣=∑k=0n1(k+1)(n−k+1)\left|c_{n}\right|=\sum_{k=0}^{n}\frac{1}{\sqrt{(k+1)(n-k+1)}}. Now (k+1)(n−k+1)≤(n2+1)2(k+1)(n-k+1)\leq\left(\frac{n}{2}+1\right)^{2} by the AM-GM inequality, so each term is at least 1n2+1\frac{1}{\frac{n}{2}+1} and ∣cn∣≥n+1n2+1→2\left|c_{n}\right|\geq\frac{n+1}{\frac{n}{2}+1}\to 2. The general term does not tend to 0: the Cauchy product DIVERGES. Numerically, ∣c200∣≈2.94\left|c_{200}\right|\approx 2.94 and ∣c800∣≈3.04\left|c_{800}\right|\approx 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)\sum c_{n}=\left(\sum a_{n}\right)\left(\sum b_{n}\right) 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≥1n! 3nnn\sum_{n\geq 1}\dfrac{n!\,3^{n}}{n^{n}}    b) ∑n≥21n(ln⁡n)2\sum_{n\geq 2}\dfrac{1}{n(\ln n)^{2}}    c) ∑n≥1cos⁡nn2\sum_{n\geq 1}\dfrac{\cos n}{n^{2}}
  • d) ∑n≥1(n+1−n)\sum_{n\geq 1}\left(\sqrt{n+1}-\sqrt{n}\right)    e) ∑n≥1(−1)nn+n\sum_{n\geq 1}\dfrac{(-1)^{n}}{n+\sqrt{n}}
  • f) ∑n≥1(nn+1)n2\sum_{n\geq 1}\left(\dfrac{n}{n+1}\right)^{n^{2}}    g) ∑n≥11n1+1/n\sum_{n\geq 1}\dfrac{1}{n^{1+1/n}}    h) ∑n≥1sin⁡nn\sum_{n\geq 1}\dfrac{\sin n}{n}
  • i) Summarize in five lines the decision tree you have just applied.

Type your answers, the page tells you right or wrong 0/9

a)
d)
f)
i)
Show the solution

Answers

  • a) Divergent; absolutely convergent; absolutely convergent
  • d) Divergent; conditionally convergent
  • f) Absolutely convergent; divergent; conditionally convergent
  • i) General term, sign, suitable test
a)

Factorial and nnth power: ratio test. The ratio tends to 3e≈1.104>1\frac{3}{e}\approx 1.104>1: DIVERGES.

b)

Fraction with a logarithm in the denominator: integral test, or condensation. With u=ln⁡xu=\ln x, the integral becomes ∫duu2\int\frac{du}{u^{2}}, which converges: CONVERGES. (Condensation gives ∑1n2(ln⁡2)2\sum\frac{1}{n^{2}(\ln 2)^{2}}, same conclusion.)

c)

Bounded numerator, no equivalent: direct bound. ∣cos⁡nn2∣≤1n2\left|\frac{\cos n}{n^{2}}\right|\leq\frac{1}{n^{2}}, a convergent series: ABSOLUTELY CONVERGENT.

d)

Difference of two equivalent quantities: rationalize rather than expand. n+1−n=1n+1+n∼12n\sqrt{n+1}-\sqrt{n}=\frac{1}{\sqrt{n+1}+\sqrt{n}}\sim\frac{1}{2\sqrt{n}}, a p-series with exponent 12\frac{1}{2}: DIVERGES. (You can also see that the partial sum telescopes to N+1−1→+∞\sqrt{N+1}-1\to+\infty.)

e)

Alternating series: alternating series test (Leibniz). 1n+n\frac{1}{n+\sqrt{n}} decreases to 0, so the series CONVERGES; but 1n+n∼1n\frac{1}{n+\sqrt{n}}\sim\frac{1}{n}, so not absolutely: CONDITIONALLY CONVERGENT.

f)

An nnth power applied to a whole expression: root test. ann=(nn+1)n=1(1+1n)n→1e<1\sqrt[n]{a_{n}}=\left(\frac{n}{n+1}\right)^{n}=\frac{1}{\left(1+\frac{1}{n}\right)^{n}}\to\frac{1}{e}<1: CONVERGES.

g)

Pitfall: the exponent tends to 1, so you might think of the harmonic series. Write n1+1/n=n⋅n1/nn^{1+1/n}=n\cdot n^{1/n} and n1/n=eln⁡nn→1n^{1/n}=e^{\frac{\ln n}{n}}\to 1. So an∼1na_{n}\sim\frac{1}{n} and, by limit comparison on positive terms, the series DIVERGES. The extra exponent 1n\frac{1}{n} is too weak to tip the balance.

h)

Irregular signs, neither positive nor alternating: Abel's test. 1n\frac{1}{n} decreases to 0 and the partial sums of sin⁡n\sin n 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 knk^{n}, use the ratio test; with an nnth 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(1n−1n+1)\sum_{n\geq 1}\left(\frac{1}{\sqrt{n}}-\frac{1}{\sqrt{n+1}}\right)
  • b) ∑n≥1arctan⁡1n2+n+1\sum_{n\geq 1}\arctan\frac{1}{n^{2}+n+1}, using arctan⁡p−arctan⁡q=arctan⁡p−q1+pq\arctan p-\arctan q=\arctan\frac{p-q}{1+pq} for p>q≥0p>q\geq 0.
  • c) ∑n≥1(n+2−2n+1+n)\sum_{n\geq 1}\left(\sqrt{n+2}-2\sqrt{n+1}+\sqrt{n}\right)
  • d) ∑n≥1n(n+1)!\sum_{n\geq 1}\frac{n}{(n+1)!}
  • e) ∑n≥01(3n+1)(3n+4)\sum_{n\geq 0}\frac{1}{(3n+1)(3n+4)}

Type your answers, the page tells you right or wrong 0/5

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) 11
  • b) π4\frac{\pi}{4}
  • c) 1−21-\sqrt{2}
  • d) 11
  • e) 13\frac{1}{3}
a)

Sequence vn=1nv_{n}=\frac{1}{\sqrt{n}}: SN=v1−vN+1=1−1N+1→1S_{N}=v_{1}-v_{N+1}=1-\frac{1}{\sqrt{N+1}}\to 1. The sum is 11.

b)

With p=n+1p=n+1 and q=nq=n: arctan⁡(n+1)−arctan⁡n=arctan⁡11+n(n+1)=arctan⁡1n2+n+1\arctan(n+1)-\arctan n=\arctan\frac{1}{1+n(n+1)}=\arctan\frac{1}{n^{2}+n+1}. Hence SN=arctan⁡(N+1)−arctan⁡1→π2−π4=π4≈0.785S_{N}=\arctan(N+1)-\arctan 1\to\frac{\pi}{2}-\frac{\pi}{4}=\frac{\pi}{4}\approx 0.785.

c)

The term is a difference of differences: (n+2−n+1)−(n+1−n)=wn+1−wn\left(\sqrt{n+2}-\sqrt{n+1}\right)-\left(\sqrt{n+1}-\sqrt{n}\right)=w_{n+1}-w_{n} with wn=n+1−n=1n+1+n→0w_{n}=\sqrt{n+1}-\sqrt{n}=\frac{1}{\sqrt{n+1}+\sqrt{n}}\to 0. So SN=wN+1−w1→0−(2−1)=1−2≈−0.414S_{N}=w_{N+1}-w_{1}\to 0-\left(\sqrt{2}-1\right)=1-\sqrt{2}\approx-0.414. The terms are negative, which is consistent with the concavity of the square root.

d)

n(n+1)!=(n+1)−1(n+1)!=1n!−1(n+1)!\frac{n}{(n+1)!}=\frac{(n+1)-1}{(n+1)!}=\frac{1}{n!}-\frac{1}{(n+1)!}: SN=11!−1(N+1)!→1S_{N}=\frac{1}{1!}-\frac{1}{(N+1)!}\to 1. The trick is to make the factor that simplifies the factorial appear in the numerator.

e)

1(3n+1)(3n+4)=13(13n+1−13n+4)\frac{1}{(3n+1)(3n+4)}=\frac{1}{3}\left(\frac{1}{3n+1}-\frac{1}{3n+4}\right): the sequence is 13n+1\frac{1}{3n+1}, and 3(n+1)+1=3n+43(n+1)+1=3n+4 is indeed its next term. SN=13(1−13N+4)→13S_{N}=\frac{1}{3}\left(1-\frac{1}{3N+4}\right)\to\frac{1}{3}. The coefficient 13\frac{1}{3} 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 an+1an=1−αn+o(1n)\frac{a_{n+1}}{a_{n}}=1-\frac{\alpha}{n}+o\left(\frac{1}{n}\right), the series converges if α>1\alpha>1 and diverges if α<1\alpha<1.

  • a) Let an=1⋅4⋅7⋯(3n−2)3⋅6⋅9⋯(3n)a_{n}=\frac{1\cdot 4\cdot 7\cdots(3n-2)}{3\cdot 6\cdot 9\cdots(3n)}. Simplify the ratio an+1an\frac{a_{n+1}}{a_{n}}, compute α\alpha and conclude.
  • b) Numerical check: compute n(1−an+1an)n\left(1-\frac{a_{n+1}}{a_{n}}\right) for n=100n=100.
  • c) For a>0a>0, let un=n!(a+1)(a+2)⋯(a+n)u_{n}=\frac{n!}{(a+1)(a+2)\cdots(a+n)}. Compute α\alpha and discuss the behaviour of ∑un\sum u_{n} according to aa.
  • d) Simplify unu_{n} for a=1a=1 and for a=3a=3, recover the conclusions of c), and compute ∑n≥1un\sum_{n\geq 1}u_{n} for a=3a=3.
  • e) Determine the behaviour of ∑an2\sum a_{n}^{2} for the sequence of a).

Type your answers, the page tells you right or wrong 0/9

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) α=23\alpha=\frac{2}{3}: diverges
  • b) 200303≈0.660\frac{200}{303}\approx 0.660
  • c) α=a\alpha=a: converges if a>1a>1
  • d) a=1a=1: diverges; a=3a=3: sum 12\frac{1}{2}
  • e) α=43\alpha=\frac{4}{3}: converges
a)

Going from ana_{n} to an+1a_{n+1} adds a factor 3n+13n+1 on top and 3n+33n+3 at the bottom: an+1an=3n+13n+3=1−23n+3=1−23n+o(1n)\frac{a_{n+1}}{a_{n}}=\frac{3n+1}{3n+3}=1-\frac{2}{3n+3}=1-\frac{2}{3n}+o\left(\frac{1}{n}\right). The ratio test gives 11 and is inconclusive; Raabe's test gives α=23<1\alpha=\frac{2}{3}<1: the series DIVERGES.

b)

n(1−3n+13n+3)=2n3n+3n\left(1-\frac{3n+1}{3n+3}\right)=\frac{2n}{3n+3}, and for n=100n=100: 200303≈0.660\frac{200}{303}\approx 0.660, already close to 23\frac{2}{3}.

c)

un+1un=n+1a+n+1=1−an+a+1=1−an+o(1n)\frac{u_{n+1}}{u_{n}}=\frac{n+1}{a+n+1}=1-\frac{a}{n+a+1}=1-\frac{a}{n}+o\left(\frac{1}{n}\right): α=a\alpha=a. The series converges if a>1a>1 and diverges if a<1a<1; the test says nothing for a=1a=1.

d)

For a=1a=1: un=n!2⋅3⋯(n+1)=1n+1u_{n}=\frac{n!}{2\cdot 3\cdots(n+1)}=\frac{1}{n+1}, a shifted harmonic series: it DIVERGES, and the boundary case is settled by hand. For a=3a=3: 4⋅5⋯(n+3)=(n+3)!3!4\cdot 5\cdots(n+3)=\frac{(n+3)!}{3!}, so un=6 n!(n+3)!=6(n+1)(n+2)(n+3)∼6n3u_{n}=\frac{6\,n!}{(n+3)!}=\frac{6}{(n+1)(n+2)(n+3)}\sim\frac{6}{n^{3}}: it CONVERGES, as announced by α=3\alpha=3. Sum: 1(n+1)(n+2)(n+3)=12(1(n+1)(n+2)−1(n+2)(n+3))\frac{1}{(n+1)(n+2)(n+3)}=\frac{1}{2}\left(\frac{1}{(n+1)(n+2)}-\frac{1}{(n+2)(n+3)}\right) telescopes from n=1n=1 to 12⋅12⋅3=112\frac{1}{2}\cdot\frac{1}{2\cdot 3}=\frac{1}{12}, hence ∑n≥1un=612=12\sum_{n\geq 1}u_{n}=\frac{6}{12}=\frac{1}{2}.

e)

an+12an2=(1−23n+3)2=1−43n+o(1n)\frac{a_{n+1}^{2}}{a_{n}^{2}}=\left(1-\frac{2}{3n+3}\right)^{2}=1-\frac{4}{3n}+o\left(\frac{1}{n}\right): α=43>1\alpha=\frac{4}{3}>1, so ∑an2\sum a_{n}^{2} CONVERGES. Squaring doubles α\alpha: this reflects the fact that ana_{n} behaves like a constant times n−2/3n^{-2/3}, and an2a_{n}^{2} like n−4/3n^{-4/3}.

Exercise 13: Abel's test in practice

Reminder (exercise 8): if (an)(a_{n}) decreases to 00 and the partial sums of (bn)(b_{n}) are bounded, then ∑anbn\sum a_{n}b_{n} converges. For each series, say whether it is absolutely convergent, conditionally convergent or divergent.

  • a) ∑n≥2sin⁡(2n)ln⁡n\sum_{n\geq 2}\frac{\sin(2n)}{\ln n}, taking for granted that ∣∑k=1nsin⁡(2k)∣≤1sin⁡1\left|\sum_{k=1}^{n}\sin(2k)\right|\leq\frac{1}{\sin 1}. Give the value of this bound.
  • b) ∑n≥11ncos⁡nπ3\sum_{n\geq 1}\frac{1}{n}\cos\frac{n\pi}{3}. Give the maximum of ∣∑k=1ncos⁡kπ3∣\left|\sum_{k=1}^{n}\cos\frac{k\pi}{3}\right|.
  • c) ∑n≥11ncos⁡nπ2\sum_{n\geq 1}\frac{1}{n}\cos\frac{n\pi}{2}, whose sum you will compute.
  • d) ∑n≥1sin⁡nn3/2\sum_{n\geq 1}\frac{\sin n}{n^{3/2}}
  • e) ∑n≥1sin⁡2nn\sum_{n\geq 1}\frac{\sin^{2}n}{n}

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Conditionally convergent
  • b) Partial sums bounded by 32\frac{3}{2}; conditionally convergent
  • c) −12ln⁡2-\frac{1}{2}\ln 2; conditionally convergent
  • d) Absolutely convergent
  • e) Divergent
a)

1ln⁡n\frac{1}{\ln n} decreases to 00 for n≥2n\geq 2, and the partial sums of sin⁡(2k)\sin(2k) are bounded by 1sin⁡1≈1.188\frac{1}{\sin 1}\approx 1.188 (same computation as in exercise 8 with the ratio e2ie^{2i}: 2∣e2i−1∣=1sin⁡1\frac{2}{\left|e^{2i}-1\right|}=\frac{1}{\sin 1}). Abel: the series converges. In absolute value, ∣sin⁡2n∣ln⁡n≥sin⁡22nln⁡n=12ln⁡n−cos⁡4n2ln⁡n\frac{|\sin 2n|}{\ln n}\geq\frac{\sin^{2}2n}{\ln n}=\frac{1}{2\ln n}-\frac{\cos 4n}{2\ln n}: the first series diverges (its term exceeds 12n\frac{1}{2n}), the second converges by Abel, so the lower bound diverges. CONDITIONALLY CONVERGENT.

b)

cos⁡kπ3\cos\frac{k\pi}{3} is periodic with period 66: 12,−12,−1,−12,12,1\frac{1}{2},-\frac{1}{2},-1,-\frac{1}{2},\frac{1}{2},1, with sum zero. The partial sums are 12,0,−1,−32,−1,0\frac{1}{2},0,-1,-\frac{3}{2},-1,0 and then start over: they are bounded, with maximum 32\frac{3}{2} in absolute value. Abel with 1n\frac{1}{n}: the series converges. Since ∣cos⁡nπ3∣≥12\left|\cos\frac{n\pi}{3}\right|\geq\frac{1}{2}, the series of absolute values exceeds ∑12n\sum\frac{1}{2n} and diverges. CONDITIONALLY CONVERGENT.

c)

cos⁡nπ2\cos\frac{n\pi}{2} equals 00 for odd nn and (−1)m(-1)^{m} for n=2mn=2m. The series is therefore ∑m≥1(−1)m2m=−12(1−12+13−⋯ )=−12ln⁡2≈−0.347\sum_{m\geq 1}\frac{(-1)^{m}}{2m}=-\frac{1}{2}\left(1-\frac{1}{2}+\frac{1}{3}-\cdots\right)=-\frac{1}{2}\ln 2\approx-0.347. Removing the zero terms changes neither the behaviour nor the sum, since it only repeats some of the partial sums. Absolute values: ∑12m\sum\frac{1}{2m} diverges. CONDITIONALLY CONVERGENT.

d)

∣sin⁡nn3/2∣≤1n3/2\left|\frac{\sin n}{n^{3/2}}\right|\leq\frac{1}{n^{3/2}}, p-series with p=32>1p=\frac{3}{2}>1: ABSOLUTELY CONVERGENT. Abel's test is useless here: always test for absolute convergence first.

e)

Positive terms. sin⁡2n=1−cos⁡2n2\sin^{2}n=\frac{1-\cos 2n}{2}, so sin⁡2nn=12n−cos⁡2n2n\frac{\sin^{2}n}{n}=\frac{1}{2n}-\frac{\cos 2n}{2n}. The series ∑cos⁡2n2n\sum\frac{\cos 2n}{2n} converges by Abel and ∑12n\sum\frac{1}{2n} diverges: the series DIVERGES. A squared sine is not small: it equals 12\frac{1}{2} on average, and the series behaves like ∑12n\sum\frac{1}{2n}.

Exercise 14: The Cauchy product of two geometric distributions

Two queues are independent. You wait XX minutes at the first one and YY minutes at the second, with P(X=k)=(12)k+1P(X=k)=\left(\frac{1}{2}\right)^{k+1} and P(Y=k)=23(13)kP(Y=k)=\frac{2}{3}\left(\frac{1}{3}\right)^{k} for k=0,1,2,…k=0,1,2,\ldots The probability of waiting nn minutes in total is cn=P(X+Y=n)=∑k=0nP(X=k) P(Y=n−k)c_{n}=P(X+Y=n)=\sum_{k=0}^{n}P(X=k)\,P(Y=n-k): it is the Cauchy product of the two series.

  • a) Check that ∑k≥0P(X=k)=1\sum_{k\geq 0}P(X=k)=1 and ∑k≥0P(Y=k)=1\sum_{k\geq 0}P(Y=k)=1.
  • b) Compute c0c_{0}, c1c_{1} and c2c_{2}.
  • c) Show that cn=12n−23n+1c_{n}=\frac{1}{2^{n}}-\frac{2}{3^{n+1}}, using ∑k=0nukvn−k=un+1−vn+1u−v\sum_{k=0}^{n}u^{k}v^{n-k}=\frac{u^{n+1}-v^{n+1}}{u-v} for u≠vu\neq v. Deduce c3c_{3}.
  • d) Justify without computation that ∑n≥0cn=1\sum_{n\geq 0}c_{n}=1, then check it with the formula from c).
  • e) Compute the probability of waiting at least 33 minutes in total.

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) Two geometric series with sum 11
  • b) 13\frac{1}{3}, 518\frac{5}{18}, 19108\frac{19}{108}
  • c) cn=12n−23n+1c_{n}=\frac{1}{2^{n}}-\frac{2}{3^{n+1}}; c3≈0.100c_{3}\approx 0.100
  • d) Cauchy product: 11
  • e) 23108≈0.213\frac{23}{108}\approx 0.213
a)

Two geometric series: ∑(12)k+1=1/21−1/2=1\sum\left(\frac{1}{2}\right)^{k+1}=\frac{1/2}{1-1/2}=1 and 23∑(13)k=23⋅11−1/3=1\frac{2}{3}\sum\left(\frac{1}{3}\right)^{k}=\frac{2}{3}\cdot\frac{1}{1-1/3}=1.

b)

c0=12⋅23=13c_{0}=\frac{1}{2}\cdot\frac{2}{3}=\frac{1}{3}; c1=12⋅29+14⋅23=19+16=518c_{1}=\frac{1}{2}\cdot\frac{2}{9}+\frac{1}{4}\cdot\frac{2}{3}=\frac{1}{9}+\frac{1}{6}=\frac{5}{18}; c2=12⋅227+14⋅29+18⋅23=127+118+112=19108≈0.176c_{2}=\frac{1}{2}\cdot\frac{2}{27}+\frac{1}{4}\cdot\frac{2}{9}+\frac{1}{8}\cdot\frac{2}{3}=\frac{1}{27}+\frac{1}{18}+\frac{1}{12}=\frac{19}{108}\approx 0.176.

c)

cn=∑k=0n12(12)k⋅23(13)n−k=13∑k=0nukvn−kc_{n}=\sum_{k=0}^{n}\frac{1}{2}\left(\frac{1}{2}\right)^{k}\cdot\frac{2}{3}\left(\frac{1}{3}\right)^{n-k}=\frac{1}{3}\sum_{k=0}^{n}u^{k}v^{n-k} with u=12u=\frac{1}{2}, v=13v=\frac{1}{3} and u−v=16u-v=\frac{1}{6}. Hence cn=13⋅6(12n+1−13n+1)=12n−23n+1c_{n}=\frac{1}{3}\cdot 6\left(\frac{1}{2^{n+1}}-\frac{1}{3^{n+1}}\right)=\frac{1}{2^{n}}-\frac{2}{3^{n+1}}. Check: c0=1−23=13c_{0}=1-\frac{2}{3}=\frac{1}{3} and c1=12−29=518c_{1}=\frac{1}{2}-\frac{2}{9}=\frac{5}{18}. Then c3=18−281=65648≈0.100c_{3}=\frac{1}{8}-\frac{2}{81}=\frac{65}{648}\approx 0.100.

d)

Both series have positive terms and converge, so they converge absolutely: the Cauchy product theorem gives ∑cn=1×1=1\sum c_{n}=1\times 1=1. It is also obvious in terms of probability, since X+YX+Y necessarily takes some integer value. Check: ∑12n=2\sum\frac{1}{2^{n}}=2 and ∑23n+1=2/31−1/3=1\sum\frac{2}{3^{n+1}}=\frac{2/3}{1-1/3}=1, hence 2−1=12-1=1.

e)

P(X+Y≥3)=1−(c0+c1+c2)=1−36+30+19108=23108≈0.213P(X+Y\geq 3)=1-\left(c_{0}+c_{1}+c_{2}\right)=1-\frac{36+30+19}{108}=\frac{23}{108}\approx 0.213. Use the known total sum: rather than adding infinitely many cnc_{n}, subtract the first three.

Exercise 15: Speeding up the alternating harmonic series

The alternating harmonic series converges to ln⁡2\ln 2, but slowly. Write Sn=∑k=1n(−1)k+1kS_{n}=\sum_{k=1}^{n}\frac{(-1)^{k+1}}{k} and take for granted that ln⁡2−Sn=(−1)nIn\ln 2-S_{n}=(-1)^{n}I_{n}, with In=∫01xn1+x dxI_{n}=\int_{0}^{1}\frac{x^{n}}{1+x}\,dx. The goal is to gain accuracy without computing more terms.

  • a) Compute S10S_{10} to three decimal places and the error ∣ln⁡2−S10∣\left|\ln 2-S_{10}\right|. Compare it with the bound 111\frac{1}{11} given by the alternating series test.
  • b) Let An=Sn+Sn+12A_{n}=\frac{S_{n}+S_{n+1}}{2}. Show that An=Sn+(−1)n2(n+1)A_{n}=S_{n}+\frac{(-1)^{n}}{2(n+1)}, then compute A10A_{10} and its error.
  • c) Using integration by parts, show that In=12(n+1)+1n+1∫01xn+1(1+x)2 dxI_{n}=\frac{1}{2(n+1)}+\frac{1}{n+1}\int_{0}^{1}\frac{x^{n+1}}{(1+x)^{2}}\,dx, then that ∣ln⁡2−An∣≤1(n+1)(n+2)\left|\ln 2-A_{n}\right|\leq\frac{1}{(n+1)(n+2)}. Give this bound for n=10n=10.
  • d) Which index nn guarantees an error of at most 10−410^{-4}, first with SnS_{n} and the bound from the test, then with AnA_{n} and the bound from c)?
  • e) Why is the average of two consecutive partial sums so effective for an alternating series?

Type your answers, the page tells you right or wrong 0/8

a)
b)
c)
d)
e)
Show the solution

Answers

  • a) S10≈0.646S_{10}\approx 0.646, error 0.04750.0475
  • b) A10≈0.6911A_{10}\approx 0.6911, error 0.00210.0021
  • c) Bound 1(n+1)(n+2)\frac{1}{(n+1)(n+2)}
  • d) 99999999 versus 9999
  • e) The average cancels the zigzag
a)

S10=1−12+⋯−110=16272520≈0.646S_{10}=1-\frac{1}{2}+\cdots-\frac{1}{10}=\frac{1627}{2520}\approx 0.646. With ln⁡2≈0.6931\ln 2\approx 0.6931, the error is 0.04750.0475, about half of the bound 111≈0.0909\frac{1}{11}\approx 0.0909. The bound from the test is safe, but pessimistic by a factor of about two.

b)

Sn+1=Sn+(−1)nn+1S_{n+1}=S_{n}+\frac{(-1)^{n}}{n+1}, so An=2Sn+(−1)nn+12=Sn+(−1)n2(n+1)A_{n}=\frac{2S_{n}+\frac{(-1)^{n}}{n+1}}{2}=S_{n}+\frac{(-1)^{n}}{2(n+1)}. For n=10n=10: A10=S10+122≈0.6456+0.0455=0.6911A_{10}=S_{10}+\frac{1}{22}\approx 0.6456+0.0455=0.6911, with an error of about 0.00210.0021: more than twenty times more accurate than S10S_{10}, for the same work.

c)

Integrate by parts, with xnx^{n} as the derivative of xn+1n+1\frac{x^{n+1}}{n+1}: In=[xn+1(n+1)(1+x)]01+1n+1∫01xn+1(1+x)2dx=12(n+1)+Jnn+1I_{n}=\left[\frac{x^{n+1}}{(n+1)(1+x)}\right]_{0}^{1}+\frac{1}{n+1}\int_{0}^{1}\frac{x^{n+1}}{(1+x)^{2}}dx=\frac{1}{2(n+1)}+\frac{J_{n}}{n+1}, with 0≤Jn≤∫01xn+1dx=1n+20\leq J_{n}\leq\int_{0}^{1}x^{n+1}dx=\frac{1}{n+2}. Now ln⁡2−An=(−1)nIn−(−1)n2(n+1)=(−1)nJnn+1\ln 2-A_{n}=(-1)^{n}I_{n}-\frac{(-1)^{n}}{2(n+1)}=(-1)^{n}\frac{J_{n}}{n+1}, hence ∣ln⁡2−An∣≤1(n+1)(n+2)\left|\ln 2-A_{n}\right|\leq\frac{1}{(n+1)(n+2)}. For n=10n=10: 1132≈0.0076\frac{1}{132}\approx 0.0076, consistent with the actual error 0.00210.0021.

d)

With SnS_{n}: 1n+1≤10−4\frac{1}{n+1}\leq 10^{-4} requires n≥9999n\geq 9999. With AnA_{n}: you need (n+1)(n+2)≥104(n+1)(n+2)\geq 10^{4}; n=98n=98 gives 99×100=990099\times 100=9900, which is not enough, and n=99n=99 gives 100×101=10,100100\times 101=10{,}100. So n=99n=99 is enough, that is, S99S_{99} and S100S_{100}: 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 SnS_{n} 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 1n2\frac{1}{n^{2}}. 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.

What is it about?
I read every request myself, nobody else sees it. No need to write your name or your school.
When your request is dealt with, you hear about it by email and in your space.

By sending, you agree that I read your request to answer it. It is kept with your account, erased with it, and never published: privacy policy.

Previous chapter Series with sin, cos, exp and ln terms, 201-SN3-RE (201-NYB) Next chapter Power series and Taylor series, 201-SN3-RE (201-NYB)

© Ahmed Squalli Houssaini. Exercise set published at www.letuteurscientifique.ca/en/exercices/cegep-calc2-advanced-convergence-tests. Free for personal and classroom use; republishing it elsewhere requires written permission (legal notice).

See also

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.

Site by Studio Squalli