MATH 141 Calculus 2 • McGill University, Montreal

Corrected exercises: alternating series, absolute and conditional convergence (MATH 141)

This is the corrected exercise set for the alternating series chapter of MATH 141, Calculus 2, the first-year integral calculus and series course at McGill University. It follows section 11.5 of Stewart and the start of section 11.6: the alternating series test, the estimation theorem, and absolute against conditional convergence. As on the final, there is no calculator: every bound is settled with perfect squares, small factorials and a few known values such as ln⁡2≈0.69\ln 2 \approx 0.69.

The thread running through the set: separate the SIGN from the SIZE. Write each term as (−1)nbn(-1)^n b_n with bn>0b_n > 0 and ask every question of bnb_n. The test checks that bnb_n decreases and tends to 00; the same bnb_n bounds the error, through the first term left out; and whether the convergence is absolute is a question about the positive series ∑bn\sum b_n, answered with the tests of the previous chapter.

The traps named in the solutions: concluding from bn→0b_n \to 0 alone, proving a decrease by the denominator grows, applying L'Hôpital's rule to a sequence, declaring divergence because a hypothesis of the test fails, bounding the error by bnb_n instead of bn+1b_{n+1}, counting terms from the wrong index, giving the error the sign of the last term kept, using the remainder bound on a series that is not alternating, and answering converges when the question was absolutely or conditionally.

10 corrected exercises • 100 points • 150 minutes

Revision sheet for this chapter → Every MATH 141 chapter →

Course recap

  • • Alternating Series Test: if bn>0b_n > 0, bn+1≤bnb_{n+1} \le b_n (from some rank on) and bn→0b_n \to 0, then ∑(−1)n−1bn\sum (-1)^{n-1} b_n converges.
  • • Estimation: ∣S−Sn∣≤bn+1|S - S_n| \le b_{n+1}, and SS lies between SnS_n and Sn+1S_{n+1}; the error has the sign of the first term left out.
  • • A decrease that is not obvious: f(n)=bnf(n) = b_n and f′(x)<0f'(x) < 0 for x≥Nx \ge N. Limits by L'Hôpital on f(x)f(x), never on bnb_n.
  • • ∑an\sum a_n converges absolutely if ∑∣an∣\sum |a_n| converges; conditionally if ∑an\sum a_n converges but ∑∣an∣\sum |a_n| diverges. Absolute convergence implies convergence.
  • • ∑(−1)n−1n=ln⁡2\sum \frac{(-1)^{n-1}}{n} = \ln 2, conditionally. ∑(−1)nnp\sum \frac{(-1)^n}{n^p}: absolute for p>1p > 1, conditional for 0<p≤10 < p \le 1, divergent for p≤0p \le 0.
  • • If bn↛0b_n \not\to 0, the Divergence Test decides. If the decrease fails, the test is silent: look for absolute convergence or study SnS_n.

Part A: the basics (/50)

Exercise 1: The alternating series test: two hypotheses, checked one by one

Alternating Series Test (Stewart 11.5). If bn>0b_n > 0, if bn+1≤bnb_{n+1} \le b_n for every nn (from some rank on), and if lim⁡n→∞bn=0\lim_{n \to \infty} b_n = 0, then ∑(−1)n−1bn\sum (-1)^{n-1} b_n converges. The test is a statement about the SIZE bnb_n of the terms, never about the signed term ana_n: the first line of every answer strips the sign and names bnb_n.

The figure shows the first ten partial sums of the series in a). Its sum is π4\frac{\pi}{4}, a fact proved later in the course with power series and used here only to read the picture.

1234567891011120.60.70.80.91π/4odd neven nnpartial sum Sn
  • a) ∑n=1∞(−1)n−12n−1=1−13+15−17+⋯\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{2n-1} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots. Name bnb_n, check the hypotheses of the test one at a time, and conclude.
  • b) ∑n=1∞(−1)nnn+1\sum_{n=1}^{\infty} (-1)^n \frac{n}{n+1}. Can the test be applied? Decide whether the series converges, and name the tool that decides.
  • c) ∑n=1∞cos⁡(nπ)n\sum_{n=1}^{\infty} \frac{\cos(n\pi)}{\sqrt{n}}. Show that this is an alternating series in disguise, then conclude.
  • d) ∑n=1∞(−1)nsin⁡(πn)\sum_{n=1}^{\infty} (-1)^n \sin\left(\frac{\pi}{n}\right). The first term is 00, so b1>0b_1 > 0 fails. Does that matter? Check the hypotheses from n=2n = 2 on and conclude.
  • e) On the figure, which partial sums lie above π4\frac{\pi}{4} and which lie below? Without computing it, is S10S_{10} above or below the sum, and by at most how much?
Show the solution

Answers

  • a) bn=12n−1b_n = \frac{1}{2n-1}: positive, decreasing, limit 00. The series converges.
  • b) bn=nn+1→1≠0b_n = \frac{n}{n+1} \to 1 \neq 0: the test does not apply; the series diverges by the divergence test.
  • c) cos⁡(nπ)=(−1)n\cos(n\pi) = (-1)^n, bn=1nb_n = \frac{1}{\sqrt{n}} decreases to 00: converges.
  • d) No: finitely many terms never matter. From n=2n = 2, bn=sin⁡πnb_n = \sin\frac{\pi}{n} decreases to 00: converges.
  • e) Odd SnS_n above, even SnS_n below. S10S_{10} is below π4\frac{\pi}{4}, by at most b11=121b_{11} = \frac{1}{21}.

a) Strip the sign: an=(−1)n−1bna_n = (-1)^{n-1} b_n with bn=12n−1b_n = \frac{1}{2n-1}. Hypothesis 1, positive: 2n−1≥12n - 1 \ge 1, so bn>0b_n > 0. Hypothesis 2, decreasing: 2(n+1)−1=2n+1>2n−12(n+1) - 1 = 2n + 1 > 2n - 1, and a larger positive denominator gives a smaller fraction, so bn+1=12n+1<12n−1=bnb_{n+1} = \frac{1}{2n+1} < \frac{1}{2n-1} = b_n. Hypothesis 3, limit: lim⁡n→∞12n−1=0\lim_{n \to \infty} \frac{1}{2n-1} = 0. All three hold, so by the Alternating Series Test the series converges. The marker gives one line per hypothesis; writing only bn→0b_n \to 0 and concluding is worth half the marks at most, because the limit alone does not make an alternating series converge (Exercise 7 builds one that diverges).

b) Here bn=nn+1=11+1/nb_n = \frac{n}{n+1} = \frac{1}{1 + 1/n}, which tends to 11, not to 00. The third hypothesis fails, so the Alternating Series Test says NOTHING: it is a one-way test, and a failed hypothesis is not a verdict. The verdict comes from the Divergence Test of chapter 18: the terms an=(−1)nnn+1a_n = (-1)^n \frac{n}{n+1} approach 11 along even nn and −1-1 along odd nn, so lim⁡an\lim a_n does not exist, in particular it is not 00, and the series diverges. Writing the series diverges because the alternating series test fails loses the mark for the reason even though the conclusion is right.

c) For every integer nn, cos⁡(nπ)=(−1)n\cos(n\pi) = (-1)^n: cos⁡π=−1\cos \pi = -1, cos⁡2π=1\cos 2\pi = 1, and so on. The series is ∑(−1)nn\sum \frac{(-1)^n}{\sqrt{n}}, alternating, with bn=1n>0b_n = \frac{1}{\sqrt{n}} > 0. Decreasing: n+1>n\sqrt{n+1} > \sqrt{n}, so 1n+1<1n\frac{1}{\sqrt{n+1}} < \frac{1}{\sqrt{n}}. Limit: 1n→0\frac{1}{\sqrt{n}} \to 0. The series converges. It starts with a negative term, −1-1, and that changes nothing: the test applies to ∑(−1)nbn\sum (-1)^n b_n exactly as to ∑(−1)n−1bn\sum (-1)^{n-1} b_n, the two differing by a factor −1-1.

d) It does not matter: removing or changing finitely many terms never changes whether a series converges, only its sum. So apply the test to ∑n=2∞(−1)nsin⁡πn\sum_{n=2}^{\infty} (-1)^n \sin\frac{\pi}{n}. For n≥2n \ge 2, 0<πn≤π20 < \frac{\pi}{n} \le \frac{\pi}{2}, where sin⁡\sin is positive, so bn>0b_n > 0. Decreasing: 0<πn+1<πn≤π20 < \frac{\pi}{n+1} < \frac{\pi}{n} \le \frac{\pi}{2} and sin⁡\sin is increasing on [0,π2]\left[0, \frac{\pi}{2}\right], so bn+1<bnb_{n+1} < b_n. Limit: πn→0\frac{\pi}{n} \to 0 and sin⁡\sin is continuous at 00, so bn→sin⁡0=0b_n \to \sin 0 = 0. The series converges. Note the argument for the decrease: it uses where the angle lives. For n=1n = 1 the angle is π\pi, outside [0,π2]\left[0, \frac{\pi}{2}\right], which is precisely why the first term had to be set aside.

