MATH 141 Calculus 2 • McGill University, Montreal

Corrected exercises: Taylor and Maclaurin series (MATH 141)

This is the corrected exercise set for the Taylor and Maclaurin series chapter of MATH 141, Calculus 2, the second calculus course at McGill University, section 11.10 of Stewart. Everything is done by hand and every answer is exact: π36\frac{\pi\sqrt{3}}{6}, −420-420, e2+14\frac{e^2 + 1}{4}, never a decimal from a machine. How many terms a numerical approximation needs, with a guaranteed error, belongs to the next chapter and is deliberately left out.

The thread running through the whole set: the coefficient of (x−a)n(x - a)^n is f(n)(a)n!\frac{f^{(n)}(a)}{n!}, and the formula is read in BOTH directions. Forwards, it builds a series, but differentiating is the last resort: a new series is built from the table, by substitution, product, quotient and composition, and its interval moves with the substitution. Backwards, any series of ff gives every derivative at the centre, f(n)(a)=n! cnf^{(n)}(a) = n!\,c_n. And a series is used only where it EQUALS its function.

The traps named explicitly in the solutions: the lost centre, xnx^n written for (x−a)n(x - a)^n; the n!n! forgotten when a derivative is read from a coefficient; the interval of the table copied after a substitution; a series evaluated outside its interval; the binomial series applied before the constant is factored out; series multiplied coefficient by coefficient; a composition expanded around a quantity that does not tend to 00; an expansion stopped before anything survives the cancellation; and the belief that a convergent Taylor series always converges to its function.

10 corrected exercises • 100 points • 150 minutes

Revision sheet for this chapter → Every MATH 141 chapter →

Course recap

  • • Taylor series of ff at aa: ∑n=0∞f(n)(a)n!(x−a)n\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^n; Maclaurin series: a=0a = 0. If f(x)=∑cn(x−a)nf(x) = \sum c_n(x-a)^n near aa, then cn=f(n)(a)n!c_n = \frac{f^{(n)}(a)}{n!} (uniqueness).
  • • For every xx: ex=∑n≥0xnn!e^x = \sum_{n\ge0}\frac{x^n}{n!}, sin⁡x=∑n≥0(−1)nx2n+1(2n+1)!\sin x = \sum_{n\ge0}\frac{(-1)^n x^{2n+1}}{(2n+1)!}, cos⁡x=∑n≥0(−1)nx2n(2n)!\cos x = \sum_{n\ge0}\frac{(-1)^n x^{2n}}{(2n)!}.
  • • 11−x=∑n≥0xn\frac{1}{1-x} = \sum_{n\ge0}x^n on (−1,1)(-1, 1); ln⁡(1+x)=∑n≥1(−1)n−1xnn\ln(1+x) = \sum_{n\ge1}\frac{(-1)^{n-1}x^n}{n} on (−1,1](-1, 1]; arctan⁡x=∑n≥0(−1)nx2n+12n+1\arctan x = \sum_{n\ge0}\frac{(-1)^n x^{2n+1}}{2n+1} on [−1,1][-1, 1] (the last two obtained in the power series chapter by integrating the geometric series).
  • • Binomial series: (1+x)k=∑n≥0(kn)xn(1+x)^k = \sum_{n\ge0}\binom{k}{n}x^n for ∣x∣<1|x| < 1, with (kn)=k(k−1)⋯(k−n+1)n!\binom{k}{n} = \frac{k(k-1)\cdots(k-n+1)}{n!}.
  • • Substitution u=cxmu = cx^m: the interval ∣u∣<R|u| < R becomes ∣x∣<(R∣c∣)1/m|x| < \left(\frac{R}{|c|}\right)^{1/m}, endpoints rechecked. Product: the coefficient of xnx^n is ∑i=0naibn−i\sum_{i=0}^{n}a_ib_{n-i}.
  • • Backwards: f(n)(a)=n! cnf^{(n)}(a) = n!\,c_n. Limits: expand every piece until a nonzero term survives, to the same degree everywhere.

Part A: the basics (/50)

Exercise 1: Coefficients from the definition: the n-th derivative at a, over n factorial

If ff has derivatives of every order at aa, its Taylor series centred at aa is ∑n=0∞f(n)(a)n!(x−a)n\sum_{n=0}^{\infty}\frac{f^{(n)}(a)}{n!}(x-a)^n, and its Maclaurin series is the case a=0a = 0. The method from the definition: differentiate until a pattern appears, prove the pattern, evaluate AT aa, divide by n!n!, and keep the powers of (x−a)(x - a), never of xx.

This is the route of last resort, used when no series of the table can be adapted. It is still the one an exam asks for when it says from the definition.

  • a) Find the Taylor series of exe^x centred at a=3a = 3 from the definition, then check it with ex=e3ex−3e^x = e^3 e^{x-3}.
  • b) Find the Taylor series of ln⁡x\ln x centred at a=2a = 2: find f(n)(x)f^{(n)}(x) for n≥1n \ge 1, prove the pattern, and write the general term.
  • c) Find the radius and the interval of convergence of the series of b), and check the series against the table entry for ln⁡(1+u)\ln(1 + u).
  • d) Find the first four nonzero terms of the Taylor series of cos⁡x\cos x centred at a=π3a = \frac{\pi}{3}.
  • e) Find the Taylor series of p(x)=x3−2xp(x) = x^3 - 2x centred at a=1a = 1. Why is it finite, and why does it equal p(x)p(x) for every xx?
Show the solution

Answers

  • a) ex=∑n=0∞e3n!(x−3)ne^x = \sum_{n=0}^{\infty}\frac{e^3}{n!}(x-3)^n, for every xx
  • b) ln⁡x=ln⁡2+∑n=1∞(−1)n−1n 2n(x−2)n\ln x = \ln 2 + \sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n\,2^n}(x-2)^n
  • c) R=2R = 2, interval (0,4](0, 4]
  • d) 12−32(x−π3)−14(x−π3)2+312(x−π3)3\frac{1}{2} - \frac{\sqrt{3}}{2}\left(x - \frac{\pi}{3}\right) - \frac{1}{4}\left(x - \frac{\pi}{3}\right)^2 + \frac{\sqrt{3}}{12}\left(x - \frac{\pi}{3}\right)^3
  • e) −1+(x−1)+3(x−1)2+(x−1)3-1 + (x-1) + 3(x-1)^2 + (x-1)^3, which expands back to x3−2xx^3 - 2x

a) Every derivative of exe^x is exe^x, so f(n)(3)=e3f^{(n)}(3) = e^3 for every nn and cn=e3n!c_n = \frac{e^3}{n!}. The series is ∑n=0∞e3n!(x−3)n=e3(1+(x−3)+(x−3)22+… )\sum_{n=0}^{\infty}\frac{e^3}{n!}(x-3)^n = e^3\left(1 + (x-3) + \frac{(x-3)^2}{2} + \dots\right). Ratio test: ∣cn+1(x−3)n+1cn(x−3)n∣=∣x−3∣n+1→0<1\left|\frac{c_{n+1}(x-3)^{n+1}}{c_n(x-3)^n}\right| = \frac{|x-3|}{n+1} \to 0 < 1 for every xx, so R=∞R = \infty. Check: ex=e3⋅ex−3e^x = e^3 \cdot e^{x-3}, and putting u=x−3u = x - 3 in the table series eu=∑unn!e^u = \sum\frac{u^n}{n!} gives exactly the same coefficients. Two routes, one series: this is the uniqueness theorem at work, since a function that equals a power series in (x−a)(x - a) near aa can only have f(n)(a)n!\frac{f^{(n)}(a)}{n!} as coefficients. The trap is to write ∑e3n!xn\sum\frac{e^3}{n!}x^n: the centre is lost, and at x=3x = 3 that series would give e3⋅e3e^3 \cdot e^3 instead of e3e^3.

b) f(x)=ln⁡xf(x) = \ln x, f′(x)=x−1f'(x) = x^{-1}, f′′(x)=−x−2f''(x) = -x^{-2}, f′′′(x)=2x−3f'''(x) = 2x^{-3}, f(4)(x)=−6x−4f^{(4)}(x) = -6x^{-4}. Pattern: f(n)(x)=(−1)n−1(n−1)! x−nf^{(n)}(x) = (-1)^{n-1}(n-1)!\,x^{-n} for n≥1n \ge 1. Proof by induction: true for n=1n = 1; if true for nn, then f(n+1)(x)=(−1)n−1(n−1)!⋅(−n)x−n−1=(−1)nn! x−(n+1)f^{(n+1)}(x) = (-1)^{n-1}(n-1)! \cdot (-n)x^{-n-1} = (-1)^n n!\,x^{-(n+1)}, which is the formula for n+1n + 1. At a=2a = 2: f(n)(2)=(−1)n−1(n−1)!2nf^{(n)}(2) = \frac{(-1)^{n-1}(n-1)!}{2^n}, so cn=(−1)n−1(n−1)!2n n!=(−1)n−1n 2nc_n = \frac{(-1)^{n-1}(n-1)!}{2^n\,n!} = \frac{(-1)^{n-1}}{n\,2^n}, since n!=n⋅(n−1)!n! = n \cdot (n-1)!. The term n=0n = 0 is f(2)=ln⁡2f(2) = \ln 2 and is written apart, because the pattern only holds from n=1n = 1 (at n=0n = 0 it would contain (−1)!(-1)!). So ln⁡x=ln⁡2+x−22−(x−2)28+(x−2)324−…\ln x = \ln 2 + \frac{x-2}{2} - \frac{(x-2)^2}{8} + \frac{(x-2)^3}{24} - \dots Check of c2c_2: f′′(2)=−14f''(2) = -\frac{1}{4}, divided by 2!=22! = 2, gives −18-\frac{1}{8}.

c) Ratio test on an=(−1)n−1(x−2)nn 2na_n = \frac{(-1)^{n-1}(x-2)^n}{n\,2^n}: ∣an+1an∣=∣x−2∣2⋅nn+1→∣x−2∣2\left|\frac{a_{n+1}}{a_n}\right| = \frac{|x-2|}{2} \cdot \frac{n}{n+1} \to \frac{|x-2|}{2}. Convergence for ∣x−2∣<2|x - 2| < 2, divergence for ∣x−2∣>2|x - 2| > 2: R=2R = 2. Each endpoint gets its own test. At x=4x = 4: (x−2)n2n=1\frac{(x-2)^n}{2^n} = 1 and the series is ∑(−1)n−1n\sum\frac{(-1)^{n-1}}{n}, which converges by the alternating series test. At x=0x = 0: (−2)n2n=(−1)n\frac{(-2)^n}{2^n} = (-1)^n, the terms are (−1)n−1(−1)nn=−1n\frac{(-1)^{n-1}(-1)^n}{n} = -\frac{1}{n}, minus the harmonic series, which diverges. Interval (0,4](0, 4]. Table check: ln⁡x=ln⁡(2(1+x−22))=ln⁡2+ln⁡(1+u)\ln x = \ln\left(2\left(1 + \frac{x-2}{2}\right)\right) = \ln 2 + \ln(1 + u) with u=x−22u = \frac{x-2}{2}, and ln⁡(1+u)=∑n≥1(−1)n−1unn\ln(1+u) = \sum_{n\ge1}\frac{(-1)^{n-1}u^n}{n} for −1<u≤1-1 < u \le 1, that is 0<x≤40 < x \le 4: same coefficients, same interval, and the table GUARANTEES that the series equals ln⁡x\ln x there. The radius is the distance from the centre 22 to 00, where ln⁡\ln stops existing; the series cannot pass x=4x = 4 either, although ln⁡\ln is smooth at 55, because a power series converges on an interval symmetric about its centre.

