# Math for Non-Geeks/Computation rules for series

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
### Computation rules

In the article "Limit theorems" we proved the sum rule for sequences lim$_{n→∞}$(a$_n$+b$_n$)=lim$_{n→∞}$a$_n$+lim$_{n→∞}$b$_n${\textstyle \lim _{n\to \infty }(a_{n}+b_{n})=\lim _{n\to \infty }a_{n}+\lim _{n\to \infty }b_{n}} , which holds if $(a_{n})_{n\in \mathbb {N} }$ and $(b_{n})_{n\in \mathbb {N} }$ converge. These also hold for convergent series, since a series is just a sequence of partial sums. More precisely, if ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} and ∑$_{k=1}$$^∞$b$_k${\textstyle \sum _{k=1}^{\infty }b_{k}} converge and $\lambda \in \mathbb {R}$, then:
${\begin{aligned}\sum _{k=1}^{\infty }(a_{k}+b_{k})&=\sum _{k=1}^{\infty }a_{k}+\sum _{k=1}^{\infty }b_{k}\\[0.5em]\sum _{k=1}^{\infty }\lambda a_{k}&=\lambda \sum _{k=1}^{\infty }a_{k}\end{aligned}}$
In addition, a series ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} converges, whenever the even and odd subsequence ∑$_{k=1}$$^∞$a$_{2k}${\textstyle \sum _{k=1}^{\infty }a_{2k}} and ∑$_{k=1}$$^∞$a$_{2k−1}${\textstyle \sum _{k=1}^{\infty }a_{2k-1}} converge. And there is
$\sum _{k=1}^{\infty }a_{k}=\sum _{k=1}^{\infty }a_{2k}+\sum _{k=1}^{\infty }a_{2k-1}$
More generally, within a convergent series ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}}, we can set brackets and split
$\sum _{k=1}^{\infty }a_{k}=\sum _{l=1}^{\infty }\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)$
Here, $(j_{l})_{l\in \mathbb {N} }$ is the strictly monotonically increasing sequence of natural numbers with $j_{1}=1$ where $j_{l}$ indexes the first summand within a bracket-sum. Conversely, for a divergent series ∑$_{l=1}$$^∞$(∑$_{k=jl}$$^{jl+1−1}$a$_k$){\textstyle \sum _{l=1}^{\infty }\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)}, we also have divergence of ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}}.

### What goes wrong with series

For partial sums we have $\left(\sum _{k=1}^{n}a_{k}\right)\cdot \left(\sum _{k=1}^{n}b_{k}\right)\neq \sum _{k=1}^{n}a_{k}b_{k}$. 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 $\sum _{k=1}^{\infty }a_{k}$ and $\sum _{k=1}^{\infty }b_{k}$, where $\left(\sum _{k=1}^{\infty }a_{k}\right)\cdot \left(\sum _{k=1}^{\infty }b_{k}\right)\neq \sum _{k=1}^{\infty }a_{k}b_{k}$
An example is $a_{1}=2,a_{2}=1,a_{k}=0$ for $k\geq 3$ and $b_{1}=1,b_{k}=0$ for $k\geq 2$: ${\begin{aligned}\left(\sum _{k=1}^{\infty }a_{k}\right)\cdot \left(\sum _{k=1}^{\infty }b_{k}\right)&=(2+1+0+\ldots )\cdot (1+0+\ldots )=3\cdot 1=3\\[0.3em]\sum _{k=1}^{\infty }a_{k}b_{k}&=2\cdot 1+1\cdot 0+0\cdot 0+\ldots =2\end{aligned}}$
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
### Proof of the sum rule