e) The first term is +1+1, so the odd partial sums S1,S3,S5,…S_1, S_3, S_5, \ldots (orange) end on an added term and lie ABOVE π4\frac{\pi}{4}, the even ones S2,S4,…S_2, S_4, \ldots (blue) end on a subtracted term and lie BELOW. The sum is squeezed between any two consecutive partial sums. S10S_{10} is even, so it is below, and the next step adds b11=121b_{11} = \frac{1}{21} and jumps over the limit: 0<π4−S10<1210 < \frac{\pi}{4} - S_{10} < \frac{1}{21}. The picture explains the test: each step is shorter than the previous one (decreasing) and the steps shrink to nothing (limit 00), so the zigzag closes on a single number.

Exercise 2: When the decrease is not obvious: prove it with a derivative

For bn=12n−1b_n = \frac{1}{2n-1} the decrease is one line. For a quotient whose numerator AND denominator both grow, it is not, and the reflex is to pass to the function of a real variable: if f(n)=bnf(n) = b_n and f′(x)<0f'(x) < 0 for x≥Nx \ge N, then bnb_n decreases from n=Nn = N on. The same function gives the limit, by L'Hôpital's rule applied to f(x)f(x), never to the sequence itself.

The figure shows f(x)=ln⁡xxf(x) = \frac{\ln x}{x} and the points bn=ln⁡nnb_n = \frac{\ln n}{n}.

123456789101112130.10.20.30.4maximum at x = ey = ln(x)/xn
  • a) Consider ∑n=1∞(−1)nln⁡nn\sum_{n=1}^{\infty} (-1)^n \frac{\ln n}{n}. Show without a calculator that b2<b3b_2 < b_3, by comparing 3ln⁡23\ln 2 and 2ln⁡32\ln 3. Is (bn)(b_n) decreasing from n=1n = 1?
  • b) Compute f′(x)f'(x) for f(x)=ln⁡xxf(x) = \frac{\ln x}{x}, find from which integer bnb_n decreases, compute lim⁡bn\lim b_n, and conclude on the convergence of the series.
  • c) Same work for ∑n=1∞(−1)n−1nn+4\sum_{n=1}^{\infty} (-1)^{n-1} \frac{\sqrt{n}}{n+4}, with g(x)=xx+4g(x) = \frac{\sqrt{x}}{x+4}.
  • d) A student writes: nn+4\frac{\sqrt{n}}{n+4} decreases because its denominator grows. Explain why this is not a proof, and check by hand, squaring, that b3<b4b_3 < b_4 and b4>b5b_4 > b_5.
  • e) Do the two series of a) and c) converge absolutely? Justify with a test from chapter 19.
Show the solution

Answers

  • a) ln⁡8<ln⁡9\ln 8 < \ln 9, so b2<b3b_2 < b_3: not decreasing from n=1n = 1.
  • b) f′(x)=1−ln⁡xx2<0f'(x) = \frac{1 - \ln x}{x^2} < 0 for x>ex > e: decreasing from n=3n = 3; lim⁡bn=0\lim b_n = 0; converges.
  • c) g′(x)=4−x2x(x+4)2<0g'(x) = \frac{4 - x}{2\sqrt{x}(x+4)^2} < 0 for x>4x > 4: decreasing from n=4n = 4; bn→0b_n \to 0; converges.
  • d) The numerator grows too. 48<4948 < 49 gives b3<b4b_3 < b_4 and 80<8180 < 81 gives b4>b5b_4 > b_5.
  • e) No for both: ln⁡nn>1n\frac{\ln n}{n} > \frac{1}{n} for n≥3n \ge 3, and nn+4\frac{\sqrt{n}}{n+4} compares in the limit to 1n\frac{1}{\sqrt{n}}. Both converge conditionally.

a) b2=ln⁡22b_2 = \frac{\ln 2}{2} and b3=ln⁡33b_3 = \frac{\ln 3}{3}. Multiply both by 66: the comparison is between 3ln⁡2=ln⁡83\ln 2 = \ln 8 and 2ln⁡3=ln⁡92\ln 3 = \ln 9, and ln⁡\ln is increasing, so ln⁡8<ln⁡9\ln 8 < \ln 9 and b2<b3b_2 < b_3. Also b1=ln⁡11=0<b2b_1 = \frac{\ln 1}{1} = 0 < b_2. The sequence RISES at first: it is not decreasing from n=1n = 1, and a proof that begins it is clear that bnb_n decreases is proving something false. The test only needs the decrease from some rank on, so the question becomes: from which rank?

b) Quotient rule: f′(x)=1x⋅x−ln⁡x⋅1x2=1−ln⁡xx2f'(x) = \frac{\frac{1}{x} \cdot x - \ln x \cdot 1}{x^2} = \frac{1 - \ln x}{x^2}. The denominator is positive, so f′(x)<0f'(x) < 0 exactly when ln⁡x>1\ln x > 1, that is x>ex > e. Since 2<e<32 < e < 3, ff is decreasing on [3,∞)[3, \infty) and bn+1<bnb_{n+1} < b_n for every n≥3n \ge 3; the figure shows the peak at x=ex = e. Limit: lim⁡x→∞ln⁡xx\lim_{x \to \infty} \frac{\ln x}{x} has the form ∞∞\frac{\infty}{\infty}, and L'Hôpital's rule on the FUNCTION gives lim⁡1/x1=0\lim \frac{1/x}{1} = 0; since bn=f(n)b_n = f(n), lim⁡bn=0\lim b_n = 0. From n=3n = 3 on, bn>0b_n > 0, decreasing, limit 00: the series converges by the Alternating Series Test, the first two terms changing only the value of the sum. Writing ddn\frac{d}{dn} of bnb_n or L'Hôpital on bnb_n is the chapter 17 trap: a sequence has no derivative, its function does.

c) g′(x)=12x(x+4)−x(x+4)2=(x+4)−2x2x(x+4)2=4−x2x(x+4)2g'(x) = \frac{\frac{1}{2\sqrt{x}}(x+4) - \sqrt{x}}{(x+4)^2} = \frac{(x + 4) - 2x}{2\sqrt{x}(x+4)^2} = \frac{4 - x}{2\sqrt{x}(x+4)^2}, after multiplying top and bottom by 2x2\sqrt{x}. The denominator is positive for x>0x > 0, so g′(x)<0g'(x) < 0 for x>4x > 4: bnb_n decreases from n=4n = 4 on. Limit: divide top and bottom by nn, bn=1/n1+4/n→01=0b_n = \frac{1/\sqrt{n}}{1 + 4/n} \to \frac{0}{1} = 0. And bn>0b_n > 0. The series converges by the Alternating Series Test applied from n=4n = 4.

d) The denominator n+4n + 4 grows, but so does the numerator n\sqrt{n}, and a quotient of two growing quantities can go either way: this one grows until n=4n = 4. The derivative is what settles the race. By hand: b3<b4b_3 < b_4 reads 37<28=14\frac{\sqrt{3}}{7} < \frac{2}{8} = \frac{1}{4}, that is 43<74\sqrt{3} < 7, and squaring two positive numbers keeps the order: 48<4948 < 49, true. b4>b5b_4 > b_5 reads 14>59\frac{1}{4} > \frac{\sqrt{5}}{9}, that is 9>459 > 4\sqrt{5}, and squaring: 81>8081 > 80, true. The margins are tiny, which is exactly why intuition fails here and a sign study is required.

e) Absolute convergence asks about ∑bn\sum b_n, the series of sizes, and it is a chapter 19 question. For a): for n≥3n \ge 3, ln⁡n>1\ln n > 1, so ln⁡nn>1n\frac{\ln n}{n} > \frac{1}{n}; the harmonic series diverges, so ∑ln⁡nn\sum \frac{\ln n}{n} diverges by direct comparison (the inequality points the right way: bigger than a divergent series). For c): n/(n+4)1/n=nn+4→1\frac{\sqrt{n}/(n+4)}{1/\sqrt{n}} = \frac{n}{n+4} \to 1, a finite positive limit, and ∑1n\sum \frac{1}{\sqrt{n}} is a divergent pp-series (p=12≤1p = \frac{1}{2} \le 1), so ∑bn\sum b_n diverges by limit comparison. Both series converge, but not absolutely: they converge CONDITIONALLY, thanks to the cancellation between signs only.

Exercise 3: How close is the partial sum? The remainder bound and the sign of the error

Alternating Series Estimation Theorem. If ∑(−1)n−1bn\sum (-1)^{n-1} b_n satisfies the hypotheses of the test and has sum SS, then the remainder Rn=S−SnR_n = S - S_n satisfies ∣Rn∣≤bn+1|R_n| \le b_{n+1}: the error is at most the FIRST TERM LEFT OUT. More precisely, SS lies between SnS_n and Sn+1S_{n+1}, so the error has the sign of that first omitted term.

