Survey of Mathematics

1.6 Series, power series, and uniform convergence

An infinite sum is the limit of its partial sums. Series are tamed by comparison with the geometric series, and functions are tamed by uniform convergence, which lets limits pass through continuity, integrals and derivatives. Power series, e^x, sin and cos, and Euler's formula are the reward.

Beyond the courseAbbott, Understanding Analysis, ch. 2.7, 6 and 5Spivak, Calculus, ch. 22 to 24Rudin, Principles of Mathematical Analysis, ch. 3 and 7

In school, 1+12+14+⋯=21 + \frac12 + \frac14 + \dots = 2 was a fact about adding infinitely many things, and ex=1+x+x22!+…e^x = 1 + x + \frac{x^2}{2!} + \dots was a formula to memorise. Adding infinitely many numbers makes sense only if we say what it means. The answer is a limit, so this chapter is 1.2 applied to partial sums. Then comes the harder idea: when the terms are functions, “the sum converges” can mean two different things, and only the stronger one lets continuity, integrals and derivatives pass through the sum. With that, power series become a tool you can trust, and Euler’s formula, promised in 0.6, gets its proof.

Before you start

Chapter 1.2: the ε\varepsilon-NN game, monotone convergence, Cauchy sequences. Chapter 1.3: continuity with ε\varepsilon and δ\delta. Chapter 1.5: the integral and the fundamental theorem of calculus.

Quick checkA sequence of real numbers converges if and only if it is:
Quick checkAn increasing sequence that is bounded above:
Quick checkIf ∣f(x)−g(x)∣<ε3|f(x) - g(x)| < \frac\varepsilon3, ∣g(x)−g(y)∣<ε3|g(x) - g(y)| < \frac\varepsilon3 and ∣g(y)−f(y)∣<ε3|g(y) - f(y)| < \frac\varepsilon3, what does the triangle inequality give for ∣f(x)−f(y)∣|f(x) - f(y)|?

The picture: two ways to converge

First, numbers. The partial sums of 12+14+18+…\frac12 + \frac14 + \frac18 + \dots are Sn=1−2−nS_n = 1 - 2^{-n}: 0.5, 0.75, 0.875, …0.5,\ 0.75,\ 0.875,\ \dots, each one closing half of the remaining gap to 11. The series “equals” 11 because the partial sums converge to 11.

Now functions. Let fn(x)=xnf_n(x) = x^n on [0,1][0, 1]. At a fixed x<1x < 1 the values xnx^n shrink to 00; at x=1x = 1 they stay at 11.

xxx10x^{10}x100x^{100}
0.50.50.000980.00098≈0\approx 0
0.90.90.3490.3490.00002660.0000266
0.990.990.9040.9040.3660.366
111111

At every single point the sequence converges, but near 11 you must go further and further out in nn to get small: the “bad region” slides toward 11 and never disappears. So the graphs of xnx^n never fit into a thin tube around the limit function (00 for x<1x < 1, jumping to 11 at x=1x = 1). Each fnf_n is continuous, yet the limit has a jump. This is the central warning of the chapter.

Where this came from· Oresme and the harmonic series

Nicole Oresme, a French scholar, showed around 1350 that 1+12+13+14+…1 + \frac12 + \frac13 + \frac14 + \dots has no finite sum, even though its terms shrink to zero. He grouped the terms: 13+14≥12\frac13 + \frac14 \ge \frac12, then 15+⋯+18≥12\frac15 + \dots + \frac18 \ge \frac12, and so on, so there are infinitely many blocks each worth at least 12\frac12. The argument was forgotten and found again in the 1600s (Pietro Mengoli in 1647, then the Bernoulli brothers). It set the pattern for this chapter: terms going to zero is necessary for a series to converge, but not sufficient.

The idea, in words

A series is a sequence in disguise: instead of the terms aka_k we look at the running totals Sn=a1+⋯+anS_n = a_1 + \dots + a_n, and everything we proved about sequences in 1.2 applies to (Sn)(S_n). Three questions organise the first half of the chapter. Does (Sn)(S_n) converge? (Tests.) Does it still converge if we take absolute values, so that no cancellation helps? (Absolute convergence, which is the safe kind.) And does the sum depend on the order of the terms? (Only for the unsafe kind.)

Then we let each term depend on xx. A series of functions defines a new function, and we want its properties: continuity, integral, derivative. These do not pass through a pointwise limit, as the xnx^n picture shows. They do pass through a uniform limit, which means one NN works for all xx at once, the same δ\delta-for-everywhere idea as uniform continuity in 1.3.

Why· The pattern in every proof here

Almost every proof in this chapter is one of three moves: compare with a geometric series (tests), apply the Cauchy criterion with the triangle inequality (absolute convergence, M-test), or split the error into three or two pieces and give each part of the budget ε\varepsilon (uniform limits). Look for the move before reading each proof.

Series: definitions and first tests

Definition B

Series

Given a sequence (ak)(a_k), the series ∑k=1∞ak\sum_{k=1}^\infty a_k converges to SS if the sequence of partial sums converges to SS; then SS is its sum. If (Sn)(S_n) does not converge the series diverges.

In one lineAn infinite sum ∑k=1∞ak\sum_{k=1}^\infty a_k, defined as the limit of the partial sums when that limit exists.

Why it existsInfinitely many additions cannot be performed, so the only honest meaning of an infinite sum is a limit of finite ones.

Definition B

Partial sum

The nn-th partial sum of ∑ak\sum a_k is Sn=a1+a2+⋯+anS_n = a_1 + a_2 + \dots + a_n. So an=Sn−Sn−1a_n = S_n - S_{n-1} for n≥2n \ge 2.

In one lineSn=a1+a2+⋯+anS_n = a_1 + a_2 + \dots + a_n, the total of the first nn terms.

Why it existsEach partial sum is an ordinary finite sum, and the series is defined from them.

Theorem B Abbott Example 2.7.5

Geometric series

For ∣r∣<1|r| < 1, ∑k=0∞rk=11−r\displaystyle\sum_{k=0}^\infty r^k = \frac{1}{1 - r}. For ∣r∣≥1|r| \ge 1 the series diverges.

In one line∑k=0∞rk=11−r\sum_{k=0}^\infty r^k = \dfrac{1}{1 - r} when ∣r∣<1|r| < 1, and the series diverges when ∣r∣≥1|r| \ge 1.

Why it is trueThe partial sum has a closed form, and then the question is only whether r to the power n tends to zero.

Why· Scratch work: where the proof comes from

Multiply Sn=1+r+⋯+rnS_n = 1 + r + \dots + r^n by rr and subtract: Sn−rSn=1−rn+1S_n - rS_n = 1 - r^{n+1}, so Sn=1−rn+11−rS_n = \frac{1 - r^{n+1}}{1 - r} (for r≠1r \ne 1). We want Sn→11−rS_n \to \frac1{1-r}, so the distance is ∣Sn−11−r∣=∣r∣n+1∣1−r∣|S_n - \frac1{1-r}| = \frac{|r|^{n+1}}{|1 - r|}. Everything depends on showing ∣r∣n→0|r|^n \to 0 for ∣r∣<1|r| < 1, which needs an ε\varepsilon-NN proof. Trick: write ∣r∣=11+h|r| = \frac1{1 + h} with h>0h > 0 and use Bernoulli’s inequality (1+h)n≥1+nh(1 + h)^n \ge 1 + nh (induction), so ∣r∣n≤11+nh<1nh|r|^n \le \frac1{1 + nh} < \frac1{nh}, which is below ε\varepsilon once n>1hεn > \frac1{h\varepsilon}.

ProofAbbott 2.7.5
The idea: Closed form for S_n; then |r|^n → 0 via Bernoulli's inequality. For |r| ≥ 1 the terms do not tend to 0.
For r≠1r \ne 1: Sn=1−rn+11−rS_n = \dfrac{1 - r^{n+1}}{1 - r}.
Multiply by rr and subtract; all middle terms cancel.
Write ∣r∣=11+h|r| = \dfrac1{1+h} with h>0h > 0.
If 0<∣r∣<10 < |r| < 1 then 1∣r∣>1\frac1{|r|} > 1, so 1∣r∣=1+h\frac1{|r|} = 1 + h for some h>0h > 0.If r=0r = 0 then rn=0r^n = 0 for n≥1n \ge 1, so there is nothing to prove.
∣r∣n=1(1+h)n≤11+nh<1nh|r|^n = \dfrac{1}{(1+h)^n} \le \dfrac{1}{1 + nh} < \dfrac{1}{nh}.
Bernoulli: (1+h)n≥1+nh(1 + h)^n \ge 1 + nh, proved by induction since (1+h)n+1≥(1+nh)(1+h)≥1+(n+1)h(1+h)^{n+1} \ge (1 + nh)(1 + h) \ge 1 + (n+1)h.
So rn→0r^n \to 0.
Choose N≥1hεN \ge \frac1{h\varepsilon} (Archimedean property). Then for n>Nn > N, 1nh<ε\frac1{nh} < \varepsilon.
Hence Sn→11−rS_n \to \dfrac{1}{1-r}.
Limit laws of 1.2: Sn=11−r−r1−r rnS_n = \frac{1}{1-r} - \frac{r}{1-r}\,r^n.
For ∣r∣≥1|r| \ge 1 the series diverges.
If ∣r∣≥1|r| \ge 1 then ∣rk∣≥1|r^k| \ge 1, so the terms do not tend to 00, and a convergent series must have terms tending to 00 (nth-term test below). ■\blacksquare
Worked example
Write 0.999…0.999\ldots as a series and find its value.

Solution.

  1. Series form. 0.999…=910+9100+⋯=9∑k=1∞10−k0.999\ldots = \frac9{10} + \frac9{100} + \dots = 9\sum_{k=1}^\infty 10^{-k}. Each decimal digit is a term.
  2. Pull out the first term. ∑k=1∞10−k=110∑j=0∞(110)j=110⋅11−110=19\sum_{k=1}^\infty 10^{-k} = \frac1{10}\sum_{j=0}^\infty \left(\frac1{10}\right)^j = \frac1{10}\cdot\frac{1}{1 - \frac1{10}} = \frac19. Geometric series with r=110r = \frac1{10}, ∣r∣<1|r| < 1.
  3. Multiply. 9⋅19=19 \cdot \frac19 = 1. Arithmetic.

Answer. 0.999…=10.999\ldots = 1 exactly: the partial sums are 1−10−n1 - 10^{-n}, which converge to 11. ■\blacksquare

Your answerFind ∑k=1∞2(35)k\displaystyle\sum_{k=1}^\infty 2\left(\frac35\right)^k. Careful: the sum starts at k=1k = 1.
Theorem B Abbott Thm 2.7.3

The nth-term test

If ∑ak\sum a_k converges, then ak→0a_k \to 0. So if ak↛0a_k \not\to 0, the series diverges.

In one lineIf ∑ak\sum a_k converges, then ak→0a_k \to 0.

Why it is trueA term is the difference of two consecutive partial sums, and both tend to the same limit.

ProofAbbott 2.7.3
The idea: a_n = S_n − S_{n−1}, and both partial sums tend to the same limit S.
an=Sn−Sn−1a_n = S_n - S_{n-1} for n≥2n \ge 2.
Definition of the partial sum.
By the difference law of 1.2, an→S−S=0a_n \to S - S = 0. ■\blacksquare
Both (Sn)(S_n) and the shifted sequence (Sn−1)(S_{n-1}) converge to the sum SS.

The converse is false, and the standard example is the harmonic series, which 1.2 left as a stretch problem (1.2, last problem).

Theorem B Oresme, c. 1350; Abbott Sec. 2.7

The harmonic series diverges

The partial sums Hn=1+12+⋯+1nH_n = 1 + \frac12 + \dots + \frac1n are unbounded, so ∑1k\sum \frac1k diverges.

In one line∑k=1∞1k\sum_{k=1}^\infty \frac1k diverges, although 1k→0\frac1k \to 0.

Why it is trueBlocks of 2^m terms each add to at least 1/2, so the partial sums are unbounded.

ProofOresme; 1.2 stretch problem
The idea: Compare H_{2n} with H_n: the extra n terms are each at least 1/(2n), so they add at least 1/2.
H2n−Hn=1n+1+⋯+12nH_{2n} - H_n = \dfrac1{n+1} + \dots + \dfrac1{2n}.
The extra terms are 1n+1,…,12n\frac1{n+1}, \dots, \frac1{2n}, and there are nn of them.
H2n−Hn≥n⋅12n=12H_{2n} - H_n \ge n \cdot \dfrac1{2n} = \dfrac12.
Each of the nn terms is at least the smallest one, 12n\frac1{2n}.
So (Hn)(H_n) is unbounded, hence not convergent. ■\blacksquare
Apply this with n=1,2,4,8,…n = 1, 2, 4, 8, \dots: H2m≥1+m2H_{2^m} \ge 1 + \frac m2, which exceeds any bound.
Quick checkSince 1k→0\frac1k \to 0, does ∑1k\sum \frac1k converge?
Theorem B Abbott Thm 2.7.4

