Proof for Wallis Product

Fun Practice!

Using integration by parts, if In=∫0πsinnθdθ. Prove that In=n−1nIn−2

Let

In=∫0πsinn⁡θdθ

Via integration by parts, solving for In.
∫u′v=uv−∫uv′ where (u′=sin⁡θ, v=sinn−1⁡θ)

∫sinn⁡θdθ=−cos⁡θsinn−1⁡θ+∫cos2⁡θ(n−1)sinn−2⁡θdθ=−cos⁡θsinn−1⁡θ+∫(1−sin2⁡θ)(n−1)sinn−2⁡θdθ=−cos⁡θsinn−1⁡θ+(n−1)[∫sinn−2⁡θdθ−∫sinn⁡θdθ]In=−cos⁡θsinn−1⁡θ+(n−1)[In−2−In]nIn=−cos⁡θsinn−1⁡θ+(n−1)[In−2]In=1n[−cos⁡θsinn−1⁡θ+(n−1)(In−2)]0π=n−1nIn−2

So we proved that

In=n−1nIn−2

Since I0=π. Thus

I2n=π∏k=1n2k−12k

And I1=2

I2n+1=2∏k=1n2k2k+1

The inequality below holds because sin⁡θ∈[−1,1] which gets smaller as n increases. Thus we are summing up smaller values of sinn⁡θ as n increases.

I2n+1≤I2n≤I2n−1

I2n+1 is given as

I2n+1=2n2n+1I2n−1

The limit of I2n−1I2n+1 as n approaches infinity is

limn→∞I2n−1I2n+1=limn→∞2n+12n=1

Using our inequality previously, dividing it throughout by I2n+1, and taking the limit of n to ∞

1≤I2nI2n+1≤1

Thus,

limn→∞I2nI2n+1=1

We can thus substitute the previously defined values for In and I2n+1

I2nI2n+1=π2∏k=1∞2k−12k2k2k+11=π2∏k=1∞4k2−14k2

Thus we have formulated the proof that

π=2∏k=1∞(4k24k2−1)