# Cauchy condensation test

In mathematics, the Cauchy condensation test, named after Augustin-Louis Cauchy, is a standard convergence test for infinite series. For a non-increasing sequence ${\displaystyle f(n)}$ of non-negative real numbers, the series ${\displaystyle \displaystyle \sum \limits _{n=1}^{\infty }f(n)}$ converges if and only if the "condensed" series ${\displaystyle \displaystyle \sum \limits _{n=0}^{\infty }2^{n}f(2^{n})}$ converges. Moreover, if they converge, the sum of the condensed series is no more than twice as large as the sum of the original.

## Estimate

The Cauchy condensation test follows from the stronger estimate,

${\displaystyle \sum _{n=1}^{\infty }f(n)\leq \sum _{n=0}^{\infty }2^{n}f(2^{n})\leq \ 2\sum _{n=1}^{\infty }f(n),}$

which should be understood as an inequality of extended real numbers. The essential thrust of a proof follows, patterned after Oresme's proof of the divergence of harmonic series.

To see the first inequality, the terms of the original series are rebracketed into runs whose lengths are powers of two, and then each run is bounded above by replacing each term by the largest term in that run. That term is always the first one, since terms are supposed to be non-increasing.

${\displaystyle {\begin{array}{rcccccccl}\displaystyle \sum \limits _{n=1}^{\infty }f(n)&=&f(1)&+&f(2)+f(3)&+&f(4)+f(5)+f(6)+f(7)&+&\cdots \\&=&f(1)&+&{\Big (}f(2)+f(3){\Big )}&+&{\Big (}f(4)+f(5)+f(6)+f(7){\Big )}&+&\cdots \\&\leq &f(1)&+&{\Big (}f(2)+f(2){\Big )}&+&{\Big (}f(4)+f(4)+f(4)+f(4){\Big )}&+&\cdots \\&=&f(1)&+&2f(2)&+&4f(4)&+&\cdots =\sum \limits _{n=0}^{\infty }2^{n}f(2^{n})\end{array}}}$

To see the second inequality, these two series are again rebracketed into runs of power of two length, but "offset" as shown below, so that the run of ${\displaystyle \textstyle 2\sum _{n=1}^{\infty }f(n)}$ which begins with ${\displaystyle \textstyle f(2^{n})}$ lines up with the end of the run of ${\displaystyle \textstyle \sum _{n=0}^{\infty }2^{n}f(2^{n})}$ which ends with ${\displaystyle \textstyle f(2^{n})}$, so that the former stays always "ahead" of the latter.

${\displaystyle {\begin{array}{rcl}\sum \limits _{n=0}^{\infty }2^{n}f(2^{n})&=&f(1)+{\Big (}f(2)+f(2){\Big )}+{\Big (}f(4)+f(4)+f(4)+f(4){\Big )}+\cdots \\&=&{\Big (}f(1)+f(2){\Big )}+{\Big (}f(2)+f(4)+f(4)+f(4){\Big )}+\cdots \\&\leq &{\Big (}f(1)+f(1){\Big )}+{\Big (}f(2)+f(2)+f(3)+f(3){\Big )}+\cdots =2\sum \limits _{n=1}^{\infty }f(n)\end{array}}}$
Visualization of the above argument. Partial sums of the series ${\displaystyle \textstyle \sum f(n)}$, ${\displaystyle \sum 2^{n}f(2^{n})}$, and ${\displaystyle 2\sum f(n)}$ are shown overlaid from left to right.

## Integral comparison

The "condensation" transformation ${\displaystyle \textstyle f(n)\rightarrow 2^{n}f(2^{n})}$ recalls the integral variable substitution ${\displaystyle \textstyle x\rightarrow e^{x}}$ yielding ${\displaystyle \textstyle f(x)\,\mathrm {d} x\rightarrow e^{x}f(e^{x})\,\mathrm {d} x}$.