Comparison test

Suppose 0≤ak≤bk0 \le a_k \le b_k for all kk. If ∑bk\sum b_k converges, so does ∑ak\sum a_k. If ∑ak\sum a_k diverges, so does ∑bk\sum b_k.

In one lineIf 0≤ak≤bk0 \le a_k \le b_k and ∑bk\sum b_k converges, then ∑ak\sum a_k converges; if ∑ak\sum a_k diverges, so does ∑bk\sum b_k.

Why it is trueNon-negative terms make the partial sums increase, so being bounded above is enough, and a bigger series bounds a smaller one.

ProofAbbott 2.7.4
The idea: Partial sums of a_k increase and are bounded by the sum of the b_k; monotone convergence.
The partial sums An=a1+⋯+anA_n = a_1 + \dots + a_n are increasing.
Each term is non-negative.
An≤BA_n \le B for all nn.
Compare termwise: An≤BnA_n \le B_n, and Bn≤∑bk=BB_n \le \sum b_k = B because the BnB_n increase to BB.
So (An)(A_n) converges. The second statement is the contrapositive. ■\blacksquare
Monotone convergence theorem (1.2).
Worked example Abbott 2.7
Decide whether ∑1k2\sum \frac1{k^2} and ∑1k\sum \frac1{\sqrt k} converge.

Solution.

  1. First series: compare with a telescoping one. For k≥2k \ge 2, 1k2≤1k(k−1)=1k−1−1k\frac1{k^2} \le \frac1{k(k-1)} = \frac1{k-1} - \frac1k. Making the denominator smaller makes the fraction bigger, and the partial fractions give a telescoping sum.
  2. Sum the bound. ∑k=2n(1k−1−1k)=1−1n≤1\sum_{k=2}^n \left(\frac1{k-1} - \frac1k\right) = 1 - \frac1n \le 1. All middle terms cancel.
  3. Conclude. The partial sums of ∑1k2\sum \frac1{k^2} are at most 1+1=21 + 1 = 2, so it converges (its value is π26=1.6449…\frac{\pi^2}{6} = 1.6449\ldots, which the first ten terms approach as 1.54981.5498). Comparison test.
  4. Second series. For k≥1k \ge 1, 1k≥1k\frac1{\sqrt k} \ge \frac1k, and ∑1k\sum \frac1k diverges, so ∑1k\sum \frac1{\sqrt k} diverges. Comparison test, divergence form.

Answer. ∑1k2\sum \frac1{k^2} converges; ∑1k\sum \frac1{\sqrt k} diverges. ■\blacksquare

Worked example
Find the exact sum ∑k=1∞1k(k+2)\displaystyle\sum_{k=1}^\infty \frac{1}{k(k+2)}.

Solution.

  1. Split into partial fractions. 1k(k+2)=12(1k−1k+2)\frac{1}{k(k+2)} = \frac12\left(\frac1k - \frac1{k+2}\right). Check: 1k−1k+2=2k(k+2)\frac1k - \frac1{k+2} = \frac{2}{k(k+2)}. The aim is to make neighbouring terms cancel.
  2. Write the partial sum. Sn=12[(1−13)+(12−14)+(13−15)+⋯+(1n−1n+2)]S_n = \frac12\left[\left(1 - \frac13\right) + \left(\frac12 - \frac14\right) + \left(\frac13 - \frac15\right) + \dots + \left(\frac1n - \frac1{n+2}\right)\right]. The partial sum is a finite sum, so we may regroup it freely.
  3. Cancel. Every 1j\frac1j with 3≤j≤n3 \le j \le n appears once with a plus and once with a minus, so Sn=12(1+12−1n+1−1n+2)S_n = \frac12\left(1 + \frac12 - \frac1{n+1} - \frac1{n+2}\right). Only the first two positive terms and the last two negative terms survive.
  4. Take the limit. 1n+1\frac1{n+1} and 1n+2\frac1{n+2} tend to 00, so Sn→12⋅32=34S_n \to \frac12\cdot\frac32 = \frac34. Limit laws of 1.2.

Answer. 34\frac34. (Check: the first four terms give 0.3333+0.125+0.0667+0.0417=0.56670.3333 + 0.125 + 0.0667 + 0.0417 = 0.5667 and the sum creeps up to 0.750.75.) ■\blacksquare

Absolute convergence

Definition B

Absolute convergence

∑ak\sum a_k converges absolutely if ∑∣ak∣\sum |a_k| converges. A series that converges but not absolutely converges conditionally.

In one line∑ak\sum a_k converges absolutely if ∑∣ak∣\sum |a_k| converges.

Why it existsIt is the safe kind of convergence: no cancellation is needed, so the order of the terms cannot matter.

Theorem B Abbott Thm 2.7.2

Cauchy criterion for series

∑ak\sum a_k converges iff ∀ε>0 ∃N ∀n>m≥N: ∣am+1+am+2+⋯+an∣<ε\forall \varepsilon > 0\ \exists N\ \forall n > m \ge N:\ |a_{m+1} + a_{m+2} + \dots + a_n| < \varepsilon.

In one line∑ak\sum a_k converges iff for every ε>0\varepsilon > 0 there is NN with ∣am+1+⋯+an∣<ε|a_{m+1} + \dots + a_n| < \varepsilon for all n>m≥Nn > m \ge N.

Why it is trueIt is the Cauchy criterion of 1.2 applied to the partial sums, with S_n − S_m written as a block of terms.

ProofAbbott 2.7.2
The idea: S_n − S_m is exactly the block a_{m+1} + ... + a_n, so the condition says (S_n) is Cauchy; 1.2 says Cauchy is the same as convergent.
Sn−Sm=am+1+⋯+anS_n - S_m = a_{m+1} + \dots + a_n for n>mn > m.
Definition of partial sums.
So the condition says (Sn)(S_n) is a Cauchy sequence.
The condition is then ∣Sn−Sm∣<ε|S_n - S_m| < \varepsilon for all n>m≥Nn > m \ge N, the definition of Cauchy.
A real sequence is Cauchy iff it converges. ■\blacksquare
Cauchy criterion for sequences (1.2).
Theorem B Abbott Thm 2.7.6

Absolute convergence implies convergence

If ∑∣ak∣\sum |a_k| converges, then ∑ak\sum a_k converges and ∣∑ak∣≤∑∣ak∣\left|\sum a_k\right| \le \sum |a_k|.

In one lineIf ∑∣ak∣\sum |a_k| converges, then ∑ak\sum a_k converges, and ∣∑ak∣≤∑∣ak∣\left|\sum a_k\right| \le \sum |a_k|.

Why it is trueCancellation can only make a block of terms smaller in size, so if the sizes are Cauchy, the signed terms are too.

Why· Scratch work: where the proof comes from

We have a hypothesis about ∑∣ak∣\sum |a_k| and a conclusion about ∑ak\sum a_k, and the Cauchy criterion for series is stated with blocks. So write the block for aa and compare it with the block for ∣a∣|a|: by the triangle inequality ∣am+1+⋯+an∣≤∣am+1∣+⋯+∣an∣|a_{m+1} + \dots + a_n| \le |a_{m+1}| + \dots + |a_n|. The right side is small for large m,nm, n by the Cauchy criterion applied to the convergent series ∑∣ak∣\sum |a_k| (with the same ε\varepsilon). No splitting of the budget is needed: one comparison.

ProofAbbott 2.7.6
The idea: Triangle inequality turns the block of signed terms into a block of absolute values, which the Cauchy criterion makes small.
Let ε>0\varepsilon > 0. There is NN with ∣am+1∣+⋯+∣an∣<ε|a_{m+1}| + \dots + |a_n| < \varepsilon for all n>m≥Nn > m \ge N.
Cauchy criterion for the convergent series ∑∣ak∣\sum |a_k|.
For such m,nm, n: ∣am+1+⋯+an∣≤∣am+1∣+⋯+∣an∣<ε|a_{m+1} + \dots + a_n| \le |a_{m+1}| + \dots + |a_n| < \varepsilon.
Triangle inequality, extended to many terms by induction.
So ∑ak\sum a_k converges.
Cauchy criterion for series, in the other direction.
The inequality ∣∑ak∣≤∑∣ak∣\left|\sum a_k\right| \le \sum |a_k| follows. ■\blacksquare
∣∑k≤nak∣≤∑k≤n∣ak∣\left|\sum_{k \le n} a_k\right| \le \sum_{k \le n} |a_k| for each nn; pass to the limit.
Proof workshopRebuild the proof that absolute convergence implies convergence

