Put and . Separate the terms in the lattice Eisenstein series. Differentiating the cosecant partial-fraction identity times gives, for ,
The initial identity is ; differentiation accounts for the factorial and the sign. Pair and and collect the products . Absolute convergence of the lattice sum for , and local uniform convergence of the resulting power series, justify these operations. Thus the requested Fourier expansions are
Here , and the Bernoulli numbers have convention . The second formula uses Euler's even-value identity for the Riemann zeta function, . In particular and .
We need the rational, rather than merely complex, version of the polynomial ring of level-one modular forms. Recall how the valence formula for the modular group supplies its proof. For a nonzero weight- modular form, with ,
Integrate around a truncated standard fundamental domain of the modular group, indenting around boundary zeros. The paired vertical sides cancel by translation; pair the two halves of the circular edge using . The logarithmic derivative of supplies , while the top edge supplies . The half-disc and third-disc at the two elliptic points account for the fractions . The argument principle then gives the formula. All orders in it are nonnegative for a holomorphic modular form. It follows that negative weights have no forms, , and : a weight-two form vanishes at , contributing at least .
Define . It is a weight-twelve cusp form and its expansion starts with . The valence formula for the modular group forces its order at infinity to be exactly one and leaves no interior zeros. Thus division by identifies with . Every nonnegative even has a monomial of weight : solve , taking when is even and when it is odd and at least three. Subtract the constant coefficient of a modular form times such a monomial and divide by . Induction on weight proves generation by .
If the original Fourier coefficients are rational, every step preserves rationality: both generators and have rational expansions, and formal division by does too. This proves the rational structure of level-one modular forms. Write with and . Rescaling gives
The Bernoulli number formula above makes each zeta ratio rational: its powers of cancel precisely because the weights agree. This proves the required rational coefficients for the unnormalized lattice Eisenstein sums.
Finally because the quotient weights are negative, and because . In each of these weights a form is determined by its constant coefficient. The indicated monomials have that coefficient equal to one, so
Fix a positive integer and an integer coprime to . We use Dirichlet characters modulo , extended by zero on integers not coprime to , and write for the principal Dirichlet character. For a nonprincipal Dirichlet character, the sum over one complete period is zero. Its partial sums are therefore . Partial summation gives
The integral converges locally uniformly there, so these Dirichlet L-functions are holomorphic at one. On the other hand,
has a simple pole at one, with residue .
The assumed nonvanishing of a nonprincipal Dirichlet L-function at one for real Dirichlet characters also excludes vanishing for nonreal ones. To prove this, form the product over all Dirichlet characters
Use the logarithm supplied by the absolutely convergent Euler product. The Orthogonality of Dirichlet characters yields
Thus . If a nonreal Dirichlet character had , its distinct conjugate would also have a zero there, since . These two zeros would outweigh the single pole of the principal factor; all other factors are bounded near one. It would follow that as , contradicting the lower bound. Together with the assumption for real Dirichlet characters, this proves for every nonprincipal Dirichlet character.
The first-degree part of the Euler product logarithm gives
The omitted terms are bounded uniformly, since . For each nonprincipal factor, its logarithm remains bounded: choose a holomorphic logarithm near the now established nonzero value ; the Euler-product branch differs from it by a fixed integral multiple of on a sufficiently small real interval. For the principal factor,
Applying Orthogonality of Dirichlet characters again gives
The right side diverges as , so the arithmetic progression contains infinitely many primes. This proves Dirichlet's theorem on arithmetic progressions: every reduced residue class modulo contains infinitely many primes. The argument also covers and , when there need not be a nonreal character.
For the sharper statement about reciprocal primes in a fixed arithmetic progression, use the given prime-counting function asymptotic with fixed:
The second equivalence follows by integration by parts in the logarithmic integral function. Partial summation yields
For any , choose a fixed so large that the relative error in is at most for . The initial integral is a constant, while the remaining integral lies between
The boundary term is . Divide by , let , and then let . We obtain
Only a relative asymptotic is deduced from the given information; an additive error, or uniformity for a growing modulus , would require additional estimates.
The Selberg upper-bound sieve replaces the indicator function of a sifted set by the square of a divisor sum. If the real Selberg sieve weights satisfy , then
When has no forbidden prime factors, the divisor sum is exactly one; otherwise its square is still nonnegative. Taking the weights to vanish for controls the error in summing this majorant. The main term is a positive quadratic form that can be diagonalized and minimized explicitly. This optimization, together with a bound for the remainder, is the central idea of the Selberg sieve.
For twin primes, take and let be the number of its roots modulo a squarefree integer . The Chinese remainder theorem makes a multiplicative arithmetic function, with and for odd primes. Thus the polynomial root density in a sieve is , and
Summing the majorant gives
where , with all indices squarefree. Here controls the error.
We carry out the Selberg sieve diagonalization. Put
For squarefree integers , multiplicativity gives
The identity behind the first equality is . Möbius inversion gives . The Cauchy-Schwarz inequality therefore implies
Define . Equality is attained at , giving . Inverting again, the optimizing Selberg sieve weights are
In particular . Since ,
The last inequality holds separately at , , and . Together with , this crude bound already makes the remainder , because .
We also need a lower bound for ; we prove it rather than presuppose a sieve asymptotic. For odd squarefree integers ,
where counts distinct prime factors. Put and . The total weight of odd pairs is . Exclude pairs for which has a square prime factor, has a square prime factor, or have a common prime factor. For each of these three categories the total weight is at most : for example, the weighted count of odd multiples of is , and the common-factor category uses for each variable. Moreover,
Hence the remaining odd coprime squarefree pairs have weight at least . Their products are squarefree, and counts all ordered coprime factorizations of . This proves the elementary lower bound for the twin-prime sieve denominator:
If and both are primes, survives the sieve. The at most smaller values are the only exceptions. Thus, with and , the twin-prime upper bound from a quadratic sieve becomes
Finally partial summation gives
The integral over is bounded by a constant times . The nonnegative partial sums are therefore bounded and increasing. Thus the reciprocal series over the smaller members of twin-prime pairs converges, a form of Brun's theorem. The upper bound does not assert that infinitely many twin primes exist.
Write and let run over Nontrivial zeros of the Riemann zeta function, including multiplicity. The bounds involving below are for . At bounded heights their uniform versions use ; itself cannot be the right bound near zero or .
Start with the Hadamard factorization of the Riemann xi function, an entire function of order one. Its logarithmic derivative has the convergent expansion
Differentiating gives
The real sum of converges absolutely: makes its terms at large height, and the order-one Hadamard factorization ensures the required summability. Thus these terms and form a fixed constant. The Stirling formula for the digamma function gives, uniformly for and ,
This is the useful real form of the global partial-fraction expansion of the zeta logarithmic derivative. Every term subtracted is nonnegative because the Euler product excludes zeros with . At the simple pole , one also has as .
The three-four-one zero-free-region argument now detects a zero too close to one. The Von Mangoldt function is nonnegative and the absolutely convergent Dirichlet series gives
because the corresponding coefficient at is . If is a zero, retain its term in the expansion at height and discard the other nonpositive terms. The expansion at height gives an upper bound even without retaining a particular zero. We obtain, for an absolute constant ,
Choose so small that , put , and take . If , the last inequality would require
a contradiction. Therefore
for some fixed . This proves the required zero-free region of the Riemann zeta function. Nonvanishing on at bounded nonzero heights, proved in Question 2, and the isolation of zeros allow a decrease of giving the uniform formulation with as well. Near , apply this observation to the nonzero holomorphic function .
Next evaluate the real expansion at . The absolutely convergent Dirichlet series bounds uniformly in , so
Since , each term on the left is at least . The smoothed zeta zero-count bound follows:
Each zero satisfying contributes more than , so this also gives the local zero count for the Riemann zeta function:
The same kernel sum is bounded at compact heights, since its tail converges uniformly there; the bounds with are consequently valid for all real .
For completeness, the contour estimate used in Question 2 follows from these very formulas. Subtract the complex logarithmic derivative expansion at from that at , with and . Terms with have differences , whose sum is by the kernel bound. There are remaining terms. After reducing , the zero-free region of the Riemann zeta function separates every such zero horizontally from the half-width boundary by : their heights satisfy . Thus on the left edge, and on the horizontal edges at , each reciprocal is . The Gamma function and pole terms satisfy the same required bound; at small heights on the left edge the pole distance is . This proves on those edges and justifies the contour shift without choosing heights that dodge unknown zeros.
First alternative. The Euler product of the Riemann zeta function is absolutely convergent for . Its logarithm and the nonnegative trigonometric polynomial
give
Consequently . Suppose and the Riemann zeta function had a zero of order at . As , its simple pole at one gives , the alleged zero gives , and remains bounded. The product would be , contradicting its lower bound. Thus there are no zeta zeros on ; the point itself is a pole, not a zero.
For the first integral of the Chebyshev function, define
The logarithmic derivative identity , valid for , leads to
To verify the kernel rather than assume an inversion formula, integrate on the vertical line . Closing to the left when gives the residues at zero and minus one, namely ; closing to the right when gives zero. At the integral is zero as well. The horizontal integrals tend to zero because of the quadratic denominator, and the distant vertical integrals vanish in the indicated direction. Multiplying this kernel by with gives . The absolute convergence of the Dirichlet series on , together with the integrable denominator, permits interchange with the integral and proves the formula.
Here is a quantitative contour route from this relation to the Prime number theorem. Question 3 establishes a zero-free region of the Riemann zeta function and the accompanying bounds for its logarithmic derivative, independently of the Prime number theorem. In a sufficiently narrow half-width region they imply
on the left and horizontal sides of the rectangle with heights and left edge , after making small enough also for bounded heights. The explanation of this bound is included at the end of Question 3. Take and . On the original line, the omitted tails are
since the Euler product bounds by . Shift the truncated integral to the left edge. The only enclosed pole is at , with residue ; the kernel poles at zero and minus one lie outside the rectangle. The left edge contributes , since there. The two horizontal edges contribute . In particular, for some ,
It remains to remove the smoothing; differentiating an asymptotic formula would not justify this step. The monotonicity of the Second Chebyshev function gives, for with ,
First let with fixed. After division by , the lower and upper bounds tend to and . Let to obtain . Higher prime powers contribute by the Chebyshev estimate, so . Finally partial summation gives
The integral is , by splitting at and using . This proves the Prime number theorem with .
Second alternative. We prove the functional equation of the Riemann zeta function from a theta function. Set for . With Fourier transform convention , the Gaussian function has
Indeed, differentiation under the integral and integration by parts give , while the Gaussian integral gives . Periodize : the smooth period-one function has Fourier coefficients , by integrating on and interchanging its absolutely convergent sum with the integral. Its absolutely convergent Fourier series, evaluated at zero, proves the Poisson summation formula in this case. Hence
For , termwise integration and the defining integral of the Gamma function give the Mellin representation of the completed Riemann zeta function:
Split at one and substitute in the lower integral. The elementary part is
and the remaining part becomes an integral over . Thus
The integral is an entire function of , because decays exponentially and uniform convergence holds on every compact subset of the complex plane. This proves meromorphic continuation of the completed Riemann zeta function, with only the displayed simple poles, and the right side is invariant under . Therefore
The Gamma reflection formula and Gamma duplication formula give the equivalent form , understood by meromorphic continuation. Multiplication by gives the entire Riemann xi function .
Let count positive ordinates of Nontrivial zeros of the Riemann zeta function up to height , including multiplicity. The Riemann–von Mangoldt formula is
More precisely, away from ordinates of zeros, the constant term is , the additional term is , and the remaining error is . Here the argument is continued along , and . The coarse formula displayed above holds at all large heights with the usual right-continuous counting convention. Subtract it at and : the main term changes by and each error is . Hence
For infinitely many reciprocal-logarithmic gaps between zeta zeros, fix any , for example . Suppose all sufficiently late gaps satisfied . Summing and using
gives . The last elementary estimate follows by integral comparison with and one integration by parts. The Riemann–von Mangoldt formula would imply
a contradiction. This reasoning is valid whether repeated ordinates are listed according to multiplicity or only distinct ordinates are listed, since in either case . Consequently infinitely often, for any fixed .
Write for the Chebyshev theta function and for the Second Chebyshev function, where is the Von Mangoldt function. We first establish the Chebyshev estimate. Every prime divides the central binomial coefficient , so
Apply this at successive powers of two and use monotonicity to obtain . Since
the terms contribute and therefore . This Chebyshev estimate from central binomial coefficients is all the information about the distribution of primes needed here.
The Von Mangoldt divisor identity gives the factorial proof of Mertens first theorem. With , interchange the finite sums to obtain
Comparison of with gives . Dividing the preceding identity by , using and the Chebyshev estimate, gives
The contribution of higher prime powers is bounded independently of , because
Thus the Mertens first theorem is
For the square-root logarithmic sum over primes, apply partial summation to with weight . The lower endpoint is understood as , so
The main terms are and . The bounded error in produces a bounded integral, since . Therefore
Neither argument uses the Prime number theorem.

Pinned article: Introduction to the OurBigBook Project

Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
We have two killer features:
  1. topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculus
    Articles of different users are sorted by upvote within each article page. This feature is a bit like:
    • a Wikipedia where each user can have their own version of each article
    • a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
    This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.
    Figure 1.
    Screenshot of the "Derivative" topic page
    . View it live at: ourbigbook.com/go/topic/derivative
  2. local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:
    This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
    Figure 5. . You can also edit articles on the Web editor without installing anything locally.
    Video 3.
    Edit locally and publish demo
    . Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension.
  3. https://raw.githubusercontent.com/ourbigbook/ourbigbook-media/master/feature/x/hilbert-space-arrow.png
  4. Infinitely deep tables of contents:
    Figure 6.
    Dynamic article tree with infinitely deep table of contents
    .
    Descendant pages can also show up as toplevel e.g.: ourbigbook.com/cirosantilli/chordate-subclade
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact