# Summation of Grandi's series
## General considerations
### Stability and linearity

The formal manipulations that lead to 1 − 1 + 1 − 1 + ⋯ being assigned a value of $^1$⁄$_2$ include:
* Adding or subtracting two series term-by-term,
* Multiplying through by a scalar term-by-term,
* "Shifting" the series with no change in the sum, and
* Increasing the sum by adding a new term to the series' head.
These are all legal manipulations for sums of convergent series, but 1 − 1 + 1 − 1 + ⋯ is not a convergent series.
Nonetheless, there are many summation methods that respect these manipulations and that do assign a "sum" to Grandi's series. Two of the simplest methods are Cesàro summation and Abel summation.

## Cesàro sum

The first rigorous method for summing divergent series was published by Ernesto Cesàro in 1890. The basic idea is similar to Leibniz's probabilistic approach: essentially, the Cesàro sum of a series is the average of all of its partial sums. Formally one computes, for each n, the average σ$_n$ of the first n partial sums, and takes the limit of these Cesàro means as n goes to infinity.
For Grandi's series, the sequence of arithmetic means is
    1, $^1$⁄$_2$, $^2$⁄$_3$, $^2$⁄$_4$, $^3$⁄$_5$, $^3$⁄$_6$, $^4$⁄$_7$, $^4$⁄$_8$, …
or, more suggestively,
    ($^1$⁄$_2$+$^1$⁄$_2$), $^1$⁄$_2$, ($^1$⁄$_2$+$^1$⁄$_6$), $^1$⁄$_2$, ($^1$⁄$_2$+$^1$⁄$_{10}$), $^1$⁄$_2$, ($^1$⁄$_2$+$^1$⁄$_{14}$), $^1$⁄$_2$, …
where
    $\sigma _{n}={\frac {1}{2}}$ for even n and $\sigma _{n}={\frac {1}{2}}+{\frac {1}{2n}}$ for odd n.
This sequence of arithmetic means converges to $^1$⁄$_2$, so the Cesàro sum of Σa$_k$ is $^1$⁄$_2$. Equivalently, one says that the Cesàro limit of the sequence 1, 0, 1, 0, ⋯ is $^1$⁄$_2$.
The Cesàro sum of 1 + 0 − 1 + 1 + 0 − 1 + ⋯ is $^2$⁄$_3$. So the Cesàro sum of a series can be altered by inserting infinitely many 0s as well as infinitely many brackets.
The series can also be summed by the more general fractional (C, a) methods.

## Abel sum

Abel summation is similar to Euler's attempted definition of sums of divergent series, but it avoids Callet's and N. Bernoulli's objections by precisely constructing the function to use. In fact, Euler likely meant to limit his definition to power series, and in practice he used it almost exclusively in a form now known as Abel's method.
Given a series a$_0$ + a$_1$ + a$_2$ + ⋯, one forms a new series a$_0$ + a$_1$x + a$_2$x$^2$ + ⋯. If the latter series converges for 0 < x < 1 to a function with a limit as x tends to 1, then this limit is called the Abel sum of the original series, after Abel's theorem which guarantees that the procedure is consistent with ordinary summation. For Grandi's series one has
    $A\sum _{n=0}^{\infty }(-1)^{n}=\lim _{x\rightarrow 1}\sum _{n=0}^{\infty }(-x)^{n}=\lim _{x\rightarrow 1}{\frac {1}{1+x}}={\frac {1}{2}}.$

### Related series

The corresponding calculation that the Abel sum of 1 + 0 − 1 + 1 + 0 − 1 + ⋯ is $^2$⁄$_3$ involves the function (1 + x)/(1 + x + x$^2$).
Whenever a series is Cesàro summable, it is also Abel summable and has the same sum. On the other hand, taking the Cauchy product of Grandi's series with itself yields a series which is Abel summable but not Cesàro summable: 1 − 2 + 3 − 4 + ⋯ has Abel sum $^1$⁄$_4$.

## Dilution
### Alternating spacing

That the ordinary Abel sum of 1 + 0 − 1 + 1 + 0 − 1 + ⋯ is $^2$⁄$_3$ can also be phrased as the (A, λ) sum of the original series 1 − 1 + 1 − 1 + ⋯ where (λ$_n$) = (0, 2, 3, 5, 6, ...). Likewise the (A, λ) sum of 1 − 1 + 1 − 1 + ⋯ where (λ$_n$) = (0, 1, 3, 4, 6, ...) is $^1$⁄$_3$.

### Exponential spacing

The summability of 1 − 1 + 1 − 1 + ⋯ can be frustrated by separating its terms with exponentially longer and longer groups of zeros. The simplest example to describe is the series where (−1)$^n$ appears in the rank 2$^n$:
    0 + 1 − 1 + 0 + 1 + 0 + 0 + 0 − 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + ⋯.
This series is not Cesaro summable. After each nonzero term, the partial sums spend enough time lingering at either 0 or 1 to bring the average partial sum halfway to that point from its previous value. Over the interval 2$^{2m−1}$ ≤ n ≤ 2$^{2m}$ − 1 following a (− 1) term, the nth arithmetic means vary over the range
    ${\frac {2}{3}}\left({\frac {2^{2m}-1}{2^{2m}+2}}\right)\;\mathrm {to} \;{\frac {1}{3}}(1-2^{-2m}),$