d) The derivatives of cos⁡\cos cycle: cos⁡x\cos x, −sin⁡x-\sin x, −cos⁡x-\cos x, sin⁡x\sin x, then cos⁡x\cos x again. At π3\frac{\pi}{3}: 12\frac{1}{2}, −32-\frac{\sqrt{3}}{2}, −12-\frac{1}{2}, 32\frac{\sqrt{3}}{2}. Dividing by 0!,1!,2!,3!0!, 1!, 2!, 3!: c0=12c_0 = \frac{1}{2}, c1=−32c_1 = -\frac{\sqrt{3}}{2}, c2=−14c_2 = -\frac{1}{4}, c3=312c_3 = \frac{\sqrt{3}}{12}. None is zero, so the first four nonzero terms are the terms of degree 00 to 33: 12−32(x−π3)−14(x−π3)2+312(x−π3)3\frac{1}{2} - \frac{\sqrt{3}}{2}\left(x - \frac{\pi}{3}\right) - \frac{1}{4}\left(x - \frac{\pi}{3}\right)^2 + \frac{\sqrt{3}}{12}\left(x - \frac{\pi}{3}\right)^3. The trap is to copy the Maclaurin pattern of cos⁡\cos, which has only even powers because sin⁡0=0\sin 0 = 0: around π3\frac{\pi}{3} the odd derivatives do not vanish, and the copy that writes 12−14(x−π3)2+…\frac{1}{2} - \frac{1}{4}\left(x - \frac{\pi}{3}\right)^2 + \dots loses half the terms. Check with the addition formula, u=x−π3u = x - \frac{\pi}{3}: cos⁡x=12cos⁡u−32sin⁡u=12(1−u22)−32(u−u36)+…\cos x = \frac{1}{2}\cos u - \frac{\sqrt{3}}{2}\sin u = \frac{1}{2}\left(1 - \frac{u^2}{2}\right) - \frac{\sqrt{3}}{2}\left(u - \frac{u^3}{6}\right) + \dots, the same four terms.

