From 0<y0<x0 iterate xn+1=(xn+yn)/2, yn+1=xnyn. Use (xn−yn)2 to prove yn<yn+1<xn+1<xn. Show yn converges to some M, the positive gap shrinks by a factor strictly less than 1/2 at each step, and xn has the same limit. You may use convergence of bounded increasing sequences. For p>q>0 define I(p,q)=∫0∞[(p2+x2)(q2+x2)]−1/2dx. With a=(p+q)/2 and b=pq, substitute t=(x−pq/x)/2 in ∫−∞∞[(a2+t2)(b2+t2)]−1/2dt to show I(p,q)=I(a,b). Evaluate I(x0,y0) in terms of M.
Show final result
M is the common arithmetic–geometric mean of the initial values. The invariant integral lies between π/(2xn) and π/(2yn) at every step, so its value is π/(2M).