Throughout, S=∑n=1∞(−1)n−1n3=1−18+127−164+⋯S = \sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n^3} = 1 - \frac{1}{8} + \frac{1}{27} - \frac{1}{64} + \cdots. Its exact value is not an elementary number, which is the typical situation in which the theorem is used.

  • a) Check that the hypotheses of the Alternating Series Test hold.
  • b) Compute S4S_4 as a single fraction, and bound ∣S−S4∣|S - S_4|.
  • c) Is S4S_4 an overestimate or an underestimate of SS? Give an interval of length 1125\frac{1}{125} that contains SS.
  • d) Using 0.895×17280.895 \times 1728 and 0.905×2160000.905 \times 216000, show that SS rounded to two decimal places is 0.900.90.
  • e) Why does the theorem hold? Group the terms of S2mS_{2m} in pairs, show that (S2m)(S_{2m}) increases and is bounded above by b1b_1, and say which hypothesis each step uses.
Show the solution

Answers

  • a) bn=1n3>0b_n = \frac{1}{n^3} > 0, decreasing, limit 00.
  • b) S4=15491728S_4 = \frac{1549}{1728}, ∣S−S4∣≤b5=1125|S - S_4| \le b_5 = \frac{1}{125}.
  • c) Underestimate: 15491728<S<15491728+1125=195353216000\frac{1549}{1728} < S < \frac{1549}{1728} + \frac{1}{125} = \frac{195353}{216000}.
  • d) 0.895<S4<S<S5<0.9050.895 < S_4 < S < S_5 < 0.905, so S=0.90S = 0.90 to two decimals.
  • e) Each pair b2k−1−b2k≥0b_{2k-1} - b_{2k} \ge 0 (decreasing); S2m≤b1S_{2m} \le b_1; monotone and bounded, so it converges; odd sums follow because bn→0b_n \to 0.

a) bn=1n3b_n = \frac{1}{n^3} is positive; (n+1)3>n3(n+1)^3 > n^3 gives bn+1<bnb_{n+1} < b_n; and 1n3→0\frac{1}{n^3} \to 0. The test applies, the series converges, and the estimation theorem may be used. The theorem has exactly the same hypotheses as the test: quoting the bound on a series whose bnb_n is not decreasing is not allowed (Exercise 8 c).

b) S4=1−18+127−164S_4 = 1 - \frac{1}{8} + \frac{1}{27} - \frac{1}{64}. The common denominator is lcm(8,27,64)=64⋅27=1728\text{lcm}(8, 27, 64) = 64 \cdot 27 = 1728: S4=1728−216+64−271728=15491728S_4 = \frac{1728 - 216 + 64 - 27}{1728} = \frac{1549}{1728}. The first term left out is +153+\frac{1}{5^3}, so ∣S−S4∣≤b5=1125=0.008|S - S_4| \le b_5 = \frac{1}{125} = 0.008. The bound uses b5b_5, not b4=164b_4 = \frac{1}{64}: the bound with b4b_4 is true but wasteful, and the question asks for the theorem's bound.

c) The first omitted term, +1125+\frac{1}{125}, is positive, so the error S−S4S - S_4 is positive: S4S_4 is an UNDERESTIMATE. Precisely, SS lies between S4S_4 and S5=S4+1125S_5 = S_4 + \frac{1}{125}: 15491728<S<15491728+1125\frac{1549}{1728} < S < \frac{1549}{1728} + \frac{1}{125}. With the common denominator 216000=1728×125216000 = 1728 \times 125: S5=1549⋅125+1728216000=193625+1728216000=195353216000S_5 = \frac{1549 \cdot 125 + 1728}{216000} = \frac{193625 + 1728}{216000} = \frac{195353}{216000}. The interval (S4,S5)(S_4, S_5) has length b5=1125b_5 = \frac{1}{125}, and the figure of the solution places it on the number line: S1S_1, S3S_3, S5S_5 on the right, S2S_2, S4S_4 on the left, closing in.

d) 0.895×1728=1546.56<15490.895 \times 1728 = 1546.56 < 1549, so S4=15491728>0.895S_4 = \frac{1549}{1728} > 0.895. And 0.905×216000=195480>1953530.905 \times 216000 = 195480 > 195353, so S5=195353216000<0.905S_5 = \frac{195353}{216000} < 0.905. Hence 0.895<S<0.9050.895 < S < 0.905, and every number of that interval rounds to 0.900.90. This is how a no-calculator exam asks for decimals: the bracket is exact, the rounding follows from two multiplications. (The true value is about 0.90150.9015, well inside.)

e) S2m=(b1−b2)+(b3−b4)+⋯+(b2m−1−b2m)S_{2m} = (b_1 - b_2) + (b_3 - b_4) + \cdots + (b_{2m-1} - b_{2m}). Each bracket is ≥0\ge 0 because (bn)(b_n) is DECREASING, so going from S2mS_{2m} to S2m+2S_{2m+2} adds b2m+1−b2m+2≥0b_{2m+1} - b_{2m+2} \ge 0: the even sums increase. Grouped the other way, S2m=b1−(b2−b3)−⋯−(b2m−2−b2m−1)−b2mS_{2m} = b_1 - (b_2 - b_3) - \cdots - (b_{2m-2} - b_{2m-1}) - b_{2m}, where every subtracted piece is ≥0\ge 0, again by the decrease, so S2m≤b1S_{2m} \le b_1. An increasing sequence bounded above converges (Monotone Sequence Theorem, chapter 17): S2m→SS_{2m} \to S. Finally S2m+1=S2m+b2m+1S_{2m+1} = S_{2m} + b_{2m+1}, and b2m+1→0b_{2m+1} \to 0 by the LIMIT hypothesis, so the odd sums have the same limit SS. The same picture gives the estimate: the even sums climb to SS and the odd sums descend to it, so SS is always between two consecutive sums, at distance less than the step bn+1b_{n+1} between them.

0.860.880.90.920.940.960.981S1S2S3S4S5S lies in the shaded interval

Exercise 4: How many terms for a given accuracy? The off-by-one that costs the mark

The estimation theorem turns into a counting question: to be SURE that ∣S−Sn∣≤ε|S - S_n| \le \varepsilon, it is enough that bn+1≤εb_{n+1} \le \varepsilon. Solve that inequality for the smallest nn, then count the terms of SnS_n, which depends on where the index starts.

No calculator: every inequality below is settled with perfect squares, small factorials and powers of ten.

  • a) ∑n=1∞(−1)n−1n2\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n^2}. How many terms guarantee an error of at most 0.0010.001?
  • b) ∑n=0∞(−1)n(2n)!=1−12!+14!−⋯\sum_{n=0}^{\infty} \frac{(-1)^n}{(2n)!} = 1 - \frac{1}{2!} + \frac{1}{4!} - \cdots. Check the hypotheses, then find how many terms guarantee an error of at most 10−410^{-4}, and give that estimate as a fraction.
  • c) ∑n=1∞(−1)n−1n\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{\sqrt{n}}. How many terms guarantee an error of at most 0.010.01?
  • d) Two students disagree on a): one solves 1n2≤0.001\frac{1}{n^2} \le 0.001, the other 1(n+1)2≤0.001\frac{1}{(n+1)^2} \le 0.001. On b), a third one writes the answer is S3S_3, so three terms. Sort out who is right.
  • e) Without adding thirty terms, give an interval of length 116\frac{1}{16} that contains the sum of a), using S3S_3 and S4S_4.
Show the solution

Answers

  • a) (n+1)2≥1000(n+1)^2 \ge 1000: n+1≥32n + 1 \ge 32, so 3131 terms.
  • b) (2n+2)!≥104(2n+2)! \ge 10^4: n=3n = 3, four terms (n=0n = 0 to 33); estimate 389720\frac{389}{720}.
  • c) n+1≥100\sqrt{n+1} \ge 100: n=9999n = 9999 terms.
  • d) bn+1b_{n+1} is the right bound (31, not 32). S3S_3 from n=0n = 0 has FOUR terms.
  • e) 115144<S<3136\frac{115}{144} < S < \frac{31}{36}.

a) bn=1n2b_n = \frac{1}{n^2} is positive, decreasing, with limit 00, so the theorem applies. We need bn+1=1(n+1)2≤11000b_{n+1} = \frac{1}{(n+1)^2} \le \frac{1}{1000}, that is (n+1)2≥1000(n+1)^2 \ge 1000. Now 312=961<100031^2 = 961 < 1000 and 322=1024≥100032^2 = 1024 \ge 1000, so the smallest possibility is n+1=32n + 1 = 32, n=31n = 31. The sum S31S_{31} of the first 3131 terms is guaranteed within 0.0010.001 of SS. Checking the two squares on either side of 10001000 is the proof that 3131 is the smallest nn the theorem allows; writing n≥1000−1n \ge \sqrt{1000} - 1 and stopping there leaves the answer unfinished.