Pursuing this idea, the integral test for convergence gives us, in the case of monotone f, that ${\displaystyle \sum \limits _{n=1}^{\infty }f(n)}$ converges if and only if ${\displaystyle \displaystyle \int _{1}^{\infty }f(x)\,\mathrm {d} x}$ converges. The substitution ${\displaystyle \textstyle x\rightarrow 2^{x}}$ yields the integral ${\displaystyle \displaystyle \log 2\,\int _{0}^{\infty }\!2^{x}f(2^{x})\,\mathrm {d} x}$ and another integral test brings us to the condensed series ${\displaystyle \displaystyle \sum \limits _{n=0}^{\infty }2^{n}f(2^{n})}$.

## Examples

The test can be useful for series where n appears as in a denominator in f. For the most basic example of this sort, the harmonic series ${\displaystyle \textstyle \sum _{n=1}^{\infty }1/n}$ is transformed into the series ${\displaystyle \textstyle \sum 1}$, which clearly diverges.

As a more complex example, take

${\displaystyle f(n):=n^{-a}(\log n)^{-b}(\log \log n)^{-c}}$.

Here the series definitely converges for a > 1, and diverges for a < 1. When a = 1, the condensation transformation gives the series

${\displaystyle \sum n^{-b}(\log n)^{-c}}$.

The logarithms 'shift to the left'. So when a = 1, we have convergence for b > 1, divergence for b < 1. When b = 1 the value of c enters.

This result readily generalizes: the condensation test, applied repeatedly, can be used to show that for ${\displaystyle k=1,2,3,\ldots }$, the generalized Bertrand series

${\displaystyle \sum _{n\geq N}{\frac {1}{n\cdot \log n\cdot \log \log n\cdots \log ^{\circ (k-1)}n\cdot (\log ^{\circ k}n)^{\alpha }}}\quad \quad (N=\lfloor \exp ^{\circ k}(0)\rfloor +1)}$

converges for ${\displaystyle \alpha >1}$ and diverges for ${\displaystyle 0<\alpha \leq 1}$.[1] Here ${\displaystyle f^{\circ m}}$ denotes the mth compositional iterate of a function ${\displaystyle f}$, so that

${\displaystyle f^{\circ m}(x):={\begin{cases}f(f^{\circ (m-1)}(x)),&m=1,2,3,\ldots ;\\x,&m=0.\end{cases}}}$

The lower limit of the sum, ${\displaystyle N}$, was chosen so that all terms of the series are positive. Notably, these series provide examples of infinite sums that converge or diverge arbitrarily slowly. For instance, in the case of ${\displaystyle k=2}$ and ${\displaystyle \alpha =1}$, the partial sum exceeds 10 only after ${\displaystyle 10^{10^{100}}}$(a googolplex) terms; yet the series diverges nevertheless.

## Schlömilch's Generalization

Let[2] u(n) be a strictly increasing sequence of positive integers such that the ratio of successive differences is bounded: there is a positive real number N, for which:

${\displaystyle {\Delta u(n) \over \Delta u(n{-}1)}\ =\ {u(n{+}1)-u(n) \over u(n)-u(n{-}1)}\ <\ N\ \ {\text{for all }}n.}$

Then, provided that ${\displaystyle f(n)}$ meets the same preconditions as in Cauchy's test, the convergence of the series ${\displaystyle \textstyle \sum _{n=1}^{\infty }f(n)}$ is equivalent to the convergence of:

${\displaystyle \sum _{n=0}^{\infty }{\Delta u(n)}\,f(u(n))\ =\ \sum _{n=0}^{\infty }{\Big (}u(n{+}1)-u(n){\Big )}f(u(n)).}$

Taking ${\displaystyle \textstyle u(n)=2^{n}}$ so that ${\displaystyle \textstyle \Delta u(n)=u(n{+}1)-u(n)=2^{n}}$, the Cauchy condensation test emerges as a special case.

## References

1. ^ Rudin, Walter (1976). Principles of Mathematical Analysis. New York: McGraw-Hill. pp. 62–63. ISBN 0-07-054235-X.
2. ^
• Bonar, Khoury (2006). Real Infinite Series. Mathematical Association of America. ISBN 0-88385-745-6.