e) p(1)=−1p(1) = -1; p′(x)=3x2−2p'(x) = 3x^2 - 2, p′(1)=1p'(1) = 1; p′′(x)=6xp''(x) = 6x, p′′(1)=6p''(1) = 6, so c2=62!=3c_2 = \frac{6}{2!} = 3; p′′′(x)=6p'''(x) = 6, c3=63!=1c_3 = \frac{6}{3!} = 1; and p(n)=0p^{(n)} = 0 for n≥4n \ge 4. The series is −1+(x−1)+3(x−1)2+(x−1)3-1 + (x-1) + 3(x-1)^2 + (x-1)^3: every coefficient from n=4n = 4 on is 00, so the sum is finite and there is nothing to converge. Expanding: (x−1)3+3(x−1)2+(x−1)−1=x3−3x2+3x−1+3x2−6x+3+x−1−1=x3−2x(x-1)^3 + 3(x-1)^2 + (x-1) - 1 = x^3 - 3x^2 + 3x - 1 + 3x^2 - 6x + 3 + x - 1 - 1 = x^3 - 2x. The Taylor series of a polynomial is the same polynomial, rewritten in powers of (x−a)(x - a), and it is valid for every xx. The coefficient formula does not know the difference between a finite and an infinite series.

Exercise 2: The table, and substitution into it: the interval moves with the variable

No derivative is computed in this exercise. Every series comes from the table of the reminder, by substituting an expression for the variable and then multiplying by a power of xx. What the substitution changes is the INTERVAL: a table series valid for uu in some interval becomes valid for the xx that put uu in that interval, endpoints included or excluded exactly as in the table.

Recall eu=∑n≥0unn!e^u = \sum_{n\ge0}\frac{u^n}{n!} and cos⁡u=∑n≥0(−1)nu2n(2n)!\cos u = \sum_{n\ge0}\frac{(-1)^n u^{2n}}{(2n)!} for every uu, ln⁡(1+u)=∑n≥1(−1)n−1unn\ln(1+u) = \sum_{n\ge1}\frac{(-1)^{n-1}u^n}{n} for −1<u≤1-1 < u \le 1, arctan⁡u=∑n≥0(−1)nu2n+12n+1\arctan u = \sum_{n\ge0}\frac{(-1)^n u^{2n+1}}{2n+1} for −1≤u≤1-1 \le u \le 1.

  • a) Find the Maclaurin series of xe−x2x e^{-x^2}, its general term and its radius of convergence.
  • b) Find the Maclaurin series of ln⁡(1+2x)\ln(1 + 2x) and its interval of convergence, endpoints included.
  • c) Find the Maclaurin series of x2arctan⁡(x3)x^2\arctan(x^3) and its interval of convergence.
  • d) Find a power series equal to cos⁡x\cos\sqrt{x} for x≥0x \ge 0. Why is it a series in whole powers of xx, although x\sqrt{x} is not?
  • e) Find the exact sums of ∑n=0∞(−1)nπ2n9n(2n)!\sum_{n=0}^{\infty}\frac{(-1)^n\pi^{2n}}{9^n(2n)!} and of ∑n=0∞(−1)n(2n+1)3n\sum_{n=0}^{\infty}\frac{(-1)^n}{(2n+1)3^n}.
Show the solution

Answers

  • a) ∑n=0∞(−1)nx2n+1n!\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{n!}, R=∞R = \infty
  • b) ∑n=1∞(−1)n−12nxnn\sum_{n=1}^{\infty}\frac{(-1)^{n-1}2^n x^n}{n} on (−12,12]\left(-\frac{1}{2}, \frac{1}{2}\right]
  • c) ∑n=0∞(−1)nx6n+52n+1\sum_{n=0}^{\infty}\frac{(-1)^n x^{6n+5}}{2n+1} on [−1,1][-1, 1]
  • d) ∑n=0∞(−1)nxn(2n)!\sum_{n=0}^{\infty}\frac{(-1)^n x^n}{(2n)!}: cos⁡\cos has only even powers, and (x)2n=xn(\sqrt{x})^{2n} = x^n
  • e) cos⁡π3=12\cos\frac{\pi}{3} = \frac{1}{2} and 3arctan⁡13=π36\sqrt{3}\arctan\frac{1}{\sqrt{3}} = \frac{\pi\sqrt{3}}{6}

a) eu=∑unn!e^u = \sum\frac{u^n}{n!} with u=−x2u = -x^2: un=(−x2)n=(−1)nx2nu^n = (-x^2)^n = (-1)^n x^{2n}, so e−x2=∑n≥0(−1)nx2nn!e^{-x^2} = \sum_{n\ge0}\frac{(-1)^n x^{2n}}{n!}. Multiplying by xx: xe−x2=∑n≥0(−1)nx2n+1n!=x−x3+x52−x76+…x e^{-x^2} = \sum_{n\ge0}\frac{(-1)^n x^{2n+1}}{n!} = x - x^3 + \frac{x^5}{2} - \frac{x^7}{6} + \dots The table series holds for every uu, and u=−x2u = -x^2 is defined for every xx, so R=∞R = \infty. The traps: writing −x2n-x^{2n}, which loses the alternation, or (2n)!(2n)! in the denominator, which confuses the result with a cosine. The substitution replaces uu by the WHOLE expression −x2-x^2, in parentheses, and leaves the n!n! alone.

b) With u=2xu = 2x: ln⁡(1+2x)=∑n≥1(−1)n−1(2x)nn=∑n≥1(−1)n−12nxnn=2x−2x2+8x33−4x4+…\ln(1 + 2x) = \sum_{n\ge1}\frac{(-1)^{n-1}(2x)^n}{n} = \sum_{n\ge1}\frac{(-1)^{n-1}2^n x^n}{n} = 2x - 2x^2 + \frac{8x^3}{3} - 4x^4 + \dots The table requires −1<u≤1-1 < u \le 1, that is −1<2x≤1-1 < 2x \le 1, so −12<x≤12-\frac{1}{2} < x \le \frac{1}{2}. The endpoints are inherited: at x=12x = \frac{1}{2}, u=1u = 1, the series is the alternating harmonic series, which converges by the alternating series test; at x=−12x = -\frac{1}{2}, u=−1u = -1, it is −∑1n-\sum\frac{1}{n} and diverges. Interval (−12,12]\left(-\frac{1}{2}, \frac{1}{2}\right]. The trap is to copy the interval (−1,1](-1, 1] of the table: at x=1x = 1 the terms 2nn\frac{2^n}{n} do not even tend to 00. The factor 2n2^n in the coefficients is what shrinks the radius, as the ratio test confirms: 2n+1∣x∣n+1/(n+1)2n∣x∣n/n→2∣x∣\frac{2^{n+1}|x|^{n+1}/(n+1)}{2^n|x|^n/n} \to 2|x|.

c) With u=x3u = x^3: u2n+1=(x3)2n+1=x6n+3u^{2n+1} = (x^3)^{2n+1} = x^{6n+3}, so arctan⁡(x3)=∑n≥0(−1)nx6n+32n+1\arctan(x^3) = \sum_{n\ge0}\frac{(-1)^n x^{6n+3}}{2n+1} and x2arctan⁡(x3)=∑n≥0(−1)nx6n+52n+1=x5−x113+x175−…x^2\arctan(x^3) = \sum_{n\ge0}\frac{(-1)^n x^{6n+5}}{2n+1} = x^5 - \frac{x^{11}}{3} + \frac{x^{17}}{5} - \dots Exponents MULTIPLY under a power: (x3)2n+1(x^3)^{2n+1} is x6n+3x^{6n+3}, not x2n+4x^{2n+4}. Quick check on the first term: arctan⁡(x3)\arctan(x^3) starts like x3x^3, and x2⋅x3=x5x^2 \cdot x^3 = x^5. Interval: ∣x3∣≤1|x^3| \le 1 exactly when ∣x∣≤1|x| \le 1, so [−1,1][-1, 1], both endpoints included because the arctangent series converges at u=±1u = \pm1 (alternating series with 12n+1\frac{1}{2n+1} decreasing to 00).

d) With u=xu = \sqrt{x}, x≥0x \ge 0: u2n=(x)2n=xnu^{2n} = (\sqrt{x})^{2n} = x^n, so cos⁡x=∑n≥0(−1)nxn(2n)!=1−x2+x224−x3720+…\cos\sqrt{x} = \sum_{n\ge0}\frac{(-1)^n x^n}{(2n)!} = 1 - \frac{x}{2} + \frac{x^2}{24} - \frac{x^3}{720} + \dots, with R=∞R = \infty. The square root disappears because the cosine series contains only EVEN powers of uu, and an even power of x\sqrt{x} is a whole power of xx. With sin⁡x=x−xx6+…\sin\sqrt{x} = \sqrt{x} - \frac{x\sqrt{x}}{6} + \dots it would not happen: the odd powers keep a x\sqrt{x}. One more caution: the series converges for x<0x < 0 too, but cos⁡x\cos\sqrt{x} has no meaning there. The equality is claimed only where the substitution was made, here x≥0x \ge 0.

e) First sum: π2n9n=π2n32n=(π3)2n\frac{\pi^{2n}}{9^n} = \frac{\pi^{2n}}{3^{2n}} = \left(\frac{\pi}{3}\right)^{2n}, so the sum is ∑(−1)n(2n)!(π3)2n=cos⁡π3=12\sum\frac{(-1)^n}{(2n)!}\left(\frac{\pi}{3}\right)^{2n} = \cos\frac{\pi}{3} = \frac{1}{2}. The gesture: identify the table series by the DENOMINATOR, here (2n)!(2n)! with alternating signs and even powers, which is the cosine; then gather everything else into one power of one number. Second sum: the denominator 2n+12n + 1 with alternating signs points to the arctangent, which needs u2n+1u^{2n+1}. With u=13u = \frac{1}{\sqrt{3}}, u2n+1=13n3u^{2n+1} = \frac{1}{3^n\sqrt{3}}, so ∑(−1)n(2n+1)3n=3∑(−1)nu2n+12n+1=3arctan⁡13=3⋅π6=π36\sum\frac{(-1)^n}{(2n+1)3^n} = \sqrt{3}\sum\frac{(-1)^n u^{2n+1}}{2n+1} = \sqrt{3}\arctan\frac{1}{\sqrt{3}} = \sqrt{3} \cdot \frac{\pi}{6} = \frac{\pi\sqrt{3}}{6}, legitimate because u=13u = \frac{1}{\sqrt{3}} lies in [−1,1][-1, 1]. Plausibility: 3.14×1.736≈0.91\frac{3.14 \times 1.73}{6} \approx 0.91, and the first terms give 1−19+145≈0.911 - \frac{1}{9} + \frac{1}{45} \approx 0.91.

Exercise 3: The binomial series: 1 + x to a power that is not a whole number

For every real kk and ∣x∣<1|x| < 1: (1+x)k=∑n=0∞(kn)xn(1 + x)^k = \sum_{n=0}^{\infty}\binom{k}{n}x^n, where (k0)=1\binom{k}{0} = 1 and (kn)=k(k−1)(k−2)⋯(k−n+1)n!\binom{k}{n} = \frac{k(k-1)(k-2)\cdots(k-n+1)}{n!}, a product of exactly nn factors on top. When kk is a positive integer this is the binomial theorem; otherwise the series never stops.

The series is for (1+x)k(1 + x)^k: the constant inside the parentheses must be 11 before anything is expanded.

  • a) Compute (1/23)\binom{1/2}{3}. Then show that (−2n)=(−1)n(n+1)\binom{-2}{n} = (-1)^n(n+1) and deduce the Maclaurin series of 1(1+x)2\frac{1}{(1+x)^2}.
  • b) Write the Maclaurin series of 1+x\sqrt{1 + x} up to the term in x3x^3, and check it by squaring.
  • c) Find the first three terms of the Maclaurin series of 8+x3\sqrt[3]{8 + x} and its radius of convergence.
  • d) Find the Maclaurin series of 11−x2\frac{1}{\sqrt{1 - x^2}}, general term included, and deduce the Maclaurin series of arcsin⁡x\arcsin x up to x7x^7.
  • e) Show that the binomial series stops for k=4k = 4 and is then valid for every xx, while for k=12k = \frac{1}{2} its radius is exactly 11.
Show the solution

Answers

  • a) (1/23)=116\binom{1/2}{3} = \frac{1}{16}; 1(1+x)2=∑n=0∞(−1)n(n+1)xn\frac{1}{(1+x)^2} = \sum_{n=0}^{\infty}(-1)^n(n+1)x^n for ∣x∣<1|x| < 1
  • b) 1+x2−x28+x316−…1 + \frac{x}{2} - \frac{x^2}{8} + \frac{x^3}{16} - \dots; its square is 1+x+0x2+0x3+…1 + x + 0x^2 + 0x^3 + \dots
  • c) 2+x12−x2288+…2 + \frac{x}{12} - \frac{x^2}{288} + \dots, R=8R = 8
  • d) ∑n=0∞(2n)!4n(n!)2x2n\sum_{n=0}^{\infty}\frac{(2n)!}{4^n(n!)^2}x^{2n}; arcsin⁡x=x+x36+3x540+5x7112+…\arcsin x = x + \frac{x^3}{6} + \frac{3x^5}{40} + \frac{5x^7}{112} + \dots
  • e) (4n)=0\binom{4}{n} = 0 for n≥5n \ge 5; for k=12k = \frac{1}{2} the ratio ∣k−n∣n+1∣x∣→∣x∣\frac{|k-n|}{n+1}|x| \to |x|, so R=1R = 1.

a) (1/23)=12(12−1)(12−2)3!=12⋅(−12)⋅(−32)6=3/86=116\binom{1/2}{3} = \frac{\frac{1}{2}\left(\frac{1}{2} - 1\right)\left(\frac{1}{2} - 2\right)}{3!} = \frac{\frac{1}{2} \cdot \left(-\frac{1}{2}\right) \cdot \left(-\frac{3}{2}\right)}{6} = \frac{3/8}{6} = \frac{1}{16}. Three factors on top, kk, k−1k - 1, k−2k - 2, as many as n=3n = 3; the usual slip is a fourth factor k−3k - 3. Next, (−2n)=(−2)(−3)⋯(−2−n+1)n!=(−1)n⋅2⋅3⋯(n+1)n!=(−1)n(n+1)!n!=(−1)n(n+1)\binom{-2}{n} = \frac{(-2)(-3)\cdots(-2-n+1)}{n!} = \frac{(-1)^n \cdot 2 \cdot 3\cdots(n+1)}{n!} = (-1)^n\frac{(n+1)!}{n!} = (-1)^n(n+1). So 1(1+x)2=(1+x)−2=∑n≥0(−1)n(n+1)xn=1−2x+3x2−4x3+…\frac{1}{(1+x)^2} = (1+x)^{-2} = \sum_{n\ge0}(-1)^n(n+1)x^n = 1 - 2x + 3x^2 - 4x^3 + \dots for ∣x∣<1|x| < 1. It is the series obtained by differentiating 11+x=∑(−x)n\frac{1}{1+x} = \sum(-x)^n and changing the sign: two routes, one series.

b) (1/20)=1\binom{1/2}{0} = 1, (1/21)=12\binom{1/2}{1} = \frac{1}{2}, (1/22)=12⋅(−12)2=−18\binom{1/2}{2} = \frac{\frac{1}{2} \cdot \left(-\frac{1}{2}\right)}{2} = -\frac{1}{8}, (1/23)=116\binom{1/2}{3} = \frac{1}{16}. So 1+x=1+x2−x28+x316−…\sqrt{1 + x} = 1 + \frac{x}{2} - \frac{x^2}{8} + \frac{x^3}{16} - \dots for ∣x∣<1|x| < 1. Check by squaring, collecting the coefficients of each degree: x0x^0: 11; x1x^1: 2⋅12=12 \cdot \frac{1}{2} = 1; x2x^2: 2(−18)+(12)2=02\left(-\frac{1}{8}\right) + \left(\frac{1}{2}\right)^2 = 0; x3x^3: 2⋅116+2⋅12⋅(−18)=18−18=02 \cdot \frac{1}{16} + 2 \cdot \frac{1}{2} \cdot \left(-\frac{1}{8}\right) = \frac{1}{8} - \frac{1}{8} = 0. The square is 1+x1 + x up to degree 33, as it must be. The alternating signs from x2x^2 on come from the factors k−1,k−2,…k - 1, k - 2, \dots, all negative when k=12k = \frac{1}{2}.

c) Factor first: (8+x)1/3=81/3(1+x8)1/3=2(1+u)1/3(8 + x)^{1/3} = 8^{1/3}\left(1 + \frac{x}{8}\right)^{1/3} = 2(1 + u)^{1/3} with u=x8u = \frac{x}{8}. With (1/31)=13\binom{1/3}{1} = \frac{1}{3} and (1/32)=13⋅(−23)2=−19\binom{1/3}{2} = \frac{\frac{1}{3} \cdot \left(-\frac{2}{3}\right)}{2} = -\frac{1}{9}: 2(1+13⋅x8−19⋅x264+… )=2+x12−x2288+…2\left(1 + \frac{1}{3} \cdot \frac{x}{8} - \frac{1}{9} \cdot \frac{x^2}{64} + \dots\right) = 2 + \frac{x}{12} - \frac{x^2}{288} + \dots Valid for ∣u∣<1|u| < 1, that is ∣x∣<8|x| < 8: R=8R = 8. The trap is to apply the binomial coefficients to (8+x)1/3(8 + x)^{1/3} directly and write 2+x3+…2 + \frac{x}{3} + \dots The first-derivative test catches it at once: f′(x)=13(8+x)−2/3f'(x) = \frac{1}{3}(8 + x)^{-2/3}, so f′(0)=13⋅14=112f'(0) = \frac{1}{3} \cdot \frac{1}{4} = \frac{1}{12}, which must be c1c_1.

d) 11−x2=(1+u)−1/2\frac{1}{\sqrt{1 - x^2}} = (1 + u)^{-1/2} with u=−x2u = -x^2. Then (−1/2n)(−1)n=12⋅32⋯2n−12n!=1⋅3⋯(2n−1)2n n!\binom{-1/2}{n}(-1)^n = \frac{\frac{1}{2} \cdot \frac{3}{2}\cdots\frac{2n-1}{2}}{n!} = \frac{1 \cdot 3 \cdots (2n-1)}{2^n\,n!}, and multiplying top and bottom by 2⋅4⋯(2n)=2nn!2 \cdot 4 \cdots (2n) = 2^n n! gives (2n)!4n(n!)2\frac{(2n)!}{4^n(n!)^2}. So 11−x2=∑n≥0(2n)!4n(n!)2x2n=1+x22+3x48+5x616+…\frac{1}{\sqrt{1 - x^2}} = \sum_{n\ge0}\frac{(2n)!}{4^n(n!)^2}x^{2n} = 1 + \frac{x^2}{2} + \frac{3x^4}{8} + \frac{5x^6}{16} + \dots for ∣x∣<1|x| < 1. Every coefficient is positive: the sign (−1)n(-1)^n of the binomial coefficient and the sign (−1)n(-1)^n of unu^n cancel. Since arcsin⁡x=∫0xdt1−t2\arcsin x = \int_0^x\frac{dt}{\sqrt{1 - t^2}} (with arcsin⁡0=0\arcsin 0 = 0), integrating term by term inside the radius: arcsin⁡x=x+x36+3x540+5x7112+…\arcsin x = x + \frac{x^3}{6} + \frac{3x^5}{40} + \frac{5x^7}{112} + \dots, general term (2n)!4n(n!)2(2n+1)x2n+1\frac{(2n)!}{4^n(n!)^2(2n+1)}x^{2n+1}. Check: arcsin⁡(sin⁡x)=x\arcsin(\sin x) = x, and (x−x36)+x36+⋯=x\left(x - \frac{x^3}{6}\right) + \frac{x^3}{6} + \dots = x up to degree 33.

e) For k=4k = 4, (4n)\binom{4}{n} contains the factor 4−4=04 - 4 = 0 as soon as n≥5n \ge 5, so every coefficient from n=5n = 5 on vanishes and (1+x)4=1+4x+6x2+4x3+x4(1 + x)^4 = 1 + 4x + 6x^2 + 4x^3 + x^4: a finite sum, valid for every xx. For k=12k = \frac{1}{2} no factor k−jk - j is ever 00, and (kn+1)(kn)=k−nn+1\frac{\binom{k}{n+1}}{\binom{k}{n}} = \frac{k - n}{n + 1}, so the ratio test gives ∣k−nn+1∣∣x∣→∣x∣\left|\frac{k - n}{n + 1}\right||x| \to |x|: convergence for ∣x∣<1|x| < 1, divergence for ∣x∣>1|x| > 1, R=1R = 1 exactly. The same computation gives R=1R = 1 for every kk that is not a nonnegative integer. The radius is the distance from 00 to −1-1, where (1+x)k(1 + x)^k stops being differentiable (or defined), even though nothing happens to 1+x\sqrt{1 + x} at x=1x = 1.

Exercise 4: Products, quotients and compositions: build the series, never differentiate five times

Series multiply, divide and compose like polynomials, with two rules. In a PRODUCT, the coefficient of xnx^n collects every pair of degrees that add up to nn: (∑aixi)(∑bjxj)=∑n(∑i=0naibn−i)xn\left(\sum a_i x^i\right)\left(\sum b_j x^j\right) = \sum_n\left(\sum_{i=0}^{n}a_i b_{n-i}\right)x^n. In a COMPOSITION f(g(x))f(g(x)), the inner series must tend to 00, so that its powers start at higher and higher degrees and only finitely many of them reach the degree asked for.

Asked up to x4x^4, expand every factor up to x4x^4, no further, and drop every product of degree above 44.

  • a) Find the Maclaurin series of exsin⁡xe^x\sin x up to x5x^5.
  • b) Find the Maclaurin series of tan⁡x\tan x up to x5x^5 by dividing the series of sin⁡x\sin x by that of cos⁡x\cos x.
  • c) Find the Maclaurin series of esin⁡xe^{\sin x} up to x4x^4.
  • d) Find the Maclaurin series of ln⁡(cos⁡x)\ln(\cos x) up to x4x^4.
  • e) Check d) by integrating the series of −tan⁡x-\tan x found in b), then give the fourth derivative of ln⁡(cos⁡x)\ln(\cos x) at 00.
Show the solution

Answers

  • a) x+x2+x33−x530x + x^2 + \frac{x^3}{3} - \frac{x^5}{30} (the x4x^4 coefficient is 00)
  • b) x+x33+2x515x + \frac{x^3}{3} + \frac{2x^5}{15}
  • c) 1+x+x22−x481 + x + \frac{x^2}{2} - \frac{x^4}{8} (the x3x^3 coefficient is 00)
  • d) −x22−x412-\frac{x^2}{2} - \frac{x^4}{12}
  • e) −∫0x(t+t33)dt=−x22−x412-\int_0^x\left(t + \frac{t^3}{3}\right)dt = -\frac{x^2}{2} - \frac{x^4}{12}; the fourth derivative is −2-2

a) ex=1+x+x22+x36+x424+…e^x = 1 + x + \frac{x^2}{2} + \frac{x^3}{6} + \frac{x^4}{24} + \dots and sin⁡x=x−x36+x5120−…\sin x = x - \frac{x^3}{6} + \frac{x^5}{120} - \dots Collecting: x1x^1: 1⋅1=11 \cdot 1 = 1. x2x^2: x⋅xx \cdot x, coefficient 11. x3x^3: 1⋅(−16)+12⋅1=131 \cdot \left(-\frac{1}{6}\right) + \frac{1}{2} \cdot 1 = \frac{1}{3}. x4x^4: x⋅(−x36)+x36⋅xx \cdot \left(-\frac{x^3}{6}\right) + \frac{x^3}{6} \cdot x, coefficient −16+16=0-\frac{1}{6} + \frac{1}{6} = 0. x5x^5: 1120+12(−16)+124=1−10+5120=−130\frac{1}{120} + \frac{1}{2}\left(-\frac{1}{6}\right) + \frac{1}{24} = \frac{1 - 10 + 5}{120} = -\frac{1}{30}. So exsin⁡x=x+x2+x33−x530+…e^x\sin x = x + x^2 + \frac{x^3}{3} - \frac{x^5}{30} + \dots The zero coefficient of x4x^4 is not an accident to be doubted: it says that the fourth derivative of exsin⁡xe^x\sin x at 00 is 00, which differentiating four times by the product rule confirms, after a page.

b) tan⁡x\tan x is odd, so write tan⁡x=a1x+a3x3+a5x5+…\tan x = a_1x + a_3x^3 + a_5x^5 + \dots and require (a1x+a3x3+a5x5)(1−x22+x424)=x−x36+x5120\left(a_1x + a_3x^3 + a_5x^5\right)\left(1 - \frac{x^2}{2} + \frac{x^4}{24}\right) = x - \frac{x^3}{6} + \frac{x^5}{120}. Degree 11: a1=1a_1 = 1. Degree 33: a3−a12=−16a_3 - \frac{a_1}{2} = -\frac{1}{6}, so a3=13a_3 = \frac{1}{3}. Degree 55: a5−a32+a124=1120a_5 - \frac{a_3}{2} + \frac{a_1}{24} = \frac{1}{120}, so a5=1120+16−124=1+20−5120=215a_5 = \frac{1}{120} + \frac{1}{6} - \frac{1}{24} = \frac{1 + 20 - 5}{120} = \frac{2}{15}. So tan⁡x=x+x33+2x515+…\tan x = x + \frac{x^3}{3} + \frac{2x^5}{15} + \dots Writing the unknown series and matching coefficients IS the long division, and it is less error-prone. The trap is to divide coefficient by coefficient, −1/6−1/2=13\frac{-1/6}{-1/2} = \frac{1}{3} for x3x^3 by luck, then 1/1201/24=15\frac{1/120}{1/24} = \frac{1}{5} for x5x^5, which is false: a quotient of series is not the quotient of the coefficients.

c) The inner function u=sin⁡x=x−x36+…u = \sin x = x - \frac{x^3}{6} + \dots tends to 00, so eu=1+u+u22+u36+u424+…e^u = 1 + u + \frac{u^2}{2} + \frac{u^3}{6} + \frac{u^4}{24} + \dots may be used, with u2=x2−x43+…u^2 = x^2 - \frac{x^4}{3} + \dots, u3=x3+…u^3 = x^3 + \dots (next term of degree 55), u4=x4+…u^4 = x^4 + \dots, and u5u^5 of degree 55, dropped. Sum: 1+(x−x36)+12(x2−x43)+x36+x424=1+x+x22+0⋅x3−x481 + \left(x - \frac{x^3}{6}\right) + \frac{1}{2}\left(x^2 - \frac{x^4}{3}\right) + \frac{x^3}{6} + \frac{x^4}{24} = 1 + x + \frac{x^2}{2} + 0 \cdot x^3 - \frac{x^4}{8}. The trap is to replace sin⁡x\sin x by xx too early: that gives exe^x, with a wrong x36\frac{x^3}{6} and a wrong x424\frac{x^4}{24}. Each power of uu must be expanded to degree 44 before the terms are added. Direct check of the 00: f′=cos⁡x esin⁡xf' = \cos x\,e^{\sin x}, f′′=(cos⁡2x−sin⁡x)esin⁡xf'' = \left(\cos^2 x - \sin x\right)e^{\sin x}, f′′′=(−2sin⁡xcos⁡x−cos⁡x+cos⁡3x−sin⁡xcos⁡x)esin⁡xf''' = \left(-2\sin x\cos x - \cos x + \cos^3 x - \sin x\cos x\right)e^{\sin x}, and at 00 this is (−1+1)e0=0(-1 + 1)e^0 = 0.