b) bn=1(2n)!>0b_n = \frac{1}{(2n)!} > 0; decreasing because (2n+2)!=(2n+2)(2n+1)⋅(2n)!>(2n)!(2n+2)! = (2n+2)(2n+1) \cdot (2n)! > (2n)!; and 1(2n)!→0\frac{1}{(2n)!} \to 0. The index starts at n=0n = 0, so SN=∑n=0NS_N = \sum_{n=0}^{N} has N+1N + 1 terms and the first omitted term is bN+1=1(2N+2)!b_{N+1} = \frac{1}{(2N+2)!}. We need (2N+2)!≥104(2N+2)! \ge 10^4: 6!=7206! = 720 is too small, 8!=403208! = 40320 is enough, so 2N+2=82N + 2 = 8 and N=3N = 3. The estimate is S3=1−12+124−1720=720−360+30−1720=389720S_3 = 1 - \frac{1}{2} + \frac{1}{24} - \frac{1}{720} = \frac{720 - 360 + 30 - 1}{720} = \frac{389}{720}, made of FOUR terms, with error at most 18!=140320<10−4\frac{1}{8!} = \frac{1}{40320} < 10^{-4}. The factorials are handled by the estimation theorem alone; no other test is needed to see that this series converges very fast.

c) bn+1=1n+1≤1100b_{n+1} = \frac{1}{\sqrt{n+1}} \le \frac{1}{100} means n+1≥100\sqrt{n+1} \ge 100, that is n+1≥10000n + 1 \ge 10000: n=9999n = 9999 terms. Compare with a) and b): 3131 terms for three decimals with 1n2\frac{1}{n^2}, four terms for four decimals with factorials, ten thousand terms for two decimals with 1n\frac{1}{\sqrt{n}}. The bound reads the SPEED at which bnb_n goes to 00: a conditionally convergent alternating series usually converges very slowly, and is useless for computing.

d) The theorem bounds the error by the first omitted term, bn+1b_{n+1}, so the second student is right and the answer is 3131. The first student solves bn≤0.001b_n \le 0.001, gets n=32n = 32 and sums one term too many: the result is still within 0.0010.001, but it is not the number the theorem gives, and the question asks for that number. The third student confuses the index with the count: when the sum starts at n=0n = 0, S3S_3 contains n=0,1,2,3n = 0, 1, 2, 3, four terms. Both slips come from the same source, not writing down the first omitted term explicitly before solving.

e) S3=1−14+19=36−9+436=3136S_3 = 1 - \frac{1}{4} + \frac{1}{9} = \frac{36 - 9 + 4}{36} = \frac{31}{36}, and S4=3136−116=124−9144=115144S_4 = \frac{31}{36} - \frac{1}{16} = \frac{124 - 9}{144} = \frac{115}{144}. The sum lies between two consecutive partial sums, the odd one above since the last term added was positive: 115144<S<3136\frac{115}{144} < S < \frac{31}{36}, an interval of length b4=116b_4 = \frac{1}{16}. (The value, π212≈0.82\frac{\pi^2}{12} \approx 0.82, is indeed between 0.790.79 and 0.870.87.)

Exercise 5: Absolutely, conditionally, or not at all: strip the sign first

A series ∑an\sum a_n converges ABSOLUTELY if ∑∣an∣\sum |a_n| converges, and CONDITIONALLY if ∑an\sum a_n converges while ∑∣an∣\sum |a_n| diverges. Theorem (Stewart 11.6): absolute convergence implies convergence. So a classification always starts with ∑∣an∣\sum |a_n|, a series of positive terms handled with the tests of chapter 19, and only if that fails does the question of plain convergence arise.

Classify each series as absolutely convergent, conditionally convergent or divergent, naming every test and checking its hypotheses.

  • a) ∑n=1∞(−1)nn3/2\sum_{n=1}^{\infty} \frac{(-1)^n}{n^{3/2}}
  • b) ∑n=1∞(−1)n+1nn2+1\sum_{n=1}^{\infty} (-1)^{n+1} \frac{n}{n^2 + 1}
  • c) ∑n=1∞sin⁡nn2\sum_{n=1}^{\infty} \frac{\sin n}{n^2}
  • d) ∑n=2∞(−1)nln⁡n\sum_{n=2}^{\infty} \frac{(-1)^n}{\ln n}
  • e) ∑n=1∞(−1)n(1+1n)n\sum_{n=1}^{\infty} (-1)^n \left(1 + \frac{1}{n}\right)^n
Show the solution

Answers

  • a) Absolutely convergent: pp-series with p=32>1p = \frac{3}{2} > 1.
  • b) Conditionally convergent.
  • c) Absolutely convergent: ∣sin⁡n∣n2≤1n2\frac{|\sin n|}{n^2} \le \frac{1}{n^2} (not an alternating series).
  • d) Conditionally convergent.
  • e) Divergent: ∣an∣→e≠0|a_n| \to e \neq 0.

a) ∣an∣=1n3/2|a_n| = \frac{1}{n^{3/2}}, a pp-series with p=32>1p = \frac{3}{2} > 1: it converges. So the series converges absolutely, hence converges. No Alternating Series Test is needed, and running it would only prove convergence, which is the weaker statement: when asked to classify, answering converges by the alternating series test for a) loses the mark for absolutely.

b) ∣an∣=nn2+1|a_n| = \frac{n}{n^2+1}. Limit comparison with 1n\frac{1}{n}: n/(n2+1)1/n=n2n2+1→1\frac{n/(n^2+1)}{1/n} = \frac{n^2}{n^2+1} \to 1, finite and positive, and ∑1n\sum \frac{1}{n} diverges, so ∑∣an∣\sum |a_n| diverges: not absolutely convergent. Now the signed series, bn=nn2+1>0b_n = \frac{n}{n^2+1} > 0. Decreasing: h(x)=xx2+1h(x) = \frac{x}{x^2+1} has h′(x)=(x2+1)−2x2(x2+1)2=1−x2(x2+1)2<0h'(x) = \frac{(x^2+1) - 2x^2}{(x^2+1)^2} = \frac{1 - x^2}{(x^2+1)^2} < 0 for x>1x > 1, so bnb_n decreases from n=1n = 1 (b1=12>b2=25b_1 = \frac{1}{2} > b_2 = \frac{2}{5}). Limit: nn2+1=1/n1+1/n2→0\frac{n}{n^2+1} = \frac{1/n}{1 + 1/n^2} \to 0. By the Alternating Series Test the series converges: CONDITIONALLY.

c) The signs of sin⁡n\sin n are +,+,+,−,−,−,+,…+, +, +, -, -, -, +, \ldots, following the position of nn radians on the circle: this is NOT an alternating series and the Alternating Series Test cannot be used, not even to fail. Go to absolute values: 0≤∣sin⁡n∣n2≤1n20 \le \frac{|\sin n|}{n^2} \le \frac{1}{n^2}, and ∑1n2\sum \frac{1}{n^2} converges (p=2p = 2), so ∑∣an∣\sum |a_n| converges by direct comparison. The series converges absolutely, hence converges. The figure of the solution shows the sizes ∣an∣|a_n|, blue for a positive term and red for a negative one, all under the curve 1n2\frac{1}{n^2}: absolute convergence is the only tool for irregular signs, and the reason the theorem absolute implies convergent is worth knowing.

d) For n≥2n \ge 2, 0<ln⁡n<n0 < \ln n < n, so 1ln⁡n>1n\frac{1}{\ln n} > \frac{1}{n}, and ∑n≥21n\sum_{n \ge 2} \frac{1}{n} diverges: ∑∣an∣\sum |a_n| diverges by direct comparison. Signed series: bn=1ln⁡n>0b_n = \frac{1}{\ln n} > 0 for n≥2n \ge 2, decreasing because ln⁡\ln is increasing, and bn→0b_n \to 0 because ln⁡n→∞\ln n \to \infty. The Alternating Series Test gives convergence: the series converges CONDITIONALLY. It converges even more slowly than the alternating harmonic series.

e) ∣an∣=(1+1n)n→e|a_n| = \left(1 + \frac{1}{n}\right)^n \to e (chapter 17). Since e≠0e \neq 0, ana_n does not tend to 00: its even terms approach ee and its odd terms −e-e. The series diverges by the Divergence Test. The Alternating Series Test is irrelevant here, and checking whether (1+1n)n\left(1 + \frac{1}{n}\right)^n decreases (it actually increases) would be wasted time: look at the limit of bnb_n FIRST, it is the cheapest hypothesis to check and the only one that can prove divergence.

123456789101112130.050.10.150.20.250.3y = 1/n²blue: sin n > 0red: sin n < 0n|an|

Part B: problems and reasoning (/50)

