Jump to content

Computation rules for series – "Math for Non-Geeks"

From Wikibooks, open books for an open world

We learned that series are in some sense "infinite sums". Do the same rules as for finite sums also apply to infinite sums? Like removing braces (associative law) and re-arranging terms (commutative law)? The answer is: Generally no. But in certain cases yes! The upcoming articles will tell you when the answer is yes and when it is no. A small spoiler ahead: adding series and multiplying them by a constant is always allowed - provided that the series converges.

Overview

[edit | edit source]

Computation rules

[edit | edit source]

In the article "Limit theorems" we proved the sum rule for sequences limn→∞(an+bn)=limn→∞an+limn→∞bn , which holds if (an)n∈ℕ and (bn)n∈ℕ converge. These also hold for convergent series, since a series is just a sequence of partial sums. More precisely, if∑k=1∞ak and ∑k=1∞bk converge and λ∈ℝ, then:

∑k=1∞(ak+bk)=∑k=1∞ak+∑k=1∞bk∑k=1∞λak=λ∑k=1∞ak

In addition, a series ∑k=1∞ak converges, whenever the even and odd subsequence ∑k=1∞a2k and ∑k=1∞a2k−1 converge. And there is

∑k=1∞ak=∑k=1∞a2k+∑k=1∞a2k−1

More generally, within a convergent series ∑k=1∞ak, we can set brackets and split

∑k=1∞ak=∑l=1∞(∑k=jljl+1−1ak)

Here, (jl)l∈ℕ is the strictly monotonically increasing sequence of natural numbers with j1=1 where jl indexes the first summand within a bracket-sum. Conversely, for a divergent series ∑l=1∞(∑k=jljl+1−1ak), we also have divergence of ∑k=1∞ak.

What goes wrong with series

[edit | edit source]

For partial sums we have (∑k=1nak)⋅(∑k=1nbk)≠∑k=1nakbk. Multiplying two series is way harder: sometimes it works and sometimes not. We will cover the details later.

Question: Find an example for two series ∑k=1∞ak and ∑k=1∞bk, where (∑k=1∞ak)⋅(∑k=1∞bk)≠∑k=1∞akbk

An example is a1=2,a2=1,ak=0 for k≥3 and b1=1,bk=0 for k≥2: (∑k=1∞ak)⋅(∑k=1∞bk)=(2+1+0+…)⋅(1+0+…)=3⋅1=3∑k=1∞akbk=2⋅1+1⋅0+0⋅0+…=2

There is no general associative or commutative law for series: For finite sums, one may re-arrange terms and set brackets arbitrarily and still get the same result. For infinite sums (series), this does not work in general. However, there are indicators that tell us when it works and when not.

The sum rule

[edit | edit source]

Proof of the sum rule

[edit | edit source]
Theorem (sum rule for series)

Let ∑k=1∞ak and ∑k=1∞bk be two convergent series. Then

∑k=1∞(ak+bk)=∑k=1∞ak+∑k=1∞bk

Proof (sum rule for series)

There is:

∑k=1∞(ak+bk)=limn→∞∑k=1n(ak+bk)=limn→∞(∑k=1nak+∑k=1nbk) ↓ limn→∞(an+bn)=limn→∞an+limn→∞bn=limn→∞∑k=1nak+limn→∞∑k=1nbk=∑k=1∞ak+∑k=1∞bk

We are allowed to use the limit theorem limn→∞(∑k=1nak+∑k=1nbk)=limn→∞∑k=1nak+limn→∞∑k=1nbk since the series ∑k=1∞ak and ∑k=1∞bk converge, so the sequences of partial sums limn→∞∑k=1nak and limn→∞∑k=1nbk converge, i.e. their limits exist.

Example problems: sum rule for series

[edit | edit source]
Exercise (sum rule for series)

Compute the value of ∑k=0∞1+(−1)k2k.

Solution (sum rule for series)

There is

∑k=0∞1+(−1)k2k=∑k=0∞[12k+(−1)k2k]=∑k=0∞[(12)k+(−12)k]↓ ∑k=0∞(ak+bk)=∑k=0∞ak+∑k=0∞bk=∑k=0∞(12)k+∑k=0∞(−12)k↓ ∑k=0∞(12)k=11−12=2∑k=0∞(−12)k=11−(−12)=11+12=23=2+23=83

We are allowed to use the sum rule, since the partial series converge.

The factor rule

[edit | edit source]

Proof of the factor rule

[edit | edit source]
Theorem (factor rule for series)

Let ∑k=1∞ak be a convergent series and λ∈ℝ a real number. Then

