MATH 141 Calculus 2 • McGill University, Montreal

Corrected exercises: power series (MATH 141)

This is the corrected exercise set for the power series chapter of MATH 141, Calculus 2, the second calculus course at McGill University, sections 11.8 and 11.9 of Stewart. Every answer is exact, ln⁡2\ln 2, π4\frac{\pi}{4}, 1−3ln⁡321 - 3\ln\frac{3}{2}, never a decimal from a machine, and every endpoint verdict names its test and checks its hypotheses, because that is where the marks of this chapter sit.

The thread running through the whole set: the ratio test finds the RADIUS, never the interval. At ∣x−a∣=R|x - a| = R its limit is 11 by construction, so each endpoint is a new numerical series with its own test. And every operation that builds a series from 11−u\frac{1}{1 - u}, substituting, recentring, multiplying by xkx^k, differentiating, integrating, keeps track of RR but not of the endpoints; outside the interval the series represents nothing, even where the function is perfectly defined.

The traps named explicitly in the solutions: stopping at the open interval, testing an endpoint with the ratio test, reading the centre of (2x−3)n(2x - 3)^n as 33, using a coefficient formula on a series with missing powers, losing the factor 12\frac{1}{2} of 12+x\frac{1}{2 + x}, forgetting the constant of integration of ln⁡(5−x)\ln(5 - x), differentiating a number instead of a function, assuming that a derived series keeps its endpoints, and evaluating a series outside its interval.

10 corrected exercises • 100 points • 150 minutes

Revision sheet for this chapter → Every MATH 141 chapter →

Course recap

  • • Power series centred at aa: ∑n=0∞cn(x−a)n\sum_{n=0}^\infty c_n(x - a)^n. There is an RR in [0,∞][0, \infty] with absolute convergence for ∣x−a∣<R|x - a| < R and divergence for ∣x−a∣>R|x - a| > R.
  • • RR comes from the ratio (or root) test on ∣an∣|a_n| with xx fixed. At ∣x−a∣=R|x - a| = R that test gives 11: each endpoint is tested alone.
  • • Geometric series: 11−u=∑n=0∞un\frac{1}{1 - u} = \sum_{n=0}^\infty u^n for ∣u∣<1|u| < 1, never at ∣u∣=1|u| = 1.
  • • Term by term on (a−R,a+R)(a - R, a + R): f′(x)=∑ncn(x−a)n−1f'(x) = \sum n c_n(x - a)^{n-1}, ∫f(x) dx=C+∑cn(x−a)n+1n+1\int f(x)\,dx = C + \sum c_n\frac{(x - a)^{n+1}}{n + 1}, same RR, endpoints to re-test.
  • • ln⁡(1+x)=∑n≥1(−1)n+1xnn\ln(1 + x) = \sum_{n\ge1} (-1)^{n+1}\frac{x^n}{n} on (−1,1](-1, 1]; arctan⁡x=∑n≥0(−1)nx2n+12n+1\arctan x = \sum_{n\ge0} (-1)^n\frac{x^{2n+1}}{2n + 1} on [−1,1][-1, 1]; 1(1−x)2=∑n≥0(n+1)xn\frac{1}{(1 - x)^2} = \sum_{n\ge0} (n + 1)x^n on (−1,1)(-1, 1).
  • • Abel's theorem (admitted): if the series converges at an endpoint where the function is continuous, the equality holds there too.

Part A: the basics (/50)

Exercise 1: Radius first, then each endpoint with its own test

A power series centred at aa is a series ∑n=0∞cn(x−a)n\sum_{n=0}^\infty c_n(x - a)^n: for each fixed xx it is an ordinary numerical series, which converges or not. The set of xx where it converges is always an interval centred at aa: there is a number RR, the radius of convergence, such that the series converges absolutely for ∣x−a∣<R|x - a| < R and diverges for ∣x−a∣>R|x - a| > R. At the two points ∣x−a∣=R|x - a| = R, anything can happen.

The method has two stages. First the ratio test (or the root test) applied to ∣an∣|a_n| with xx fixed, which gives RR. Then each endpoint, substituted into the series, which becomes a numerical series settled by the tests of the previous chapters.

  • a) Find the radius and the interval of convergence of ∑n=1∞xnn 3n\sum_{n=1}^\infty \frac{x^n}{n\,3^n}.
  • b) Same question for ∑n=1∞n xn4n\sum_{n=1}^\infty \frac{n\,x^n}{4^n}.
  • c) Same question for ∑n=0∞(−1)nxnn+1\sum_{n=0}^\infty \frac{(-1)^n x^n}{\sqrt{n + 1}}.
  • d) Same question for ∑n=1∞xnn2 5n\sum_{n=1}^\infty \frac{x^n}{n^2\,5^n}.
  • e) Explain why the ratio test can never decide an endpoint, and name the test that decided each endpoint in a) to d).
Show the solution

Answers

  • a) R=3R = 3, interval [−3,3)[-3, 3)
  • b) R=4R = 4, interval (−4,4)(-4, 4)
  • c) R=1R = 1, interval (−1,1](-1, 1]
  • d) R=5R = 5, interval [−5,5][-5, 5]
  • e) At ∣x−a∣=R|x - a| = R the ratio limit is 11 by construction; endpoints: harmonic and AST (a), divergence test (b), AST and pp-series (c), absolute convergence with p=2p = 2 (d).

a) Write an=xnn 3na_n = \frac{x^n}{n\,3^n}, with xx fixed and x≠0x \ne 0. Ratio test on the absolute values: ∣an+1an∣=∣x∣n+1(n+1)3n+1⋅n 3n∣x∣n=∣x∣3⋅nn+1→∣x∣3\left|\frac{a_{n+1}}{a_n}\right| = \frac{|x|^{n+1}}{(n + 1)3^{n+1}} \cdot \frac{n\,3^n}{|x|^n} = \frac{|x|}{3} \cdot \frac{n}{n + 1} \to \frac{|x|}{3}. The series converges absolutely when ∣x∣3<1\frac{|x|}{3} < 1, that is ∣x∣<3|x| < 3, and diverges when ∣x∣>3|x| > 3: R=3R = 3. At ∣x∣=3|x| = 3 the limit is exactly 11, the case where the ratio test is silent, so each endpoint is a new series. At x=3x = 3: ∑3nn 3n=∑1n\sum \frac{3^n}{n\,3^n} = \sum \frac{1}{n}, the harmonic series, which DIVERGES (pp-series with p=1p = 1). At x=−3x = -3: ∑(−3)nn 3n=∑(−1)nn\sum \frac{(-3)^n}{n\,3^n} = \sum \frac{(-1)^n}{n}; alternating series test: bn=1nb_n = \frac{1}{n} is decreasing and tends to 00, so it CONVERGES, conditionally since ∑1n\sum \frac{1}{n} diverges. Interval: [−3,3)[-3, 3).

b) an=n xn4na_n = \frac{n\,x^n}{4^n}: ∣an+1an∣=n+1n⋅∣x∣4→∣x∣4\left|\frac{a_{n+1}}{a_n}\right| = \frac{n + 1}{n} \cdot \frac{|x|}{4} \to \frac{|x|}{4}, so R=4R = 4. At x=4x = 4 the term is n 4n4n=n\frac{n\,4^n}{4^n} = n; at x=−4x = -4 it is (−1)nn(-1)^n n. In both cases ∣an∣=n→∞|a_n| = n \to \infty: the terms do not tend to 00 and the series DIVERGES by the divergence test. Interval: (−4,4)(-4, 4). The divergence test is the first thing to try at an endpoint: when it applies, one line settles the question.

c) an=(−1)nxnn+1a_n = \frac{(-1)^n x^n}{\sqrt{n + 1}}, n≥0n \ge 0: ∣an+1an∣=∣x∣n+1n+2→∣x∣\left|\frac{a_{n+1}}{a_n}\right| = |x|\sqrt{\frac{n + 1}{n + 2}} \to |x|, so R=1R = 1. The sign (−1)n(-1)^n vanishes in the absolute value and plays no role in the radius, but it decides the endpoints. At x=1x = 1: ∑(−1)nn+1\sum \frac{(-1)^n}{\sqrt{n + 1}} is alternating with bn=1n+1b_n = \frac{1}{\sqrt{n + 1}} decreasing to 00: CONVERGES. At x=−1x = -1: (−1)n(−1)n=1(-1)^n(-1)^n = 1 and the series is ∑n≥01n+1=∑k≥11k\sum_{n\ge0} \frac{1}{\sqrt{n + 1}} = \sum_{k\ge1} \frac{1}{\sqrt{k}}, a pp-series with p=12≤1p = \frac{1}{2} \le 1: DIVERGES. Interval: (−1,1](-1, 1], the mirror image of a). The closed end is always on the side where the terms end up alternating.

d) an=xnn2 5na_n = \frac{x^n}{n^2\,5^n}: ∣an+1an∣=∣x∣5⋅n2(n+1)2→∣x∣5\left|\frac{a_{n+1}}{a_n}\right| = \frac{|x|}{5} \cdot \frac{n^2}{(n + 1)^2} \to \frac{|x|}{5}, R=5R = 5. At x=±5x = \pm 5: ∣an∣=5nn2 5n=1n2|a_n| = \frac{5^n}{n^2\,5^n} = \frac{1}{n^2}, and ∑1n2\sum \frac{1}{n^2} converges (p=2>1p = 2 > 1). So the series converges ABSOLUTELY at both endpoints, in a single argument that covers both signs. Interval: [−5,5][-5, 5].

