An infinite sum is the limit of its partial sums. Series are tamed by comparison with the geometric series, and functions are tamed by uniform convergence, which lets limits pass through continuity, integrals and derivatives. Power series, e^x, sin and cos, and Euler's formula are the reward.
Beyond the courseAbbott, Understanding Analysis, ch. 2.7, 6 and 5Spivak, Calculus, ch. 22 to 24Rudin, Principles of Mathematical Analysis, ch. 3 and 7
In school, 1+21+41+⋯=2 was a fact about adding infinitely many things, and ex=1+x+2!x2+… was a formula to memorise. Adding infinitely many numbers makes sense only if we say what it means. The answer is a limit, so this chapter is 1.2 applied to partial sums. Then comes the harder idea: when the terms are functions, “the sum converges” can mean two different things, and only the stronger one lets continuity, integrals and derivatives pass through the sum. With that, power series become a tool you can trust, and Euler’s formula, promised in 0.6, gets its proof.
Before you start
Chapter 1.2: the ε-N game, monotone convergence, Cauchy sequences. Chapter 1.3: continuity with ε and δ. Chapter 1.5: the integral and the fundamental theorem of calculus.
Quick checkA sequence of real numbers converges if and only if it is:
That is the Cauchy criterion of 1.2: in the reals, convergent and Cauchy mean the same. Bounded alone is not enough ((−1)n), and monotone alone is not enough (n).Review: the Cauchy criterion
Quick checkAn increasing sequence that is bounded above:
This is the monotone convergence theorem of 1.2. It is how we will prove that a series with non-negative terms converges: its partial sums increase, so we only need an upper bound.Review: monotone convergence
Quick checkIf ∣f(x)−g(x)∣<3ε, ∣g(x)−g(y)∣<3ε and ∣g(y)−f(y)∣<3ε, what does the triangle inequality give for ∣f(x)−f(y)∣?
Go from f(x) to g(x) to g(y) to f(y) and add the three distances: less than 3⋅3ε=ε. This three-step detour is the heart of the uniform limit theorem below.Review: the triangle inequality
The picture: two ways to converge
First, numbers. The partial sums of 21+41+81+… are Sn=1−2−n: 0.5,0.75,0.875,…, each one closing half of the remaining gap to 1. The series “equals” 1 because the partial sums converge to 1.
Now functions. Let fn(x)=xn on [0,1]. At a fixed x<1 the values xn shrink to 0; at x=1 they stay at 1.
x
x10
x100
0.5
0.00098
≈0
0.9
0.349
0.0000266
0.99
0.904
0.366
1
1
1
At every single point the sequence converges, but near 1 you must go further and further out in n to get small: the “bad region” slides toward 1 and never disappears. So the graphs of xn never fit into a thin tube around the limit function (0 for x<1, jumping to 1 at x=1). Each fn is continuous, yet the limit has a jump. This is the central warning of the chapter.
Where this came from· Oresme and the harmonic series
Nicole Oresme, a French scholar, showed around 1350 that 1+21+31+41+… has no finite sum, even though its terms shrink to zero. He grouped the terms: 31+41≥21, then 51+⋯+81≥21, and so on, so there are infinitely many blocks each worth at least 21. The argument was forgotten and found again in the 1600s (Pietro Mengoli in 1647, then the Bernoulli brothers). It set the pattern for this chapter: terms going to zero is necessary for a series to converge, but not sufficient.
The idea, in words
A series is a sequence in disguise: instead of the terms ak we look at the running totals Sn=a1+⋯+an, and everything we proved about sequences in 1.2 applies to (Sn). Three questions organise the first half of the chapter. Does (Sn) converge? (Tests.) Does it still converge if we take absolute values, so that no cancellation helps? (Absolute convergence, which is the safe kind.) And does the sum depend on the order of the terms? (Only for the unsafe kind.)
Then we let each term depend on x. A series of functions defines a new function, and we want its properties: continuity, integral, derivative. These do not pass through a pointwise limit, as the xn picture shows. They do pass through a uniform limit, which means one N works for all x at once, the same δ-for-everywhere idea as uniform continuity in 1.3.
Why· The pattern in every proof here
Almost every proof in this chapter is one of three moves: compare with a geometric series (tests), apply the Cauchy criterion with the triangle inequality (absolute convergence, M-test), or split the error into three or two pieces and give each part of the budget ε (uniform limits). Look for the move before reading each proof.
Series: definitions and first tests
Definition B
Series
Given a sequence (ak), the series∑k=1∞akconverges to S if the sequence of partial sums converges to S; then S is its sum. If (Sn) does not converge the series diverges.
In one lineAn infinite sum ∑k=1∞ak, defined as the limit of the partial sums when that limit exists.
Why it existsInfinitely many additions cannot be performed, so the only honest meaning of an infinite sum is a limit of finite ones.
Definition B
Partial sum
The n-th partial sum of ∑ak is Sn=a1+a2+⋯+an. So an=Sn−Sn−1 for n≥2.
In one lineSn=a1+a2+⋯+an, the total of the first n terms.
Why it existsEach partial sum is an ordinary finite sum, and the series is defined from them.
Theorem BAbbott Example 2.7.5
Geometric series
For ∣r∣<1, k=0∑∞rk=1−r1. For ∣r∣≥1 the series diverges.
In one line∑k=0∞rk=1−r1 when ∣r∣<1, and the series diverges when ∣r∣≥1.
Why it is trueThe partial sum has a closed form, and then the question is only whether r to the power n tends to zero.
Why· Scratch work: where the proof comes from
Multiply Sn=1+r+⋯+rn by r and subtract: Sn−rSn=1−rn+1, so Sn=1−r1−rn+1 (for r=1). We want Sn→1−r1, so the distance is ∣Sn−1−r1∣=∣1−r∣∣r∣n+1. Everything depends on showing ∣r∣n→0 for ∣r∣<1, which needs an ε-N proof. Trick: write ∣r∣=1+h1 with h>0 and use Bernoulli’s inequality (1+h)n≥1+nh (induction), so ∣r∣n≤1+nh1<nh1, which is below ε once n>hε1.
ProofAbbott 2.7.5
The idea: Closed form for S_n; then |r|^n → 0 via Bernoulli's inequality. For |r| ≥ 1 the terms do not tend to 0.
For r=1: Sn=1−r1−rn+1.
Multiply by r and subtract; all middle terms cancel.
Write ∣r∣=1+h1 with h>0.
If 0<∣r∣<1 then ∣r∣1>1, so ∣r∣1=1+h for some h>0.If r=0 then rn=0 for n≥1, so there is nothing to prove.
∣r∣n=(1+h)n1≤1+nh1<nh1.
Bernoulli: (1+h)n≥1+nh, proved by induction since (1+h)n+1≥(1+nh)(1+h)≥1+(n+1)h.
So rn→0.
Choose N≥hε1 (Archimedean property). Then for n>N, nh1<ε.
Hence Sn→1−r1.
Limit laws of 1.2: Sn=1−r1−1−rrrn.
For ∣r∣≥1 the series diverges.
If ∣r∣≥1 then ∣rk∣≥1, so the terms do not tend to 0, and a convergent series must have terms tending to 0 (nth-term test below). ■
Worked example
Write 0.999… as a series and find its value.
Solution.
Series form.0.999…=109+1009+⋯=9∑k=1∞10−k. Each decimal digit is a term.
Pull out the first term.∑k=1∞10−k=101∑j=0∞(101)j=101⋅1−1011=91. Geometric series with r=101, ∣r∣<1.
Multiply.9⋅91=1. Arithmetic.
Answer.0.999…=1 exactly: the partial sums are 1−10−n, which converge to 1. ■
Your answerFind k=1∑∞2(53)k. Careful: the sum starts at k=1.
Geometric series: first term divided by 1−r.
The first term is 2⋅53=56 and the ratio is 53. The sum is 1−rfirst term=2/56/5=3. (Starting at k=0 would give 2/52=5, which includes the extra term 2.)
Theorem BAbbott Thm 2.7.3
The nth-term test
If ∑ak converges, then ak→0. So if ak→0, the series diverges.
In one lineIf ∑ak converges, then ak→0.
Why it is trueA term is the difference of two consecutive partial sums, and both tend to the same limit.
ProofAbbott 2.7.3
The idea: a_n = S_n − S_{n−1}, and both partial sums tend to the same limit S.
an=Sn−Sn−1 for n≥2.
Definition of the partial sum.
By the difference law of 1.2, an→S−S=0. ■
Both (Sn) and the shifted sequence (Sn−1) converge to the sum S.
The converse is false, and the standard example is the harmonic series, which 1.2 left as a stretch problem (1.2, last problem).
Theorem BOresme, c. 1350; Abbott Sec. 2.7
The harmonic series diverges
The partial sums Hn=1+21+⋯+n1 are unbounded, so ∑k1 diverges.
In one line∑k=1∞k1 diverges, although k1→0.
Why it is trueBlocks of 2^m terms each add to at least 1/2, so the partial sums are unbounded.
ProofOresme; 1.2 stretch problem
The idea: Compare H_{2n} with H_n: the extra n terms are each at least 1/(2n), so they add at least 1/2.
H2n−Hn=n+11+⋯+2n1.
The extra terms are n+11,…,2n1, and there are n of them.
H2n−Hn≥n⋅2n1=21.
Each of the n terms is at least the smallest one, 2n1.
So (Hn) is unbounded, hence not convergent. ■
Apply this with n=1,2,4,8,…: H2m≥1+2m, which exceeds any bound.
Quick checkSince k1→0, does ∑k1 converge?
If the terms do NOT tend to 0, the series diverges. If they do, nothing follows. The harmonic series is the standard example of terms tending to 0 with a divergent sum.
Theorem BAbbott Thm 2.7.4
Comparison test
Suppose 0≤ak≤bk for all k. If ∑bk converges, so does ∑ak. If ∑ak diverges, so does ∑bk.
In one lineIf 0≤ak≤bk and ∑bk converges, then ∑ak converges; if ∑ak diverges, so does ∑bk.
Why it is trueNon-negative terms make the partial sums increase, so being bounded above is enough, and a bigger series bounds a smaller one.
ProofAbbott 2.7.4
The idea: Partial sums of a_k increase and are bounded by the sum of the b_k; monotone convergence.
The partial sums An=a1+⋯+an are increasing.
Each term is non-negative.
An≤B for all n.
Compare termwise: An≤Bn, and Bn≤∑bk=B because the Bn increase to B.
So (An) converges. The second statement is the contrapositive. ■
Monotone convergence theorem (1.2).
Worked example Abbott 2.7
Decide whether ∑k21 and ∑k1 converge.
Solution.
First series: compare with a telescoping one. For k≥2, k21≤k(k−1)1=k−11−k1. Making the denominator smaller makes the fraction bigger, and the partial fractions give a telescoping sum.
Sum the bound.∑k=2n(k−11−k1)=1−n1≤1. All middle terms cancel.
Conclude. The partial sums of ∑k21 are at most 1+1=2, so it converges (its value is 6π2=1.6449…, which the first ten terms approach as 1.5498). Comparison test.
Second series. For k≥1, k1≥k1, and ∑k1 diverges, so ∑k1 diverges. Comparison test, divergence form.
Answer.∑k21 converges; ∑k1 diverges. ■
Worked example
Find the exact sum k=1∑∞k(k+2)1.
Solution.
Split into partial fractions.k(k+2)1=21(k1−k+21). Check: k1−k+21=k(k+2)2. The aim is to make neighbouring terms cancel.
Write the partial sum.Sn=21[(1−31)+(21−41)+(31−51)+⋯+(n1−n+21)]. The partial sum is a finite sum, so we may regroup it freely.
Cancel. Every j1 with 3≤j≤n appears once with a plus and once with a minus, so Sn=21(1+21−n+11−n+21). Only the first two positive terms and the last two negative terms survive.
Take the limit.n+11 and n+21 tend to 0, so Sn→21⋅23=43. Limit laws of 1.2.
Answer.43. (Check: the first four terms give 0.3333+0.125+0.0667+0.0417=0.5667 and the sum creeps up to 0.75.) ■
Absolute convergence
Definition B
Absolute convergence
∑akconverges absolutely if ∑∣ak∣ converges. A series that converges but not absolutely converges conditionally.
In one line∑ak converges absolutely if ∑∣ak∣ converges.
Why it existsIt is the safe kind of convergence: no cancellation is needed, so the order of the terms cannot matter.
In one line∑ak converges iff for every ε>0 there is N with ∣am+1+⋯+an∣<ε for all n>m≥N.
Why it is trueIt is the Cauchy criterion of 1.2 applied to the partial sums, with S_n − S_m written as a block of terms.
ProofAbbott 2.7.2
The idea: S_n − S_m is exactly the block a_{m+1} + ... + a_n, so the condition says (S_n) is Cauchy; 1.2 says Cauchy is the same as convergent.
Sn−Sm=am+1+⋯+an for n>m.
Definition of partial sums.
So the condition says (Sn) is a Cauchy sequence.
The condition is then ∣Sn−Sm∣<ε for all n>m≥N, the definition of Cauchy.
A real sequence is Cauchy iff it converges. ■
Cauchy criterion for sequences (1.2).
Theorem BAbbott Thm 2.7.6
Absolute convergence implies convergence
If ∑∣ak∣ converges, then ∑ak converges and ∣∑ak∣≤∑∣ak∣.
In one lineIf ∑∣ak∣ converges, then ∑ak converges, and ∣∑ak∣≤∑∣ak∣.
Why it is trueCancellation can only make a block of terms smaller in size, so if the sizes are Cauchy, the signed terms are too.
Why· Scratch work: where the proof comes from
We have a hypothesis about ∑∣ak∣ and a conclusion about ∑ak, and the Cauchy criterion for series is stated with blocks. So write the block for a and compare it with the block for ∣a∣: by the triangle inequality ∣am+1+⋯+an∣≤∣am+1∣+⋯+∣an∣. The right side is small for large m,n by the Cauchy criterion applied to the convergent series ∑∣ak∣ (with the same ε). No splitting of the budget is needed: one comparison.
ProofAbbott 2.7.6
The idea: Triangle inequality turns the block of signed terms into a block of absolute values, which the Cauchy criterion makes small.
Let ε>0. There is N with ∣am+1∣+⋯+∣an∣<ε for all n>m≥N.
Cauchy criterion for the convergent series ∑∣ak∣.
For such m,n: ∣am+1+⋯+an∣≤∣am+1∣+⋯+∣an∣<ε.
Triangle inequality, extended to many terms by induction.
So ∑ak converges.
Cauchy criterion for series, in the other direction.
The inequality ∣∑ak∣≤∑∣ak∣ follows. ■
∑k≤nak≤∑k≤n∣ak∣ for each n; pass to the limit.
Proof workshopRebuild the proof that absolute convergence implies convergence
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
The Cauchy criterion for series applied to the series of absolute values.
The triangle inequality, repeated for each added term.
You need the indices m and n chosen first.
Combine the bound of the first line with the inequality of the second.
This needs both the choice of N and the triangle inequality step.
The criterion says this condition is exactly convergence.
The condition must hold for an arbitrary epsilon before you can use the criterion.
Quick checkWhich series converges absolutely?
The absolute values k21 add up (comparison test above). The middle one converges, but only because of cancellation: its absolute values give the harmonic series. The last does not converge at all (terms do not tend to 0).
Theorem BAbbott Exercise 2.7.9; Rudin Thm 3.34
Ratio test
Let ak=0 and akak+1→r. If r<1, ∑ak converges absolutely. If r>1, ∑ak diverges. If r=1, the test says nothing.
In one lineIf akak+1→r, then ∑ak converges absolutely when r<1 and diverges when r>1; r=1 decides nothing.
Why it is trueEventually the terms shrink at least as fast as a geometric series with ratio a little above r, which converges by comparison.
Why· Scratch work: where the proof comes from
For r<1 the ratio is eventually near r, so eventually the terms shrink by a factor close to r each step, which is like a geometric series. We need a number s with r<s<1 to be a safe ratio bound: the ratio will eventually be below s. The midpoint s=2r+1 works, because it is strictly between. In the ε-N language of 1.2, this is using the definition of the limit with ε=s−r=21−r. After the index N where ratios are below s, each step multiplies the size by less than s: ∣aN+j∣≤∣aN∣sj. The finitely many terms before N do not affect convergence.
ProofRudin 3.34
The idea: Case r < 1: from some N on, |a_{k+1}| < s|a_k| with s = (1+r)/2 < 1, so |a_{N+j}| ≤ |a_N| s^j, and the geometric series with ratio s converges; compare. Case r > 1: eventually |a_{k+1}| > |a_k|, so the terms do not tend to 0.
Suppose r<1 and let s=21+r, so r<s<1. There is N with akak+1<s for all k≥N.
Definition of the limit r, with ε=21−r (so that r+ε=s).
∣aN+j∣≤∣aN∣sj for all j≥0.
Induction on j: multiply the inequality ∣ak+1∣<s∣ak∣j times.
∑j∣aN∣sj converges.
Geometric series with ratio s, 0<s<1, converges (theorem above); a constant multiple ∣aN∣ does not affect that.
So ∑∣ak∣ converges: ∑ak converges absolutely.
Comparison test, and dropping or adding finitely many terms does not change convergence.
Then ∣ak∣≥∣aN∣>0 for all k≥N, so ak→0.
Now r>1: with ε=r−1 the ratio is eventually greater than 1, so ∣ak+1∣>∣ak∣ from some N on.
So ∑ak diverges.
The nth-term test.
The test cannot decide when r=1. ■
For r=1: ∑k1 diverges and ∑k21 converges, and both have ratios tending to 1.
Worked example
Show that ∑k=1∞2kk, ∑k=0∞k!3k and ∑k=1∞kk2kk! converge.
Solution.
First series: ratio.akak+1=k/2k(k+1)/2k+1=2kk+1→21. Divide (k+1) by k and 2k by 2k+1.
Decide.21<1, so it converges absolutely. Ratio test, r<1.
Second series: ratio.3k/k!3k+1/(k+1)!=k+13→0<1. (k+1)!=(k+1)k!.
Decide. It converges (its sum is e3=20.0855…, which the first 30 terms already give to ten places). Ratio test.
Third series: ratio.2kk!/kk2k+1(k+1)!/(k+1)k+1=2⋅(k+1)k+1(k+1)kk=2(k+1k)k=2(1+k1)−k. Cancel 2k, k! and one factor (k+1) from (k+1)k+1.
Decide.(1+k1)k→e, so the ratio tends to e2=0.7358<1, and the series converges absolutely. Ratio test, r<1. The limit (1+k1)k→e is the compound-interest limit used in the applications below.
Answer. All three converge. ■ (Later: ∑2kk=2, a term-by-term differentiation example.)
Quick checkFor ∑k21 the ratio akak+1=(k+1)2k2 tends to 1. What does the ratio test tell you?
The test gives convergence only for a limit strictly below 1, and divergence only for a limit strictly above 1. At exactly 1 both ∑k1 (diverges) and ∑k21 (converges) occur, so another test is needed. The third option confuses 'each ratio is below 1' with 'the limit is below 1'.
Theorem BAbbott Thm 2.7.7
Alternating series test
If b1≥b2≥⋯≥0 and bk→0, then ∑k=1∞(−1)k+1bk=b1−b2+b3−… converges, and ∣S−Sn∣≤bn+1.
In one lineIf bk decreases to 0, then ∑(−1)k+1bk converges, and the error after n terms is at most bn+1.
Why it is trueThe partial sums with an even number of terms go up, those with an odd number go down, and the gap between the two kinds is b, which shrinks to zero.
ProofAbbott 2.7.7
The idea: Even partial sums increase and are bounded above by S_1; odd partial sums are the even ones plus b_{2n+1} → 0, so they converge to the same limit.
The even partial sums increase: S2n+2≥S2n.
Pair terms: S2n+2=S2n+(b2n+1−b2n+2) and the bracket is ≥0 since b decreases.
They are bounded above by S1=b1.
S2n=b1−(b2−b3)−⋯−(b2n−2−b2n−1)−b2n≤b1, each bracket being non-negative.
So S2n→L for some L.
Monotone convergence theorem (1.2).
So S2n+1→L too.
S2n+1=S2n+b2n+1, and b2n+1→0; limit laws.
The odd partial sums decrease: S2n+1≤S2n−1. So S2n≤L≤S2n+1 for every n: an increasing sequence stays below its limit and a decreasing one stays above it.
S2n+1=S2n−1−(b2n−b2n+1) and the bracket is ≥0. This is needed for the error bound at the end.
Hence Sn→L.
If both the even-indexed and odd-indexed terms of a sequence tend to L, the whole sequence does: given ε, take the larger of the two starting points.
The error satisfies ∣L−Sn∣≤bn+1.
S2n increases to L and S2n+1 decreases to L, so L lies between any Sn and Sn+1, which differ by bn+1. ■
Worked example Abbott 2.7
The alternating harmonic series: show 1−21+31−… converges, but not absolutely, and bound the error of S10.
Solution.
Converges.bk=k1 decreases to 0, so the alternating series test applies. Both hypotheses hold.
Not absolutely.∑∣ak∣=∑k1 is the harmonic series, which diverges. So the convergence is conditional.
Error bound.S10=0.6456… and ∣S−S10∣≤b11=111=0.0909. Error of at most the first omitted term.
Answer. Conditionally convergent. Its sum is ln2=0.6931… (a Taylor series fact); the error of S10 is 0.0475, within the bound. ■
Your answerFor 1−21+31−…, the error after n terms is at most n+11. What is the smallest n that guarantees an error below 0.001?
Solve n+11<0.001 and remember the inequality is strict.
We need n+11<0.001, that is n+1>1000. So n=1000 works (error at most 10011), while n=999 only guarantees 10001=0.001, which is not below 0.001. Conditionally convergent series are slow: a thousand terms for three decimal places.
Worked example
Classify each series as absolutely convergent, conditionally convergent or divergent: ∑k+1k, ∑k(−1)k, ∑k2(−1)k, ∑(−1)k.
Solution.
Test the terms first: ∑k+1k. The terms tend to 1, not 0. If the terms do not tend to 0, the series diverges (nth-term test). Always do this check first because it is one line.
The last series, ∑(−1)k, fails the same test. Its terms are ±1 and do not tend to 0. The partial sums alternate between −1 and 0, which agrees: no limit.
Absolute values for ∑k2(−1)k.∑k2(−1)k=∑k21, which converges. Comparison with the telescoping series, done earlier. Absolute convergence implies convergence.
Absolute values for ∑k(−1)k.∑k1 diverges, so it is not absolutely convergent. Harmonic series.
Does it converge anyway?k1 decreases to 0, so the alternating series test says yes. Both hypotheses of the test hold.
Let ∑ak converge absolutely with sum S, and let σ:N→N be a bijection (a reordering). Then ∑aσ(j) converges to S.
In one lineIf ∑ak converges absolutely, every rearrangement converges to the same sum.
Why it is trueOnly the first few terms matter for the sum up to ε; the tail is tiny in absolute value, so wherever the tail terms end up, they cannot change the total by more than ε.
ProofRudin 3.55
The idea: Choose N so the tail of absolute values after N is below ε. Wait until the rearranged series has used all of a_1..a_N; after that, its partial sums differ from S_N only by tail terms.
Let ε>0. Choose N with ∑k>N∣ak∣<ε and ∣S−SN∣<ε.
Absolute convergence: the tails of ∑∣ak∣ go to 0. Convergence of ∑ak: SN→S. Take N large enough for both.
Choose M such that {1,…,N}⊆{σ(1),…,σ(M)}.
σ is onto, so each of 1,…,N equals σ(j) for some j; take M larger than all these j.
Tn−SN is a sum of distinct terms ak with k>N.
For n≥M, the rearranged partial sum Tn=∑j≤naσ(j) contains a1,…,aN once each, plus terms with index greater than N (each at most once, since σ is one-to-one).
∣Tn−SN∣≤∑k>N∣ak∣<ε.
Triangle inequality, then the tail bound.
∣Tn−S∣≤∣Tn−SN∣+∣SN−S∣<2ε for all n≥M. ■
Triangle inequality through SN.
Beyond the course: for understanding· Riemann's rearrangement theorem (stated, label B)
For conditionally convergent series the order matters completely. Riemann’s rearrangement theorem: if ∑ak converges conditionally, then for every real number T (and also ±∞) there is a rearrangement whose sum is T. The idea: the positive terms alone add to +∞ and the negative terms to −∞ (otherwise the series would converge absolutely or diverge). Take positive terms until the running total passes T, then negative terms until it falls below T, and repeat; since the terms tend to 0, the overshoots shrink and the total converges to T.
Example with the alternating harmonic series, whose sum is ln2=0.693…: take one positive term, then two negative terms: 1−21−41+31−61−81+…. The sum becomes 21ln2=0.3466… (numerically, the first 300000 terms give 0.346572). The same terms in a different order give half the answer.
Watch out· Why this matters
An expression like ∑j,kajk over a grid, or a product of two series, involves a choice of order. Absolute convergence is the condition that makes every order give the same answer, and the product of series below relies on it.
Quick checkWhich series can be added in any order without changing its sum?
Only absolute convergence protects the sum from reordering, and ∑k21 converges. The alternating harmonic series converges only through cancellation, and Riemann's theorem says its terms can be reordered to give any sum you like. Converging is not enough.
Sequences of functions: pointwise versus uniform
From here on D is a set of real numbers and fn:D→R are functions.
Definition B
Pointwise convergence
fn→fpointwise on D if
∀x∈D∀ε>0∃N∀n>N:∣fn(x)−f(x)∣<ε.
Here N may depend on both ε and x.
In one linefn→f pointwise on D if for every x∈D the numbers fn(x) converge to f(x).
Why it existsIt is the weakest, most natural notion: apply sequence convergence at each point separately.
Definition B
Uniform convergence
fn→funiformly on D if
∀ε>0∃N∀n>N∀x∈D:∣fn(x)−f(x)∣<ε.
Compared with pointwise convergence, the quantifier ∀x moved to the end, so N is chosen before x and cannot depend on it. Equivalently, supx∈D∣fn(x)−f(x)∣→0.
In one linefn→f uniformly on D if for every ε>0 there is ONE N that works for all x∈D at once.
Why it existsIt is exactly what makes the graphs of f_n fit inside a thin tube around f, and it is the condition under which limits can be exchanged with continuity, integrals and derivatives.
Why· The same quantifier lesson as uniform continuity
In 1.3, moving “for all points” from before δ to after δ turned continuity into uniform continuity. Here the same move turns pointwise into uniform convergence. In both cases the stronger notion is the one theorems need, because it makes a single tolerance control the whole domain.
Worked example Abbott Sec. 6.2
Show xn→0 pointwise on [0,1) but NOT uniformly, and uniformly on [0,21].
Solution.
Pointwise. For fixed x∈[0,1), xn→0 (the geometric argument above). Each point is a separate sequence.
Not uniform: negation. Uniform convergence to 0 fails if ∃ε∀N∃n>N∃x:∣xn∣≥ε. Negation rules of 0.1, applied to the definition.
Choose ε and the bad points. Take ε=21. For each n let xn=(21)1/n∈(0,1). Then xnn=21≥ε. We chose xn so that the n-th function equals exactly 21 there: the bad point slides to 1 as n grows. For n=10, x10=0.933.
Uniform on [0,21]. For x∈[0,21], ∣xn∣≤2−n, and 2−n<ε once n>log2ε1. This N does not involve x. The bound is the same for every x in the domain, which is exactly what ‘one N for all x’ needs.
Answer. Pointwise but not uniform on [0,1); uniform on [0,21]. ■
Worked example
Decide whether fn(x)=nx2 converges uniformly on [0,3], and on R.
Solution.
Find the pointwise limit. For each fixed x, nx2→0. So f=0. x2 is a fixed number and n→∞.
Compute the distance to the limit, at its worst point.supx∣fn(x)−f(x)∣=supxnx2. Uniform convergence means exactly that this supremum tends to 0.
On [0,3]. The largest value of x2 is 9, so the supremum is n9→0. The bound n9 does not depend on x, so one N serves all points: N>ε9.
On R.x2 is unbounded, so supxnx2=∞ for every n. In particular at x=n the distance is n, which does not tend to 0. There is always a point x, depending on n, where fn is far from 0. The bad point runs off to infinity.
Answer. Uniform on [0,3], not uniform on R (though it converges pointwise on R). ■
Your answerOn [0,0.9] the functions xn converge to 0. What is sup[0,0.9]∣xn∣ for n=10? (Give a decimal.)
An increasing function takes its largest value at the right end of the interval.
xn is increasing on [0,0.9], so its largest value is at x=0.9: 0.910=0.3487. For general n the supremum is 0.9n→0, so the convergence is uniform on [0,0.9] (but not on [0,1), where the supremum is 1 for every n).
Quick checkWhich phrase describes uniform (not just pointwise) convergence?
The second is pointwise. The third is a CONSEQUENCE of uniform convergence when each fn is continuous (next theorem), not its definition: xn on [0,1) converges to the continuous function 0 pointwise but not uniformly.
Theorem BAbbott Thm 6.2.6
Uniform limit of continuous functions is continuous
If fn→f uniformly on D and each fn is continuous at c∈D, then f is continuous at c.
In one lineIf each fn is continuous and fn→f uniformly, then f is continuous.
Why it is trueCompare f(x) with f(y) through f_n at both points: two uniform errors and one continuity error, each given a third of the budget.
Why· Scratch work: the epsilon over three split
We must show ∣f(x)−f(c)∣<ε for x near c. We know three things: fn is close to f at x (uniform convergence), fn is close to f at c (same), and fn is continuous at c, so fn(x) is close to fn(c). Go from f(x) to fn(x) to fn(c) to f(c): three steps, each of size less than 3ε, and the triangle inequality gives <ε in total. The order of choices matters. First fix ε. Then use uniform convergence to fix ONE function fn that is within 3ε of f everywhere. Only then use the continuity of that one fn to find δ. Uniformity is what lets us choose n before x: with merely pointwise convergence, the n that works at x differs from the one that works at c, and the chain breaks.
ProofAbbott 6.2.6
The idea: Pick one n with sup|f_n − f| < ε/3. Then |f(x) − f(c)| ≤ |f(x) − f_n(x)| + |f_n(x) − f_n(c)| + |f_n(c) − f(c)|; the outer terms are below ε/3 everywhere, the middle one for x near c by continuity of f_n.
Let ε>0.
Arbitrary tolerance.
There is n such that ∣fn(t)−f(t)∣<3ε for ALL t∈D.
Uniform convergence with tolerance 3ε: one N for all x. Pick any n>N.This is where uniformity is used: n is chosen before x.
There is δ>0 with ∣fn(x)−fn(c)∣<3ε whenever ∣x−c∣<δ.
Continuity of the single function fn at c, with tolerance 3ε.
For ∣x−c∣<δ: ∣f(x)−f(c)∣≤∣f(x)−fn(x)∣+∣fn(x)−fn(c)∣+∣fn(c)−f(c)∣<3ε+3ε+3ε=ε.
Triangle inequality along f(x)→fn(x)→fn(c)→f(c).
So f is continuous at c.
Definition of continuity at c. ■
Proof workshopGive the reason for each line: uniform limits of continuous functions
Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.
Where this came from· Cauchy's mistake, Abel's counterexample, Weierstrass's repair
In his Cours d’analyse (1821) Cauchy stated that a convergent series of continuous functions has a continuous sum. In 1826 Niels Henrik Abel pointed out that this is false, using the series sinx−21sin2x+31sin3x−…, which converges for every x to a function with a jump at odd multiples of π. The statement becomes true when “convergent” is strengthened to “uniformly convergent”. Philipp Seidel and George Stokes noticed the missing condition around 1847, and Karl Weierstrass made the idea precise and used it systematically; the M-test below carries his name. Episodes like this one are a large part of why analysis was rewritten in the careful ε style taught today.
Worked example Abbott 6.2
Why can't xn on [0,1] converge uniformly? A second proof.
Solution.
The limit.xn→f pointwise on [0,1] where f(x)=0 for x<1 and f(1)=1. The table of the picture.
Each fn is continuous, but f has a jump at 1. So f is not continuous. The values just left of 1 are 0 and the value at 1 is 1.
Apply the theorem. If the convergence were uniform, f would be continuous. It is not. Contrapositive of the uniform limit theorem.
Answer. The convergence is not uniform on [0,1]. ■ The uniform limit theorem is a way to detect failure of uniformity without finding the bad points.
Theorem BAbbott Thm 6.4.5
Weierstrass M-test
Let fk:D→R with ∣fk(x)∣≤Mk for all x∈D, where ∑Mk<∞. Then ∑fk converges uniformly on D.
In one lineIf ∣fk(x)∣≤Mk for all x∈D and ∑Mk converges, then ∑fk converges uniformly (and absolutely) on D.
Why it is trueThe numbers M_k bound all the functions at once, so the tail of the series is small by the same amount at every x.
ProofAbbott 6.4.5
The idea: At each x the series converges absolutely by comparison, which defines the limit f(x). The distance from f(x) to the n-th partial sum is at most the tail of ΣM_k, a number that does not depend on x.
For each x∈D, ∑∣fk(x)∣ converges, so f(x)=∑fk(x) exists.
Comparison test with Mk, at each fixed x; absolute convergence implies convergence.
∣f(x)−∑k=1nfk(x)∣=∑k>nfk(x)≤∑k>nMk.
Triangle inequality for the tail, then ∣fk(x)∣≤Mk termwise.
Given ε>0 choose N with ∑k>nMk<ε for all n>N.
The tail of a convergent series tends to 0, and the bound does not contain x.This is the uniformity.
So ∑fk→f uniformly on D.
Then the distance is below ε for every x at once. ■
Worked example Abbott Sec. 6.4
Show that f(x)=∑k=1∞k2sinkx is defined and continuous on all of R.
Solution.
Bound each term.k2sinkx≤k21=Mk for all x. ∣sin∣≤1.
The bounds are summable.∑k21 converges (comparison example above). This is the hypothesis of the M-test.
Apply the M-test. The series converges uniformly on R. Weierstrass M-test.
Each partial sum is continuous (a finite sum of sines), so the uniform limit f is continuous. Uniform limit of continuous functions.
Answer.f is a continuous function on R. ■
Quick checkWhy does the M-test give UNIFORM convergence and not just pointwise?
Uniform means one N for all x. The tail bound is a single number, independent of x, so one N makes it below ε everywhere. Continuity plays no role in this theorem.
Power series
Definition B
Power series
A power series (centred at 0) is an expression ∑k=0∞ckxk with real coefficients ck. For each x it is an ordinary series, which may converge or diverge.
In one lineA series ∑k=0∞ckxk whose terms are constants times powers of x; a polynomial of infinite degree.
Why it existsPower series are the functions you can differentiate and integrate by rules, so they are the working tool for exp, sin, cos and for solving differential equations.
Lemma BAbbott Thm 6.5.1
Convergence of power series (Abel's lemma)
If ∑ckx0k converges, then ∑ckxk converges absolutely for all x with ∣x∣<∣x0∣.
In one lineIf ∑ckx0k converges, then ∑ckxk converges absolutely for every ∣x∣<∣x0∣.
Why it is trueIf the series converges at x_0, its terms are bounded there, and then the terms at smaller x are dominated by a geometric series.
ProofAbbott 6.5.1
The idea: Terms tend to 0 at x_0, so they are bounded by some B; at x the terms are at most B(|x|/|x_0|)^k, a convergent geometric series.
ckx0k→0, so ∣ckx0k∣≤B for some B and all k.
The nth-term test: a convergent series has terms tending to 0; a convergent sequence is bounded (1.2).
For ∣x∣<∣x0∣: ∣ckxk∣=∣ckx0k∣x0xk≤Bx0xk.
Write xk=x0k(x/x0)k.
So ∑∣ckxk∣ converges.
Geometric series with ratio x0x<1, then the comparison test. ■
Definition B
Radius of convergence
The radius of convergence of ∑ckxk is R=sup{∣x∣:∑ckxk converges}∈[0,∞]. By Abel’s lemma, the series converges absolutely for ∣x∣<R (some convergence point x0 has ∣x0∣>∣x∣, by the approximation property of the supremum), and by definition it diverges for ∣x∣>R. At x=±R anything can happen.
In one lineR=sup{∣x∣:∑ckxk converges}: the series converges absolutely for ∣x∣<R and diverges for ∣x∣>R.
Why it existsIt says a power series converges on a symmetric interval around its centre, and tells you how wide, so you know where the function is defined.
Theorem BAbbott Exercise 6.5; Rudin Thm 3.39
Ratio formula for the radius
Suppose ck=0 and ckck+1→L∈[0,∞]. Then R=L1.
In one lineIf ck=0 and ckck+1→L, then R=L1 (with R=∞ if L=0 and R=0 if L=∞).
Why it is trueApply the ratio test to the series at a fixed x: the ratio of terms is |x| times the ratio of coefficients.
ProofRudin 3.39
The idea: At a fixed x ≠ 0 the ratio of consecutive terms tends to L|x|. The ratio test says converge if L|x| < 1 and diverge if L|x| > 1; that is |x| < 1/L and |x| > 1/L.
For x=0: ckxkck+1xk+1=ckck+1∣x∣→L∣x∣.
Divide the (k+1)-st term by the k-th.
If L∣x∣<1, i.e. ∣x∣<L1, the series converges absolutely.
Ratio test, case r<1.
If L∣x∣>1, i.e. ∣x∣>L1, the series diverges.
Ratio test, case r>1.
Therefore R=L1.
So the set of convergence points contains all ∣x∣<L1 and none with ∣x∣>L1, whose supremum of ∣x∣ is L1. If L=0 every x gives ratio 0<1, so R=∞; if L=∞ every x=0 gives ratio ∞>1, so R=0. ■
Worked example
Find the radius and the set of convergence for ∑k3kxk, and the radius for ∑xk, ∑k!xk, ∑k!xk.
Solution.
Ratio of coefficients. For ck=k3k1: ckck+1=(k+1)3k+1k⋅3k=31⋅k+1k→31. Cancel 3k and simplify.
Radius.R=3. Ratio formula, L=31.
The endpoints. At x=3 the series is ∑k1, which diverges. At x=−3 it is ∑k(−1)k, which converges by the alternating series test. The ratio test gave no information at ∣x∣=R, so test each endpoint separately.
The others.∑xk has L=1, R=1. ∑k!xk has ratio k+11→0, so R=∞. ∑k!xk has ratio k+1→∞, so R=0 (it converges only at x=0). Ratio formula in each case.
Answer. The first series converges exactly for −3≤x<3. ■
Your answerFind the radius of convergence of k=0∑∞k+14kxk.
Compute ckck+1, take the limit L, and answer L1.
The coefficient ratio is 4k/(k+1)4k+1/(k+2)=4⋅k+2k+1→4, so L=4 and R=L1=41.
Quick checkA power series has radius of convergence R=2. What can you conclude at x=2?
The theorem gives absolute convergence for ∣x∣<2 and divergence for ∣x∣>2. At ∣x∣=2 the ratio test is silent and every behaviour occurs: ∑k2kxk diverges at 2, and ∑k22kxk converges there.
Theorem BAbbott Sec. 6.5
Power series converge uniformly inside the radius
If 0<r<R, then ∑ckxk converges uniformly on [−r,r], and its sum is a continuous function on (−R,R).
In one lineIf 0<r<R, then ∑ckxk converges uniformly on [−r,r], so its sum is continuous on (−R,R).
Why it is trueOn [-r, r] the terms are bounded by |c_k| r^k, and the series of these bounds converges because r is inside the radius; then the M-test applies.
ProofAbbott 6.5.3
The idea: M-test with M_k = |c_k| r^k, which sums because the series converges absolutely at r < R.
∑∣ck∣rk converges.
r<R, so the series converges absolutely at x=r (definition of the radius).
The M-test applies with Mk=∣ck∣rk, so the convergence is uniform on [−r,r].
For ∣x∣≤r: ∣ckxk∣≤∣ck∣rk=Mk.
So the sum is continuous on (−R,R).
Partial sums are polynomials, which are continuous; uniform limits of continuous functions are continuous. Every point of (−R,R) lies in some [−r,r]. ■
Integrating and differentiating term by term
Theorem BAbbott Thm 6.3.1
Integrating a uniform limit
If each fn is continuous on [a,b] and fn→f uniformly, then f is continuous (hence integrable by 1.5) and ∫abfn→∫abf.
In one lineIf continuous fn→f uniformly on [a,b], then ∫abfn→∫abf.
Why it is trueThe area between f_n and f is at most the height of the uniform tube times the width b − a.
ProofAbbott 6.3.1
The idea: |∫f_n − ∫f| ≤ ∫|f_n − f| ≤ (b − a)·sup|f_n − f|, which tends to 0 by uniform convergence.
f is continuous on [a,b], so integrable.
Uniform limit of continuous functions is continuous, and continuous functions are integrable (1.5).
∫abfn−∫abf=∫ab(fn−f).
Linearity of the integral (1.5).
For n>N: ∫ab(fn−f)≤b−aε(b−a)=ε. ■
Given ε>0 choose N with ∣fn−f∣<b−aε everywhere for n>N (uniform convergence). Then −b−aε≤fn−f≤b−aε, and monotonicity of the integral (1.5).
Theorem BAbbott Thm 6.3.3
Differentiating a uniform limit of derivatives
Let fn be differentiable on [a,b] with continuous fn′. If fn′→g uniformly on [a,b] and fn(a)→c, then fn→f pointwise, where f is differentiable and f′=g.
In one lineIf fn have continuous derivatives, fn′→g uniformly and fn(a) converges, then fn→f with f′=g.
Why it is trueWrite f_n as its starting value plus the integral of its derivative; integrate the uniform limit term by term, then differentiate with the fundamental theorem.
ProofAbbott 6.3.3 (proof via the integral)
The idea: By the fundamental theorem part 2, f_n(x) = f_n(a) + ∫_a^x f_n'. Pass to the limit with the integration theorem to get f(x) = c + ∫_a^x g, then use part 1.
fn(x)=fn(a)+∫axfn′(t)dt for every x∈[a,b].
Fundamental theorem of calculus, part 2, with fn′ continuous (so integrable).
∫axfn′→∫axg.
g is a uniform limit of continuous functions, hence continuous; the integration theorem applied on [a,x].
So fn(x)→c+∫axg=:f(x).
Limit laws of 1.2.
f′(x)=g(x).
Fundamental theorem of calculus, part 1, since g is continuous. ■
Why· The reason for the hypothesis on derivatives
Uniform convergence of fn alone does not allow differentiating the limit. Take fn(x)=nsinnx: it tends to 0 uniformly (since ∣fn∣≤n1), so the limit has derivative 0, but fn′(x)=cosnx has no limit at all. The hypothesis must be placed on the derivatives fn′, as in the theorem.
Beyond the course: for understanding· Termwise differentiation of power series (label B)
Apply the two theorems to the partial sums of a power series whose coefficient ratios tend to L. The derived series ∑kckxk−1 has coefficient ratio k∣ck∣(k+1)∣ck+1∣→L, so it has the same radius R. On each [−r,r] with r<R both ∑ckxk and ∑kckxk−1 converge uniformly, so inside (−R,R): the sum f(x)=∑ckxk is differentiable with f′(x)=∑k≥1kckxk−1, and ∫0xf=∑k+1ckxk+1. (For general coefficients the radius is given by the Cauchy–Hadamard formula R1=limsup∣ck∣1/k, and the same conclusions hold.) So inside the radius a power series behaves like a polynomial that never ends.
Worked example Abbott 6.5 style
Find ∑k=1∞2kk by differentiating the geometric series.
Solution.
Start with the geometric series.∑k=0∞xk=1−x1 for ∣x∣<1. Radius R=1.
Differentiate both sides, term by term.∑k=1∞kxk−1=(1−x)21. Allowed inside the radius of convergence, by the termwise differentiation theorem.
Multiply by x.∑k=1∞kxk=(1−x)2x. A constant (or a factor x) multiplies each term.
Put x=21.∑2kk=(1/2)21/2=2. 21 is inside (−1,1).
Answer.2. ■ The first partial sums are 0.5,1.0,1.375,1.625,…, creeping to 2.
Your answerUse the same method to find k=1∑∞3kk.
Reuse the formula (1−x)2x from the example and choose the right x.
From ∑k≥1kxk=(1−x)2x put x=31: (2/3)21/3=4/91/3=43. Check with the first partial sums: 31+92+273+814=0.7160, creeping up to 0.75.
The ratio test shows each converges absolutely for every real x (for E the ratio is k+1∣x∣→0; for S and C it is (2k+2)(2k+3)x2 or (2k+1)(2k+2)x2, also tending to 0). So R=∞.
Theorem BAbbott Sec. 6.6; Rudin ch. 8
Properties of the exponential series
For all real x,y: E′(x)=E(x), S′(x)=C(x), C′(x)=−S(x), E(0)=1, and E(x+y)=E(x)E(y).
In one lineE′=E, S′=C, C′=−S, and E(x+y)=E(x)E(y), so E(x)=ex with e=E(1)=2.71828…
Why it is trueTermwise differentiation shows the series solve the differential equations that define exp, sin and cos, and the product rule for series gives the law of exponents.
ProofAbbott Sec. 6.6; Rudin ch. 8
The idea: Differentiate term by term: the exponent k comes down and cancels one factor in k!. The law of exponents needs the product of two absolutely convergent series (Cauchy product), proved after.
The same, term by term: the derivative of (2k+1)!(−1)kx2k+1 is (2k)!(−1)kx2k; the derivative of (2k)!(−1)kx2k is (2k−1)!(−1)kx2k−1, which is the term of −S with k−1 in place of k. These series have zero coefficients (only even or only odd powers), so the ratio formula does not apply as written. Instead use the M-test directly: on [−r,r] every term of S, C and of their term-by-term derivatives is at most n!rn for the matching n, and ∑n!rn converges by the ratio test. So all of them converge uniformly on [−r,r], and the two differentiation theorems apply.
E(0)=1, S(0)=0, C(0)=1.
Put x=0 in each series: only the first term survives.
E(x)E(y)=∑n∑j+k=nj!k!xjyk=∑nn!(x+y)n=E(x+y), by the binomial theorem. ■
Cauchy product (next theorem), with aj=j!xj and bk=k!yk, both absolutely convergent. The sum over j+k=n is n!1∑(jn)xjyn−j.
Theorem BRudin Thm 3.50 (Cauchy product)
Product of absolutely convergent series
If ∑j≥0aj=A and ∑k≥0bk=B converge absolutely and cn=∑j=0najbn−j, then ∑cn=AB.
In one lineIf ∑aj and ∑bk converge absolutely, then ∑ncn with cn=∑j+k=najbk converges to (∑aj)(∑bk).
Why it is trueThe partial products and the partial sums of c differ only by terms a_j b_k where j or k is large, and those are tiny in absolute value.
ProofRudin 3.50
The idea: A_nB_n is the sum of a_j b_k over the square j,k ≤ n, and C_n the sum over the triangle j + k ≤ n. The difference is the sum over the corner j + k > n with j, k ≤ n, where j or k exceeds n/2, so it is at most the product of a tail with the total.
AnBn−Cn=∑j,k≤n,j+k>najbk.
Expand the product of partial sums: the square contains the triangle.
Each such pair has j>2n or k>2n.
If j+k>n then j>2n or k>2n (otherwise j+k≤n).
∣AnBn−Cn∣≤(∑j>n/2∣aj∣)β+α(∑k>n/2∣bk∣).
Triangle inequality, then bound the double sum by sums over a row times a column. Let α=∑∣aj∣, β=∑∣bk∣.
The right side tends to 0, so Cn→AB. ■
Tails of convergent series tend to 0. Also AnBn→AB by the product law of 1.2.
Since E(x)E(−x)=E(0)=1, E is never 0, and E(x)=E(2x)2>0. Since E′=E>0, E is increasing. So E is the familiar ex: the law of exponents gives E(n)=E(1)n for whole n and E(qp)q=E(p)=E(1)p for fractions, so E(x)=ex at every rational x with e=E(1), and a differentiable (hence continuous) function is fixed by its values on the rationals. (Also, E is the unique function with E′=E and E(0)=1; a stretch problem.) The numbers: ∑k=010k!1=2.7182818011 against e=2.7182818285, an error of 2.7×10−8.
Euler’s formula
Series with complex terms behave just as real ones do, because the complex numbers are also complete (a Cauchy sequence of complex numbers converges, by applying the real result to real and imaginary parts, since ∣Rez∣,∣Imz∣≤∣z∣), and the triangle inequality ∣z+w∣≤∣z∣+∣w∣ holds. So everything above (absolute convergence, ratio test, Cauchy product) works verbatim, with E(z)=∑k!zk for complex z, and E(z+w)=E(z)E(w) holds by the same proof.
The series C and S were defined by formulas, but cos and sin in school come from the unit circle. The next lemma shows they are the same functions. It uses one outside fact, which is taught in school calculus and not proved in this book: the circle functions satisfy sin′=cos, cos′=−sin, sin0=0, cos0=1.
Lemma Bnew
The series C and S are cosine and sine
Assume the school facts above. Then C=cos and S=sin on R.
In one lineFor every real x, C(x)=cosx and S(x)=sinx, where cos and sin are the unit-circle functions.
Why it is trueTwo pairs of functions that start at the same values and obey the same differential equations cannot drift apart, because the quantity u squared plus v squared for their differences has derivative zero.
Proofnew
The idea: Look at the differences u = C − cos and v = S − sin. They start at 0, and u' = −v, v' = u. Then u² + v² has derivative 0, so it stays 0.
Let u=C−cos and v=S−sin.
Define the differences. Both C,S (from the previous theorem) and cos,sin (school fact) are differentiable.
Then u′=−v and v′=u.
C′=−S and cos′=−sin, so u′=−S+sin=−v. Also S′=C and sin′=cos, so v′=C−cos=u.
u(0)=0 and v(0)=0.
Put x=0: C(0)=1=cos0 and S(0)=0=sin0.
Let w=u2+v2. Then w′=2uu′+2vv′=−2uv+2vu=0.
Product and chain rules: (u2)′=2uu′ and (v2)′=2vv′. Then substitute step 2.This is the idea: find a quantity that cannot change. It is like energy in physics.
So w is constant, and w(0)=0. Hence u2+v2=0 for every x.
A function with zero derivative on an interval is constant (1.4, a corollary of the mean value theorem).
So u=0 and v=0, that is C=cos and S=sin. ■
A sum of two squares of real numbers is 0 only if each is 0.
Theorem BEuler 1748; Rudin ch. 8
Euler's formula via power series
For every real θ: E(iθ)=C(θ)+iS(θ). Since C and S are the cosine and sine series, eiθ=cosθ+isinθ. In particular eiπ=−1.
In one lineeiθ=cosθ+isinθ for every real θ, where ez=∑zk/k!.
Why it is trueThe powers of i cycle through 1, i, -1, -i, which sorts the exponential series into the series of cosine (even powers) and sine (odd powers).
ProofEuler 1748; Rudin ch. 8
The idea: Put z = iθ in the series and sort the terms by the remainder of the exponent mod 4. The partial sum with an odd number of terms splits exactly into a cosine partial sum and i times a sine partial sum.
The term n!(iθ)n equals (2k)!(−1)kθ2k for n=2k and i(2k+1)!(−1)kθ2k+1 for n=2k+1.
i2=−1, i3=−i, i4=1, then the cycle repeats: i2k=(−1)k and i2k+1=(−1)ki.
The partial sum is ∑n≤2m+1n!(iθ)n=∑k=0m(2k)!(−1)kθ2k+i∑k=0m(2k+1)!(−1)kθ2k+1.
Finite sums can be regrouped freely: add the first 2m+2 terms (n=0,…,2m+1), even ones together and odd ones together.
Letting m→∞: E(iθ)=C(θ)+iS(θ).
The left side tends to E(iθ), a subsequence of the convergent partial sums (1.2); the sums on the right tend to C(θ) and S(θ) by their own convergence; limit laws of 1.2. No rearrangement of an infinite series was needed.
So eiθ=cosθ+isinθ. With θ=π: eiπ=−1+0⋅i=−1. ■
The lemma just proved: C=cos and S=sin.
The identification of C and S with the school cos and sin is the lemma just before the theorem; its only outside input is the school fact that the geometric sin and cos have derivatives cos and −sin. This is the proof promised in 0.6, and the multiplication rule there, reiα⋅seiβ=rsei(α+β), is the law of exponents E(z+w)=E(z)E(w) proved above.
Worked example
Use the series to compute eiπ/2, and to compute sin(0.5) with an error bound.
Check with the law of exponents.(eiπ/2)2=eiπ=−1=i2. E(z+w)=E(z)E(w) with z=w=i2π.
Series for sin0.5.S(0.5)≈0.5−60.53+1200.55=0.5−0.0208333+0.0002604=0.4794271. Three terms of the sine series.
Error bound. The series alternates with decreasing terms, so the error is at most the next term, 50400.57=1.55×10−6. The true value is 0.4794255, an error of 1.54×10−6. Alternating series test error bound.
Answer.eiπ/2=i, and sin0.5=0.47943 to five places from three terms. ■
Where it is used
Used inside maths· Inside maths: solving equations, analytic functions, Fourier series
To solve y′=y, try y=∑ckxk. Differentiating term by term (allowed inside the radius) gives ∑kckxk−1=∑ckxk, so (k+1)ck+1=ck and ck=k!c0: the series for ex appears without being guessed. The same method solves many differential equations of MATH 376. A function that equals its power series near every point is called analytic; complex analysis shows that complex-differentiable functions are always analytic, and the radius of convergence is the distance to the nearest singularity. The uniform limit theorem is the reason why the Fourier series of a function with a jump cannot converge uniformly (Abel’s example), which leads to the notion of convergence used in the next application.
Used in the real world· Real world: calculators, signal processing, and the number e
Calculators and floating point. A calculator reduces the angle to [−4π,4π] and then sums a Taylor polynomial. For sin(4π), three terms plus one more give 0.70710647 against the true 0.70710678; the error 3.1×10−7 is just below the first omitted term 9!x9=3.13×10−7, as the alternating series test predicts. A double-precision number near 0.7 has spacing about 1.1×10−16 between neighbours, and the first omitted term 17!x17 at x=4π is 4.6×10−17, below that. So eight terms of the sine series (through x15) suffice for full double precision on that interval (real libraries use polynomials tuned slightly differently, but the series explains the degree).
Signal processing. The sawtooth f(x)=x on (−π,π) has the Fourier series 2∑k≥1k(−1)k+1sinkx. It cannot converge uniformly, because the sum would be continuous but f jumps between π and −π at the ends of the period. It converges in energy: the squared error after n terms is ∫∣f−Sn∣2=4π∑k>nk21, which is 1.196 for n=10 and 0.125 for n=100, out of a total energy ∫f2=32π3=20.67. So 10 harmonics already capture 94% of the energy and 100 capture 99.4%. The mean-square sense of convergence is made precise in 2.9, inner products of functions.
Compound interest and e. One unit of money at 100% annual interest compounded n times a year grows to (1+n1)n: 2 for yearly, 2.6130 monthly, 2.7146 daily, and in the limit of continuous compounding e=∑k!1=2.7183. The series converges so fast (the terms up to 10!1 give 2.7182818, eight correct digits) that it is how e is computed in practice.
Traps
Watch out· Terms tending to zero does not make a series converge
k1→0 and ∑k1 diverges. The nth-term test only proves divergence: if ak→0, the series diverges; if ak→0, no conclusion.
Watch out· Do not rearrange conditionally convergent series
The alternating harmonic series sums to ln2 in its usual order and to 21ln2 in the order one positive, two negative. Reordering, regrouping infinite sums or swapping the order of a double sum is safe only for absolutely convergent series.
Watch out· Ratio of 1 means the ratio test is silent
∑k1 and ∑k21 both have ratio tending to 1, and one diverges while the other converges. Use another test.
Watch out· Pointwise limits can destroy continuity, integrals and derivatives
For fn(x)=xn, the limit of the continuous functions is discontinuous. For tent functions fn of height n on [0,n1] (zero elsewhere), fn→0 pointwise but ∫01fn=21 for every n, so lim∫fn=∫limfn. For fn=nsinnx, fn→0 but fn′ does not converge. All three are repaired by uniform convergence (of the function, or of the derivatives).
Watch out· At the endpoints of the interval of convergence, check separately
The radius gives convergence for ∣x∣<R and divergence for ∣x∣>R, nothing at ∣x∣=R. The series ∑kxk has R=1, diverges at x=1 and converges at x=−1.
Problems
check
Does ∑k=1∞k+1k converge?
Solution
No. The terms k+1k→1=0, so by the nth-term test the series diverges.
check
Is ∑k(−1)k absolutely convergent, conditionally convergent, or divergent?
Solution
Conditionally convergent: the alternating series test gives convergence, but ∑k(−1)k=∑k1 diverges.
check
Let fn(x)=nx. Find the pointwise limit on R. Is the convergence uniform on R? On [−5,5]?
Solution
The pointwise limit is f=0, since nx→0 for each fixed x. On R it is not uniform: supxnx=∞ (take x=n, giving 1 for every n). On [−5,5] it is uniform: supnx=n5→0.
use
Use the ratio test on ∑kkk!.
Solution
akak+1=(k+1)k+1(k+1)!⋅k!kk=(k+1)kkk=(1+k1)−k→e1=0.368<1 (using (1+k1)k→e). So the series converges. (Numerically the ratio at k=100 is 0.3697.)
use
Find the radius of convergence and the exact set of convergence of ∑k2xk.
Solution
Coefficient ratio (k+1)2k2→1, so R=1. At x=±1 the series is ∑k2(±1)k, which converges absolutely (comparison with ∑k21). So the set of convergence is [−1,1].
use
Find ∑k=1∞k(k+1)1 and ∑k=0∞(−21)k.
Solution
First: k(k+1)1=k1−k+11, so Sn=1−n+11→1. Second: geometric series with r=−21: 1−(−1/2)1=32.
use
Show that ∑k=1∞k2coskx converges uniformly on R to a continuous function.
Solution
k2coskx≤k21, and ∑k21 converges, so the M-test gives uniform convergence. The partial sums are continuous, so the limit is continuous.
proveAbbott Sec. 2.7 (p-series)
Prove that ∑kp1 converges if p>1 and diverges if p≤1.
Solution
If p≤1: kp1≥k1 for k≥1, so the series diverges by comparison with the harmonic series. If p>1: group the terms in blocks 2j≤k<2j+1. The block has 2j terms, each at most 2jp1, so it adds to at most 2j⋅2−jp=(21−p)j. Since p>1, 21−p<1, and these block bounds form a convergent geometric series. Every partial sum is at most the sum of finitely many block bounds, which is bounded; the terms are positive, so the partial sums increase and are bounded, and the series converges by monotone convergence.
prove
Prove that for an alternating series with bk decreasing to 0, the sum S lies between any two consecutive partial sums, and hence ∣S−Sn∣≤bn+1.
Solution
Even partial sums increase to S and odd ones decrease to S (proof of the alternating series test). So for each n, S is between Sn and Sn+1 (one is even-indexed, the other odd-indexed). Then ∣S−Sn∣≤∣Sn+1−Sn∣=bn+1.
proveAbbott Sec. 6.2
Prove: fn→f uniformly on D if and only if supx∈D∣fn(x)−f(x)∣→0 (when each supremum is finite).
Solution
Let sn=supD∣fn−f∣. (⇒) Given ε, uniform convergence gives N with ∣fn(x)−f(x)∣<2ε for all x and all n>N. So sn≤2ε<ε, that is sn→0. (⇐) Given ε, there is N with sn<ε for n>N; then ∣fn(x)−f(x)∣≤sn<ε for every x. (The 2ε in the first part is needed because a supremum of values below ε may equal ε.)
proveAbbott Sec. 6.2 exercises
Prove: if fn→f uniformly on D and every fn is uniformly continuous on D, then f is uniformly continuous on D.
Solution
Let ε>0. Choose n with ∣fn−f∣<3ε on all of D. Since fn is uniformly continuous there is one δ with ∣fn(x)−fn(y)∣<3ε whenever ∣x−y∣<δ (x,y∈D). For such x,y: ∣f(x)−f(y)∣≤∣f(x)−fn(x)∣+∣fn(x)−fn(y)∣+∣fn(y)−f(y)∣<ε. This δ does not depend on the points, so f is uniformly continuous.
prove
Prove that ∑xk converges uniformly on [−r,r] for each r<1 but not on (−1,1).
Solution
On [−r,r]: ∣xk∣≤rk and ∑rk converges, so the M-test gives uniform convergence. On (−1,1): the limit is 1−x1 and the partial sum is 1−x1−xn+1, so the error is 1−xxn+1. For fixed n the error tends to ∞ as x→1− (the numerator tends to 1 and the denominator to 0), so sup(−1,1)1−xxn+1=∞ and does not tend to 0. Not uniform. (Another proof: the partial sums are continuous and bounded on (−1,1) but the limit 1−x1 is unbounded there, and a uniform limit of bounded functions is bounded.)
prove
Prove that the limit function in f(x)=∑k=0∞k!xk satisfies f(x)>0 for all real x and f is strictly increasing.
Solution
By the law of exponents, f(x)f(−x)=f(0)=1, so f(x)=0 for every x. Also f(x)=f(2x)2≥0 and it is not 0, hence f(x)>0. Differentiating term by term, f′=f>0, so f is strictly increasing (by the mean value theorem, a function with positive derivative is strictly increasing).
stretchRudin Exercise 3.50 style (Cauchy product of conditionally convergent series)
Let ak=k(−1)k for k≥1. Show that ∑ak converges, but its Cauchy product with itself, cn=∑j=1n−1ajan−j, diverges. So absolute convergence in the product theorem cannot simply be dropped.
Solution
Convergence: the alternating series test with bk=k1 decreasing to 0. Product: cn=(−1)n∑j=1n−1j(n−j)1. For 1≤j≤n−1, j(n−j)≤4n2 (AM-GM), so each term is at least n2, and there are n−1 terms. So ∣cn∣≥n2(n−1)≥1 for n≥2. Thus cn→0, and ∑cn diverges by the nth-term test.
stretchAbbott Sec. 6.6
Let y be differentiable on R with y′=y and y(0)=1. Prove y(x)=ex (where ex=E(x) is the power series).
Solution
Let g(x)=y(x)E(−x). Then g′(x)=y′(x)E(−x)−y(x)E′(−x)=y(x)E(−x)−y(x)E(−x)=0 (product and chain rule, E′=E). So g is constant (mean value theorem), and g(0)=y(0)E(0)=1. So y(x)E(−x)=1. Multiply by E(x) and use E(x)E(−x)=1: y(x)=E(x).
Summary
Series are limits of partial sums. Geometric series: ∑rk=1−r1 for ∣r∣<1. Terms tending to 0 is necessary, not sufficient (harmonic series, Oresme).
Tests: comparison (increasing partial sums, bounded by the bigger series), ratio (compare with a geometric series; silent at r=1), alternating (even sums up, odd sums down, error at most the next term).
Absolute convergence implies convergence (Cauchy criterion plus the triangle inequality) and allows any rearrangement. Conditionally convergent series can be rearranged to any sum (Riemann).
Pointwise versus uniform: uniform means one N for all x (sup∣fn−f∣→0). A uniform limit of continuous functions is continuous (the 3ε proof); xn on [0,1] shows pointwise is not enough.
Weierstrass M-test: bound ∣fk∣≤Mk with ∑Mk<∞ and the series converges uniformly.
Power series have a radius R=L1 (ratio formula), converge uniformly inside, and can be integrated and differentiated term by term there (via uniform convergence and the fundamental theorem).
ex, sin, cos are power series with R=∞; E′=E and E(z+w)=E(z)E(w) (Cauchy product), and Euler’s formula eiθ=cosθ+isinθ follows by sorting the series by powers of i.
Watch and read
The same ideas explained by someone else. Use these when an explanation here does not land.
JEE / CBSE: You used $e^x = 1 + x + \frac{x^2}{2!} + \dots$, the series of $\sin$ and $\cos$, and the sum of a geometric progression to infinity, all by rule. This chapter says when such sums exist, and why differentiating them term by term is allowed.
MATH 376: Power series solutions of differential equations (Apostol Vol. 1, ch. 11) and the convergence of Picard iterates are uniform convergence arguments.
MATH 431: Moment generating functions, $E[e^{tX}] = \sum t^k E[X^k]/k!$, and the series for $P(X = k)$ in the Poisson and geometric distributions.
MATH 521: 521 proves the ratio and alternating series tests, the Weierstrass M-test, and the theorems on uniform limits. Rearrangement of conditionally convergent series is a standard 521 example.