Tuesday, 23 February 2021

Another Proof 1p Diverges

Ivan Niven authored a very short and rather fun proof that the sum of inverse primes diverges. 



The proof was published in 1971 in the American Mathematical Monthly vol 78, issue 3, 272-273. It is available as open access here: https://www.tandfonline.com

Although the proof is short, it moves at a pace that might leave some behind. Here we'll work through the proof and explain each step more fully.

Video: [youtube]

Slides: [pdf]


Square-Free Numbers

The proof starts with the idea of square-free positive integers. 

We can write any counting number m as a unique product of a square j2 and square-free factor k

m=kj2

Remember that any integer is a unique product of primes. We can split these primes into two groups, one group with primes raised to an even power, which together can be written as a square, and the other group with primes not raised to any power. 

For example, 360=(25)(23)2 has a square-free factor of 10, and a square factor of 36. On the other hand, 30=(235) is entirely square-free. 

 

1/k  Diverges

Let's look at the following inequality, where k are the square-free integers less than n.

(k<n1k)(j<n1j2)m<n1m

The inequality is true because multiplying out the two series would give us not just the terms 1/m, but also many more. The two sides are only equal when n=2

As n, the right hand side becomes the harmonic series which we know diverges. We also know the second sum converges to π2/6. That means the sum over square-free integers 1/k must diverge, a neat result we'll use very soon.


Proof By Contradiction

Let's assume, perhaps incorrectly, the sum of prime reciprocals 1/p converges to a finite \beta. 

The partial sum is less than the full sum, p<n1/p<β, so we can write the following. 

exp(β)>exp(p<n1p)=p<nexp(1p)

We can also truncate the Taylor series for ex to say ex>1+x. Applying this to exp(1/p) lets us write the following.

p<nexp(1p)>p<n(1+1p)

Multiplying out that product would give a series with terms 1/k where each k is square-free. This is because each prime contributes to any k at most once. We'd also end up with more terms than are in p<n1/k for n>3

p<n(1+1p)k<n1k

Let's put all this together.

exp(β)>exp(p<n1p)=p<nexp(1p)>p<n(1+1p)k<n1k

This suggests that as n the finite exp(β) is greater than 1/k, which we showed was divergent. This is clearly a contradiction, so our assumption that 1/p converges was wrong. 

1p


Tuesday, 9 February 2021

Integral Comparison Tests


Understanding the behaviour of continuous functions is often easier than discrete functions. We can gain insights into discrete sums like 1x by exploring the related continuous integral 1xdx.

This is a simple but powerful technique used a lot in number theory, and worth becoming familiar with.


Video: [youtube]

Slides: [pdf]


Lower & Upper Bounds For The Growth Of 1/n


The picture below shows a graph of y=1x, together with rectangles representing the fractions 1n.


Lower Bound

If we consider the range 1x4 we can see the area of the three taller rectangles 1+12+13 is greater than the area under the curve 141xdx. By extending the range to n we can make a general observation.

1n1x>1n+11xdx

The integral has an upper limit of n+1 because the width of the last rectangle extends from x=n to x=n+1. We can perform the integral to simplify the expression.

1n1x>ln(n+1)

This is a rather nice lower bound on the growth of the harmonic series.


Upper Bound

Let's now look at the shorter rectangles. In the range 1x4 we can see the area of the three shorter rectangles 12+13+14 is less than the area under the curve 141xdx. Again, by extending the range to n we can make a general observation.

2n1x<1n1xdx

The harmonic sum starts at 2 because this time we're looking at rectangles extending to the left of a given x. We can adjust the limit of the sum using 1n1x=1+2n1x.

1n1x1<1n1xdx

Again, we can perform the integral.

1n1x<ln(n)+1

This is a nice upper bound to the growth of the harmonic series.


Convergence Of ζ(s)=1/ns


The picture below shows a graph of y=1xs, together with rectangles representing the fractions 1xs. The shape of the graph assumes s>0. If s was 0 then it is easy to see 1/ns would diverge because each term would be 1.


If we consider the range 1x4 we can see the area of the three shorter pink rectangles is less than the area under the curve 141xsdx. By extending the range to k we can make a general observation.

2k1xs<1k1xsdx

The sum starts at 2 because we're looking at rectangles extending to the left of a given x. We can adjust the limit of the sum using 1k1xs=1+2k1xs.

1k1xs1<1k1xsdx

The integral is easily evaluated.

1k1xs<k1s11s+1

As k, the right hand side only converges when s>1. Because it is less than the right hand side, the sum 1/xs also converges when s>1. We haven't yet ruled out the possibility the sum might also converge for some s1.

If we now consider the three taller rectangles 1+12s+13s in the range 1x4, we can see their area is greater than the area under the curve 141xsdx. By extending the range to k, we can make a general observation.

1k1xs>1k+11xsdx

The integral has an upper limit of k+1 because the width of the last rectangle extends from x=k to x=k+1. We can perform the integral to simplify the expression.

1k1xs>(k+1)1s11s

As k, the right hand side diverges when s1. Because it is greater than the right hand side, the sum 1/xs also diverges when s1. We have now ruled out the possibility the sum might converge for some s1.

ζ(s)=1/ns only converges for s>1

We can go further. The two inequalities together provide a lower and upper bound for the zeta function.

1s1<ζ(s)<1s1+1