Exercise 6: The alternating harmonic series: its sum is ln 2, and it converges only conditionally

The alternating harmonic series ∑n=1∞(−1)n−1n=1−12+13−14+⋯\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n} = 1 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \cdots is the reference example of the chapter: it converges, its sum can be found with the tools already in hand, and the series of its absolute values is the harmonic series, which diverges.

Write SnS_n for its partial sums and Hn=1+12+⋯+1nH_n = 1 + \frac{1}{2} + \cdots + \frac{1}{n} for those of the harmonic series. The figure shows four rectangles under the graph of y=11+xy = \frac{1}{1+x} on [0,1][0, 1].

0.250.50.7511.250.250.50.7514/54/64/74/8y = 1/(1+x)x
  • a) Prove that the series converges, and that it does not converge absolutely.
  • b) Show that S2n=H2n−Hn=1n+1+1n+2+⋯+12nS_{2n} = H_{2n} - H_n = \frac{1}{n+1} + \frac{1}{n+2} + \cdots + \frac{1}{2n}. Check it for n=4n = 4, computing S8S_8 as a fraction.
  • c) Write S2nS_{2n} as a Riemann sum of f(x)=11+xf(x) = \frac{1}{1+x} on [0,1][0, 1], and deduce the sum of the series. Why do the odd partial sums have the same limit?
  • d) Using the figure and the monotonicity of ff, explain why S8<ln⁡2S_8 < \ln 2, and give an interval containing ln⁡2\ln 2 whose endpoints are S8S_8 and S9S_9.
  • e) How many terms guarantee ln⁡2\ln 2 within 0.0010.001? Show that the positive terms 1+13+15+⋯1 + \frac{1}{3} + \frac{1}{5} + \cdots alone form a divergent series, and say what that means for the word conditionally.
Show the solution

Answers

  • a) bn=1nb_n = \frac{1}{n} decreases to 00: converges. ∑1n\sum \frac{1}{n} diverges: not absolutely.
  • b) S2n=H2n−2⋅12HnS_{2n} = H_{2n} - 2 \cdot \frac{1}{2} H_n; S8=15+16+17+18=533840S_8 = \frac{1}{5} + \frac{1}{6} + \frac{1}{7} + \frac{1}{8} = \frac{533}{840}.
  • c) S2n=1n∑k=1n11+k/n→∫01dx1+x=ln⁡2S_{2n} = \frac{1}{n}\sum_{k=1}^{n} \frac{1}{1 + k/n} \to \int_0^1 \frac{dx}{1+x} = \ln 2; S2n+1=S2n+12n+1→ln⁡2S_{2n+1} = S_{2n} + \frac{1}{2n+1} \to \ln 2.
  • d) Right sum of a decreasing function: S8<ln⁡2<S9=533840+19S_8 < \ln 2 < S_9 = \frac{533}{840} + \frac{1}{9}.
  • e) n=999n = 999 terms. 12k−1>12k\frac{1}{2k-1} > \frac{1}{2k}: the positive part diverges, and so does the negative part; convergence comes from cancellation only.

a) bn=1nb_n = \frac{1}{n}: positive, decreasing since n+1>nn + 1 > n, and 1n→0\frac{1}{n} \to 0. By the Alternating Series Test the series converges. The series of absolute values is ∑1n\sum \frac{1}{n}, the harmonic series, a pp-series with p=1p = 1, which diverges. So the series converges conditionally, and this is the example to quote whenever a counterexample to converges implies converges absolutely is needed.

b) S2n=(1+12+⋯+12n)−2(12+14+⋯+12n)S_{2n} = \left(1 + \frac{1}{2} + \cdots + \frac{1}{2n}\right) - 2\left(\frac{1}{2} + \frac{1}{4} + \cdots + \frac{1}{2n}\right): add all the terms with a plus sign, then remove the even ones twice. The even ones are 12k=12⋅1k\frac{1}{2k} = \frac{1}{2} \cdot \frac{1}{k} for k=1,…,nk = 1, \ldots, n, so twice their sum is HnH_n. Hence S2n=H2n−Hn=1n+1+⋯+12nS_{2n} = H_{2n} - H_n = \frac{1}{n+1} + \cdots + \frac{1}{2n}, exactly nn terms. For n=4n = 4: S8=15+16+17+18=168+140+120+105840=533840S_8 = \frac{1}{5} + \frac{1}{6} + \frac{1}{7} + \frac{1}{8} = \frac{168 + 140 + 120 + 105}{840} = \frac{533}{840}, and the direct sum 1−12+13−14+15−16+17−181 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \frac{1}{5} - \frac{1}{6} + \frac{1}{7} - \frac{1}{8} gives the same fraction.

c) 1n+k=1n⋅11+k/n\frac{1}{n+k} = \frac{1}{n} \cdot \frac{1}{1 + k/n}, so S2n=∑k=1nf(kn)1nS_{2n} = \sum_{k=1}^{n} f\left(\frac{k}{n}\right) \frac{1}{n} with f(x)=11+xf(x) = \frac{1}{1+x}: the right Riemann sum of ff on [0,1][0, 1] with nn subintervals of width 1n\frac{1}{n}, the sample points being xk=knx_k = \frac{k}{n}. The figure shows it for n=4n = 4: heights 45,46,47,48\frac{4}{5}, \frac{4}{6}, \frac{4}{7}, \frac{4}{8}, width 14\frac{1}{4}, total area S8S_8. Since ff is continuous, the Riemann sums converge to the integral: lim⁡S2n=∫01dx1+x=[ln⁡(1+x)]01=ln⁡2\lim S_{2n} = \int_0^1 \frac{dx}{1+x} = \left[\ln(1+x)\right]_0^1 = \ln 2. The odd sums satisfy S2n+1=S2n+12n+1S_{2n+1} = S_{2n} + \frac{1}{2n+1} and 12n+1→0\frac{1}{2n+1} \to 0, so they have the same limit. Therefore ∑n=1∞(−1)n−1n=ln⁡2\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n} = \ln 2, proved with chapter 1 and chapter 2 tools only.

d) ff is decreasing on [0,1][0, 1], so on each subinterval the right endpoint gives the SMALLEST height: every rectangle lies under the curve, as the figure shows, and S8<∫01f=ln⁡2S_8 < \int_0^1 f = \ln 2. This matches the estimation theorem, which puts the even partial sums below the sum. The first omitted term is +19+\frac{1}{9}, so ln⁡2\ln 2 lies between S8S_8 and S9S_9: 533840<ln⁡2<533840+19=18792520\frac{533}{840} < \ln 2 < \frac{533}{840} + \frac{1}{9} = \frac{1879}{2520}. In decimals, about 0.635<ln⁡2<0.7460.635 < \ln 2 < 0.746, consistent with ln⁡2≈0.69\ln 2 \approx 0.69.

e) ∣Rn∣≤bn+1=1n+1≤11000|R_n| \le b_{n+1} = \frac{1}{n+1} \le \frac{1}{1000} requires n+1≥1000n + 1 \ge 1000: n=999n = 999 terms for three decimals, a terrible way to compute ln⁡2\ln 2 but a perfect example. For the positive terms: 12k−1>12k=12⋅1k\frac{1}{2k-1} > \frac{1}{2k} = \frac{1}{2} \cdot \frac{1}{k}, and ∑12k\sum \frac{1}{2k} diverges (half the harmonic series), so 1+13+15+⋯1 + \frac{1}{3} + \frac{1}{5} + \cdots diverges by comparison; the negative terms 12+14+⋯=12∑1k\frac{1}{2} + \frac{1}{4} + \cdots = \frac{1}{2} \sum \frac{1}{k} diverge too. The series converges only because an infinite amount of positive and an infinite amount of negative cancel in a precise order. That is what conditionally means: the convergence depends on the signs and on their arrangement, not on the sizes.

Exercise 7: When a hypothesis fails: three series, three different verdicts

The Alternating Series Test is a SUFFICIENT condition. When one of its hypotheses fails, it says nothing, and the verdict has to come from somewhere else. The three series below alternate in sign; each one breaks the test in a different way.

You may use ∑n=1∞1n2=π26\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}, ∑n=1∞(−1)n−1n2=π212\sum_{n=1}^{\infty} \frac{(-1)^{n-1}}{n^2} = \frac{\pi^2}{12} and the result of Exercise 6. The figure shows the sizes bnb_n of the series in a).