d) ln⁡(1+u)\ln(1 + u) needs u→0u \to 0, and cos⁡x→1\cos x \to 1: so write cos⁡x=1+u\cos x = 1 + u with u=−x22+x424−…u = -\frac{x^2}{2} + \frac{x^4}{24} - \dots, which does tend to 00. Then ln⁡(cos⁡x)=u−u22+u33−…\ln(\cos x) = u - \frac{u^2}{2} + \frac{u^3}{3} - \dots, with u2=x44+…u^2 = \frac{x^4}{4} + \dots and u3u^3 of degree 66, dropped. So ln⁡(cos⁡x)=−x22+x424−x48+⋯=−x22−x412+…\ln(\cos x) = -\frac{x^2}{2} + \frac{x^4}{24} - \frac{x^4}{8} + \dots = -\frac{x^2}{2} - \frac{x^4}{12} + \dots The trap is to put u=cos⁡xu = \cos x itself into ln⁡(1+u)\ln(1 + u): ln⁡(1+cos⁡x)\ln(1 + \cos x) is a different function, and even ln⁡(cos⁡x)\ln(\cos x) read as ln⁡(1+(cos⁡x−1))\ln(1 + (\cos x - 1)) only works because cos⁡x−1\cos x - 1 is small. No constant term: ln⁡(cos⁡0)=ln⁡1=0\ln(\cos 0) = \ln 1 = 0, a first check. The function is even, and so is the series.

e) ddxln⁡(cos⁡x)=−sin⁡xcos⁡x=−tan⁡x\frac{d}{dx}\ln(\cos x) = \frac{-\sin x}{\cos x} = -\tan x, so ln⁡(cos⁡x)=ln⁡(cos⁡0)−∫0xtan⁡t dt=−∫0x(t+t33+… )dt=−x22−x412−…\ln(\cos x) = \ln(\cos 0) - \int_0^x\tan t\,dt = -\int_0^x\left(t + \frac{t^3}{3} + \dots\right)dt = -\frac{x^2}{2} - \frac{x^4}{12} - \dots, term-by-term integration being valid inside the radius. Same result as d) by an independent route. The coefficient of x4x^4 is −112-\frac{1}{12}, so the fourth derivative at 00 is 4!⋅(−112)=−24! \cdot \left(-\frac{1}{12}\right) = -2. By hand: f′=−tan⁡xf' = -\tan x, f′′=−sec⁡2xf'' = -\sec^2 x, f′′′=−2sec⁡2xtan⁡xf''' = -2\sec^2 x\tan x, f(4)=−4sec⁡2xtan⁡2x−2sec⁡4xf^{(4)} = -4\sec^2 x\tan^2 x - 2\sec^4 x, which is −2-2 at 00. Four differentiations against one line of series.

Exercise 5: Reading the series backwards: the n-th derivative is n factorial times the coefficient

The coefficient formula works in both directions. As soon as a series of ff centred at aa is known, by the table or by the constructions of Exercise 4, every derivative at the centre is read from it: f(n)(a)=n! cnf^{(n)}(a) = n!\,c_n. This is how an exam asks for f(9)(0)f^{(9)}(0) without anyone differentiating nine times.