e) The radius is DEFINED by the ratio limit ∣x∣R\frac{|x|}{R} (or ∣x−a∣R\frac{|x - a|}{R}) being less than 11; at an endpoint that limit equals 11, and L=1L = 1 is exactly the case where the ratio test says nothing. The same holds for the root test. So the endpoints are settled with the tests of the previous chapters: in a), the pp-series test (x=3x = 3) and the alternating series test (x=−3x = -3); in b), the divergence test at both ends; in c), the alternating series test (x=1x = 1) and the pp-series test (x=−1x = -1); in d), absolute convergence by the pp-series test at both ends. The four answers are the four possible shapes of an interval of convergence, drawn in the solution figure. A copy that writes (−3,3)(-3, 3) for a) has the radius and loses the endpoint marks, usually two points of the question on a final.

−33a)[−3, 3)−44b)(−4, 4)−11c)(−1, 1]−55d)[−5, 5]

Exercise 2: Centre, gaps and extreme radii: read the series before testing it

The centre is the number aa in the powers (x−a)n(x - a)^n, and it must be read after the coefficient of xx has been factored out of the power. The radius is always obtained by applying the ratio or the root test to the TERMS ana_n, never by a formula on the coefficients when some powers are missing. Two extreme cases complete the picture: R=0R = 0 (the series converges at its centre only) and R=∞R = \infty (it converges for every real xx).

  • a) Find the centre, the radius and the interval of convergence of ∑n=1∞(2x−3)nn\sum_{n=1}^\infty \frac{(2x - 3)^n}{n}.
  • b) Same question for ∑n=0∞(x−4)2n9n\sum_{n=0}^\infty \frac{(x - 4)^{2n}}{9^n}. Why does the formula R=lim⁡∣cncn+1∣R = \lim\left|\frac{c_n}{c_{n+1}}\right| with cn=19nc_n = \frac{1}{9^n} give a wrong radius here?
  • c) Where does ∑n=0∞n! (x−1)n\sum_{n=0}^\infty n!\,(x - 1)^n converge?
  • d) Where does ∑n=0∞(x+2)nn!\sum_{n=0}^\infty \frac{(x + 2)^n}{n!} converge?
  • e) Find the interval of convergence of ∑n=1∞(2n+1n+3)n(x+1)n\sum_{n=1}^\infty \left(\frac{2n + 1}{n + 3}\right)^n (x + 1)^n.
Show the solution

Answers

  • a) Centre 32\frac{3}{2}, R=12R = \frac{1}{2}, interval [1,2)[1, 2)
  • b) Centre 44, R=3R = 3, interval (1,7)(1, 7); only even powers appear, so the coefficient formula (which gives 99) does not apply.
  • c) R=0R = 0: only at x=1x = 1
  • d) R=∞R = \infty: for every real xx
  • e) Centre −1-1, R=12R = \frac{1}{2}, interval (−32,−12)\left(-\frac{3}{2}, -\frac{1}{2}\right)

a) Factor the coefficient of xx out of the power FIRST: (2x−3)n=2n(x−32)n(2x - 3)^n = 2^n\left(x - \frac{3}{2}\right)^n, so the series is ∑2nn(x−32)n\sum \frac{2^n}{n}\left(x - \frac{3}{2}\right)^n, centred at a=32a = \frac{3}{2}. Ratio test: ∣an+1an∣=∣2x−3∣⋅nn+1→∣2x−3∣\left|\frac{a_{n+1}}{a_n}\right| = |2x - 3| \cdot \frac{n}{n + 1} \to |2x - 3|, and ∣2x−3∣<1  ⟺  ∣x−32∣<12|2x - 3| < 1 \iff \left|x - \frac{3}{2}\right| < \frac{1}{2}. Centre 32\frac{3}{2}, radius R=12R = \frac{1}{2}, open interval (1,2)(1, 2). At x=2x = 2: 2x−3=12x - 3 = 1 and the series is ∑1n\sum \frac{1}{n}, which DIVERGES. At x=1x = 1: 2x−3=−12x - 3 = -1 and the series is ∑(−1)nn\sum \frac{(-1)^n}{n}, which CONVERGES by the alternating series test. Interval: [1,2)[1, 2). The two classic misreadings are the centre 33 (read off −3-3 without factoring) and the radius 11 (read off ∣2x−3∣<1|2x - 3| < 1 without dividing by 22). The check: the midpoint of the interval found must be the centre, and its half-length the radius.

b) Only EVEN powers of (x−4)(x - 4) appear: the coefficients of the odd powers are 00, so there is no ratio cncn+1\frac{c_n}{c_{n+1}} between consecutive powers to take, and the shortcut built on cn=19nc_n = \frac{1}{9^n} would give R=9R = 9, which is false. Apply the ratio test to the terms: ∣an+1an∣=∣x−4∣2n+29n+1⋅9n∣x−4∣2n=(x−4)29\left|\frac{a_{n+1}}{a_n}\right| = \frac{|x - 4|^{2n+2}}{9^{n+1}} \cdot \frac{9^n}{|x - 4|^{2n}} = \frac{(x - 4)^2}{9}, which is <1< 1 iff ∣x−4∣<3|x - 4| < 3. Centre 44, R=3R = 3. At x=1x = 1 and x=7x = 7: (x−4)2n=9n(x - 4)^{2n} = 9^n, every term equals 11, the series DIVERGES. Interval: (1,7)(1, 7). In fact this is a geometric series with ratio r=(x−4)29r = \frac{(x - 4)^2}{9}, whose sum on (1,7)(1, 7) is 11−r=99−(x−4)2\frac{1}{1 - r} = \frac{9}{9 - (x - 4)^2}; a geometric series never converges at its endpoints, where ∣r∣=1|r| = 1.

c) ∣an+1an∣=(n+1)! ∣x−1∣n+1n! ∣x−1∣n=(n+1)∣x−1∣\left|\frac{a_{n+1}}{a_n}\right| = \frac{(n + 1)!\,|x - 1|^{n+1}}{n!\,|x - 1|^n} = (n + 1)|x - 1|. For x≠1x \ne 1 this tends to ∞\infty, so the series diverges. At x=1x = 1 every term with n≥1n \ge 1 is 00, and the series converges to its first term 0!=10! = 1. Radius R=0R = 0: the set of convergence is the single point {1}\{1\}. A power series always converges at its centre; R=0R = 0 means that is all it does.

d) ∣an+1an∣=∣x+2∣n+1(n+1)!⋅n!∣x+2∣n=∣x+2∣n+1→0<1\left|\frac{a_{n+1}}{a_n}\right| = \frac{|x + 2|^{n+1}}{(n + 1)!} \cdot \frac{n!}{|x + 2|^n} = \frac{|x + 2|}{n + 1} \to 0 < 1 for EVERY real xx. The series converges absolutely everywhere: R=∞R = \infty, interval (−∞,∞)(-\infty, \infty), and there are no endpoints to test. Which function this series represents is the subject of the next chapter; here only its domain is asked. Compare with c): a factorial in the numerator kills the radius, one in the denominator makes it infinite.

e) Every factor is raised to the power nn, so the root test is the natural tool: ∣an∣n=2n+1n+3∣x+1∣→2∣x+1∣\sqrt[n]{|a_n|} = \frac{2n + 1}{n + 3}|x + 1| \to 2|x + 1|. Convergence iff 2∣x+1∣<12|x + 1| < 1: centre −1-1, R=12R = \frac{1}{2}, open interval (−32,−12)\left(-\frac{3}{2}, -\frac{1}{2}\right). At the endpoints the root test gives exactly 11 and is silent, like the ratio test in Exercise 1. At x=−12x = -\frac{1}{2}, x+1=12x + 1 = \frac{1}{2} and an=(2n+12(n+3))n=(1−52n+6)na_n = \left(\frac{2n + 1}{2(n + 3)}\right)^n = \left(1 - \frac{5}{2n + 6}\right)^n. The base tends to 11 and the exponent to ∞\infty: the form 1∞1^\infty is indeterminate. Take the logarithm, nln⁡(1−52n+6)n\ln\left(1 - \frac{5}{2n + 6}\right), and treat it as in the chapter on sequences (L'Hôpital's rule on the quotient ln⁡(1−5/(2x+6))1/x\frac{\ln(1 - 5/(2x + 6))}{1/x}): it tends to −52-\frac{5}{2}. So an→e−5/2≠0a_n \to e^{-5/2} \ne 0 and the series DIVERGES by the divergence test. At x=−32x = -\frac{3}{2}: an=(−1)n(1−52n+6)na_n = (-1)^n\left(1 - \frac{5}{2n + 6}\right)^n, ∣an∣→e−5/2≠0|a_n| \to e^{-5/2} \ne 0: DIVERGES. Interval: (−32,−12)\left(-\frac{3}{2}, -\frac{1}{2}\right). The tempting shortcut 'the base tends to 11, so an→1a_n \to 1' reaches the right verdict for a false reason, and loses the mark.

Exercise 3: Building series from 1/(1 - u): substitute, factor, recentre

The whole chapter rests on one formula, 11−u=∑n=0∞un\frac{1}{1 - u} = \sum_{n=0}^\infty u^n for ∣u∣<1|u| < 1, and on the fact that any expression can be put in the place of uu. Put the function in the form constant1−u\frac{\text{constant}}{1 - u}, read off uu, and the condition ∣u∣<1|u| < 1 gives the interval directly, with no ratio test needed.

The figure shows the graph of f(x)=3x2+x−2f(x) = \frac{3}{x^2 + x - 2} with its vertical asymptotes; the dot marks the centre a=0a = 0.

-4-3-2-1123-5-4-3-2-112345y = f(x)a = 0x = −2x = 1
  • a) Find a power series centred at 00 for 11+3x\frac{1}{1 + 3x}, and its interval of convergence.
  • b) Same question for x24−x\frac{x^2}{4 - x}.
  • c) Find a power series centred at a=2a = 2 for 1x+5\frac{1}{x + 5}, and its interval of convergence.
  • d) Using partial fractions, find a power series centred at 00 for f(x)=3x2+x−2f(x) = \frac{3}{x^2 + x - 2}. Give its first three coefficients and its radius.
  • e) Read the radius of d) on the figure. Predict the radius of the series of ff centred at a=3a = 3, then at a=−3a = -3, and check the first prediction.