12345678910110.250.50.751odd n: bn = 1/neven n: bn = 1/n²nbn
  • a) 1−14+13−116+15−136+⋯1 - \frac{1}{4} + \frac{1}{3} - \frac{1}{16} + \frac{1}{5} - \frac{1}{36} + \cdots, where bn=1nb_n = \frac{1}{n} for odd nn and bn=1n2b_n = \frac{1}{n^2} for even nn. Which hypothesis fails? Show that the series diverges by studying S2mS_{2m}.
  • b) ∑n=1∞(−1)n(1+1n)\sum_{n=1}^{\infty} (-1)^n \left(1 + \frac{1}{n}\right). Which hypothesis fails, and what is the verdict? Find the limits of the even and of the odd partial sums.
  • c) ∑n=1∞(−1)n2+(−1)nn2\sum_{n=1}^{\infty} (-1)^n \frac{2 + (-1)^n}{n^2}. Show that (bn)(b_n) is not decreasing, and still decide.
  • d) Compute the sum of the series in c).
  • e) Summarize: for each of a), b), c), the failed hypothesis and the tool that gave the verdict. Which of the three shows that the decrease is not a technicality?
Show the solution

Answers

  • a) Decrease fails (b3=13>b2=14b_3 = \frac{1}{3} > b_2 = \frac{1}{4}). S2m≥12(1+⋯+1m)−π224→∞S_{2m} \ge \frac{1}{2}\left(1 + \cdots + \frac{1}{m}\right) - \frac{\pi^2}{24} \to \infty: diverges.
  • b) Limit fails (bn→1b_n \to 1): diverges. S2m→−ln⁡2S_{2m} \to -\ln 2, S2m+1→−1−ln⁡2S_{2m+1} \to -1 - \ln 2.
  • c) b3=19<b4=316b_3 = \frac{1}{9} < b_4 = \frac{3}{16}; but ∣an∣≤3n2|a_n| \le \frac{3}{n^2}: absolutely convergent.
  • d) 2⋅(−π212)+π26=02 \cdot \left(-\frac{\pi^2}{12}\right) + \frac{\pi^2}{6} = 0.
  • e) a) decrease, direct study of S2mS_{2m}; b) limit, divergence test; c) decrease, absolute convergence. a) diverges although bn→0b_n \to 0.

a) The signs alternate and bn→0b_n \to 0 (both 1n\frac{1}{n} and 1n2\frac{1}{n^2} do), but b2=14<b3=13b_2 = \frac{1}{4} < b_3 = \frac{1}{3}, and more generally b2k=14k2<b2k+1=12k+1b_{2k} = \frac{1}{4k^2} < b_{2k+1} = \frac{1}{2k+1} for k≥1k \ge 1: the sizes jump back up at every odd index, as the figure shows. The decrease fails, so the test is silent. Study S2mS_{2m} directly: S2m=∑k=1m12k−1−∑k=1m14k2S_{2m} = \sum_{k=1}^{m} \frac{1}{2k-1} - \sum_{k=1}^{m} \frac{1}{4k^2}. The subtracted part is at most 14⋅π26=π224\frac{1}{4} \cdot \frac{\pi^2}{6} = \frac{\pi^2}{24}, a fixed number. The first part is at least ∑k=1m12k=12Hm\sum_{k=1}^{m} \frac{1}{2k} = \frac{1}{2} H_m, which tends to infinity. So S2m≥12Hm−π224→∞S_{2m} \ge \frac{1}{2} H_m - \frac{\pi^2}{24} \to \infty and the series DIVERGES, although its terms alternate and tend to 00.

b) bn=1+1nb_n = 1 + \frac{1}{n} is positive and decreasing, but tends to 11: the limit hypothesis fails, and the Divergence Test decides, ana_n does not tend to 00, the series diverges. The partial sums show how: S2m=∑n=12m(−1)n+∑n=12m(−1)nn=0−(1−12+⋯−12m)S_{2m} = \sum_{n=1}^{2m} (-1)^n + \sum_{n=1}^{2m} \frac{(-1)^n}{n} = 0 - \left(1 - \frac{1}{2} + \cdots - \frac{1}{2m}\right), which tends to −ln⁡2-\ln 2 by Exercise 6. And S2m+1=S2m−(1+12m+1)→−1−ln⁡2S_{2m+1} = S_{2m} - \left(1 + \frac{1}{2m+1}\right) \to -1 - \ln 2. The zigzag never closes: it keeps a width of 11, the limit of bnb_n.

c) bn=2+(−1)nn2b_n = \frac{2 + (-1)^n}{n^2} is 1n2\frac{1}{n^2} for odd nn and 3n2\frac{3}{n^2} for even nn. So b3=19b_3 = \frac{1}{9} and b4=316b_4 = \frac{3}{16}, and 316>19\frac{3}{16} > \frac{1}{9} since 27>1627 > 16: not decreasing, the Alternating Series Test does not apply. Absolute values: ∣an∣=bn≤3n2|a_n| = b_n \le \frac{3}{n^2}, and ∑3n2\sum \frac{3}{n^2} converges (p=2p = 2), so the series converges ABSOLUTELY, hence converges. A failed hypothesis is not a divergence.

d) an=(−1)n2+(−1)nn2=2(−1)nn2+(−1)2nn2=−2⋅(−1)n−1n2+1n2a_n = (-1)^n \frac{2 + (-1)^n}{n^2} = \frac{2(-1)^n}{n^2} + \frac{(-1)^{2n}}{n^2} = -2 \cdot \frac{(-1)^{n-1}}{n^2} + \frac{1}{n^2}. Both series on the right converge, so the sum of the series is the sum of their sums (the linearity rule of chapter 18, valid for convergent series): −2⋅π212+π26=−π26+π26=0-2 \cdot \frac{\pi^2}{12} + \frac{\pi^2}{6} = -\frac{\pi^2}{6} + \frac{\pi^2}{6} = 0. The first terms, −1+34−19+316−125+⋯-1 + \frac{3}{4} - \frac{1}{9} + \frac{3}{16} - \frac{1}{25} + \cdots, oscillate around 00 and settle there. Splitting the series is only legitimate because each piece converges; splitting ∑(−1)nn+1n2\sum \frac{(-1)^n n + 1}{n^2} into ∑(−1)nn+∑1n2\sum \frac{(-1)^n}{n} + \sum \frac{1}{n^2} would be fine too, but splitting a convergent series into two divergent ones proves nothing.

e) a) the decrease fails and a direct study of the partial sums shows divergence; b) the limit fails and the Divergence Test gives divergence; c) the decrease fails and absolute convergence gives convergence. Series a) is the one to remember: alternating signs and bn→0b_n \to 0 are NOT enough, and a solution that checks only the limit before concluding converges by the alternating series test would declare it convergent. That is why the decrease is a hypothesis, to be checked in writing every time.

Exercise 8: Five statements to correct

Each statement below was written by a student preparing for the MATH 141 final, and each one is false. Say what is wrong, give the correct statement, and settle it with a counterexample.

  • a) If ∑an\sum a_n converges, then ∑an2\sum a_n^2 converges, since squaring makes the terms smaller.
  • b) For an alternating series that satisfies the test, the error S−SnS - S_n has the sign of the last term kept in SnS_n.
  • c) For every convergent series, ∣S−Sn∣≤∣an+1∣|S - S_n| \le |a_{n+1}|.
  • d) ∑n=1∞(−1)nnp\sum_{n=1}^{\infty} \frac{(-1)^n}{n^p} converges only for p>1p > 1.
  • e) If ∑an\sum a_n and ∑cn\sum c_n both converge conditionally, then ∑(an+cn)\sum (a_n + c_n) converges conditionally.
Show the solution

Answers

  • a) False: an=(−1)nna_n = \frac{(-1)^n}{\sqrt{n}} gives a convergent series, an2=1na_n^2 = \frac{1}{n} a divergent one. True if ∑an\sum a_n converges ABSOLUTELY.
  • b) False: the error has the sign of the first term LEFT OUT. S2=12S_2 = \frac{1}{2} and ln⁡2−12>0\ln 2 - \frac{1}{2} > 0.
  • c) False: ∑n≥112n\sum_{n \ge 1} \frac{1}{2^n} has S−Sn=12n>12n+1S - S_n = \frac{1}{2^n} > \frac{1}{2^{n+1}}. The bound needs the alternating series hypotheses.
  • d) False: it converges for every p>0p > 0 (absolutely for p>1p > 1, conditionally for 0<p≤10 < p \le 1), diverges for p≤0p \le 0.
  • e) False: an=(−1)nna_n = \frac{(-1)^n}{n}, cn=(−1)n+1n+12nc_n = \frac{(-1)^{n+1}}{n} + \frac{1}{2^n}; an+cn=12na_n + c_n = \frac{1}{2^n} converges absolutely.

a) FALSE. Take an=(−1)nna_n = \frac{(-1)^n}{\sqrt{n}}: ∑an\sum a_n converges by the Alternating Series Test (1n\frac{1}{\sqrt{n}} decreases to 00), but an2=1na_n^2 = \frac{1}{n} and the harmonic series diverges. Squaring does make small terms smaller, but it also kills the signs, and the signs were the only reason the series converged. Correct statement: if ∑an\sum a_n converges ABSOLUTELY, then ∑an2\sum a_n^2 converges, because ∣an∣→0|a_n| \to 0 gives ∣an∣≤1|a_n| \le 1 from some rank on, hence an2≤∣an∣a_n^2 \le |a_n|, and direct comparison applies.

