The double-angle formula gives
For , the logarithm of the absolutely convergent Euler product gives
Exponentiation proves
Suppose for , of order . As , its middle factor is , the first is because the pole at one is simple, and the final factor is bounded because . The product is , contradicting the lower bound one. Therefore
This is the three-four-one zero-free-region argument specialized to the line with real part one.
The homogeneous linear differential equation has general solution . For a particular solution, use variation of parameters with , and Wronskian one:
The double-angle formulas and integration by parts give
Substitution simplifies to . Absorb the last term into the homogeneous linear differential equation solution. Therefore
Indeed, applying to gives , and applying it to gives ; their difference divided by four is the required .
Euler's formula and its version with give
Squaring and comparing real and imaginary parts with yields the double-angle formulas
The complex conjugate is . From the complex sine and cosine identities,
Divide these expressions and multiply by the complex conjugate of the denominator. Its squared modulus is . The numerator simplifies using and the double-angle formulas. Thus
These expressions apply except at the poles , with integer , where the original tangent function is undefined.
The double-angle formula gives . Setting reduces the equation to . On , the sine is nonnegative, so only is allowed. Therefore
The cardioid has a nonnegative radial boundary, so each ray from the origin contributes . Integrating the polar coordinates area element yields
The three angular integrals are , zero and , respectively, using the double-angle formula for the last. Thus
Choose the trigonometric substitution with . The cosine is nonnegative there, so and . The double-angle formula then gives
Since and ,
The formula is an antiderivative on and has continuous endpoint values at .
Using the Pythagorean trigonometric identity and the double-angle formula,
The required value therefore occurs when . Within , the only possibilities are and . Hence
Equivalently equality requires .