Proving the Madhava-Leibniz series for pi(π) 


One of the earliest known approximations of π was done by an Indian mathematician Madhava of Sangamagrama during the 14th century and Gottfried Leibniz in 1676.
The Madhava and Leibniz series were later joined to become one which is now know as the Madhava-Leibniz series approximation of π, it is an approximation that uses alternating series by generalizing series expansion for the inverse tangent function.
The series for the inverse tangent function is defined by:
arctanx=xx33+x55x77+...
The Leibniz formula is obtained for π4 by substituting x=1 into the series. This will yield the Madhava-Leibniz series which is given by:
113+1517+19...=π4.
It can be proved as thus:
Proof:
Let π4=arctan(1)
=1011+x2dx
=10(nk=0(1)kx2k+(1)n+1x2n+11+x2)dx
=(nk=0(1)k2k+1)+(1)n+1(10x2n+21+x2dx)
The integral parts yieds
010x2n+21+x2dx10x2n+2dx=12n+30 as n
By squeeze theorem as n
π4=k=0(1)k2k+1
The series converges very slowly exhibiting sublinear convergence. Calculating π correct to 10 decimal places using direct summation of series requires about 5 billion terms because 12k+1<1010 for k>5×10912.
If the series is truncated at the right time, the decimal expansion of the approximation will agree with that of π for many more digits
3.1415924535897933238464643383279...