b) FALSE. SS lies between SnS_n and Sn+1=Sn+an+1S_{n+1} = S_n + a_{n+1}, so S−SnS - S_n has the sign of an+1a_{n+1}, the first term LEFT OUT, which is the opposite of the last term kept. Counterexample with the alternating harmonic series: S2=1−12=12S_2 = 1 - \frac{1}{2} = \frac{1}{2}, the last term kept is −12-\frac{1}{2}, yet S−S2=ln⁡2−12>0S - S_2 = \ln 2 - \frac{1}{2} > 0, since ln⁡2>12\ln 2 > \frac{1}{2} means 2>e1/22 > e^{1/2}, that is 4>e4 > e. Correct statement: the error has the sign of the first omitted term and absolute value at most that term.

c) FALSE. The bound is the Alternating Series Estimation Theorem, and it needs its hypotheses. For ∑n=1∞12n=1\sum_{n=1}^{\infty} \frac{1}{2^n} = 1 (geometric, chapter 18), Sn=1−12nS_n = 1 - \frac{1}{2^n}, so S−Sn=12nS - S_n = \frac{1}{2^n}, which is TWICE an+1=12n+1a_{n+1} = \frac{1}{2^{n+1}}. For a positive series every omitted term adds to the error, nothing cancels. Correct statement: ∣S−Sn∣≤∣an+1∣|S - S_n| \le |a_{n+1}| holds when the series is alternating with bnb_n decreasing to 00; for a positive series, bound the remainder with the tools of its own test (for instance the integral bound of chapter 19).

d) FALSE. For p>0p > 0, bn=1npb_n = \frac{1}{n^p} is positive, decreasing and tends to 00, so the Alternating Series Test gives convergence for every p>0p > 0. What p>1p > 1 decides is ABSOLUTE convergence, since ∑1np\sum \frac{1}{n^p} is a pp-series. For p≤0p \le 0, ∣an∣=n−p≥1|a_n| = n^{-p} \ge 1 does not tend to 00, and the series diverges. Correct statement: ∑(−1)nnp\sum \frac{(-1)^n}{n^p} converges absolutely for p>1p > 1, conditionally for 0<p≤10 < p \le 1, and diverges for p≤0p \le 0. The confusion comes from answering the question about ∑∣an∣\sum |a_n| when ∑an\sum a_n was asked.

e) FALSE. Take an=(−1)nna_n = \frac{(-1)^n}{n}, conditionally convergent, and cn=(−1)n+1n+12nc_n = \frac{(-1)^{n+1}}{n} + \frac{1}{2^n}. ∑cn\sum c_n converges as the sum of two convergent series; and ∣cn∣≥1n−12n≥12n|c_n| \ge \frac{1}{n} - \frac{1}{2^n} \ge \frac{1}{2n}, because 12n≤12n\frac{1}{2^n} \le \frac{1}{2n} amounts to 2n≤2n2n \le 2^n, true for n≥1n \ge 1, so ∑∣cn∣\sum |c_n| diverges and ∑cn\sum c_n is conditionally convergent. Yet an+cn=12na_n + c_n = \frac{1}{2^n}, whose series converges ABSOLUTELY. Correct statement: the sum of two convergent series converges; the sum of an absolutely convergent and a conditionally convergent series is conditionally convergent; the sum of two conditionally convergent series can be either.

Exercise 9: An autofocus motor hunting back and forth: where the lens stops, and how far it travels

A contrast-detection autofocus drives the lens past the sharpest position, reverses, overshoots by less, reverses again, and so on. Measure the lens position in micrometres from its start, forward positive. Move kk has length bkb_k and the moves alternate, the first one forward, so the position after nn moves is Pn=∑k=1n(−1)k−1bkP_n = \sum_{k=1}^{n} (-1)^{k-1} b_k and the total distance travelled by the motor is Dn=∑k=1nbkD_n = \sum_{k=1}^{n} b_k.

Three firmware versions are compared: A with bk=240kb_k = \frac{240}{k}, B with bk=240k2b_k = \frac{240}{k^2}, C with bk=2402k−1b_k = \frac{240}{2^{k-1}}. The figure shows the first five moves of firmware A. You may use ∑k=1∞1k2=π26\sum_{k=1}^{\infty} \frac{1}{k^2} = \frac{\pi^2}{6}, ∑k=1∞(−1)k−1k2=π212\sum_{k=1}^{\infty} \frac{(-1)^{k-1}}{k^2} = \frac{\pi^2}{12} and Exercise 6.

+240move 1-120move 2+80move 3-60move 4+48move 50240lens position (micrometres)
  • a) Firmware A: show that the lens has a limiting position and give it exactly. Compute P4P_4 and give an interval, guaranteed by the estimation theorem, that contains the limit.
  • b) Firmware A: after how many moves is the lens guaranteed within 11 micrometre of its limit?
  • c) Firmware B: same two questions, limit and number of moves for 11 micrometre.
  • d) Total travel DnD_n: does it stay bounded for A? for B? Give the total travel of B, and a lower bound for the travel of A after its moves of b), using Hn>ln⁡(n+1)H_n > \ln(n+1).
  • e) Firmware C: limit, total travel and number of moves for 11 micrometre. Which firmware would an engineer ship, and which word of the chapter describes firmware A?
Show the solution

Answers

  • a) Converges by the test; limit 240ln⁡2240\ln 2. P4=140P_4 = 140, limit in (140,188)(140, 188).
  • b) 240n+1≤1\frac{240}{n+1} \le 1: n=239n = 239 moves.
  • c) Limit 240⋅π212=20π2240 \cdot \frac{\pi^2}{12} = 20\pi^2; (n+1)2≥240(n+1)^2 \ge 240: n=15n = 15 moves.
  • d) A: unbounded (harmonic), over 960960 micrometres after 239239 moves. B: 240⋅π26=40π2240 \cdot \frac{\pi^2}{6} = 40\pi^2 micrometres.
  • e) Limit 160160, travel 480480, 2n≥2402^n \ge 240: n=8n = 8 moves. Ship C; A converges only conditionally.

a) PnP_n is the partial sum of ∑(−1)k−1240k\sum (-1)^{k-1} \frac{240}{k}, with bk=240kb_k = \frac{240}{k} positive, decreasing and tending to 00: by the Alternating Series Test the positions converge, and by Exercise 6 the limit is 240∑(−1)k−1k=240ln⁡2240 \sum \frac{(-1)^{k-1}}{k} = 240 \ln 2 micrometres, about 166166. P4=240(1−12+13−14)=240⋅712=140P_4 = 240\left(1 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4}\right) = 240 \cdot \frac{7}{12} = 140, as on the figure (240240, 120120, 200200, 140140). The next move is +b5=+48+b_5 = +48, so the limit lies between P4=140P_4 = 140 and P5=188P_5 = 188: in (140,188)(140, 188), and 240ln⁡2≈240×0.69≈166240 \ln 2 \approx 240 \times 0.69 \approx 166 is indeed there.

b) The distance to the limit after nn moves is at most the next move: ∣L−Pn∣≤bn+1=240n+1|L - P_n| \le b_{n+1} = \frac{240}{n+1}. Requiring 240n+1≤1\frac{240}{n+1} \le 1 gives n+1≥240n + 1 \ge 240, so n=239n = 239 moves. That is what hunting with steps in 1k\frac{1}{k} costs: hundreds of reversals for one micrometre.

c) bk=240k2b_k = \frac{240}{k^2} is positive, decreasing and tends to 00, so the positions converge, to 240∑(−1)k−1k2=240⋅π212=20π2240 \sum \frac{(-1)^{k-1}}{k^2} = 240 \cdot \frac{\pi^2}{12} = 20\pi^2 micrometres, about 197197. The guarantee: 240(n+1)2≤1\frac{240}{(n+1)^2} \le 1, that is (n+1)2≥240(n+1)^2 \ge 240. Since 152=225<24015^2 = 225 < 240 and 162=256≥24016^2 = 256 \ge 240, n+1=16n + 1 = 16 and n=15n = 15 moves.

d) DnD_n is a partial sum of ∑bk\sum b_k, the series of absolute values. For A, Dn=240HnD_n = 240 H_n and the harmonic series diverges: the travel grows without bound, even though the position converges. Using Hn>∫1n+1dxx=ln⁡(n+1)H_n > \int_1^{n+1} \frac{dx}{x} = \ln(n+1) (chapter 19), after 239239 moves D239>240ln⁡240D_{239} > 240 \ln 240; and e4<34=81<240e^4 < 3^4 = 81 < 240 gives ln⁡240>4\ln 240 > 4, so the motor has travelled more than 960960 micrometres to settle within one micrometre of a point 166166 micrometres away. For B, ∑240k2\sum \frac{240}{k^2} converges: the total travel, even for infinitely many moves, is 240⋅π26=40π2240 \cdot \frac{\pi^2}{6} = 40\pi^2 micrometres, about 395395. This is the physical meaning of the chapter: A converges CONDITIONALLY (position yes, travel no), B converges ABSOLUTELY (both).

