Euler's infinite product for the sine function #
This file proves the infinite product formula
$$ \sin \pi z = \pi z \prod_{n = 1}^\infty \left(1 - \frac{z ^ 2}{n ^ 2}\right) $$
for any real or complex z
. Our proof closely follows the article
Salwinski, Euler's Sine Product Formula: An Elementary Proof: the basic strategy
is to prove a recurrence relation for the integrals ∫ x in 0..π/2, cos 2 z x * cos x ^ (2 * n)
,
generalising the arguments used to prove Wallis' limit formula for π
.
Recursion formula for the integral of cos (2 * z * x) * cos x ^ n
#
We evaluate the integral of cos (2 * z * x) * cos x ^ n
, for any complex z
and even integers
n
, via repeated integration by parts.
Note this also holds for z = 0
, but we do not need this case for sin_pi_mul_eq
.
Note this also holds for z = 0
, but we do not need this case for sin_pi_mul_eq
.
Finite form of Euler's sine product, with remainder term expressed as a ratio of cosine integrals.
Conclusion of the proof #
The main theorem Complex.tendsto_euler_sin_prod
, and its real variant
Real.tendsto_euler_sin_prod
, now follow by combining sin_pi_mul_eq
with a lemma
stating that the sequence of measures on [0, π/2]
given by integration against cos x ^ n
(suitably normalised) tends to the Dirac measure at 0, as a special case of the general result
tendsto_setIntegral_pow_smul_of_unique_maximum_of_isCompact_of_continuousOn
.
Euler's infinite product formula for the complex sine function.