or about $^2$⁄$_3$ to $^1$⁄$_3$.
In fact, the exponentially spaced series is not Abel summable either. Its Abel sum is the limit as x approaches 1 of the function
    F(x) = 0 + x − x$^2$ + 0 + x$^4$ + 0 + 0 + 0 − x$^8$ + 0 + 0 + 0 + 0 + 0 + 0 + 0 + x$^{16}$ + 0 + ⋯.
This function satisfies a functional equation:
    ${\begin{array}{rcl}F(x)&=&\displaystyle x-x^{2}+x^{4}-x^{8}+\cdots \\[1em]&=&\displaystyle x-\left[(x^{2})-(x^{2})^{2}+(x^{2})^{4}-\cdots \right]\\[1em]&=&\displaystyle x-F(x^{2}).\end{array}}$
This functional equation implies that F(x) roughly oscillates around $^1$⁄$_2$ as x approaches 1. To prove that the amplitude of oscillation is nonzero, it helps to separate F into an exactly periodic and an aperiodic part:
    $F(x)=\Psi (x)+\Phi (x)$
where
    $\Phi (x)=\sum _{n=0}^{\infty }{\frac {(-1)^{n}}{n!(1+2^{n})}}\left(\log {\frac {1}{x}}\right)^{n}$
satisfies the same functional equation as F. This now implies that Ψ(x) = −Ψ(x$^2$) = Ψ(x$^4$), so Ψ is a periodic function of loglog(1/x). Since dy (p.77) speaks of "another solution" and "plainly not constant", although technically he does not prove that F and Φ are different.</ref> Since the Φ part has a limit of $^1$⁄$_2$, F oscillates as well.

## Separation of scales

Given any function φ(x) such that φ(0) = 1, and the derivative of φ is integrable over (0, +∞), then the generalized φ-sum of Grandi's series exists and is equal to $^1$⁄$_2$:
    $S_{\varphi }=\lim _{\delta \downarrow 0}\sum _{k=0}^{\infty }(-1)^{k}\varphi (\delta k)={\frac {1}{2}}.$
The Cesaro or Abel sum is recovered by letting φ be a triangular or exponential function, respectively. If φ is additionally assumed to be continuously differentiable, then the claim can be proved by applying the mean value theorem and converting the sum into an integral. Briefly:
    ${\begin{array}{rcl}S_{\varphi }&=&\displaystyle \lim _{\delta \downarrow 0}\sum _{k=0}^{\infty }\left[\varphi (2k\delta )-\varphi (2k\delta +\delta )\right]\\[1em]&=&\displaystyle \lim _{\delta \downarrow 0}\sum _{k=0}^{\infty }\varphi '(2k\delta +c_{k})(-\delta )\\[1em]&=&\displaystyle -{\frac {1}{2}}\int _{0}^{\infty }\varphi '(x)\,dx=-{\frac {1}{2}}\varphi (x)|_{0}^{\infty }={\frac {1}{2}}.\end{array}}$

## Borel sum

The Borel sum of Grandi's series is again $^1$⁄$_2$, since
    $1-x+{\frac {x^{2}}{2!}}-{\frac {x^{3}}{3!}}+{\frac {x^{4}}{4!}}-\cdots =e^{-x}$
and
    $\int _{0}^{\infty }e^{-x}e^{-x}\,dx=\int _{0}^{\infty }e^{-2x}\,dx={\frac {1}{2}}.$
The series can also be summed by generalized (B, r) methods.

## Spectral asymmetry

The entries in Grandi's series can be paired to the eigenvalues of an infinite-dimensional operator on Hilbert space. Giving the series this interpretation gives rise to the idea of spectral asymmetry, which occurs widely in physics. The value that the series sums to depends on the asymptotic behaviour of the eigenvalues of the operator. Thus, for example, let $\{\omega _{n}\}$ be a sequence of both positive and negative eigenvalues. Grandi's series corresponds to the formal sum
    $\sum _{n}\operatorname {sgn}(\omega _{n})\;$
where $\operatorname {sgn}(\omega _{n})=\pm 1$ is the sign of the eigenvalue. The series can be given concrete values by considering various limits. For example, the heat kernel regulator leads to the sum
    $\lim _{t\to 0}\sum _{n}\operatorname {sgn}(\omega _{n})e^{-t|\omega _{n}|}$
which, for many interesting cases, is finite for non-zero t, and converges to a finite value in the limit.

## Methods that fail

The integral function method with p$_n$ = exp (−cn$^2$) and c > 0.
The moment constant method with
    $d\chi =e^{-k(\log x)^{2}}x^{-1}dx$
and k > 0.

### Geometric series

The geometric series in $(x-1)$,
${\frac {1}{x}}=1-(x-1)+(x-1)^{2}-(x-1)^{3}+(x-1)^{4}-...$
is convergent for $|x-1|<1$. Formally substituting $x=2$ would give
${\frac {1}{2}}=1-1+1-1+1-...$
However, $x=2$ is outside the radius of convergence, $|x-1|<1$, so this conclusion cannot be made.