Show the solution

Answers

  • a) ∑n=0∞(−3)nxn\sum_{n=0}^\infty (-3)^n x^n, interval (−13,13)\left(-\frac{1}{3}, \frac{1}{3}\right)
  • b) ∑n=0∞xn+24n+1\sum_{n=0}^\infty \frac{x^{n+2}}{4^{n+1}}, interval (−4,4)(-4, 4)
  • c) ∑n=0∞(−1)n(x−2)n7n+1\sum_{n=0}^\infty \frac{(-1)^n (x - 2)^n}{7^{n+1}}, interval (−5,9)(-5, 9)
  • d) ∑n=0∞(−1−(−1)n2n+1)xn\sum_{n=0}^\infty \left(-1 - \frac{(-1)^n}{2^{n+1}}\right)x^n; c0=−32c_0 = -\frac{3}{2}, c1=−34c_1 = -\frac{3}{4}, c2=−98c_2 = -\frac{9}{8}; R=1R = 1
  • e) RR is the distance from the centre to the nearest asymptote: 11 at a=0a = 0, 22 at a=3a = 3, 11 at a=−3a = -3.

a) 11+3x=11−(−3x)\frac{1}{1 + 3x} = \frac{1}{1 - (-3x)}, so u=−3xu = -3x and 11+3x=∑n=0∞(−3x)n=∑n=0∞(−3)nxn\frac{1}{1 + 3x} = \sum_{n=0}^\infty (-3x)^n = \sum_{n=0}^\infty (-3)^n x^n, valid for ∣−3x∣<1|-3x| < 1, that is ∣x∣<13|x| < \frac{1}{3}. At x=±13x = \pm\frac{1}{3}, u=∓1u = \mp 1: the terms unu^n have absolute value 11 and do not tend to 00, so the series diverges; a geometric series never converges where ∣u∣=1|u| = 1. Interval: (−13,13)\left(-\frac{1}{3}, \frac{1}{3}\right). Check at x=0x = 0: the series gives its first term 11, and 11+0=1\frac{1}{1 + 0} = 1.

b) Force the 11 in the denominator: x24−x=x24⋅11−x4=x24∑n=0∞xn4n=∑n=0∞xn+24n+1\frac{x^2}{4 - x} = \frac{x^2}{4} \cdot \frac{1}{1 - \frac{x}{4}} = \frac{x^2}{4}\sum_{n=0}^\infty \frac{x^n}{4^n} = \sum_{n=0}^\infty \frac{x^{n+2}}{4^{n+1}}, valid for ∣x4∣<1\left|\frac{x}{4}\right| < 1. At x=4x = 4 every term equals 4n+24n+1=4\frac{4^{n+2}}{4^{n+1}} = 4, and at x=−4x = -4 every term is ±4\pm 4: divergence at both. Interval (−4,4)(-4, 4). Multiplying by x2x^2 shifts every power by two and changes nothing else. With k=n+2k = n + 2 the series is also ∑k=2∞xk4k−1\sum_{k=2}^\infty \frac{x^k}{4^{k-1}}; both forms are right as long as the first term is x24\frac{x^2}{4}. The frequent error is 14−x=4⋅11−x/4\frac{1}{4 - x} = 4 \cdot \frac{1}{1 - x/4}: the 44 comes out as 14\frac{1}{4}, and the slip multiplies everything by 1616.

c) Centred at 22 means powers of (x−2)(x - 2), so the denominator is rewritten around 22: x+5=7+(x−2)=7(1+x−27)x + 5 = 7 + (x - 2) = 7\left(1 + \frac{x - 2}{7}\right). Then 1x+5=17⋅11−(−x−27)=∑n=0∞(−1)n(x−2)n7n+1\frac{1}{x + 5} = \frac{1}{7} \cdot \frac{1}{1 - \left(-\frac{x - 2}{7}\right)} = \sum_{n=0}^\infty \frac{(-1)^n (x - 2)^n}{7^{n+1}}, valid for ∣x−27∣<1\left|\frac{x - 2}{7}\right| < 1, that is ∣x−2∣<7|x - 2| < 7: interval (−5,9)(-5, 9), endpoints excluded as for every geometric series. The radius 77 is the distance from the centre 22 to −5-5, where 1x+5\frac{1}{x + 5} blows up. Check at x=2x = 2: the series gives 17=12+5\frac{1}{7} = \frac{1}{2 + 5}.

d) Partial fractions first: x2+x−2=(x−1)(x+2)x^2 + x - 2 = (x - 1)(x + 2) and 3(x−1)(x+2)=Ax−1+Bx+2\frac{3}{(x - 1)(x + 2)} = \frac{A}{x - 1} + \frac{B}{x + 2} with 3=A(x+2)+B(x−1)3 = A(x + 2) + B(x - 1); x=1x = 1 gives A=1A = 1 and x=−2x = -2 gives B=−1B = -1. Each piece is geometric: 1x−1=−11−x=−∑xn\frac{1}{x - 1} = -\frac{1}{1 - x} = -\sum x^n for ∣x∣<1|x| < 1, and 1x+2=12⋅11+x/2=∑(−1)nxn2n+1\frac{1}{x + 2} = \frac{1}{2} \cdot \frac{1}{1 + x/2} = \sum \frac{(-1)^n x^n}{2^{n+1}} for ∣x∣<2|x| < 2. Subtracting, f(x)=∑n=0∞(−1−(−1)n2n+1)xnf(x) = \sum_{n=0}^\infty \left(-1 - \frac{(-1)^n}{2^{n+1}}\right)x^n, valid where BOTH series converge: ∣x∣<1|x| < 1. First coefficients: c0=−1−12=−32c_0 = -1 - \frac{1}{2} = -\frac{3}{2}, c1=−1+14=−34c_1 = -1 + \frac{1}{4} = -\frac{3}{4}, c2=−1−18=−98c_2 = -1 - \frac{1}{8} = -\frac{9}{8}. Check: f(0)=3−2=c0f(0) = \frac{3}{-2} = c_0. The radius is exactly 11, not more: cn→−1c_n \to -1, so at x=±1x = \pm 1 the terms do not tend to 00 and the ratio of consecutive coefficients tends to 11. R=1R = 1, interval (−1,1)(-1, 1).

e) On the figure the asymptotes are x=−2x = -2 and x=1x = 1, and the centre 00 is at distance 11 from the nearer one: R=1R = 1 is exactly that distance. It cannot be larger: a power series is continuous on its open interval, so it cannot equal ff on an interval that contains x=1x = 1, where ff is unbounded. About a=3a = 3 the nearer asymptote is x=1x = 1, at distance 22: predicted R=2R = 2. About a=−3a = -3 the nearer is x=−2x = -2, at distance 11: predicted R=1R = 1. Check of the first, as in d): 1x−1=12+(x−3)\frac{1}{x - 1} = \frac{1}{2 + (x - 3)} has radius 22 and 1x+2=15+(x−3)\frac{1}{x + 2} = \frac{1}{5 + (x - 3)} has radius 55; the difference converges where both do, so R=2R = 2. Keep this reading for rational functions and as a check only: Exercise 4 shows a function with no vertical asymptote at all whose series still has radius 11.

Exercise 4: Partial sums against the function: inside, at and beyond the radius

Replacing uu by −x2-x^2 in the geometric series gives a series for f(x)=11+x2f(x) = \frac{1}{1 + x^2}, a function that is defined, continuous and bounded on the whole real line. Write SN(x)S_N(x) for the partial sum of the series up to the term in x2Nx^{2N}.

The figure shows ff with S2(x)=1−x2+x4S_2(x) = 1 - x^2 + x^4 and S3(x)=1−x2+x4−x6S_3(x) = 1 - x^2 + x^4 - x^6 on [−1.6,1.6][-1.6, 1.6]; the dashed lines are x=±1x = \pm 1.

-1.6-1.2-0.8-0.40.40.81.21.6-1-0.50.511.52fS₂S₃S₂S₃
  • a) Find the power series of ff centred at 00 and its interval of convergence.
  • b) Show that f(x)−SN(x)=(−x2)N+11+x2f(x) - S_N(x) = \frac{(-x^2)^{N+1}}{1 + x^2} for every real xx. Compute S3(12)S_3\left(\frac{1}{2}\right) and f(12)−S3(12)f\left(\frac{1}{2}\right) - S_3\left(\frac{1}{2}\right) exactly.
  • c) Compute S0(2)S_0(2), S1(2)S_1(2), S2(2)S_2(2) and S3(2)S_3(2). Does the series converge at x=2x = 2, where f(2)=15f(2) = \frac{1}{5}? Describe what the partial sums do on the figure for ∣x∣>1|x| > 1.
  • d) At x=1x = 1, a student notices that the partial sums average 12=f(1)\frac{1}{2} = f(1) and concludes that the series equals ff there. Answer him, then explain why the radius is 11 although ff has no vertical asymptote.
  • e) Using b), find the smallest NN for which SN(12)S_N\left(\frac{1}{2}\right) approximates f(12)f\left(\frac{1}{2}\right) within 11000\frac{1}{1000}.
Show the solution

Answers

  • a) ∑n=0∞(−1)nx2n\sum_{n=0}^\infty (-1)^n x^{2n}, interval (−1,1)(-1, 1)
  • b) S3(12)=5164S_3\left(\frac{1}{2}\right) = \frac{51}{64}, error 1320\frac{1}{320}
  • c) 1,−3,13,−511, -3, 13, -51: diverges, although f(2)=15f(2) = \frac{1}{5}
  • d) The partial sums 1,0,1,0,…1, 0, 1, 0, \dots have no limit: the series diverges at 11. The radius comes from ∣x2∣<1|x^2| < 1, not from the graph.
  • e) N=4N = 4 (error 11280\frac{1}{1280})