The uniqueness theorem is what makes it legitimate: whatever route produced the series, if it equals ff near aa, its coefficients ARE f(n)(a)n!\frac{f^{(n)}(a)}{n!}.

  • a) For f(x)=ex3f(x) = e^{x^3}, find f(9)(0)f^{(9)}(0) and f(10)(0)f^{(10)}(0).
  • b) For f(x)=x2e−xf(x) = x^2e^{-x}, find f(21)(0)f^{(21)}(0).
  • c) Let g(x)=sin⁡xxg(x) = \frac{\sin x}{x} for x≠0x \ne 0 and g(0)=1g(0) = 1. Find g′(0)g'(0), g′′(0)g''(0) and g(4)(0)g^{(4)}(0).
  • d) A function hh has the Taylor series ∑n=0∞n+13n(x−2)n\sum_{n=0}^{\infty}\frac{n+1}{3^n}(x-2)^n at a=2a = 2. Find h(2)h(2), h′(2)h'(2) and h′′′(2)h'''(2).
  • e) A function kk has the Taylor series 4−3(x−1)2+5(x−1)3+…4 - 3(x-1)^2 + 5(x-1)^3 + \dots at a=1a = 1. What does it say about kk at x=1x = 1?
Show the solution

Answers

  • a) f(9)(0)=9!3!=60480f^{(9)}(0) = \frac{9!}{3!} = 60480; f(10)(0)=0f^{(10)}(0) = 0
  • b) f(21)(0)=−21!19!=−420f^{(21)}(0) = -\frac{21!}{19!} = -420
  • c) g′(0)=0g'(0) = 0, g′′(0)=−13g''(0) = -\frac{1}{3}, g(4)(0)=15g^{(4)}(0) = \frac{1}{5}
  • d) h(2)=1h(2) = 1, h′(2)=23h'(2) = \frac{2}{3}, h′′′(2)=89h'''(2) = \frac{8}{9}
  • e) k(1)=4k(1) = 4, k′(1)=0k'(1) = 0, k′′(1)=−6<0k''(1) = -6 < 0: a local maximum of value 44

a) eu=∑unn!e^u = \sum\frac{u^n}{n!} with u=x3u = x^3: ex3=∑n≥0x3nn!e^{x^3} = \sum_{n\ge0}\frac{x^{3n}}{n!}. The power x9x^9 comes from 3n=93n = 9, n=3n = 3: c9=13!=16c_9 = \frac{1}{3!} = \frac{1}{6}. So f(9)(0)=9!⋅16=3628806=60480f^{(9)}(0) = 9! \cdot \frac{1}{6} = \frac{362880}{6} = 60480. The power x10x^{10} would need 3n=103n = 10, which has no whole solution: c10=0c_{10} = 0 and f(10)(0)=0f^{(10)}(0) = 0. Two traps, side by side: answering 16\frac{1}{6}, the coefficient, instead of the derivative, and dividing by 9!9! because the power is 99, when the factorial of the table belongs to n=3n = 3. Differentiating instead: f′=3x2ex3f' = 3x^2e^{x^3}, and the ninth derivative has dozens of terms.

b) e−x=∑m≥0(−1)mxmm!e^{-x} = \sum_{m\ge0}\frac{(-1)^m x^m}{m!}, so x2e−x=∑m≥0(−1)mxm+2m!x^2e^{-x} = \sum_{m\ge0}\frac{(-1)^m x^{m+2}}{m!}. The power x21x^{21} comes from m=19m = 19: c21=(−1)1919!=−119!c_{21} = \frac{(-1)^{19}}{19!} = -\frac{1}{19!}. So f(21)(0)=21!⋅(−119!)=−21⋅20=−420f^{(21)}(0) = 21! \cdot \left(-\frac{1}{19!}\right) = -21 \cdot 20 = -420. The sign comes from (−1)19(-1)^{19}, odd. The factorials cancel down to a small integer, which is why exams choose such pairs: an answer still containing 21!21! signals a slip.

c) For x≠0x \ne 0: sin⁡xx=1x(x−x36+x5120−… )=1−x26+x4120−…\frac{\sin x}{x} = \frac{1}{x}\left(x - \frac{x^3}{6} + \frac{x^5}{120} - \dots\right) = 1 - \frac{x^2}{6} + \frac{x^4}{120} - \dots, and at x=0x = 0 the series gives 1=g(0)1 = g(0). So the series equals gg everywhere and, by uniqueness, it is the Maclaurin series of gg. Then g′(0)=1!⋅0=0g'(0) = 1! \cdot 0 = 0 (no term in xx; gg is even), g′′(0)=2!⋅(−16)=−13g''(0) = 2! \cdot \left(-\frac{1}{6}\right) = -\frac{1}{3} and g(4)(0)=4!⋅1120=15g^{(4)}(0) = 4! \cdot \frac{1}{120} = \frac{1}{5}. By the quotient rule this would be hopeless: the formula sin⁡xx\frac{\sin x}{x} is not defined at 00, so every derivative at 00 would need a limit of a difference quotient. The series settles in one line what the quotient rule cannot even start.

d) Here cn=n+13nc_n = \frac{n+1}{3^n}. At x=2x = 2 only the term n=0n = 0 survives: h(2)=c0=1h(2) = c_0 = 1. Then h′(2)=1! c1=23h'(2) = 1!\,c_1 = \frac{2}{3} and h′′′(2)=3! c3=6⋅427=89h'''(2) = 3!\,c_3 = 6 \cdot \frac{4}{27} = \frac{8}{9}. The traps: forgetting the 3!3! and answering 427\frac{4}{27}, or substituting x=2x = 2 into the coefficients, which are numbers: the variable lives only in (x−2)n(x - 2)^n. Independent check: with u=x−23u = \frac{x-2}{3} the series is ∑(n+1)un=1(1−u)2\sum(n+1)u^n = \frac{1}{(1-u)^2} (part a) of Exercise 3 with −u-u), so h(x)=9(5−x)2h(x) = \frac{9}{(5-x)^2}. Then h(2)=1h(2) = 1, h′(x)=18(5−x)3h'(x) = \frac{18}{(5-x)^3} gives 23\frac{2}{3}, and h′′′(x)=216(5−x)5h'''(x) = \frac{216}{(5-x)^5} gives 216243=89\frac{216}{243} = \frac{8}{9}.

e) c0=4c_0 = 4, c1=0c_1 = 0, c2=−3c_2 = -3, c3=5c_3 = 5. So k(1)=4k(1) = 4, k′(1)=1! c1=0k'(1) = 1!\,c_1 = 0: x=1x = 1 is a critical point. k′′(1)=2! c2=−6<0k''(1) = 2!\,c_2 = -6 < 0: by the second derivative test, kk has a local MAXIMUM at 11, of value 44. The cubic term does not change this: near x=1x = 1, −3(x−1)2-3(x-1)^2 dominates 5(x−1)35(x-1)^3. The usual slip is to read k′′(1)=−3k''(1) = -3 off the coefficient; the sign, and so the conclusion, survive the slip here, but a question asking for k′′(1)k''(1) does not. For the record, k′′′(1)=3!⋅5=30k'''(1) = 3! \cdot 5 = 30.

Part B: problems and reasoning (/50)

Exercise 6: Limits by series: expand until something survives

At a 00\frac{0}{0} form, series do in one line what L'Hôpital's rule does in three rounds: replace each function by its series, simplify, and read the limit on the lowest power that SURVIVES. The only decision is how far to expand: far enough for the numerator and the denominator to each have a nonzero term, and every piece to the same degree.

The figure shows y=sin⁡x−xx3y = \frac{\sin x - x}{x^3} on [−8,8][-8, 8]. The formula is undefined at 00, yet the curve plainly heads for a value somewhere near −0.17-0.17.

-8-6-4-22468-0.2-0.15-0.1-0.050.05y = (sin x − x)/x³
  • a) lim⁡x→0sin⁡x−xx3\lim_{x\to0}\frac{\sin x - x}{x^3}
  • b) lim⁡x→0tan⁡x−sin⁡xx3\lim_{x\to0}\frac{\tan x - \sin x}{x^3}
  • c) lim⁡x→0ln⁡(1+x)−x+x22x−sin⁡x\lim_{x\to0}\frac{\ln(1+x) - x + \frac{x^2}{2}}{x - \sin x}
  • d) Find the constants aa and bb for which lim⁡x→0sin⁡2x+ax+bx3x5\lim_{x\to0}\frac{\sin 2x + ax + bx^3}{x^5} is finite, and give the limit.
  • e) lim⁡x→0(1sin⁡2x−1x2)\lim_{x\to0}\left(\frac{1}{\sin^2 x} - \frac{1}{x^2}\right)
Show the solution

Answers

  • a) −16-\frac{1}{6}
  • b) 12\frac{1}{2}
  • c) 22
  • d) a=−2a = -2, b=43b = \frac{4}{3}, limit 415\frac{4}{15}
  • e) 13\frac{1}{3}

a) sin⁡x−x=(x−x36+x5120−… )−x=−x36+x5120−…\sin x - x = \left(x - \frac{x^3}{6} + \frac{x^5}{120} - \dots\right) - x = -\frac{x^3}{6} + \frac{x^5}{120} - \dots, so sin⁡x−xx3=−16+x2120−⋯→−16\frac{\sin x - x}{x^3} = -\frac{1}{6} + \frac{x^2}{120} - \dots \to -\frac{1}{6}, the value the figure suggests. The trap is to stop too early: with sin⁡x≈x\sin x \approx x the numerator becomes 00 and the copy concludes that the limit is 00. The approximation killed exactly the term that decides. Rule: keep expanding until something survives the cancellation. By L'Hôpital's rule the same limit takes three rounds, each one a new 00\frac{0}{0}.

b) From Exercise 4, tan⁡x=x+x33+…\tan x = x + \frac{x^3}{3} + \dots, and sin⁡x=x−x36+…\sin x = x - \frac{x^3}{6} + \dots The difference is (13+16)x3+⋯=x32+…\left(\frac{1}{3} + \frac{1}{6}\right)x^3 + \dots = \frac{x^3}{2} + \dots (the next term is of degree 55), so the limit is 12\frac{1}{2}. Both functions start with xx, and a one-term expansion of each gives 0x3\frac{0}{x^3} again: here too the x3x^3 terms are the ones that decide, and each must be exact.

c) Numerator: ln⁡(1+x)=x−x22+x33−x44+…\ln(1 + x) = x - \frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4} + \dots, so ln⁡(1+x)−x+x22=x33−x44+…\ln(1+x) - x + \frac{x^2}{2} = \frac{x^3}{3} - \frac{x^4}{4} + \dots Denominator: x−sin⁡x=x36−x5120+…x - \sin x = \frac{x^3}{6} - \frac{x^5}{120} + \dots Both start at x3x^3: x33+…x36+…=13−x4+…16+…→1/31/6=2\frac{\frac{x^3}{3} + \dots}{\frac{x^3}{6} + \dots} = \frac{\frac{1}{3} - \frac{x}{4} + \dots}{\frac{1}{6} + \dots} \to \frac{1/3}{1/6} = 2. When the lowest surviving powers on top and bottom are the same, the limit is the ratio of their coefficients; when the top starts higher, the limit is 00; when the bottom starts higher, the quotient is unbounded.

