We would like to prove that
π=14−34+54−74+94⋯This is a corollary of the Leibniz's Formula
Theorem.
arctan(x)≐n=0∑∞(−1)n2n+1x2n+1,∀x∈[0,1].
Substituting x=1 establishes formula (1).
Proof.
First, observe that
arctan′(t)=1+t21=n=0∑∞(−1)nt2n,∀t∈[0,1).For each x∈[0,1), Since the sequence ∑n=0∞(−1)nt2n converges uniformly for t∈[0,x),
arctan(x)=∫0xarctan′(t)dt=∫0xn=0∑∞(−1)nt2ndt=n=0∑∞∫0x(−1)nt2ndt=n=0∑∞(−1)n2n+1x2n+1.It is left to prove that the last equality also holds for x=1.
This is a result of the following lemma, which is a special case of the Abel's test.
Lemma. Let
f(x)≐n=0∑∞(−1)n2n+1x2n+1,∀x∈[0,1].Then f(1) is well-defined, and is left-continuous at x=1.
Proof 1 of Lemma.
Note that
A≐f(1)=n=0∑∞(−1)n2n+11.It is easy to see that the sequence converges, and hence f(1) is well-defined.
Define
sn=ℓ=0∑n(−1)ℓ2ℓ+11,∀n∈N.Then for integers n,m∈N+ s.t., n≥m+1, we have
fn(x)−fm+1(x)=ℓ=m+1∑n(sℓ−sℓ−1)x2ℓ+1=snx2n+1−smx2m+3+ℓ=m+1∑n−1sℓ(x2ℓ+1−x2ℓ+3)=snx2n+1−smx2m+3+(1−x2)ℓ=m+1∑n−1sℓx2ℓ+1.Given ϵ>0, ∃N∈N, such that
$
|s_\ell - A| \le \epsilon, \forall \ell \ge N.
$
Hence,
≤≤=snx2n+1−smx2m+3+(1−x2)ℓ=m+1∑n−1sℓx2ℓ+1(A+ϵ)x2n+1−(A−ϵ)x2m+3+(1−x2)ℓ=m+1∑n−1(A+ϵ)x2ℓ+1(A+ϵ)x2n+1−(A−ϵ)x2m+3+(1−x2)⋅(A+ϵ)⋅1−x2x2m+3−x2n+12⋅ϵ⋅x2m+3.On the other hand,
≥≤=snx2n+1−smx2m+3+(1−x2)ℓ=m+1∑n−1sℓx2ℓ+1(A−ϵ)x2n+1−(A+ϵ)x2m+3+(1−x2)ℓ=m+1∑n−1(A−ϵ)x2ℓ+1(A−ϵ)x2n+1−(A+ϵ)x2m+3+(1−x2)⋅(A−ϵ)⋅1−x2x2m+3−x2n+1−2⋅ϵ⋅x2m+3.Therefore,
∣fn(x)−fm+1(x)∣≤2⋅ϵ.□
Proof 2 of Lemma.
Note that
A≐f(1)=n=0∑∞(−1)n2n+11.It is easy to see that the sequence converges, and hence f(1) is well-defined.
Define
sn=ℓ=0∑n(−1)ℓ2ℓ+11,∀n∈N.
Since limn→∞n∣sn∣=1, the following series converge
h(x)≐n=0∑∞snx2n+1,x∈[0,1).Hence, for each x∈[0,1),
h(x)−x2⋅h(x)=(1−x2)⋅n=0∑∞snx2n+1=s0+n=1∑∞(sn−sn−1)x2n+1=f(x).Given ϵ>0, ∃N∈N, such that
∣sn−A∣≤ϵ,∀n≥N.Then for each x∈[0,1),
(1−x2)⋅n=N∑∞snx2n+1−(1−x2)⋅n=N∑∞A⋅x2n+1≤ϵ⋅(1−x2)⋅1−x21≤ϵ.But
x→1−lim(1−x2)n=N∑∞A⋅x2n+1x→1−lim(1−x2)n=0∑Nsnx2n+1=x→1−limA⋅x2N+1=A,=0.□