a) 11+x2=11−(−x2)=∑n=0∞(−x2)n=∑n=0∞(−1)nx2n=1−x2+x4−x6+⋯\frac{1}{1 + x^2} = \frac{1}{1 - (-x^2)} = \sum_{n=0}^\infty (-x^2)^n = \sum_{n=0}^\infty (-1)^n x^{2n} = 1 - x^2 + x^4 - x^6 + \cdots, valid for ∣−x2∣<1|-x^2| < 1, that is ∣x∣<1|x| < 1. At x=±1x = \pm 1 the terms are (−1)n(-1)^n, which do not tend to 00: diverges. Interval: (−1,1)(-1, 1), although ff itself is defined everywhere.

b) SN(x)S_N(x) is a FINITE geometric sum with ratio u=−x2u = -x^2, so SN=1−uN+11−u=1−(−x2)N+11+x2S_N = \frac{1 - u^{N+1}}{1 - u} = \frac{1 - (-x^2)^{N+1}}{1 + x^2} for every real xx: a finite sum has no convergence condition. Hence f(x)−SN(x)=11+x2−1−(−x2)N+11+x2=(−x2)N+11+x2f(x) - S_N(x) = \frac{1}{1 + x^2} - \frac{1 - (-x^2)^{N+1}}{1 + x^2} = \frac{(-x^2)^{N+1}}{1 + x^2}. At x=12x = \frac{1}{2}: S3=1−14+116−164=64−16+4−164=5164S_3 = 1 - \frac{1}{4} + \frac{1}{16} - \frac{1}{64} = \frac{64 - 16 + 4 - 1}{64} = \frac{51}{64}, f(12)=15/4=45f\left(\frac{1}{2}\right) = \frac{1}{5/4} = \frac{4}{5}, and f−S3=(1/4)45/4=1256⋅45=1320f - S_3 = \frac{(1/4)^4}{5/4} = \frac{1}{256} \cdot \frac{4}{5} = \frac{1}{320}; directly, 45−5164=256−255320=1320\frac{4}{5} - \frac{51}{64} = \frac{256 - 255}{320} = \frac{1}{320}. The formula gives the error EXACTLY, a luxury that only geometric series offer.

c) By b), SN(2)=1−(−4)N+15S_N(2) = \frac{1 - (-4)^{N+1}}{5}: S0=1S_0 = 1, S1=1−4=−3S_1 = 1 - 4 = -3, S2=−3+16=13S_2 = -3 + 16 = 13, S3=13−64=−51S_3 = 13 - 64 = -51. The partial sums swing with growing amplitude; the terms (−4)n(-4)^n do not tend to 00, so the series DIVERGES at x=2x = 2, even though f(2)=15f(2) = \frac{1}{5} is a perfectly good number. On the figure, as soon as ∣x∣>1|x| > 1, S2S_2 shoots up and S3S_3 plunges, on both sides: the partial sums alternate above and below ff with a gap x2N+21+x2\frac{x^{2N+2}}{1 + x^2} that GROWS with NN. Inside (−1,1)(-1, 1) the same gap shrinks to 00, which is why all the curves hug ff near 00.

d) SN(1)=1−(−1)N+12S_N(1) = \frac{1 - (-1)^{N+1}}{2} gives 1,0,1,0,…1, 0, 1, 0, \dots: the sequence of partial sums has no limit, so the series DIVERGES at x=1x = 1 and represents nothing there. The average of 11 and 00 is indeed 12=f(1)\frac{1}{2} = f(1), but the sum of a series is the LIMIT of its partial sums, not their average; the student's argument would also make 1−1+1−⋯1 - 1 + 1 - \cdots equal to 12\frac{1}{2}, which the divergence test rules out. As for the radius, nothing on the real graph explains it, since ff is smooth everywhere: the obstruction is the condition ∣x2∣<1|x^2| < 1 under which the series was built, and that condition is the whole story. (The deeper reason is that 1+x21 + x^2 vanishes at the complex numbers ±i\pm i, at distance 11 from 00; this lies outside MATH 141.) The lesson for the exam: a radius is COMPUTED, never read off a graph.

e) By b), ∣f(12)−SN(12)∣=(1/4)N+15/4=45⋅14N+1\left|f\left(\frac{1}{2}\right) - S_N\left(\frac{1}{2}\right)\right| = \frac{(1/4)^{N+1}}{5/4} = \frac{4}{5} \cdot \frac{1}{4^{N+1}}. We need 45⋅4N+1<11000\frac{4}{5 \cdot 4^{N+1}} < \frac{1}{1000}, that is 4N+1>8004^{N+1} > 800. Since 44=256<800<1024=454^4 = 256 < 800 < 1024 = 4^5, the smallest choice is N+1=5N + 1 = 5, so N=4N = 4: the five terms up to x8x^8, with error 45⋅1024=11280\frac{4}{5 \cdot 1024} = \frac{1}{1280}. For N=3N = 3 the error is 1320\frac{1}{320}, too large. No calculator is needed because the error formula is exact; error bounds for series that are not geometric come later in the course.

Exercise 5: Differentiate term by term, then evaluate: 1/(1 - x) squared and its cousins

Theorem (term-by-term calculus). If ∑cn(x−a)n\sum c_n(x - a)^n has radius R>0R > 0, its sum ff is differentiable on (a−R,a+R)(a - R, a + R), with f′(x)=∑n=1∞ncn(x−a)n−1f'(x) = \sum_{n=1}^\infty n c_n (x - a)^{n-1} and ∫f(x) dx=C+∑n=0∞cn(x−a)n+1n+1\int f(x)\,dx = C + \sum_{n=0}^\infty c_n\frac{(x - a)^{n+1}}{n + 1}, and both series have the SAME radius RR. The theorem says nothing about the endpoints.

Differentiating a known series is the standard way to sum numerical series whose terms carry a factor nn or n2n^2.

  • a) Differentiate the geometric series to obtain a power series for 1(1−x)2\frac{1}{(1 - x)^2} written with xnx^n, and give its interval of convergence.
  • b) Deduce a series for x(1−x)2\frac{x}{(1 - x)^2}, then the sums ∑n=1∞n2n\sum_{n=1}^\infty \frac{n}{2^n} and ∑n=1∞n3n\sum_{n=1}^\infty \frac{n}{3^n}.
  • c) Differentiate once more to find ∑n=1∞n2xn\sum_{n=1}^\infty n^2 x^n in closed form on (−1,1)(-1, 1), then ∑n=1∞n22n\sum_{n=1}^\infty \frac{n^2}{2^n}.
  • d) Evaluate ∑n=0∞(−1)n(n+1)4n\sum_{n=0}^\infty \frac{(-1)^n (n + 1)}{4^n}.
  • e) A student writes: ∑n=0∞(12)n=2\sum_{n=0}^\infty \left(\frac{1}{2}\right)^n = 2, and differentiating both sides gives ∑n=1∞n(12)n−1=0\sum_{n=1}^\infty n\left(\frac{1}{2}\right)^{n-1} = 0. Find the error and the correct value.
Show the solution

Answers

  • a) 1(1−x)2=∑n=0∞(n+1)xn\frac{1}{(1 - x)^2} = \sum_{n=0}^\infty (n + 1)x^n on (−1,1)(-1, 1)
  • b) x(1−x)2=∑n=1∞nxn\frac{x}{(1 - x)^2} = \sum_{n=1}^\infty n x^n; the sums are 22 and 34\frac{3}{4}.
  • c) ∑n=1∞n2xn=x(1+x)(1−x)3\sum_{n=1}^\infty n^2 x^n = \frac{x(1 + x)}{(1 - x)^3}; ∑n22n=6\sum \frac{n^2}{2^n} = 6
  • d) 1625\frac{16}{25}
  • e) A number was differentiated instead of a function; correct value 44.

a) On (−1,1)(-1, 1), 11−x=∑n=0∞xn\frac{1}{1 - x} = \sum_{n=0}^\infty x^n. Differentiate both sides. On the left, the derivative of (1−x)−1(1 - x)^{-1} is (1−x)−2(1 - x)^{-2} by the chain rule (two minus signs cancel). On the right, ∑n=1∞nxn−1\sum_{n=1}^\infty n x^{n-1}: the n=0n = 0 term is the constant 11, whose derivative is 00, hence the start at n=1n = 1. Shift the index with k=n−1k = n - 1: 1(1−x)2=∑k=0∞(k+1)xk=1+2x+3x2+⋯\frac{1}{(1 - x)^2} = \sum_{k=0}^\infty (k + 1)x^k = 1 + 2x + 3x^2 + \cdots. The theorem gives the radius 11; the endpoints are checked by hand: at x=±1x = \pm 1, ∣(k+1)xk∣=k+1→∞|(k + 1)x^k| = k + 1 \to \infty, diverges. Interval (−1,1)(-1, 1). Check at x=0x = 0: 1=1121 = \frac{1}{1^2}.

b) Multiply a) by xx (in its form ∑n≥1nxn−1\sum_{n\ge1} n x^{n-1}): x(1−x)2=∑n=1∞nxn\frac{x}{(1 - x)^2} = \sum_{n=1}^\infty n x^n on (−1,1)(-1, 1). At x=12x = \frac{1}{2}, inside the interval: ∑n2n=1/2(1/2)2=2\sum \frac{n}{2^n} = \frac{1/2}{(1/2)^2} = 2. At x=13x = \frac{1}{3}: ∑n3n=1/3(2/3)2=13⋅94=34\sum \frac{n}{3^n} = \frac{1/3}{(2/3)^2} = \frac{1}{3} \cdot \frac{9}{4} = \frac{3}{4}. The solution figure shows the partial sums of the first series climbing to 22: 12\frac{1}{2}, 11, 118\frac{11}{8}, 138\frac{13}{8}, and so on.

