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

No comments:

Post a Comment