Mathematical Methods Handbook

Sequences and series

Convergence of sequences, series and series of functions, and the expansions built on them.

In this chapter 7

Tick a unit to add it to your PDF basket.

  1. Convergence of sequences and series
  2. Series of functions

Convergence of sequences and series

3

Definition

Limits of sequences and completeness

Adapted

The definitions of a convergent sequence, a Cauchy sequence and a complete space, together with the three facts about real sequences used everywhere later: the Cauchy criterion, monotone convergence, and the existence of limsup and liminf.

NoteOriginal

What it means. Convergence asks for a limit to be named; the Cauchy condition asks only that the terms crowd together, which is something you can check without knowing the answer. Completeness is the statement that in this space the second test never lies, and it is what makes R\mathbb{R} usable for analysis. Monotone convergence is the cheapest way to produce a limit (bound a monotone quantity and you are done), and lim sup⁡\limsup and lim inf⁡\liminf are the fallback when a sequence need not converge: they always exist, so one can argue with them and only afterwards show that they agree.

Definition(Convergent sequence)AdaptedAdapted from Kreyszig (1978), §1.4, Def. 1.4-1 and Lemma 1.4-2, pp. 25–26; Reed & Simon (1980), §I.2, p. 5

Let (X,d)(X, d) be a metric space and let (xn)n∈N(x_n)_{n \in \mathbb{N}} be a sequence of points of XX. The sequence converges to x∈Xx \in X when d(xn,x)→0d(x_n, x) \to 0; written out, each ε>0\varepsilon > 0 has an index N∈NN \in \mathbb{N}, which may depend on ε\varepsilon, such that d(xn,x)<εd(x_n, x) < \varepsilon at every n>Nn > N. Such an xx is unique if it exists, and is called the limit, written xn→xx_n \to x or lim⁡n→∞xn=x\lim_{n\to\infty} x_n = x. A sequence with no limit in XX is divergent. Throughout, R\mathbb{R} and C\mathbb{C} carry the metric d(x,y)=∣x−y∣d(x,y) = \lvert x - y\rvert, for which this is the notion of convergence used in calculus.

Definition(Cauchy sequence, complete space)AdaptedAdapted from Kreyszig (1978), §1.4, Def. 1.4-3, p. 28; Reed & Simon (1980), §I.2, pp. 5–8

Call (xn)(x_n) in (X,d)(X,d) a Cauchy sequence when its terms eventually crowd together: each ε>0\varepsilon > 0 admits an index NN beyond which d(xm,xn)<εd(x_m, x_n) < \varepsilon holds for every pair m,n>Nm, n > N. Only the terms enter this condition; no candidate limit is mentioned.

Every convergent sequence is Cauchy, since d(xn,x)<ε/2d(x_n,x) < \varepsilon/2 for n>Nn > N gives d(xm,xn)≤d(xm,x)+d(x,xn)<εd(x_m,x_n) \le d(x_m,x) + d(x,x_n) < \varepsilon for m,n>Nm,n > N. The space (X,d)(X,d) is complete when the converse holds throughout it, so that each of its Cauchy sequences has a limit lying in XX.

Definition(Supremum, monotone sequences, limsup and liminf)AdaptedAdapted from Kreyszig (1978), App. A1.6, pp. 619–620; Folland (1999), §0.5, pp. 10–11

A non-empty set E⊆RE \subseteq \mathbb{R} that is bounded above has a least upper bound sup⁡E∈R\sup E \in \mathbb{R}, and one bounded below has a greatest lower bound inf⁡E\inf E; this least-upper-bound property is the order-theoretic form of the completeness of R\mathbb{R}. In the extended reals R‾=R∪{−∞,+∞}\overline{\mathbb{R}} = \mathbb{R} \cup \{-\infty, +\infty\} every subset has a supremum and an infimum, with sup⁡E=+∞\sup E = +\infty when EE is unbounded above and inf⁡E=−∞\inf E = -\infty when it is unbounded below.

A real sequence (xn)(x_n) is bounded if {xn:n∈N}\{x_n : n \in \mathbb{N}\} is bounded above and below, non-decreasing if xn≤xn+1x_n \le x_{n+1} for every nn, and non-increasing if xn+1≤xnx_{n+1} \le x_n for every nn; it is monotone if it is one of these. Its limit superior and limit inferior are

lim sup⁡n→∞xn=inf⁡k≥1 sup⁡n≥kxn,lim inf⁡n→∞xn=sup⁡k≥1 inf⁡n≥kxn,\limsup_{n\to\infty} x_n = \inf_{k \ge 1} \ \sup_{n \ge k} x_n , \qquad \liminf_{n\to\infty} x_n = \sup_{k \ge 1} \ \inf_{n \ge k} x_n ,

both computed in R‾\overline{\mathbb{R}}. They exist for every real sequence, since k↦sup⁡n≥kxnk \mapsto \sup_{n \ge k} x_n is non-increasing and k↦inf⁡n≥kxnk \mapsto \inf_{n \ge k} x_n is non-decreasing.

Definition(Cauchy criterion in R\mathbb{R} and C\mathbb{C})AdaptedAdapted from Kreyszig (1978), §1.4, Thm 1.4-4, p. 28 and App. A1.7, Cauchy convergence theorem, p. 621

A real sequence has a limit precisely when it is Cauchy, and the same holds for a complex sequence: ∣xm−xn∣\lvert x_m - x_n \rvert can be forced below any prescribed ε>0\varepsilon > 0 for all large mm and nn exactly when the sequence converges. Equivalently, R\mathbb{R} and C\mathbb{C} with d(x,y)=∣x−y∣d(x,y) = \lvert x-y \rvert are complete metric spaces.

Idea of the proof(Cauchy criterion)Original

The condition does two jobs. It confines the sequence: once all late terms are within 11 of each other they are within 11 of one fixed term, so the sequence is bounded. Boundedness, through the least-upper-bound property, produces a point approached by infinitely many terms — the Bolzano–Weierstrass theorem, which we prove here by halving an interval repeatedly, since the map carries it in no unit that precedes this one. The Cauchy condition then does its second job: a term far out is close to the terms of that subsequence, which are close to the point, so the whole sequence converges. The complex case reduces to the real one by taking real and imaginary parts.

Proof(Cauchy criterion)AdaptedAdapted from Kreyszig (1978), App. A1.7, p. 621, with App. A1.6, pp. 619–620

Necessity is the implication recorded with the definition above, which used only the triangle inequality. We prove sufficiency, first for a real Cauchy sequence (xn)(x_n).

Step 1: a Cauchy sequence is bounded. Take ε=1\varepsilon = 1 in the Cauchy condition: some NN has ∣xm−xn∣<1\lvert x_m - x_n\rvert < 1 for all m,n>Nm, n > N. Holding n=N+1n = N+1 fixed, ∣xm∣≤∣xN+1∣+1\lvert x_m \rvert \le \lvert x_{N+1}\rvert + 1 for every m>Nm > N. The remaining indices 1,…,N1, \dots, N are finite in number, so

C=max⁡{∣x1∣,…,∣xN∣, ∣xN+1∣+1}C = \max\bigl\{ \lvert x_1\rvert, \dots, \lvert x_N\rvert, \ \lvert x_{N+1}\rvert + 1 \bigr\}

is a real number and ∣xn∣≤C\lvert x_n \rvert \le C for every nn.

Step 2 (lemma: Bolzano–Weierstrass on the line). A real sequence with ∣xn∣≤C\lvert x_n\rvert \le C for all nn has a subsequence converging to a point of [−C,C][-C, C]. Set [a0,b0]=[−C,C][a_0, b_0] = [-C, C], an interval containing xnx_n for infinitely many nn — indeed for all of them. Given an interval [ak,bk][a_k, b_k] with that property, cut it at its midpoint: the indices nn with xn∈[ak,bk]x_n \in [a_k,b_k] split between the two closed halves, and two finite sets cannot have an infinite union, so at least one half contains xnx_n for infinitely many nn. Name it [ak+1,bk+1][a_{k+1}, b_{k+1}]. By construction ak≤ak+1≤bk+1≤bka_k \le a_{k+1} \le b_{k+1} \le b_k and bk−ak=21−kCb_k - a_k = 2^{1-k}C.

The set {ak:k≥0}\{a_k : k \ge 0\} is non-empty and bounded above by b0b_0, so the least-upper-bound property gives α=sup⁡kak∈R\alpha = \sup_k a_k \in \mathbb{R}. Each bkb_k is itself an upper bound of that set, because aj≤ak≤bka_j \le a_k \le b_k for j≤kj \le k and aj≤bj≤bka_j \le b_j \le b_k for j≥kj \ge k; hence α≤bk\alpha \le b_k, and ak≤αa_k \le \alpha by definition, so α∈[ak,bk]\alpha \in [a_k, b_k] for every kk, and in particular α∈[−C,C]\alpha \in [-C,C].

Choose indices n1<n2<⋯n_1 < n_2 < \cdots with xnk∈[ak,bk]x_{n_k} \in [a_k, b_k], which is possible because each of these intervals holds xnx_n for infinitely many nn, so an index larger than those already chosen is always available. Both xnkx_{n_k} and α\alpha lie in [ak,bk][a_k, b_k], whence

∣xnk−α∣ ≤ bk−ak = 21−kC ⟶ 0,\lvert x_{n_k} - \alpha \rvert \ \le \ b_k - a_k \ = \ 2^{1-k} C \ \longrightarrow \ 0 ,

so xnk→αx_{n_k} \to \alpha. This proves the lemma.

Step 3: from the subsequence to the sequence. Let α\alpha be the limit just produced and let ε>0\varepsilon > 0. The Cauchy condition supplies an NN with ∣xm−xn∣<ε/2\lvert x_m - x_n\rvert < \varepsilon/2 for all m,n>Nm, n > N, and xnk→αx_{n_k} \to \alpha supplies one index nk>Nn_k > N with ∣xnk−α∣<ε/2\lvert x_{n_k} - \alpha\rvert < \varepsilon/2. For every m>Nm > N the triangle inequality gives

∣xm−α∣ ≤ ∣xm−xnk∣+∣xnk−α∣ < ε.\lvert x_m - \alpha\rvert \ \le \ \lvert x_m - x_{n_k}\rvert + \lvert x_{n_k} - \alpha\rvert \ < \ \varepsilon .

So xm→αx_m \to \alpha, and the real case is settled.

Step 4: the complex case. Let (zn)(z_n) be Cauchy in C\mathbb{C} and write zn=pn+iqnz_n = p_n + i q_n with pn,qnp_n, q_n real. Since ∣pm−pn∣≤∣zm−zn∣\lvert p_m - p_n\rvert \le \lvert z_m - z_n\rvert and ∣qm−qn∣≤∣zm−zn∣\lvert q_m - q_n \rvert \le \lvert z_m - z_n\rvert, both real sequences are Cauchy, so by Steps 1–3 they converge, say pn→pp_n \to p and qn→qq_n \to q. Then ∣zn−(p+iq)∣≤∣pn−p∣+∣qn−q∣→0\lvert z_n - (p + iq)\rvert \le \lvert p_n - p\rvert + \lvert q_n - q\rvert \to 0, so zn→p+iqz_n \to p + iq.

Convergent sequences are Cauchy in any metric space, so both implications hold in R\mathbb{R} and in C\mathbb{C}, and each is therefore complete. □\square

Definition(Monotone convergence)Original

Let (xn)(x_n) be a non-decreasing sequence of real numbers and S={xn:n∈N}S = \{x_n : n \in \mathbb{N}\}.

  1. If SS is bounded above, then (xn)(x_n) converges and lim⁡n→∞xn=sup⁡S\lim_{n\to\infty} x_n = \sup S.
  2. If SS is not bounded above, then for every M∈RM \in \mathbb{R} there is an NN with xn>Mx_n > M for all n>Nn > N; one writes xn→+∞x_n \to +\infty and the sequence is divergent.

For a non-increasing sequence the mirror statements hold, with inf⁡S\inf S in place of sup⁡S\sup S and −∞-\infty in place of +∞+\infty. In every case lim⁡n→∞xn=sup⁡nxn\lim_{n\to\infty} x_n = \sup_n x_n for non-decreasing and inf⁡nxn\inf_n x_n for non-increasing sequences, as a limit in R‾\overline{\mathbb{R}}.

Idea of the proof(Monotone convergence)Original

A non-decreasing sequence has nowhere to go but up towards its supremum. The least-upper-bound property names that supremum LL, and "least" means that nothing below LL bounds the sequence, so some term already exceeds L−εL - \varepsilon; monotonicity then holds every later term in the thin strip between L−εL-\varepsilon and LL. If there is no upper bound, the same remark applied to an arbitrary level MM shows that the terms pass MM and never return.

Proof(Monotone convergence)Original

Let (xn)(x_n) be non-decreasing and put S={xn:n∈N}S = \{x_n : n \in \mathbb{N}\}, a non-empty subset of R\mathbb{R}.

  1. Bounded above. The least-upper-bound property gives L=sup⁡S∈RL = \sup S \in \mathbb{R}. Fix ε>0\varepsilon > 0. Because LL is the least upper bound, L−εL - \varepsilon is not an upper bound, so xN>L−εx_N > L - \varepsilon for at least one index NN. For n>Nn > N, monotonicity gives xn≥xN>L−εx_n \ge x_N > L - \varepsilon, while xn≤Lx_n \le L because LL bounds SS. Hence ∣xn−L∣<ε\lvert x_n - L\rvert < \varepsilon for all n>Nn > N. As ε>0\varepsilon > 0 was arbitrary, xn→L=sup⁡Sx_n \to L = \sup S.

  2. Not bounded above. Let M∈RM \in \mathbb{R}. Then MM fails to be an upper bound of SS, so xN>Mx_N > M for some NN, and monotonicity gives xn≥xN>Mx_n \ge x_N > M for all n>Nn > N. That is the assertion xn→+∞x_n \to +\infty. Such a sequence has no real limit, because a convergent sequence is bounded: all but finitely many of its terms lie within 11 of the limit, and the finitely many others have a largest absolute value.

  3. Non-increasing sequences. If (xn)(x_n) is non-increasing then (−xn)(-x_n) is non-decreasing, and sup⁡{−xn:n}=−inf⁡{xn:n}\sup\{-x_n : n\} = -\inf\{x_n : n\}; since −xn→ℓ-x_n \to \ell is equivalent to xn→−ℓx_n \to -\ell, parts 1 and 2 applied to (−xn)(-x_n) give the mirror statements, with inf⁡S\inf S in place of sup⁡S\sup S and −∞-\infty in place of +∞+\infty. □\square

Definition(Convergence through limsup and liminf)AdaptedAdapted from Folland (1999), §0.5, p. 11

Every real sequence satisfies lim inf⁡nxn≤lim sup⁡nxn\liminf_{n} x_n \le \limsup_{n} x_n in R‾\overline{\mathbb{R}}. The sequence converges to a real limit if and only if

lim inf⁡n→∞xn=lim sup⁡n→∞xnand this common value is finite,\liminf_{n\to\infty} x_n = \limsup_{n\to\infty} x_n \quad\text{and this common value is finite,}

and then it is the limit.

Idea of the proof(Convergence through limsup and liminf)Original

Only the monotonicity of the two auxiliary sequences ak=sup⁡n≥kxna_k = \sup_{n \ge k} x_n and bk=inf⁡n≥kxnb_k = \inf_{n \ge k} x_n is needed. The inequality lim inf⁡≤lim sup⁡\liminf \le \limsup comes from comparing bjb_j with aka_k at the later of the two indices, where one is an infimum and the other a supremum of the same tail. If the sequence converges, every late term sits in an interval of width 2ε2\varepsilon about the limit, and so therefore do aka_k and bkb_k. Conversely, if the two numbers agree at a finite value xx, then one tail supremum lies below x+εx + \varepsilon and one tail infimum above x−εx - \varepsilon, and together they squeeze all late terms to within ε\varepsilon of xx.

Proof(Convergence through limsup and liminf)Original

Write ak=sup⁡n≥kxna_k = \sup_{n \ge k} x_n and bk=inf⁡n≥kxnb_k = \inf_{n \ge k} x_n, computed in R‾\overline{\mathbb{R}}, where every set has a supremum and an infimum; thus lim sup⁡nxn=inf⁡kak\limsup_n x_n = \inf_k a_k and lim inf⁡nxn=sup⁡kbk\liminf_n x_n = \sup_k b_k by definition.

The inequality. Fix indices jj and kk and let l=max⁡(j,k)l = \max(j,k). Then bj≤blb_j \le b_l, because the infimum over the smaller tail {xn:n≥l}\{x_n : n \ge l\} can only be larger; bl≤alb_l \le a_l, because that tail is non-empty; and al≤aka_l \le a_k, because the supremum over a smaller tail can only be smaller. So bj≤akb_j \le a_k for every pair j,kj, k. Taking the supremum over jj gives lim inf⁡nxn≤ak\liminf_n x_n \le a_k for each kk, and then the infimum over kk gives lim inf⁡nxn≤lim sup⁡nxn\liminf_n x_n \le \limsup_n x_n.

Convergence forces equality at a finite value. Suppose xn→x∈Rx_n \to x \in \mathbb{R} and let ε>0\varepsilon > 0. Some NN has x−ε≤xn≤x+εx - \varepsilon \le x_n \le x + \varepsilon for all n>Nn > N. For k>Nk > N the whole tail {xn:n≥k}\{x_n : n \ge k\} lies in [x−ε,x+ε][x-\varepsilon, x+\varepsilon], so ak≤x+εa_k \le x + \varepsilon and bk≥x−εb_k \ge x - \varepsilon. Hence lim sup⁡nxn≤ak≤x+ε\limsup_n x_n \le a_k \le x+\varepsilon and lim inf⁡nxn≥bk≥x−ε\liminf_n x_n \ge b_k \ge x - \varepsilon, which with the inequality already proved gives

x−ε ≤ lim inf⁡n→∞xn ≤ lim sup⁡n→∞xn ≤ x+ε.x - \varepsilon \ \le \ \liminf_{n\to\infty} x_n \ \le \ \limsup_{n\to\infty} x_n \ \le \ x + \varepsilon .

Since ε>0\varepsilon > 0 was arbitrary, both are equal to xx, and in particular both are finite.

Equality at a finite value forces convergence. Suppose lim inf⁡nxn=lim sup⁡nxn=x\liminf_n x_n = \limsup_n x_n = x with x∈Rx \in \mathbb{R}, and let ε>0\varepsilon > 0. From inf⁡kak=x<x+ε\inf_k a_k = x < x + \varepsilon there is a K1K_1 with aK1<x+εa_{K_1} < x + \varepsilon, so xn<x+εx_n < x + \varepsilon for all n≥K1n \ge K_1. From sup⁡kbk=x>x−ε\sup_k b_k = x > x - \varepsilon there is a K2K_2 with bK2>x−εb_{K_2} > x - \varepsilon, so xn>x−εx_n > x - \varepsilon for all n≥K2n \ge K_2. With N=max⁡(K1,K2)N = \max(K_1, K_2) we get ∣xn−x∣<ε\lvert x_n - x\rvert < \varepsilon for all n≥Nn \ge N. Hence xn→xx_n \to x, the limit being the common value. □\square

Remark(Where the hypotheses are used)AdaptedAdapted from Reed & Simon (1980), §I.2, p. 8; Kreyszig (1978), App. A1.7, p. 621
  • Completeness is a property of the space, not of the sequence. Take X=QX = \mathbb{Q} with d(x,y)=∣x−y∣d(x,y) = \lvert x-y \rvert and a sequence of rationals converging in R\mathbb{R} to an irrational number: it is Cauchy in Q\mathbb{Q} and has no limit in Q\mathbb{Q}. So "Cauchy implies convergent" does not follow from the metric axioms; for R\mathbb{R} it is a theorem, resting on the least-upper-bound property through the Bolzano–Weierstrass theorem (see Compactness).
  • Monotone convergence needs the bound. xn=nx_n = n is non-decreasing with no real limit. It also needs the least-upper-bound property, and not merely monotonicity and boundedness: the non-decreasing rational sequence of nn-digit decimal truncations of 2\sqrt{2} is bounded above by 22 and has no limit in Q\mathbb{Q}.
  • lim sup⁡\limsup and lim inf⁡\liminf need no hypotheses, but may be infinite. Equality of the two alone is not convergence: for xn=nx_n = n both equal +∞+\infty. Finiteness is what the criterion above adds.
  • Boundedness is necessary but not sufficient for convergence, as xn=(−1)nx_n = (-1)^n shows, with lim inf⁡=−1\liminf = -1 and lim sup⁡=1\limsup = 1.
Example(A convergent sequence that no monotonicity argument reaches)Original

Define x1=1x_1 = 1 and xn+1=1/(1+xn)x_{n+1} = 1/(1 + x_n). The first terms are

1,12,23,35,58,813,1321,…1, \quad \tfrac12, \quad \tfrac23, \quad \tfrac35, \quad \tfrac58, \quad \tfrac{8}{13}, \quad \tfrac{13}{21}, \quad \dots

— consecutive ratios of Fibonacci numbers — and they fall and rise alternately, so monotone convergence has nothing to say. The Cauchy criterion does.

  1. Every term lies in [12,1][\tfrac12, 1]. True for x1=1x_1 = 1. If xn∈[12,1]x_n \in [\tfrac12, 1] then 1+xn∈[32,2]1 + x_n \in [\tfrac32, 2], so xn+1=1/(1+xn)∈[12,23]⊂[12,1]x_{n+1} = 1/(1+x_n) \in [\tfrac12, \tfrac23] \subset [\tfrac12, 1]. Induction does the rest.

  2. Consecutive differences shrink by a factor 49\tfrac49. For n≥2n \ge 2,

    xn+1−xn=11+xn−11+xn−1=xn−1−xn(1+xn)(1+xn−1),x_{n+1} - x_n = \frac{1}{1+x_n} - \frac{1}{1+x_{n-1}} = \frac{x_{n-1} - x_n}{(1+x_n)(1+x_{n-1})} ,

    and by step 1 both factors in the denominator are at least 32\tfrac32, so ∣xn+1−xn∣≤49∣xn−xn−1∣\lvert x_{n+1} - x_n\rvert \le \tfrac49 \lvert x_n - x_{n-1}\rvert. Since ∣x2−x1∣=12\lvert x_2 - x_1\rvert = \tfrac12, induction gives

    ∣xk+1−xk∣ ≤ 12(49)k−1(k≥1).\lvert x_{k+1} - x_k \rvert \ \le \ \tfrac12 \left(\tfrac49\right)^{k-1} \qquad (k \ge 1) .
  3. The sequence is Cauchy. For m>n≥1m > n \ge 1, inserting the intermediate terms and using the triangle inequality and step 2,

    ∣xm−xn∣ ≤ ∑k=nm−1∣xk+1−xk∣ ≤ 12∑k=n∞(49)k−1=910(49)n−1,\lvert x_m - x_n \rvert \ \le \ \sum_{k=n}^{m-1} \lvert x_{k+1} - x_k \rvert \ \le \ \tfrac12 \sum_{k=n}^{\infty} \left(\tfrac49\right)^{k-1} = \frac{9}{10}\left(\tfrac49\right)^{n-1} ,

    the last step being the sum of a geometric series with ratio 49\tfrac49. The right-hand side does not depend on mm and tends to 00, so given ε>0\varepsilon > 0 any nn with 910(4/9)n−1<ε\tfrac{9}{10}(4/9)^{n-1} < \varepsilon serves as the required index. By the Cauchy criterion the sequence converges; call the limit LL, and L∈[12,1]L \in [\tfrac12, 1] by step 1.

  4. Identify LL. The map t↦1/(1+t)t \mapsto 1/(1+t) is continuous at LL, so xn+1=1/(1+xn)→1/(1+L)x_{n+1} = 1/(1+x_n) \to 1/(1+L); but xn+1→Lx_{n+1} \to L as well, and limits are unique, so L(1+L)=1L(1+L) = 1. Of the two roots of L2+L−1=0L^2 + L - 1 = 0 only one is positive, so

    L=5−12=0.6180339887…L = \frac{\sqrt5 - 1}{2} = 0.6180339887\ldots
  5. Check. x10=55/89=0.6179775280…x_{10} = 55/89 = 0.6179775280\ldots, which differs from LL by 5.6×10−55.6 \times 10^{-5}, comfortably inside the bound 910(4/9)9=6.1×10−4\tfrac{9}{10}(4/9)^{9} = 6.1 \times 10^{-4} that step 3 gives for ∣xm−x10∣\lvert x_m - x_{10}\rvert.

Example(A bounded sequence with lim inf⁡≠lim sup⁡\liminf \neq \limsup)Original

Let xn=(−1)n(1+1n)x_n = (-1)^n\bigl(1 + \tfrac1n\bigr), so that

x1=−2,x2=32,x3=−43,x4=54,x5=−65,x6=76, …x_1 = -2, \quad x_2 = \tfrac32, \quad x_3 = -\tfrac43, \quad x_4 = \tfrac54, \quad x_5 = -\tfrac65, \quad x_6 = \tfrac76, \ \dots

Every term satisfies ∣xn∣≤2\lvert x_n \rvert \le 2, so the sequence is bounded.

Fix kk and let e(k)e(k) be the smallest even integer ≥k\ge k. Among the terms with n≥kn \ge k the positive ones are 1+1/n1 + 1/n for even nn, which decrease as nn grows, and the negative ones are below 00; so the largest is the one at n=e(k)n = e(k) and

ak=sup⁡n≥kxn=1+1e(k).a_k = \sup_{n \ge k} x_n = 1 + \frac{1}{e(k)} .

Since e(k)→∞e(k) \to \infty and every ak>1a_k > 1, we get lim sup⁡nxn=inf⁡kak=1\limsup_n x_n = \inf_k a_k = 1. The same argument with the smallest odd integer o(k)≥ko(k) \ge k gives bk=inf⁡n≥kxn=−(1+1/o(k))b_k = \inf_{n \ge k} x_n = -\bigl(1 + 1/o(k)\bigr) and lim inf⁡nxn=sup⁡kbk=−1\liminf_n x_n = \sup_k b_k = -1.

For example a5=1+16=76a_5 = 1 + \tfrac16 = \tfrac76 (the supremum is attained at n=6n = 6) and b5=−65b_5 = -\tfrac65 (attained at n=5n = 5). The two limits are finite but unequal, so by the criterion above the sequence does not converge, which the subsequences confirm: x2m→1x_{2m} \to 1 and x2m+1→−1x_{2m+1} \to -1.

