summation by parts, with , gives for an integer
The boundary term tends to zero when because is bounded. In the original region of absolute convergence this proves
For a compact subset of , choose below all its real parts and bound there. The integral tail is bounded by a constant times , uniformly on that compact set. Its truncated integrals are holomorphic function in , so locally uniform convergence proves a analytic continuation throughout . This is holomorphy of a Dirichlet series from bounded partial sums.
The Euler product, valid for , is
Expand the logarithms of these absolutely convergent Euler products. Writing , the logarithm of the product in the desired inequality is
For odd , is or . In the first case the numerator is the given nonnegative trigonometric polynomial. In the second replace by , which changes the sign of and leaves unchanged. At the numerator is . Every summand is nonnegative. Exponentiation proves
This is the three-four-one inequality for Euler products applied to the real character modulo four.
Suppose and . Holomorphy gives as . The only pole of the Riemann zeta function is at one, so remains bounded, while . The displayed product is then , contradicting its lower bound. Hence for .
At the last zeta factor also has a pole, so that contradiction no longer follows from the inequality. Instead evaluate the convergent alternating series:
For rigor, integrate the finite geometric identity for ; the remainder has absolute integral at most and tends to zero. summation by parts above identifies this value with the analytic continuation at one.
For a positive integer , a Dirichlet character modulo is a group homomorphism , extended periodically to the integers and set equal to zero on integers not coprime to . Its nonzero values are roots of unity. For , its Dirichlet L-function is the absolutely convergent Dirichlet series
Complete multiplicativity of proves the Euler product by expanding each factor as a geometric series and applying unique integer factorization; absolute convergence justifies these rearrangements.
Suppose is a nonprincipal Dirichlet character. Choose a unit with . Multiplication by permutes a complete residue system, so , and the sum is zero. Consequently is bounded: complete periods contribute zero and the remaining incomplete period has at most terms. The Abel summation formula gives, initially for ,
For the integral converges, locally uniformly together with its derivatives in , because on a compact set with the differentiated integrands are bounded by constants times . Thus holomorphy of a Dirichlet series from bounded partial sums proves
For a nonreal , the character is also nonprincipal. The supplied logarithmic Euler product yields, for real ,
At a prime dividing the numerator is . At every other prime put ; then the numerator is . This Euler product positivity for L-function nonvanishing proves that the product inside the logarithm is at least one. If , its holomorphy would give . Meanwhile is bounded near one and the Riemann zeta function has a simple pole there. The product would therefore be and tend to zero, a contradiction.
For a real nonprincipal , suppose instead that . The product would then be holomorphic on the whole half-plane , because the zero cancels the only zeta pole there. In it has coefficients
These are nonnegative zeta-times-real-L coefficients. They are multiplicative, and their prime-power values are if , one or zero according as is even or odd if , and one if . In particular and for every .
The Taylor series of the assumed holomorphic about converges in the disk . Termwise differentiation of its absolutely convergent Dirichlet series at gives . Evaluate the Taylor series at and apply the Tonelli theorem to the resulting nonnegative terms:
This contradicts holomorphy at . The argument is the positive-coefficient mechanism of the Landau theorem for a Dirichlet series with nonnegative coefficients, with the needed step proved explicitly. Combining the real and nonreal cases gives the nonvanishing of a nonprincipal Dirichlet L-function at one:
Now let be coprime to . The Dirichlet theorem on primes in arithmetic progressions asserts that infinitely many prime numbers satisfy . To prove it, separate the first-power terms in the given logarithmic Euler product:
For , the remainder is bounded uniformly by
For a nonprincipal character, holomorphy and nonvanishing near one give a local holomorphic logarithm. Along a short real interval to the right of one, this logarithm and the supplied continuous logarithm differ by a fixed integer multiple of . Hence the prime-character sum near one is bounded:
For the principal Dirichlet character ,
The latter follows from the simple zeta pole and the bounded remainder. Finally Orthogonality of Dirichlet characters gives
Here is the Euler totient function. The right-hand side tends to infinity as , whereas a finite set of primes would give a bounded left-hand side. Therefore