Tap the lines in the order a proof would write them. Each line can only use what is already above it.

    Quick checkWhich series converges absolutely?
    Theorem B Abbott Exercise 2.7.9; Rudin Thm 3.34

    Ratio test

    Let ak≠0a_k \ne 0 and ∣ak+1ak∣→r\left|\dfrac{a_{k+1}}{a_k}\right| \to r. If r<1r < 1, ∑ak\sum a_k converges absolutely. If r>1r > 1, ∑ak\sum a_k diverges. If r=1r = 1, the test says nothing.

    In one lineIf ∣ak+1ak∣→r\left|\frac{a_{k+1}}{a_k}\right| \to r, then ∑ak\sum a_k converges absolutely when r<1r < 1 and diverges when r>1r > 1; r=1r = 1 decides nothing.

    Why it is trueEventually the terms shrink at least as fast as a geometric series with ratio a little above r, which converges by comparison.

    Why· Scratch work: where the proof comes from

    For r<1r < 1 the ratio is eventually near rr, so eventually the terms shrink by a factor close to rr each step, which is like a geometric series. We need a number ss with r<s<1r < s < 1 to be a safe ratio bound: the ratio will eventually be below ss. The midpoint s=r+12s = \frac{r + 1}2 works, because it is strictly between. In the ε\varepsilon-NN language of 1.2, this is using the definition of the limit with ε=s−r=1−r2\varepsilon = s - r = \frac{1 - r}{2}. After the index NN where ratios are below ss, each step multiplies the size by less than ss: ∣aN+j∣≤∣aN∣sj|a_{N+j}| \le |a_N| s^j. The finitely many terms before NN do not affect convergence.

    ProofRudin 3.34
    The idea: Case r < 1: from some N on, |a_{k+1}| < s|a_k| with s = (1+r)/2 < 1, so |a_{N+j}| ≤ |a_N| s^j, and the geometric series with ratio s converges; compare. Case r > 1: eventually |a_{k+1}| > |a_k|, so the terms do not tend to 0.
    Suppose r<1r < 1 and let s=1+r2s = \frac{1 + r}{2}, so r<s<1r < s < 1. There is NN with ∣ak+1ak∣<s\left|\frac{a_{k+1}}{a_k}\right| < s for all k≥Nk \ge N.
    Definition of the limit rr, with ε=1−r2\varepsilon = \frac{1 - r}{2} (so that r+ε=sr + \varepsilon = s).
    ∣aN+j∣≤∣aN∣ sj|a_{N+j}| \le |a_N|\,s^j for all j≥0j \ge 0.
    Induction on jj: multiply the inequality ∣ak+1∣<s∣ak∣|a_{k+1}| < s|a_k| jj times.
    ∑j∣aN∣sj\sum_j |a_N| s^j converges.
    Geometric series with ratio ss, 0<s<10 < s < 1, converges (theorem above); a constant multiple ∣aN∣|a_N| does not affect that.
    So ∑∣ak∣\sum |a_k| converges: ∑ak\sum a_k converges absolutely.
    Comparison test, and dropping or adding finitely many terms does not change convergence.
    Then ∣ak∣≥∣aN∣>0|a_k| \ge |a_N| > 0 for all k≥Nk \ge N, so ak↛0a_k \not\to 0.
    Now r>1r > 1: with ε=r−1\varepsilon = r - 1 the ratio is eventually greater than 11, so ∣ak+1∣>∣ak∣|a_{k+1}| > |a_k| from some NN on.
    So ∑ak\sum a_k diverges.
    The nth-term test.
    The test cannot decide when r=1r = 1. ■\blacksquare
    For r=1r = 1: ∑1k\sum \frac1k diverges and ∑1k2\sum \frac1{k^2} converges, and both have ratios tending to 11.
    Worked example
    Show that ∑k=1∞k2k\sum_{k=1}^\infty \frac{k}{2^k}, ∑k=0∞3kk!\sum_{k=0}^\infty \frac{3^k}{k!} and ∑k=1∞2kk!kk\sum_{k=1}^\infty \frac{2^k k!}{k^k} converge.

    Solution.

    1. First series: ratio. ∣ak+1ak∣=(k+1)/2k+1k/2k=k+12k→12\left|\frac{a_{k+1}}{a_k}\right| = \frac{(k+1)/2^{k+1}}{k/2^k} = \frac{k+1}{2k} \to \frac12. Divide (k+1)(k+1) by kk and 2k2^k by 2k+12^{k+1}.
    2. Decide. 12<1\frac12 < 1, so it converges absolutely. Ratio test, r<1r < 1.
    3. Second series: ratio. 3k+1/(k+1)!3k/k!=3k+1→0<1\frac{3^{k+1}/(k+1)!}{3^k/k!} = \frac{3}{k+1} \to 0 < 1. (k+1)!=(k+1) k!(k+1)! = (k+1)\,k!.
    4. Decide. It converges (its sum is e3=20.0855…e^3 = 20.0855\ldots, which the first 30 terms already give to ten places). Ratio test.
    5. Third series: ratio. 2k+1(k+1)!/(k+1)k+12kk!/kk=2⋅(k+1) kk(k+1)k+1=2(kk+1)k=2(1+1k)−k\dfrac{2^{k+1}(k+1)!/(k+1)^{k+1}}{2^k k!/k^k} = 2\cdot\dfrac{(k+1)\,k^k}{(k+1)^{k+1}} = 2\left(\dfrac{k}{k+1}\right)^k = 2\left(1 + \dfrac1k\right)^{-k}. Cancel 2k2^k, k!k! and one factor (k+1)(k+1) from (k+1)k+1(k+1)^{k+1}.
    6. Decide. (1+1k)k→e\left(1 + \frac1k\right)^k \to e, so the ratio tends to 2e=0.7358<1\frac2e = 0.7358 < 1, and the series converges absolutely. Ratio test, r<1r < 1. The limit (1+1k)k→e\left(1 + \frac1k\right)^k \to e is the compound-interest limit used in the applications below.

    Answer. All three converge. ■\blacksquare (Later: ∑k2k=2\sum \frac{k}{2^k} = 2, a term-by-term differentiation example.)

    Quick checkFor ∑1k2\sum \frac1{k^2} the ratio ∣ak+1ak∣=k2(k+1)2\left|\frac{a_{k+1}}{a_k}\right| = \frac{k^2}{(k+1)^2} tends to 11. What does the ratio test tell you?
    Theorem B Abbott Thm 2.7.7

    Alternating series test

    If b1≥b2≥⋯≥0b_1 \ge b_2 \ge \dots \ge 0 and bk→0b_k \to 0, then ∑k=1∞(−1)k+1bk=b1−b2+b3−…\sum_{k=1}^\infty (-1)^{k+1} b_k = b_1 - b_2 + b_3 - \dots converges, and ∣S−Sn∣≤bn+1|S - S_n| \le b_{n+1}.

    In one lineIf bkb_k decreases to 00, then ∑(−1)k+1bk\sum (-1)^{k+1} b_k converges, and the error after nn terms is at most bn+1b_{n+1}.

    Why it is trueThe partial sums with an even number of terms go up, those with an odd number go down, and the gap between the two kinds is b, which shrinks to zero.

    ProofAbbott 2.7.7
    The idea: Even partial sums increase and are bounded above by S_1; odd partial sums are the even ones plus b_{2n+1} → 0, so they converge to the same limit.
    The even partial sums increase: S2n+2≥S2nS_{2n+2} \ge S_{2n}.
    Pair terms: S2n+2=S2n+(b2n+1−b2n+2)S_{2n+2} = S_{2n} + (b_{2n+1} - b_{2n+2}) and the bracket is ≥0\ge 0 since bb decreases.
    They are bounded above by S1=b1S_1 = b_1.
    S2n=b1−(b2−b3)−⋯−(b2n−2−b2n−1)−b2n≤b1S_{2n} = b_1 - (b_2 - b_3) - \dots - (b_{2n-2} - b_{2n-1}) - b_{2n} \le b_1, each bracket being non-negative.
    So S2n→LS_{2n} \to L for some LL.
    Monotone convergence theorem (1.2).
    So S2n+1→LS_{2n+1} \to L too.
    S2n+1=S2n+b2n+1S_{2n+1} = S_{2n} + b_{2n+1}, and b2n+1→0b_{2n+1} \to 0; limit laws.
    The odd partial sums decrease: S2n+1≤S2n−1S_{2n+1} \le S_{2n-1}. So S2n≤L≤S2n+1S_{2n} \le L \le S_{2n+1} for every nn: an increasing sequence stays below its limit and a decreasing one stays above it.
    S2n+1=S2n−1−(b2n−b2n+1)S_{2n+1} = S_{2n-1} - (b_{2n} - b_{2n+1}) and the bracket is ≥0\ge 0. This is needed for the error bound at the end.
    Hence Sn→LS_n \to L.
    If both the even-indexed and odd-indexed terms of a sequence tend to LL, the whole sequence does: given ε\varepsilon, take the larger of the two starting points.
    The error satisfies ∣L−Sn∣≤bn+1|L - S_n| \le b_{n+1}.
    S2nS_{2n} increases to LL and S2n+1S_{2n+1} decreases to LL, so LL lies between any SnS_n and Sn+1S_{n+1}, which differ by bn+1b_{n+1}. ■\blacksquare
    Worked example Abbott 2.7
    The alternating harmonic series: show 1−12+13−…1 - \frac12 + \frac13 - \dots converges, but not absolutely, and bound the error of S10S_{10}.

    Solution.

    1. Converges. bk=1kb_k = \frac1k decreases to 00, so the alternating series test applies. Both hypotheses hold.
    2. Not absolutely. ∑∣ak∣=∑1k\sum |a_k| = \sum \frac1k is the harmonic series, which diverges. So the convergence is conditional.
    3. Error bound. S10=0.6456…S_{10} = 0.6456\ldots and ∣S−S10∣≤b11=111=0.0909|S - S_{10}| \le b_{11} = \frac1{11} = 0.0909. Error of at most the first omitted term.

    Answer. Conditionally convergent. Its sum is ln⁡2=0.6931…\ln 2 = 0.6931\ldots (a Taylor series fact); the error of S10S_{10} is 0.04750.0475, within the bound. ■\blacksquare

    Your answerFor 1−12+13−…1 - \frac12 + \frac13 - \dots, the error after nn terms is at most 1n+1\frac1{n+1}. What is the smallest nn that guarantees an error below 0.0010.001?
    Worked example
    Classify each series as absolutely convergent, conditionally convergent or divergent: ∑kk+1\sum \frac{k}{k+1}, ∑(−1)kk\sum \frac{(-1)^k}{k}, ∑(−1)kk2\sum \frac{(-1)^k}{k^2}, ∑(−1)k\sum (-1)^k.

    Solution.

    1. Test the terms first: ∑kk+1\sum \frac{k}{k+1}. The terms tend to 11, not 00. If the terms do not tend to 00, the series diverges (nth-term test). Always do this check first because it is one line.
    2. The last series, ∑(−1)k\sum (-1)^k, fails the same test. Its terms are ±1\pm 1 and do not tend to 00. The partial sums alternate between −1-1 and 00, which agrees: no limit.
    3. Absolute values for ∑(−1)kk2\sum \frac{(-1)^k}{k^2}. ∑∣(−1)kk2∣=∑1k2\sum \left|\frac{(-1)^k}{k^2}\right| = \sum \frac1{k^2}, which converges. Comparison with the telescoping series, done earlier. Absolute convergence implies convergence.
    4. Absolute values for ∑(−1)kk\sum \frac{(-1)^k}{k}. ∑1k\sum \frac1k diverges, so it is not absolutely convergent. Harmonic series.
    5. Does it converge anyway? 1k\frac1k decreases to 00, so the alternating series test says yes. Both hypotheses of the test hold.

    Answer. ∑kk+1\sum \frac{k}{k+1} diverges; ∑(−1)kk\sum \frac{(-1)^k}{k} converges conditionally; ∑(−1)kk2\sum \frac{(-1)^k}{k^2} converges absolutely; ∑(−1)k\sum (-1)^k diverges. ■\blacksquare

    Rearrangements

    Theorem B Abbott Sec. 2.7; Rudin Thm 3.55

    Rearranging an absolutely convergent series

    Let ∑ak\sum a_k converge absolutely with sum SS, and let σ:N→N\sigma : \mathbb N \to \mathbb N be a bijection (a reordering). Then ∑aσ(j)\sum a_{\sigma(j)} converges to SS.

    In one lineIf ∑ak\sum a_k converges absolutely, every rearrangement converges to the same sum.

    Why it is trueOnly the first few terms matter for the sum up to ε; the tail is tiny in absolute value, so wherever the tail terms end up, they cannot change the total by more than ε.

    ProofRudin 3.55
    The idea: Choose N so the tail of absolute values after N is below ε. Wait until the rearranged series has used all of a_1..a_N; after that, its partial sums differ from S_N only by tail terms.
    Let ε>0\varepsilon > 0. Choose NN with ∑k>N∣ak∣<ε\sum_{k > N} |a_k| < \varepsilon and ∣S−SN∣<ε|S - S_N| < \varepsilon.
    Absolute convergence: the tails of ∑∣ak∣\sum |a_k| go to 00. Convergence of ∑ak\sum a_k: SN→SS_N \to S. Take NN large enough for both.
    Choose MM such that {1,…,N}⊆{σ(1),…,σ(M)}\{1, \dots, N\} \subseteq \{\sigma(1), \dots, \sigma(M)\}.
    σ\sigma is onto, so each of 1,…,N1, \dots, N equals σ(j)\sigma(j) for some jj; take MM larger than all these jj.
    Tn−SNT_n - S_N is a sum of distinct terms aka_k with k>Nk > N.
    For n≥Mn \ge M, the rearranged partial sum Tn=∑j≤naσ(j)T_n = \sum_{j \le n} a_{\sigma(j)} contains a1,…,aNa_1, \dots, a_N once each, plus terms with index greater than NN (each at most once, since σ\sigma is one-to-one).
    ∣Tn−SN∣≤∑k>N∣ak∣<ε|T_n - S_N| \le \sum_{k > N} |a_k| < \varepsilon.
    Triangle inequality, then the tail bound.
    ∣Tn−S∣≤∣Tn−SN∣+∣SN−S∣<2ε|T_n - S| \le |T_n - S_N| + |S_N - S| < 2\varepsilon for all n≥Mn \ge M. ■\blacksquare
    Triangle inequality through SNS_N.
    Beyond the course: for understanding· Riemann's rearrangement theorem (stated, label B)

    For conditionally convergent series the order matters completely. Riemann’s rearrangement theorem: if ∑ak\sum a_k converges conditionally, then for every real number TT (and also ±∞\pm\infty) there is a rearrangement whose sum is TT. The idea: the positive terms alone add to +∞+\infty and the negative terms to −∞-\infty (otherwise the series would converge absolutely or diverge). Take positive terms until the running total passes TT, then negative terms until it falls below TT, and repeat; since the terms tend to 00, the overshoots shrink and the total converges to TT.

    Example with the alternating harmonic series, whose sum is ln⁡2=0.693…\ln 2 = 0.693\ldots: take one positive term, then two negative terms: 1−12−14+13−16−18+…1 - \frac12 - \frac14 + \frac13 - \frac16 - \frac18 + \dots. The sum becomes 12ln⁡2=0.3466…\frac12\ln 2 = 0.3466\ldots (numerically, the first 300000 terms give 0.3465720.346572). The same terms in a different order give half the answer.

    Watch out· Why this matters

    An expression like ∑j,kajk\sum_{j,k} a_{jk} over a grid, or a product of two series, involves a choice of order. Absolute convergence is the condition that makes every order give the same answer, and the product of series below relies on it.

    Quick checkWhich series can be added in any order without changing its sum?

    Sequences of functions: pointwise versus uniform

    From here on DD is a set of real numbers and fn:D→Rf_n : D \to \mathbb R are functions.

    Definition B

    Pointwise convergence

    fn→ff_n \to f pointwise on DD if

    ∀x∈D  ∀ε>0  ∃N  ∀n>N:∣fn(x)−f(x)∣<ε.\forall x \in D\ \ \forall \varepsilon > 0\ \ \exists N\ \ \forall n > N:\quad |f_n(x) - f(x)| < \varepsilon.

    Here NN may depend on both ε\varepsilon and xx.

    In one linefn→ff_n \to f pointwise on DD if for every x∈Dx \in D the numbers fn(x)f_n(x) converge to f(x)f(x).

    Why it existsIt is the weakest, most natural notion: apply sequence convergence at each point separately.

    Definition B

    Uniform convergence

    fn→ff_n \to f uniformly on DD if

    ∀ε>0  ∃N  ∀n>N  ∀x∈D:∣fn(x)−f(x)∣<ε.\forall \varepsilon > 0\ \ \exists N\ \ \forall n > N\ \ \forall x \in D:\quad |f_n(x) - f(x)| < \varepsilon.

    Compared with pointwise convergence, the quantifier ∀x\forall x moved to the end, so NN is chosen before xx and cannot depend on it. Equivalently, sup⁡x∈D∣fn(x)−f(x)∣→0\sup_{x \in D} |f_n(x) - f(x)| \to 0.

    In one linefn→ff_n \to f uniformly on DD if for every ε>0\varepsilon > 0 there is ONE NN that works for all x∈Dx \in D at once.

    Why it existsIt is exactly what makes the graphs of f_n fit inside a thin tube around f, and it is the condition under which limits can be exchanged with continuity, integrals and derivatives.

    Why· The same quantifier lesson as uniform continuity

    In 1.3, moving “for all points” from before δ\delta to after δ\delta turned continuity into uniform continuity. Here the same move turns pointwise into uniform convergence. In both cases the stronger notion is the one theorems need, because it makes a single tolerance control the whole domain.

    Worked example Abbott Sec. 6.2
    Show xn→0x^n \to 0 pointwise on [0,1)[0, 1) but NOT uniformly, and uniformly on [0,12][0, \tfrac12].

    Solution.

    1. Pointwise. For fixed x∈[0,1)x \in [0, 1), xn→0x^n \to 0 (the geometric argument above). Each point is a separate sequence.
    2. Not uniform: negation. Uniform convergence to 00 fails if ∃ε ∀N ∃n>N ∃x: ∣xn∣≥ε\exists \varepsilon\ \forall N\ \exists n > N\ \exists x:\ |x^n| \ge \varepsilon. Negation rules of 0.1, applied to the definition.
    3. Choose ε\varepsilon and the bad points. Take ε=12\varepsilon = \frac12. For each nn let xn=(12)1/n∈(0,1)x_n = \left(\frac12\right)^{1/n} \in (0, 1). Then xnn=12≥εx_n^n = \frac12 \ge \varepsilon. We chose xnx_n so that the nn-th function equals exactly 12\frac12 there: the bad point slides to 11 as nn grows. For n=10n = 10, x10=0.933x_{10} = 0.933.
    4. Uniform on [0,12][0, \frac12]. For x∈[0,12]x \in [0, \frac12], ∣xn∣≤2−n|x^n| \le 2^{-n}, and 2−n<ε2^{-n} < \varepsilon once n>log⁡21εn > \log_2\frac1\varepsilon. This NN does not involve xx. The bound is the same for every xx in the domain, which is exactly what ‘one NN for all xx’ needs.

    Answer. Pointwise but not uniform on [0,1)[0, 1); uniform on [0,12][0, \frac12]. ■\blacksquare

    Worked example
    Decide whether fn(x)=x2nf_n(x) = \dfrac{x^2}{n} converges uniformly on [0,3][0, 3], and on R\mathbb R.

    Solution.

    1. Find the pointwise limit. For each fixed xx, x2n→0\frac{x^2}{n} \to 0. So f=0f = 0. x2x^2 is a fixed number and n→∞n \to \infty.
    2. Compute the distance to the limit, at its worst point. sup⁡x∣fn(x)−f(x)∣=sup⁡xx2n\sup_x |f_n(x) - f(x)| = \sup_x \frac{x^2}{n}. Uniform convergence means exactly that this supremum tends to 00.
    3. On [0,3][0, 3]. The largest value of x2x^2 is 99, so the supremum is 9n→0\frac9n \to 0. The bound 9n\frac{9}{n} does not depend on xx, so one NN serves all points: N>9εN > \frac9\varepsilon.
    4. On R\mathbb R. x2x^2 is unbounded, so sup⁡xx2n=∞\sup_x \frac{x^2}{n} = \infty for every nn. In particular at x=nx = n the distance is nn, which does not tend to 00. There is always a point xx, depending on nn, where fnf_n is far from 00. The bad point runs off to infinity.

    Answer. Uniform on [0,3][0, 3], not uniform on R\mathbb R (though it converges pointwise on R\mathbb R). ■\blacksquare

    Your answerOn [0,0.9][0, 0.9] the functions xnx^n converge to 00. What is sup⁡[0,0.9]∣xn∣\sup_{[0, 0.9]} |x^n| for n=10n = 10? (Give a decimal.)
    Quick checkWhich phrase describes uniform (not just pointwise) convergence?
    Theorem B Abbott Thm 6.2.6

    Uniform limit of continuous functions is continuous

    If fn→ff_n \to f uniformly on DD and each fnf_n is continuous at c∈Dc \in D, then ff is continuous at cc.

    In one lineIf each fnf_n is continuous and fn→ff_n \to f uniformly, then ff is continuous.

    Why it is trueCompare f(x) with f(y) through f_n at both points: two uniform errors and one continuity error, each given a third of the budget.

    Why· Scratch work: the epsilon over three split

    We must show ∣f(x)−f(c)∣<ε|f(x) - f(c)| < \varepsilon for xx near cc. We know three things: fnf_n is close to ff at xx (uniform convergence), fnf_n is close to ff at cc (same), and fnf_n is continuous at cc, so fn(x)f_n(x) is close to fn(c)f_n(c). Go from f(x)f(x) to fn(x)f_n(x) to fn(c)f_n(c) to f(c)f(c): three steps, each of size less than ε3\frac\varepsilon3, and the triangle inequality gives <ε<\varepsilon in total. The order of choices matters. First fix ε\varepsilon. Then use uniform convergence to fix ONE function fnf_n that is within ε3\frac\varepsilon3 of ff everywhere. Only then use the continuity of that one fnf_n to find δ\delta. Uniformity is what lets us choose nn before xx: with merely pointwise convergence, the nn that works at xx differs from the one that works at cc, and the chain breaks.

    ProofAbbott 6.2.6
    The idea: Pick one n with sup|f_n − f| < ε/3. Then |f(x) − f(c)| ≤ |f(x) − f_n(x)| + |f_n(x) − f_n(c)| + |f_n(c) − f(c)|; the outer terms are below ε/3 everywhere, the middle one for x near c by continuity of f_n.
    Let ε>0\varepsilon > 0.
    Arbitrary tolerance.
    There is nn such that ∣fn(t)−f(t)∣<ε3|f_n(t) - f(t)| < \frac\varepsilon3 for ALL t∈Dt \in D.
    Uniform convergence with tolerance ε3\frac\varepsilon3: one NN for all xx. Pick any n>Nn > N.This is where uniformity is used: n is chosen before x.
    There is δ>0\delta > 0 with ∣fn(x)−fn(c)∣<ε3|f_n(x) - f_n(c)| < \frac\varepsilon3 whenever ∣x−c∣<δ|x - c| < \delta.
    Continuity of the single function fnf_n at cc, with tolerance ε3\frac\varepsilon3.
    For ∣x−c∣<δ|x - c| < \delta: ∣f(x)−f(c)∣≤∣f(x)−fn(x)∣+∣fn(x)−fn(c)∣+∣fn(c)−f(c)∣<ε3+ε3+ε3=ε|f(x) - f(c)| \le |f(x) - f_n(x)| + |f_n(x) - f_n(c)| + |f_n(c) - f(c)| < \dfrac\varepsilon3 + \dfrac\varepsilon3 + \dfrac\varepsilon3 = \varepsilon.
    Triangle inequality along f(x)→fn(x)→fn(c)→f(c)f(x) \to f_n(x) \to f_n(c) \to f(c).
    So ff is continuous at cc.
    Definition of continuity at cc. ■\blacksquare
    Proof workshopGive the reason for each line: uniform limits of continuous functions

    Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.

    1. Let ε>0\varepsilon > 0.
    2. Choose nn with ∣fn(t)−f(t)∣<ε3|f_n(t) - f(t)| < \frac\varepsilon3 for every t∈Dt \in D.
    3. Choose δ\delta with ∣fn(x)−fn(c)∣<ε3|f_n(x) - f_n(c)| < \frac\varepsilon3 when ∣x−c∣<δ|x - c| < \delta.
    4. ∣f(x)−f(c)∣≤∣f(x)−fn(x)∣+∣fn(x)−fn(c)∣+∣fn(c)−f(c)∣|f(x) - f(c)| \le |f(x) - f_n(x)| + |f_n(x) - f_n(c)| + |f_n(c) - f(c)|
    5. <ε3+ε3+ε3=ε< \frac\varepsilon3 + \frac\varepsilon3 + \frac\varepsilon3 = \varepsilon.
    Where this came from· Cauchy's mistake, Abel's counterexample, Weierstrass's repair

    In his Cours d’analyse (1821) Cauchy stated that a convergent series of continuous functions has a continuous sum. In 1826 Niels Henrik Abel pointed out that this is false, using the series sin⁡x−12sin⁡2x+13sin⁡3x−…\sin x - \frac12\sin 2x + \frac13\sin 3x - \dots, which converges for every xx to a function with a jump at odd multiples of π\pi. The statement becomes true when “convergent” is strengthened to “uniformly convergent”. Philipp Seidel and George Stokes noticed the missing condition around 1847, and Karl Weierstrass made the idea precise and used it systematically; the M-test below carries his name. Episodes like this one are a large part of why analysis was rewritten in the careful ε\varepsilon style taught today.

    Worked example Abbott 6.2
    Why can't xnx^n on [0,1][0, 1] converge uniformly? A second proof.

    Solution.

    1. The limit. xn→fx^n \to f pointwise on [0,1][0, 1] where f(x)=0f(x) = 0 for x<1x < 1 and f(1)=1f(1) = 1. The table of the picture.
    2. Each fnf_n is continuous, but ff has a jump at 11. So ff is not continuous. The values just left of 11 are 00 and the value at 11 is 11.
    3. Apply the theorem. If the convergence were uniform, ff would be continuous. It is not. Contrapositive of the uniform limit theorem.

    Answer. The convergence is not uniform on [0,1][0, 1]. ■\blacksquare The uniform limit theorem is a way to detect failure of uniformity without finding the bad points.

    Theorem B Abbott Thm 6.4.5

    Weierstrass M-test

    Let fk:D→Rf_k : D \to \mathbb R with ∣fk(x)∣≤Mk|f_k(x)| \le M_k for all x∈Dx \in D, where ∑Mk<∞\sum M_k < \infty. Then ∑fk\sum f_k converges uniformly on DD.

    In one lineIf ∣fk(x)∣≤Mk|f_k(x)| \le M_k for all x∈Dx \in D and ∑Mk\sum M_k converges, then ∑fk\sum f_k converges uniformly (and absolutely) on DD.

    Why it is trueThe numbers M_k bound all the functions at once, so the tail of the series is small by the same amount at every x.

    ProofAbbott 6.4.5
    The idea: At each x the series converges absolutely by comparison, which defines the limit f(x). The distance from f(x) to the n-th partial sum is at most the tail of ΣM_k, a number that does not depend on x.
    For each x∈Dx \in D, ∑∣fk(x)∣\sum |f_k(x)| converges, so f(x)=∑fk(x)f(x) = \sum f_k(x) exists.
    Comparison test with MkM_k, at each fixed xx; absolute convergence implies convergence.
    ∣f(x)−∑k=1nfk(x)∣=∣∑k>nfk(x)∣≤∑k>nMk\left|f(x) - \sum_{k=1}^n f_k(x)\right| = \left|\sum_{k > n} f_k(x)\right| \le \sum_{k > n} M_k.
    Triangle inequality for the tail, then ∣fk(x)∣≤Mk|f_k(x)| \le M_k termwise.
    Given ε>0\varepsilon > 0 choose NN with ∑k>nMk<ε\sum_{k > n} M_k < \varepsilon for all n>Nn > N.
    The tail of a convergent series tends to 00, and the bound does not contain xx.This is the uniformity.
    So ∑fk→f\sum f_k \to f uniformly on DD.
    Then the distance is below ε\varepsilon for every xx at once. ■\blacksquare
    Worked example Abbott Sec. 6.4
    Show that f(x)=∑k=1∞sin⁡kxk2f(x) = \sum_{k=1}^\infty \frac{\sin kx}{k^2} is defined and continuous on all of R\mathbb R.

    Solution.

    1. Bound each term. ∣sin⁡kxk2∣≤1k2=Mk\left|\frac{\sin kx}{k^2}\right| \le \frac1{k^2} = M_k for all xx. ∣sin⁡∣≤1|\sin| \le 1.
    2. The bounds are summable. ∑1k2\sum \frac1{k^2} converges (comparison example above). This is the hypothesis of the M-test.
    3. Apply the M-test. The series converges uniformly on R\mathbb R. Weierstrass M-test.
    4. Each partial sum is continuous (a finite sum of sines), so the uniform limit ff is continuous. Uniform limit of continuous functions.

    Answer. ff is a continuous function on R\mathbb R. ■\blacksquare

    Quick checkWhy does the M-test give UNIFORM convergence and not just pointwise?

    Power series

    Definition B

    Power series

    A power series (centred at 00) is an expression ∑k=0∞ckxk\sum_{k=0}^\infty c_k x^k with real coefficients ckc_k. For each xx it is an ordinary series, which may converge or diverge.

    In one lineA series ∑k=0∞ckxk\sum_{k=0}^\infty c_k x^k whose terms are constants times powers of xx; a polynomial of infinite degree.

    Why it existsPower series are the functions you can differentiate and integrate by rules, so they are the working tool for exp, sin, cos and for solving differential equations.

    Lemma B Abbott Thm 6.5.1

    Convergence of power series (Abel's lemma)

    If ∑ckx0k\sum c_k x_0^k converges, then ∑ckxk\sum c_k x^k converges absolutely for all xx with ∣x∣<∣x0∣|x| < |x_0|.

    In one lineIf ∑ckx0k\sum c_k x_0^k converges, then ∑ckxk\sum c_k x^k converges absolutely for every ∣x∣<∣x0∣|x| < |x_0|.

    Why it is trueIf the series converges at x_0, its terms are bounded there, and then the terms at smaller x are dominated by a geometric series.

    ProofAbbott 6.5.1
    The idea: Terms tend to 0 at x_0, so they are bounded by some B; at x the terms are at most B(|x|/|x_0|)^k, a convergent geometric series.
    ckx0k→0c_k x_0^k \to 0, so ∣ckx0k∣≤B|c_k x_0^k| \le B for some BB and all kk.
    The nth-term test: a convergent series has terms tending to 00; a convergent sequence is bounded (1.2).
    For ∣x∣<∣x0∣|x| < |x_0|: ∣ckxk∣=∣ckx0k∣∣xx0∣k≤B∣xx0∣k|c_k x^k| = |c_k x_0^k|\left|\dfrac{x}{x_0}\right|^k \le B\left|\dfrac{x}{x_0}\right|^k.
    Write xk=x0k(x/x0)kx^k = x_0^k (x/x_0)^k.
    So ∑∣ckxk∣\sum |c_k x^k| converges.
    Geometric series with ratio ∣xx0∣<1\left|\frac{x}{x_0}\right| < 1, then the comparison test. ■\blacksquare
    Definition B

    Radius of convergence

    The radius of convergence of ∑ckxk\sum c_k x^k is R=sup⁡{∣x∣:∑ckxk converges}∈[0,∞]R = \sup\{|x| : \sum c_k x^k \text{ converges}\} \in [0, \infty]. By Abel’s lemma, the series converges absolutely for ∣x∣<R|x| < R (some convergence point x0x_0 has ∣x0∣>∣x∣|x_0| > |x|, by the approximation property of the supremum), and by definition it diverges for ∣x∣>R|x| > R. At x=±Rx = \pm R anything can happen.

    In one lineR=sup⁡{∣x∣:∑ckxk converges}R = \sup\{|x| : \sum c_k x^k \text{ converges}\}: the series converges absolutely for ∣x∣<R|x| < R and diverges for ∣x∣>R|x| > R.

    Why it existsIt says a power series converges on a symmetric interval around its centre, and tells you how wide, so you know where the function is defined.

    Theorem B Abbott Exercise 6.5; Rudin Thm 3.39

    Ratio formula for the radius

    Suppose ck≠0c_k \ne 0 and ∣ck+1ck∣→L∈[0,∞]\left|\dfrac{c_{k+1}}{c_k}\right| \to L \in [0, \infty]. Then R=1LR = \dfrac1L.

    In one lineIf ck≠0c_k \ne 0 and ∣ck+1ck∣→L\left|\frac{c_{k+1}}{c_k}\right| \to L, then R=1LR = \frac1L (with R=∞R = \infty if L=0L = 0 and R=0R = 0 if L=∞L = \infty).

    Why it is trueApply the ratio test to the series at a fixed x: the ratio of terms is |x| times the ratio of coefficients.

    ProofRudin 3.39
    The idea: At a fixed x ≠ 0 the ratio of consecutive terms tends to L|x|. The ratio test says converge if L|x| < 1 and diverge if L|x| > 1; that is |x| < 1/L and |x| > 1/L.
    For x≠0x \ne 0: ∣ck+1xk+1ckxk∣=∣ck+1ck∣∣x∣→L∣x∣\left|\dfrac{c_{k+1}x^{k+1}}{c_k x^k}\right| = \left|\dfrac{c_{k+1}}{c_k}\right||x| \to L|x|.
    Divide the (k+1)(k+1)-st term by the kk-th.
    If L∣x∣<1L|x| < 1, i.e. ∣x∣<1L|x| < \frac1L, the series converges absolutely.
    Ratio test, case r<1r < 1.
    If L∣x∣>1L|x| > 1, i.e. ∣x∣>1L|x| > \frac1L, the series diverges.
    Ratio test, case r>1r > 1.
    Therefore R=1LR = \frac1L.
    So the set of convergence points contains all ∣x∣<1L|x| < \frac1L and none with ∣x∣>1L|x| > \frac1L, whose supremum of ∣x∣|x| is 1L\frac1L. If L=0L = 0 every xx gives ratio 0<10 < 1, so R=∞R = \infty; if L=∞L = \infty every x≠0x \ne 0 gives ratio ∞>1\infty > 1, so R=0R = 0. ■\blacksquare
    Worked example
    Find the radius and the set of convergence for ∑xkk 3k\sum \frac{x^k}{k\,3^k}, and the radius for ∑xk\sum x^k, ∑xkk!\sum \frac{x^k}{k!}, ∑k! xk\sum k!\,x^k.

    Solution.

    1. Ratio of coefficients. For ck=1k3kc_k = \frac1{k3^k}: ∣ck+1ck∣=k⋅3k(k+1)3k+1=13⋅kk+1→13\left|\frac{c_{k+1}}{c_k}\right| = \frac{k\cdot 3^k}{(k+1)3^{k+1}} = \frac13\cdot\frac{k}{k+1} \to \frac13. Cancel 3k3^k and simplify.
    2. Radius. R=3R = 3. Ratio formula, L=13L = \frac13.
    3. The endpoints. At x=3x = 3 the series is ∑1k\sum \frac1k, which diverges. At x=−3x = -3 it is ∑(−1)kk\sum \frac{(-1)^k}{k}, which converges by the alternating series test. The ratio test gave no information at ∣x∣=R|x| = R, so test each endpoint separately.
    4. The others. ∑xk\sum x^k has L=1L = 1, R=1R = 1. ∑xkk!\sum \frac{x^k}{k!} has ratio 1k+1→0\frac1{k+1} \to 0, so R=∞R = \infty. ∑k! xk\sum k!\,x^k has ratio k+1→∞k + 1 \to \infty, so R=0R = 0 (it converges only at x=0x = 0). Ratio formula in each case.

    Answer. The first series converges exactly for −3≤x<3-3 \le x < 3. ■\blacksquare

    Your answerFind the radius of convergence of ∑k=0∞4kk+1 xk\displaystyle\sum_{k=0}^\infty \frac{4^k}{k+1}\,x^k.
    Quick checkA power series has radius of convergence R=2R = 2. What can you conclude at x=2x = 2?
    Theorem B Abbott Sec. 6.5

    Power series converge uniformly inside the radius

    If 0<r<R0 < r < R, then ∑ckxk\sum c_k x^k converges uniformly on [−r,r][-r, r], and its sum is a continuous function on (−R,R)(-R, R).

    In one lineIf 0<r<R0 < r < R, then ∑ckxk\sum c_k x^k converges uniformly on [−r,r][-r, r], so its sum is continuous on (−R,R)(-R, R).

    Why it is trueOn [-r, r] the terms are bounded by |c_k| r^k, and the series of these bounds converges because r is inside the radius; then the M-test applies.

    ProofAbbott 6.5.3
    The idea: M-test with M_k = |c_k| r^k, which sums because the series converges absolutely at r < R.
    ∑∣ck∣rk\sum |c_k| r^k converges.
    r<Rr < R, so the series converges absolutely at x=rx = r (definition of the radius).
    The M-test applies with Mk=∣ck∣rkM_k = |c_k| r^k, so the convergence is uniform on [−r,r][-r, r].
    For ∣x∣≤r|x| \le r: ∣ckxk∣≤∣ck∣rk=Mk|c_k x^k| \le |c_k| r^k = M_k.
    So the sum is continuous on (−R,R)(-R, R).
    Partial sums are polynomials, which are continuous; uniform limits of continuous functions are continuous. Every point of (−R,R)(-R, R) lies in some [−r,r][-r, r]. ■\blacksquare

    Integrating and differentiating term by term

    Theorem B Abbott Thm 6.3.1

    Integrating a uniform limit

    If each fnf_n is continuous on [a,b][a, b] and fn→ff_n \to f uniformly, then ff is continuous (hence integrable by 1.5) and ∫abfn→∫abf\int_a^b f_n \to \int_a^b f.

    In one lineIf continuous fn→ff_n \to f uniformly on [a,b][a, b], then ∫abfn→∫abf\int_a^b f_n \to \int_a^b f.

    Why it is trueThe area between f_n and f is at most the height of the uniform tube times the width b − a.

    ProofAbbott 6.3.1
    The idea: |∫f_n − ∫f| ≤ ∫|f_n − f| ≤ (b − a)·sup|f_n − f|, which tends to 0 by uniform convergence.
    ff is continuous on [a,b][a, b], so integrable.
    Uniform limit of continuous functions is continuous, and continuous functions are integrable (1.5).
    ∣∫abfn−∫abf∣=∣∫ab(fn−f)∣\left|\int_a^b f_n - \int_a^b f\right| = \left|\int_a^b (f_n - f)\right|.
    Linearity of the integral (1.5).
    For n>Nn > N: ∣∫ab(fn−f)∣≤εb−a(b−a)=ε\left|\int_a^b (f_n - f)\right| \le \dfrac{\varepsilon}{b - a}(b - a) = \varepsilon. ■\blacksquare
    Given ε>0\varepsilon > 0 choose NN with ∣fn−f∣<εb−a|f_n - f| < \frac{\varepsilon}{b - a} everywhere for n>Nn > N (uniform convergence). Then −εb−a≤fn−f≤εb−a-\frac\varepsilon{b-a} \le f_n - f \le \frac\varepsilon{b-a}, and monotonicity of the integral (1.5).
    Theorem B Abbott Thm 6.3.3

    Differentiating a uniform limit of derivatives

    Let fnf_n be differentiable on [a,b][a, b] with continuous fn′f_n'. If fn′→gf_n' \to g uniformly on [a,b][a, b] and fn(a)→cf_n(a) \to c, then fn→ff_n \to f pointwise, where ff is differentiable and f′=gf' = g.

    In one lineIf fnf_n have continuous derivatives, fn′→gf_n' \to g uniformly and fn(a)f_n(a) converges, then fn→ff_n \to f with f′=gf' = g.

    Why it is trueWrite f_n as its starting value plus the integral of its derivative; integrate the uniform limit term by term, then differentiate with the fundamental theorem.

    ProofAbbott 6.3.3 (proof via the integral)
    The idea: By the fundamental theorem part 2, f_n(x) = f_n(a) + ∫_a^x f_n'. Pass to the limit with the integration theorem to get f(x) = c + ∫_a^x g, then use part 1.
    fn(x)=fn(a)+∫axfn′(t) dtf_n(x) = f_n(a) + \int_a^x f_n'(t)\,dt for every x∈[a,b]x \in [a, b].
    Fundamental theorem of calculus, part 2, with fn′f_n' continuous (so integrable).
    ∫axfn′→∫axg\int_a^x f_n' \to \int_a^x g.
    gg is a uniform limit of continuous functions, hence continuous; the integration theorem applied on [a,x][a, x].
    So fn(x)→c+∫axg=:f(x)f_n(x) \to c + \int_a^x g =: f(x).
    Limit laws of 1.2.
    f′(x)=g(x)f'(x) = g(x).
    Fundamental theorem of calculus, part 1, since gg is continuous. ■\blacksquare
    Why· The reason for the hypothesis on derivatives

    Uniform convergence of fnf_n alone does not allow differentiating the limit. Take fn(x)=sin⁡nxnf_n(x) = \frac{\sin nx}{n}: it tends to 00 uniformly (since ∣fn∣≤1n|f_n| \le \frac1n), so the limit has derivative 00, but fn′(x)=cos⁡nxf_n'(x) = \cos nx has no limit at all. The hypothesis must be placed on the derivatives fn′f_n', as in the theorem.

    Beyond the course: for understanding· Termwise differentiation of power series (label B)

    Apply the two theorems to the partial sums of a power series whose coefficient ratios tend to LL. The derived series ∑kckxk−1\sum k c_k x^{k-1} has coefficient ratio (k+1)∣ck+1∣k∣ck∣→L\frac{(k+1)|c_{k+1}|}{k|c_k|} \to L, so it has the same radius RR. On each [−r,r][-r, r] with r<Rr < R both ∑ckxk\sum c_k x^k and ∑kckxk−1\sum k c_k x^{k-1} converge uniformly, so inside (−R,R)(-R, R): the sum f(x)=∑ckxkf(x) = \sum c_k x^k is differentiable with f′(x)=∑k≥1kckxk−1f'(x) = \sum_{k \ge 1} k c_k x^{k-1}, and ∫0xf=∑ckk+1xk+1\int_0^x f = \sum \frac{c_k}{k+1}x^{k+1}. (For general coefficients the radius is given by the Cauchy–Hadamard formula 1R=lim sup⁡∣ck∣1/k\frac1R = \limsup |c_k|^{1/k}, and the same conclusions hold.) So inside the radius a power series behaves like a polynomial that never ends.

    Worked example Abbott 6.5 style
    Find ∑k=1∞k2k\sum_{k=1}^\infty \frac{k}{2^k} by differentiating the geometric series.

    Solution.

    1. Start with the geometric series. ∑k=0∞xk=11−x\sum_{k=0}^\infty x^k = \frac1{1-x} for ∣x∣<1|x| < 1. Radius R=1R = 1.
    2. Differentiate both sides, term by term. ∑k=1∞kxk−1=1(1−x)2\sum_{k=1}^\infty k x^{k-1} = \frac1{(1-x)^2}. Allowed inside the radius of convergence, by the termwise differentiation theorem.
    3. Multiply by xx. ∑k=1∞kxk=x(1−x)2\sum_{k=1}^\infty k x^k = \frac{x}{(1-x)^2}. A constant (or a factor xx) multiplies each term.
    4. Put x=12x = \frac12. ∑k2k=1/2(1/2)2=2\sum \frac{k}{2^k} = \dfrac{1/2}{(1/2)^2} = 2. 12\frac12 is inside (−1,1)(-1, 1).

    Answer. 22. ■\blacksquare The first partial sums are 0.5,1.0,1.375,1.625,…0.5, 1.0, 1.375, 1.625, \dots, creeping to 22.

    Your answerUse the same method to find ∑k=1∞k3k\displaystyle\sum_{k=1}^\infty \frac{k}{3^k}.

    exe^x, sin⁡\sin, cos⁡\cos, and Euler’s formula

    Define, for every real xx,

    E(x)=∑k=0∞xkk!,S(x)=∑k=0∞(−1)kx2k+1(2k+1)!,C(x)=∑k=0∞(−1)kx2k(2k)!.E(x) = \sum_{k=0}^\infty \frac{x^k}{k!}, \qquad S(x) = \sum_{k=0}^\infty \frac{(-1)^k x^{2k+1}}{(2k+1)!}, \qquad C(x) = \sum_{k=0}^\infty \frac{(-1)^k x^{2k}}{(2k)!}.

    The ratio test shows each converges absolutely for every real xx (for EE the ratio is ∣x∣k+1→0\frac{|x|}{k+1} \to 0; for SS and CC it is x2(2k+2)(2k+3)\frac{x^2}{(2k+2)(2k+3)} or x2(2k+1)(2k+2)\frac{x^2}{(2k+1)(2k+2)}, also tending to 00). So R=∞R = \infty.

    Theorem B Abbott Sec. 6.6; Rudin ch. 8

    Properties of the exponential series

    For all real x,yx, y: E′(x)=E(x)E'(x) = E(x), S′(x)=C(x)S'(x) = C(x), C′(x)=−S(x)C'(x) = -S(x), E(0)=1E(0) = 1, and E(x+y)=E(x)E(y)E(x + y) = E(x)E(y).

    In one lineE′=EE' = E, S′=CS' = C, C′=−SC' = -S, and E(x+y)=E(x) E(y)E(x + y) = E(x)\,E(y), so E(x)=exE(x) = e^x with e=E(1)=2.71828…e = E(1) = 2.71828\ldots

    Why it is trueTermwise differentiation shows the series solve the differential equations that define exp, sin and cos, and the product rule for series gives the law of exponents.

    ProofAbbott Sec. 6.6; Rudin ch. 8
    The idea: Differentiate term by term: the exponent k comes down and cancels one factor in k!. The law of exponents needs the product of two absolutely convergent series (Cauchy product), proved after.
    E′(x)=∑k≥1xk−1(k−1)!=E(x)E'(x) = \sum_{k \ge 1} \dfrac{x^{k-1}}{(k-1)!} = E(x).
    Termwise differentiation inside R=∞R = \infty: ddxxkk!=kxk−1k!=xk−1(k−1)!\frac{d}{dx}\frac{x^k}{k!} = \frac{k x^{k-1}}{k!} = \frac{x^{k-1}}{(k-1)!}.
    S′=CS' = C and C′=−SC' = -S.
    The same, term by term: the derivative of (−1)kx2k+1(2k+1)!\frac{(-1)^k x^{2k+1}}{(2k+1)!} is (−1)kx2k(2k)!\frac{(-1)^k x^{2k}}{(2k)!}; the derivative of (−1)kx2k(2k)!\frac{(-1)^k x^{2k}}{(2k)!} is (−1)kx2k−1(2k−1)!\frac{(-1)^k x^{2k-1}}{(2k-1)!}, which is the term of −S-S with k−1k-1 in place of kk. These series have zero coefficients (only even or only odd powers), so the ratio formula does not apply as written. Instead use the M-test directly: on [−r,r][-r, r] every term of SS, CC and of their term-by-term derivatives is at most rnn!\frac{r^n}{n!} for the matching nn, and ∑rnn!\sum \frac{r^n}{n!} converges by the ratio test. So all of them converge uniformly on [−r,r][-r, r], and the two differentiation theorems apply.
    E(0)=1E(0) = 1, S(0)=0S(0) = 0, C(0)=1C(0) = 1.
    Put x=0x = 0 in each series: only the first term survives.
    E(x)E(y)=∑n∑j+k=nxjykj! k!=∑n(x+y)nn!=E(x+y)E(x)E(y) = \sum_n \sum_{j + k = n} \dfrac{x^j y^k}{j!\,k!} = \sum_n \dfrac{(x+y)^n}{n!} = E(x+y), by the binomial theorem. ■\blacksquare
    Cauchy product (next theorem), with aj=xjj!a_j = \frac{x^j}{j!} and bk=ykk!b_k = \frac{y^k}{k!}, both absolutely convergent. The sum over j+k=nj + k = n is 1n!∑(nj)xjyn−j\frac1{n!}\sum \binom nj x^j y^{n-j}.
    Theorem B Rudin Thm 3.50 (Cauchy product)

    Product of absolutely convergent series

    If ∑j≥0aj=A\sum_{j \ge 0} a_j = A and ∑k≥0bk=B\sum_{k \ge 0} b_k = B converge absolutely and cn=∑j=0najbn−jc_n = \sum_{j=0}^n a_j b_{n-j}, then ∑cn=AB\sum c_n = AB.

    In one lineIf ∑aj\sum a_j and ∑bk\sum b_k converge absolutely, then ∑ncn\sum_n c_n with cn=∑j+k=najbkc_n = \sum_{j+k=n} a_j b_k converges to (∑aj)(∑bk)\left(\sum a_j\right)\left(\sum b_k\right).

    Why it is trueThe partial products and the partial sums of c differ only by terms a_j b_k where j or k is large, and those are tiny in absolute value.

    ProofRudin 3.50
    The idea: A_nB_n is the sum of a_j b_k over the square j,k ≤ n, and C_n the sum over the triangle j + k ≤ n. The difference is the sum over the corner j + k > n with j, k ≤ n, where j or k exceeds n/2, so it is at most the product of a tail with the total.
    AnBn−Cn=∑j,k≤n, j+k>najbkA_nB_n - C_n = \sum_{j,k \le n,\ j + k > n} a_j b_k.
    Expand the product of partial sums: the square contains the triangle.
    Each such pair has j>n2j > \frac n2 or k>n2k > \frac n2.
    If j+k>nj + k > n then j>n2j > \frac n2 or k>n2k > \frac n2 (otherwise j+k≤nj + k \le n).
    ∣AnBn−Cn∣≤(∑j>n/2∣aj∣)β+α(∑k>n/2∣bk∣)|A_nB_n - C_n| \le \left(\sum_{j > n/2}|a_j|\right)\beta + \alpha\left(\sum_{k > n/2}|b_k|\right).
    Triangle inequality, then bound the double sum by sums over a row times a column. Let α=∑∣aj∣\alpha = \sum|a_j|, β=∑∣bk∣\beta = \sum|b_k|.
    The right side tends to 00, so Cn→ABC_n \to AB. ■\blacksquare
    Tails of convergent series tend to 00. Also AnBn→ABA_nB_n \to AB by the product law of 1.2.

    Since E(x)E(−x)=E(0)=1E(x)E(-x) = E(0) = 1, EE is never 00, and E(x)=E(x2)2>0E(x) = E(\frac x2)^2 > 0. Since E′=E>0E' = E > 0, EE is increasing. So EE is the familiar exe^x: the law of exponents gives E(n)=E(1)nE(n) = E(1)^n for whole nn and E(pq)q=E(p)=E(1)pE\left(\frac pq\right)^q = E(p) = E(1)^p for fractions, so E(x)=exE(x) = e^x at every rational xx with e=E(1)e = E(1), and a differentiable (hence continuous) function is fixed by its values on the rationals. (Also, EE is the unique function with E′=EE' = E and E(0)=1E(0) = 1; a stretch problem.) The numbers: ∑k=0101k!=2.7182818011\sum_{k=0}^{10}\frac1{k!} = 2.7182818011 against e=2.7182818285e = 2.7182818285, an error of 2.7×10−82.7 \times 10^{-8}.

    Euler’s formula

    Series with complex terms behave just as real ones do, because the complex numbers are also complete (a Cauchy sequence of complex numbers converges, by applying the real result to real and imaginary parts, since ∣Re⁡z∣,∣Im⁡z∣≤∣z∣|\operatorname{Re} z|, |\operatorname{Im} z| \le |z|), and the triangle inequality ∣z+w∣≤∣z∣+∣w∣|z + w| \le |z| + |w| holds. So everything above (absolute convergence, ratio test, Cauchy product) works verbatim, with E(z)=∑zkk!E(z) = \sum \frac{z^k}{k!} for complex zz, and E(z+w)=E(z)E(w)E(z + w) = E(z)E(w) holds by the same proof.

    The series CC and SS were defined by formulas, but cos⁡\cos and sin⁡\sin in school come from the unit circle. The next lemma shows they are the same functions. It uses one outside fact, which is taught in school calculus and not proved in this book: the circle functions satisfy sin⁡′=cos⁡\sin' = \cos, cos⁡′=−sin⁡\cos' = -\sin, sin⁡0=0\sin 0 = 0, cos⁡0=1\cos 0 = 1.

    Lemma B new

    The series C and S are cosine and sine

    Assume the school facts above. Then C=cos⁡C = \cos and S=sin⁡S = \sin on R\mathbb R.

    In one lineFor every real xx, C(x)=cos⁡xC(x) = \cos x and S(x)=sin⁡xS(x) = \sin x, where cos⁡\cos and sin⁡\sin are the unit-circle functions.

    Why it is trueTwo pairs of functions that start at the same values and obey the same differential equations cannot drift apart, because the quantity u squared plus v squared for their differences has derivative zero.

    Proofnew
    The idea: Look at the differences u = C − cos and v = S − sin. They start at 0, and u' = −v, v' = u. Then u² + v² has derivative 0, so it stays 0.
    Let u=C−cos⁡u = C - \cos and v=S−sin⁡v = S - \sin.
    Define the differences. Both C,SC, S (from the previous theorem) and cos⁡,sin⁡\cos, \sin (school fact) are differentiable.
    Then u′=−vu' = -v and v′=uv' = u.
    C′=−SC' = -S and cos⁡′=−sin⁡\cos' = -\sin, so u′=−S+sin⁡=−vu' = -S + \sin = -v. Also S′=CS' = C and sin⁡′=cos⁡\sin' = \cos, so v′=C−cos⁡=uv' = C - \cos = u.
    u(0)=0u(0) = 0 and v(0)=0v(0) = 0.
    Put x=0x = 0: C(0)=1=cos⁡0C(0) = 1 = \cos 0 and S(0)=0=sin⁡0S(0) = 0 = \sin 0.
    Let w=u2+v2w = u^2 + v^2. Then w′=2uu′+2vv′=−2uv+2vu=0w' = 2uu' + 2vv' = -2uv + 2vu = 0.
    Product and chain rules: (u2)′=2uu′(u^2)' = 2uu' and (v2)′=2vv′(v^2)' = 2vv'. Then substitute step 2.This is the idea: find a quantity that cannot change. It is like energy in physics.
    So ww is constant, and w(0)=0w(0) = 0. Hence u2+v2=0u^2 + v^2 = 0 for every xx.
    A function with zero derivative on an interval is constant (1.4, a corollary of the mean value theorem).
    So u=0u = 0 and v=0v = 0, that is C=cos⁡C = \cos and S=sin⁡S = \sin. ■\blacksquare
    A sum of two squares of real numbers is 00 only if each is 00.
    Theorem B Euler 1748; Rudin ch. 8

    Euler's formula via power series

    For every real θ\theta: E(iθ)=C(θ)+i S(θ)E(i\theta) = C(\theta) + i\,S(\theta). Since CC and SS are the cosine and sine series, eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta. In particular eiπ=−1e^{i\pi} = -1.

    In one lineeiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta for every real θ\theta, where ez=∑zk/k!e^{z} = \sum z^k/k!.

    Why it is trueThe powers of i cycle through 1, i, -1, -i, which sorts the exponential series into the series of cosine (even powers) and sine (odd powers).

    ProofEuler 1748; Rudin ch. 8
    The idea: Put z = iθ in the series and sort the terms by the remainder of the exponent mod 4. The partial sum with an odd number of terms splits exactly into a cosine partial sum and i times a sine partial sum.
    The term (iθ)nn!\frac{(i\theta)^n}{n!} equals (−1)kθ2k(2k)!\frac{(-1)^k\theta^{2k}}{(2k)!} for n=2kn = 2k and i (−1)kθ2k+1(2k+1)!i\,\frac{(-1)^k\theta^{2k+1}}{(2k+1)!} for n=2k+1n = 2k + 1.
    i2=−1i^2 = -1, i3=−ii^3 = -i, i4=1i^4 = 1, then the cycle repeats: i2k=(−1)ki^{2k} = (-1)^k and i2k+1=(−1)kii^{2k+1} = (-1)^k i.
    The partial sum is ∑n≤2m+1(iθ)nn!=∑k=0m(−1)kθ2k(2k)!+i∑k=0m(−1)kθ2k+1(2k+1)!\sum_{n \le 2m+1}\dfrac{(i\theta)^n}{n!} = \sum_{k=0}^{m}\dfrac{(-1)^k\theta^{2k}}{(2k)!} + i\sum_{k=0}^{m}\dfrac{(-1)^k\theta^{2k+1}}{(2k+1)!}.
    Finite sums can be regrouped freely: add the first 2m+22m + 2 terms (n=0,…,2m+1n = 0, \dots, 2m+1), even ones together and odd ones together.
    Letting m→∞m \to \infty: E(iθ)=C(θ)+i S(θ)E(i\theta) = C(\theta) + i\,S(\theta).
    The left side tends to E(iθ)E(i\theta), a subsequence of the convergent partial sums (1.2); the sums on the right tend to C(θ)C(\theta) and S(θ)S(\theta) by their own convergence; limit laws of 1.2. No rearrangement of an infinite series was needed.
    So eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta. With θ=π\theta = \pi: eiπ=−1+0⋅i=−1e^{i\pi} = -1 + 0\cdot i = -1. ■\blacksquare
    The lemma just proved: C=cos⁡C = \cos and S=sin⁡S = \sin.

    The identification of CC and SS with the school cos⁡\cos and sin⁡\sin is the lemma just before the theorem; its only outside input is the school fact that the geometric sin⁡\sin and cos⁡\cos have derivatives cos⁡\cos and −sin⁡-\sin. This is the proof promised in 0.6, and the multiplication rule there, reiα⋅seiβ=rs ei(α+β)re^{i\alpha}\cdot se^{i\beta} = rs\,e^{i(\alpha+\beta)}, is the law of exponents E(z+w)=E(z)E(w)E(z + w) = E(z)E(w) proved above.

    Worked example
    Use the series to compute eiπ/2e^{i\pi/2}, and to compute sin⁡(0.5)\sin(0.5) with an error bound.

    Solution.

    1. Euler’s formula. eiπ/2=cos⁡π2+isin⁡π2=0+i=ie^{i\pi/2} = \cos\frac\pi2 + i\sin\frac\pi2 = 0 + i = i. Substitute θ=π2\theta = \frac\pi2.
    2. Check with the law of exponents. (eiπ/2)2=eiπ=−1=i2\left(e^{i\pi/2}\right)^2 = e^{i\pi} = -1 = i^2. E(z+w)=E(z)E(w)E(z + w) = E(z)E(w) with z=w=iπ2z = w = i\frac\pi2.
    3. Series for sin⁡0.5\sin 0.5. S(0.5)≈0.5−0.536+0.55120=0.5−0.0208333+0.0002604=0.4794271S(0.5) \approx 0.5 - \frac{0.5^3}{6} + \frac{0.5^5}{120} = 0.5 - 0.0208333 + 0.0002604 = 0.4794271. Three terms of the sine series.
    4. Error bound. The series alternates with decreasing terms, so the error is at most the next term, 0.575040=1.55×10−6\frac{0.5^7}{5040} = 1.55 \times 10^{-6}. The true value is 0.47942550.4794255, an error of 1.54×10−61.54 \times 10^{-6}. Alternating series test error bound.

    Answer. eiπ/2=ie^{i\pi/2} = i, and sin⁡0.5=0.47943\sin 0.5 = 0.47943 to five places from three terms. ■\blacksquare

    Where it is used

    Used inside maths· Inside maths: solving equations, analytic functions, Fourier series

    To solve y′=yy' = y, try y=∑ckxky = \sum c_k x^k. Differentiating term by term (allowed inside the radius) gives ∑kckxk−1=∑ckxk\sum k c_k x^{k-1} = \sum c_k x^k, so (k+1)ck+1=ck(k+1)c_{k+1} = c_k and ck=c0k!c_k = \frac{c_0}{k!}: the series for exe^x appears without being guessed. The same method solves many differential equations of MATH 376. A function that equals its power series near every point is called analytic; complex analysis shows that complex-differentiable functions are always analytic, and the radius of convergence is the distance to the nearest singularity. The uniform limit theorem is the reason why the Fourier series of a function with a jump cannot converge uniformly (Abel’s example), which leads to the notion of convergence used in the next application.

    Used in the real world· Real world: calculators, signal processing, and the number e

    Calculators and floating point. A calculator reduces the angle to [−π4,π4][-\frac\pi4, \frac\pi4] and then sums a Taylor polynomial. For sin⁡(π4)\sin(\frac\pi4), three terms plus one more give 0.707106470.70710647 against the true 0.707106780.70710678; the error 3.1×10−73.1 \times 10^{-7} is just below the first omitted term x99!=3.13×10−7\frac{x^9}{9!} = 3.13 \times 10^{-7}, as the alternating series test predicts. A double-precision number near 0.70.7 has spacing about 1.1×10−161.1 \times 10^{-16} between neighbours, and the first omitted term x1717!\frac{x^{17}}{17!} at x=π4x = \frac\pi4 is 4.6×10−174.6 \times 10^{-17}, below that. So eight terms of the sine series (through x15x^{15}) suffice for full double precision on that interval (real libraries use polynomials tuned slightly differently, but the series explains the degree).

    Signal processing. The sawtooth f(x)=xf(x) = x on (−π,π)(-\pi, \pi) has the Fourier series 2∑k≥1(−1)k+1ksin⁡kx2\sum_{k \ge 1}\frac{(-1)^{k+1}}{k}\sin kx. It cannot converge uniformly, because the sum would be continuous but ff jumps between π\pi and −π-\pi at the ends of the period. It converges in energy: the squared error after nn terms is ∫∣f−Sn∣2=4π∑k>n1k2\int |f - S_n|^2 = 4\pi\sum_{k > n}\frac1{k^2}, which is 1.1961.196 for n=10n = 10 and 0.1250.125 for n=100n = 100, out of a total energy ∫f2=2π33=20.67\int f^2 = \frac{2\pi^3}{3} = 20.67. So 10 harmonics already capture 94%94\% of the energy and 100 capture 99.4%99.4\%. The mean-square sense of convergence is made precise in 2.9, inner products of functions.

    Compound interest and ee. One unit of money at 100%100\% annual interest compounded nn times a year grows to (1+1n)n\left(1 + \frac1n\right)^n: 22 for yearly, 2.61302.6130 monthly, 2.71462.7146 daily, and in the limit of continuous compounding e=∑1k!=2.7183e = \sum\frac1{k!} = 2.7183. The series converges so fast (the terms up to 110!\frac1{10!} give 2.71828182.7182818, eight correct digits) that it is how ee is computed in practice.

    Traps

    Watch out· Terms tending to zero does not make a series converge

    1k→0\frac1k \to 0 and ∑1k\sum\frac1k diverges. The nth-term test only proves divergence: if ak↛0a_k \not\to 0, the series diverges; if ak→0a_k \to 0, no conclusion.

    Watch out· Do not rearrange conditionally convergent series

    The alternating harmonic series sums to ln⁡2\ln 2 in its usual order and to 12ln⁡2\frac12\ln 2 in the order one positive, two negative. Reordering, regrouping infinite sums or swapping the order of a double sum is safe only for absolutely convergent series.

    Watch out· Ratio of 1 means the ratio test is silent

    ∑1k\sum\frac1k and ∑1k2\sum\frac1{k^2} both have ratio tending to 11, and one diverges while the other converges. Use another test.

    Watch out· Pointwise limits can destroy continuity, integrals and derivatives

    For fn(x)=xnf_n(x) = x^n, the limit of the continuous functions is discontinuous. For tent functions fnf_n of height nn on [0,1n][0, \frac1n] (zero elsewhere), fn→0f_n \to 0 pointwise but ∫01fn=12\int_0^1 f_n = \frac12 for every nn, so lim⁡∫fn≠∫lim⁡fn\lim\int f_n \ne \int\lim f_n. For fn=sin⁡nxnf_n = \frac{\sin nx}{n}, fn→0f_n \to 0 but fn′f_n' does not converge. All three are repaired by uniform convergence (of the function, or of the derivatives).

    Watch out· At the endpoints of the interval of convergence, check separately

    The radius gives convergence for ∣x∣<R|x| < R and divergence for ∣x∣>R|x| > R, nothing at ∣x∣=R|x| = R. The series ∑xkk\sum\frac{x^k}{k} has R=1R = 1, diverges at x=1x = 1 and converges at x=−1x = -1.

    Problems

    check

    Does ∑k=1∞kk+1\sum_{k=1}^\infty \frac{k}{k+1} converge?

    Solution

    No. The terms kk+1→1≠0\frac{k}{k+1} \to 1 \ne 0, so by the nth-term test the series diverges.

    check

    Is ∑(−1)kk\sum\frac{(-1)^k}{k} absolutely convergent, conditionally convergent, or divergent?

    Solution

    Conditionally convergent: the alternating series test gives convergence, but ∑∣(−1)kk∣=∑1k\sum\left|\frac{(-1)^k}{k}\right| = \sum\frac1k diverges.

    check

    Let fn(x)=xnf_n(x) = \frac xn. Find the pointwise limit on R\mathbb R. Is the convergence uniform on R\mathbb R? On [−5,5][-5, 5]?

    Solution

    The pointwise limit is f=0f = 0, since xn→0\frac xn \to 0 for each fixed xx. On R\mathbb R it is not uniform: sup⁡x∣xn∣=∞\sup_x\left|\frac xn\right| = \infty (take x=nx = n, giving 11 for every nn). On [−5,5][-5, 5] it is uniform: sup⁡∣xn∣=5n→0\sup\left|\frac xn\right| = \frac5n \to 0.

    use

    Use the ratio test on ∑k!kk\sum\frac{k!}{k^k}.

    Solution

    ak+1ak=(k+1)!(k+1)k+1⋅kkk!=kk(k+1)k=(1+1k)−k→1e=0.368<1\dfrac{a_{k+1}}{a_k} = \dfrac{(k+1)!}{(k+1)^{k+1}}\cdot\dfrac{k^k}{k!} = \dfrac{k^k}{(k+1)^k} = \left(1 + \dfrac1k\right)^{-k} \to \dfrac1e = 0.368 < 1 (using (1+1k)k→e(1 + \frac1k)^k \to e). So the series converges. (Numerically the ratio at k=100k = 100 is 0.36970.3697.)

    use

    Find the radius of convergence and the exact set of convergence of ∑xkk2\sum\frac{x^k}{k^2}.

    Solution

    Coefficient ratio k2(k+1)2→1\frac{k^2}{(k+1)^2} \to 1, so R=1R = 1. At x=±1x = \pm1 the series is ∑(±1)kk2\sum\frac{(\pm1)^k}{k^2}, which converges absolutely (comparison with ∑1k2\sum\frac1{k^2}). So the set of convergence is [−1,1][-1, 1].

    use

    Find ∑k=1∞1k(k+1)\sum_{k=1}^\infty\frac1{k(k+1)} and ∑k=0∞(−12)k\sum_{k=0}^\infty\left(-\frac12\right)^k.

    Solution

    First: 1k(k+1)=1k−1k+1\frac1{k(k+1)} = \frac1k - \frac1{k+1}, so Sn=1−1n+1→1S_n = 1 - \frac1{n+1} \to 1. Second: geometric series with r=−12r = -\frac12: 11−(−1/2)=23\frac1{1 - (-1/2)} = \frac23.

    use

    Show that ∑k=1∞cos⁡kxk2\sum_{k=1}^\infty\frac{\cos kx}{k^2} converges uniformly on R\mathbb R to a continuous function.

    Solution

    ∣cos⁡kxk2∣≤1k2\left|\frac{\cos kx}{k^2}\right| \le \frac1{k^2}, and ∑1k2\sum\frac1{k^2} converges, so the M-test gives uniform convergence. The partial sums are continuous, so the limit is continuous.

    proveAbbott Sec. 2.7 (p-series)

    Prove that ∑1kp\sum\frac1{k^p} converges if p>1p > 1 and diverges if p≤1p \le 1.

    Solution

    If p≤1p \le 1: 1kp≥1k\frac1{k^p} \ge \frac1k for k≥1k \ge 1, so the series diverges by comparison with the harmonic series. If p>1p > 1: group the terms in blocks 2j≤k<2j+12^j \le k < 2^{j+1}. The block has 2j2^j terms, each at most 12jp\frac1{2^{jp}}, so it adds to at most 2j⋅2−jp=(21−p)j2^j\cdot 2^{-jp} = \left(2^{1-p}\right)^j. Since p>1p > 1, 21−p<12^{1-p} < 1, and these block bounds form a convergent geometric series. Every partial sum is at most the sum of finitely many block bounds, which is bounded; the terms are positive, so the partial sums increase and are bounded, and the series converges by monotone convergence.

    prove

    Prove that for an alternating series with bkb_k decreasing to 00, the sum SS lies between any two consecutive partial sums, and hence ∣S−Sn∣≤bn+1|S - S_n| \le b_{n+1}.

    Solution

    Even partial sums increase to SS and odd ones decrease to SS (proof of the alternating series test). So for each nn, SS is between SnS_n and Sn+1S_{n+1} (one is even-indexed, the other odd-indexed). Then ∣S−Sn∣≤∣Sn+1−Sn∣=bn+1|S - S_n| \le |S_{n+1} - S_n| = b_{n+1}.

    proveAbbott Sec. 6.2

    Prove: fn→ff_n \to f uniformly on DD if and only if sup⁡x∈D∣fn(x)−f(x)∣→0\sup_{x\in D}|f_n(x) - f(x)| \to 0 (when each supremum is finite).

    Solution

    Let sn=sup⁡D∣fn−f∣s_n = \sup_D|f_n - f|. (⇒\Rightarrow) Given ε\varepsilon, uniform convergence gives NN with ∣fn(x)−f(x)∣<ε2|f_n(x) - f(x)| < \frac\varepsilon2 for all xx and all n>Nn > N. So sn≤ε2<εs_n \le \frac\varepsilon2 < \varepsilon, that is sn→0s_n \to 0. (⇐\Leftarrow) Given ε\varepsilon, there is NN with sn<εs_n < \varepsilon for n>Nn > N; then ∣fn(x)−f(x)∣≤sn<ε|f_n(x) - f(x)| \le s_n < \varepsilon for every xx. (The ε2\frac\varepsilon2 in the first part is needed because a supremum of values below ε\varepsilon may equal ε\varepsilon.)

    proveAbbott Sec. 6.2 exercises

    Prove: if fn→ff_n \to f uniformly on DD and every fnf_n is uniformly continuous on DD, then ff is uniformly continuous on DD.

    Solution

    Let ε>0\varepsilon > 0. Choose nn with ∣fn−f∣<ε3|f_n - f| < \frac\varepsilon3 on all of DD. Since fnf_n is uniformly continuous there is one δ\delta with ∣fn(x)−fn(y)∣<ε3|f_n(x) - f_n(y)| < \frac\varepsilon3 whenever ∣x−y∣<δ|x - y| < \delta (x,y∈Dx, y \in D). For such x,yx, y: ∣f(x)−f(y)∣≤∣f(x)−fn(x)∣+∣fn(x)−fn(y)∣+∣fn(y)−f(y)∣<ε|f(x) - f(y)| \le |f(x) - f_n(x)| + |f_n(x) - f_n(y)| + |f_n(y) - f(y)| < \varepsilon. This δ\delta does not depend on the points, so ff is uniformly continuous.

    prove

    Prove that ∑xk\sum x^k converges uniformly on [−r,r][-r, r] for each r<1r < 1 but not on (−1,1)(-1, 1).

    Solution

    On [−r,r][-r, r]: ∣xk∣≤rk|x^k| \le r^k and ∑rk\sum r^k converges, so the M-test gives uniform convergence. On (−1,1)(-1, 1): the limit is 11−x\frac1{1-x} and the partial sum is 1−xn+11−x\frac{1 - x^{n+1}}{1-x}, so the error is xn+11−x\frac{x^{n+1}}{1-x}. For fixed nn the error tends to ∞\infty as x→1−x \to 1^- (the numerator tends to 11 and the denominator to 00), so sup⁡(−1,1)∣xn+11−x∣=∞\sup_{(-1,1)}\left|\frac{x^{n+1}}{1-x}\right| = \infty and does not tend to 00. Not uniform. (Another proof: the partial sums are continuous and bounded on (−1,1)(-1,1) but the limit 11−x\frac1{1-x} is unbounded there, and a uniform limit of bounded functions is bounded.)

    prove

    Prove that the limit function in f(x)=∑k=0∞xkk!f(x) = \sum_{k=0}^\infty\frac{x^k}{k!} satisfies f(x)>0f(x) > 0 for all real xx and ff is strictly increasing.

    Solution

    By the law of exponents, f(x)f(−x)=f(0)=1f(x)f(-x) = f(0) = 1, so f(x)≠0f(x) \ne 0 for every xx. Also f(x)=f(x2)2≥0f(x) = f(\frac x2)^2 \ge 0 and it is not 00, hence f(x)>0f(x) > 0. Differentiating term by term, f′=f>0f' = f > 0, so ff is strictly increasing (by the mean value theorem, a function with positive derivative is strictly increasing).

    stretchRudin Exercise 3.50 style (Cauchy product of conditionally convergent series)

    Let ak=(−1)kka_k = \frac{(-1)^k}{\sqrt k} for k≥1k \ge 1. Show that ∑ak\sum a_k converges, but its Cauchy product with itself, cn=∑j=1n−1ajan−jc_n = \sum_{j=1}^{n-1}a_j a_{n-j}, diverges. So absolute convergence in the product theorem cannot simply be dropped.

    Solution

    Convergence: the alternating series test with bk=1kb_k = \frac1{\sqrt k} decreasing to 00. Product: cn=(−1)n∑j=1n−11j(n−j)c_n = (-1)^n\sum_{j=1}^{n-1}\frac1{\sqrt{j(n-j)}}. For 1≤j≤n−11 \le j \le n-1, j(n−j)≤n24j(n-j) \le \frac{n^2}{4} (AM-GM), so each term is at least 2n\frac2n, and there are n−1n - 1 terms. So ∣cn∣≥2(n−1)n≥1|c_n| \ge \frac{2(n-1)}{n} \ge 1 for n≥2n \ge 2. Thus cn↛0c_n \not\to 0, and ∑cn\sum c_n diverges by the nth-term test.

    stretchAbbott Sec. 6.6

    Let yy be differentiable on R\mathbb R with y′=yy' = y and y(0)=1y(0) = 1. Prove y(x)=exy(x) = e^x (where ex=E(x)e^x = E(x) is the power series).

    Solution

    Let g(x)=y(x)E(−x)g(x) = y(x)E(-x). Then g′(x)=y′(x)E(−x)−y(x)E′(−x)=y(x)E(−x)−y(x)E(−x)=0g'(x) = y'(x)E(-x) - y(x)E'(-x) = y(x)E(-x) - y(x)E(-x) = 0 (product and chain rule, E′=EE' = E). So gg is constant (mean value theorem), and g(0)=y(0)E(0)=1g(0) = y(0)E(0) = 1. So y(x)E(−x)=1y(x)E(-x) = 1. Multiply by E(x)E(x) and use E(x)E(−x)=1E(x)E(-x) = 1: y(x)=E(x)y(x) = E(x).

    Summary

    • Series are limits of partial sums. Geometric series: ∑rk=11−r\sum r^k = \frac1{1-r} for ∣r∣<1|r| < 1. Terms tending to 00 is necessary, not sufficient (harmonic series, Oresme).
    • Tests: comparison (increasing partial sums, bounded by the bigger series), ratio (compare with a geometric series; silent at r=1r = 1), alternating (even sums up, odd sums down, error at most the next term).
    • Absolute convergence implies convergence (Cauchy criterion plus the triangle inequality) and allows any rearrangement. Conditionally convergent series can be rearranged to any sum (Riemann).
    • Pointwise versus uniform: uniform means one NN for all xx (sup⁡∣fn−f∣→0\sup|f_n - f| \to 0). A uniform limit of continuous functions is continuous (the ε3\frac\varepsilon3 proof); xnx^n on [0,1][0, 1] shows pointwise is not enough.
    • Weierstrass M-test: bound ∣fk∣≤Mk|f_k| \le M_k with ∑Mk<∞\sum M_k < \infty and the series converges uniformly.
    • Power series have a radius R=1LR = \frac1L (ratio formula), converge uniformly inside, and can be integrated and differentiated term by term there (via uniform convergence and the fundamental theorem).
    • exe^x, sin⁡\sin, cos⁡\cos are power series with R=∞R = \infty; E′=EE' = E and E(z+w)=E(z)E(w)E(z + w) = E(z)E(w) (Cauchy product), and Euler’s formula eiθ=cos⁡θ+isin⁡θe^{i\theta} = \cos\theta + i\sin\theta follows by sorting the series by powers of ii.

    Watch and read

    The same ideas explained by someone else. Use these when an explanation here does not land.

    Where this sits

    Comes from
    1.2 Sequences and limits, from zero
    1.3 Limits and continuity with epsilon and delta
    1.5 The Riemann integral: area as a limit
    Leads to
    2.9 Inner products, orthogonality, Gram–Schmidt, projection
    Same idea elsewhere
    JEE / CBSE: You used $e^x = 1 + x + \frac{x^2}{2!} + \dots$, the series of $\sin$ and $\cos$, and the sum of a geometric progression to infinity, all by rule. This chapter says when such sums exist, and why differentiating them term by term is allowed.
    MATH 376: Power series solutions of differential equations (Apostol Vol. 1, ch. 11) and the convergence of Picard iterates are uniform convergence arguments.
    MATH 431: Moment generating functions, $E[e^{tX}] = \sum t^k E[X^k]/k!$, and the series for $P(X = k)$ in the Poisson and geometric distributions.
    MATH 521: 521 proves the ratio and alternating series tests, the Weierstrass M-test, and the theorems on uniform limits. Rearrangement of conditionally convergent series is a standard 521 example.