c) Differentiate ∑n≥1nxn=x(1−x)2\sum_{n\ge1} n x^n = \frac{x}{(1 - x)^2} by the quotient rule: ∑n≥1n2xn−1=(1−x)2+2x(1−x)(1−x)4=(1−x)+2x(1−x)3=1+x(1−x)3\sum_{n\ge1} n^2 x^{n-1} = \frac{(1 - x)^2 + 2x(1 - x)}{(1 - x)^4} = \frac{(1 - x) + 2x}{(1 - x)^3} = \frac{1 + x}{(1 - x)^3}, after cancelling one factor 1−x1 - x. Multiply by xx: ∑n≥1n2xn=x(1+x)(1−x)3\sum_{n\ge1} n^2 x^n = \frac{x(1 + x)}{(1 - x)^3} for ∣x∣<1|x| < 1. At x=12x = \frac{1}{2}: 12⋅3218=6\frac{\frac{1}{2} \cdot \frac{3}{2}}{\frac{1}{8}} = 6. The pattern 'differentiate, then multiply by xx' restores the power xnx^n and brings down one more factor nn each time; it sums ∑nkxn\sum n^k x^n for any kk.

d) It is a) at x=−14x = -\frac{1}{4}, which lies in (−1,1)(-1, 1): the general term (−1)n(n+1)4n\frac{(-1)^n(n + 1)}{4^n} is (n+1)xn(n + 1)x^n with x=−14x = -\frac{1}{4}, sign included. So the sum is 1(1+1/4)2=125/16=1625\frac{1}{(1 + 1/4)^2} = \frac{1}{25/16} = \frac{16}{25}. Recognising a series means matching its general term to a known one AND naming the value of xx, then checking that it lies in the open interval.

e) The sum 22 is a NUMBER, the value of 11−x\frac{1}{1 - x} at one point; the derivative of a constant is 00 and carries no information about the function. Differentiation acts on functions of xx: differentiate 11−x=∑xn\frac{1}{1 - x} = \sum x^n on (−1,1)(-1, 1) first, then evaluate: ∑n≥1n(12)n−1=1(1−1/2)2=4\sum_{n\ge1} n\left(\frac{1}{2}\right)^{n-1} = \frac{1}{(1 - 1/2)^2} = 4. Consistent with b): ∑n2n=12∑n(12)n−1=12⋅4=2\sum \frac{n}{2^n} = \frac{1}{2}\sum n\left(\frac{1}{2}\right)^{n-1} = \frac{1}{2} \cdot 4 = 2. The rule: keep xx a variable until the last line, and substitute the number only once the identity between functions is established.

123456789101112130.511.522.5partial sums sₙ of Σ n/2ⁿlimit 2n

Part B: problems and reasoning (/50)

Exercise 6: Integrate term by term: ln(1 + x), arctan x and the constant

Integrating a geometric series term by term produces the two series of the chapter that are not rational functions. The theorem of Exercise 5 keeps the radius; the constant of integration and the endpoints are your job. Admit also Abel's theorem: if a power series converges at an endpoint of its interval and the function it represents is continuous there, the equality between the function and the series holds at that endpoint too.

The figure shows y=ln⁡(1+x)y = \ln(1 + x) with the partial sums S5S_5 and S6S_6 of its power series, the sums of its terms up to x5x^5 and x6x^6.

-1-0.50.511.52-2.5-2-1.5-1-0.50.511.522.5ln(1+x)S₅S₆x = 1
  • a) Integrate the series of 11+t\frac{1}{1 + t} from 00 to xx to obtain the power series of ln⁡(1+x)\ln(1 + x), justifying the constant.
  • b) Find the interval of convergence of this series, testing each endpoint, and compare it with the interval of the series of 11+x\frac{1}{1 + x}. Deduce the sum of 1−12+13−14+⋯1 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \cdots, and say what the figure shows beyond x=1x = 1.
  • c) Same work for arctan⁡x\arctan x, starting from 11+t2\frac{1}{1 + t^2}. Deduce the sum of 1−13+15−17+⋯1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots.
  • d) Find the power series of ln⁡(5−x)\ln(5 - x) centred at 00, and its interval of convergence.
  • e) Write ∫01/2dx1+x4\int_0^{1/2} \frac{dx}{1 + x^4} as the sum of a numerical series. Show that its first three terms give the integral within 10−510^{-5}, and give that approximation as an exact fraction.
Show the solution

Answers

  • a) ln⁡(1+x)=∑n=1∞(−1)n+1xnn\ln(1 + x) = \sum_{n=1}^\infty (-1)^{n+1}\frac{x^n}{n}, constant ln⁡1=0\ln 1 = 0
  • b) Interval (−1,1](-1, 1]: the endpoint 11 is gained; 1−12+13−⋯=ln⁡21 - \frac{1}{2} + \frac{1}{3} - \cdots = \ln 2.
  • c) arctan⁡x=∑n=0∞(−1)nx2n+12n+1\arctan x = \sum_{n=0}^\infty (-1)^n\frac{x^{2n+1}}{2n + 1} on [−1,1][-1, 1]; 1−13+15−⋯=π41 - \frac{1}{3} + \frac{1}{5} - \cdots = \frac{\pi}{4}
  • d) ln⁡(5−x)=ln⁡5−∑n=1∞xnn 5n\ln(5 - x) = \ln 5 - \sum_{n=1}^\infty \frac{x^n}{n\,5^n}, interval [−5,5)[-5, 5)
  • e) ∑n=0∞(−1)n(4n+1)24n+1\sum_{n=0}^\infty \frac{(-1)^n}{(4n + 1)2^{4n+1}}; 12−1160+14608=1138123040\frac{1}{2} - \frac{1}{160} + \frac{1}{4608} = \frac{11381}{23040}, error below 1106496\frac{1}{106496}

a) On (−1,1)(-1, 1), 11+t=11−(−t)=∑n=0∞(−1)ntn\frac{1}{1 + t} = \frac{1}{1 - (-t)} = \sum_{n=0}^\infty (-1)^n t^n. For ∣x∣<1|x| < 1 the interval [0,x][0, x] lies inside the interval of convergence, so the series can be integrated term by term on it: ln⁡(1+x)=∫0xdt1+t=∑n=0∞(−1)nxn+1n+1=∑n=1∞(−1)n+1xnn=x−x22+x33−⋯\ln(1 + x) = \int_0^x \frac{dt}{1 + t} = \sum_{n=0}^\infty (-1)^n \frac{x^{n+1}}{n + 1} = \sum_{n=1}^\infty (-1)^{n+1}\frac{x^n}{n} = x - \frac{x^2}{2} + \frac{x^3}{3} - \cdots. The definite integral from 00 fixes the constant by itself. With an indefinite integral one writes ln⁡(1+x)=C+∑(⋯ )\ln(1 + x) = C + \sum(\cdots) and finds CC at the centre: ln⁡1=C+0\ln 1 = C + 0, so C=0C = 0. The constant is 00 here only because ln⁡(1+0)=0\ln(1 + 0) = 0; d) shows a case where it is not.

b) Radius 11 by the theorem (or by the ratio test: nn+1∣x∣→∣x∣\frac{n}{n + 1}|x| \to |x|). At x=1x = 1: ∑(−1)n+1n\sum \frac{(-1)^{n+1}}{n}, the alternating harmonic series, converges by the alternating series test, since 1n\frac{1}{n} decreases to 00. At x=−1x = -1: (−1)n+1(−1)n=−1(-1)^{n+1}(-1)^n = -1, so the series is −∑1n-\sum \frac{1}{n}, which diverges. Interval: (−1,1](-1, 1]. The series of 11+x\frac{1}{1 + x} had interval (−1,1)(-1, 1): integrating kept RR and GAINED the endpoint x=1x = 1. Since ln⁡(1+x)\ln(1 + x) is continuous at 11 and the series converges there, Abel's theorem gives 1−12+13−14+⋯=ln⁡21 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \cdots = \ln 2. Beyond x=1x = 1, the figure shows S5S_5 and S6S_6 leaving ln⁡(1+x)\ln(1 + x) in opposite directions: for x>1x > 1 the terms xnn\frac{x^n}{n} grow without bound, and the series represents nothing there, although ln⁡(1+x)\ln(1 + x) exists. Near x=−1x = -1, ln⁡(1+x)→−∞\ln(1 + x) \to -\infty while every partial sum stays finite: the divergence at −1-1 is visible as well.

c) 11+t2=∑n=0∞(−1)nt2n\frac{1}{1 + t^2} = \sum_{n=0}^\infty (-1)^n t^{2n} for ∣t∣<1|t| < 1 (Exercise 4). Integrate from 00 to xx: arctan⁡x=∑n=0∞(−1)nx2n+12n+1=x−x33+x55−⋯\arctan x = \sum_{n=0}^\infty (-1)^n\frac{x^{2n+1}}{2n + 1} = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots, with constant arctan⁡0=0\arctan 0 = 0. At x=1x = 1: ∑(−1)n2n+1\sum \frac{(-1)^n}{2n + 1}, alternating with 12n+1\frac{1}{2n + 1} decreasing to 00, converges. At x=−1x = -1: (−1)2n+1=−1(-1)^{2n+1} = -1, so the series is −∑(−1)n2n+1-\sum \frac{(-1)^n}{2n + 1}, which converges as well. Interval [−1,1][-1, 1]: BOTH endpoints are gained, where 11+x2\frac{1}{1 + x^2} had (−1,1)(-1, 1). Both converge only conditionally, since ∑12n+1\sum \frac{1}{2n + 1} diverges by limit comparison with ∑1n\sum \frac{1}{n}. Abel's theorem at x=1x = 1: 1−13+15−17+⋯=arctan⁡1=π41 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots = \arctan 1 = \frac{\pi}{4}.