d) sin⁡2x=2x−(2x)36+(2x)5120−⋯=2x−4x33+4x515−…\sin 2x = 2x - \frac{(2x)^3}{6} + \frac{(2x)^5}{120} - \dots = 2x - \frac{4x^3}{3} + \frac{4x^5}{15} - \dots So the numerator is (2+a)x+(b−43)x3+415x5+…(2 + a)x + \left(b - \frac{4}{3}\right)x^3 + \frac{4}{15}x^5 + \dots and the quotient is 2+ax4+b−4/3x2+415+…\frac{2 + a}{x^4} + \frac{b - 4/3}{x^2} + \frac{4}{15} + \dots It has a finite limit only if the first two coefficients vanish: a=−2a = -2 and b=43b = \frac{4}{3}, and then the limit is 415\frac{4}{15}. The traps are in the powers of 22: (2x)3=8x3(2x)^3 = 8x^3, not 2x32x^3, and 32120=415\frac{32}{120} = \frac{4}{15}. By L'Hôpital's rule this question would take five rounds, with aa and bb still unknown.

e) This is ∞−∞\infty - \infty, and series cannot be used on it as it stands: first make ONE fraction. 1sin⁡2x−1x2=x2−sin⁡2xx2sin⁡2x\frac{1}{\sin^2 x} - \frac{1}{x^2} = \frac{x^2 - \sin^2 x}{x^2\sin^2 x}. Then sin⁡2x=(x−x36+… )2=x2−2⋅x⋅x36+⋯=x2−x43+…\sin^2 x = \left(x - \frac{x^3}{6} + \dots\right)^2 = x^2 - 2 \cdot x \cdot \frac{x^3}{6} + \dots = x^2 - \frac{x^4}{3} + \dots, so the numerator is x43+…\frac{x^4}{3} + \dots and the denominator x2(x2−… )=x4+…x^2\left(x^2 - \dots\right) = x^4 + \dots The limit is 13\frac{1}{3}. The trap is the cross term: squaring x−x36x - \frac{x^3}{6} gives −x43-\frac{x^4}{3}, twice the product, and the copy that writes x2−x46x^2 - \frac{x^4}{6} finds 16\frac{1}{6}.

Exercise 7: Integrals with no elementary antiderivative: the series is the answer

Neither e−x2e^{-x^2} nor sin⁡xx\frac{\sin x}{x} has an antiderivative that can be written with the usual functions. Their integrals exist all the same, and a power series gives them EXACTLY: expand the integrand, integrate term by term on an interval inside the interval of convergence, and the result is a series valid on the same interval.

The figure shows y=e−x2y = e^{-x^2}, with the area from 00 to 11 shaded. Nothing in this exercise asks for a decimal: how many terms give a required accuracy is the question of the next chapter.

-2.5-2-1.5-1-0.50.511.522.50.20.40.60.811.2y = e^(−x²)
  • a) Find the Maclaurin series of F(x)=∫0xe−t2 dtF(x) = \int_0^x e^{-t^2}\,dt, with its general term and radius of convergence.
  • b) Deduce ∫01e−x2 dx\int_0^1 e^{-x^2}\,dx as the sum of a numerical series and write its first four terms as fractions. Show by an elementary inequality that the value lies between 23\frac{2}{3} and 11.
  • c) Let Si(x)=∫0xsin⁡tt dt\text{Si}(x) = \int_0^x\frac{\sin t}{t}\,dt. Explain why the integrand causes no trouble at t=0t = 0, then give the Maclaurin series of Si.
  • d) Find the series of ∫0xarctan⁡tt dt\int_0^x\frac{\arctan t}{t}\,dt with its interval of validity, then express ∫01/2arctan⁡tt dt\int_0^{1/2}\frac{\arctan t}{t}\,dt as a numerical series.
  • e) A student writes ∫0∞e−t2 dt=∑n=0∞(−1)nn!∫0∞t2n dt\int_0^\infty e^{-t^2}\,dt = \sum_{n=0}^{\infty}\frac{(-1)^n}{n!}\int_0^\infty t^{2n}\,dt. Explain why this is meaningless, although the series of e−t2e^{-t^2} converges for every tt.
Show the solution

Answers

  • a) F(x)=∑n=0∞(−1)nx2n+1n! (2n+1)F(x) = \sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{n!\,(2n+1)}, R=∞R = \infty
  • b) ∑n=0∞(−1)nn! (2n+1)=1−13+110−142+…\sum_{n=0}^{\infty}\frac{(-1)^n}{n!\,(2n+1)} = 1 - \frac{1}{3} + \frac{1}{10} - \frac{1}{42} + \dots, between 23\frac{2}{3} and 11
  • c) sin⁡tt→1\frac{\sin t}{t} \to 1, a removable point; Si(x)=∑n=0∞(−1)nx2n+1(2n+1) (2n+1)!\text{Si}(x) = \sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{(2n+1)\,(2n+1)!}
  • d) ∑n=0∞(−1)nx2n+1(2n+1)2\sum_{n=0}^{\infty}\frac{(-1)^n x^{2n+1}}{(2n+1)^2} for ∣x∣≤1|x| \le 1; ∑n=0∞(−1)n(2n+1)2 22n+1\sum_{n=0}^{\infty}\frac{(-1)^n}{(2n+1)^2\,2^{2n+1}}
  • e) Each ∫0∞t2n dt\int_0^\infty t^{2n}\,dt diverges: term by term integration holds on bounded intervals only.

a) e−t2=∑n≥0(−1)nt2nn!e^{-t^2} = \sum_{n\ge0}\frac{(-1)^n t^{2n}}{n!} for every tt. Integrating term by term on [0,x][0, x], legitimate on any bounded interval since the radius is infinite: F(x)=∑n≥0(−1)nn!∫0xt2n dt=∑n≥0(−1)nx2n+1n! (2n+1)=x−x33+x510−x742+…F(x) = \sum_{n\ge0}\frac{(-1)^n}{n!}\int_0^x t^{2n}\,dt = \sum_{n\ge0}\frac{(-1)^n x^{2n+1}}{n!\,(2n+1)} = x - \frac{x^3}{3} + \frac{x^5}{10} - \frac{x^7}{42} + \dots Integration does not change the radius: R=∞R = \infty. No constant appears because F(0)=0F(0) = 0. Each denominator has TWO factors, n!n! from the exponential and 2n+12n + 1 from integrating t2nt^{2n}; dropping either one is the usual slip. This series is the function: up to the factor 2π\frac{2}{\sqrt{\pi}} it is the error function of statistics and heat diffusion, and there is no other formula to find.

b) ∫01e−x2 dx=F(1)=∑n≥0(−1)nn! (2n+1)=1−13+12⋅5−16⋅7+⋯=1−13+110−142+…\int_0^1 e^{-x^2}\,dx = F(1) = \sum_{n\ge0}\frac{(-1)^n}{n!\,(2n+1)} = 1 - \frac{1}{3} + \frac{1}{2 \cdot 5} - \frac{1}{6 \cdot 7} + \dots = 1 - \frac{1}{3} + \frac{1}{10} - \frac{1}{42} + \dots This IS the exact value, and an exam that asks for the integral as a series expects exactly this answer. Plausibility, without any error bound: e−u≥1−ue^{-u} \ge 1 - u for every uu (the tangent line at 00 lies under the convex exponential) and e−x2≤1e^{-x^2} \le 1, so 1−x2≤e−x2≤11 - x^2 \le e^{-x^2} \le 1 on [0,1][0, 1] and 23≤∫01e−x2 dx≤1\frac{2}{3} \le \int_0^1 e^{-x^2}\,dx \le 1. The first two terms of the series are exactly the lower bound, and the shaded region of the figure indeed fills most of the unit square.

c) As t→0t \to 0, sin⁡tt→1\frac{\sin t}{t} \to 1: the integrand has a removable point at 00, it extends continuously by the value 11, and Si(x)\text{Si}(x) is an ordinary integral, not an improper one. From Exercise 5 c), sin⁡tt=∑n≥0(−1)nt2n(2n+1)!\frac{\sin t}{t} = \sum_{n\ge0}\frac{(-1)^n t^{2n}}{(2n+1)!} for every tt. Integrating: Si(x)=∑n≥0(−1)nx2n+1(2n+1) (2n+1)!=x−x318+x5600−…\text{Si}(x) = \sum_{n\ge0}\frac{(-1)^n x^{2n+1}}{(2n+1)\,(2n+1)!} = x - \frac{x^3}{18} + \frac{x^5}{600} - \dots, since 3⋅3!=183 \cdot 3! = 18 and 5⋅5!=6005 \cdot 5! = 600, with R=∞R = \infty. Si is odd, as the integral of an even function from 00. The solution figure shows Si(π)\text{Si}(\pi) as the area of the first arch of sin⁡tt\frac{\sin t}{t}.

d) arctan⁡t=∑n≥0(−1)nt2n+12n+1\arctan t = \sum_{n\ge0}\frac{(-1)^n t^{2n+1}}{2n+1} for ∣t∣≤1|t| \le 1, so arctan⁡tt=∑n≥0(−1)nt2n2n+1\frac{\arctan t}{t} = \sum_{n\ge0}\frac{(-1)^n t^{2n}}{2n+1} for 0<∣t∣≤10 < |t| \le 1, with value 11 at t=0t = 0 as before. Integrating: ∫0xarctan⁡tt dt=∑n≥0(−1)nx2n+1(2n+1)2\int_0^x\frac{\arctan t}{t}\,dt = \sum_{n\ge0}\frac{(-1)^n x^{2n+1}}{(2n+1)^2}, radius 11 inherited from the arctangent, and the series also converges at x=±1x = \pm1, absolutely, by comparison with ∑1n2\sum\frac{1}{n^2}: interval [−1,1][-1, 1]. At x=12x = \frac{1}{2}, inside the radius: ∫01/2arctan⁡tt dt=∑n≥0(−1)n(2n+1)2 22n+1=12−172+1800−…\int_0^{1/2}\frac{\arctan t}{t}\,dt = \sum_{n\ge0}\frac{(-1)^n}{(2n+1)^2\,2^{2n+1}} = \frac{1}{2} - \frac{1}{72} + \frac{1}{800} - \dots The square in (2n+1)2(2n+1)^2 collects one 2n+12n + 1 from the arctangent and one from the integration.

e) Term-by-term integration is justified on a BOUNDED interval inside the interval of convergence. On [0,∞)[0, \infty) every term is an improper integral that diverges, ∫0∞t2n dt=∞\int_0^\infty t^{2n}\,dt = \infty, so the right-hand side is a sum of infinities with alternating signs, not a number. The integral itself converges (by comparison with e−te^{-t} for t≥1t \ge 1) and equals π2\frac{\sqrt{\pi}}{2}, a value that comes from another method and is usually admitted in MATH 141. The underlying reason: every partial sum of the series is a polynomial, and a nonzero polynomial never has a finite integral on [0,∞)[0, \infty). The series describes e−t2e^{-t^2} perfectly on each bounded interval and says nothing about the area of an infinite tail.

12345678910111213-0.4-0.20.20.40.60.811.2y = sin(t)/tSi(π)

Exercise 8: Five statements to correct

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

For a), the figure shows the function f(x)=e−1/x2f(x) = e^{-1/x^2} for x≠0x \ne 0, f(0)=0f(0) = 0.