∑k=1∞λak=λ⋅∑k=1∞ak

Proof (factor rule for series)

There is:

∑k=1∞λak=limn→∞∑k=1nλak=limn→∞(λ⋅∑k=1nak) ↓ limn→∞λ⋅an=λ⋅limn→∞an=λ⋅limn→∞∑k=1nak=λ⋅∑k=1∞ak

We are allowed to use limn→∞(λ⋅∑k=1nak)=λ⋅limn→∞∑k=1nak since ∑k=1∞ak converges, so the limit limn→∞∑k=1nak exists.

Example problems: factor rule for series

[edit | edit source]
Exercise

Compute ∑k=4∞12k.

Solution

There is

∑k=4∞12k=∑k=0∞12k+4=∑k=0∞124⋅12k ↓ ∑k=0∞λak=λ⋅∑k=0∞ak=124⋅∑k=0∞12k ↓ ∑k=0∞12k=11−12=2=124⋅2=123=18

The series converges, so we are allowed to use the factor rule.

The splitting rule

[edit | edit source]

Proof of the splitting rule

[edit | edit source]
Theorem (splitting rule for series)

Let (ak)k∈ℕ be a sequence. If ∑k=1∞a2k and ∑k=1∞a2k−1 converge, then ∑k=1∞ak converges as well, and there is:

∑k=1∞ak=∑k=1∞a2k+∑k=1∞a2k−1

Proof (splitting rule for series)

This is a consequence of the sum rule above. We take a look at the series ∑k=1∞a2k and ∑k=1∞a2k−1 . They are given by the partial sum series

(∑k=1na2k−1)n∈ℕ=(a1,a1+a3,a1+a3+a5,…)(∑k=1na2k)n∈ℕ=(a2,a2+a4,a2+a4+a6,…)

We can create two new sequences (bk)k∈ℕ and (ck)k∈ℕ, by extracting the elements from (a2k−1)k∈ℕ and (a2k)k∈ℕ and "filling up the gaps" with zeros

(bk)k∈ℕ=(a1,0,a3,0,a5,…)(ck)k∈ℕ=(0,a2,0,a4,0,…)

The corresponding sequences of partial sums are then

(∑k=1nbk)n∈ℕ=(a1,a1+0,a1+0+a3,a1+0+a3+0,…)(∑k=1nck)n∈ℕ=(0,0+a2,0+a2+0,0+a2+0+a4,…)

Since ∑k=1∞a2k and ∑k=1∞a2k−1 converge the series ∑k=1∞bk and ∑k=1∞ck converge as well, with

∑k=1∞bk=∑k=1∞a2k−1∑k=1∞ck=∑k=1∞a2k

The sum rule implies convergence of ∑k=1∞(bk+ck) . Now ak=bk+ck for all k∈ℕ. Hence, ∑k=1∞ak has to converge as well, where

∑k=1∞ak=∑k=1∞(bk+ck)=∑k=1∞bk+∑k=1∞ck=∑k=1∞a2k+∑k=1∞a2k−1

Question: Does the converse also hold true? Meaning, if ∑k=1∞ak converges, then also ∑k=1∞a2k and ∑k=1∞a2k−1 converge?

No: The alternating harmonic series ∑k=1∞ak=∑k=1∞(−1)k+11k converges. But its even partial series ∑k=1∞a2k=∑k=1∞−12k diverges, as it is half of the diverging harmonic series ∑k=1∞ak .- The subseries of odd elements ∑k=1∞a2k−1=∑k=1∞12k−1 diverges, as well.

Example problems splitting rule

[edit | edit source]
Exercise (splitting rule for series)