Theorem (sum rule for series)
Let ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} and ∑$_{k=1}$$^∞$b$_k${\textstyle \sum _{k=1}^{\infty }b_{k}} be two convergent series. Then
$\sum _{k=1}^{\infty }(a_{k}+b_{k})=\sum _{k=1}^{\infty }a_{k}+\sum _{k=1}^{\infty }b_{k}$
Proof (sum rule for series)
There is:
${\begin{aligned}\sum _{k=1}^{\infty }(a_{k}+b_{k})&=\lim _{n\to \infty }\sum _{k=1}^{n}(a_{k}+b_{k})\\[0.5em]&=\lim _{n\to \infty }\left(\sum _{k=1}^{n}a_{k}+\sum _{k=1}^{n}b_{k}\right)\\[0.5em]&\ {\color {OliveGreen}\left\downarrow \ \lim _{n\to \infty }(a_{n}+b_{n})=\lim _{n\to \infty }a_{n}+\lim _{n\to \infty }b_{n}\right.}\\[0.5em]&=\lim _{n\to \infty }\sum _{k=1}^{n}a_{k}+\lim _{n\to \infty }\sum _{k=1}^{n}b_{k}\\[0.5em]&=\sum _{k=1}^{\infty }a_{k}+\sum _{k=1}^{\infty }b_{k}\end{aligned}}$
We are allowed to use the limit theorem lim$_{n→∞}$(∑$_{k=1}$$^n$a$_k$+∑$_{k=1}$$^n$b$_k$)=lim$_{n→∞}$∑$_{k=1}$$^n$a$_k$+lim$_{n→∞}$∑$_{k=1}$$^n$b$_k${\textstyle \lim _{n\to \infty }\left(\sum _{k=1}^{n}a_{k}+\sum _{k=1}^{n}b_{k}\right)=\lim _{n\to \infty }\sum _{k=1}^{n}a_{k}+\lim _{n\to \infty }\sum _{k=1}^{n}b_{k}} since the series ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} and ∑$_{k=1}$$^∞$b$_k${\textstyle \sum _{k=1}^{\infty }b_{k}} converge, so the sequences of partial sums lim$_{n→∞}$∑$_{k=1}$$^n$a$_k${\textstyle \lim _{n\to \infty }\sum _{k=1}^{n}a_{k}} and lim$_{n→∞}$∑$_{k=1}$$^n$b$_k${\textstyle \lim _{n\to \infty }\sum _{k=1}^{n}b_{k}} converge, i.e. their limits exist.

### Example problems: sum rule for series

Math for Non-Geeks: Template:Aufgabe

## The factor rule
### Proof of the factor rule

Theorem (factor rule for series)
Let ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} be a convergent series and $\lambda \in \mathbb {R}$ a real number. Then
$\sum _{k=1}^{\infty }\lambda a_{k}=\lambda \cdot \sum _{k=1}^{\infty }a_{k}$
Proof (factor rule for series)
There is:
${\begin{aligned}\sum _{k=1}^{\infty }\lambda a_{k}&=\lim _{n\to \infty }\sum _{k=1}^{n}\lambda a_{k}\\[0.5em]&=\lim _{n\to \infty }\left(\lambda \cdot \sum _{k=1}^{n}a_{k}\right)\\[0.5em]&\ {\color {OliveGreen}\left\downarrow \ \lim _{n\to \infty }\lambda \cdot a_{n}=\lambda \cdot \lim _{n\to \infty }a_{n}\right.}\\[0.5em]&=\lambda \cdot \lim _{n\to \infty }\sum _{k=1}^{n}a_{k}\\[0.5em]&=\lambda \cdot \sum _{k=1}^{\infty }a_{k}\end{aligned}}$
We are allowed to use lim$_{n→∞}$(λ⋅∑$_{k=1}$$^n$a$_k$)=λ⋅lim$_{n→∞}$∑$_{k=1}$$^n$a$_k${\textstyle \lim _{n\to \infty }\left(\lambda \cdot \sum _{k=1}^{n}a_{k}\right)=\lambda \cdot \lim _{n\to \infty }\sum _{k=1}^{n}a_{k}} since ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} converges, so the limit lim$_{n→∞}$∑$_{k=1}$$^n$a$_k${\textstyle \lim _{n\to \infty }\sum _{k=1}^{n}a_{k}} exists.

### Example problems: factor rule for series

Math for Non-Geeks: Template:Aufgabe

## The splitting rule
### Proof of the splitting rule