-4-3-2-11234-0.20.20.40.60.811.2y = f(x)f(1) = 1/e
  • a) Every derivative of ff at 00 is 00 (admitted). So the Maclaurin series of ff is 00, it converges for every xx, and therefore f(x)=0f(x) = 0 for every xx.
  • b) Since sin⁡(x2)=x2−x66+…\sin(x^2) = x^2 - \frac{x^6}{6} + \dots, the sixth derivative of sin⁡(x2)\sin(x^2) at 00 is −16-\frac{1}{6}.
  • c) Putting x=2x = 2 in 1+x=∑n=0∞(1/2n)xn\sqrt{1+x} = \sum_{n=0}^{\infty}\binom{1/2}{n}x^n gives 3=∑n=0∞(1/2n)2n=1+1−12+12−…\sqrt{3} = \sum_{n=0}^{\infty}\binom{1/2}{n}2^n = 1 + 1 - \frac{1}{2} + \frac{1}{2} - \dots
  • d) The Taylor series of 1x\frac{1}{x} centred at a=1a = 1 is ∑n=0∞(−1)nxn\sum_{n=0}^{\infty}(-1)^n x^n.
  • e) Two series are multiplied by multiplying the coefficients of equal powers, so excos⁡x=1+0⋅x−14x2+…e^x\cos x = 1 + 0 \cdot x - \frac{1}{4}x^2 + \dots
Show the solution

Answers

  • a) False: f(1)=1e≠0f(1) = \frac{1}{e} \ne 0. The series converges everywhere but equals ff only at 00.
  • b) False: f(6)(0)=6!⋅(−16)=−120f^{(6)}(0) = 6! \cdot \left(-\frac{1}{6}\right) = -120.
  • c) False: x=2x = 2 is outside ∣x∣<1|x| < 1 and the series diverges; 3=2∑n=0∞(1/2n)(−14)n\sqrt{3} = 2\sum_{n=0}^{\infty}\binom{1/2}{n}\left(-\frac{1}{4}\right)^n.
  • d) False: powers of x−1x - 1, 1x=∑n=0∞(−1)n(x−1)n\frac{1}{x} = \sum_{n=0}^{\infty}(-1)^n(x-1)^n on (0,2)(0, 2).
  • e) False: collect every pair of degrees; excos⁡x=1+x−x33−x46+…e^x\cos x = 1 + x - \frac{x^3}{3} - \frac{x^4}{6} + \dots

a) FALSE. The Maclaurin series is indeed ∑0⋅xn=0\sum 0 \cdot x^n = 0, and it does converge for every xx, but to 00, which is not f(x)f(x): f(1)=e−1=1e≠0f(1) = e^{-1} = \frac{1}{e} \ne 0, and f(x)→1f(x) \to 1 as ∣x∣→∞|x| \to \infty. The figure shows how this is possible: ff is so flat at 00 that f(0.3)=e−1/0.09=e−11.1f(0.3) = e^{-1/0.09} = e^{-11.1} is below 0.000020.00002, and every derivative vanishes there, yet the function is not zero. Correct statement: a Taylor series can converge everywhere and still not converge to its function. The equalities of the table are THEOREMS, proved by showing that the remainder tends to 00, which is the subject of the next chapter; for a new function, either prove it the same way or build the series from the table.

b) FALSE: the coefficient is not the derivative. The coefficient of x6x^6 is c6=−16c_6 = -\frac{1}{6}, so f(6)(0)=6! c6=720⋅(−16)=−120f^{(6)}(0) = 6!\,c_6 = 720 \cdot \left(-\frac{1}{6}\right) = -120. Correct statement: the sixth derivative of sin⁡(x2)\sin(x^2) at 00 is −120-120. By the same reading, every odd derivative at 00 is 00, since sin⁡(x2)\sin(x^2) has only even powers.

c) FALSE: the binomial series equals (1+x)k(1 + x)^k only for ∣x∣<1|x| < 1. At x=2x = 2 the ratio of consecutive terms is ∣1/2−nn+1∣⋅2→2>1\left|\frac{1/2 - n}{n + 1}\right| \cdot 2 \to 2 > 1, so the terms grow (1,1,−12,12,−58,…1, 1, -\frac{1}{2}, \frac{1}{2}, -\frac{5}{8}, \dots already refuse to shrink) and the series diverges: it equals nothing. Correct route: rewrite the number so that the variable falls inside the interval. 3=4−1=21−14\sqrt{3} = \sqrt{4 - 1} = 2\sqrt{1 - \frac{1}{4}}, and x=−14x = -\frac{1}{4} is inside: 3=2∑n≥0(1/2n)(−14)n=2(1−18−1128−… )\sqrt{3} = 2\sum_{n\ge0}\binom{1/2}{n}\left(-\frac{1}{4}\right)^n = 2\left(1 - \frac{1}{8} - \frac{1}{128} - \dots\right), whose first three terms already give 11164≈1.73\frac{111}{64} \approx 1.73. The same gesture, factoring out the nearest perfect square, is what Exercise 3 c) did with 8+x3\sqrt[3]{8 + x}.

d) FALSE: a series centred at 11 is written in powers of (x−1)(x - 1). From the definition, f(n)(x)=(−1)nn! x−n−1f^{(n)}(x) = (-1)^n n!\,x^{-n-1}, so f(n)(1)=(−1)nn!f^{(n)}(1) = (-1)^n n! and cn=(−1)nc_n = (-1)^n. From the table, 1x=11+(x−1)=∑n≥0(−1)n(x−1)n\frac{1}{x} = \frac{1}{1 + (x-1)} = \sum_{n\ge0}(-1)^n(x-1)^n for ∣x−1∣<1|x - 1| < 1, that is 0<x<20 < x < 2. The series of the statement is that of 11+x\frac{1}{1 + x} centred at 00, a different function; 1x\frac{1}{x} itself has no Maclaurin series at all, being undefined at 00.

e) FALSE: the coefficient of xnx^n in a product collects EVERY pair of degrees adding to nn. With exe^x: 1,1,12,16,1241, 1, \frac{1}{2}, \frac{1}{6}, \frac{1}{24} and cos⁡x\cos x: 1,0,−12,0,1241, 0, -\frac{1}{2}, 0, \frac{1}{24}: x1x^1: 1⋅0+1⋅1=11 \cdot 0 + 1 \cdot 1 = 1; x2x^2: 1⋅(−12)+1⋅0+12⋅1=01 \cdot \left(-\frac{1}{2}\right) + 1 \cdot 0 + \frac{1}{2} \cdot 1 = 0; x3x^3: 0−12+0+16=−130 - \frac{1}{2} + 0 + \frac{1}{6} = -\frac{1}{3}; x4x^4: 124+0−14+0+124=−16\frac{1}{24} + 0 - \frac{1}{4} + 0 + \frac{1}{24} = -\frac{1}{6}. So excos⁡x=1+x−x33−x46+…e^x\cos x = 1 + x - \frac{x^3}{3} - \frac{x^4}{6} + \dots The claimed 0⋅x0 \cdot x fails the simplest test: the derivative of excos⁡xe^x\cos x at 00 is e0(cos⁡0−sin⁡0)=1e^0(\cos 0 - \sin 0) = 1, so c1=1c_1 = 1.

Exercise 9: Goals in a hockey game: sums and products of exponential series

A model used for rare, independent events (goals in a game, typos on a page, decays in a radioactive sample) gives the probability that exactly kk events occur as e−λλkk!\frac{e^{-\lambda}\lambda^k}{k!}, for k=0,1,2,…k = 0, 1, 2, \dots, where λ>0\lambda > 0 is a fixed number. A hockey analyst uses it for the number KK of goals the home team scores in one game, with λ=3\lambda = 3, so pk=e−33kk!p_k = \frac{e^{-3}3^k}{k!}; the figure shows p0p_0 to p8p_8 in percent. The visiting team scores LL goals with λ=2\lambda = 2, so qj=e−22jj!q_j = \frac{e^{-2}2^j}{j!}, and the two are independent: the probability that K=iK = i and L=jL = j is piqjp_iq_j (admitted).

Every question below is a series to recognize or to multiply, the gestures of this chapter. No calculator: exact answers, then an order of magnitude from e≈2.72e \approx 2.72.

05114.9222.4322.4416.8510.16572.280.80510152025p(k) in percent, λ = 3k
  • a) Show that ∑k=0∞pk=1\sum_{k=0}^{\infty}p_k = 1.
  • b) Find the exact probability that the home team scores an even number of goals (00 counts as even). Is it more or less than 12\frac{1}{2}?
  • c) The probability that the game has nn goals in total is ∑i=0npiqn−i\sum_{i=0}^{n}p_iq_{n-i}. Recognize it as the coefficient of xnx^n in the product of two exponential series, and show that it equals e−55nn!\frac{e^{-5}5^n}{n!}.
  • d) Write the probability of a tie, K=LK = L, as a numerical series, give its first four terms, and estimate it from e5≈148e^5 \approx 148.
  • e) Compute ∑k=0∞pkk+1\sum_{k=0}^{\infty}\frac{p_k}{k+1} exactly.
Show the solution

Answers

  • a) e−3∑k≥03kk!=e−3e3=1e^{-3}\sum_{k\ge0}\frac{3^k}{k!} = e^{-3}e^{3} = 1
  • b) 1+e−62\frac{1 + e^{-6}}{2}, slightly more than 12\frac{1}{2} (about 0.5010.501)
  • c) coefficient of xnx^n in e3xe2x=e5xe^{3x}e^{2x} = e^{5x}: e−55nn!\frac{e^{-5}5^n}{n!}
  • d) e−5∑k≥06k(k!)2=e−5(1+6+9+6+… )e^{-5}\sum_{k\ge0}\frac{6^k}{(k!)^2} = e^{-5}\left(1 + 6 + 9 + 6 + \dots\right), about 16\frac{1}{6}
  • e) 1−e−33\frac{1 - e^{-3}}{3}, about 0.320.32

a) e−3e^{-3} does not depend on kk and comes out of the sum: ∑k≥0pk=e−3∑k≥03kk!\sum_{k\ge0}p_k = e^{-3}\sum_{k\ge0}\frac{3^k}{k!}. The remaining series is the table series of eue^u at u=3u = 3, valid for every real uu: it equals e3e^3. So ∑pk=e−3e3=1\sum p_k = e^{-3}e^3 = 1: the probabilities of the model add up to 11, whatever λ\lambda. The chapter in one line: a series with k!k! in the denominator and no alternating sign is an exponential.

b) The probability is e−3∑k even3kk!e^{-3}\sum_{k\text{ even}}\frac{3^k}{k!}. The even terms are isolated by adding the series of e3e^3 and e−3e^{-3}: e3+e−3=∑k≥0(1+(−1)k)3kk!e^3 + e^{-3} = \sum_{k\ge0}\frac{\left(1 + (-1)^k\right)3^k}{k!}, where odd terms cancel and even terms double. So ∑k even3kk!=e3+e−32\sum_{k\text{ even}}\frac{3^k}{k!} = \frac{e^3 + e^{-3}}{2}, and the probability is e−3⋅e3+e−32=1+e−62e^{-3} \cdot \frac{e^3 + e^{-3}}{2} = \frac{1 + e^{-6}}{2}. It is slightly MORE than 12\frac{1}{2}: e2≈7.4e^2 \approx 7.4, so e6≈7.43≈400e^6 \approx 7.4^3 \approx 400 and the probability is about 12+1800≈0.501\frac{1}{2} + \frac{1}{800} \approx 0.501. The trap: even powers over even factorials look like a cosine, but cos⁡3\cos 3 has ALTERNATING signs; here every term is positive.