d) Differentiate first: ddxln⁡(5−x)=−15−x=−15⋅11−x5=−∑n=0∞xn5n+1\frac{d}{dx}\ln(5 - x) = -\frac{1}{5 - x} = -\frac{1}{5} \cdot \frac{1}{1 - \frac{x}{5}} = -\sum_{n=0}^\infty \frac{x^n}{5^{n+1}} for ∣x∣<5|x| < 5. Integrate term by term: ln⁡(5−x)=C−∑n=0∞xn+1(n+1)5n+1=C−∑n=1∞xnn 5n\ln(5 - x) = C - \sum_{n=0}^\infty \frac{x^{n+1}}{(n + 1)5^{n+1}} = C - \sum_{n=1}^\infty \frac{x^n}{n\,5^n}. At the centre x=0x = 0: ln⁡5=C−0\ln 5 = C - 0, so C=ln⁡5C = \ln 5 and ln⁡(5−x)=ln⁡5−∑n=1∞xnn 5n\ln(5 - x) = \ln 5 - \sum_{n=1}^\infty \frac{x^n}{n\,5^n}. Forgetting CC gives a series worth 00 at x=0x = 0 where the function is worth ln⁡5\ln 5: the check at the centre catches it in one line. Endpoints: at x=5x = 5, ∑1n\sum \frac{1}{n} diverges (and indeed ln⁡(5−x)→−∞\ln(5 - x) \to -\infty as x→5−x \to 5^-); at x=−5x = -5, ∑(−1)nn\sum \frac{(-1)^n}{n} converges by the alternating series test. Interval: [−5,5)[-5, 5).

e) For ∣x∣<1|x| < 1, 11+x4=∑n=0∞(−1)nx4n\frac{1}{1 + x^4} = \sum_{n=0}^\infty (-1)^n x^{4n} (u=−x4u = -x^4). The interval of integration [0,12][0, \frac{1}{2}] lies inside (−1,1)(-1, 1), so term-by-term integration is justified: ∫01/2dx1+x4=∑n=0∞(−1)n[x4n+14n+1]01/2=∑n=0∞(−1)n(4n+1)24n+1=12−1160+14608−1106496+⋯\int_0^{1/2} \frac{dx}{1 + x^4} = \sum_{n=0}^\infty (-1)^n\left[\frac{x^{4n+1}}{4n + 1}\right]_0^{1/2} = \sum_{n=0}^\infty \frac{(-1)^n}{(4n + 1)2^{4n+1}} = \frac{1}{2} - \frac{1}{160} + \frac{1}{4608} - \frac{1}{106496} + \cdots. This numerical series is alternating with bn=1(4n+1)24n+1b_n = \frac{1}{(4n + 1)2^{4n+1}} decreasing to 00, so by the alternating series estimate the error after three terms is at most the fourth, 113⋅213=1106496<10−5\frac{1}{13 \cdot 2^{13}} = \frac{1}{106496} < 10^{-5}. The approximation, over the common denominator 23040=29⋅4523040 = 2^9 \cdot 45: 12−1160+14608=11520−144+523040=1138123040\frac{1}{2} - \frac{1}{160} + \frac{1}{4608} = \frac{11520 - 144 + 5}{23040} = \frac{11381}{23040}, about 0.49400.4940. The function has an elementary antiderivative, but it needs a four-factor partial fraction decomposition; the series gives the value to 10−510^{-5} in three lines.

Exercise 7: The same radius, not the same interval: endpoints lost and gained

The theorem of Exercise 5 promises that f′f' and ∫f\int f have the same RADIUS as ff. It promises nothing at the endpoints. Let f(x)=∑n=1∞xnn2f(x) = \sum_{n=1}^\infty \frac{x^n}{n^2} and F(x)=∫0xf(t) dtF(x) = \int_0^x f(t)\,dt.

  • a) Find the interval of convergence of the series of ff.
  • b) Write f′(x)f'(x) as a power series and find its interval of convergence.
  • c) Same question for f′′(x)f''(x).
  • d) Same question for F(x)F(x). A student claims that differentiating or integrating a power series never changes its interval of convergence: correct him, and say what can happen at an endpoint under each operation.
  • e) Using the series of ln⁡(1−x)\ln(1 - x), show that f′(x)=−ln⁡(1−x)xf'(x) = -\frac{\ln(1 - x)}{x} for 0<∣x∣<10 < |x| < 1, and check this formula against the value of the series of b) at x=−1x = -1.
Show the solution

Answers

  • a) [−1,1][-1, 1]
  • b) f′(x)=∑n=1∞xn−1nf'(x) = \sum_{n=1}^\infty \frac{x^{n-1}}{n}, interval [−1,1)[-1, 1)
  • c) f′′(x)=∑n=2∞(n−1)xn−2nf''(x) = \sum_{n=2}^\infty \frac{(n - 1)x^{n-2}}{n}, interval (−1,1)(-1, 1)
  • d) F(x)=∑n=1∞xn+1n2(n+1)F(x) = \sum_{n=1}^\infty \frac{x^{n+1}}{n^2(n + 1)}, interval [−1,1][-1, 1]; same RR, but differentiating can lose endpoints and integrating can gain them.
  • e) −ln⁡(1−x)x=∑xn−1n-\frac{\ln(1 - x)}{x} = \sum \frac{x^{n-1}}{n}; at x=−1x = -1 both give ln⁡2\ln 2.

a) Ratio test: n2(n+1)2∣x∣→∣x∣\frac{n^2}{(n + 1)^2}|x| \to |x|, so R=1R = 1. At x=±1x = \pm 1: ∣(±1)nn2∣=1n2\left|\frac{(\pm 1)^n}{n^2}\right| = \frac{1}{n^2} and ∑1n2\sum \frac{1}{n^2} converges (p=2p = 2): absolute convergence at both endpoints. Interval [−1,1][-1, 1].

b) f′(x)=∑n=1∞nxn−1n2=∑n=1∞xn−1nf'(x) = \sum_{n=1}^\infty \frac{n x^{n-1}}{n^2} = \sum_{n=1}^\infty \frac{x^{n-1}}{n}, radius 11 by the theorem. At x=1x = 1: ∑1n\sum \frac{1}{n}, which diverges. At x=−1x = -1: ∑(−1)n−1n\sum \frac{(-1)^{n-1}}{n}, which converges by the alternating series test. Interval [−1,1)[-1, 1): the endpoint x=1x = 1 is LOST.

c) The n=1n = 1 term of f′f' is the constant 11, so f′′(x)=∑n=2∞(n−1)xn−2nf''(x) = \sum_{n=2}^\infty \frac{(n - 1)x^{n-2}}{n}. At x=±1x = \pm 1: ∣n−1n(±1)n−2∣=n−1n→1≠0\left|\frac{n - 1}{n}(\pm 1)^{n-2}\right| = \frac{n - 1}{n} \to 1 \ne 0, divergence at both ends by the divergence test. Interval (−1,1)(-1, 1): the endpoint −1-1 is lost in turn.

d) Integrating term by term from 00 (constant F(0)=0F(0) = 0): F(x)=∑n=1∞xn+1n2(n+1)F(x) = \sum_{n=1}^\infty \frac{x^{n+1}}{n^2(n + 1)}, radius 11. At x=±1x = \pm 1: ∣(±1)n+1n2(n+1)∣≤1n3\left|\frac{(\pm 1)^{n+1}}{n^2(n + 1)}\right| \le \frac{1}{n^3}, absolute convergence by comparison with p=3p = 3. Interval [−1,1][-1, 1]. The student is right about the radius, which the theorem guarantees, and wrong about the interval: [−1,1][-1, 1] for ff, [−1,1)[-1, 1) for f′f', (−1,1)(-1, 1) for f′′f'', [−1,1][-1, 1] for FF, as drawn in the solution figure. Differentiating multiplies the nnth term by nn, which makes the terms at an endpoint LARGER: it can only lose an endpoint. Integrating divides by n+1n + 1: it can only gain one. (That these two directions hold for every power series is true, and admitted here.) On a copy, every derived or integrated series gets its own endpoint tests, even when its radius is taken from the theorem.

e) Exercise 6 with −x-x in place of xx gives ln⁡(1−x)=∑n=1∞(−1)n+1(−x)nn=−∑n=1∞xnn\ln(1 - x) = \sum_{n=1}^\infty (-1)^{n+1}\frac{(-x)^n}{n} = -\sum_{n=1}^\infty \frac{x^n}{n} for −1≤x<1-1 \le x < 1. For 0<∣x∣<10 < |x| < 1, divide by −x-x: −ln⁡(1−x)x=∑n=1∞xn−1n=f′(x)-\frac{\ln(1 - x)}{x} = \sum_{n=1}^\infty \frac{x^{n-1}}{n} = f'(x). At x=0x = 0 the series gives f′(0)=1f'(0) = 1, which is the limit of −ln⁡(1−x)x-\frac{\ln(1 - x)}{x} as x→0x \to 0 by L'Hôpital's rule. At x=−1x = -1 the series of b) converges to 1−12+13−⋯=ln⁡21 - \frac{1}{2} + \frac{1}{3} - \cdots = \ln 2 (Exercise 6 b), and the formula gives −ln⁡2−1=ln⁡2-\frac{\ln 2}{-1} = \ln 2: they agree, as Abel's theorem predicts. At x=1x = 1 the formula involves ln⁡0\ln 0, which does not exist, matching the lost endpoint. The function ff itself has no elementary closed form; its derivative does.

−11f[−1, 1]−11f′[−1, 1)−11f″(−1, 1)−11F[−1, 1]

Exercise 8: Five statements to correct