Theorem (splitting rule for series)
Let $(a_{k})_{k\in \mathbb {N} }$ be a sequence. If $\sum _{k=1}^{\infty }a_{2k}$ and $\sum _{k=1}^{\infty }a_{2k-1}$ converge, then $\sum _{k=1}^{\infty }a_{k}$ converges as well, and there is:
$\sum _{k=1}^{\infty }a_{k}=\sum _{k=1}^{\infty }a_{2k}+\sum _{k=1}^{\infty }a_{2k-1}$
Proof (splitting rule for series)
This is a consequence of the sum rule above. We take a look at the series $\sum _{k=1}^{\infty }a_{2k}$ and $\sum _{k=1}^{\infty }a_{2k-1}$ . They are given by the partial sum series
${\begin{aligned}\left(\sum _{k=1}^{n}a_{2k-1}\right)_{n\in \mathbb {N} }&=(a_{1},a_{1}+a_{3},a_{1}+a_{3}+a_{5},\ldots )\\[0.5em]\left(\sum _{k=1}^{n}a_{2k}\right)_{n\in \mathbb {N} }&=(a_{2},a_{2}+a_{4},a_{2}+a_{4}+a_{6},\ldots )\end{aligned}}$
We can create two new sequences $(b_{k})_{k\in \mathbb {N} }$ and $(c_{k})_{k\in \mathbb {N} }$, by extracting the elements from $(a_{2k-1})_{k\in \mathbb {N} }$ and $(a_{2k})_{k\in \mathbb {N} }$ and "filling up the gaps" with zeros
${\begin{aligned}(b_{k})_{k\in \mathbb {N} }&=(a_{1},0,a_{3},0,a_{5},\ldots )\\[0.5em](c_{k})_{k\in \mathbb {N} }&=(0,a_{2},0,a_{4},0,\ldots )\end{aligned}}$
The corresponding sequences of partial sums are then
${\begin{aligned}\left(\sum _{k=1}^{n}b_{k}\right)_{n\in \mathbb {N} }&=(a_{1},a_{1}+0,a_{1}+0+a_{3},a_{1}+0+a_{3}+0,\ldots )\\[0.5em]\left(\sum _{k=1}^{n}c_{k}\right)_{n\in \mathbb {N} }&=(0,0+a_{2},0+a_{2}+0,0+a_{2}+0+a_{4},\ldots )\end{aligned}}$
Since $\sum _{k=1}^{\infty }a_{2k}$ and $\sum _{k=1}^{\infty }a_{2k-1}$ converge the series $\sum _{k=1}^{\infty }b_{k}$ and $\sum _{k=1}^{\infty }c_{k}$ converge as well, with
${\begin{aligned}\sum _{k=1}^{\infty }b_{k}&=\sum _{k=1}^{\infty }a_{2k-1}\\[0.5em]\sum _{k=1}^{\infty }c_{k}&=\sum _{k=1}^{\infty }a_{2k}\end{aligned}}$
The sum rule implies convergence of $\sum _{k=1}^{\infty }(b_{k}+c_{k})$ . Now $a_{k}=b_{k}+c_{k}$ for all $k\in \mathbb {N}$. Hence, $\sum _{k=1}^{\infty }a_{k}$ has to converge as well, where
$\sum _{k=1}^{\infty }a_{k}=\sum _{k=1}^{\infty }(b_{k}+c_{k})=\sum _{k=1}^{\infty }b_{k}+\sum _{k=1}^{\infty }c_{k}=\sum _{k=1}^{\infty }a_{2k}+\sum _{k=1}^{\infty }a_{2k-1}$
Question: Does the converse also hold true? Meaning, if $\sum _{k=1}^{\infty }a_{k}$ converges, then also $\sum _{k=1}^{\infty }a_{2k}$ and $\sum _{k=1}^{\infty }a_{2k-1}$ converge?
No: The alternating harmonic series $\sum _{k=1}^{\infty }a_{k}=\sum _{k=1}^{\infty }(-1)^{k+1}{\tfrac {1}{k}}$ converges. But its even partial series $\sum _{k=1}^{\infty }a_{2k}=\sum _{k=1}^{\infty }-{\tfrac {1}{2k}}$ diverges, as it is half of the diverging harmonic series $\sum _{k=1}^{\infty }a_{k}$ .- The subseries of odd elements $\sum _{k=1}^{\infty }a_{2k-1}=\sum _{k=1}^{\infty }{\tfrac {1}{2k-1}}$ diverges, as well.

### Example problems splitting rule

Math for Non-Geeks: Template:Aufgabe

## The associative law
### Why there is no associative law