c) ∑i=0npiqn−i=e−5∑i=0n3ii!⋅2n−i(n−i)!\sum_{i=0}^{n}p_iq_{n-i} = e^{-5}\sum_{i=0}^{n}\frac{3^i}{i!} \cdot \frac{2^{n-i}}{(n-i)!}. Now e3x=∑i3ii!xie^{3x} = \sum_i\frac{3^i}{i!}x^i and e2x=∑j2jj!xje^{2x} = \sum_j\frac{2^j}{j!}x^j, and the coefficient of xnx^n in their product collects every pair i+j=ni + j = n: it is exactly ∑i=0n3ii!⋅2n−i(n−i)!\sum_{i=0}^{n}\frac{3^i}{i!} \cdot \frac{2^{n-i}}{(n-i)!}. But e3xe2x=e5x=∑n5nn!xne^{3x}e^{2x} = e^{5x} = \sum_n\frac{5^n}{n!}x^n, and by uniqueness of the coefficients the sum equals 5nn!\frac{5^n}{n!}. So the total number of goals follows the same model with λ=5\lambda = 5: e−55nn!\frac{e^{-5}5^n}{n!}. Check at n=1n = 1: p0q1+p1q0=e−5(2+3)=5e−5p_0q_1 + p_1q_0 = e^{-5}(2 + 3) = 5e^{-5}. The product rule of this chapter did the combinatorics: expanding (3+2)n(3 + 2)^n by the binomial theorem gives the same identity.

d) A tie means K=L=kK = L = k for some kk, so the probability is ∑k≥0pkqk=e−5∑k≥06k(k!)2=e−5(1+6+364+21636+… )=e−5(1+6+9+6+… )\sum_{k\ge0}p_kq_k = e^{-5}\sum_{k\ge0}\frac{6^k}{(k!)^2} = e^{-5}\left(1 + 6 + \frac{36}{4} + \frac{216}{36} + \dots\right) = e^{-5}\left(1 + 6 + 9 + 6 + \dots\right). The series converges (ratio 6(k+1)2→0\frac{6}{(k+1)^2} \to 0), but it is NOT a table series: the square of the factorial has no counterpart in the table, and no elementary closed form exists. The series is the exact answer, the same situation as the integrals of Exercise 7. Order of magnitude: the next terms are 94\frac{9}{4} and about 0.50.5, so the sum is roughly 2525, and 25148≈16\frac{25}{148} \approx \frac{1}{6}: about one game in six is tied at the end of regulation time in this model.

e) pkk+1=e−33k(k+1) k!=e−33k(k+1)!\frac{p_k}{k+1} = \frac{e^{-3}3^k}{(k+1)\,k!} = \frac{e^{-3}3^k}{(k+1)!}. Multiply and divide by 33 to complete the power: ∑k≥03k(k+1)!=13∑k≥03k+1(k+1)!=13∑j≥13jj!=e3−13\sum_{k\ge0}\frac{3^k}{(k+1)!} = \frac{1}{3}\sum_{k\ge0}\frac{3^{k+1}}{(k+1)!} = \frac{1}{3}\sum_{j\ge1}\frac{3^j}{j!} = \frac{e^3 - 1}{3}, the term j=0j = 0, equal to 11, being MISSING from the exponential series. So ∑pkk+1=e−3e3−13=1−e−33\sum\frac{p_k}{k+1} = e^{-3}\frac{e^3 - 1}{3} = \frac{1 - e^{-3}}{3}. With e3≈20e^3 \approx 20, it is about 1−0.053≈0.32\frac{1 - 0.05}{3} \approx 0.32. Forgetting the missing term gives exactly 13\frac{1}{3}: close, and wrong. The shift of index is only legitimate once the new starting value, here j=1j = 1, is written.

Exercise 10: A final exam problem: one function, every use of its series

Let f(x)=ex−1xf(x) = \frac{e^x - 1}{x} for x≠0x \ne 0 and f(0)=1f(0) = 1. The figure shows its graph: the formula has no value at 00, and the definition fills the hole. This problem chains the gestures of the chapter on a single function, as MATH 141 finals often do.

-4-3-2-1120.511.522.533.5y = (eˣ − 1)/xf(0) = 1
  • a) Find the Maclaurin series of ff and its radius of convergence. Why does it equal ff at x=0x = 0 as well?
  • b) Find f(n)(0)f^{(n)}(0) for every nn. In particular, what is f(10)(0)f^{(10)}(0)?
  • c) Differentiate the series term by term and evaluate at x=2x = 2 to find the exact sum of ∑n=1∞n 2n−1(n+1)!\sum_{n=1}^{\infty}\frac{n\,2^{n-1}}{(n+1)!}.
  • d) Express ∫01f(x) dx\int_0^1 f(x)\,dx as a numerical series.
  • e) Compute lim⁡x→0f(x)−1x\lim_{x\to0}\frac{f(x) - 1}{x} and lim⁡x→0f(x)−1−x2x2\lim_{x\to0}\frac{f(x) - 1 - \frac{x}{2}}{x^2}. What does the first limit say about f′(0)f'(0)?
Show the solution

Answers

  • a) f(x)=∑n=0∞xn(n+1)!f(x) = \sum_{n=0}^{\infty}\frac{x^n}{(n+1)!}, R=∞R = \infty; at 00 the series gives 1=f(0)1 = f(0)
  • b) f(n)(0)=1n+1f^{(n)}(0) = \frac{1}{n+1}; f(10)(0)=111f^{(10)}(0) = \frac{1}{11}
  • c) f′(2)=e2+14f'(2) = \frac{e^2 + 1}{4}
  • d) ∑n=1∞1n⋅n!\sum_{n=1}^{\infty}\frac{1}{n \cdot n!}
  • e) 12\frac{1}{2}, which is f′(0)f'(0); then 16\frac{1}{6}

a) ex−1=∑n≥1xnn!e^x - 1 = \sum_{n\ge1}\frac{x^n}{n!}: the term n=0n = 0, equal to 11, cancels. For x≠0x \ne 0, dividing by xx: f(x)=∑n≥1xn−1n!=∑m≥0xm(m+1)!=1+x2+x26+x324+…f(x) = \sum_{n\ge1}\frac{x^{n-1}}{n!} = \sum_{m\ge0}\frac{x^m}{(m+1)!} = 1 + \frac{x}{2} + \frac{x^2}{6} + \frac{x^3}{24} + \dots At x=0x = 0 the series gives 11, which is f(0)f(0) by definition. So the series equals ff at EVERY xx, and by uniqueness it is the Maclaurin series of ff. Ratio test: ∣x∣m+1/(m+2)!∣x∣m/(m+1)!=∣x∣m+2→0\frac{|x|^{m+1}/(m+2)!}{|x|^m/(m+1)!} = \frac{|x|}{m+2} \to 0, so R=∞R = \infty. The value f(0)=1f(0) = 1 was not chosen at random: any other value would make ff discontinuous at 00, and no power series could equal it.

b) cn=1(n+1)!c_n = \frac{1}{(n+1)!}, so f(n)(0)=n! cn=n!(n+1)!=1n+1f^{(n)}(0) = n!\,c_n = \frac{n!}{(n+1)!} = \frac{1}{n+1}. In particular f(10)(0)=111f^{(10)}(0) = \frac{1}{11}. By the quotient rule this would mean ten differentiations of ex−1x\frac{e^x - 1}{x}, and then a limit at 00 where the formula is undefined. Small cases as a check: f(0)=1=11f(0) = 1 = \frac{1}{1}, and f′(0)=12f'(0) = \frac{1}{2}, which part e) finds again by a limit.

c) Term-by-term differentiation, valid inside the radius, here everywhere: f′(x)=∑n≥1n xn−1(n+1)!f'(x) = \sum_{n\ge1}\frac{n\,x^{n-1}}{(n+1)!}. Directly, for x≠0x \ne 0: f′(x)=xex−(ex−1)x2=xex−ex+1x2f'(x) = \frac{x e^x - (e^x - 1)}{x^2} = \frac{xe^x - e^x + 1}{x^2}. At x=2x = 2 the two expressions agree: ∑n≥1n 2n−1(n+1)!=f′(2)=2e2−e2+14=e2+14\sum_{n\ge1}\frac{n\,2^{n-1}}{(n+1)!} = f'(2) = \frac{2e^2 - e^2 + 1}{4} = \frac{e^2 + 1}{4}, about 7.4+14≈2.1\frac{7.4 + 1}{4} \approx 2.1. Plausibility: the first four terms, 12+46+1224+32120\frac{1}{2} + \frac{4}{6} + \frac{12}{24} + \frac{32}{120}, already add up to about 1.931.93, and all terms are positive. The gesture: a series whose general term has an extra factor nn in front of a known coefficient is the DERIVATIVE of a known series, evaluated at a point.

d) ff is continuous on [0,1][0, 1] thanks to f(0)=1f(0) = 1, so the integral is an ordinary one; but ex−1x\frac{e^x - 1}{x} has no elementary antiderivative. Integrating the series term by term on [0,1][0, 1]: ∫01f(x) dx=∑m≥01(m+1)!∫01xm dx=∑m≥01(m+1)! (m+1)=∑n≥11n⋅n!=1+14+118+196+…\int_0^1 f(x)\,dx = \sum_{m\ge0}\frac{1}{(m+1)!}\int_0^1 x^m\,dx = \sum_{m\ge0}\frac{1}{(m+1)!\,(m+1)} = \sum_{n\ge1}\frac{1}{n \cdot n!} = 1 + \frac{1}{4} + \frac{1}{18} + \frac{1}{96} + \dots That series is the exact answer. Plausibility: ff increases from f(0)=1f(0) = 1 to f(1)=e−1≈1.72f(1) = e - 1 \approx 1.72, so the integral lies between 11 and 1.721.72, and the first terms, about 1.321.32, sit in that range.

e) f(x)−1x=x2+x26+…x=12+x6+⋯→12\frac{f(x) - 1}{x} = \frac{\frac{x}{2} + \frac{x^2}{6} + \dots}{x} = \frac{1}{2} + \frac{x}{6} + \dots \to \frac{1}{2}. Since f(0)=1f(0) = 1, this quotient is the difference quotient f(x)−f(0)x−0\frac{f(x) - f(0)}{x - 0}: its limit IS f′(0)f'(0), so f′(0)=12f'(0) = \frac{1}{2}, as b) said with n=1n = 1. Next, f(x)−1−x2x2=16+x24+⋯→16\frac{f(x) - 1 - \frac{x}{2}}{x^2} = \frac{1}{6} + \frac{x}{24} + \dots \to \frac{1}{6}, which is c2=f′′(0)2c_2 = \frac{f''(0)}{2} with f′′(0)=13f''(0) = \frac{1}{3} from b). By L'Hôpital's rule the second limit would require the second derivative of a quotient, twice, before the 00\frac{0}{0} goes away.

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