e) C is geometric with first term 240240 and ratio −12-\frac{1}{2} for the positions: L=2401−(−1/2)=2403/2=160L = \frac{240}{1 - (-1/2)} = \frac{240}{3/2} = 160 micrometres, and the travel is 2401−1/2=480\frac{240}{1 - 1/2} = 480 micrometres (chapter 18 results). The estimation theorem applies too (bkb_k decreases to 00): bn+1=2402n≤1b_{n+1} = \frac{240}{2^n} \le 1 means 2n≥2402^n \ge 240, and 27=128<240≤256=282^7 = 128 < 240 \le 256 = 2^8, so n=8n = 8 moves. The engineer ships C: fewest reversals, bounded wear. Firmware A is the textbook case of a conditionally convergent series: it gets there on position only, by cancellation, at an unbounded cost in travel.

Exercise 10: A final exam question: one family of series, every verdict of the chapter

Consider, for a real parameter qq, the series ∑n=2∞(−1)nn(ln⁡n)q\sum_{n=2}^{\infty} \frac{(-1)^n}{n (\ln n)^q}. The question is the classic long final exam question: for which qq does it converge absolutely, conditionally, or not at all? Every tool of the chapter is used once, and the tests of chapter 19 answer the question about absolute values.

The figure shows y=(ln⁡x)2xy = \frac{(\ln x)^2}{x}, the size bnb_n for q=−2q = -2, with the points at the integers.

5101520253035400.10.20.30.40.50.6maximum at x = e²y = (ln x)²/xn
  • a) q=0q = 0. Identify the series, and classify it.
  • b) q=2q = 2. Show that the series converges absolutely by applying the integral test to f(x)=1x(ln⁡x)2f(x) = \frac{1}{x (\ln x)^2} on [2,∞)[2, \infty), with each hypothesis checked.
  • c) General q>0q > 0. Show that the series converges, and find for which of these qq it converges absolutely.
  • d) q<0q < 0, written q=−rq = -r with r>0r > 0, so bn=(ln⁡n)rnb_n = \frac{(\ln n)^r}{n}. Show that bnb_n decreases from some rank on (give it for r=2r = 2, using 2.7<e<2.82.7 < e < 2.8), that bn→0b_n \to 0, and conclude.
  • e) State the complete answer. A student applies the integral test directly to (−1)nn(ln⁡n)q\frac{(-1)^n}{n (\ln n)^q}: what is wrong?
Show the solution

Answers

  • a) ∑n≥2(−1)nn\sum_{n \ge 2} \frac{(-1)^n}{n}: conditionally convergent.
  • b) ∫2∞dxx(ln⁡x)2=1ln⁡2\int_2^{\infty} \frac{dx}{x (\ln x)^2} = \frac{1}{\ln 2} converges: absolutely convergent.
  • c) Converges for all q>0q > 0 (test); absolutely if and only if q>1q > 1.
  • d) f′(x)=(ln⁡x)r−1(r−ln⁡x)x2<0f'(x) = \frac{(\ln x)^{r-1}(r - \ln x)}{x^2} < 0 for x>erx > e^r; for r=2r = 2, from n=8n = 8. bn→0b_n \to 0: converges conditionally.
  • e) Absolutely for q>1q > 1, conditionally for q≤1q \le 1, never divergent. The integral test needs positive terms.

a) For q=0q = 0, (ln⁡n)0=1(\ln n)^0 = 1 and the series is ∑n=2∞(−1)nn=12−13+14−⋯\sum_{n=2}^{\infty} \frac{(-1)^n}{n} = \frac{1}{2} - \frac{1}{3} + \frac{1}{4} - \cdots, the alternating harmonic series without its first term. It converges by the Alternating Series Test (1n\frac{1}{n} decreases to 00) and ∑1n\sum \frac{1}{n} diverges: conditionally convergent, as in Exercise 6. (Its sum is 1−ln⁡21 - \ln 2: it is −(ln⁡2−1)-\left(\ln 2 - 1\right), the alternating harmonic series with its first term removed and every sign reversed.)

b) f(x)=1x(ln⁡x)2f(x) = \frac{1}{x (\ln x)^2} is continuous on [2,∞)[2, \infty), since ln⁡x≥ln⁡2>0\ln x \ge \ln 2 > 0 there; positive; and decreasing, since xx and (ln⁡x)2(\ln x)^2 are both positive and increasing, so their product increases. The integral test applies to ∑bn=∑1n(ln⁡n)2\sum b_n = \sum \frac{1}{n (\ln n)^2}. With u=ln⁡xu = \ln x, du=dxxdu = \frac{dx}{x}: ∫2tdxx(ln⁡x)2=[−1ln⁡x]2t=1ln⁡2−1ln⁡t→1ln⁡2\int_2^{t} \frac{dx}{x (\ln x)^2} = \left[-\frac{1}{\ln x}\right]_2^{t} = \frac{1}{\ln 2} - \frac{1}{\ln t} \to \frac{1}{\ln 2} as t→∞t \to \infty. The improper integral converges, so ∑∣an∣\sum |a_n| converges and the series converges ABSOLUTELY. The value 1ln⁡2\frac{1}{\ln 2} is the value of the integral, NOT the sum of the series: the integral test gives a verdict, not a sum.

c) For q>0q > 0, bn=1n(ln⁡n)qb_n = \frac{1}{n (\ln n)^q} is positive for n≥2n \ge 2, decreasing because n(ln⁡n)qn (\ln n)^q is a product of positive increasing factors, and tends to 00 because that product tends to infinity. The Alternating Series Test gives convergence for EVERY q>0q > 0. Absolute values: the same substitution u=ln⁡xu = \ln x turns ∫2∞dxx(ln⁡x)q\int_2^{\infty} \frac{dx}{x (\ln x)^q} into ∫ln⁡2∞duuq\int_{\ln 2}^{\infty} \frac{du}{u^q}, a pp-integral that converges if and only if q>1q > 1; the integral test (hypotheses as in b) then says ∑bn\sum b_n converges exactly for q>1q > 1. So: absolutely for q>1q > 1, conditionally for 0<q≤10 < q \le 1.

d) f(x)=(ln⁡x)rxf(x) = \frac{(\ln x)^r}{x} has f′(x)=r(ln⁡x)r−1⋅1x⋅x−(ln⁡x)rx2=(ln⁡x)r−1(r−ln⁡x)x2f'(x) = \frac{r (\ln x)^{r-1} \cdot \frac{1}{x} \cdot x - (\ln x)^r}{x^2} = \frac{(\ln x)^{r-1}(r - \ln x)}{x^2}. For x>1x > 1 the factor (ln⁡x)r−1(\ln x)^{r-1} is positive, so f′(x)<0f'(x) < 0 exactly when ln⁡x>r\ln x > r, that is x>erx > e^r: bnb_n decreases from the first integer after ere^r, and increases before, as the figure shows for r=2r = 2. With 2.7<e<2.82.7 < e < 2.8: e2>7.29e^2 > 7.29 and e2<7.84e^2 < 7.84, so 7<e2<87 < e^2 < 8 and the decrease starts at n=8n = 8. Limit: (ln⁡x)rx→0\frac{(\ln x)^r}{x} \to 0, by L'Hôpital's rule applied to the function, repeated if needed, or by the growth comparison of chapter 17 (any power of ln⁡x\ln x is negligible against xx). So the series converges by the test, from n=8n = 8 for r=2r = 2. Not absolutely: for n≥3n \ge 3, (ln⁡n)r>1(\ln n)^r > 1, so bn>1nb_n > \frac{1}{n}, and the harmonic series diverges. For r=1r = 1 this is Exercise 2.

e) The series converges for EVERY real qq: absolutely for q>1q > 1, conditionally for q≤1q \le 1 (including q=0q = 0 and all negative qq); it never diverges. The integral test applies only to series of POSITIVE terms with a positive, continuous, decreasing ff, and (−1)nn(ln⁡n)q\frac{(-1)^n}{n (\ln n)^q} is not the value at nn of any such function; worse, a function like cos⁡(πx)x(ln⁡x)q\frac{\cos(\pi x)}{x (\ln x)^q} changes sign on every interval of length 11, and its integral says nothing about the series. The integral test is used on ∣an∣|a_n|, to decide ABSOLUTE convergence, and the Alternating Series Test on ana_n, to decide convergence: two questions, two tools, the thread of the whole chapter.

See also

Struggling with MATH 141?

I tutor first-year calculus at McGill and Concordia, in English or in French, in Montreal or online. Get in touch for a first session.

Site by Studio Squalli