For finite sums, the "Assoziativgesetzes der Addition" (German) allows to set brackets arbitrarily. For instance
${\begin{aligned}1-1+1-1+1-1&=(((((1-1)+1)-1)+1)-1)\\[0.3em]&=((((0+1)-1)+1)-1)\\[0.3em]&=\ldots =0\end{aligned}}$
Analogously
$(1-1)+(1-1)+(1-1)=0+0+0=0$
For "infinite sums", we need to pay attention: consider
$\sum _{k=1}^{\infty }(-1)^{k+1}=1-1+1-1\pm \ldots$
The sequence of partial sums for this series is:
${\begin{aligned}\left(\sum _{k=1}^{n}(-1)^{k+1}\right)_{n}&=(1,1-1,1-1+1,1-1+1-1,\ldots )\\[0.3em]&=(1,0,1,0,\ldots )\end{aligned}}$
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:
${\begin{aligned}\sum _{k=1}^{\infty }\left((-1)^{2k}+(-1)^{2k+1}\right)&=(1-1)+(1-1)+(1-1)+(1-1)+\ldots \\[0.3em]&=0+0+0+0+\ldots =0\end{aligned}}$
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}$){\textstyle \sum _{k=1}^{\infty }\left((-1)^{2k}+(-1)^{2k+1}\right)} (which converges to 0), removing brackets yields ∑$_{k=1}$$^∞$(−1)$^{k+1}${\textstyle \sum _{k=1}^{\infty }(-1)^{k+1}} (which diverges).
Question: Can one also set brackets in a way that $\sum _{k=1}^{\infty }(-1)^{k+1}$ converges to $1$ or $-1$ ?
To obtain the limit $1$ , we use
${\begin{aligned}1+\sum _{k=1}^{\infty }\left((-1)^{2k+1}+(-1)^{2k+2}\right)&=1+(-1+1)+(-1+1)+(-1+1)+\ldots \\[0.3em]&=1+0+0+0+\ldots =1\end{aligned}}$
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

Consider the converging series ∑$_{k=0}$$^∞$2$^{−k}${\textstyle \sum _{k=0}^{\infty }2^{-k}}, which is an infinite sum $1+{\tfrac {1}{2}}+{\tfrac {1}{4}}+{\tfrac {1}{8}}+\ldots$ . The corresponding sequence of partial sums is
$\left(\sum _{k=0}^{n}2^{-k}\right)_{n\in \mathbb {N} }=\left(1,\ 1+{\frac {1}{2}},\ 1+{\frac {1}{2}}+{\frac {1}{4}},\ \ldots \right)$
What happens if we set brackets? We could, for instance, conclude every two neighbouring elements: (1+1/2 )+( 1/4+1/8 )+…{\textstyle \left(1+{\frac {1}{2}}\right)+\left({\frac {1}{4}}+{\frac {1}{8}}\right)+\ldots }. This leads to the series ∑$_{k=0}$$^∞$(2$^{−2k}$+2$^{−(2k+1)}$){\textstyle \sum _{k=0}^{\infty }\left(2^{-2k}+2^{-(2k+1)}\right)}. The corresponding sequence of partial sums is
$\left(\sum _{k=0}^{n}\left(2^{-2k}+2^{-(2k+1)}\right)\right)_{n\in \mathbb {N} }=\left(1+{\frac {1}{2}},\ 1+{\frac {1}{2}}+{\frac {1}{4}}+{\frac {1}{8}},\ \ldots \right)$
This is a subsequence of the original sequence of partial sums. Now, since the series ∑$_{k=0}$$^∞$2$^{−k}${\textstyle \sum _{k=0}^{\infty }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)}$){\textstyle \sum _{k=0}^{\infty }\left(2^{-2k}+2^{-(2k+1)}\right)} 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?

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}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} be a convergent series and $(j_{l})_{l\in \mathbb {N} }$ a strictly monotonically increasing sequence of natural numbers with $j_{1}=1$. Here, $j_{l}$ is the index of the first summand of the $l$-th bracket. Now,
* If ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} converges, then ∑$_{l=1}$$^∞$(∑$_{k=jl}$$^{jl+1−1}$a$_k$){\textstyle \sum _{l=1}^{\infty }\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)} converges to the same limit.
* If ∑$_{l=1}$$^∞$(∑$_{k=jl}$$^{jl+1−1}$a$_k$){\textstyle \sum _{l=1}^{\infty }\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)} diverges, then ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} diverges, as well.
Proof (brackets in series)
Let ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} be a converging series. Introducing new brackets, we obtain ∑$_{l=1}$$^∞$(∑$_{k=jl}$$^{jl+1−1}$a$_k$){\textstyle \sum _{l=1}^{\infty }\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)}, where $(j_{l})_{l\in \mathbb {N} }$ is a strictly monotonically increasing sequence of natural numbers with $j_{1}=1$. The number $j_{l}$is the index of the first summand of the $l$-th bracket. The corresponding sequence of partial sums now reads:
${\begin{aligned}\left(\sum _{l=1}^{n}\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)\right)_{n\in \mathbb {N} }&=\left(\sum _{k=1}^{j_{2}-1}a_{k},\ \sum _{k=1}^{j_{2}-1}a_{k}+\sum _{k=j_{2}}^{j_{3}-1}a_{k},\ \ldots \right)\\[0.5em]&=\left(\sum _{k=1}^{j_{2}-1}a_{k},\ \sum _{k=1}^{j_{3}-1}a_{k},\ \sum _{k=1}^{j_{4}-1}a_{k},\ \ldots \right)\\[0.5em]&=\left(\sum _{k=1}^{j_{n+1}-1}a_{k}\right)_{n\in \mathbb {N} }\end{aligned}}$
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}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} converges, then also the subsequence ∑$_{l=1}$$^∞$(∑$_{k=jl}$$^{jl+1−1}$a$_k$){\textstyle \sum _{l=1}^{\infty }\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)} has to converge to the same limit.
* If ∑$_{l=1}$$^∞$(∑$_{k=jl}$$^{jl+1−1}$a$_k$){\textstyle \sum _{l=1}^{\infty }\left(\sum _{k=j_{l}}^{j_{l+1}-1}a_{k}\right)} diverges, then ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} 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?