Each statement below was written on a MATH 141 practice paper, and each one is false or incomplete. Say what is wrong, give the correct statement, and settle it with a short computation or a counterexample.

  • a) The series ∑cnxn\sum c_n x^n converges at x=−4x = -4, so it also converges at x=4x = 4.
  • b) For ∑xnn2 3n\sum \frac{x^n}{n^2\,3^n}, the ratio test gives the limit ∣x∣3<1\frac{|x|}{3} < 1, so the interval of convergence is (−3,3)(-3, 3).
  • c) 12+x=∑n=0∞(−1)nxn2n\frac{1}{2 + x} = \sum_{n=0}^\infty \frac{(-1)^n x^n}{2^n} for ∣x∣<1|x| < 1.
  • d) If ∑cnxn\sum c_n x^n has radius 22, then ∑cnx2n\sum c_n x^{2n} has radius 44.
  • e) Since ln⁡(1+x)=∑n=1∞(−1)n+1xnn\ln(1 + x) = \sum_{n=1}^\infty (-1)^{n+1}\frac{x^n}{n}, putting x=2x = 2 gives ln⁡3=2−2+83−4+⋯\ln 3 = 2 - 2 + \frac{8}{3} - 4 + \cdots.
Show the solution

Answers

  • a) False: ∑xnn 4n\sum \frac{x^n}{n\,4^n} converges at −4-4, diverges at 44. Correct: convergence for every ∣x∣<4|x| < 4.
  • b) Incomplete: both endpoints converge (p=2p = 2), the interval is [−3,3][-3, 3].
  • c) False twice: 12+x=∑(−1)nxn2n+1\frac{1}{2 + x} = \sum \frac{(-1)^n x^n}{2^{n+1}} for ∣x∣<2|x| < 2.
  • d) False: the radius is 2\sqrt{2}.
  • e) False: x=2x = 2 is outside (−1,1](-1, 1] and the series diverges; correct: ln⁡3=∑(2/3)nn\ln 3 = \sum \frac{(2/3)^n}{n}.

a) FALSE. Counterexample: ∑xnn 4n\sum \frac{x^n}{n\,4^n}, of radius 44. At x=−4x = -4 it is ∑(−1)nn\sum \frac{(-1)^n}{n}, convergent by the alternating series test; at x=4x = 4 it is ∑1n\sum \frac{1}{n}, divergent. Correct statement: if ∑cnxn\sum c_n x^n converges at x=−4x = -4, then R≥4R \ge 4, so the series converges ABSOLUTELY for every ∣x∣<4|x| < 4, for instance at x=3x = 3 or at x=−3.9x = -3.9; at x=4x = 4 nothing can be said. Symmetrically, divergence at x=6x = 6 gives R≤6R \le 6 and divergence for every ∣x∣>6|x| > 6.

b) INCOMPLETE, hence wrong as an answer. The ratio test proves convergence on (−3,3)(-3, 3) and divergence for ∣x∣>3|x| > 3; at x=±3x = \pm 3 its limit is 11 and it says nothing. Here ∣an∣=3nn2 3n=1n2|a_n| = \frac{3^n}{n^2\,3^n} = \frac{1}{n^2} at both endpoints, and ∑1n2\sum \frac{1}{n^2} converges (p=2p = 2): the series converges absolutely at x=3x = 3 and at x=−3x = -3. Correct statement: R=3R = 3 and the interval of convergence is [−3,3][-3, 3].

c) FALSE, twice. The centre test finds the first error: at x=0x = 0 the series gives 11, the function 12\frac{1}{2}. The 11 of 11−u\frac{1}{1 - u} must be created by factoring out the 22: 12+x=12⋅11+x2=∑n=0∞(−1)nxn2n+1\frac{1}{2 + x} = \frac{1}{2} \cdot \frac{1}{1 + \frac{x}{2}} = \sum_{n=0}^\infty \frac{(-1)^n x^n}{2^{n+1}}, valid for ∣x2∣<1\left|\frac{x}{2}\right| < 1, that is ∣x∣<2|x| < 2. The student's radius 11 is the second error: the condition ∣u∣<1|u| < 1 applies to u=−x2u = -\frac{x}{2}, not to xx.

d) FALSE. The series ∑cnun\sum c_n u^n converges for ∣u∣<2|u| < 2 and diverges for ∣u∣>2|u| > 2. With u=x2u = x^2, the series ∑cnx2n\sum c_n x^{2n} converges for x2<2x^2 < 2 and diverges for x2>2x^2 > 2: its radius is 2\sqrt{2}, not 44. Example: cn=12nc_n = \frac{1}{2^n} gives ∑x2n2n\sum \frac{x^{2n}}{2^n}, geometric with ratio x22\frac{x^2}{2}, convergent iff ∣x∣<2|x| < \sqrt{2}. Substituting x2x^2 takes the square root of the radius; substituting 3x3x divides it by 33.

e) FALSE. The identity holds only on (−1,1](-1, 1], and 22 is outside: at x=2x = 2 the terms 2nn\frac{2^n}{n} tend to ∞\infty, so the series diverges and equals nothing, let alone ln⁡3\ln 3. Correct method: find a known series and a point INSIDE its interval that produce the value. With ln⁡(1−x)=−∑xnn\ln(1 - x) = -\sum \frac{x^n}{n} on [−1,1)[-1, 1) and x=23x = \frac{2}{3}: ln⁡3=−ln⁡13=−ln⁡(1−23)=∑n=1∞(2/3)nn=23+29+881+⋯\ln 3 = -\ln\frac{1}{3} = -\ln\left(1 - \frac{2}{3}\right) = \sum_{n=1}^\infty \frac{(2/3)^n}{n} = \frac{2}{3} + \frac{2}{9} + \frac{8}{81} + \cdots. A formula proved on an interval says nothing outside it.

Exercise 9: Waiting for a six: expected values as power series

A board game asks a player to roll a fair die until the first six appears. Let NN be the number of rolls needed. The rolls are independent, so N=nN = n means n−1n - 1 rolls without a six followed by a six: P(N=n)=16(56)n−1P(N = n) = \frac{1}{6}\left(\frac{5}{6}\right)^{n-1} for n=1,2,3,…n = 1, 2, 3, \dots The expected value and the second moment are the numerical series E(N)=∑n≥1n P(N=n)E(N) = \sum_{n\ge1} n\,P(N = n) and E(N2)=∑n≥1n2 P(N=n)E(N^2) = \sum_{n\ge1} n^2\,P(N = n).

The figure shows the probabilities P(N=n)P(N = n) for n≤14n \le 14. No calculator: give exact answers.

1234567891011121314150.050.10.150.2nP(N = n)
  • a) Check that these probabilities add up to 11.
  • b) Compute E(N)E(N) by recognising a power series of Exercise 5 evaluated at a point, and say why that point is allowed.
  • c) Compute E(N2)E(N^2), then the variance Var(N)=E(N2)−E(N)2\text{Var}(N) = E(N^2) - E(N)^2.
  • d) Two players A and B roll in turn, A first, and the first to roll a six wins. Compute the probability that A wins.
  • e) For an attempt that succeeds with probability pp, 0<p≤10 < p \le 1, show that E(N)=1pE(N) = \frac{1}{p}. What goes wrong when p=0p = 0, in terms of the interval of convergence? Apply the formula to waiting for a double six with two dice.
Show the solution

Answers

  • a) Geometric, first term 16\frac{1}{6}, ratio 56\frac{5}{6}: sum 11
  • b) E(N)=16⋅1(1−5/6)2=6E(N) = \frac{1}{6} \cdot \frac{1}{(1 - 5/6)^2} = 6
  • c) E(N2)=66E(N^2) = 66, Var(N)=30\text{Var}(N) = 30
  • d) P(A wins)=611P(\text{A wins}) = \frac{6}{11}
  • e) E(N)=p⋅1p2=1pE(N) = p \cdot \frac{1}{p^2} = \frac{1}{p}; p=0p = 0 puts x=1x = 1 at the excluded endpoint; double six: 3636 throws.

a) ∑n=1∞16(56)n−1\sum_{n=1}^\infty \frac{1}{6}\left(\frac{5}{6}\right)^{n-1} is geometric with first term 16\frac{1}{6} and ratio 56\frac{5}{6}, ∣r∣<1|r| < 1, so its sum is 1/61−5/6=1\frac{1/6}{1 - 5/6} = 1. The probabilities of all the outcomes add up to 11: the probability that no six ever appears is 00.

b) E(N)=∑n=1∞n⋅16(56)n−1=16∑n=1∞nxn−1E(N) = \sum_{n=1}^\infty n \cdot \frac{1}{6}\left(\frac{5}{6}\right)^{n-1} = \frac{1}{6}\sum_{n=1}^\infty n x^{n-1} with x=56x = \frac{5}{6}. The factor 16\frac{1}{6} comes out of the sum because it does not depend on nn, and the power n−1n - 1 matches nxn−1n x^{n-1} exactly, with no extra factor xx. By Exercise 5 a), ∑n≥1nxn−1=1(1−x)2\sum_{n\ge1} n x^{n-1} = \frac{1}{(1 - x)^2} on (−1,1)(-1, 1), and 56\frac{5}{6} lies in that OPEN interval, so the identity may be evaluated there: E(N)=16⋅1(1/6)2=16⋅36=6E(N) = \frac{1}{6} \cdot \frac{1}{(1/6)^2} = \frac{1}{6} \cdot 36 = 6. On average, six rolls.

c) Exercise 5 c) gives ∑n≥1n2xn−1=1+x(1−x)3\sum_{n\ge1} n^2 x^{n-1} = \frac{1 + x}{(1 - x)^3} on (−1,1)(-1, 1). At x=56x = \frac{5}{6}: 11/6(1/6)3=116⋅216=396\frac{11/6}{(1/6)^3} = \frac{11}{6} \cdot 216 = 396. So E(N2)=16⋅396=66E(N^2) = \frac{1}{6} \cdot 396 = 66 and Var(N)=66−62=30\text{Var}(N) = 66 - 6^2 = 30, a standard deviation of 30\sqrt{30}, about 5.55.5 rolls since 5.52=30.255.5^2 = 30.25. The waiting time is very spread out, which the long tail of the figure already shows: a player who needs twelve rolls is not unlucky in any remarkable way.