Let an={(13)n for n=2k,0 for n=2k−1. . Compute the value of ∑n=0∞an.

Solution (splitting rule for series)

There is

∑n=0∞an=∑k=0∞[a2k+a2k+1] ↓ ∑k=0∞ak=∑k=0∞a2k+∑k=0∞a2k−1=∑k=0∞(13)2k+∑k=0∞0=∑k=0∞(19)k+0↓ ∑k=0∞(19)k=11−19=98=98

As the series converges, we can use the computational rules.

The associative law

[edit | edit source]

Why there is no associative law

[edit | edit source]

For finite sums, the associative law allows putting brackets arbitrarily. For instance

1−1+1−1+1−1=(((((1−1)+1)−1)+1)−1)=((((0+1)−1)+1)−1)=…=0

Analogously

(1−1)+(1−1)+(1−1)=0+0+0=0

For "infinite sums", we need to pay attention: consider

∑k=1∞(−1)k+1=1−1+1−1±…

The sequence of partial sums for this series is:

(∑k=1n(−1)k+1)n=(1,1−1,1−1+1,1−1+1−1,…)=(1,0,1,0,…)

Which means, the partial sums "jump" between 0 and 1 , so the series diverges (0 and 1 are accumulation points). Setting brackets can, however, lead to a series converging to 0:

∑k=1∞((−1)2k+(−1)2k+1)=(1−1)+(1−1)+(1−1)+(1−1)+…=0+0+0+0+…=0

So if a series diverges, we cannot simply set brackets as we wish! For convergent series, the same holds true, since we can turn the series converging to 0 above into a divergent series by removing brackets: for ∑k=1∞((−1)2k+(−1)2k+1) (which converges to 0), removing brackets yields ∑k=1∞(−1)k+1 (which diverges).

Question: Can one also set brackets in a way that ∑k=1∞(−1)k+1 converges to 1 or −1 ?

To obtain the limit 1 , we use

1+∑k=1∞((−1)2k+1+(−1)2k+2)=1+(−1+1)+(−1+1)+(−1+1)+…=1+0+0+0+…=1

Achieving −1 does not work, since the partial sums for every setting of brackets can either take the value 0 or 1.

Example: where we can set brackets

[edit | edit source]

Consider the converging series ∑k=0∞2−k, which is an infinite sum 1+12+14+18+… . The corresponding sequence of partial sums is

(∑k=0n2−k)n∈ℕ=(1, 1+12, 1+12+14, …)

What happens if we set brackets? We could, for instance, conclude every two neighbouring elements: (1+12)+(14+18)+…. This leads to the series ∑k=0∞(2−2k+2−(2k+1)). The corresponding sequence of partial sums is

(∑k=0n(2−2k+2−(2k+1)))n∈ℕ=(1+12, 1+12+14+18, …)

This is a subsequence of the original sequence of partial sums. Now, since the series ∑k=0∞2−k converges, the sequence of its partial sums converges and hence every subsequence converges as well (and to the same limit. So ∑k=0∞(2−2k+2−(2k+1)) has the same limit as the original series. In this case, we case set brackets as we wish!

When can brackets be set and when not?

[edit | edit source]

If we set brackets within a series and then consider the "bracketed series", then the partial sum sequence of the "bracketed series" is a subsequence of the original sequence of partial sums. Now

  • If a sequence converges, every subsequence converges.
  • If a subsequence diverges, the original sequence also diverges.

Since setting brackets leads to a subsequence of partial sums, we have that:

  • Within converging series, brackets can be set arbitrarily.
  • Within diverging series, brackets can be removed arbitrarily.

Or, concluded in a theorem:

Theorem (brackets in series)

If a series converges to some limit, then every series obtained from it by setting more brackets converges to the same limit. If a series diverges, then every series obtained from it by removing some brackets diverges.

Let ∑k=1∞ak be a convergent series and (jl)l∈ℕ a strictly monotonically increasing sequence of natural numbers with j1=1. Here, jl is the index of the first summand of the l-th bracket. Now,

  • If ∑k=1∞ak converges, then ∑l=1∞(∑k=jljl+1−1ak) converges to the same limit.
  • If ∑l=1∞(∑k=jljl+1−1ak) diverges, then ∑k=1∞ak diverges, as well.
Proof (brackets in series)

Let ∑k=1∞ak be a converging series. Introducing new brackets, we obtain ∑l=1∞(∑k=jljl+1−1ak), where (jl)l∈ℕ is a strictly monotonically increasing sequence of natural numbers with j1=1. The number jlis the index of the first summand of the l-th bracket. The corresponding sequence of partial sums now reads:

(∑l=1n(∑k=jljl+1−1ak))n∈ℕ=(∑k=1j2−1ak, ∑k=1j2−1ak+∑k=j2j3−1ak, …)=(∑k=1j2−1ak, ∑k=1j3−1ak, ∑k=1j4−1ak, …)=(∑k=1jn+1−1ak)n∈ℕ

This is a subsequence of the original sequence of partial sums. A subsequence converges to the same limit as the original sequence. So

  • If ∑k=1∞ak converges, then also the subsequence ∑l=1∞(∑k=jljl+1−1ak) has to converge to the same limit.
  • If ∑l=1∞(∑k=jljl+1−1ak) diverges, then ∑k=1∞ak cannot be convergent to any limit in the first place. So it must diverge, as well..

So in converging series, we can set and in diverging series, we can remove brackets as we wish.

What?! The sum of all natural numbers is equal to -1/12?

[edit | edit source]

There are several YouTube videos and also some articles (here is a German one [1]) where people claim to have proven that the sum of all natural numbers equals −112:

∑k=1∞k=1+2+3+4+5+6+7+8+…=−112

This is obviously wrong! For the series above, the sequence of partial sums diverges quadratically to ∞. It does not even attain any negative value. How do people then come up with the −112, then? The answer is: "by violating the associative law". All we have to do is to set brackets in divergent series (which is not allowed). Recall the sum formula for the geometric series:

1−1+1−1+1−1+1−1±…=∑k=0∞(−1)k=11−(−1)=12

Question: What is wrong in the line above?

The sum rule for the geometric series ∑k=1∞qk only holds in case of convergence. For q=−1, it diverges. So the limit is not 11−q for q=−1.

In addition, for the series ∑k=1∞(−1)k−1k we have the identity

2⋅∑k=1∞(−1)k−1k=2⋅(1−2+3−4+5−6+7−8±…)=2−4+6−8+10−12+14−16±…=1+1−2−2+3+3−4−4+5+5−6−6+7+7−8−8+…=1+(1−2)+(−2+3)+(3−4)+(−4+5)+(5−6)+(−6+7)+(7−8)+…=1−1+1−1+1−1+1−1+…=∑k=0∞(−1)k=12

Question: And what is wrong, here?

Multiplying out and factoring out is not allowed for diverging infinite sums:

2⋅∑k=1∞(−1)k−1k=2⋅(1−2+3−4+5−6+7−8±…) = 2−4+6−8+10−12+14−16±…=1+1−2−2+3+3−4−4+5+5−6−6+7+7−8−8+… = 1+(1−2)+(−2+3)+(3−4)+(−4+5)+(5−6)+(−6+7)+(7−8)+…=1−1+1−1+1−1+1−1+…=∑k=0∞(−1)k=12

If we divide this equation by 2, we get ∑k=1∞(−1)k−1k=14. Subtracting it from the original series ∑k=1∞k yields

(∑k=1∞k)−14=∑k=1∞k−∑k=1∞(−1)k−1k=(1+2+3+4+5+6+7+8+…)−(1−2+3−4+5−6+7−8±…)=0+4+0+8+0+12+0+16+…=4⋅(1+2+3+4+5+6+7+8+…)=4⋅∑k=1∞k

Question: And what is wrong with this step?

(∑k=1∞k)−14=∑k=1∞k−∑k=1∞(−1)k−1k=(1+2+3+4+5+6+7+8+…)−(1−2+3−4+5−6+7−8±…) = 0+4+0+8+0+12+0+16+… = 4⋅(1+2+3+4+5+6+7+8+…)=4⋅∑k=1∞k

When the series ∑k=1∞k and ∑k=1∞(−1)kk were subtracted element-wise, we assumed that the sum rule would hold. But this is not true for divergent series. The factor rule does also not hold true in this case, so pulling out a 4 in 4+8+12+16+…=∑k=1∞4k is not allowed.

After all those illegal steps, we get

(∑k=1∞k)−14=4⋅∑k=1∞k⟺−3(∑k=1∞k)−14=0⟺−3(∑k=1∞k)=14⟺∑k=1∞k=−112

q.e.d. (or rather w.t.f.)

Outlook: Series and vector spaces

[edit | edit source]

For series ∑k=1∞ak and ∑k=1∞bk as well as λ∈ℝ we have the following computational rules:

∑k=1∞(ak+bk)=∑k=1∞ak+∑k=1∞bk∑k=1∞λak=λ∑k=1∞ak

In linear algebra, the notion of a vector space is introduced, which is roughly speaking "a set of elements, where we are allowed to add any two elements or multiply an element by a constant λ∈ℝ". The set of all real valued sequence V={(an)n∈ℕ∈V:an∈ℝ} is such a set, where we can add elements or multiply by a constant. So it is a vector space. The subset U={(an)n∈ℕ:∑k=1∞ak converges} which includes all sequences (an)n∈ℕ, for which the series ∑k=1∞ak converges is a subset of V , which is a vector space again (we do not leave it by adding elements or multiplying by a constant). Such a subset is also called a subspace. The map f:U→ℝ:(an)n∈ℕ↦∑k=1∞ak assigning each (an)n∈ℕ the limit of the series ∑k=1∞ak preserves addition and scalar multiplication: Adding two series leads to addition of the limits. Scaling the series by a constant leads to a scaling of the limit by the same constant. Maps which preserve addition and scaling are also called linear maps, so yf is a linear map.