There are several Youtube videos and also some articles (here is a German one) where people claim to have proven that the sum of all natural numbers equals $-{\tfrac {1}{12}}$:
$\sum _{k=1}^{\infty }k=1+2+3+4+5+6+7+8+\ldots =-{\frac {1}{12}}$
This is obviously wrong! For the series above, the sequence of partial sums diverges quadratically to $\infty$. It does not even attain any negative value. How do people then come up with the $-{\tfrac {1}{12}}$, 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\pm \ldots =\sum _{k=0}^{\infty }(-1)^{k}={\frac {1}{1-(-1)}}={\frac {1}{2}}$
Question: What is wrong in the line above?
The sum rule for the geometric series $\sum _{k=1}^{\infty }q^{k}$ only holds in case of convergence. For $q=-1$, it diverges. So the limit is not ${\frac {1}{1-q}}$ for $q=-1$.
In addition, for the series $\sum _{k=1}^{\infty }(-1)^{k-1}k$ we have the identity
${\begin{aligned}2\cdot \sum _{k=1}^{\infty }(-1)^{k-1}k&=2\cdot (1-2+3-4+5-6+7-8\pm \ldots )\\[0.3em]&=2-4+6-8+10-12+14-16\pm \ldots \\[0.3em]&=1+1-2-2+3+3-4-4+5+5-6-6+7+7-8-8+\ldots \\[0.3em]&=1+(1-2)+(-2+3)+(3-4)+(-4+5)+(5-6)+(-6+7)+(7-8)+\ldots \\[0.3em]&=1-1+1-1+1-1+1-1+\ldots \\[0.3em]&=\sum _{k=0}^{\infty }(-1)^{k}={\frac {1}{2}}\end{aligned}}$
Question: And what is wrong, here?
Multiplying out and factoring out is not allowed for diverging infinite sums:
${\begin{aligned}2\cdot \sum _{k=1}^{\infty }(-1)^{k-1}k&=2\cdot (1-2+3-4+5-6+7-8\pm \ldots )\\[0.3em]&\ {\color {Red}=}\ 2-4+6-8+10-12+14-16\pm \ldots \\[0.3em]&=1+1-2-2+3+3-4-4+5+5-6-6+7+7-8-8+\ldots \\[0.3em]&\ {\color {Red}=}\ 1+(1-2)+(-2+3)+(3-4)+(-4+5)+(5-6)+(-6+7)+(7-8)+\ldots \\[0.3em]&=1-1+1-1+1-1+1-1+\ldots \\[0.3em]&=\sum _{k=0}^{\infty }(-1)^{k}={\frac {1}{2}}\end{aligned}}$
If we divide this equation by $2$, we get $\sum _{k=1}^{\infty }(-1)^{k-1}k={\frac {1}{4}}$. Subtracting it from the original series $\sum _{k=1}^{\infty }k$ yields
${\begin{aligned}\left(\sum _{k=1}^{\infty }k\right)-{\frac {1}{4}}&=\sum _{k=1}^{\infty }k-\sum _{k=1}^{\infty }(-1)^{k-1}k\\[0.3em]&=(1+2+3+4+5+6+7+8+\ldots )-(1-2+3-4+5-6+7-8\pm \ldots )\\[0.3em]&=0+4+0+8+0+12+0+16+\ldots \\[0.3em]&=4\cdot (1+2+3+4+5+6+7+8+\ldots )\\[0.3em]&=4\cdot \sum _{k=1}^{\infty }k\end{aligned}}$
Question: And what is wrong with this step?
${\begin{aligned}\left(\sum _{k=1}^{\infty }k\right)-{\frac {1}{4}}&=\sum _{k=1}^{\infty }k-\sum _{k=1}^{\infty }(-1)^{k-1}k\\[0.3em]&=(1+2+3+4+5+6+7+8+\ldots )-(1-2+3-4+5-6+7-8\pm \ldots )\\[0.3em]&\ {\color {Red}=}\ 0+4+0+8+0+12+0+16+\ldots \\[0.3em]&\ {\color {Red}=}\ 4\cdot (1+2+3+4+5+6+7+8+\ldots )\\[0.3em]&=4\cdot \sum _{k=1}^{\infty }k\end{aligned}}$
When the series $\sum _{k=1}^{\infty }k$ and $\sum _{k=1}^{\infty }(-1)^{k}k$ 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+\ldots =\sum _{k=1}^{\infty }4k$ is not allowed.
After all those illegal steps, we get
${\begin{aligned}&\left(\sum _{k=1}^{\infty }k\right)-{\frac {1}{4}}=4\cdot \sum _{k=1}^{\infty }k\\[0.3em]\iff &-3\left(\sum _{k=1}^{\infty }k\right)-{\frac {1}{4}}=0\\[0.3em]\iff &-3\left(\sum _{k=1}^{\infty }k\right)={\frac {1}{4}}\\[0.3em]\iff &\sum _{k=1}^{\infty }k=-{\frac {1}{12}}\end{aligned}}$
q.e.d. (or rather w.t.f.)