Application(Solving Kepler's equation by iteration)Original

A body on an elliptical orbit of eccentricity e∈[0,1)e \in [0,1) has its position fixed by the eccentric anomaly EE, which solves Kepler's equation

E−esin⁡E=M,E - e \sin E = M ,

where the mean anomaly MM grows linearly in time. There is no elementary formula for EE, and the oldest numerical method is the fixed-point iteration

E0=M,Ek+1=M+esin⁡Ek.E_0 = M , \qquad E_{k+1} = M + e \sin E_k .

The iteration map has derivative ecos⁡Ee\cos E, of either sign, so depending on MM the iterates may climb steadily towards the root or oscillate about it; monotonicity is not available in general, and the limit is not known in advance either, so there is nothing to compare the terms against. What is available is the increment between successive terms, and that is exactly what the Cauchy criterion asks for. By the mean value theorem applied to sin⁡\sin,

∣Ek+1−Ek∣=e ∣sin⁡Ek−sin⁡Ek−1∣≤e ∣Ek−Ek−1∣,\lvert E_{k+1} - E_k \rvert = e \,\lvert \sin E_k - \sin E_{k-1}\rvert \le e \,\lvert E_k - E_{k-1}\rvert ,

because ∣cos⁡∣≤1\lvert \cos \rvert \le 1; hence ∣Ek+1−Ek∣≤ek∣E1−E0∣\lvert E_{k+1} - E_k\rvert \le e^{k} \lvert E_1 - E_0\rvert and, summing the geometric series as in the example above, ∣Em−En∣≤en∣E1−E0∣/(1−e)\lvert E_m - E_n \rvert \le e^{n}\lvert E_1 - E_0\rvert/(1-e) for m>nm > n. The eccentricity being below 11 is precisely what makes this tend to 00: the iteration is Cauchy, the completeness of R\mathbb{R} supplies a limit EE, and continuity of sin⁡\sin turns the recursion into E=M+esin⁡EE = M + e \sin E in the limit.

With e=0.2e = 0.2 and M=1M = 1 (radians), ∣E1−E0∣=esin⁡1=0.1682942\lvert E_1 - E_0\rvert = e\sin 1 = 0.1682942, so the bound predicts ∣E−E8∣≤0.28×0.1682942/0.8=5.4×10−7\lvert E - E_8\rvert \le 0.2^{8}\times 0.1682942/0.8 = 5.4\times10^{-7}. The iteration gives E=1.1853242039E = 1.1853242039, with E−esin⁡E−ME - e\sin E - M below 10−1410^{-14}. For comets, with ee close to 11, the factor ene^n decays too slowly and the same completeness argument, while still valid, is useless in practice; Newton's method is used instead.

Method

Convergence tests for series

Adapted

Partial sums, the vanishing-terms and Cauchy criteria, and the comparison, ratio, root, integral and alternating-series tests, each with the hypotheses it needs and the cases in which it decides nothing.

Prerequisites: Limits of sequences and completeness

NoteOriginal

What it means. Every test here is a comparison with a series whose behaviour is already known: the geometric series for the ratio and root tests, an integral for the integral test, and an explicit comparand for the comparison test. So the practical question is not "which test is strongest" but "which known series does mine resemble": geometric decay calls for the ratio or root test, power-law decay for comparison with a pp-series, and anything on the boundary between them for the integral test.

Definition(Series, partial sums, tail)AdaptedAdapted from Ahlfors (1979), §2.2, p. 35; Arfken, Weber & Harris (2013), §1.1, p. 3

Let (un)n≥1(u_n)_{n \ge 1} be real or complex numbers, and write

sN=∑n=1Nun,N∈N,s_N = \sum_{n=1}^{N} u_n , \qquad N \in \mathbb{N} ,

for the partial sums. The symbol ∑n=1∞un\sum_{n=1}^{\infty} u_n denotes the series, and every question about it is a question about the sequence (sN)(s_N). The series converges to SS when sN→Ss_N \to S, and SS is then its sum; otherwise the series diverges. For a convergent series the tail or remainder after NN terms is RN=S−sN=∑n>NunR_N = S - s_N = \sum_{n > N} u_n. Deleting, inserting or changing finitely many terms changes SS but not whether the series converges, so every test below may be applied from any index onwards.

Method(Two criteria that need no extra hypotheses)AdaptedAdapted from Ahlfors (1979), §2.2, p. 35; Riley, Hobson & Bence (2006), §4.3.2, preliminary test, p. 125

Let ∑n≥1un\sum_{n \ge 1} u_n be a series of real or complex terms.

  1. Cauchy criterion. Convergence holds exactly when every block of consecutive terms far enough out is small: each ε>0\varepsilon > 0 admits an index NN with ∣∑n=m+1m+pun∣<εwhenever m≥N and p≥1.\Bigl\lvert \sum_{n=m+1}^{m+p} u_n \Bigr\rvert < \varepsilon \qquad \text{whenever } m \ge N \text{ and } p \ge 1 .
  2. Vanishing terms. If the series converges then un→0u_n \to 0. The converse is false, so un→0u_n \to 0 is necessary and not sufficient; if un↛0u_n \not\to 0 the series diverges.
Idea of the proof(Two criteria that need no extra hypotheses)Original

Both are the corresponding facts about the sequence (sN)(s_N) in disguise. The Cauchy condition on partial sums is a condition on their differences, and a difference of two partial sums is exactly a block of consecutive terms. Taking the shortest block, of one term, turns that condition into the vanishing of the terms.

Proof(Two criteria that need no extra hypotheses)AdaptedAdapted from Ahlfors (1979), §2.2, p. 35
  1. Cauchy criterion. By definition the series converges exactly when the sequence (sN)(s_N) converges, and by the Cauchy criterion for numerical sequences that happens exactly when each ε>0\varepsilon > 0 has an index KK with ∣sj−si∣<ε\lvert s_j - s_i \rvert < \varepsilon for all i,j>Ki, j > K. Every such pair with i<ji < j can be written as i=mi = m, j=m+pj = m + p with m≥N:=K+1m \ge N := K+1 and p≥1p \ge 1, and conversely; and

    sm+p−sm=∑n=m+1m+pun.s_{m+p} - s_m = \sum_{n=m+1}^{m+p} u_n .

    Pairs with i=ji = j contribute nothing and pairs with i>ji > j give the same modulus. So the displayed condition of part 1 is the Cauchy condition on (sN)(s_N), which completes the equivalence.

  2. Vanishing terms. Take p=1p = 1 in part 1: convergence gives an NN with ∣um+1∣<ε\lvert u_{m+1}\rvert < \varepsilon for every m≥Nm \ge N, which says un→0u_n \to 0. (Equivalently, un=sn−sn−1→S−S=0u_n = s_n - s_{n-1} \to S - S = 0.) The converse fails: the pp-series with p=1p = 1 has un=1/n→0u_n = 1/n \to 0 and diverges, as the integral test proved below shows. Contrapositively, un↛0u_n \not\to 0 forces divergence. □\square

Method(Non-negative terms: bounded partial sums)Original

If un≥0u_n \ge 0 for all nn, the partial sums are non-decreasing, so by monotone convergence the series converges if and only if its partial sums are bounded above, and then ∑n≥1un=sup⁡NsN\sum_{n\ge1} u_n = \sup_N s_N. This is the fact behind every comparison below, and it is why a series of non-negative terms either converges or has sN→+∞s_N \to +\infty and can never oscillate.

Idea of the proof(Non-negative terms)Original

Adding a non-negative number cannot decrease a partial sum, so the partial sums are a monotone sequence, and for monotone sequences boundedness and convergence are the same thing.

Proof(Non-negative terms)Original

Since sN+1−sN=uN+1≥0s_{N+1} - s_N = u_{N+1} \ge 0 for every NN, the sequence (sN)(s_N) is non-decreasing. By monotone convergence it converges if its terms are bounded above, with limit sup⁡NsN\sup_N s_N, and otherwise sN→+∞s_N \to +\infty. Convergence of the series is convergence of (sN)(s_N), so the two conditions match, and the sum is sup⁡NsN\sup_N s_N.

Only these two behaviours are available: a non-decreasing sequence that is bounded above converges and one that is not tends to +∞+\infty, so the partial sums of a series of non-negative terms cannot oscillate. □\square

Method(The five tests)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, pp. 3-6 and pp. 11-12; Riley, Hobson & Bence (2006), §4.3.2-4.3.3, pp. 125-130

In each part, NN denotes an index from which the stated condition holds; nothing is assumed about the finitely many earlier terms.

  1. Comparison test. Suppose 0≤un≤vn0 \le u_n \le v_n for all n≥Nn \ge N. If ∑vn\sum v_n converges then ∑un\sum u_n converges. Suppose instead 0≤vn≤un0 \le v_n \le u_n for all n≥Nn \ge N. If ∑vn\sum v_n diverges then ∑un\sum u_n diverges.

  2. Ratio test (d'Alembert). Suppose un>0u_n > 0 for all n≥Nn \ge N. If there is a constant r<1r < 1, independent of nn, with un+1/un≤ru_{n+1}/u_n \le r for all n≥Nn \ge N, then ∑un\sum u_n converges. If un+1/un≥1u_{n+1}/u_n \ge 1 for all n≥Nn \ge N, then ∑un\sum u_n diverges. In limit form, if ρ=lim⁡n→∞un+1/un\rho = \lim_{n\to\infty} u_{n+1}/u_n exists, then ∑un\sum u_n converges for ρ<1\rho < 1, diverges for ρ>1\rho > 1, and the test decides nothing for ρ=1\rho = 1.

  3. Root test (Cauchy). Suppose un≥0u_n \ge 0 for all n≥Nn \ge N. If there is a constant r<1r < 1, independent of nn, with un1/n≤ru_n^{1/n} \le r for all n≥Nn \ge N, then ∑un\sum u_n converges. If un1/n≥1u_n^{1/n} \ge 1 for all n≥Nn \ge N, then ∑un\sum u_n diverges. In limit form, if ρ=lim⁡n→∞un1/n\rho = \lim_{n\to\infty} u_n^{1/n} exists, then ∑un\sum u_n converges for ρ<1\rho < 1, diverges for ρ>1\rho > 1, and the test decides nothing for ρ=1\rho = 1.

  4. Integral test (Cauchy-Maclaurin). Let ff be continuous, non-negative and non-increasing on [1,∞)[1, \infty) and let un=f(n)u_n = f(n). Then ∑n≥1un\sum_{n \ge 1} u_n converges if and only if ∫1∞f(x) dx\int_1^{\infty} f(x)\,dx is finite, and in that case, for every N≥0N \ge 0,

    ∫N+1∞f(x) dx ≤ ∑n>Nun ≤ ∫N+1∞f(x) dx+uN+1.\int_{N+1}^{\infty} f(x)\,dx \ \le \ \sum_{n > N} u_n \ \le \ \int_{N+1}^{\infty} f(x)\,dx + u_{N+1} .
  5. Alternating-series test (Leibniz). Let un≥0u_n \ge 0 with un→0u_n \to 0, and suppose un+1≤unu_{n+1} \le u_n for all n≥Nn \ge N. Then ∑n≥1(−1)n+1un\sum_{n \ge 1} (-1)^{n+1} u_n converges, its sum SS lies between any two consecutive partial sums sms_m and sm+1s_{m+1} with m≥Nm \ge N, and consequently

    ∣S−sm∣≤um+1,\lvert S - s_m \rvert \le u_{m+1} ,

    with S−smS - s_m having the sign of the first omitted term (−1)mum+1(-1)^{m}u_{m+1}.

Reference series. The geometric series ∑n≥0rn\sum_{n \ge 0} r^n converges exactly for ∣r∣<1\lvert r \rvert < 1, and the pp-series ∑n≥1n−p\sum_{n \ge 1} n^{-p} converges exactly for p>1p > 1; these are the standard comparands.

Idea of the proof(The five tests)Original

Tests 1 to 4 all end at the same place: a series of non-negative terms whose partial sums have been bounded above, which converges by the statement just proved. What differs is the bound used — the comparand itself, a geometric series in the ratio and root tests, an integral in the integral test. The divergence halves are cheaper still: each either exhibits terms that do not tend to 00, or pushes the partial sums past every level. The Leibniz test is of a different kind: there the partial sums of even and of odd index form two monotone sequences that close in on each other, and the gap between them is a single term.

Proof(Comparison test)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, p. 3; Riley, Hobson & Bence (2006), §4.3.2, p. 125

Assume 0≤un≤vn0 \le u_n \le v_n for n≥Nn \ge N and that ∑vn\sum v_n converges. All terms vnv_n with n≥Nn \ge N are non-negative, being at least the corresponding unu_n, so the tail V=∑n≥NvnV = \sum_{n \ge N} v_n is a finite number that dominates each of its own partial sums. Hence for every M≥NM \ge N

∑n=NMun ≤ ∑n=NMvn ≤ V,\sum_{n=N}^{M} u_n \ \le \ \sum_{n=N}^{M} v_n \ \le \ V ,

term by term in the first inequality. The partial sums of ∑n≥Nun\sum_{n \ge N} u_n are therefore bounded above, and its terms are non-negative, so it converges by the statement above. Restoring the finitely many terms u1,…,uN−1u_1, \dots, u_{N-1} changes the sum but not the convergence.

For the second half, suppose 0≤vn≤un0 \le v_n \le u_n for n≥Nn \ge N and that ∑vn\sum v_n diverges. If ∑un\sum u_n converged, the first half — applied with the roles of the two series exchanged — would make ∑vn\sum v_n converge, a contradiction. So ∑un\sum u_n diverges. □\square

Proof(Ratio and root tests)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, p. 4; Riley, Hobson & Bence (2006), §4.3.2, p. 126

Both tests compare with a geometric series, which is why both are silent when the decay is slower than geometric.

Root test, convergence. Raising un1/n≤ru_n^{1/n} \le r to the nn-th power, which preserves the inequality between non-negative numbers, gives un≤rnu_n \le r^n for n≥Nn \ge N. With 0≤r<10 \le r < 1 the series ∑nrn\sum_n r^n converges, so the comparison test applies.

Root test, divergence. If un1/n≥1u_n^{1/n} \ge 1 for n≥Nn \ge N then un≥1u_n \ge 1 for those nn, so un↛0u_n \not\to 0 and the vanishing-terms criterion gives divergence.

Ratio test, convergence. The hypothesis un+1≤r unu_{n+1} \le r\, u_n for n≥Nn \ge N, iterated kk times, gives uN+k≤uNrku_{N+k} \le u_N r^k; the hypothesis un>0u_n > 0 is what makes the ratios meaningful and the induction legitimate. Since ∑kuNrk=uN/(1−r)\sum_k u_N r^k = u_N/(1-r) converges for 0≤r<10 \le r < 1, the comparison test again gives convergence.

Ratio test, divergence. If un+1/un≥1u_{n+1}/u_n \ge 1 for n≥Nn \ge N then un≥uN>0u_n \ge u_N > 0 for all n≥Nn \ge N, so the terms cannot tend to 00.

Limit forms. Suppose ρ=lim⁡nun+1/un\rho = \lim_n u_{n+1}/u_n exists and ρ<1\rho < 1. Put r=(1+ρ)/2r = (1+\rho)/2, so that ρ<r<1\rho < r < 1; by the definition of the limit, applied with ε=r−ρ\varepsilon = r - \rho, there is an NN with un+1/un<ru_{n+1}/u_n < r for all n≥Nn \ge N, and the convergent half applies with this constant rr. If ρ>1\rho > 1, the same definition with ε=ρ−1\varepsilon = \rho - 1 gives an NN with un+1/un>1u_{n+1}/u_n > 1 for n≥Nn \ge N, and the divergent half applies. The root test is identical with un1/nu_n^{1/n} in place of un+1/unu_{n+1}/u_n. The case ρ=1\rho = 1 is left undecided, and the remark below shows that nothing better is possible. □\square

Proof(Integral test and its tail bound)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, pp. 5-6, Eqs. (1.7) and (1.9)

One interval at a time. Fix an integer n≥1n \ge 1. For x∈[n,n+1]x \in [n, n+1] the hypothesis that ff is non-increasing gives f(n+1)≤f(x)≤f(n)f(n+1) \le f(x) \le f(n), and integrating these constants and ff over an interval of length 11 gives

un+1 ≤ ∫nn+1f(x) dx ≤ un,u_{n+1} \ \le \ \int_n^{n+1} f(x)\,dx \ \le \ u_n ,

the integral existing because ff is continuous.

Summing. Let N≥0N \ge 0 and M>NM > N be integers. Adding the last display over n=N+1,…,Mn = N+1, \dots, M and using additivity of the integral,

∑n=N+2M+1un ≤ ∫N+1M+1f(x) dx ≤ ∑n=N+1Mun.\sum_{n=N+2}^{M+1} u_n \ \le \ \int_{N+1}^{M+1} f(x)\,dx \ \le \ \sum_{n=N+1}^{M} u_n .

The equivalence. Because f≥0f \ge 0, the numbers IM=∫1MfI_M = \int_1^{M} f form a non-decreasing sequence, so ∫1∞f=lim⁡MIM\int_1^{\infty} f = \lim_M I_M exists in [0,+∞][0, +\infty] by monotone convergence. Take N=0N = 0 above. If ∫1∞f\int_1^{\infty} f is finite, then ∑n=2M+1un≤∫1M+1f≤∫1∞f\sum_{n=2}^{M+1} u_n \le \int_1^{M+1} f \le \int_1^{\infty} f for every MM: the partial sums are bounded, the terms are non-negative since f≥0f \ge 0, and the series converges. If ∫1∞f=+∞\int_1^{\infty} f = +\infty, then ∑n=1Mun≥∫1M+1f→+∞\sum_{n=1}^{M} u_n \ge \int_1^{M+1} f \to +\infty and the series diverges. The two cases are exclusive and exhaustive, which is the stated equivalence.

The tail bound. Assume convergence and let M→∞M \to \infty in the summed display, at fixed N≥0N \ge 0; all three quantities increase to their limits, so

∑n>N+1un ≤ ∫N+1∞f(x) dx ≤ ∑n>Nun.\sum_{n > N+1} u_n \ \le \ \int_{N+1}^{\infty} f(x)\,dx \ \le \ \sum_{n > N} u_n .

The right-hand inequality is the lower bound asserted in the statement. Adding uN+1u_{N+1} to the left-hand one and using ∑n>Nun=uN+1+∑n>N+1un\sum_{n>N} u_n = u_{N+1} + \sum_{n > N+1} u_n gives the upper bound. □\square

Proof(Alternating-series test)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, pp. 11-12; Riley, Hobson & Bence (2006), §4.3.3, p. 130

Write sm=∑n=1m(−1)n+1uns_m = \sum_{n=1}^{m} (-1)^{n+1} u_n and let m≥Nm \ge N, so that the monotonicity hypothesis is available from index m+1m+1 on.

One step. sm+1−sm=(−1)m+2um+1=(−1)mum+1s_{m+1} - s_m = (-1)^{m+2} u_{m+1} = (-1)^m u_{m+1}, which is ≥0\ge 0 for even mm and ≤0\le 0 for odd mm.

Two steps. sm+2−sm=(−1)m(um+1−um+2)s_{m+2} - s_m = (-1)^{m}\bigl(u_{m+1} - u_{m+2}\bigr), and um+1≥um+2u_{m+1} \ge u_{m+2} by monotonicity, so this is ≥0\ge 0 for even mm and ≤0\le 0 for odd mm. Hence, from index NN onwards, the partial sums of even index form a non-decreasing sequence and those of odd index a non-increasing one.

The two families interleave. Let m≥Nm \ge N be even and m′≥Nm' \ge N be odd, and pick an even l≥max⁡(m,m′)l \ge \max(m, m'). Then sm≤sls_m \le s_l (even family, non-decreasing), sl≤sl+1s_l \le s_{l+1} (one step from an even index), and sl+1≤sm′s_{l+1} \le s_{m'} (odd family, non-increasing, and l+1>m′l + 1 > m'). So every even-index partial sum is at most every odd-index one.

Both families converge, to the same number. The even family is non-decreasing and bounded above (by any odd-index sum), and the odd family is non-increasing and bounded below, so by monotone convergence both converge, say to Se≤SoS_{\mathrm{e}} \le S_{\mathrm{o}}. Along even mm, sm+1−sm=um+1→0s_{m+1} - s_m = u_{m+1} \to 0 by the hypothesis un→0u_n \to 0, and the left-hand side tends to So−SeS_{\mathrm{o}} - S_{\mathrm{e}}; hence Se=So=:SS_{\mathrm{e}} = S_{\mathrm{o}} =: S. Given ε>0\varepsilon > 0, each family is eventually within ε\varepsilon of SS, and the larger of the two thresholds serves all indices, so sm→Ss_m \to S and the series converges with sum SS.

Where SS sits. For even m≥Nm \ge N the even family increases to SS and the odd family decreases to SS, so sm≤S≤sm+1s_m \le S \le s_{m+1}; for odd m≥Nm \ge N the same reading gives sm+1≤S≤sms_{m+1} \le S \le s_m. Either way SS lies between the two consecutive partial sums, whence

∣S−sm∣ ≤ ∣sm+1−sm∣ = um+1,\lvert S - s_m \rvert \ \le \ \lvert s_{m+1} - s_m \rvert \ = \ u_{m+1} ,

and S−smS - s_m has the sign of sm+1−sm=(−1)mum+1s_{m+1} - s_m = (-1)^m u_{m+1}, which is the first omitted term. □\square

Proof(The reference series)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, p. 3; Riley, Hobson & Bence (2006), §4.3.2, pp. 128-129

Geometric series. For r≠1r \neq 1, multiplying sN=∑n=0Nrns_N = \sum_{n=0}^{N} r^n by 1−r1 - r cancels all but two terms and gives sN=(1−rN+1)/(1−r)s_N = (1 - r^{N+1})/(1-r). If ∣r∣<1\lvert r \rvert < 1, write ∣r∣=1/(1+h)\lvert r\rvert = 1/(1+h) with h>0h > 0; then (1+h)N+1≥1+(N+1)h→∞(1+h)^{N+1} \ge 1 + (N+1)h \to \infty, so ∣r∣N+1→0\lvert r \rvert^{N+1} \to 0 and sN→1/(1−r)s_N \to 1/(1-r). If ∣r∣≥1\lvert r \rvert \ge 1 then ∣rn∣≥1\lvert r^n \rvert \ge 1 for every nn, the terms do not tend to 00, and the series diverges (this covers r=1r = 1, where the partial sums are N+1N+1).

The pp-series. For p≤0p \le 0 we have n−p≥1n^{-p} \ge 1, so the terms do not vanish and the series diverges. For p>0p > 0 the function f(x)=x−pf(x) = x^{-p} is continuous, positive and non-increasing on [1,∞)[1,\infty) with f(n)=n−pf(n) = n^{-p}, so the integral test applies to it:

∫1Mx−p dx=M1−p−11−p(p≠1),∫1Mx−1 dx=ln⁡M.\int_1^{M} x^{-p}\,dx = \frac{M^{1-p} - 1}{1-p} \quad (p \neq 1), \qquad \int_1^{M} x^{-1}\,dx = \ln M .

As M→∞M \to \infty the first tends to 1/(p−1)1/(p-1) when p>1p > 1 and to +∞+\infty when 0<p<10 < p < 1, and the second to +∞+\infty. So the integral is finite exactly for p>1p > 1, and so is the series. □\square

Method(Deciding whether a series converges)Original
  1. Check the terms. If un↛0u_n \not\to 0, stop: the series diverges. This catches ∑n/(n+1)\sum n/(n+1) and ∑(−1)n\sum (-1)^n at once.
  2. Fix the sign. If the terms have one sign from some index on, work with ∣un∣\lvert u_n \rvert and go to step 3. If the signs alternate strictly, go to step 6. If the signs change irregularly, test ∑∣un∣\sum \lvert u_n \rvert by steps 3-5: convergence there settles the question (see Absolute and conditional convergence), and divergence there does not.
  3. Compare. Find the size of unu_n for large nn and compare with a geometric or pp-series: if un≤Cn−pu_n \le C n^{-p} with p>1p > 1 for large nn, the series converges; if un≥c/nu_n \ge c/n with c>0c > 0 for large nn, it diverges. This is decisive whenever unu_n behaves like a power of nn times a bounded factor.
  4. Ratio or root. If unu_n contains factorials or products, form un+1/unu_{n+1}/u_n; if it contains an nn-th power, form un1/nu_n^{1/n}. A limit ρ<1\rho < 1 gives convergence and ρ>1\rho > 1 divergence. These tests work by hidden comparison with a geometric series, so they are decisive exactly when the terms decay geometrically.
  5. Integrate. If un=f(n)u_n = f(n) for an ff that is continuous, non-negative and non-increasing on [1,∞)[1,\infty), use the integral test. It settles the borderline cases that step 4 cannot, such as ∑1/(nln⁡n)\sum 1/(n \ln n), and its two-sided bound also gives a numerical estimate of the tail.
  6. Alternating terms. For ∑(−1)n+1un\sum (-1)^{n+1} u_n with un≥0u_n \ge 0, check both Leibniz hypotheses: un→0u_n \to 0 and unu_n eventually non-increasing. The error bound ∣S−sm∣≤um+1\lvert S - s_m \rvert \le u_{m+1} comes free.
  7. If a test fails, nothing follows. ρ=1\rho = 1 in step 4, or a failed comparison, says only that this test is silent; return to step 3 with a sharper comparand, or to step 5.
Remark(Where the hypotheses are used, and sharper forms)Original
  • Non-negativity in tests 1-4. All four rest on bounded monotone partial sums, which needs the terms to have one sign. Applied to a series with mixed signs, they test ∑∣un∣\sum \lvert u_n \rvert instead, which is a strictly stronger property.
  • The ratio test needs a constant r<1r < 1, not just un+1/un<1u_{n+1}/u_n < 1. For the harmonic series un+1/un=n/(n+1)<1u_{n+1}/u_n = n/(n+1) < 1 for every nn, yet no fixed r<1r < 1 dominates these ratios and the series diverges; the limit form gives ρ=1\rho = 1, which decides nothing.
  • ρ=1\rho = 1 is genuinely undecided. ∑n−2\sum n^{-2} converges and ∑n−1\sum n^{-1} diverges, and both have ρ=1\rho = 1 in the ratio and root tests.
  • Monotonicity in the integral test. It is what makes un+1≤∫nn+1f≤unu_{n+1} \le \int_n^{n+1} f \le u_n hold, which is where the two-sided bound comes from. Without it, f(n)=unf(n) = u_n constrains ff only at the integers and the integral can be made to converge or diverge at will.
  • Monotonicity in the Leibniz test cannot be dropped, even though un→0u_n \to 0: take un=1/nu_n = 1/n for odd nn and un=1/n2u_n = 1/n^2 for even nn. Then un≥0u_n \ge 0 and un→0u_n \to 0, but ∑n≥1(−1)n+1un=∑odd n1/n−∑even n1/n2\sum_{n\ge1} (-1)^{n+1} u_n = \sum_{\text{odd } n} 1/n - \sum_{\text{even } n} 1/n^2 has partial sums tending to +∞+\infty, because the first sum diverges and the second converges.
  • Sharper divergence halves. The divergence conditions in tests 2 and 3 can be weakened, at the cost of departing from the form in which Arfken states them (pp. 4-5): if un1/n≥1u_n^{1/n} \ge 1 for infinitely many nn, then un≥1u_n \ge 1 infinitely often, so un↛0u_n \not\to 0 and the series already diverges. Likewise, the tests remain valid with lim sup⁡\limsup in place of lim⁡\lim on the convergent side and lim inf⁡\liminf on the divergent side, because the condition "un+1/un≤r<1u_{n+1}/u_n \le r < 1 for all large nn" is exactly lim sup⁡nun+1/un<1\limsup_n u_{n+1}/u_n < 1.
  • Comparison from an index onwards. Arfken states the comparison test with 0≤un≤an0 \le u_n \le a_n for all nn (p. 3); Riley, Hobson and Bence state it for nn greater than some fixed NN (p. 125). The second is the more general form and is the one stated above; the two agree because finitely many terms cannot affect convergence.
Example(The ratio test, and then the exact sum)Original

Decide whether ∑n≥1n33n\displaystyle\sum_{n \ge 1} \frac{n^3}{3^n} converges, and if so sum it.

Step 1: convergence. With un=n33−n>0u_n = n^3 3^{-n} > 0,

un+1un=(n+1)33 n3=13(1+1n)3,\frac{u_{n+1}}{u_n} = \frac{(n+1)^3}{3\,n^3} = \frac{1}{3}\Bigl(1 + \frac1n\Bigr)^{3} ,

which decreases as nn grows. At n=3n = 3 its value is 13(4/3)3=64/81\tfrac13(4/3)^3 = 64/81, so

un+1un ≤ r=6481<1for all n≥3,\frac{u_{n+1}}{u_n} \ \le \ r = \frac{64}{81} < 1 \qquad \text{for all } n \ge 3 ,

a constant bound as the ratio test requires, and the series converges. (The limit form gives ρ=1/3\rho = 1/3, the same conclusion.) Note how the test is used. The ratio exceeds 11 at n=1n = 1 and n=2n = 2 — its values there are 8/38/3 and 9/89/8 — and that costs nothing, because the hypothesis is only ever imposed from some index onwards. What the test does need is a single r<1r < 1 above the ratio for all those nn, which here is any number in [64/81,1)[64/81, 1).

Step 2: the sum. Put Sk=∑n≥1nk3−nS_k = \sum_{n \ge 1} n^k 3^{-n} for k=0,1,2,3k = 0, 1, 2, 3; each converges by the computation above with nkn^k in place of n3n^3. Multiplying a convergent series by 33 and shifting the index by one (which only relabels the partial sums),

3Sk=∑n≥1nk3 n−1=∑m≥0(m+1)k3 m=1+∑m≥1(m+1)k3 m,3 S_k = \sum_{n \ge 1} \frac{n^k}{3^{\,n-1}} = \sum_{m \ge 0} \frac{(m+1)^k}{3^{\,m}} = 1 + \sum_{m \ge 1} \frac{(m+1)^k}{3^{\,m}} ,

the last step splitting off the m=0m = 0 term. Subtracting SkS_k, and using that convergent series may be subtracted termwise,

2Sk=1+∑m≥1(m+1)k−mk3 m.2 S_k = 1 + \sum_{m \ge 1} \frac{(m+1)^k - m^k}{3^{\,m}} .

Now take k=0,1,2,3k = 0, 1, 2, 3 in turn. For k=0k = 0 every bracket is 00, so 2S0=12S_0 = 1 and S0=12S_0 = \tfrac12, which is the geometric series ∑m≥13−m\sum_{m\ge1}3^{-m} as it should be. For k=1k=1, (m+1)−m=1(m+1) - m = 1, so 2S1=1+S0=322S_1 = 1 + S_0 = \tfrac32 and S1=34S_1 = \tfrac34. For k=2k = 2, (m+1)2−m2=2m+1(m+1)^2 - m^2 = 2m+1, so 2S2=1+2S1+S0=1+32+12=32S_2 = 1 + 2S_1 + S_0 = 1 + \tfrac32 + \tfrac12 = 3 and S2=32S_2 = \tfrac32. For k=3k = 3, (m+1)3−m3=3m2+3m+1(m+1)^3 - m^3 = 3m^2 + 3m + 1, so

2S3=1+3S2+3S1+S0=1+92+94+12=334,∑n≥1n33n=S3=338=4.125.2 S_3 = 1 + 3 S_2 + 3 S_1 + S_0 = 1 + \tfrac92 + \tfrac94 + \tfrac12 = \frac{33}{4} , \qquad \sum_{n \ge 1} \frac{n^3}{3^n} = S_3 = \frac{33}{8} = 4.125 .

Check. The first twenty terms already give 4.12499864.1249986, so the answer 4.1254.125 is right to the digits shown.

Example(A tail estimated with the integral test)Original

The series ∑n≥1n−2\sum_{n \ge 1} n^{-2} is a pp-series with p=2>1p = 2 > 1, so it converges. Suppose we have summed ten terms,

s10=∑n=1101n2=1.5497677…,s_{10} = \sum_{n=1}^{10} \frac{1}{n^2} = 1.5497677\ldots ,

and want to know what is missing. Take f(x)=x−2f(x) = x^{-2}, which is continuous, positive and non-increasing on [1,∞)[1,\infty) with f(n)=n−2f(n) = n^{-2}, and apply the two-sided bound of the integral test with N=10N = 10. Since ∫11∞x−2 dx=1/11\int_{11}^{\infty} x^{-2}\,dx = 1/11 and u11=1/121u_{11} = 1/121,

111 ≤ ∑n>101n2 ≤ 111+1121,that is0.0909091 ≤ R10 ≤ 0.0991736.\frac{1}{11} \ \le \ \sum_{n > 10} \frac{1}{n^2} \ \le \ \frac{1}{11} + \frac{1}{121} , \qquad\text{that is}\qquad 0.0909091 \ \le \ R_{10} \ \le \ 0.0991736 .

The bracket has width u11=1/121u_{11} = 1/121, so its midpoint 1/11+1/242=0.09504131/11 + 1/242 = 0.0950413 estimates the tail with an error of at most 1/242=4.1×10−31/242 = 4.1\times10^{-3}. Adding it to s10s_{10} gives 1.64480901.6448090 for the sum of the series.

Check. The exact tail is R10=0.0951663…R_{10} = 0.0951663\ldots, inside the bracket as promised, and the midpoint rule missed it by only 1.2×10−41.2 \times 10^{-4}. (The classical value of the whole series is π2/6=1.6449341…\pi^2/6 = 1.6449341\ldots; it is not needed for the estimate and is quoted only to check it.) Ten terms plus one integral thus do the work of several thousand terms of the bare series, which is the practical value of the integral test's bound.

Application(Convergence of a partition function)Original

In statistical mechanics the equilibrium properties of a system follow from its partition function, a sum over states whose convergence is a physical question, not a formality. For a quantum harmonic oscillator of angular frequency ω\omega the energies are En=ℏω (n+12)E_n = \hbar\omega\,(n + \tfrac12) with n=0,1,2,…n = 0, 1, 2, \dots, and at inverse temperature β=1/kBT\beta = 1/k_{\mathrm B}T

Z(β)=∑n≥0e−βEn=e−x/2∑n≥0(e−x)n,x=βℏω.Z(\beta) = \sum_{n \ge 0} e^{-\beta E_n} = e^{-x/2}\sum_{n \ge 0} \bigl(e^{-x}\bigr)^{n} , \qquad x = \beta\hbar\omega .

The ratio of consecutive terms is the constant e−xe^{-x}, so the ratio test settles the matter at once: the sum converges for every x>0x > 0 and diverges for x≤0x \le 0. Being geometric, it can then be evaluated:

Z=e−x/21−e−x=1ex/2−e−x/2=12sinh⁡(βℏω/2),Z = \frac{e^{-x/2}}{1 - e^{-x}} = \frac{1}{e^{x/2} - e^{-x/2}} = \frac{1}{2\sinh(\beta\hbar\omega/2)} ,

from which the mean energy follows as ⟨E⟩=−∂βln⁡Z=12ℏωcoth⁡(βℏω/2)\langle E\rangle = -\partial_\beta \ln Z = \tfrac12 \hbar\omega \coth(\beta\hbar\omega/2). At βℏω=0.7\beta\hbar\omega = 0.7, for instance, Z=1.3998163Z = 1.3998163.

Two features of the convergence are physics. First, the condition x>0x > 0 says that the partition function of a system with infinitely many ever-higher levels exists only at positive temperature; the divergence at β=0\beta = 0 is the statement that infinite temperature would populate infinitely many states equally. Second, the geometric decay means the sum converges at a rate set by e−βℏωe^{-\beta\hbar\omega}, and truncating it after NN terms leaves

∑n>Ne−βEn=e−βℏω(N+3/2)1−e−βℏω,\sum_{n > N} e^{-\beta E_n} = \frac{e^{-\beta\hbar\omega(N + 3/2)}}{1 - e^{-\beta\hbar\omega}} ,

a bound of the kind one needs for the anharmonic and rotational sums that have no closed form: there the comparison is made against this geometric series, and the number of levels to keep is read off from the required accuracy.

Theorem

Absolute and conditional convergence

Adapted

A series whose absolute values converge is convergent and its sum is unchanged by any rearrangement; a convergent series of real terms that is not absolutely convergent can be rearranged to any sum whatever, and the Cauchy product of two absolutely convergent series converges to the product of their sums.

Prerequisites: Limits of sequences and completeness, Convergence tests for series

NoteOriginal

What it means. Absolute convergence is the licence to treat an infinite sum like a finite one: reorder it, split it, multiply it by another such sum. Conditional convergence gives you a number and nothing else, and for a real series Riemann's theorem says exactly how little: the number itself is an artefact of the order in which you added the terms. In practice, before reordering a sum, multiplying two sums or exchanging a sum with another limit, establish absolute convergence; that is what the tests of the previous unit are for.

Definition(Absolute and conditional convergence)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, p. 13; Riley, Hobson & Bence (2006), §4.3.1, p. 124; Hassani (2013), §10.6.1, p. 319

Let ∑n≥0an\sum_{n \ge 0} a_n be a series of real or complex terms. It is absolutely convergent if ∑n≥0∣an∣\sum_{n \ge 0} \lvert a_n \rvert converges. It is conditionally convergent if it converges but ∑n≥0∣an∣\sum_{n \ge 0} \lvert a_n \rvert does not.

Because ∑∣an∣\sum \lvert a_n \rvert has non-negative terms, the comparison, ratio, root and integral tests of Convergence tests for series are tests for absolute convergence.

Definition(Rearrangement and Cauchy product)AdaptedAdapted from Riley, Hobson & Bence (2006), §4.4(iv), p. 131; Arfken, Weber & Harris (2013), §1.1, p. 14

A rearrangement of ∑n≥0an\sum_{n \ge 0} a_n is the series ∑n≥0aσ(n)\sum_{n \ge 0} a_{\sigma(n)} for a bijection σ:N0→N0\sigma : \mathbb{N}_0 \to \mathbb{N}_0, where N0={0,1,2,… }\mathbb{N}_0 = \{0, 1, 2, \dots\}.

The Cauchy product of ∑n≥0an\sum_{n \ge 0} a_n and ∑n≥0bn\sum_{n \ge 0} b_n is the series ∑n≥0cn\sum_{n \ge 0} c_n with

cn=∑k=0nak bn−k,c_n = \sum_{k=0}^{n} a_k \, b_{n-k} ,

that is, the series obtained by collecting the products akbla_k b_l with k+l=nk + l = n. It is the series one gets by multiplying two power series term by term and gathering equal powers.

Theorem(Absolute convergence implies convergence)AdaptedAdapted from Ahlfors (1979), §2.2, p. 35; Hassani (2013), §10.6.1, p. 319

If ∑n≥0∣an∣\sum_{n \ge 0} \lvert a_n \rvert converges, with ana_n real or complex, then ∑n≥0an\sum_{n \ge 0} a_n converges. The converse fails, so absolute convergence is strictly stronger than convergence.

Idea of the proof(Absolute convergence implies convergence)Original

Neither series' sum is known, so the only usable test is the Cauchy criterion, which asks about blocks of consecutive terms rather than about a limit. A block of the given series is dominated in modulus by the corresponding block of the series of absolute values, so smallness of the second kind of block is inherited by the first.

Proof(Absolute convergence implies convergence)AdaptedAdapted from Ahlfors (1979), §2.2, p. 35

Let ε>0\varepsilon > 0. Since ∑n≥0∣an∣\sum_{n \ge 0}\lvert a_n\rvert converges, the Cauchy criterion for a series provides an index NN with

∑n=m+1m+p∣an∣<εfor all m≥N, p≥1,\sum_{n=m+1}^{m+p} \lvert a_n \rvert < \varepsilon \qquad \text{for all } m \ge N, \ p \ge 1 ,

the modulus signs outside the sum being unnecessary because the terms are non-negative. The triangle inequality for a finite sum then gives

∣∑n=m+1m+pan∣ ≤ ∑n=m+1m+p∣an∣ < ε\Bigl\lvert \sum_{n=m+1}^{m+p} a_n \Bigr\rvert \ \le \ \sum_{n=m+1}^{m+p} \lvert a_n\rvert \ < \ \varepsilon

for the same mm and pp. That is the Cauchy criterion for ∑n≥0an\sum_{n\ge0}a_n, which therefore converges. In Ahlfors's phrasing, the partial sums of ∑an\sum a_n are a contraction of those of ∑∣an∣\sum \lvert a_n\rvert: they move no further apart, so they inherit the Cauchy property.

The converse fails: ∑n≥1(−1)n−1/n\sum_{n \ge 1}(-1)^{n-1}/n converges by the Leibniz test while ∑n≥11/n\sum_{n\ge1}1/n diverges, so absolute convergence is strictly stronger. □\square

Theorem(Bound on the sum)Original

If ∑n≥0an\sum_{n \ge 0} a_n is absolutely convergent, with ana_n real or complex, then

∣∑n=0∞an∣ ≤ ∑n=0∞∣an∣,\Bigl\lvert \sum_{n=0}^{\infty} a_n \Bigr\rvert \ \le \ \sum_{n=0}^{\infty} \lvert a_n \rvert ,

with equality if and only if there is a constant λ∈C\lambda \in \mathbb{C} with ∣λ∣=1\lvert \lambda \rvert = 1 such that λan=∣an∣\lambda a_n = \lvert a_n \rvert for every nn; that is, if and only if all the non-zero terms have the same argument. For real terms this says that the terms are all ≥0\ge 0 or all ≤0\le 0.

The bound is the triangle inequality for the partial sums carried to the limit on both sides. It is not printed on either of the pages cited for the previous statement, so it is stated here as the handbook's own.

Idea of the proof(Bound on the sum)Original

The inequality is the triangle inequality for each partial sum, kept through the limit because a non-strict inequality survives it. For the equality case, rotate the whole series by the unit number λ\lambda that makes its sum real and positive. Then ∑Re⁡(λan)\sum \operatorname{Re}(\lambda a_n) and ∑∣an∣\sum \lvert a_n\rvert have the same value, while the terms of the first never exceed those of the second; a series of non-negative terms with sum zero has every term zero, so the two agree term by term, and a complex number whose real part equals its modulus is non-negative.

Proof(Bound on the sum)Original

Write sN=∑n=0Nans_N = \sum_{n=0}^{N}a_n, S=∑n=0∞anS = \sum_{n=0}^{\infty}a_n — which exists by the statement just proved — and T=∑n=0∞∣an∣T = \sum_{n=0}^{\infty}\lvert a_n\rvert.

The inequality. The triangle inequality for finite sums gives ∣sN∣≤∑n=0N∣an∣≤T\lvert s_N\rvert \le \sum_{n=0}^{N}\lvert a_n\rvert \le T, the second step because the partial sums of a series of non-negative terms never exceed its sum. The modulus is continuous, so ∣sN∣→∣S∣\lvert s_N \rvert \to \lvert S\rvert, and a non-strict inequality is preserved in the limit: ∣S∣≤T\lvert S \rvert \le T.

Equality implies a common argument. Suppose ∣S∣=T\lvert S\rvert = T.

The degenerate case. If T=0T = 0, then the partial sums of ∑∣an∣\sum\lvert a_n\rvert are non-decreasing with limit 00, so each is both ≥0\ge 0 and ≤0\le 0, hence 00; so every ∣an∣=0\lvert a_n\rvert = 0 and λ=1\lambda = 1 satisfies λan=∣an∣\lambda a_n = \lvert a_n\rvert for every nn.

The main case. If T>0T > 0 then S≠0S \neq 0, and we may set λ=S‾/∣S∣\lambda = \overline{S}/\lvert S\rvert, so that ∣λ∣=1\lvert \lambda \rvert = 1 and λS=∣S∣=T\lambda S = \lvert S\rvert = T. Multiplying a convergent series by a constant and taking real parts termwise are both limits of the corresponding operations on partial sums, so

∑n=0∞Re⁡(λan)=Re⁡(λS)=T.\sum_{n=0}^{\infty} \operatorname{Re}(\lambda a_n) = \operatorname{Re}(\lambda S) = T .

Each term satisfies Re⁡(λan)≤∣λan∣=∣an∣\operatorname{Re}(\lambda a_n) \le \lvert \lambda a_n\rvert = \lvert a_n\rvert, so the series ∑n(∣an∣−Re⁡(λan))\sum_{n}\bigl(\lvert a_n\rvert - \operatorname{Re}(\lambda a_n)\bigr) has non-negative terms, and its sum is T−T=0T - T = 0. By the degenerate case's argument every term vanishes:

Re⁡(λan)=∣an∣=∣λan∣for every n.\operatorname{Re}(\lambda a_n) = \lvert a_n \rvert = \lvert \lambda a_n \rvert \qquad \text{for every } n .

A complex number zz with Re⁡z=∣z∣\operatorname{Re} z = \lvert z \rvert satisfies (Im⁡z)2=∣z∣2−(Re⁡z)2=0(\operatorname{Im} z)^2 = \lvert z\rvert^2 - (\operatorname{Re} z)^2 = 0, so it is real and equal to its own modulus, hence ≥0\ge 0. Applied to z=λanz = \lambda a_n this gives λan=∣λan∣=∣an∣\lambda a_n = \lvert \lambda a_n \rvert = \lvert a_n\rvert for every nn, which is the asserted condition.

A common argument implies equality. Conversely, if ∣λ∣=1\lvert \lambda\rvert = 1 and λan=∣an∣\lambda a_n = \lvert a_n\rvert for every nn, then summing gives λS=T\lambda S = T, so ∣S∣=∣λS∣=T\lvert S\rvert = \lvert \lambda S\rvert = T.

Reading the condition. λan=∣an∣\lambda a_n = \lvert a_n\rvert with ∣λ∣=1\lvert \lambda\rvert = 1 says an=λ‾ ∣an∣a_n = \overline{\lambda}\,\lvert a_n\rvert, so every non-zero term has argument −arg⁡λ-\arg\lambda: the non-zero terms share an argument. If the terms are real and some an≠0a_n \neq 0, then λ=∣an∣/an=±1\lambda = \lvert a_n\rvert/a_n = \pm 1, and the condition says that all terms are ≥0\ge 0 (for λ=1\lambda = 1) or all ≤0\le 0 (for λ=−1\lambda = -1). □\square

Theorem(Rearrangement of an absolutely convergent series)AdaptedAdapted from Ahlfors (1979), §2.2, Exercise 3, p. 37; Arfken, Weber & Harris (2013), §1.1, p. 14

Let ∑n≥0an\sum_{n \ge 0} a_n be absolutely convergent with sum SS. Then for every bijection σ\sigma of N0\mathbb{N}_0 the rearranged series ∑n≥0aσ(n)\sum_{n \ge 0} a_{\sigma(n)} is again absolutely convergent and its sum is SS. So the order of summation is immaterial once absolute convergence is known.

Idea of the proof(Rearrangement of an absolutely convergent series)Original

Absolute convergence means that all but finitely many terms together contribute less than ε\varepsilon in total. Once a partial sum of the rearranged series is long enough to contain all of those finitely many terms, whatever else it contains is drawn from the negligible remainder. So both the original sum and every long enough rearranged partial sum sit within ε\varepsilon of the same finite sum, and hence within 2ε2\varepsilon of each other.

Proof(Rearrangement of an absolutely convergent series)Original

Let S=∑n≥0anS = \sum_{n\ge0}a_n, let T=∑n≥0∣an∣T = \sum_{n\ge0}\lvert a_n\rvert, let σ\sigma be a bijection of N0\mathbb{N}_0, and let ε>0\varepsilon > 0.

A negligible tail. The partial sums of ∑∣an∣\sum\lvert a_n\rvert increase to TT, so there is an NN with ∑n>N∣an∣=T−∑n=0N∣an∣<ε\sum_{n > N}\lvert a_n\rvert = T - \sum_{n=0}^{N}\lvert a_n \rvert < \varepsilon.

An index after which nothing is missing. Each of the finitely many integers 0,1,…,N0, 1, \dots, N has exactly one σ\sigma-preimage, because σ\sigma is a bijection. Put M=max⁡{σ−1(0),…,σ−1(N)}M = \max\{\sigma^{-1}(0), \dots, \sigma^{-1}(N)\}. For every m≥Mm \ge M the list σ(0),…,σ(m)\sigma(0), \dots, \sigma(m) contains 0,…,N0, \dots, N, and its entries are distinct.

Comparison of partial sums. For m≥Mm \ge M the difference

∑j=0maσ(j)−∑n=0Nan\sum_{j=0}^{m} a_{\sigma(j)} - \sum_{n=0}^{N} a_n

is a sum of finitely many distinct terms ana_n, all with n>Nn > N; by the triangle inequality its modulus is at most ∑n>N∣an∣<ε\sum_{n>N}\lvert a_n\rvert < \varepsilon. The original series satisfies the same kind of bound: by the statement proved above, applied to the series ∑n>Nan\sum_{n>N}a_n,

∣S−∑n=0Nan∣=∣∑n>Nan∣≤∑n>N∣an∣<ε.\Bigl\lvert S - \sum_{n=0}^{N}a_n \Bigr\rvert = \Bigl\lvert \sum_{n>N}a_n\Bigr\rvert \le \sum_{n>N}\lvert a_n\rvert < \varepsilon .

Adding the two estimates, ∣∑j≤maσ(j)−S∣<2ε\bigl\lvert \sum_{j\le m} a_{\sigma(j)} - S\bigr\rvert < 2\varepsilon for every m≥Mm \ge M. Since ε>0\varepsilon > 0 was arbitrary, ∑j≥0aσ(j)\sum_{j \ge 0}a_{\sigma(j)} converges with sum SS.

The rearrangement is again absolutely convergent. Every partial sum ∑j≤m∣aσ(j)∣\sum_{j \le m}\lvert a_{\sigma(j)}\rvert consists of finitely many distinct terms of the non-negative series ∑∣an∣\sum\lvert a_n\rvert, so it is at most TT. Non-negative terms and bounded partial sums give convergence, and the argument just given — applied to ∑∣an∣\sum \lvert a_n\rvert in place of ∑an\sum a_n — shows that the sum is again TT. □\square

Theorem(Riemann's rearrangement theorem)AdaptedAdapted from Riley, Hobson & Bence (2006), §4.3.1, p. 124; Arfken, Weber & Harris (2013), §1.1, p. 15

Let ∑n≥0an\sum_{n \ge 0} a_n be a series of real terms that converges but is not absolutely convergent. Then:

  1. for every L∈RL \in \mathbb{R} there is a bijection σ\sigma of N0\mathbb{N}_0 with ∑n≥0aσ(n)=L\sum_{n \ge 0} a_{\sigma(n)} = L;
  2. there are bijections for which the partial sums tend to +∞+\infty, and others for which they tend to −∞-\infty;
  3. there are bijections for which the partial sums oscillate and have no limit in R‾\overline{\mathbb{R}}.

So for a conditionally convergent series the sum is a property of the ordering and not of the set of terms alone.

Idea of the proof(Riemann's rearrangement theorem)Original

Split the terms into the non-negative ones and the negative ones. Neither list can have a finite total: if both did, the series would converge absolutely, and if one did, the other would too. So each list is an unlimited supply of material of one sign, and the terms are individually small because the series converges. Drawing on the two lists in turn, taking from each only as much as is needed to overshoot a target and then to undershoot it, steers the partial sums wherever one pleases: towards a chosen number, to infinity, or back and forth between two levels.

Proof(Riemann's rearrangement theorem)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, Example 1.1.9, pp. 14-15

Throughout, ∑an\sum a_n converges, so an→0a_n \to 0, and ∑∣an∣\sum \lvert a_n\rvert diverges.

Lemma: the two signs separately diverge. Put an+=max⁡(an,0)a_n^{+} = \max(a_n, 0) and an−=max⁡(−an,0)a_n^{-} = \max(-a_n, 0), both non-negative, with an=an+−an−a_n = a_n^{+} - a_n^{-} and ∣an∣=an++an−\lvert a_n\rvert = a_n^{+} + a_n^{-}. Since an+=an+an−a_n^{+} = a_n + a_n^{-} and ∑an\sum a_n converges, the series ∑an+\sum a_n^{+} and ∑an−\sum a_n^{-} converge or diverge together. They cannot both converge, for then ∑∣an∣=∑(an++an−)\sum \lvert a_n \rvert = \sum(a_n^{+} + a_n^{-}) would converge. So both diverge, and because their terms are non-negative their partial sums tend to +∞+\infty.

The two lists. List the terms an≥0a_n \ge 0, in their original order, as p1,p2,…p_1, p_2, \dots, and the moduli of the terms an<0a_n < 0, in their original order, as q1,q2,…q_1, q_2, \dots. Each list is infinite: if, say, only finitely many terms were negative, ∑an−\sum a_n^{-} would be a finite sum. Deleting the zero entries changes nothing, so ∑kpk=∑nan+=+∞\sum_k p_k = \sum_n a_n^{+} = +\infty and ∑kqk=∑nan−=+∞\sum_k q_k = \sum_n a_n^{-} = +\infty, while pk→0p_k \to 0 and qk→0q_k \to 0 because an→0a_n \to 0. Every term of the original series occupies exactly one position in exactly one list, so any prescription that consumes both lists in order, each entry once and all of them eventually, defines a bijection σ\sigma of N0\mathbb{N}_0, that is, a rearrangement.

Part 1: an arbitrary real limit LL. Build the rearrangement in stages, each of which takes at least one entry from its list and then continues until a target is crossed. Stage 1 ascends: add p1,p2,…p_1, p_2, \dots in order until the running total has reached LL or more, which happens after finitely many entries because ∑pk=+∞\sum p_k = +\infty. Stage 2 descends: add −q1,−q2,…-q_1, -q_2, \dots in order until the total has fallen below LL, which happens because ∑qk=+∞\sum q_k = +\infty. Stage 3 resumes with the next unused pp, and so on. The stages alternate forever and each uses at least one entry, so both lists are consumed in order and the prescription is a rearrangement.

Let vkv_k be the total at the end of stage kk and tkt_k the last entry it used. Each stage adds entries of one sign, so the partial sums occurring inside stage kk lie between vk−1v_{k-1} and vkv_k.

From stage 2 onwards each stage starts on the far side of LL from the direction it moves: an ascending stage starts below LL, because the preceding descending stage ended there, and a descending stage starts at or above LL. Such a stage therefore ends just after its first crossing of LL: for an ascending one, L≤vk≤L+∣tk∣L \le v_k \le L + \lvert t_k\rvert, since one entry earlier the total was still below LL; for a descending one, L−∣tk∣≤vk<LL - \lvert t_k\rvert \le v_k < L. So ∣vk−L∣≤∣tk∣\lvert v_k - L\rvert \le \lvert t_k\rvert for every k≥2k \ge 2.

As kk grows both lists advance without bound, so ∣tk∣→0\lvert t_k \rvert \to 0 because pk→0p_k \to 0 and qk→0q_k \to 0. Every partial sum occurring in stage kk, for k≥3k \ge 3, therefore differs from LL by at most max⁡(∣tk−1∣,∣tk∣)\max(\lvert t_{k-1}\rvert, \lvert t_k\rvert), which tends to 00; the finitely many partial sums of the first two stages are irrelevant to a limit. Hence the rearranged series converges to LL.

Part 2: divergence to ±∞\pm\infty. For +∞+\infty, let stage kk take unused entries pp in order — at least one — until the total exceeds kk, and then exactly one unused entry −q-q. Each stage terminates and uses entries of both lists, so this is again a rearrangement. Write qjkq_{j_k} for the single negative entry of stage kk. The total at the end of stage kk exceeds k−qjkk - q_{j_k}, and inside stage k+1k+1 the total only grows until that stage's final entry; so every partial sum from the end of stage kk onwards is at least k−sup⁡j≥jkqjk - \sup_{j \ge j_k}q_j. Since qj→0q_j \to 0, this bound tends to +∞+\infty with kk, and so do the partial sums. Exchanging the roles of the two lists gives −∞-\infty.

Part 3: oscillation. Alternate two targets: take unused pp's — at least one — until the total exceeds 11, then unused qq's until it falls below 00, and repeat forever. As before this is a rearrangement. The partial sums exceed 11 infinitely often and fall below 00 infinitely often, so they have no limit. They are also bounded: an ascending stage starts at or below 00 and stops within one entry of 11, and a descending stage starts at most at 1+P1 + P and stops within one entry of 00, so every partial sum lies in [−Q, 1+P][-Q,\, 1+P], where P=sup⁡kpkP = \sup_k p_k and Q=sup⁡kqkQ = \sup_k q_k are finite because both lists tend to 00. So the partial sums do not tend to +∞+\infty or −∞-\infty either, and have no limit in R‾\overline{\mathbb{R}}. □\square

Theorem(Cauchy product)AdaptedAdapted from Riley, Hobson & Bence (2006), §4.4(iv), p. 131; Arfken, Weber & Harris (2013), §1.1, p. 14

Let ∑n≥0an\sum_{n \ge 0} a_n and ∑n≥0bn\sum_{n \ge 0} b_n be absolutely convergent, with sums AA and BB. Then their Cauchy product ∑n≥0cn\sum_{n \ge 0} c_n, cn=∑k=0nakbn−kc_n = \sum_{k=0}^n a_k b_{n-k}, is absolutely convergent and

∑n=0∞cn=A B.\sum_{n=0}^{\infty} c_n = A \, B .

The same holds for the terms akbla_k b_l summed in any other order, since the product series converges absolutely.

Idea of the proof(Cauchy product)Original

Think of all the products akbla_k b_l as a single infinite list. Absolute convergence of the factors bounds the sum of their moduli by (∑∣ak∣)(∑∣bl∣)\bigl(\sum\lvert a_k\rvert\bigr)\bigl(\sum\lvert b_l\rvert\bigr), so that list is an absolutely convergent series and, by the rearrangement theorem, has a sum independent of the order chosen. Two orders are then read off: along expanding squares, where the partial sums are ANBNA_N B_N; and along diagonals, where they are the partial sums of the Cauchy product. Both must give the same number.

Proof(Cauchy product)Original

Write α=∑k≥0∣ak∣\alpha = \sum_{k \ge 0}\lvert a_k\rvert and β=∑l≥0∣bl∣\beta = \sum_{l\ge0}\lvert b_l\rvert, both finite, and AN=∑k=0NakA_N = \sum_{k=0}^{N}a_k, BN=∑l=0NblB_N = \sum_{l=0}^{N}b_l.

Step 1: the products form one absolutely convergent series. Fix any bijection j↦(kj,lj)j \mapsto (k_j, l_j) from N0\mathbb{N}_0 onto N0×N0\mathbb{N}_0 \times \mathbb{N}_0 and consider the series ∑j≥0akjblj\sum_{j \ge 0} a_{k_j}b_{l_j}. Given JJ, let KK be the largest of the numbers k0,l0,…,kJ,lJk_0, l_0, \dots, k_J, l_J. The pairs (kj,lj)(k_j, l_j) with j≤Jj \le J are distinct and all lie in the square {0,…,K}2\{0,\dots,K\}^2, so

∑j=0J∣akj∣ ∣blj∣ ≤ (∑k=0K∣ak∣)(∑l=0K∣bl∣) ≤ αβ,\sum_{j=0}^{J} \lvert a_{k_j}\rvert\,\lvert b_{l_j}\rvert \ \le \ \Bigl(\sum_{k=0}^{K}\lvert a_k\rvert\Bigr)\Bigl(\sum_{l=0}^{K}\lvert b_l\rvert\Bigr) \ \le \ \alpha\beta ,

the first inequality because every product on the left appears exactly once among the non-negative products obtained by expanding the brackets. Non-negative terms with bounded partial sums converge, so ∑jakjblj\sum_j a_{k_j}b_{l_j} is absolutely convergent; call its sum TT. Two enumerations of N0×N0\mathbb{N}_0\times\mathbb{N}_0 differ by a bijection of N0\mathbb{N}_0, so by the rearrangement theorem TT does not depend on which one was chosen.

Step 2: enumerate by squares to get ABAB. List first the pair (0,0)(0,0), then the pairs with max⁡(k,l)=1\max(k,l) = 1, then those with max⁡(k,l)=2\max(k,l) = 2, and so on, in any fixed order inside each block. The partial sum at the end of the block max⁡(k,l)=N\max(k,l) = N runs over all pairs in {0,…,N}2\{0,\dots,N\}^2, so it equals ANBNA_N B_N. These are partial sums of a convergent series with sum TT, so ANBN→TA_N B_N \to T; but AN→AA_N \to A and BN→BB_N \to B, so ANBN→ABA_N B_N \to AB. Hence T=ABT = AB.

Step 3: enumerate by diagonals to get the Cauchy product. List instead the pairs with k+l=0k + l = 0, then those with k+l=1k+l = 1, and so on. The partial sum at the end of the block k+l=Nk+l = N runs over all pairs with k+l≤Nk + l \le N, so it equals ∑n=0Ncn\sum_{n=0}^{N}c_n. Again these are partial sums of a series with sum TT, so ∑n=0Ncn→T=AB\sum_{n=0}^{N}c_n \to T = AB.

Step 4: the product series converges absolutely. By the triangle inequality ∣cn∣≤∑k+l=n∣ak∣∣bl∣\lvert c_n\rvert \le \sum_{k+l=n}\lvert a_k\rvert\lvert b_l\rvert, and summing over n≤Nn \le N gives ∑n=0N∣cn∣≤αβ\sum_{n=0}^{N}\lvert c_n\rvert \le \alpha\beta by the bound of Step 1. Non-negative terms with bounded partial sums converge.

So ∑ncn\sum_n c_n is absolutely convergent with sum ABAB, and Step 1 is the final sentence of the statement: the products akbla_kb_l summed in any order give the same T=ABT = AB. □\square

Remark(Where the hypotheses are used)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.1, Examples 1.1.9 and 1.1.10, pp. 14-15; Riley, Hobson & Bence (2006), §4.3.1, p. 124; Ahlfors (1979), §2.2, Exercise 6, p. 37
  • Both rearrangement results need their hypothesis, and the two are complementary. The alternating harmonic series ∑n≥1(−1)n−1/n\sum_{n \ge 1} (-1)^{n-1}/n converges by the Leibniz test and diverges in absolute value; Arfken exhibits a reordering of it (taking positive terms until the partial sum reaches 3/23/2, then negative terms until it falls below, and repeating) whose partial sums converge to 3/23/2 instead of to ln⁡2\ln 2 (p. 15).
  • The Cauchy product needs more than convergence of the factors. Take an=(−1)n/n+1a_n = (-1)^n/\sqrt{n+1}, so that ∑n≥0an\sum_{n \ge 0} a_n converges conditionally. Its Cauchy product with itself has cn=(−1)n∑k=0n1(k+1)(n−k+1),c_n = (-1)^n \sum_{k=0}^{n} \frac{1}{\sqrt{(k+1)(n-k+1)}} , and the sum on the right is a Riemann sum for ∫01dtt(1−t)=π\int_0^1 \dfrac{dt}{\sqrt{t(1-t)}} = \pi, so ∣cn∣→π\lvert c_n \rvert \to \pi. The terms do not tend to 00, so the product series diverges, as Arfken's Example 1.1.10 (p. 15) observes.
  • Only one factor need be absolutely convergent. If ∑an\sum a_n converges absolutely to AA and ∑bn\sum b_n converges to BB, the Cauchy product still converges to ABAB; this is Mertens' theorem, and Ahlfors sets it as Exercise 6 (p. 37), asking for a proof arranged so that the second factor need only converge. The conclusion is then weaker: the product series converges to ABAB but need not converge absolutely.
  • The restriction to real terms in Riemann's theorem is ours, not the books'. Both cited sources state the theorem for any conditionally convergent series and attach no condition to the terms. Arfken draws it as a moral from the rearranged alternating harmonic series: a suitable reordering can send such a series to any value one likes, or make it diverge (p. 15). Riley, Hobson and Bence list the three possible behaviours — an arbitrary limit, divergence, finite or infinite oscillation — two sentences after saying that the terms of a series may be complex (p. 124). Read as printed over C\mathbb{C}, that is false: if an=i (−1)n/(n+1)a_n = i\,(-1)^{n}/(n+1), the series converges and is not absolutely convergent, yet every term is purely imaginary, so every convergent rearrangement has a purely imaginary sum and no real L≠0L \neq 0 is attainable. Part 1 above is therefore restricted to real terms, which is where both books' examples live; the two printed statements are logged in verification/discrepancies.md.
  • What replaces part 1 for complex terms. A theorem of Levy and Steinitz: the sums attainable by convergent rearrangements of a convergent complex series form a translate of a linear subspace of C\mathbb{C}. A single point is exactly the absolutely convergent case, since in finite dimensions unconditional convergence forces absolute convergence; so for a series that converges but not absolutely the set of attainable sums is a line or the whole of C\mathbb{C}. Over R\mathbb{R} the only proper subspace is {0}\{0\}, and the theorem collapses to Riemann's.
  • Terminology. "Conditionally convergent" here means convergent but not absolutely convergent, following Arfken (p. 13) and Riley, Hobson and Bence (p. 124). Some texts use the phrase for any convergent series whose convergence depends on the arrangement of its terms, which for real series is the same class.
Example(Rearranging a conditionally convergent series halves it)Original

The alternating harmonic series ∑n≥1(−1)n−1/n\sum_{n\ge1}(-1)^{n-1}/n converges by the Leibniz test, and ∑1/n\sum 1/n diverges, so it is conditionally convergent and the rearrangement theorem does not apply to it. Call its sum Λ\Lambda. Rearrange it by taking one positive term and then two negative ones, over and over:

1−12−14  +  13−16−18  +  15−110−112  +⋯1 - \frac12 - \frac14 \; + \; \frac13 - \frac16 - \frac18 \; + \; \frac15 - \frac{1}{10} - \frac{1}{12} \; + \cdots

Every odd reciprocal appears once, in its original order, and every even reciprocal appears once with a minus sign, in its original order, so this is a genuine rearrangement.

Step 1: the kk-th group. It is

gk=12k−1−14k−2−14k.g_k = \frac{1}{2k-1} - \frac{1}{4k-2} - \frac{1}{4k} .

Since 12k−1−14k−2=12(2k−1)=14k−2\dfrac{1}{2k-1} - \dfrac{1}{4k-2} = \dfrac{1}{2(2k-1)} = \dfrac{1}{4k-2}, this simplifies to

gk=14k−2−14k=12(12k−1−12k).g_k = \frac{1}{4k-2} - \frac{1}{4k} = \frac12\left(\frac{1}{2k-1} - \frac{1}{2k}\right) .

Step 2: sum the groups. The bracket is a consecutive pair of terms of the original series, so adding g1,…,gKg_1, \dots, g_K gives exactly half the 2K2K-th partial sum of the original series:

∑k=1Kgk=12∑n=12K(−1)n−1n ⟶ Λ2.\sum_{k=1}^{K} g_k = \frac12 \sum_{n=1}^{2K} \frac{(-1)^{n-1}}{n} \ \longrightarrow \ \frac{\Lambda}{2} .

Step 3: fill in the partial sums between group boundaries. A partial sum of the rearranged series differs from the nearest group boundary by at most two of its terms, each of modulus at most 1/(4k−2)→01/(4k-2) \to 0, so the whole rearranged series converges to Λ/2\Lambda/2.

Check. With Λ=ln⁡2=0.6931472\Lambda = \ln 2 = 0.6931472 (quoted only as a reference value), the rearranged sum should be 0.34657360.3465736. Adding the first 200 000200\,000 groups gives 0.34657300.3465730, and the remaining tail is about 1/(8K)=6×10−71/(8K) = 6\times10^{-7}, which accounts for the difference.

The same terms, reordered, sum to half as much. Riemann's theorem says that Λ/2\Lambda/2 is nothing special: some rearrangement of these terms converges to each real number.

Example(A Cauchy product evaluated)Original

Take an=2−na_n = 2^{-n} and bn=3−nb_n = 3^{-n} for n≥0n \ge 0. Both series have positive terms and converge, hence converge absolutely, with

A=∑n≥02−n=2,B=∑n≥03−n=32.A = \sum_{n\ge0}2^{-n} = 2 , \qquad B = \sum_{n\ge0}3^{-n} = \frac32 .

The product terms. Summing a finite geometric series with ratio 3/23/2,

cn=∑k=0n12k 13 n−k=13n∑k=0n(32)k=13n⋅(3/2)n+1−11/2=32n−23n.c_n = \sum_{k=0}^{n} \frac{1}{2^{k}}\,\frac{1}{3^{\,n-k}} = \frac{1}{3^{n}}\sum_{k=0}^{n}\Bigl(\frac32\Bigr)^{k} = \frac{1}{3^{n}} \cdot \frac{(3/2)^{n+1}-1}{1/2} = \frac{3}{2^{n}} - \frac{2}{3^{n}} .

The first values are c0=1c_0 = 1, c1=5/6c_1 = 5/6, c2=19/36c_2 = 19/36, c3=65/216c_3 = 65/216, which agree with the definition computed directly.

The sum. Both geometric series again,

∑n≥0cn=3∑n≥02−n−2∑n≥03−n=3⋅2−2⋅32=3=A B,\sum_{n\ge0}c_n = 3\sum_{n\ge0}2^{-n} - 2\sum_{n\ge0}3^{-n} = 3\cdot 2 - 2\cdot\frac32 = 3 = A\,B ,

as the theorem predicts, and the convergence is absolute because cn>0c_n > 0 (indeed 3/2n>2/3n3/2^n > 2/3^n for every n≥0n \ge 0).

Example(When the triangle-inequality bound is attained)Original

Let an=eiπ/42−na_n = e^{i\pi/4}2^{-n} for n≥0n \ge 0. Then ∑n≥0∣an∣=∑2−n=2\sum_{n\ge0}\lvert a_n\rvert = \sum 2^{-n} = 2 and ∑n≥0an=2eiπ/4\sum_{n\ge0}a_n = 2e^{i\pi/4}, whose modulus is also 22: the bound is an equality. The equality condition is satisfied with λ=e−iπ/4\lambda = e^{-i\pi/4}, since λan=2−n=∣an∣\lambda a_n = 2^{-n} = \lvert a_n\rvert for every nn — all the terms share the argument π/4\pi/4.

Reverse the sign of one term, say replace a1a_1 by −a1-a_1. The series of moduli is unchanged, so the right-hand side is still 22, while the sum loses 2a1=eiπ/42a_1 = e^{i\pi/4} and becomes eiπ/4e^{i\pi/4}, of modulus 11. Now no unit λ\lambda can satisfy λan=∣an∣\lambda a_n = \lvert a_n\rvert for both n=0n = 0 and n=1n = 1, because those two terms have arguments differing by π\pi; and indeed 1<21 < 2 strictly.

Application(Lattice sums in a crystal: the order of summation is a physical choice)Original

The electrostatic energy of an ion in a cubic ionic crystal such as sodium chloride is a sum over all other sites of the lattice. Measuring distances in units of the nearest-neighbour spacing dd and putting the reference ion at the origin, the Coulomb energy per ion is −Me2/(4πε0d)-M e^2/(4\pi\varepsilon_0 d) with

M=−∑(i,j,k)≠(0,0,0)(−1) i+j+ki2+j2+k2,M = -\sum_{(i,j,k) \neq (0,0,0)} \frac{(-1)^{\,i+j+k}}{\sqrt{i^2+j^2+k^2}} ,

the Madelung constant, the alternating sign being the alternation of cation and anion along each axis.

This series is not absolutely convergent. The number of lattice sites inside the cube of half-side NN is (2N+1)3−1(2N+1)^3 - 1, and their typical distance from the origin is of order NN, so the sum of the moduli over that cube grows like a constant times N2N^2: numerically it is 286286 at N=5N = 5, 39993999 at N=20N = 20 and 88548854 at N=30N = 30, close to 9.8 N29.8\,N^2. The series of moduli therefore diverges, and by the theorems of this unit nothing protects the sum from the order in which it is taken.

And the order matters in practice. Summing over expanding cubes without further care gives the partial values 1.6801.680, 1.7011.701, 1.7131.713, 1.7191.719 at N=8,12,16,20N = 8, 12, 16, 20: still more than one per cent from the answer after 69 00069\,000 sites, because each cube's surface carries a net charge whose potential falls off only slowly. Evjen's remedy is to weight a site on the surface of the cube by the fraction of its charge lying inside, which makes every grouping charge-neutral; the same sites then give 1.7475001.747500 at N=5N=5 and 1.74756521.7475652 at N=16N = 16, agreeing with the accepted value M=1.747565M = 1.747565 to six decimal places. Ewald's method achieves the same end differently, by splitting each point charge into a screened short-range part summed in real space and a smooth part summed in reciprocal space.

The mathematics is exactly Riemann's theorem seen from the laboratory: a conditionally convergent lattice sum has no value until a summation scheme is named, and the schemes that work are those whose groupings are neutral, so that the terms being gathered decay fast enough to make the gathered series absolutely convergent. Every molecular-dynamics code that computes Coulomb energies under periodic boundary conditions carries an Ewald sum or a descendant of it for this reason.

Series of functions

4

Theorem

Uniform convergence

Adapted

Uniform convergence is convergence at a rate independent of the point; it is detected by the Cauchy criterion or the Weierstrass M-test, and it is the hypothesis under which a limit of continuous functions is continuous.

Prerequisites: Limits of sequences and completeness, Convergence tests for series, Absolute and conditional convergence, Pointwise convergence of Fourier series

NoteOriginal

What it means. Pointwise convergence lets each point converge at its own speed, and that is too weak to carry continuity, integrals or derivatives across the limit. Uniform convergence demands one speed for the whole set, which is exactly the strength needed: it is convergence in the supremum distance, so the graphs of fnf_n eventually lie in a narrow band around the graph of ff. In practice one proves uniform convergence by bounding the terms of a series by constants and summing the constants, which is the M-test, and one then uses it to justify term-by-term operations.

Definition(Pointwise and uniform convergence)AdaptedAdapted from Ahlfors (1979), §2.3, pp. 35-36; Arfken, Weber & Harris (2013), §1.2, p. 21

Let EE be a non-empty set and let fn,f:E→Cf_n, f : E \to \mathbb{C}. Both notions below are about the index NN beyond which the error is smaller than a prescribed ε>0\varepsilon > 0, and they differ only in whether that index may be chosen after looking at the point.

  • Pointwise: fn→ff_n \to f pointwise on EE when fn(x)→f(x)f_n(x) \to f(x) holds separately at each x∈Ex \in E; to each ε>0\varepsilon > 0 and each x∈Ex \in E there then corresponds an index NN, which may depend on both, with ∣fn(x)−f(x)∣<ε\lvert f_n(x) - f(x) \rvert < \varepsilon at every n>Nn > N.
  • Uniform: fn→ff_n \to f uniformly on EE when one index serves every point at once: to each ε>0\varepsilon > 0 there corresponds an index NN, depending on ε\varepsilon alone, with ∣fn(x)−f(x)∣<εfor all n>N and all x∈E.\lvert f_n(x) - f(x) \rvert < \varepsilon \qquad \text{for all } n > N \text{ and all } x \in E .

The compact form of the second condition is sup⁡x∈E∣fn(x)−f(x)∣→0\sup_{x \in E} \lvert f_n(x) - f(x) \rvert \to 0; for E=[a,b]E = [a,b] and continuous functions it is convergence in the maximum metric of C[a,b]C[a,b]. Uniform convergence implies pointwise convergence, with the same limit function.

A series ∑n≥1un\sum_{n \ge 1} u_n of functions on EE converges uniformly on EE if its partial sums sn=u1+⋯+uns_n = u_1 + \dots + u_n converge uniformly on EE; writing SS for the sum, this says that the tails satisfy sup⁡x∈E∣S(x)−sn(x)∣→0\sup_{x \in E}\lvert S(x) - s_n(x)\rvert \to 0. Both notions depend on the set EE: a series may converge uniformly on a subset of EE and not on EE.

Theorem(Cauchy criterion for uniform convergence)AdaptedAdapted from Ahlfors (1979), §2.3, p. 36

Let fn:E→Cf_n : E \to \mathbb{C}. Then (fn)(f_n) has a uniform limit on EE exactly when its terms become uniformly close to each other: for each ε>0\varepsilon > 0 some index NN, chosen without reference to the point, satisfies

∣fm(x)−fn(x)∣<εwhenever m,n>N and x∈E.\lvert f_m(x) - f_n(x) \rvert < \varepsilon \qquad \text{whenever } m, n > N \text{ and } x \in E .

For a series ∑un\sum u_n the same criterion reads ∣∑n=m+1m+pun(x)∣<ε\bigl\lvert \sum_{n=m+1}^{m+p} u_n(x) \bigr\rvert < \varepsilon for every m≥Nm \ge N, every p≥1p \ge 1 and every x∈Ex \in E. As in the numerical case, the test names no candidate limit.

Idea of the proof(Cauchy criterion for uniform convergence)Original

One direction is the triangle inequality. For the other, the candidate limit is not given, so it has to be built: at each fixed point the values form a Cauchy sequence of numbers, and the completeness of C\mathbb{C} supplies their limit. The point of the hypothesis is that the index in it was chosen without reference to the point, so when the limit is taken inside the inequality the index that survives still serves every point at once.

Proof(Cauchy criterion for uniform convergence)AdaptedAdapted from Ahlfors (1979), §2.3, p. 36

Necessity. Suppose fn→ff_n \to f uniformly and let ε>0\varepsilon > 0. Choose NN with ∣fn(x)−f(x)∣<ε/2\lvert f_n(x) - f(x)\rvert < \varepsilon/2 for all n>Nn > N and all x∈Ex \in E. For m,n>Nm, n > N and any x∈Ex \in E,

∣fm(x)−fn(x)∣≤∣fm(x)−f(x)∣+∣f(x)−fn(x)∣<ε,\lvert f_m(x) - f_n(x)\rvert \le \lvert f_m(x) - f(x)\rvert + \lvert f(x) - f_n(x)\rvert < \varepsilon ,

and NN depends on ε\varepsilon alone because the two bounds used did.

Sufficiency: build the limit. Suppose the displayed condition holds. Fix x∈Ex \in E. Reading the condition at that single point says that (fn(x))n(f_n(x))_{n} is a Cauchy sequence of complex numbers, so by the Cauchy criterion for numerical sequences it converges; define f(x)f(x) to be its limit. This defines a function ff on EE, and it is the only possible uniform limit, since a uniform limit is in particular a pointwise one.

Sufficiency: the convergence is uniform. Let ε>0\varepsilon > 0 and take NN from the hypothesis for ε/2\varepsilon/2, so that ∣fm(x)−fn(x)∣<ε/2\lvert f_m(x) - f_n(x)\rvert < \varepsilon/2 whenever m,n>Nm, n > N and x∈Ex \in E. Fix such an nn and such an xx and let m→∞m \to \infty: the left-hand side tends to ∣f(x)−fn(x)∣\lvert f(x) - f_n(x)\rvert by continuity of the modulus, and a non-strict inequality survives the limit, so

∣f(x)−fn(x)∣≤ε/2<εfor all n>N and all x∈E.\lvert f(x) - f_n(x)\rvert \le \varepsilon/2 < \varepsilon \qquad \text{for all } n > N \text{ and all } x \in E .

The index NN was produced by the hypothesis from ε\varepsilon alone, with no reference to xx, so this is uniform convergence.

The series form. Apply what has been proved to the partial sums sns_n, and use sm+p(x)−sm(x)=∑n=m+1m+pun(x)s_{m+p}(x) - s_m(x) = \sum_{n=m+1}^{m+p}u_n(x) together with the reindexing of pairs (m,p)↔(m,m+p)(m, p) \leftrightarrow (m, m+p) used for numerical series. □\square

Theorem(A uniform limit of continuous functions is continuous)AdaptedAdapted from Ahlfors (1979), §2.3, p. 36; Arfken, Weber & Harris (2013), §1.2, p. 24, property 1

Let EE be a subset of R\mathbb{R} or of C\mathbb{C}, let each fn:E→Cf_n : E \to \mathbb{C} be continuous at x0∈Ex_0 \in E, and let fn→ff_n \to f uniformly on EE. Then ff is continuous at x0x_0. Consequently, if every fnf_n is continuous on EE and the convergence is uniform on EE, the limit ff is continuous on EE.

The same holds for a series: if every unu_n is continuous on EE and ∑n≥1un\sum_{n \ge 1} u_n converges uniformly on EE, its sum is continuous on EE.

Idea of the proof(A uniform limit of continuous functions is continuous)Original

Compare f(x)f(x) with f(x0)f(x_0) through an intermediary: one approximating function fnf_n, at both points. Two of the three resulting errors are the distance from fnf_n to ff, and the third is a continuity estimate for fnf_n. Giving each a third of the budget closes the argument. Uniformity is what lets a single nn serve at x0x_0 and at every nearby xx, which matters because the nearby points are only identified afterwards, once nn has fixed how close they must be.

Proof(A uniform limit of continuous functions is continuous)AdaptedAdapted from Ahlfors (1979), §2.3, p. 36

Let ε>0\varepsilon > 0.

  1. Choose the approximating index first. By uniform convergence there is an nn with

    ∣fn(y)−f(y)∣<ε/3for every y∈E.\lvert f_n(y) - f(y)\rvert < \varepsilon/3 \qquad \text{for every } y \in E .

    Fix that nn. This is the step that needs uniformity: the bound must hold at x0x_0 and at every point we may later want to use, and those points are not yet known.

  2. Use continuity of that one function. Since fnf_n is continuous at x0x_0, there is a δ>0\delta > 0 such that every x∈Ex \in E with ∣x−x0∣<δ\lvert x - x_0\rvert < \delta satisfies ∣fn(x)−fn(x0)∣<ε/3\lvert f_n(x) - f_n(x_0)\rvert < \varepsilon/3.

  3. Add the three errors. For such an xx, inserting fn(x)f_n(x) and fn(x0)f_n(x_0) and applying the triangle inequality twice,

    ∣f(x)−f(x0)∣≤∣f(x)−fn(x)∣+∣fn(x)−fn(x0)∣+∣fn(x0)−f(x0)∣<ε3+ε3+ε3=ε,\lvert f(x) - f(x_0)\rvert \le \lvert f(x) - f_n(x)\rvert + \lvert f_n(x) - f_n(x_0)\rvert + \lvert f_n(x_0) - f(x_0)\rvert < \frac{\varepsilon}{3} + \frac{\varepsilon}{3} + \frac{\varepsilon}{3} = \varepsilon ,

    the outer terms by step 1 and the middle one by step 2. As ε>0\varepsilon > 0 was arbitrary, ff is continuous at x0x_0. Doing this at every x0∈Ex_0 \in E gives continuity on EE.

  4. The series form. Each partial sum sn=u1+⋯+uns_n = u_1 + \dots + u_n is a finite sum of functions continuous on EE, hence continuous on EE, and uniform convergence of the series is uniform convergence of (sn)(s_n); so parts 1 to 3 apply to the partial sums and give continuity of the sum. □\square

Theorem(Weierstrass M-test)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, pp. 22-23; Ahlfors (1979), §2.3, p. 37

Let un:E→Cu_n : E \to \mathbb{C} and suppose there are constants Mn≥0M_n \ge 0 with

∣un(x)∣≤Mnfor all x∈E and all n,∑n≥1Mn<∞.\lvert u_n(x) \rvert \le M_n \quad \text{for all } x \in E \text{ and all } n, \qquad \sum_{n \ge 1} M_n < \infty .

Then ∑n≥1un\sum_{n \ge 1} u_n converges uniformly on EE, and it converges absolutely at every point of EE. The bounds MnM_n must not depend on xx; that is the whole content of the test.

Idea of the proof(Weierstrass M-test)Original

The numerical series ∑Mn\sum M_n does all the work. Its Cauchy criterion makes every far-out block of MnM_n small, and the block of unu_n at the same place is smaller in modulus at every point of EE. The index at which the blocks become small was computed from the numbers MnM_n alone, so it cannot depend on the point, and that is uniformity.

Proof(Weierstrass M-test)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, pp. 22-23; Ahlfors (1979), §2.3, p. 37

Uniform convergence. Let ε>0\varepsilon > 0. The series ∑n≥1Mn\sum_{n\ge1}M_n converges, so by the Cauchy criterion for a series there is an index NN with

∑n=m+1m+pMn<εfor all m≥N and p≥1.\sum_{n=m+1}^{m+p} M_n < \varepsilon \qquad \text{for all } m \ge N \text{ and } p \ge 1 .

For every x∈Ex \in E and the same mm and pp, the triangle inequality and the hypothesis ∣un(x)∣≤Mn\lvert u_n(x)\rvert \le M_n give

∣∑n=m+1m+pun(x)∣ ≤ ∑n=m+1m+p∣un(x)∣ ≤ ∑n=m+1m+pMn < ε.\Bigl\lvert \sum_{n=m+1}^{m+p} u_n(x)\Bigr\rvert \ \le \ \sum_{n=m+1}^{m+p} \lvert u_n(x)\rvert \ \le \ \sum_{n=m+1}^{m+p} M_n \ < \ \varepsilon .

The index NN came from the numbers MnM_n, which do not depend on xx; the second inequality is where that independence is used. So the series satisfies the Cauchy criterion for uniform convergence, and by the statement proved above it converges uniformly on EE.

Absolute convergence at each point. Fix x∈Ex \in E. Then 0≤∣un(x)∣≤Mn0 \le \lvert u_n(x)\rvert \le M_n with ∑Mn\sum M_n convergent, so by the comparison test the series ∑n∣un(x)∣\sum_n \lvert u_n(x)\rvert converges; that is absolute convergence at xx. □\square

Remark(Where the hypotheses are used)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, Example 1.2.1, pp. 21-22, Example 1.2.2 and Abel's test, p. 23; Ahlfors (1979), §2.3, p. 37
  • Pointwise is strictly weaker than uniform. On E=[0,1]E = [0,1] the functions fn(x)=xnf_n(x) = x^n converge pointwise to the function that is 00 on [0,1)[0,1) and 11 at x=1x = 1. Each fnf_n is continuous, the limit is not, so the convergence cannot be uniform; indeed sup⁡x∈[0,1]∣fn(x)−f(x)∣=1\sup_{x \in [0,1]}\lvert f_n(x) - f(x)\rvert = 1 for every nn. Arfken's Example 1.2.1 makes the same point with the series ∑n≥0(1−x)xn\sum_{n \ge 0}(1-x)x^n on [0,1][0,1], whose sum is 11 on [0,1)[0,1) and 00 at x=1x=1. Restricting to [0,ρ][0, \rho] with ρ<1\rho < 1 restores uniform convergence, which is why statements about uniform convergence always name the set.
  • The continuity theorem gives no converse. A pointwise limit of continuous functions can be continuous without the convergence being uniform, so the theorem is a sufficient condition only.
  • Absolute and uniform convergence are independent. The M-test establishes uniform convergence only for series that also converge absolutely (Ahlfors, p. 37; Arfken, p. 23), so it cannot detect the uniform convergence of ∑n≥1(−1)n/(n+x2)\sum_{n \ge 1} (-1)^n/(n + x^2) on R\mathbb{R}, which converges uniformly but not absolutely (Arfken, Example 1.2.2, p. 23). For such series one uses the Cauchy criterion or Abel's test. Arfken states that test on an interval, not on a general set EE: if un(x)=anfn(x)u_n(x) = a_n f_n(x) where ∑an\sum a_n converges, where fn+1(x)≤fn(x)f_{n+1}(x) \le f_n(x) for all xx in [a,b][a,b] and all nn, and where 0≤fn(x)≤M0 \le f_n(x) \le M on [a,b][a,b] with MM independent of xx, then ∑un\sum u_n converges uniformly on [a,b][a,b] (Arfken, p. 23). We use it only in that form, on an interval. Conversely a series can converge absolutely at every point without converging uniformly, as the first bullet shows.
  • Two forms of the M-test. Arfken requires ∣un(x)∣≤Mn\lvert u_n(x)\rvert \le M_n for all nn (p. 22); Ahlfors asks only for ∣un(x)∣≤M an\lvert u_n(x) \rvert \le M \, a_n with a single constant MM and for all sufficiently large nn, with ∑an\sum a_n convergent (p. 37). The two give the same conclusion, since finitely many terms and a fixed factor affect neither uniformity nor convergence of the comparand.
Note(Abel's test is quoted, not proved)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, p. 23

Of the three tests for uniform convergence named above, two are proved in this unit: the Cauchy criterion and the M-test. Abel's test is only quoted. Arfken does not prove it either, referring for the proof to Knopp and to Whittaker and Watson (p. 23), neither of which is among this handbook's sources. It is used once below, in step 4 of the application, and only in the interval form in which the remark states it.

Example(A series handled completely by the M-test)Original

Consider

S(x)=∑n≥1cos⁡(nx)n2,x∈R.S(x) = \sum_{n \ge 1} \frac{\cos(nx)}{n^2} , \qquad x \in \mathbb{R} .

Step 1: uniform convergence. Since ∣cos⁡θ∣≤1\lvert\cos\theta\rvert \le 1 for every real θ\theta,

∣cos⁡(nx)n2∣≤1n2=Mnfor all x∈R,\left\lvert \frac{\cos(nx)}{n^2}\right\rvert \le \frac{1}{n^2} = M_n \qquad \text{for all } x \in \mathbb{R} ,

and ∑n≥1n−2\sum_{n\ge1}n^{-2} is a convergent pp-series (p=2>1p = 2 > 1). The bounds MnM_n do not involve xx, so the M-test applies on the whole of R\mathbb{R}: the series converges uniformly on R\mathbb{R}, and absolutely at every point.

Step 2: the sum is continuous. Each term is continuous on R\mathbb{R} and the convergence is uniform there, so SS is continuous on R\mathbb{R}; it is also 2π2\pi-periodic, since every term is.

Step 3: a uniform error bound. For n≥N+1n \ge N+1 the function x↦x−2x \mapsto x^{-2} is at least n−2n^{-2} on [n−1,n][n-1, n], so n−2≤∫n−1nx−2 dxn^{-2} \le \int_{n-1}^{n}x^{-2}\,dx, and summing,

sup⁡x∈R∣S(x)−sN(x)∣ ≤ ∑n>N1n2 ≤ ∫N∞dxx2=1N.\sup_{x \in \mathbb{R}} \lvert S(x) - s_N(x)\rvert \ \le \ \sum_{n > N}\frac{1}{n^2} \ \le \ \int_{N}^{\infty}\frac{dx}{x^2} = \frac1N .

So N=1000N = 1000 terms give the value of SS to within 10−310^{-3} simultaneously at every real xx — a statement about the whole function, which is the practical difference uniformity makes.

Step 4: a value to check against. At x=πx = \pi, cos⁡(nπ)=(−1)n\cos(n\pi) = (-1)^n, so S(π)=∑n≥1(−1)n/n2S(\pi) = \sum_{n\ge1}(-1)^n/n^2. This series converges absolutely, so its terms may be regrouped freely: splitting ζ(2)=∑n≥1n−2\zeta(2) = \sum_{n \ge 1}n^{-2} into even and odd indices gives ∑n evenn−2=14ζ(2)\sum_{n \text{ even}}n^{-2} = \tfrac14\zeta(2), whence

S(π)=∑n even1n2−∑n odd1n2=2∑n even1n2−ζ(2)=−12ζ(2)=−π212,S(\pi) = \sum_{n \text{ even}} \frac{1}{n^2} - \sum_{n \text{ odd}} \frac{1}{n^2} = 2\sum_{n \text{ even}}\frac{1}{n^2} - \zeta(2) = -\tfrac12 \zeta(2) = -\frac{\pi^2}{12} ,

using at the end the closed form ζ(2)=π2/6\zeta(2) = \pi^2/6, which is the case s=2s = 2 of the evaluation of the zeta function at even integers (Riemann zeta function and Bernoulli numbers); it is not proved here, and nothing in the rest of the example depends on it. What the example needs is a number, and Arfken's Table 1.1 (p. 17) supplies one independently of the closed form: ζ(2)=1.64493 40668\zeta(2) = 1.64493\,40668, so S(π)=−12ζ(2)=−0.82246 70334S(\pi) = -\tfrac12\zeta(2) = -0.82246\,70334, which is indeed −π2/12-\pi^2/12 to the ten digits given. The partial sum s1000(π)=−0.8224665339s_{1000}(\pi) = -0.8224665339 differs from it by 5.0×10−75.0\times10^{-7} — inside the bound 1/10001/1000 of step 3, as it must be.

Example(Pointwise convergence with a continuous limit, yet not uniform)Original

On E=[0,1]E = [0,1] let

gn(x)=nx1+n2x2.g_n(x) = \frac{n x}{1 + n^2 x^2} .

The pointwise limit is 00. At x=0x = 0 every gn(0)=0g_n(0) = 0. For fixed x>0x > 0, dropping the 11 in the denominator gives 0≤gn(x)≤nx/(n2x2)=1/(nx)→00 \le g_n(x) \le nx/(n^2x^2) = 1/(nx) \to 0.

The supremum does not move. Differentiating,

gn′(x)=n (1−n2x2)(1+n2x2)2,g_n'(x) = \frac{n\,(1 - n^2x^2)}{(1+n^2x^2)^2} ,

which is positive for x<1/nx < 1/n and negative for x>1/nx > 1/n, so gng_n increases to a maximum at x=1/n∈[0,1]x = 1/n \in [0,1] and then decreases. The maximum value is

gn ⁣(1n)=11+1=12for every n.g_n\!\left(\frac1n\right) = \frac{1}{1+1} = \frac12 \qquad \text{for every } n .

Hence sup⁡x∈[0,1]∣gn(x)−0∣=12\sup_{x \in [0,1]}\lvert g_n(x) - 0\rvert = \tfrac12 for every nn, which does not tend to 00: the convergence is not uniform. The spike keeps its height and merely slides towards the origin, so no single index can bring the error below 12\tfrac12 everywhere at once.

Note what this does and does not show. The limit 00 is continuous, and each gng_n is continuous, yet the convergence is not uniform — so the continuity theorem above is a sufficient condition and nothing more. Checking sup⁡E∣gn−g∣\sup_E \lvert g_n - g\rvert is the only reliable test; the continuity of the limit is no evidence either way.

Application(Fourier solution of the heat equation)Original

A thin rod occupying 0≤x≤π0 \le x \le \pi with both ends held at temperature 00 and initial profile ff has temperature

u(x,t)=∑n≥1bn e−n2ktsin⁡(nx),bn=2π∫0πf(y)sin⁡(ny) dy,u(x,t) = \sum_{n \ge 1} b_n\, e^{-n^2 k t}\sin(nx) , \qquad b_n = \frac{2}{\pi}\int_0^{\pi} f(y)\sin(ny)\,dy ,

with k>0k > 0 the diffusivity. Writing this down is easy; the analytic content is whether the series means anything, and the M-test answers it.

The sets of pairs, read inside C\mathbb{C}. The theorems above are stated for a set EE that is a subset of R\mathbb{R} or of C\mathbb{C}, and the sets used here are sets of pairs. Identify the pair (x,t)(x,t) with the complex number x+itx + it once and for all, so that every such set is a subset of C\mathbb{C} and the theorems apply verbatim. The identification carries the Euclidean distance of the plane to the modulus, ∣(x+it)−(x0+it0)∣=(x−x0)2+(t−t0)2\lvert (x+it) - (x_0 + it_0)\rvert = \sqrt{(x-x_0)^2 + (t-t_0)^2}, and the modulus is all that the continuity theorem and the Cauchy criterion use; continuity of a function of (x,t)(x,t) in the ordinary plane sense is therefore the same thing as continuity of the corresponding function on a subset of C\mathbb{C}. Nothing analytic about C\mathbb{C} — no differentiability in the complex sense — is being invoked.

Uniform convergence away from t=0t = 0. The coefficients are bounded: ∣bn∣≤C\lvert b_n\rvert \le C with C=(2/π)∫0π∣f∣C = (2/\pi)\int_0^{\pi}\lvert f\rvert, which is finite for any integrable initial profile, however rough. Fix t0>0t_0 > 0 and regard the terms as functions of the pair (x,t)(x,t) on the set E=[0,π]×[t0,∞)E = [0,\pi]\times[t_0,\infty), read as a subset of C\mathbb{C} as just agreed. Then

∣bne−n2ktsin⁡(nx)∣ ≤ Ce−n2kt0=Mnon E,\bigl\lvert b_n e^{-n^2kt}\sin(nx)\bigr\rvert \ \le \ C e^{-n^2 k t_0} = M_n \qquad \text{on } E ,

and ∑nMn\sum_n M_n converges — by the ratio test, since Mn+1/Mn=e−(2n+1)kt0→0M_{n+1}/M_n = e^{-(2n+1)kt_0} \to 0. So the series converges uniformly on EE, and since each term is continuous in (x,t)(x,t), the temperature field is continuous there. This is the smoothing property of diffusion in analytic dress: a discontinuous initial profile gives a continuous temperature at every positive time.

Why the set must be named. The constants MnM_n become CC, which is not summable, when t0=0t_0 = 0, so the M-test is silent there. It is silent because the conclusion is false, and the failure is worth locating exactly. For this paragraph strengthen the hypothesis on the initial profile: let ff satisfy the Dirichlet conditions on [0,π][0,\pi] — at most finitely many discontinuities, all of them finite jumps, at most finitely many maxima and minima, and ∫0π∣f∣<∞\int_0^{\pi}\lvert f\rvert < \infty — and let it jump at an interior point x∗x_\ast, so that the one-sided values f(x∗−)f(x_\ast^-) and f(x∗+)f(x_\ast^+) exist and differ. Integrability alone, the only assumption used above, does not suffice for what follows: the pointwise convergence theorem quoted in step 1 asks for the Dirichlet conditions, and with mere integrability nothing in this handbook identifies the sum of the sine series at t=0t = 0, or even guarantees that it converges there.

  1. What the series does at t=0t = 0. Setting t=0t = 0 leaves ∑nbnsin⁡(nx)\sum_n b_n \sin(nx), which is the Fourier series of the odd 2π2\pi-periodic extension of ff; that extension inherits the Dirichlet conditions. Under those conditions the series converges at every point, to the value of the function where it is continuous and to the mean of the two one-sided values at a jump (Riley, Hobson and Bence, §12.1, p. 416 and §12.4, p. 420; see Pointwise convergence of Fourier series). Write σ\sigma for its sum. Because ff has only finitely many discontinuities, x∗x_\ast has points of continuity arbitrarily close on both sides, and at those points σ=f\sigma = f; hence σ(x)→f(x∗−)\sigma(x) \to f(x_\ast^-) as x↑x∗x \uparrow x_\ast and σ(x)→f(x∗+)\sigma(x) \to f(x_\ast^+) as x↓x∗x \downarrow x_\ast. The two limits differ, so σ\sigma is discontinuous at x∗x_\ast whatever value it takes there.

  2. Sets that contain a piece of t=0t = 0 around the jump. Suppose E′E' contains J×{0}J \times \{0\} for some interval JJ around x∗x_\ast. Each truncation uN(x,t)=∑n≤Nbne−n2ktsin⁡(nx)u_N(x,t) = \sum_{n \le N} b_n e^{-n^2 k t}\sin(nx) is a finite sum of functions continuous on the whole plane, that is on C\mathbb{C} under the identification above, so if the series converged uniformly on E′E' the continuity theorem would make uu continuous on E′E', hence continuous in xx along J×{0}J \times \{0\} — where u(x,0)=σ(x)u(x,0) = \sigma(x), discontinuous at x∗x_\ast by step 1. So it does not. One can also see how badly it fails, with no appeal to the theorem: uN(⋅,0)u_N(\cdot,0) is continuous at x∗x_\ast, so its values just either side of x∗x_\ast are close to the single number uN(x∗,0)u_N(x_\ast,0), while σ\sigma is close to f(x∗−)f(x_\ast^-) on one side and to f(x∗+)f(x_\ast^+) on the other, and one number cannot be nearer than half the gap to both. Hence

    sup⁡x∈J∣σ(x)−uN(x,0)∣ ≥ 12∣f(x∗+)−f(x∗−)∣for every N,\sup_{x \in J}\bigl\lvert \sigma(x) - u_N(x,0)\bigr\rvert \ \ge \ \tfrac12 \bigl\lvert f(x_\ast^+) - f(x_\ast^-)\bigr\rvert \qquad \text{for every } N ,

    a floor that no number of terms lowers. For the profile f=1f = 1 on (π/4,3π/4)(\pi/4, 3\pi/4) and f=0f = 0 outside it, whose two jumps have size 11, the floor is 12\tfrac12.

  3. Sets that only approach t=0t = 0. The case one actually meets is E′=[0,π]×(0,T]E' = [0,\pi] \times (0,T], which contains no point with t=0t = 0. There uu is continuous, so the continuity theorem by itself yields no contradiction; one step bridges the gap. Suppose the series converged uniformly on E′E' and let ε>0\varepsilon > 0. By the Cauchy criterion there is an N0N_0 with ∣uM−uN∣<ε/2\lvert u_M - u_N\rvert < \varepsilon/2 on E′E' whenever M,N>N0M, N > N_0. Each difference uM−uNu_M - u_N is continuous on the whole plane and E′E' is dense in its closure [0,π]×[0,T][0,\pi]\times[0,T], so approaching a point of the closure along points of E′E' carries the bound across: ∣uM−uN∣≤ε/2<ε\lvert u_M - u_N \rvert \le \varepsilon/2 < \varepsilon on [0,π]×[0,T][0,\pi]\times[0,T]. The truncations are therefore uniformly Cauchy, hence uniformly convergent, on [0,π]×[0,T][0,\pi]\times[0,T] — which step 2 forbids, since that set contains [0,π]×{0}[0,\pi]\times\{0\} and so an interval around x∗x_\ast at t=0t = 0.

  4. Reaching t=0t = 0 is not by itself the obstruction. The closure must contain a segment of t=0t = 0 across the jump; merely meeting t=0t = 0 is not enough. At the end of the rod, on E′={0}×[0,∞)E' = \{0\}\times[0,\infty), every term vanishes because sin⁡0=0\sin 0 = 0, so the convergence is uniform there with zero error at every NN, although the closure meets t=0t = 0. The same holds on any single vertical segment {x0}×[0,T]\{x_0\}\times[0,T], for any x0∈[0,π]x_0 \in [0,\pi] and any T>0T > 0: put an=bnsin⁡(nx0)a_n = b_n \sin(n x_0) and φn(t)=e−n2kt\varphi_n(t) = e^{-n^2 k t}, so that ∑an\sum a_n converges by step 1, φn+1(t)≤φn(t)\varphi_{n+1}(t) \le \varphi_n(t) for every t∈[0,T]t \in [0,T], and 0≤φn(t)≤10 \le \varphi_n(t) \le 1 there — the three hypotheses of Abel's test exactly as the remark above states them, on the interval [0,T][0,T] in the role of [a,b][a,b] and with φn\varphi_n in the role of its fnf_n. The test then gives uniform convergence in tt on [0,T][0,T], an interval that includes the endpoint t=0t = 0. Non-uniformity is thus a statement about letting xx cross the jump while t↓0t \downarrow 0, not about small tt alone.

Uniformity on t≥t0>0t \ge t_0 > 0, and not on t≥0t \ge 0, is therefore the correct statement, and the deterioration as t0↓0t_0 \downarrow 0 is why a truncated series needs more and more terms as one looks closer to the initial instant.

A usable error bound. Return to the set E=[0,π]×[t0,∞)E = [0,\pi]\times[t_0,\infty) and the truncation uNu_N. For n>Nn > N we have n2≥n(N+1)n^2 \ge n(N+1), so

sup⁡(x,t)∈E∣u(x,t)−uN(x,t)∣ ≤ C∑n>Ne−n2kt0 ≤ C∑n>Ne−n(N+1)kt0=C e−(N+1)2kt01−e−(N+1)kt0,\sup_{(x,t)\in E}\lvert u(x,t) - u_N(x,t)\rvert \ \le \ C\sum_{n > N} e^{-n^2 kt_0} \ \le \ C \sum_{n>N}e^{-n(N+1)kt_0} = C\,\frac{e^{-(N+1)^2kt_0}}{1 - e^{-(N+1)kt_0}} ,

summing the geometric series at the end. With k=1k = 1, t0=0.05t_0 = 0.05 and N=20N = 20 this is 4.1×10−10 C4.1\times10^{-10}\,C, against a true tail of 3.0×10−10 C3.0\times10^{-10}\,C: twenty terms suffice at that time, for all xx at once. The same argument — not the same bound, since the extra factors change the geometric sum — applied to the series of xx- or tt-derivatives (whose terms carry extra factors nn or n2n^2 and so are still dominated by summable constants), is what licenses differentiating the series term by term and confirming that uu solves ut=kuxxu_t = k u_{xx} — see Integrating and differentiating series term by term.

Theorem

Integrating and differentiating series term by term

Adapted

Uniform convergence on a finite interval lets a limit or a sum be taken through an integral, while term-by-term differentiation needs the differentiated series to converge uniformly; both fail without those hypotheses.

Prerequisites: Uniform convergence, Convergence tests for series

NoteOriginal

What it means. Integration averages, so it tolerates a small uniform error: a band of width ε\varepsilon around the limit changes the integral by at most ε\varepsilon times the length of the interval. Differentiation reads off slopes, and a function can lie within ε\varepsilon of another while oscillating steeply, so no uniform bound on the functions controls their derivatives. That asymmetry is why the integration theorem assumes uniform convergence of the series itself and the differentiation theorem assumes it of the differentiated series. When you cannot check hypothesis 3, differentiate inside the sum only if the series is a power series, where the differentiated series automatically has the same radius of convergence; see Power series.

Theorem(Term-by-term integration)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, p. 24, property 2 and Eq. (1.38)

Let a<ba < b be finite.

  1. Sequence form. Let fn:[a,b]→Cf_n : [a,b] \to \mathbb{C} be continuous and let fn→ff_n \to f uniformly on [a,b][a,b]. Then ff is continuous, every integral below exists, and ∫abfn(x) dx ⟶ ∫abf(x) dx,since∣∫ab(fn−f)∣≤(b−a)sup⁡x∈[a,b]∣fn(x)−f(x)∣.\int_a^b f_n(x)\,dx \ \longrightarrow \ \int_a^b f(x)\,dx , \qquad\text{since}\qquad \Bigl\lvert \int_a^b (f_n - f) \Bigr\rvert \le (b-a) \sup_{x \in [a,b]} \lvert f_n(x) - f(x) \rvert .
  2. Series form. Let every un:[a,b]→Cu_n : [a,b] \to \mathbb{C} be continuous and let ∑n≥1un\sum_{n \ge 1} u_n converge uniformly on [a,b][a,b] to SS. Then SS is continuous and ∫abS(x) dx=∑n=1∞∫abun(x) dx,\int_a^b S(x)\,dx = \sum_{n=1}^{\infty} \int_a^b u_n(x)\,dx , the series on the right being convergent. The same holds with [a,b][a,b] replaced by any [α,β]⊆[a,b][\alpha,\beta] \subseteq [a,b], uniformly in α\alpha and β\beta.

Continuity of the terms is used only to make the integrals exist; the estimate shows that the length of the interval is what converts a uniform bound on the error into a bound on the error of the integral.

Idea of the proofOriginal

Only one estimate is needed. An error that is everywhere smaller than ε\varepsilon can shift an integral over an interval of length b−ab-a by at most ε(b−a)\varepsilon(b-a), and uniform convergence is exactly the statement that the error is eventually everywhere smaller than any prescribed ε\varepsilon. The series form is then not a second theorem: apply the sequence form to the partial sums, whose integrals are, by linearity of the integral, the partial sums of ∑n∫un\sum_n \int u_n.

ProofOriginal

Part 1. Each fnf_n is continuous on [a,b][a,b] and the convergence is uniform, so by the continuity of a uniform limit the limit ff is continuous on [a,b][a,b]. A continuous function on a closed bounded interval is Riemann integrable, so all three integrals ∫abfn\int_a^b f_n, ∫abf\int_a^b f and ∫ab(fn−f)\int_a^b (f_n - f) exist.

Write δn=sup⁡x∈[a,b]∣fn(x)−f(x)∣\delta_n = \sup_{x \in [a,b]} \lvert f_n(x) - f(x)\rvert, which is finite because fn−ff_n - f is continuous on a closed bounded interval. Monotonicity of the integral applied to the pointwise bound ∣fn−f∣≤δn\lvert f_n - f\rvert \le \delta_n gives

∣∫abfn(x) dx−∫abf(x) dx∣=∣∫ab(fn(x)−f(x))dx∣≤∫ab∣fn−f∣≤(b−a) δn.\Bigl\lvert \int_a^b f_n(x)\,dx - \int_a^b f(x)\,dx \Bigr\rvert = \Bigl\lvert \int_a^b \bigl(f_n(x) - f(x)\bigr) dx \Bigr\rvert \le \int_a^b \lvert f_n - f \rvert \le (b-a)\,\delta_n .

Uniform convergence says precisely that δn→0\delta_n \to 0, and b−ab - a is a finite constant, so the right-hand side tends to 00 and the integrals converge as claimed. This is the step at which the hypothesis cannot be weakened to pointwise convergence, and the step at which finiteness of b−ab-a is used.

Part 2. Put sN=∑n=1Nuns_N = \sum_{n=1}^{N} u_n. Each sNs_N is a finite sum of continuous functions, hence continuous, and sN→Ss_N \to S uniformly on [a,b][a,b] by hypothesis. Part 1, applied to the sequence (sN)(s_N), gives ∫absN→∫abS\int_a^b s_N \to \int_a^b S, and SS is continuous.

By linearity of the integral over a finite sum, ∫absN=∑n=1N∫abun\int_a^b s_N = \sum_{n=1}^{N} \int_a^b u_n. The left-hand side converges, so the partial sums of the numerical series ∑n∫abun\sum_n \int_a^b u_n converge; that is what it means for that series to converge, and its sum is lim⁡N∫absN=∫abS\lim_N \int_a^b s_N = \int_a^b S.

For a subinterval [α,β]⊆[a,b][\alpha,\beta] \subseteq [a,b] the same estimate gives ∣∫αβ(sN−S)∣≤(β−α)sup⁡[α,β]∣sN−S∣≤(b−a) δN\bigl\lvert\int_{\alpha}^{\beta}(s_N - S)\bigr\rvert \le (\beta - \alpha)\sup_{[\alpha,\beta]}\lvert s_N - S\rvert \le (b-a)\,\delta_N, a bound in which α\alpha and β\beta no longer appear; so the convergence holds for every subinterval at once. □\square

Theorem(Term-by-term differentiation)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, p. 24, property 3 and Eq. (1.39)

Let un:[a,b]→Cu_n : [a,b] \to \mathbb{C} with [a,b][a,b] finite, and assume

  1. ∑n≥1un\sum_{n \ge 1} u_n converges uniformly on [a,b][a,b], with sum SS;
  2. each unu_n is differentiable on [a,b][a,b] with un′u_n' continuous there;
  3. ∑n≥1un′\sum_{n \ge 1} u_n' converges uniformly on [a,b][a,b].

Then SS is differentiable on [a,b][a,b], S′S' is continuous, and

S′(x)=∑n=1∞un′(x)for every x∈[a,b].S'(x) = \sum_{n=1}^{\infty} u_n'(x) \qquad \text{for every } x \in [a,b] .

Hypothesis 3 is the essential one and is not implied by hypotheses 1 and 2: uniform convergence of a series says nothing about the convergence of the differentiated series.

Idea of the proofOriginal

Derivatives are not controlled by uniform bounds, but integrals are, so the proof turns the differentiation claim into an integration claim and uses the theorem just proved. Each partial sum is recovered from its own derivative by the fundamental theorem of calculus; pass to the limit in that identity, which is legitimate because hypothesis 3 lets the integral be taken through the sum, and the limit identity exhibits SS as an integral of the continuous function ∑nun′\sum_n u_n'. Differentiating that identity back gives the result.

ProofOriginal

Write g=∑n≥1un′g = \sum_{n \ge 1} u_n' for the sum of the differentiated series and sN=∑n=1Nuns_N = \sum_{n=1}^{N} u_n for the partial sums of the original one.

The function gg is continuous on [a,b][a,b]: each un′u_n' is continuous there by hypothesis 2, and the series ∑nun′\sum_n u_n' converges uniformly on [a,b][a,b] by hypothesis 3, so a uniform limit of continuous functions is continuous applies to it.

Each sNs_N is differentiable on [a,b][a,b] with sN′=∑n≤Nun′s_N' = \sum_{n \le N} u_n', a finite sum, and this derivative is continuous by hypothesis 2. The fundamental theorem of calculus therefore gives, for every x∈[a,b]x \in [a,b],

sN(x)=sN(a)+∫axsN′(t) dt.s_N(x) = s_N(a) + \int_a^x s_N'(t)\,dt .

Now let N→∞N \to \infty in that identity, one term at a time. On the left, sN(x)→S(x)s_N(x) \to S(x) by hypothesis 1, and likewise sN(a)→S(a)s_N(a) \to S(a). For the integral, hypothesis 3 gives uniform convergence of ∑nun′\sum_n u_n' on [a,b][a,b], hence on [a,x][a,x], and the terms un′u_n' are continuous; so part 2 of the term-by-term integration theorem applies on [a,x][a,x] and gives ∫axsN′→∫axg\int_a^x s_N' \to \int_a^x g. Hence

S(x)=S(a)+∫axg(t) dt(a≤x≤b).S(x) = S(a) + \int_a^x g(t)\,dt \qquad (a \le x \le b).

Since gg is continuous on [a,b][a,b], its indefinite integral on the right-hand side is differentiable in xx with derivative g(x)g(x), by the fundamental theorem of calculus once more. Therefore SS is differentiable on [a,b][a,b] with S′=g=∑n≥1un′S' = g = \sum_{n \ge 1} u_n', and S′S' is continuous because gg is. □\square

Remark(Where the hypotheses are used)Original
  • Uniform convergence cannot be weakened to pointwise in the integration theorem. On [0,1][0,1] put fn(x)=2nx e−nx2f_n(x) = 2nx\,e^{-nx^2}. Each fnf_n is continuous, and fn(x)→0f_n(x) \to 0 for every x∈[0,1]x \in [0,1], yet ∫01fn(x) dx=[−e−nx2]01=1−e−n ⟶ 1≠0.\int_0^1 f_n(x)\,dx = \bigl[-e^{-nx^2}\bigr]_0^1 = 1 - e^{-n} \ \longrightarrow\ 1 \neq 0 . The convergence is not uniform: fnf_n attains the value 2n e−1/2\sqrt{2n}\,e^{-1/2} at x=1/2nx = 1/\sqrt{2n}, so sup⁡[0,1]∣fn∣→∞\sup_{[0,1]}\lvert f_n \rvert \to \infty. The spike carries a fixed amount of area while sliding towards the origin.
  • The interval must be finite. On [0,∞)[0,\infty) put gn(x)=e−x/n/ng_n(x) = e^{-x/n}/n. Then sup⁡x≥0∣gn(x)∣=1/n→0\sup_{x \ge 0} \lvert g_n(x) \rvert = 1/n \to 0, so gn→0g_n \to 0 uniformly, but ∫0∞gn(x) dx=1\int_0^{\infty} g_n(x)\,dx = 1 for every nn. The factor (b−a)(b-a) in the estimate above is exactly what fails. (A limit theorem that survives on unbounded intervals needs a different hypothesis, dominated convergence rather than uniformity.)
  • Uniform convergence of a series does not permit differentiation. On R\mathbb{R} put fn(x)=sin⁡(nx)/nf_n(x) = \sin(nx)/n. Then sup⁡x∣fn(x)∣=1/n→0\sup_{x}\lvert f_n(x)\rvert = 1/n \to 0, so fn→0f_n \to 0 uniformly, while fn′(x)=cos⁡(nx)f_n'(x) = \cos(nx) does not converge at all for most xx: at x=πx = \pi it is (−1)n(-1)^n. To put this in the series form in which the theorem above is stated, telescope: set u1=sin⁡xu_1 = \sin x and un(x)=sin⁡(nx)/n−sin⁡((n−1)x)/(n−1)u_n(x) = \sin(nx)/n - \sin((n-1)x)/(n-1) for n≥2n \ge 2, so that the partial sums of ∑nun\sum_n u_n are exactly the fnf_n. Then ∑nun\sum_n u_n converges uniformly on R\mathbb{R} to 00, satisfying hypotheses 1 and 2, while the partial sums of ∑nun′\sum_n u_n' are cos⁡(nx)\cos(nx), so hypothesis 3 fails and the conclusion fails with it: the sum is the constant 00, whose derivative is 00, while ∑nun′\sum_n u_n' diverges at x=πx = \pi. Stakgold and Holst make the same point (p. 112): classically, term-by-term differentiation is available only under restrictive conditions, whereas for distributions it is always allowed, and there sin⁡(nx)→0\sin(nx) \to 0 in the distributional sense.
  • Hypothesis 1 can be weakened to convergence at one point. If each unu_n is continuously differentiable on [a,b][a,b], ∑un′\sum u_n' converges uniformly on [a,b][a,b], and ∑un(x0)\sum u_n(x_0) converges for a single x0∈[a,b]x_0 \in [a,b], then ∑un\sum u_n converges uniformly on [a,b][a,b] and its sum satisfies S′=∑un′S' = \sum u_n'. This is stronger than the form stated by Arfken (p. 24), who assumes uniform convergence of ∑un\sum u_n outright; it follows by integrating the differentiated series from x0x_0 and using the integration theorem above.
  • A convergent series may not be integrated or differentiated termwise as a matter of course. Two separate warnings in Riley, Hobson and Bence bear on this. Item (v) on p. 131 is the narrower one: the differentiated or integrated series need not have the same convergence properties as the original. The general warning, that termwise operations are not to be performed as a matter of course, is the one in §4.5.2(iii) on p. 135, where power series are then given as the exception.
  • Part 1 of the integration statement is ours. Arfken's p. 24 states only the series form, property 2. The sequence form, the (b−a)sup⁡(b-a)\sup estimate and the extension to every subinterval [α,β]⊆[a,b][\alpha,\beta] \subseteq [a,b] uniformly in α\alpha and β\beta are additions of this handbook, and the proof above establishes them; the series form is then a corollary rather than a separate result.
Example(A geometric cosine series, integrated and differentiated term by term)Original

Take un(x)=2−ncos⁡(nx)u_n(x) = 2^{-n}\cos(nx) for n≥1n \ge 1 and let S(x)=∑n≥1un(x)S(x) = \sum_{n \ge 1} u_n(x). We shall compute ∫0π/2S\int_0^{\pi/2} S and S′(π/2)S'(\pi/2) term by term, and check both against closed forms obtained without any series.

  1. The hypotheses. Each unu_n is continuous on R\mathbb{R}, and ∣un(x)∣≤2−n\lvert u_n(x)\rvert \le 2^{-n} for every real xx, with ∑n≥12−n=1<∞\sum_{n\ge1} 2^{-n} = 1 < \infty (a geometric series, convergent). By the Weierstrass M-test the series converges uniformly on R\mathbb{R}, so the hypotheses of part 2 of term-by-term integration — continuous terms and a uniformly convergent series — hold on every finite interval. For the derivatives, un′(x)=−n 2−nsin⁡(nx)u_n'(x) = -n\,2^{-n}\sin(nx) is continuous with ∣un′(x)∣≤n 2−n\lvert u_n'(x)\rvert \le n\,2^{-n}, and ∑n≥1n 2−n=2<∞\sum_{n \ge 1} n\,2^{-n} = 2 < \infty; the M-test again gives uniform convergence, so hypothesis 3 of term-by-term differentiation holds too. Both parts of the integration statement and all three hypotheses of the differentiation statement are therefore available on any [a,b][a,b].

  2. The sum in closed form. Summing the geometric series ∑n≥1wn=w/(1−w)\sum_{n \ge 1} w^n = w/(1-w) at w=eix/2w = e^{ix}/2 and taking real parts,

    S(x)=Re⁡eix/21−eix/2=Re⁡eix2−eix=2cos⁡x−15−4cos⁡x,S(x) = \operatorname{Re}\frac{e^{ix}/2}{1 - e^{ix}/2} = \operatorname{Re}\frac{e^{ix}}{2 - e^{ix}} = \frac{2\cos x - 1}{5 - 4\cos x} ,

    the last step on multiplying numerator and denominator by 2−eix‾=2−e−ix\overline{2 - e^{ix}} = 2 - e^{-ix} and using ∣2−eix∣2=5−4cos⁡x\lvert 2 - e^{ix}\rvert^2 = 5 - 4\cos x. At x=π/2x = \pi/2 this gives S(π/2)=−1/5S(\pi/2) = -1/5.

  3. Integrate term by term. Since ∫0π/2cos⁡(nx) dx=sin⁡(nπ/2)/n\int_0^{\pi/2}\cos(nx)\,dx = \sin(n\pi/2)/n, which vanishes for even nn and equals (−1)k/(2k+1)(-1)^k/(2k+1) at n=2k+1n = 2k+1,

    ∫0π/2S(x) dx=∑n=1∞sin⁡(nπ/2)n 2n=∑k=0∞(−1)k(2k+1) 22k+1=12−124+1160−1896+⋯\int_0^{\pi/2} S(x)\,dx = \sum_{n=1}^{\infty} \frac{\sin(n\pi/2)}{n\,2^{n}} = \sum_{k=0}^{\infty} \frac{(-1)^k}{(2k+1)\,2^{2k+1}} = \tfrac12 - \tfrac{1}{24} + \tfrac{1}{160} - \tfrac{1}{896} + \cdots

    The partial sums are 0.50.5, 0.4583330.458333, 0.4645830.464583, 0.4634670.463467, 0.4636840.463684, 0.4636400.463640, bracketing the limit from alternate sides.

  4. The same number without series. Because 2cos⁡x−1=−12(5−4cos⁡x)+322\cos x - 1 = -\tfrac12(5 - 4\cos x) + \tfrac32, the integrand of step 2 is −12+32(5−4cos⁡x)−1-\tfrac12 + \tfrac32 (5-4\cos x)^{-1}. The substitution t=tan⁡(x/2)t = \tan(x/2), under which cos⁡x=(1−t2)/(1+t2)\cos x = (1-t^2)/(1+t^2) and dx=2 dt/(1+t2)dx = 2\,dt/(1+t^2), turns 5−4cos⁡x5 - 4\cos x into (1+9t2)/(1+t2)(1+9t^2)/(1+t^2) and so the second piece into 3∫01dt/(1+9t2)=[arctan⁡3t]01=arctan⁡33\int_0^1 dt/(1 + 9t^2) = \bigl[\arctan 3t\bigr]_0^1 = \arctan 3, while the first piece contributes −π/4-\pi/4. Hence

    ∫0π/2S(x) dx=−π4+arctan⁡3=0.4636476090008061.\int_0^{\pi/2} S(x)\,dx = -\frac{\pi}{4} + \arctan 3 = 0.4636476090008061 .

    The series of step 3 is the Maclaurin series of arctan⁡\arctan at 1/21/2 — it is what term-by-term integration of the geometric series 1/(1+t2)=∑k≥0(−1)kt2k1/(1+t^2) = \sum_{k \ge 0}(-1)^k t^{2k} over [0,1/2][0,1/2] produces, the M-test with Mk=4−kM_k = 4^{-k} supplying the uniform convergence there — so its value is arctan⁡12\arctan\tfrac12. The two agree exactly: by the addition formula, arctan⁡3−arctan⁡1=arctan⁡3−11+3=arctan⁡12\arctan 3 - \arctan 1 = \arctan\frac{3-1}{1+3} = \arctan\tfrac12.

  5. Differentiate term by term. By the differentiation theorem, S′(x)=−∑n≥1n 2−nsin⁡(nx)S'(x) = -\sum_{n\ge1} n\,2^{-n}\sin(nx). At x=π/2x = \pi/2 only odd nn contribute:

    S′(π/2)=−∑k=0∞(−1)k(2k+1)22k+1=−(12−38+532−7128+⋯ )=−0.24,S'(\pi/2) = -\sum_{k=0}^{\infty} \frac{(-1)^k (2k+1)}{2^{2k+1}} = -\Bigl(\tfrac12 - \tfrac38 + \tfrac{5}{32} - \tfrac{7}{128} + \cdots\Bigr) = -0.24 ,

    the partial sums being 0.50.5, 0.1250.125, 0.281250.28125, 0.22656250.2265625, 0.2441406250.244140625, 0.238769531250.23876953125. Differentiating the closed form of step 2 instead, S′(x)=−6sin⁡x/(5−4cos⁡x)2S'(x) = -6\sin x/(5 - 4\cos x)^2, so S′(π/2)=−6/25=−0.24S'(\pi/2) = -6/25 = -0.24 exactly. Both routes give −6/25-6/25.

  6. What made it work. The decay 2−n2^{-n} is fast enough that multiplying the terms by nn leaves a convergent comparand, which is why hypothesis 3 survived differentiation. Replace 2−n2^{-n} by 1/n21/n^2 and the series still converges uniformly (M-test with Mn=1/n2M_n = 1/n^2), but the differentiated series −∑nsin⁡(nx)/n-\sum_n \sin(nx)/n does not converge uniformly on any neighbourhood of 00, so hypothesis 3 is lost. Its individual terms are no help here: sup⁡x∣sin⁡(nx)/n∣=1/n→0\sup_x \lvert \sin(nx)/n\rvert = 1/n \to 0, so the terms do tend to 00 uniformly, and the failure is in the tails. It is visible in the sum, which is (π−x)/2(\pi - x)/2 for 0<x<2π0 < x < 2\pi and 00 at x=0x = 0, hence discontinuous at 00; a uniformly convergent series of continuous terms has a continuous sum, so this series cannot converge uniformly near 00. Concretely, the tail after NN terms, evaluated at x=π/Nx = \pi/N, is −0.278521-0.278521, −0.281115-0.281115, −0.281140-0.281140 for N=10,100,1000N = 10, 100, 1000 — it does not shrink, but tends to π/2−Si⁡(π)=−0.2811407\pi/2 - \operatorname{Si}(\pi) = -0.2811407.

ApplicationAdaptedAdapted from Stakgold & Holst (2011), §2.3, p. 128

Reading off Fourier coefficients. A measured signal is often presented already as a uniformly convergent series f(x)=∑ncneinxf(x) = \sum_{n} c_n e^{inx} on [−π,π][-\pi,\pi]. Term-by-term integration against e−imxe^{-imx} — legitimate because multiplying a uniformly convergent series by a bounded continuous function leaves it uniformly convergent — collapses the sum by orthogonality to cm=(2π)−1∫−ππf(x)e−imxdxc_m = (2\pi)^{-1}\int_{-\pi}^{\pi} f(x)e^{-imx}dx. This is how the coefficients of such an expansion are identified with integrals of the function. The derivation is the one Stakgold and Holst give at p. 128, and this paragraph follows it; that is what the src on this block refers to, the two paragraphs below it being ours.

Verifying a separated-variable solution. The standard solution of the heat equation ut=κuxxu_t = \kappa u_{xx} on 0≤x≤π0 \le x \le \pi with u=0u = 0 at both ends is u(x,t)=∑n≥1bne−n2κtsin⁡(nx)u(x,t) = \sum_{n \ge 1} b_n e^{-n^2\kappa t}\sin(nx), with the bnb_n fixed by the initial profile. Checking that this really solves the equation means differentiating the series once in tt and twice in xx, and that needs hypothesis 3. For t≥t0>0t \ge t_0 > 0 it holds comfortably: the differentiated terms are bounded by n2∣bn∣e−n2κt0n^2\lvert b_n\rvert e^{-n^2 \kappa t_0}, and ∑nn2e−n2κt0\sum_n n^2 e^{-n^2\kappa t_0} converges, so the M-test applies and the termwise derivatives are legitimate on x∈[0,π]x \in [0,\pi], t≥t0t \ge t_0. At t=0t = 0 it fails: for a discontinuous initial profile such as a step, bnb_n decays only like 1/n1/n, and ∑nn2bnsin⁡(nx)\sum_n n^2 b_n \sin(nx) diverges. The mathematics and the physics agree here — the solution is smooth for every positive time, and no smoothness of the initial data is claimed. The same calculation is what justifies differentiating a Fourier-series solution of the wave or Laplace equation inside the domain while refusing to do so on the boundary.

Where the warning bites. In perturbative calculations one routinely differentiates a series expansion with respect to a parameter — a coupling, a temperature, a frequency. The theorem says that this is safe only when the differentiated series converges uniformly in that parameter on the range of interest. A series whose terms peak more and more sharply as the index grows, which is the mechanism in every counterexample in the remark above, will pass the convergence test and fail the differentiation test.

Theorem

Power series

Adapted

A power series has a radius of convergence given by Hadamard's formula, inside which it converges absolutely, uniformly on closed subdiscs, and may be differentiated and integrated term by term; at a boundary point where it converges, its sum is the limit of its values along the radius.

Prerequisites: Integrating and differentiating series term by term, Convergence tests for series, Uniform convergence, Limits of sequences and completeness, Absolute and conditional convergence

NoteOriginal

What it means. A power series behaves on the inside of its disc exactly as a polynomial does: it converges absolutely, you may differentiate and integrate it as often as you like, and its coefficients are the Taylor coefficients of its sum. The radius of convergence is the only number you need, and Hadamard's formula computes it from the coefficients alone. Everything delicate happens on the boundary circle, where convergence must be examined point by point; Abel's theorem is the one general result there, and it says that convergence at a boundary point is enough to make the sum the limit of the values inside, provided you approach the point without grazing the circle.

Definition(Power series and radius of convergence)AdaptedAdapted from Ahlfors (1979), §2.4, p. 38 and formula (18), p. 38

A power series about the centre z0∈Cz_0 \in \mathbb{C} is a series

∑n=0∞an(z−z0)n,an∈C,\sum_{n=0}^{\infty} a_n (z - z_0)^n , \qquad a_n \in \mathbb{C} ,

with the convention (z−z0)0=1(z-z_0)^0 = 1. Its radius of convergence is the number R∈[0,+∞]R \in [0, +\infty] defined by Hadamard's formula

1R=lim sup⁡n→∞∣an∣1/n,\frac{1}{R} = \limsup_{n \to \infty} \lvert a_n \rvert^{1/n} ,

read with 1/0=+∞1/0 = +\infty and 1/+∞=01/{+\infty} = 0. The set ∣z−z0∣<R\lvert z - z_0 \rvert < R is the disc of convergence (for real series, the interval of convergence (x0−R, x0+R)(x_0 - R,\, x_0 + R)), and ∣z−z0∣=R\lvert z - z_0 \rvert = R is the circle of convergence.

Theorem(Convergence of a power series (Cauchy-Hadamard))AdaptedAdapted from Ahlfors (1979), §2.4, Thm 2 and formula (18), pp. 38-39; Arfken, Weber & Harris (2013), §1.2, p. 29; Hassani (2013), §10.6.1, Thm 10.6.2, p. 320

Let RR be the radius of convergence of ∑n≥0an(z−z0)n\sum_{n \ge 0} a_n (z-z_0)^n.

  1. Inside. The series converges absolutely at every zz with ∣z−z0∣<R\lvert z - z_0 \rvert < R, and for each ρ\rho with 0≤ρ<R0 \le \rho < R it converges uniformly on the closed disc ∣z−z0∣≤ρ\lvert z - z_0 \rvert \le \rho.
  2. Outside. If ∣z−z0∣>R\lvert z - z_0 \rvert > R the terms an(z−z0)na_n (z-z_0)^n are unbounded, so the series diverges.
  3. On the circle. Nothing is asserted at ∣z−z0∣=R\lvert z - z_0 \rvert = R: there the series may converge at every point, at none, or at some.
  4. The sum. In ∣z−z0∣<R\lvert z - z_0 \rvert < R the sum ff is a complex-differentiable (analytic) function of zz: at every point z1z_1 of the open disc the difference quotient (f(z)−f(z1))/(z−z1)\bigl(f(z) - f(z_1)\bigr)/(z - z_1) has a limit as z→z1z \to z_1 in C\mathbb{C}, the limit being unrestricted in the direction of approach.

In particular the series converges uniformly on every compact subset of the disc of convergence, but in general not on the whole open disc.

Idea of the proofAdaptedAdapted from Ahlfors (1979), §2.4, pp. 38-39

Hadamard's number 1/R1/R is the eventual ceiling of ∣an∣1/n\lvert a_n \rvert^{1/n}, and a limit superior gives exactly two comparisons, one of them one-sided. Past some index the sequence stays below any number larger than 1/R1/R; and it rises above any number smaller than 1/R1/R for infinitely many nn, though not necessarily for all large nn. Those two comparisons are the whole proof: inside the disc the first makes the terms eventually dominated by a convergent geometric series, which feeds the Weierstrass M-test and delivers absolute and uniform convergence at one stroke, while outside it the second makes infinitely many terms exceed a geometric sequence with ratio above 11, so the terms are unbounded, which no convergent series permits. The reason the uniform statement needs a radius ρ\rho strictly less than RR is that the dominating geometric ratio must be bounded away from 11.

ProofAdaptedAdapted from Ahlfors (1979), §2.4, pp. 38-39

Write w=z−z0w = z - z_0, so that the series is ∑n≥0anwn\sum_{n \ge 0} a_n w^n and every assertion concerns ∣w∣\lvert w\rvert; nothing below uses the position of the centre. Put L=lim sup⁡n∣an∣1/nL = \limsup_n \lvert a_n\rvert^{1/n}, which exists in [0,+∞][0,+\infty] by the existence of the limit superior, so that L=1/RL = 1/R under the conventions of the definition.

Part 1, uniform convergence on a closed subdisc. If R=0R = 0 there is no ρ\rho with 0≤ρ<R0 \le \rho < R and nothing to prove, so let R>0R > 0 and fix such a ρ\rho. Choose ρ1\rho_1 with ρ<ρ1<R\rho < \rho_1 < R — take ρ1=(ρ+R)/2\rho_1 = (\rho + R)/2 if RR is finite and ρ1=ρ+1\rho_1 = \rho + 1 if R=+∞R = +\infty. Then 1/ρ1>1/R=L1/\rho_1 > 1/R = L, and the limit superior is the least number that the sequence eventually stays below, so there is an index n0n_0 with

∣an∣1/n<1ρ1,that is∣an∣<ρ1−n,for all n≥n0.\lvert a_n \rvert^{1/n} < \frac{1}{\rho_1}, \qquad \text{that is} \qquad \lvert a_n \rvert < \rho_1^{-n}, \qquad \text{for all } n \ge n_0 .

For ∣w∣≤ρ\lvert w \rvert \le \rho and n≥n0n \ge n_0 this gives ∣anwn∣≤(ρ/ρ1)n=:Mn\lvert a_n w^n \rvert \le (\rho/\rho_1)^n =: M_n, a bound that does not depend on ww. Since q=ρ/ρ1<1q = \rho/\rho_1 < 1, the series ∑nMn\sum_n M_n is a convergent geometric series, so the Weierstrass M-test gives uniform and absolute convergence of ∑n≥n0anwn\sum_{n \ge n_0} a_n w^n on the closed disc ∣w∣≤ρ\lvert w \rvert \le \rho. Adding the finitely many terms with n<n0n < n_0 affects neither uniformity nor absolute convergence, so part 1's uniform assertion holds on ∣w∣≤ρ\lvert w\rvert \le \rho. This is the step where ρ<R\rho < R is used: it is what makes qq strictly less than 11.

Part 1, absolute convergence at every interior point. Given ww with ∣w∣<R\lvert w \rvert < R, apply the previous paragraph with ρ=∣w∣\rho = \lvert w \rvert. So the series converges absolutely at ww (the comparison is with a convergent geometric series, and absolute convergence implies convergence by Absolute and conditional convergence), and since ww was arbitrary, throughout the open disc.

Part 2, divergence outside. Let ∣w∣>R\lvert w \rvert > R and choose ρ\rho with R<ρ<∣w∣R < \rho < \lvert w \rvert. Then 1/ρ<1/R=L1/\rho < 1/R = L, and the limit superior is a limit point of the sequence from above, so ∣an∣1/n>1/ρ\lvert a_n\rvert^{1/n} > 1/\rho for infinitely many nn. For each such nn,

∣anwn∣>(∣w∣ρ)n,\lvert a_n w^n \rvert > \Bigl(\frac{\lvert w \rvert}{\rho}\Bigr)^{n},

and the base exceeds 11, so these moduli are unbounded. In particular the terms do not tend to 00, and a series whose terms do not tend to 00 diverges (the vanishing-terms criterion).

Part 3. Nothing is asserted on the circle, so there is nothing to prove; the first three series of the remark below show that convergence everywhere, nowhere and almost everywhere on the circle all occur with R=1R = 1, so no assertion of this kind could be made.

Part 4. That the sum is complex-differentiable in ∣w∣<R\lvert w \rvert < R is proved as part of the next statement, whose proof constructs f′f' as the sum of the derived series; no further argument is needed here. □\square

Theorem(Termwise differentiation and integration)AdaptedAdapted from Ahlfors (1979), §2.4, pp. 39-40; Arfken, Weber & Harris (2013), §1.2, p. 30; Hassani (2013), §10.6.1, Thm 10.6.3, pp. 320-321; Riley, Hobson & Bence (2006), §4.5.2(iii), p. 135

Let f(z)=∑n≥0an(z−z0)nf(z) = \sum_{n \ge 0} a_n (z-z_0)^n have radius of convergence R>0R > 0.

  1. Differentiation. The differentiated series ∑n≥1n an(z−z0)n−1\sum_{n \ge 1} n\,a_n (z-z_0)^{n-1} has the same radius of convergence RR, and in ∣z−z0∣<R\lvert z - z_0\rvert < R f′(z)=∑n=1∞n an(z−z0)n−1.f'(z) = \sum_{n=1}^{\infty} n\,a_n (z-z_0)^{n-1} . Repeating this, ff has derivatives of every order in the disc, each given by termwise differentiation, and the coefficients are determined by ff through an=f(n)(z0)n!,n=0,1,2,…a_n = \frac{f^{(n)}(z_0)}{n!} , \qquad n = 0, 1, 2, \dots
  2. Integration. For a real series f(x)=∑n≥0an(x−x0)nf(x) = \sum_{n \ge 0} a_n (x-x_0)^n on (x0−R,x0+R)(x_0 - R, x_0 + R), the series ∑n≥0an(x−x0)n+1/(n+1)\sum_{n \ge 0} a_n (x-x_0)^{n+1}/(n+1) also has radius of convergence RR and is an antiderivative of ff there; equivalently, for x0−R<α≤β<x0+Rx_0 - R < \alpha \le \beta < x_0 + R, ∫αβf(x) dx=∑n=0∞an∫αβ(x−x0)n dx.\int_{\alpha}^{\beta} f(x)\,dx = \sum_{n=0}^{\infty} a_n \int_{\alpha}^{\beta} (x-x_0)^n \, dx . In the complex case the same termwise integration is valid along any piecewise-smooth path inside the disc of convergence; this case is not proved in this unit, and the note after the proof says why and where its proof belongs. (Hassani's Thm 10.6.3 states it for any path in the circle of convergence, with no condition on the path.)

Both operations leave RR unchanged, but may change the behaviour at the ends of the interval of convergence, which must be tested separately.

Idea of the proofOriginal

Hadamard's formula is insensitive to a polynomial factor in the coefficients, because n1/n→1n^{1/n} \to 1; that one observation gives the derived and integrated series the same radius as the original. With that in hand the derivative is obtained by a direct estimate rather than by any limit interchange: subtract the derived series from the difference quotient, factorise wn−w0nw^n - w_0^n twice, and what is left is bounded by a constant times ∣w−w0∣\lvert w - w_0\rvert, the constant being the value of the twice-derived series at a radius ρ<R\rho < R. Repeating the argument on the derived series gives all higher derivatives, and setting w=z0w = z_0 in the kk-fold derived series leaves the single term k! akk!\,a_k.

ProofAdaptedAdapted from Ahlfors (1979), §2.4, pp. 39-40

Again write w=z−z0w = z - z_0 and f(w)=∑n≥0anwnf(w) = \sum_{n \ge 0} a_n w^n.

Step 1: n1/n→1n^{1/n} \to 1. Put n1/n=1+δnn^{1/n} = 1 + \delta_n with δn≥0\delta_n \ge 0. For n≥2n \ge 2 the binomial theorem retains only two of its terms to give n=(1+δn)n≥1+(n2)δn2n = (1+\delta_n)^n \ge 1 + \tbinom{n}{2}\delta_n^2, whence δn2≤(n−1)/(n2)=2/n\delta_n^2 \le (n-1)\big/\tbinom{n}{2} = 2/n. So δn≤2/n→0\delta_n \le \sqrt{2/n} \to 0.

Step 2: the derived and integrated series have radius RR. First a remark on limits superior: if bn>0b_n > 0 with bn→1b_n \to 1 and cn≥0c_n \ge 0, then lim sup⁡nbncn=lim sup⁡ncn\limsup_n b_n c_n = \limsup_n c_n, because for each ε∈(0,1)\varepsilon \in (0,1) we eventually have (1−ε)cn≤bncn≤(1+ε)cn(1-\varepsilon)c_n \le b_nc_n \le (1+\varepsilon)c_n, so the two limits superior differ by a factor between 1−ε1-\varepsilon and 1+ε1+\varepsilon for every ε\varepsilon (this also covers the value +∞+\infty).

Apply it with cn=∣an∣1/nc_n = \lvert a_n\rvert^{1/n} and bn=n1/n→1b_n = n^{1/n} \to 1 from step 1: the series ∑nn anwn\sum_n n\,a_n w^n has lim sup⁡n(n∣an∣)1/n=lim sup⁡n∣an∣1/n=1/R\limsup_n (n\lvert a_n\rvert)^{1/n} = \limsup_n \lvert a_n\rvert^{1/n} = 1/R, hence radius RR. For w≠0w \ne 0 the derived series ∑n≥1nanwn−1\sum_{n\ge1} n a_n w^{n-1} is that series divided by ww, so the two converge at exactly the same points, and the derived series has radius RR as well. Taking bn=(n+1)−1/nb_n = (n+1)^{-1/n}, which also tends to 11 because n1/n≤(n+1)1/n≤21/nn1/nn^{1/n} \le (n+1)^{1/n} \le 2^{1/n} n^{1/n}, gives lim sup⁡n∣an/(n+1)∣1/n=1/R\limsup_n \lvert a_n/(n+1)\rvert^{1/n} = 1/R, so ∑n(an/(n+1))wn\sum_n \bigl(a_n/(n+1)\bigr)w^n has radius RR; the integrated series ∑nanwn+1/(n+1)\sum_n a_n w^{n+1}/(n+1) is that one multiplied by ww, so again the two converge at the same points and the integrated series has radius RR. Iterating the first case, every repeatedly derived series has radius RR; in particular ∑n≥2n(n−1)anwn−2\sum_{n\ge2} n(n-1)a_n w^{n-2} does.

Step 3: f′f' is the derived series. Write g(w)=∑n≥1nanwn−1g(w) = \sum_{n \ge 1} n a_n w^{n-1}, which converges for ∣w∣<R\lvert w\rvert < R by step 2. Fix w0w_0 with ∣w0∣<R\lvert w_0 \rvert < R and choose ρ\rho with ∣w0∣<ρ<R\lvert w_0\rvert < \rho < R. By step 2 the twice-derived series has radius R>ρR > \rho, so by part 1 of the convergence theorem it converges absolutely at ρ\rho; that is,

K:=∑n≥2n(n−1) ∣an∣ ρ n−2<∞.K := \sum_{n \ge 2} n(n-1)\,\lvert a_n\rvert\, \rho^{\,n-2} < \infty .

Now let ∣w∣≤ρ\lvert w \rvert \le \rho with w≠w0w \ne w_0. Factorising wn−w0n=(w−w0)∑j=0n−1wjw0 n−1−jw^n - w_0^n = (w - w_0)\sum_{j=0}^{n-1} w^j w_0^{\,n-1-j} and subtracting nw0 n−1n w_0^{\,n-1} term by term from that inner sum,

f(w)−f(w0)−(w−w0) g(w0)=(w−w0)∑n≥1an∑j=0n−1w0 n−1−j(wj−w0 j).f(w) - f(w_0) - (w - w_0)\,g(w_0) = (w-w_0) \sum_{n \ge 1} a_n \sum_{j=0}^{n-1} w_0^{\,n-1-j}\bigl(w^j - w_0^{\,j}\bigr) .

Factorising once more, ∣wj−w0 j∣≤j ρ j−1∣w−w0∣\lvert w^j - w_0^{\,j}\rvert \le j\,\rho^{\,j-1}\lvert w - w_0\rvert, since the second factor is a sum of jj products each of modulus at most ρ j−1\rho^{\,j-1}. With ∣w0 n−1−j∣≤ρ n−1−j\lvert w_0^{\,n-1-j}\rvert \le \rho^{\,n-1-j} the inner sum is bounded by ρ n−2∑j=0n−1j=12n(n−1)ρ n−2\rho^{\,n-2}\sum_{j=0}^{n-1} j = \tfrac12 n(n-1)\rho^{\,n-2}, so

∣f(w)−f(w0)−(w−w0)g(w0)∣≤12K∣w−w0∣2.\bigl\lvert f(w) - f(w_0) - (w-w_0)g(w_0) \bigr\rvert \le \tfrac12 K \lvert w - w_0\rvert^2 .

Dividing by ∣w−w0∣\lvert w - w_0\rvert shows that the difference quotient differs from g(w0)g(w_0) by at most 12K∣w−w0∣\tfrac12 K\lvert w - w_0\rvert, which tends to 00. Hence ff is complex-differentiable at w0w_0 with f′(w0)=g(w0)f'(w_0) = g(w_0). As w0w_0 was any interior point, ff is analytic in ∣w∣<R\lvert w\rvert < R — which is part 4 of the convergence theorem — and f′f' is the derived series. The hypothesis R>0R > 0 is used here: with R=0R = 0 there is no interior point and no KK.

Step 4: all orders, and the coefficients. By step 2 the derived series is itself a power series with radius RR, so step 3 applies to it, and by induction ff has derivatives of every order in the disc, the kk-th being the kk-fold derived series

f(k)(w)=∑n≥kn(n−1)⋯(n−k+1) an w n−k.f^{(k)}(w) = \sum_{n \ge k} n(n-1)\cdots(n-k+1)\, a_n\, w^{\,n-k} .

Put w=0w = 0, that is z=z0z = z_0. Every term with n>kn > k carries a positive power of ww and vanishes, and the term n=kn = k is k! akk!\,a_k. So f(k)(z0)=k! akf^{(k)}(z_0) = k!\,a_k, which is the coefficient formula.

Step 5: integration on a real interval. Let F(x)=∑n≥0an(x−x0)n+1/(n+1)F(x) = \sum_{n \ge 0} a_n (x-x_0)^{n+1}/(n+1), of radius RR by step 2. Step 3 applied to FF gives F′=fF' = f on (x0−R,x0+R)(x_0 - R, x_0 + R), so FF is an antiderivative of ff there, and ff is continuous because it is differentiable. For x0−R<α≤β<x0+Rx_0 - R < \alpha \le \beta < x_0 + R the fundamental theorem of calculus therefore gives

∫αβf=F(β)−F(α)=∑n=0∞an(β−x0)n+1−(α−x0)n+1n+1=∑n=0∞an∫αβ(x−x0)ndx,\int_{\alpha}^{\beta} f = F(\beta) - F(\alpha) = \sum_{n=0}^{\infty} a_n \frac{(\beta-x_0)^{n+1} - (\alpha-x_0)^{n+1}}{n+1} = \sum_{n=0}^{\infty} a_n \int_{\alpha}^{\beta}(x-x_0)^n dx ,

the middle series being convergent because FF is defined at both end points. The same conclusion follows from term-by-term integration, whose hypotheses hold on [α,β][\alpha,\beta] by part 1 of the convergence theorem with any ρ\rho between max⁡(∣α−x0∣,∣β−x0∣)\max(\lvert\alpha - x_0\rvert, \lvert\beta-x_0\rvert) and RR.

This proves part 1 in full, the coefficient formula, and part 2 for a real interval. The remaining sentence of part 2, termwise integration along a path in the complex plane, is not proved here; the note below says why and where it belongs. □\square

Note(The complex-path case of part 2 is deferred)Original

Integration along a path is not available at this point of the handbook. The object ∫γf(z) dz\int_\gamma f(z)\,dz and the bound on its size are set up in contour integrals, whose part 3 is the ML estimate: for hh continuous on a piecewise-smooth path γ\gamma of length ℓ\ell, ∣∫γh dz∣≤ℓ sup⁡γ∣h∣\bigl\lvert\int_\gamma h\,dz\bigr\rvert \le \ell\,\sup_\gamma\lvert h\rvert. That unit cannot be made a prerequisite of this one, because it depends on this unit in turn: the complex exponential is defined by its power series there, so the dependency runs from power series to contour integrals and a prerequisite in the other direction would be circular. Nothing in this unit's four prerequisites supplies the estimate, and it is not a result of elementary calculus.

Granted the ML estimate, the step is immediate, and this is the argument the later unit's machinery carries out. Let γ\gamma be a piecewise-smooth path contained in ∣z−z0∣≤ρ\lvert z - z_0\rvert \le \rho for some ρ<R\rho < R, of length ℓ\ell, and let sNs_N be the NN-th partial sum, a polynomial and hence continuous, as is ff by step 3. Part 1 of the convergence theorem gives εN=sup⁡∣z−z0∣≤ρ∣f−sN∣→0\varepsilon_N = \sup_{\lvert z - z_0\rvert \le \rho}\lvert f - s_N\rvert \to 0, so the estimate applied to h=f−sNh = f - s_N yields

∣∫γf dz−∑n≤Nan∫γ(z−z0)n dz∣=∣∫γ(f−sN) dz∣≤ℓ εN⟶0.\Bigl\lvert \int_{\gamma} f\,dz - \sum_{n \le N} a_n\int_{\gamma}(z-z_0)^n\,dz \Bigr\rvert = \Bigl\lvert \int_{\gamma}(f - s_N)\,dz\Bigr\rvert \le \ell\,\varepsilon_N \longrightarrow 0 .

Piecewise smoothness is what makes ℓ\ell finite and the integrals defined; it is the condition part 2 states, and Hassani's Thm 10.6.3 (p. 321) states the conclusion for any path in the circle of convergence without naming it. The same bound, in the form "length times sup-norm", is what licenses the termwise integration by which the Taylor series of an analytic function is read off Cauchy's integral formula.

Theorem(Abel's limit theorem)AdaptedAdapted from Ahlfors (1979), §2.5, Thm 3, pp. 41-42

Let ∑n≥0an\sum_{n \ge 0} a_n converge, and put f(z)=∑n≥0anznf(z) = \sum_{n \ge 0} a_n z^n, which then has radius of convergence at least 11. Then

f(z)⟶∑n=0∞anas z→1f(z) \longrightarrow \sum_{n=0}^{\infty} a_n \qquad \text{as } z \to 1

along any approach for which the quotient ∣1−z∣/(1−∣z∣)\lvert 1 - z \rvert / (1 - \lvert z \rvert) stays bounded, that is, within a Stolz angle: a sector of opening less than 180∘180^{\circ} with vertex at 11, symmetric about the segment of the real axis coming in from the left.

Real form (this handbook's corollary, not part of Ahlfors's Thm 3, which is the complex statement at z→1z \to 1; the last paragraph of the proof below derives it by rescaling). If ∑n≥0anRn\sum_{n \ge 0} a_n R^n converges for some R>0R > 0, then

lim⁡x→R−∑n=0∞anxn=∑n=0∞anRn,\lim_{x \to R^{-}} \sum_{n=0}^{\infty} a_n x^n = \sum_{n=0}^{\infty} a_n R^n ,

so the sum of a real power series is continuous on (−R,R](-R, R] whenever it converges at the right-hand end point, and similarly at the left-hand end point.

Idea of the proofAdaptedAdapted from Ahlfors (1979), §2.5, pp. 41-42

Summing by parts replaces the coefficients by the partial sums sns_n and produces the representation f(z)=(1−z)∑nsnznf(z) = (1-z)\sum_n s_n z^n, which displays f(z)f(z) as a weighted average of the partial sums with weights (1−z)zn(1-z)z^n that add to 11. Since sn→ss_n \to s, all but finitely many weights multiply numbers already within ε\varepsilon of ss; the finitely many exceptional terms carry the factor 1−z1-z and die as z→1z \to 1. What the Stolz condition buys is that the total mass of the remaining weights, ∣1−z∣/(1−∣z∣)\lvert 1-z\rvert/(1-\lvert z\rvert), stays bounded, so the ε\varepsilon is not amplified without limit.

ProofAdaptedAdapted from Ahlfors (1979), §2.5, Thm 3, pp. 41-42

Write sn=a0+⋯+ans_n = a_0 + \dots + a_n and s=∑n≥0an=lim⁡nsns = \sum_{n \ge 0} a_n = \lim_n s_n, which exists by hypothesis.

The radius is at least 11. A convergent series has an→0a_n \to 0, so (∣an∣)(\lvert a_n\rvert) is bounded, say by C≥1C \ge 1; then ∣an∣1/n≤C1/n→1\lvert a_n\rvert^{1/n} \le C^{1/n} \to 1, so lim sup⁡n∣an∣1/n≤1\limsup_n \lvert a_n\rvert^{1/n} \le 1 and R≥1R \ge 1. In particular ff is defined on ∣z∣<1\lvert z\rvert < 1.

Summation by parts. With s−1=0s_{-1} = 0 we have an=sn−sn−1a_n = s_n - s_{n-1}, so for every N≥1N \ge 1

∑n=0Nanzn=∑n=0N(sn−sn−1)zn=(1−z)∑n=0N−1snzn+sNzN,\sum_{n=0}^{N} a_n z^n = \sum_{n=0}^{N}(s_n - s_{n-1})z^n = (1-z)\sum_{n=0}^{N-1} s_n z^n + s_N z^N ,

on collecting the coefficient of each sns_n. Fix ∣z∣<1\lvert z \rvert < 1. The sequence (sn)(s_n) is convergent, hence bounded, so ∑nsnzn\sum_n s_n z^n converges absolutely, and therefore converges, by Absolute and conditional convergence; also sNzN→0s_N z^N \to 0. Letting N→∞N \to \infty,

f(z)=(1−z)∑n=0∞snzn(∣z∣<1).f(z) = (1-z)\sum_{n=0}^{\infty} s_n z^n \qquad (\lvert z\rvert < 1).

Subtracting the limit. Since (1−z)∑n≥0zn=1(1-z)\sum_{n \ge 0} z^n = 1 for ∣z∣<1\lvert z\rvert < 1, we may write s=(1−z)∑n≥0s zns = (1-z)\sum_{n\ge0} s\,z^n and subtract:

f(z)−s=(1−z)∑n=0∞tnzn,tn=sn−s→0.f(z) - s = (1-z)\sum_{n=0}^{\infty} t_n z^n , \qquad t_n = s_n - s \to 0 .

The estimate. Let ε>0\varepsilon > 0 and choose mm with ∣tn∣≤ε\lvert t_n\rvert \le \varepsilon for all n≥mn \ge m. Splitting the sum at mm and using ∑n≥m∣z∣n≤1/(1−∣z∣)\sum_{n \ge m}\lvert z\rvert^n \le 1/(1-\lvert z\rvert),

∣f(z)−s∣  ≤  ∣1−z∣∑n<m∣tn∣  +  ε ∣1−z∣1−∣z∣.\lvert f(z) - s\rvert \;\le\; \lvert 1-z\rvert \sum_{n < m} \lvert t_n \rvert \; + \; \varepsilon\,\frac{\lvert 1 - z\rvert}{1 - \lvert z\rvert} .

Here the hypothesis enters: on the approach considered, ∣1−z∣/(1−∣z∣)≤K\lvert 1-z\rvert/(1-\lvert z\rvert) \le K for some constant KK, so the second term is at most KεK\varepsilon. The first term is ∣1−z∣\lvert 1-z\rvert times the fixed finite number Am=∑n<m∣tn∣A_m = \sum_{n<m}\lvert t_n\rvert, so it is below ε\varepsilon once ∣1−z∣<ε/(Am+1)\lvert 1 - z\rvert < \varepsilon/(A_m + 1). Hence ∣f(z)−s∣≤(K+1)ε\lvert f(z) - s\rvert \le (K+1)\varepsilon for all admissible zz close enough to 11, and as ε>0\varepsilon > 0 was arbitrary, f(z)→sf(z) \to s.

The two descriptions of the approach agree. If zz lies in the sector ∣arg⁡(1−z)∣≤θ<90∘\lvert \arg(1-z)\rvert \le \theta < 90^{\circ} then Re⁡(1−z)≥cos⁡θ ∣1−z∣\operatorname{Re}(1-z) \ge \cos\theta\,\lvert 1-z\rvert, and from 1−∣z∣2=2Re⁡(1−z)−∣1−z∣21 - \lvert z\rvert^2 = 2\operatorname{Re}(1-z) - \lvert 1-z\rvert^2 and 1−∣z∣≥12(1−∣z∣2)1 - \lvert z\rvert \ge \tfrac12(1-\lvert z\rvert^2) we get 1−∣z∣≥∣1−z∣(cos⁡θ−12∣1−z∣)1 - \lvert z\rvert \ge \lvert 1-z\rvert\bigl(\cos\theta - \tfrac12\lvert 1-z\rvert\bigr); so once ∣1−z∣≤cos⁡θ\lvert 1-z\rvert \le \cos\theta the quotient is at most 2/cos⁡θ2/\cos\theta. Conversely, if the quotient is at most KK then Re⁡(1−z)=12(∣1−z∣2+1−∣z∣2)≥12(1−∣z∣)≥∣1−z∣/(2K)\operatorname{Re}(1-z) = \tfrac12\bigl(\lvert 1-z\rvert^2 + 1 - \lvert z\rvert^2\bigr) \ge \tfrac12(1-\lvert z\rvert) \ge \lvert 1-z\rvert/(2K), so cos⁡arg⁡(1−z)≥1/(2K)\cos\arg(1-z) \ge 1/(2K) and zz stays in such a sector.

Real form. Apply the above to the coefficients bn=anRnb_n = a_n R^n, whose series converges by hypothesis, and to z=x/Rz = x/R. For real z∈(0,1)z \in (0,1) the quotient ∣1−z∣/(1−∣z∣)\lvert 1-z\rvert/(1-\lvert z\rvert) equals 11, so the approach is admissible, and ∑nbnzn=∑nanxn→∑nbn=∑nanRn\sum_n b_n z^n = \sum_n a_n x^n \to \sum_n b_n = \sum_n a_n R^n as x→R−x \to R^-. The left-hand end point is the same statement for bn=an(−R)nb_n = a_n(-R)^n. Continuity on (−R,R](-R,R] follows: inside the interval ff is differentiable, hence continuous, and at RR the one-sided limit has just been identified with the value. □\square

Remark(Where the hypotheses are used)AdaptedAdapted from Riley, Hobson & Bence (2006), §4.5.1, p. 132 and §4.5.2(iii), p. 135; Arfken, Weber & Harris (2013), §1.2, pp. 29-31; Ahlfors (1979), §2.4, Exercise 7, p. 41
  • Why lim sup⁡\limsup and not lim⁡\lim. The familiar formula 1/R=lim⁡n∣an+1/an∣1/R = \lim_{n} \lvert a_{n+1}/a_n \rvert, stated by Riley, Hobson and Bence as a ratio-test criterion for convergence (§4.5.1, p. 132; the worked example on p. 133 applies it) and by Arfken (p. 29), presumes that this limit exists; Ahlfors sets its agreement with Hadamard's formula in that case as Exercise 7 (p. 41). Take an=1a_n = 1 for even nn and an=2a_n = 2 for odd nn: then ∣an∣1/n→1\lvert a_n \rvert^{1/n} \to 1, so R=1R = 1, while ∣an+1/an∣\lvert a_{n+1}/a_n \rvert alternates between 22 and 1/21/2 and has no limit. Hadamard's formula needs no hypothesis at all.
  • Uniform convergence holds on closed subdiscs, not on the open disc. For ∑n≥0zn\sum_{n \ge 0} z^n, with R=1R = 1, the tail at z=ρz = \rho is ρN/(1−ρ)\rho^{N}/(1-\rho), which is unbounded as ρ→1−\rho \to 1^-; so the convergence is uniform on each ∣z∣≤ρ<1\lvert z \rvert \le \rho < 1 and not on ∣z∣<1\lvert z \rvert < 1. This is why part 1 is stated with ρ\rho, following Ahlfors (Thm 2(i), p. 38), and it is where this unit's two sources differ: Hassani's Thm 10.6.2 (p. 320) asserts uniform convergence at all points within the circle of convergence, that is on the whole open disc, and the geometric series shows that the stronger form cannot hold. The statement above follows Ahlfors; Hassani's locator is retained on that statement only for part 4, the analyticity of the sum, which the two sources state alike.
  • The boundary is genuinely undetermined. All three of ∑n≥0zn\sum_{n\ge0} z^n, ∑n≥1zn/n\sum_{n\ge1} z^n/n and ∑n≥1zn/n2\sum_{n\ge1} z^n/n^2 have R=1R = 1. The first diverges at every point of ∣z∣=1\lvert z \rvert = 1; the second converges at every such point except z=1z = 1; the third converges absolutely at all of them.
  • Termwise operations can change the end points. ∑n≥0xn\sum_{n \ge 0} x^n diverges at x=−1x = -1, while its termwise integral ∑n≥0xn+1/(n+1)\sum_{n \ge 0} x^{n+1}/(n+1) converges there, to −ln⁡2-\ln 2. Riley, Hobson and Bence state the general warning (p. 135): the interval of convergence is unchanged, the end points must be retested.
  • Abel's theorem needs the Stolz angle, and has no converse. The restriction ∣1−z∣≤K(1−∣z∣)\lvert 1-z\rvert \le K(1-\lvert z\rvert) excludes approaches tangential to the circle. In the other direction, the existence of lim⁡x→R−f(x)\lim_{x \to R^-} f(x) does not imply that ∑anRn\sum a_n R^n converges: ∑n≥0(−1)nxn=1/(1+x)→1/2\sum_{n \ge 0} (-1)^n x^n = 1/(1+x) \to 1/2 as x→1−x \to 1^-, but ∑n≥0(−1)n\sum_{n\ge0}(-1)^n diverges.
  • The coefficient formula needs R>0R > 0. If R=0R = 0 the series defines no function on a neighbourhood of z0z_0 and there is nothing to differentiate. Where R>0R > 0, the formula an=f(n)(z0)/n!a_n = f^{(n)}(z_0)/n! also yields the uniqueness of the representation: two power series about the same centre that agree on a neighbourhood of it have the same coefficients (Arfken, pp. 30-31).
Example(A radius that only Hadamard's formula gives, then termwise integration)Original

Let

an={2−n,n even,3−n,n odd,f(z)=∑n≥0anzn.a_n = \begin{cases} 2^{-n}, & n \text{ even},\\ 3^{-n}, & n \text{ odd},\end{cases} \qquad f(z) = \sum_{n \ge 0} a_n z^n .
  1. The ratio form is unusable. For even nn, ∣an+1/an∣=2n/3n+1→0\lvert a_{n+1}/a_n\rvert = 2^n/3^{n+1} \to 0; for odd nn, ∣an+1/an∣=3n/2n+1→∞\lvert a_{n+1}/a_n\rvert = 3^n/2^{n+1} \to \infty. The sequence of ratios has no limit, and no finite or infinite value is approached, so neither the ratio form of RR nor the ratio test decides anything here.

  2. Hadamard's formula. ∣an∣1/n\lvert a_n\rvert^{1/n} is 1/21/2 at every even nn and 1/31/3 at every odd nn, so its limit superior is 1/21/2 and R=2R = 2.

  3. Independent confirmation, and the circle. Splitting into even and odd indices gives two geometric series,

    f(z)=∑m≥0(z2)2m+∑m≥0(z3)2m+1=44−z2+3z9−z2,f(z) = \sum_{m \ge 0}\Bigl(\frac{z}{2}\Bigr)^{2m} + \sum_{m \ge 0}\Bigl(\frac{z}{3}\Bigr)^{2m+1} = \frac{4}{4 - z^2} + \frac{3z}{9 - z^2} ,

    the first converging exactly for ∣z∣<2\lvert z\rvert < 2 and the second for ∣z∣<3\lvert z \rvert < 3; so the sum converges exactly on ∣z∣<2\lvert z \rvert < 2, confirming R=2R = 2. At ∣z∣=2\lvert z\rvert = 2 the even terms have modulus 11, so the terms do not tend to 00 and the series diverges at every point of the circle — one of the three behaviours part 3 of the convergence theorem leaves open. At z=1z = 1 the closed form gives f(1)=4/3+3/8=41/24=1.708333‾f(1) = 4/3 + 3/8 = 41/24 = 1.70833\overline{3}, which the partial sums reproduce.

  4. Integrate term by term over [0,1][0,1]. On ∣z∣≤1\lvert z\rvert \le 1 the M-test applies with Mn=∣an∣≤2−nM_n = \lvert a_n\rvert \le 2^{-n}, so the convergence is uniform there and part 2 of the termwise statement applies on [0,1][0,1]:

    ∑n=0∞ann+1=∫01f(x) dx=∫01(44−x2+3x9−x2)dx.\sum_{n=0}^{\infty} \frac{a_n}{n+1} = \int_0^1 f(x)\,dx = \int_0^1\Bigl(\frac{4}{4-x^2} + \frac{3x}{9-x^2}\Bigr) dx .
  5. Evaluate the integral in closed form. Partial fractions give 4/(4−x2)=1/(2−x)+1/(2+x)4/(4-x^2) = 1/(2-x) + 1/(2+x), whose integral is ln⁡2+x2−x\ln\frac{2+x}{2-x}, equal to ln⁡3\ln 3 at x=1x=1; and ∫3x dx/(9−x2)=−32ln⁡(9−x2)\int 3x\,dx/(9-x^2) = -\tfrac32\ln(9-x^2), contributing 32ln⁡98\tfrac32\ln\tfrac98. Hence

    ∑n=0∞ann+1=ln⁡3+32ln⁡98=ln⁡81232=1.2752868421526849.\sum_{n=0}^{\infty}\frac{a_n}{n+1} = \ln 3 + \tfrac32\ln\tfrac98 = \ln\frac{81\sqrt2}{32} = 1.2752868421526849 .
  6. Check. The partial sums of ∑nan/(n+1)\sum_n a_n/(n+1) are 11, 1.1666671.166667, 1.251.25, 1.2592591.259259, 1.2717591.271759, 1.2724451.272445, 1.2746771.274677, 1.2747341.274734, and by n=11n = 11 they have reached 1.2752631.275263, climbing to the stated value. The integrated series has radius 22 as well, in accordance with step 2 of the proof.

Example(Abel's theorem at a boundary point)Original

We evaluate ∑n≥0(−1)n/(3n+1)=1−14+17−110+⋯\sum_{n \ge 0} (-1)^n/(3n+1) = 1 - \tfrac14 + \tfrac17 - \tfrac1{10} + \cdots, a conditionally convergent series, by working inside the disc of convergence and transporting the answer to the boundary.

  1. A power series whose coefficients are these numbers. For ∣t∣<1\lvert t\rvert < 1 the geometric series with ratio −t3-t^3 gives 1/(1+t3)=∑n≥0(−1)nt3n1/(1+t^3) = \sum_{n \ge 0}(-1)^n t^{3n}. On [−ρ,ρ][-\rho,\rho] with ρ<1\rho < 1 we have ∣(−1)nt3n∣≤ρ3n\lvert (-1)^n t^{3n}\rvert \le \rho^{3n}, so the M-test applies with Mn=ρ3nM_n = \rho^{3n} and the convergence is uniform on that closed interval. Given xx with ∣x∣<1\lvert x\rvert < 1, choose ρ\rho with ∣x∣≤ρ<1\lvert x\rvert \le \rho < 1; then [0,x][0,x] (or [x,0][x,0] for negative xx) lies in [−ρ,ρ][-\rho,\rho], and term-by-term integration from 00 to xx gives

    g(x):=∑n=0∞(−1)nx3n+13n+1=∫0xdt1+t3.g(x) := \sum_{n=0}^{\infty} \frac{(-1)^n x^{3n+1}}{3n+1} = \int_0^x \frac{dt}{1+t^3} .

    Only the exponents 3n+13n+1 carry non-zero coefficients, and ∣1/(3n+1)∣1/(3n+1)→1\lvert 1/(3n+1)\rvert^{1/(3n+1)} \to 1, so R=1R = 1.

  2. Convergence at the end point. At x=1x = 1 the series is alternating with terms 1/(3n+1)1/(3n+1) decreasing to 00, so it converges by the alternating-series test. It does not converge absolutely, so the M-test gives nothing on the closed interval and the value at x=1x=1 is not available by a uniform-convergence argument.

  3. Abel's limit theorem. Its real form with R=1R = 1 now applies and identifies the end-point sum with the limit from inside:

    ∑n=0∞(−1)n3n+1=lim⁡x→1−g(x).\sum_{n=0}^{\infty}\frac{(-1)^n}{3n+1} = \lim_{x \to 1^-} g(x) .
  4. Compute the limit. The function x↦∫0xdt/(1+t3)x \mapsto \int_0^x dt/(1+t^3) is continuous at x=1x=1, the integrand being continuous on [0,1][0,1], so the limit is ∫01dt/(1+t3)\int_0^1 dt/(1+t^3). With 1+t3=(1+t)(t2−t+1)1+t^3 = (1+t)(t^2-t+1),

    11+t3=13(1+t)+2−t3(t2−t+1),\frac{1}{1+t^3} = \frac{1}{3(1+t)} + \frac{2-t}{3(t^2-t+1)} ,

    The first piece integrates to 13ln⁡2\tfrac13\ln 2. For the second, writing 2−t=−12(2t−1)+322 - t = -\tfrac12(2t-1) + \tfrac32 splits it as −16∫01(2t−1) dt/(t2−t+1)+12∫01dt/(t2−t+1)-\tfrac16\int_0^1 (2t-1)\,dt/(t^2-t+1) + \tfrac12\int_0^1 dt/(t^2-t+1). The first of these vanishes, since ∫01(2t−1) dt/(t2−t+1)=[ln⁡(t2−t+1)]01=ln⁡1−ln⁡1=0\int_0^1(2t-1)\,dt/(t^2-t+1) = \bigl[\ln(t^2-t+1)\bigr]_0^1 = \ln 1 - \ln 1 = 0; the second is 12∫01dt/((t−12)2+34)=12⋅23[arctan⁡2t−13]01=13⋅π3=π33\tfrac12\int_0^1 dt/\bigl((t-\tfrac12)^2+\tfrac34\bigr) = \tfrac12\cdot\tfrac{2}{\sqrt3}\bigl[\arctan\tfrac{2t-1}{\sqrt3}\bigr]_0^1 = \tfrac1{\sqrt3}\cdot\tfrac{\pi}{3} = \tfrac{\pi}{3\sqrt3}. Hence

    ∑n=0∞(−1)n3n+1=ln⁡23+π33=0.2310490602+0.6045997881=0.8356488483.\sum_{n=0}^{\infty}\frac{(-1)^n}{3n+1} = \frac{\ln 2}{3} + \frac{\pi}{3\sqrt3} = 0.2310490602 + 0.6045997881 = 0.8356488483 .
  5. Check, and why Abel is needed. The partial sums are 11, 0.750.75, 0.8928570.892857, 0.7928570.792857, 0.8697800.869780, 0.8072800.807280, 0.8599120.859912, 0.8144570.814457 — they straddle 0.83564880.8356488 and converge slowly, as a conditionally convergent series must. Summing enough terms to confirm the four-figure value directly would take thousands of them; Abel's theorem replaces that with an integral evaluated in closed form. The theorem is also not a formality here: the boundary sum and the radial limit g(1−)g(1^-) are two different numbers until a theorem identifies them, and the implication runs only one way. The fifth bullet of the remark above gives the one-way example: ∑n≥0(−1)nxn\sum_{n\ge0}(-1)^n x^n has the radial limit 12\tfrac12 at x=1x = 1 while ∑n≥0(−1)n\sum_{n \ge 0}(-1)^n diverges, so a radial limit can exist with no boundary sum to match it, and no converse of Abel's theorem could do the work done here.

ApplicationOriginal

Series solutions of differential equations. Substituting y=∑n≥0anxny = \sum_{n\ge0} a_n x^n into a linear differential equation and differentiating term by term — legitimate inside the disc of convergence, by the statement above, and the reason the manipulation is allowed at all — converts the equation into a recursion for the coefficients. For Airy's equation y′′=xyy'' = xy, matching powers gives (n+2)(n+3)an+3=an(n+2)(n+3)a_{n+3} = a_n, so ∣an∣\lvert a_n\rvert falls off faster than any geometric sequence, lim sup⁡∣an∣1/n=0\limsup\lvert a_n\rvert^{1/n} = 0, and the radius of convergence is infinite: the two Airy functions are represented by their Maclaurin series at every real and complex xx. That is what makes the series usable on both sides of a linear turning point in the one-dimensional Schrödinger equation, where the classically allowed and forbidden regions must be joined. By contrast, for Legendre's equation the recursion gives R=1R = 1, the distance from the origin to the equation's singular points x=±1x = \pm 1; the series then converges on −1<x<1-1 < x < 1 and nothing in this unit settles its behaviour at the poles of the sphere, which is precisely where the physical requirement of boundedness forces the series to terminate and quantises the degree.

Reading a physical singularity off the coefficients. A perturbation expansion in a coupling gg is a power series, and Hadamard's formula turns its high-order coefficients into the radius of convergence, which is the distance from g=0g = 0 to the nearest singularity of the quantity being expanded. Computing ∣an∣1/n\lvert a_n\rvert^{1/n} for the available orders is the standard diagnostic: a limit of 00 indicates an entire function of the coupling, a positive limit locates a critical coupling, and coefficients growing like n!n! indicate a zero radius and an expansion that is asymptotic rather than convergent. In statistical mechanics the same reading applies to the grand partition function as a power series in the fugacity, whose radius of convergence marks the onset of condensation.

Summing at the edge. Abel's limit theorem is the licence to evaluate a generating function or lattice sum inside its disc, in closed form, and then let the variable approach a boundary point at which the series converges, as in the second example above. The Stolz-angle restriction matters in the complex case: approaching a boundary point along the circle itself, or tangentially to it, is not covered, which is why numerical analytic continuation to a boundary point is done along a radius or inside a sector.

Theorem

Taylor's theorem

Adapted

The Taylor polynomial of order N approximates a function with an error given exactly by the Lagrange or the integral remainder; the Taylor series represents the function only where that remainder tends to zero, and for some smooth functions it never does.

Prerequisites: Power series, Convergence tests for series

NoteOriginal

What it means. Taylor's theorem is not a statement about infinite series: for each fixed NN it is an exact identity, a polynomial plus an error term you can bound. That is what makes it the standard tool for approximation and for error estimates, and the Lagrange form is usually the one to reach for, because it converts a bound on one derivative into a bound on the error. The infinite Taylor series is a separate question, and the right one to ask is whether the remainder tends to zero, not whether the series converges: it can converge to the wrong thing, or converge nowhere useful, while the function remains perfectly smooth.

Definition(Taylor polynomial and remainder)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, Eqs. (1.40) and (1.44)-(1.46), pp. 26-27; Riley, Hobson & Bence (2006), §4.6, Eqs. (4.16)-(4.18), pp. 137-138

Let ff be real-valued on an interval II, let a∈Ia \in I, and let N≥0N \ge 0 be an integer such that f(N)(a)f^{(N)}(a) exists. The Taylor polynomial of order NN of ff about aa is

PN(x)=∑k=0Nf(k)(a)k! (x−a)k,P_N(x) = \sum_{k=0}^{N} \frac{f^{(k)}(a)}{k!} \, (x-a)^k ,

and the remainder is RN(x)=f(x)−PN(x)R_N(x) = f(x) - P_N(x). With a=0a = 0 the polynomial is called a Maclaurin polynomial. If ff has derivatives of all orders at aa, the Taylor series of ff about aa is ∑k≥0f(k)(a)(x−a)k/k!\sum_{k \ge 0} f^{(k)}(a)(x-a)^k/k!; it is a power series in x−ax - a, so Power series applies to it. The series represents ff at a point xx exactly when RN(x)→0R_N(x) \to 0 as N→∞N \to \infty; convergence of the series alone is not enough, because convergence of PN(x)P_N(x) to some limit does not identify that limit as f(x)f(x), and the two can differ at every xx of an interval (first bullet of the remark below).

Theorem(Taylor's theorem: Lagrange and integral remainders)AdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, Eqs. (1.40), (1.41) and (1.43), pp. 26-27; Riley, Hobson & Bence (2006), §4.6, Eq. (4.18), p. 138; Stakgold & Holst (2011), §10.1, Thm 10.1.2, pp. 646-647

Let N≥0N \ge 0, let aa and xx be distinct points of II, let JJ be the closed interval with end points aa and xx (so J=[a,x]J = [a,x] if x>ax > a and J=[x,a]J = [x,a] if x<ax < a), and suppose f(N+1)f^{(N+1)} exists and is continuous on JJ. Then

f(x)=∑k=0Nf(k)(a)k!(x−a)k+RN(x)f(x) = \sum_{k=0}^{N} \frac{f^{(k)}(a)}{k!}(x-a)^k + R_N(x)

with the remainder given in either of the two exact forms

RN(x)=f(N+1)(ξ)(N+1)! (x−a)N+1for some ξ between a and x,RN(x)=1N!∫ax(x−t)Nf(N+1)(t) dt.R_N(x) = \frac{f^{(N+1)}(\xi)}{(N+1)!}\,(x-a)^{N+1} \quad \text{for some } \xi \text{ between } a \text{ and } x, \qquad R_N(x) = \frac{1}{N!}\int_a^x (x-t)^N f^{(N+1)}(t)\,dt .

The first is the Lagrange form, the second the integral form. Both are identities, not approximations: no terms are discarded. The Lagrange form gives the error bound

∣RN(x)∣≤∣x−a∣N+1(N+1)! max⁡t∈J∣f(N+1)(t)∣,\lvert R_N(x) \rvert \le \frac{\lvert x-a \rvert^{N+1}}{(N+1)!} \, \max_{t \in J} \bigl\lvert f^{(N+1)}(t) \bigr\rvert ,

and if ff has derivatives of all orders on an interval II containing aa and this bound tends to 00 as N→∞N \to \infty for every x∈Ix \in I, then the Taylor series converges to ff on II.

The stated hypothesis, continuity of f(N+1)f^{(N+1)} on the closed interval JJ, is the one Arfken assumes, and it serves both remainder forms. The integral form needs it, since the integrand must be integrable on JJ; the Lagrange form alone holds under less, and the sharp hypothesis for it is given in the remark below.

Idea of the proofAdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, Eqs. (1.41)-(1.43), pp. 26-27

Both remainder formulas come from one identity. Freeze xx and slide the expansion point: the function t↦∑k≤Nf(k)(t)(x−t)k/k!t \mapsto \sum_{k \le N} f^{(k)}(t)(x-t)^k/k! equals the Taylor polynomial at t=at=a and equals f(x)f(x) at t=xt=x, and when it is differentiated almost everything cancels, leaving a single term. Integrating that one term from aa to xx gives the integral form of the remainder; replacing the integral by its weighted mean value gives the Lagrange form, and the error bound is the crudest estimate of that mean.

ProofAdaptedAdapted from Arfken, Weber & Harris (2013), §1.2, Eqs. (1.42)-(1.43), pp. 26-27

The integral form. Hold xx fixed and define, for t∈Jt \in J,

Φ(t)=∑k=0Nf(k)(t)k! (x−t)k.\Phi(t) = \sum_{k=0}^{N} \frac{f^{(k)}(t)}{k!}\,(x-t)^k .

Each f(k)f^{(k)} with k≤Nk \le N is differentiable on JJ, because f(N+1)f^{(N+1)} exists there by hypothesis, so Φ\Phi is differentiable on JJ, and the product rule gives

Φ′(t)=∑k=0Nf(k+1)(t)k!(x−t)k  −  ∑k=1Nf(k)(t)(k−1)!(x−t)k−1.\Phi'(t) = \sum_{k=0}^{N} \frac{f^{(k+1)}(t)}{k!}(x-t)^k \; - \; \sum_{k=1}^{N} \frac{f^{(k)}(t)}{(k-1)!}(x-t)^{k-1} .

The term of the first sum with index kk equals the term of the second with index k+1k+1, so these cancel in pairs and only the last term of the first sum survives:

Φ′(t)=f(N+1)(t)N! (x−t)N.\Phi'(t) = \frac{f^{(N+1)}(t)}{N!}\,(x-t)^N .

By hypothesis f(N+1)f^{(N+1)} is continuous on JJ, so Φ′\Phi' is continuous there and the fundamental theorem of calculus gives Φ(x)−Φ(a)=∫axΦ′(t) dt\Phi(x) - \Phi(a) = \int_a^x \Phi'(t)\,dt. Now Φ(x)=f(x)\Phi(x) = f(x), since every term with k≥1k \ge 1 carries a factor (x−x)k=0(x-x)^k = 0, and Φ(a)=PN(x)\Phi(a) = P_N(x) by the definition of the Taylor polynomial. Hence

RN(x)=f(x)−PN(x)=1N!∫ax(x−t)Nf(N+1)(t) dt,R_N(x) = f(x) - P_N(x) = \frac{1}{N!}\int_a^x (x-t)^N f^{(N+1)}(t)\,dt ,

the integral being the oriented one, so that the formula covers x>ax > a and x<ax < a alike.

A lemma: the weighted mean value theorem for integrals. Let hh and ww be continuous on a closed bounded interval [c,d][c,d] with w≥0w \ge 0 there. Then ∫cdh w=h(ξ)∫cdw\int_c^d h\,w = h(\xi)\int_c^d w for some ξ∈[c,d]\xi \in [c,d]. For hh attains a least value mm and a greatest value MM on [c,d][c,d], being continuous on a closed bounded interval; since w≥0w \ge 0 this gives m w≤h w≤M wm\,w \le h\,w \le M\,w pointwise, and integrating, m∫cdw≤∫cdh w≤M∫cdwm\int_c^d w \le \int_c^d h\,w \le M\int_c^d w. If ∫cdw=0\int_c^d w = 0 then both sides of the claim are 00 and any ξ\xi serves. Otherwise (∫cdhw)/(∫cdw)\bigl(\int_c^d hw\bigr)\big/\bigl(\int_c^d w\bigr) lies in [m,M][m,M], and the intermediate value theorem supplies a ξ∈[c,d]\xi \in [c,d] at which hh takes that value. This is the weighted form of the mean value theorem that Arfken uses at his Eq. (1.42); the weight is what lets it be applied once instead of NN times.

The Lagrange form for x>ax > a. Apply the lemma on [a,x][a,x] with h=f(N+1)h = f^{(N+1)}, continuous by hypothesis, and w(t)=(x−t)N/N!w(t) = (x-t)^N/N!, which is non-negative there. Since ∫ax(x−t)N dt/N!=(x−a)N+1/(N+1)!\int_a^x (x-t)^N\,dt/N! = (x-a)^{N+1}/(N+1)!,

RN(x)=f(N+1)(ξ) (x−a)N+1(N+1)!,ξ∈[a,x].R_N(x) = f^{(N+1)}(\xi)\,\frac{(x-a)^{N+1}}{(N+1)!}, \qquad \xi \in [a,x].

The Lagrange form for x<ax < a. Reverse the orientation: RN(x)=−1N!∫xa(x−t)Nf(N+1)(t) dtR_N(x) = -\frac{1}{N!}\int_x^a (x-t)^N f^{(N+1)}(t)\,dt, and on [x,a][x,a] we have (x−t)N=(−1)N(t−x)N(x-t)^N = (-1)^N (t-x)^N with (t−x)N≥0(t-x)^N \ge 0. The lemma with weight w(t)=(t−x)N/N!w(t) = (t-x)^N/N!, whose integral over [x,a][x,a] is (a−x)N+1/(N+1)!(a-x)^{N+1}/(N+1)!, gives RN(x)=(−1)N+1f(N+1)(ξ)(a−x)N+1/(N+1)!R_N(x) = (-1)^{N+1} f^{(N+1)}(\xi)(a-x)^{N+1}/(N+1)!; and (−1)N+1(a−x)N+1=(x−a)N+1(-1)^{N+1}(a-x)^{N+1} = (x-a)^{N+1}, so this is the same formula, with ξ∈[x,a]\xi \in [x,a]. In both cases ξ\xi lies between aa and xx.

The error bound. Take moduli in the Lagrange form. Since f(N+1)f^{(N+1)} is continuous on the closed bounded interval JJ, the maximum max⁡t∈J∣f(N+1)(t)∣\max_{t \in J}\lvert f^{(N+1)}(t)\rvert exists and dominates ∣f(N+1)(ξ)∣\lvert f^{(N+1)}(\xi)\rvert wherever ξ\xi happens to lie.

Convergence of the Taylor series. Fix x∈Ix \in I. If the bound tends to 00 as N→∞N \to \infty, then so does RN(x)R_N(x), that is PN(x)→f(x)P_N(x) \to f(x); and PN(x)P_N(x) is the NNth partial sum of the Taylor series at xx. If this holds at every x∈Ix \in I, the series converges to ff throughout II. □\square

Theorem(The CNC^N form of the remainder)AdaptedAdapted from Folland (1999), §8.1, p. 236 and §8.8, p. 278

Let ff be NN times continuously differentiable on an open interval containing aa. Then

lim⁡x→aRN(x)(x−a)N=0,\lim_{x \to a} \frac{R_N(x)}{(x-a)^N} = 0 ,

that is, RN(x)=o(∣x−a∣N)R_N(x) = o(\lvert x-a\rvert^N) as x→ax \to a. Here only NN derivatives are assumed, not N+1N+1, and no point ξ\xi and no integral appear; the conclusion is correspondingly weaker, being a statement about the limit x→ax \to a and not a bound at a fixed xx.

Idea of the proofOriginal

Use the previous theorem one order lower. At order N−1N-1 the Lagrange remainder needs only NN derivatives, which is all that is available, and it expresses the error as f(N)f^{(N)} evaluated at an unknown intermediate point. The difference between that and the order-NN Taylor polynomial is the single term f(N)(a)(x−a)N/N!f^{(N)}(a)(x-a)^N/N!, so the whole remainder is (f(N)(ξ)−f(N)(a))(x−a)N/N!\bigl(f^{(N)}(\xi) - f^{(N)}(a)\bigr)(x-a)^N/N!, and continuity of f(N)f^{(N)} at aa makes the bracket vanish in the limit.

ProofOriginal

For N=0N = 0 we have P0(x)=f(a)P_0(x) = f(a), so the assertion reads f(x)−f(a)→0f(x) - f(a) \to 0 as x→ax \to a: that is the continuity of ff, which the hypothesis f∈C0f \in C^0 supplies. So let N≥1N \ge 1, and let UU be an open interval containing aa on which ff is NN times continuously differentiable.

Fix x∈Ux \in U with x≠ax \ne a and let Jx⊂UJ_x \subset U be the closed interval with end points aa and xx. Apply the previous theorem on JxJ_x at order N−1N-1: its hypothesis is that f((N−1)+1)=f(N)f^{((N-1)+1)} = f^{(N)} exists and is continuous on JxJ_x, which the CNC^N hypothesis supplies — and note that the (N+1)(N+1)st derivative is never mentioned. The Lagrange form gives a point ξx\xi_x between aa and xx with

f(x)=∑k=0N−1f(k)(a)k!(x−a)k+f(N)(ξx)N!(x−a)N.f(x) = \sum_{k=0}^{N-1} \frac{f^{(k)}(a)}{k!}(x-a)^k + \frac{f^{(N)}(\xi_x)}{N!}(x-a)^N .

Subtract PN(x)=∑k=0Nf(k)(a)(x−a)k/k!P_N(x) = \sum_{k=0}^{N} f^{(k)}(a)(x-a)^k/k!. The two polynomial sums differ by exactly the term k=Nk = N, so

RN(x)=f(x)−PN(x)=f(N)(ξx)−f(N)(a)N! (x−a)N.R_N(x) = f(x) - P_N(x) = \frac{f^{(N)}(\xi_x) - f^{(N)}(a)}{N!}\,(x-a)^N .

Divide by (x−a)N(x-a)^N, which is non-zero because x≠ax \ne a:

RN(x)(x−a)N=f(N)(ξx)−f(N)(a)N!.\frac{R_N(x)}{(x-a)^N} = \frac{f^{(N)}(\xi_x) - f^{(N)}(a)}{N!} .

Finally let x→ax \to a. Since ξx\xi_x lies between aa and xx we have ∣ξx−a∣≤∣x−a∣→0\lvert \xi_x - a\rvert \le \lvert x - a \rvert \to 0, so ξx→a\xi_x \to a; and f(N)f^{(N)} is continuous at aa, which is the hypothesis used here and nowhere else, so the numerator tends to 00. Hence the quotient tends to 00, which is the assertion. □\square

Theorem(Standard Maclaurin series and their ranges)AdaptedAdapted from Riley, Hobson & Bence (2006), §4.6.3, p. 140; Arfken, Weber & Harris (2013), §1.2, Eqs. (1.47) and (1.52), pp. 27-29

Each series below converges to the stated function at every real xx in the stated range, and diverges at every real xx outside the closure of that range, with the one exception noted after the table.

Function Maclaurin series Range
exe^x ∑n≥0xn/n!\sum_{n \ge 0} x^n/n! all xx
sin⁡x\sin x ∑n≥0(−1)nx2n+1/(2n+1)!\sum_{n \ge 0} (-1)^n x^{2n+1}/(2n+1)! all xx
cos⁡x\cos x ∑n≥0(−1)nx2n/(2n)!\sum_{n \ge 0} (-1)^n x^{2n}/(2n)! all xx
ln⁡(1+x)\ln(1+x) ∑n≥1(−1)n−1xn/n\sum_{n \ge 1} (-1)^{n-1} x^n/n −1<x≤1-1 < x \le 1
arctan⁡x\arctan x ∑n≥0(−1)nx2n+1/(2n+1)\sum_{n \ge 0} (-1)^n x^{2n+1}/(2n+1) −1≤x≤1-1 \le x \le 1 (ours)
(1+x)α(1+x)^{\alpha} ∑n≥0(αn)xn\sum_{n \ge 0} \binom{\alpha}{n} x^n ∣x∣<1\lvert x \rvert < 1 (ours)

The two ranges marked "(ours)" are not the ranges printed by either cited source: Riley, Hobson and Bence give −1<x<1-1 < x < 1 for the arctangent and −∞<x<∞-\infty < x < \infty for the binomial series (p. 140). Those two rows rest on the argument in the last bullet of the remark below and on the proof below, not on the sources; the other four ranges are the sources'.

In the last line α∈R\alpha \in \mathbb{R} and (αn)=α(α−1)⋯(α−n+1)/n!\binom{\alpha}{n} = \alpha(\alpha-1)\cdots(\alpha-n+1)/n!, with (α0)=1\binom{\alpha}{0}=1. If α\alpha is a non-negative integer the series has only finitely many non-zero terms and equals (1+x)α(1+x)^{\alpha} for every real xx; otherwise its radius of convergence is exactly 11, and whether it converges at x=±1x = \pm 1 depends on α\alpha.

Idea of the proofOriginal

The six rows divide into three kinds. For exe^x, sin⁡\sin and cos⁡\cos every derivative is bounded on each bounded interval by a constant that does not grow with the order, so the Lagrange bound has a factorial in the denominator and nothing to fight it: the series converges to the function everywhere. For the logarithm and the arctangent the remainder is awkward but the function is an integral of a geometric series, so termwise integration delivers the series at a stroke on ∣x∣<1\lvert x\rvert < 1, and Abel's limit theorem then carries it to the end points at which it converges. The binomial series is proved to sum to (1+x)α(1+x)^{\alpha} not by its remainder but by showing that its sum solves the same first-order differential equation as (1+x)α(1+x)^{\alpha}, with the same value at x=0x = 0.

ProofOriginal

Throughout, a=0a = 0 and JJ is the closed interval with end points 00 and xx. All six series are power series in xx, so Power series governs their convergence, and in particular a series of radius 11 has unbounded terms, hence diverges, at every ∣x∣>1\lvert x\rvert > 1. That disposes of the "diverges outside the closure" half of the claim in the last three rows; the first three rows have no outside.

exe^x. Here f(N+1)(t)=etf^{(N+1)}(t) = e^t, so max⁡t∈J∣f(N+1)(t)∣=emax⁡(0,x)≤e∣x∣\max_{t \in J}\lvert f^{(N+1)}(t)\rvert = e^{\max(0,x)} \le e^{\lvert x\rvert}, and the error bound of Taylor's theorem is ∣RN(x)∣≤∣x∣N+1e∣x∣/(N+1)!\lvert R_N(x)\rvert \le \lvert x\rvert^{N+1}e^{\lvert x\rvert}/(N+1)!. For each fixed xx this tends to 00, because ∣x∣N+1/(N+1)!→0\lvert x\rvert^{N+1}/(N+1)! \to 0. So the series converges to exe^x at every real xx. Its coefficients are f(k)(0)/k!=1/k!f^{(k)}(0)/k! = 1/k!.

sin⁡x\sin x and cos⁡x\cos x. Every derivative of either function is ±sin⁡\pm\sin or ±cos⁡\pm\cos, so max⁡J∣f(N+1)∣≤1\max_J \lvert f^{(N+1)}\rvert \le 1 and ∣RN(x)∣≤∣x∣N+1/(N+1)!→0\lvert R_N(x)\rvert \le \lvert x\rvert^{N+1}/(N+1)! \to 0 for each fixed xx. The coefficients follow from the derivative values at 00, which run 0,1,0,−10,1,0,-1 for sin⁡\sin and 1,0,−1,01,0,-1,0 for cos⁡\cos, giving the two series as displayed.

ln⁡(1+x)\ln(1+x). For ∣t∣<1\lvert t\rvert < 1 the geometric series with ratio −t-t gives 1/(1+t)=∑n≥0(−1)ntn1/(1+t) = \sum_{n \ge 0}(-1)^n t^n, of radius 11. By termwise integration of a power series, integrating from 00 to xx for ∣x∣<1\lvert x\rvert < 1 gives ln⁡(1+x)=∑n≥1(−1)n−1xn/n\ln(1+x) = \sum_{n \ge 1}(-1)^{n-1}x^n/n, which is therefore the Maclaurin series and converges to the function on (−1,1)(-1,1). At x=1x = 1 the series is alternating with terms 1/n1/n decreasing to 00, so it converges by the alternating-series test, and Abel's limit theorem identifies its sum with lim⁡x→1−ln⁡(1+x)=ln⁡2\lim_{x \to 1^-}\ln(1+x) = \ln 2. At x=−1x = -1 the series is −∑n1/n-\sum_n 1/n, the harmonic series, which diverges. The range is thus −1<x≤1-1 < x \le 1.

arctan⁡x\arctan x. The same route with ratio −t2-t^2: 1/(1+t2)=∑n≥0(−1)nt2n1/(1+t^2) = \sum_{n\ge0}(-1)^n t^{2n} of radius 11, and termwise integration gives arctan⁡x=∑n≥0(−1)nx2n+1/(2n+1)\arctan x = \sum_{n \ge 0}(-1)^n x^{2n+1}/(2n+1) for ∣x∣<1\lvert x\rvert<1. At x=1x = 1 and at x=−1x = -1 the series is alternating with terms 1/(2n+1)1/(2n+1) decreasing to 00, so it converges at both; Abel's limit theorem, applied at each end point, identifies the sums with arctan⁡(±1)=±π/4\arctan(\pm1) = \pm\pi/4. The range is therefore the closed interval −1≤x≤1-1 \le x \le 1, which is the entry marked "(ours)" in the table.

(1+x)α(1+x)^{\alpha}. If α\alpha is a non-negative integer then (αn)=0\binom{\alpha}{n} = 0 for n>αn > \alpha, the series is the finite binomial expansion of a polynomial, and it equals (1+x)α(1+x)^{\alpha} at every real xx. Otherwise no coefficient vanishes and

∣(αn+1)(αn)∣=∣α−n∣n+1⟶1,\left\lvert \frac{\binom{\alpha}{n+1}}{\binom{\alpha}{n}}\right\rvert = \frac{\lvert \alpha - n\rvert}{n+1} \longrightarrow 1 ,

so the radius of convergence is exactly 11 and the series diverges for ∣x∣>1\lvert x\rvert > 1. Let g(x)=∑n≥0(αn)xng(x) = \sum_{n \ge 0}\binom{\alpha}{n}x^n on (−1,1)(-1,1). From (αn+1)=(αn)(α−n)/(n+1)\binom{\alpha}{n+1} = \binom{\alpha}{n}(\alpha-n)/(n+1), termwise differentiation (legitimate inside the radius) gives

g′(x)=∑n≥0(n+1)(αn+1)xn=∑n≥0(α−n)(αn)xn,x g′(x)=∑n≥0n(αn)xn,g'(x) = \sum_{n \ge 0}(n+1)\binom{\alpha}{n+1}x^n = \sum_{n \ge 0}(\alpha - n)\binom{\alpha}{n}x^n , \qquad x\,g'(x) = \sum_{n \ge 0} n \binom{\alpha}{n}x^n ,

the second by re-indexing the first form of g′g'. Adding the two displays, the terms in nn cancel and

(1+x) g′(x)=α∑n≥0(αn)xn=α g(x)(∣x∣<1).(1+x)\,g'(x) = \alpha\sum_{n\ge0}\binom{\alpha}{n}x^n = \alpha\,g(x) \qquad (\lvert x\rvert < 1).

Hence ddx[(1+x)−αg(x)]=(1+x)−α−1[(1+x)g′(x)−αg(x)]=0\frac{d}{dx}\bigl[(1+x)^{-\alpha}g(x)\bigr] = (1+x)^{-\alpha-1}\bigl[(1+x)g'(x) - \alpha g(x)\bigr] = 0 on (−1,1)(-1,1), so (1+x)−αg(x)(1+x)^{-\alpha}g(x) is constant there; at x=0x = 0 it equals g(0)=1g(0) = 1. Therefore g(x)=(1+x)αg(x) = (1+x)^{\alpha} on ∣x∣<1\lvert x\rvert < 1, which is the entry marked "(ours)". □\square

Remark(Where the hypotheses are used)AdaptedAdapted from Folland (1999), §8.1, p. 236; Arfken, Weber & Harris (2013), §1.2, footnotes 2 and 3, pp. 26-27; Riley, Hobson & Bence (2006), §4.6.3, p. 140
  • A smooth function need not be the sum of its Taylor series. Let η(x)=e−1/x\eta(x) = e^{-1/x} for x>0x > 0 and η(x)=0\eta(x) = 0 for x≤0x \le 0. Then η\eta is infinitely differentiable on all of R\mathbb{R}, including at the origin, where every derivative vanishes (Folland, p. 236, builds the standard bump functions from exactly this η\eta). Its Maclaurin series is therefore identically 00, which converges everywhere but equals η\eta only on (−∞,0](-\infty, 0]. So "the Taylor series converges" and "the Taylor series represents ff" are different statements, and the remainder is what separates them: here RN(x)=η(x)≠0R_N(x) = \eta(x) \neq 0 for every NN and every x>0x>0.
  • Hypotheses actually needed. The two remainder formulas use continuity of f(N+1)f^{(N+1)} on the closed interval, as Arfken assumes (p. 26). For the Lagrange form alone, less suffices: it is enough that f(N)f^{(N)} be continuous on JJ and f(N+1)f^{(N+1)} exist at every interior point, and then ξ\xi may be taken strictly between aa and xx. Arfken notes in footnote 2 (p. 26) that the expansion holds under slightly less restrictive conditions than he assumes, and Folland remarks (p. 278) that calculus texts usually require N+1N+1 derivatives although the CNC^N statement above does not. Riley, Hobson and Bence give the remainder formula without stating any differentiability hypothesis (pp. 137-138); the one above is the standard hypothesis under which their formula holds.
  • Indexing and other remainder forms. Arfken's Eq. (1.40) is indexed by the number of terms: his RnR_n with polynomial degree n−1n-1 is our RNR_N with N=n−1N = n-1. His Eq. (1.41) gives the remainder as an nn-fold iterated integral of f(n)f^{(n)}; carrying out all but one of the integrations turns it into the single integral above, which is the one-variable case of the Banach-space formula of Stakgold and Holst (Thm 10.1.2, p. 647). Arfken's footnote 3 records a third version, due to Cauchy. Folland's indexing differs again: his kk is our NN, and his statement on p. 236 is the multi-variable one, a sum over multi-indices ∣α∣≤k\lvert \alpha\rvert \le k on Rn\mathbb{R}^n with remainder o(∣x−x0∣k)o(\lvert x - x_0\rvert^k); the CNC^N statement above is its specialisation to n=1n = 1, where the multi-index sum becomes the ordinary Taylor polynomial of order NN.
  • The ranges in the table, compared with the sources. Riley, Hobson and Bence print −1<x<1-1 < x < 1 for arctan⁡x\arctan x and −∞<x<∞-\infty < x < \infty for (1+x)n(1+x)^{n} (p. 140). At x=±1x = \pm 1 the arctangent series converges by the alternating-series test, and Abel's limit theorem identifies its sum with arctan⁡(±1)=±π/4\arctan(\pm 1) = \pm\pi/4, which is why the closed range is given above. The unrestricted range for the binomial series is the correct one in the case their notation suggests, a non-negative integer exponent nn, for which the series terminates; for an exponent that is not a non-negative integer every coefficient is non-zero and ∣(αn+1)/(αn)∣=∣α−n∣/(n+1)→1\bigl\lvert \binom{\alpha}{n+1} / \binom{\alpha}{n} \bigr\rvert = \lvert \alpha - n\rvert/(n+1) \to 1, so the radius of convergence is 11 and the range in the table above is ∣x∣<1\lvert x \rvert < 1. The logarithmic range −1<x≤1-1 < x \le 1 agrees with both sources (Arfken, p. 29; Riley, Hobson and Bence, p. 140); at x=1x = 1 it is the alternating harmonic series, with sum ln⁡2\ln 2, and at x=−1x = -1 the harmonic series, which diverges.
Example(How good is the bound, and how many terms does one need)Original

Approximate f(x)=(1+x)−1/2f(x) = (1+x)^{-1/2} near 00 and compare the predicted error with the true one. This is the binomial row of the table with α=−12\alpha = -\tfrac12, so the series converges to ff on ∣x∣<1\lvert x\rvert<1; the question here is quantitative, at the fixed point x=0.3x = 0.3.

  1. The derivatives. Differentiating kk times, f(k)(x)=(−1)k(2k)!4k k! (1+x)−1/2−kf^{(k)}(x) = (-1)^k \dfrac{(2k)!}{4^k\,k!}\,(1+x)^{-1/2-k}, which gives f(k)(0)=(−1)k(2k)!/(4kk!)f^{(k)}(0) = (-1)^k (2k)!/(4^k k!): the values 1,−12,34,−158,10516,−945321, -\tfrac12, \tfrac34, -\tfrac{15}{8}, \tfrac{105}{16}, -\tfrac{945}{32} for k=0,…,5k = 0,\dots,5. Note that ∣f(k)(t)∣\lvert f^{(k)}(t)\rvert decreases in tt, so on [0,0.3][0,0.3] its maximum is at t=0t = 0.

  2. The order-4 polynomial. Dividing by k!k!,

    P4(x)=1−x2+3x28−5x316+35x4128.P_4(x) = 1 - \frac{x}{2} + \frac{3x^2}{8} - \frac{5x^3}{16} + \frac{35x^4}{128} .
  3. The true error at x=0.3x = 0.3. P4(0.3)=0.877527343750000P_4(0.3) = 0.877527343750000 and f(0.3)=1/1.3=0.877058019307029f(0.3) = 1/\sqrt{1.3} = 0.877058019307029, so

    R4(0.3)=f(0.3)−P4(0.3)=−4.693244×10−4.R_4(0.3) = f(0.3) - P_4(0.3) = -4.693244\times 10^{-4} .
  4. The predicted bound. With N=4N = 4, J=[0,0.3]J = [0,0.3] and max⁡J∣f(5)∣=∣f(5)(0)∣=945/32=29.53125\max_J\lvert f^{(5)}\rvert = \lvert f^{(5)}(0)\rvert = 945/32 = 29.53125, the error bound of Taylor's theorem gives

    ∣R4(0.3)∣≤0.355!⋅94532=0.00243120⋅29.53125=5.980078×10−4.\lvert R_4(0.3)\rvert \le \frac{0.3^5}{5!}\cdot\frac{945}{32} = \frac{0.00243}{120}\cdot 29.53125 = 5.980078\times 10^{-4} .

    The bound holds, and it overstates the true error by only 27%27\%: the ratio of true error to bound is 0.7850.785.

  5. Where ξ\xi actually is. The Lagrange form says R4(0.3)=f(5)(ξ) (0.3)5/5!R_4(0.3) = f^{(5)}(\xi)\,(0.3)^5/5! for some ξ∈(0,0.3)\xi \in (0, 0.3). Solving −(945/32)(1+ξ)−11/2=120 R4(0.3)/0.35=−23.1765-(945/32)(1+\xi)^{-11/2} = 120\,R_4(0.3)/0.3^5 = -23.1765 gives ξ=0.04504\xi = 0.04504, comfortably inside the interval, and much closer to 00 than to 0.30.3 — which is why the bound, computed at the worst point t=0t = 0, is nearly attained.

  6. How many terms for eight-figure accuracy at x=0.3x = 0.3? The bound at order NN is 0.3N+1 ∣f(N+1)(0)∣/(N+1)!0.3^{N+1}\,\lvert f^{(N+1)}(0)\rvert/(N+1)!. It takes the values 5.98×10−45.98\times10^{-4} at N=4N=4, 3.65×10−63.65\times10^{-6} at N=8N=8, 2.47×10−82.47\times10^{-8} at N=12N=12 and 7.15×10−97.15\times10^{-9} at N=13N=13. So N=13N = 13 is the first order at which the theorem guarantees ∣RN(0.3)∣<10−8\lvert R_N(0.3)\rvert < 10^{-8}. The true errors are 1.92×10−81.92\times10^{-8} at N=12N=12 and 5.54×10−95.54\times10^{-9} at N=13N=13, so N=13N=13 is also the first order that genuinely achieves it: at this point the bound costs nothing. This is the practical content of the Lagrange form — a bound on one derivative is converted into a usable number of terms, without evaluating the function being approximated.

ApplicationOriginal

Truncation error of a finite-difference scheme. Discretising a second derivative on a grid of spacing hh uses the centred second difference. Taylor's theorem with the Lagrange remainder at order 33, applied at x+hx+h and at x−hx-h for a function uu with u(4)u^{(4)} continuous near xx, gives u(x±h)=u(x)±hu′(x)+12h2u′′(x)±16h3u′′′(x)+124h4u(4)(ξ±)u(x \pm h) = u(x) \pm hu'(x) + \tfrac12h^2u''(x) \pm \tfrac16h^3u'''(x) + \tfrac1{24}h^4u^{(4)}(\xi_{\pm}) with ξ±\xi_{\pm} between xx and x±hx\pm h. The odd terms cancel on adding, so

u(x+h)−2u(x)+u(x−h)h2−u′′(x)=h224(u(4)(ξ+)+u(4)(ξ−)),error  ≤  h212max⁡[x−h,x+h]∣u(4)∣.\frac{u(x+h) - 2u(x) + u(x-h)}{h^2} - u''(x) = \frac{h^2}{24}\bigl(u^{(4)}(\xi_+) + u^{(4)}(\xi_-)\bigr), \qquad \text{error} \;\le\; \frac{h^2}{12}\max_{[x-h,x+h]}\lvert u^{(4)}\rvert .

This is the second-order accuracy of the discrete Laplacian used in every finite-difference solver for Poisson's and the heat equation, and the bound is what fixes the grid spacing needed for a target accuracy. For u=sin⁡u = \sin at x=1x = 1 with h=0.1h = 0.1: the difference quotient is −0.840769992687-0.840769992687 against u′′(1)=−0.841470984808u''(1) = -0.841470984808, an error of 7.0099×10−47.0099\times 10^{-4}; the bound is h2sin⁡(1.1)/12=7.4267×10−4h^2\sin(1.1)/12 = 7.4267\times10^{-4} and the leading term h2u(4)(1)/12=h2sin⁡(1)/12=7.0123×10−4h^2 u^{(4)}(1)/12 = h^2\sin(1)/12 = 7.0123\times 10^{-4}, which matches the true error to three figures. Halving hh divides the error by four, as the h2h^2 predicts.

Harmonic approximation and its range of validity. Expanding a potential VV about a minimum q0q_0, where V′(q0)=0V'(q_0) = 0, Taylor's theorem gives V(q)=V(q0)+12V′′(q0)(q−q0)2+16V′′′(ξ)(q−q0)3V(q) = V(q_0) + \tfrac12 V''(q_0)(q-q_0)^2 + \tfrac16 V'''(\xi)(q-q_0)^3. The harmonic oscillator with frequency V′′(q0)/m\sqrt{V''(q_0)/m} is what remains when the last term is dropped, and the remainder is exactly the anharmonicity: the frequency is reliable only while ∣V′′′∣∣q−q0∣3/6\lvert V'''\rvert\lvert q - q_0\rvert^3/6 is small against 12V′′(q0)(q−q0)2\tfrac12 V''(q_0)(q-q_0)^2, that is while ∣q−q0∣≪3V′′(q0)/max⁡∣V′′′∣\lvert q - q_0\rvert \ll 3V''(q_0)/\max\lvert V'''\rvert. For the pendulum, V(θ)=mgl(1−cos⁡θ)V(\theta) = mgl(1-\cos\theta) has V′′′(0)=0V'''(0) = 0, so the first correction is quartic and the harmonic range is unusually wide — which is why the simple pendulum formula survives to amplitudes of tens of degrees.

Non-relativistic limits. The binomial row with α=−12\alpha = -\tfrac12 turns the relativistic energy mc2(1−v2/c2)−1/2mc^2(1 - v^2/c^2)^{-1/2} into mc2+12mv2+38mv4/c2+⋯mc^2 + \tfrac12mv^2 + \tfrac38 mv^4/c^2 + \cdots, and the remainder bound says how fast the vehicle may move before the Newtonian kinetic energy is inadequate at a prescribed tolerance. The same expansion with the same bound is what justifies the dipole and quadrupole truncations of a multipole expansion, where ∣x∣\lvert x\rvert is the ratio of source size to distance.