d) A wins exactly when the first six comes on an odd-numbered roll: P(A wins)=∑k=0∞P(N=2k+1)=∑k=0∞16(56)2k=16∑k=0∞(2536)k=16⋅11−25/36=16⋅3611=611P(\text{A wins}) = \sum_{k=0}^\infty P(N = 2k + 1) = \sum_{k=0}^\infty \frac{1}{6}\left(\frac{5}{6}\right)^{2k} = \frac{1}{6}\sum_{k=0}^\infty \left(\frac{25}{36}\right)^k = \frac{1}{6} \cdot \frac{1}{1 - 25/36} = \frac{1}{6} \cdot \frac{36}{11} = \frac{6}{11}. B wins with probability 511\frac{5}{11}: moving first is worth a little under ten percentage points. Keeping only the odd terms of the series amounts to replacing xx by x2x^2 in the geometric series: the ratio becomes (56)2\left(\frac{5}{6}\right)^2, still below 11.

e) The same computation with x=1−px = 1 - p: E(N)=p∑n≥1n(1−p)n−1=p⋅1(1−(1−p))2=pp2=1pE(N) = p\sum_{n\ge1} n(1 - p)^{n-1} = p \cdot \frac{1}{(1 - (1 - p))^2} = \frac{p}{p^2} = \frac{1}{p}. It is valid because 0<p≤10 < p \le 1 puts x=1−px = 1 - p in [0,1)[0, 1), inside the open interval (−1,1)(-1, 1). For p=0p = 0, x=1x = 1 is exactly the endpoint that Exercise 5 excluded: ∑n⋅1n−1\sum n \cdot 1^{n-1} diverges, and the formula 1p\frac{1}{p} breaks down with it; an event that never happens has no finite expected waiting time. For a double six, p=136p = \frac{1}{36} and E(N)=36E(N) = 36 throws of the pair of dice.

Exercise 10: A final exam problem: one series, its closed form and four numerical sums

Let f(x)=∑n=1∞xnn(n+1)f(x) = \sum_{n=1}^\infty \frac{x^n}{n(n + 1)}. This question, typical of the last page of a MATH 141 final, links the interval of convergence, the series of ln⁡(1−x)\ln(1 - x) and the sums of numerical series. Abel's theorem, stated in Exercise 6, may be used. Take ln⁡2≈0.69\ln 2 \approx 0.69 and ln⁡3≈1.10\ln 3 \approx 1.10 for orders of magnitude only.

  • a) Find the interval of convergence of the series.
  • b) Using 1n(n+1)=1n−1n+1\frac{1}{n(n + 1)} = \frac{1}{n} - \frac{1}{n + 1} and the series of ln⁡(1−x)\ln(1 - x), show that f(x)=1+1−xxln⁡(1−x)f(x) = 1 + \frac{1 - x}{x}\ln(1 - x) for 0<∣x∣<10 < |x| < 1. What is f(0)f(0), and is it consistent with the formula?
  • c) Deduce the exact value of ∑n=1∞1n(n+1)2n\sum_{n=1}^\infty \frac{1}{n(n + 1)2^n}, and check it against its first four terms.
  • d) Compute f(1)f(1) by telescoping and compare with the limit of the formula of b) as x→1−x \to 1^-. Deduce the exact value of ∑n=1∞(−1)nn(n+1)\sum_{n=1}^\infty \frac{(-1)^n}{n(n + 1)}.
  • e) Compute ∑n=1∞(−1)nn(n+1)2n\sum_{n=1}^\infty \frac{(-1)^n}{n(n + 1)2^n} exactly.
Show the solution

Answers

  • a) R=1R = 1, interval [−1,1][-1, 1]
  • b) f(x)=1+1−xxln⁡(1−x)f(x) = 1 + \frac{1 - x}{x}\ln(1 - x); f(0)=0f(0) = 0, the limit of the formula at 00.
  • c) 1−ln⁡21 - \ln 2
  • d) f(1)=1f(1) = 1, equal to the limit; ∑(−1)nn(n+1)=1−2ln⁡2\sum \frac{(-1)^n}{n(n + 1)} = 1 - 2\ln 2
  • e) 1−3ln⁡321 - 3\ln\frac{3}{2}

a) Ratio test: n(n+1)(n+1)(n+2)∣x∣=nn+2∣x∣→∣x∣\frac{n(n + 1)}{(n + 1)(n + 2)}|x| = \frac{n}{n + 2}|x| \to |x|, so R=1R = 1. At x=±1x = \pm 1: ∣(±1)nn(n+1)∣=1n(n+1)≤1n2\left|\frac{(\pm 1)^n}{n(n + 1)}\right| = \frac{1}{n(n + 1)} \le \frac{1}{n^2}, convergent by comparison with p=2p = 2: absolute convergence at both endpoints. Interval [−1,1][-1, 1].

b) Split: f(x)=∑n≥1xnn−∑n≥1xnn+1f(x) = \sum_{n\ge1} \frac{x^n}{n} - \sum_{n\ge1} \frac{x^n}{n + 1}, legitimate for ∣x∣<1|x| < 1 because BOTH series converge there (splitting a convergent series into two divergent ones is the classic trap). The first is −ln⁡(1−x)-\ln(1 - x). For the second, when x≠0x \ne 0: ∑n≥1xnn+1=1x∑n≥1xn+1n+1=1x∑k≥2xkk=1x(−ln⁡(1−x)−x)\sum_{n\ge1} \frac{x^n}{n + 1} = \frac{1}{x}\sum_{n\ge1} \frac{x^{n+1}}{n + 1} = \frac{1}{x}\sum_{k\ge2} \frac{x^k}{k} = \frac{1}{x}\left(-\ln(1 - x) - x\right), the k=1k = 1 term xx being missing. Hence f(x)=−ln⁡(1−x)+ln⁡(1−x)x+1=1+1−xxln⁡(1−x)f(x) = -\ln(1 - x) + \frac{\ln(1 - x)}{x} + 1 = 1 + \frac{1 - x}{x}\ln(1 - x). At x=0x = 0 every term of the series contains xnx^n with n≥1n \ge 1, so f(0)=0f(0) = 0. The formula is undefined at 00, but its limit is 1+lim⁡x→0(1−x)ln⁡(1−x)x=1+1⋅(−1)=01 + \lim_{x\to0}(1 - x)\frac{\ln(1 - x)}{x} = 1 + 1 \cdot (-1) = 0, by L'Hôpital's rule on ln⁡(1−x)x\frac{\ln(1 - x)}{x}. Consistent, as it must be: a power series is continuous on its open interval. The solution figure draws ff on [−1,1][-1, 1].

c) x=12x = \frac{1}{2} is inside the interval: ∑1n(n+1)2n=f(12)=1+1/21/2ln⁡12=1−ln⁡2\sum \frac{1}{n(n + 1)2^n} = f\left(\frac{1}{2}\right) = 1 + \frac{1/2}{1/2}\ln\frac{1}{2} = 1 - \ln 2, about 1−0.69=0.311 - 0.69 = 0.31. Check: 14+124+196+1320≈0.250+0.042+0.010+0.003=0.305\frac{1}{4} + \frac{1}{24} + \frac{1}{96} + \frac{1}{320} \approx 0.250 + 0.042 + 0.010 + 0.003 = 0.305, and the terms left are positive and small, the next being 1960\frac{1}{960}. Agreement.

d) At x=1x = 1: f(1)=∑1n(n+1)=∑(1n−1n+1)f(1) = \sum \frac{1}{n(n + 1)} = \sum\left(\frac{1}{n} - \frac{1}{n + 1}\right), telescoping, sN=1−1N+1→1s_N = 1 - \frac{1}{N + 1} \to 1. The formula: with t=1−x→0+t = 1 - x \to 0^+, 1−xxln⁡(1−x)=tln⁡t1−t\frac{1 - x}{x}\ln(1 - x) = \frac{t\ln t}{1 - t} and tln⁡t→0t\ln t \to 0 (L'Hôpital's rule on ln⁡t1/t\frac{\ln t}{1/t}), so the limit is 11. The two agree, as Abel's theorem promises. At the other endpoint, x=−1x = -1, the series converges and the formula is continuous, so Abel's theorem gives ∑(−1)nn(n+1)=f(−1)=1+2−1ln⁡2=1−2ln⁡2\sum \frac{(-1)^n}{n(n + 1)} = f(-1) = 1 + \frac{2}{-1}\ln 2 = 1 - 2\ln 2, about 1−1.38=−0.381 - 1.38 = -0.38. The partial sums −12-\frac{1}{2}, −13-\frac{1}{3}, −512-\frac{5}{12} of this alternating series bracket that value, as they must.

e) x=−12x = -\frac{1}{2} is inside: f(−12)=1+3/2−1/2ln⁡32=1−3ln⁡32f\left(-\frac{1}{2}\right) = 1 + \frac{3/2}{-1/2}\ln\frac{3}{2} = 1 - 3\ln\frac{3}{2}. With ln⁡32=ln⁡3−ln⁡2≈1.10−0.69=0.41\ln\frac{3}{2} = \ln 3 - \ln 2 \approx 1.10 - 0.69 = 0.41, this is about 1−1.23=−0.231 - 1.23 = -0.23, and the first terms −14+124−196+1320≈−0.216-\frac{1}{4} + \frac{1}{24} - \frac{1}{96} + \frac{1}{320} \approx -0.216 agree to the precision of the logarithms used. The factor 1−xx\frac{1 - x}{x} is where the sign slips happen: at x=−12x = -\frac{1}{2}, 1−x=321 - x = \frac{3}{2}, not 12\frac{1}{2}, and xx is negative.

-1-0.8-0.6-0.4-0.20.20.40.60.811.2-0.4-0.20.20.40.60.811.2(−1, 1 − 2 ln 2)(1, 1)y = f(x)

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