## Outlook: Series and vector spaces

For series ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} and ∑$_{k=1}$$^∞$b$_k${\textstyle \sum _{k=1}^{\infty }b_{k}} as well as $\lambda \in \mathbb {R}$ we have the following computational rules:
${\begin{aligned}\sum _{k=1}^{\infty }(a_{k}+b_{k})&=\sum _{k=1}^{\infty }a_{k}+\sum _{k=1}^{\infty }b_{k}\\[0.5em]\sum _{k=1}^{\infty }\lambda a_{k}&=\lambda \sum _{k=1}^{\infty }a_{k}\end{aligned}}$
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 $\lambda \in \mathbb {R}$". The set of all real valued sequence V={(a$_n$)$_{n∈N}$∈V:a$_n$∈R}{\textstyle V=\left\{(a_{n})_{n\in \mathbb {N} }\in V:a_{n}\in \mathbb {R} \right\}} is such a set, where we can add elements or multiply by a constant. So it is a vector space. The subset U={(a$_n$)$_{n∈N}$:∑$_{k=1}$$^∞$a$_k$ converges}{\textstyle U=\left\{(a_{n})_{n\in \mathbb {N} }:\sum _{k=1}^{\infty }a_{k}{\text{ converges}}\right\}} which includes all sequences $(a_{n})_{n\in \mathbb {N} }$, for which the series ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} 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→R:(a$_n$)$_{n∈N}$↦∑$_{k=1}$$^∞$a$_k${\textstyle f:U\to \mathbb {R} :(a_{n})_{n\in \mathbb {N} }\mapsto \sum _{k=1}^{\infty }a_{k}} assigning each $(a_{n})_{n\in \mathbb {N} }$ the limit of the series ∑$_{k=1}$$^∞$a$_k${\textstyle \sum _{k=1}^{\infty }a_{k}} 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 y$f$ is a linear map.
* ↑ German one diesen Spiegel-Artikel