Given $x_1>y_1>0$ we define in a recursive way sequences $(x_n)_{n=1}^{\infty}$ and $(y_n)_{n=1}^{\infty}$ such that $$x_{n+1}=\frac{x_n+y_n}2 $$
$$ y_{n+1}=\frac{2x_ny_n}{x_n+y_n}$$
I think I can prove the first sequence is decreasing, the second one is decreasing and $x_n>y_n \space\forall n\in\Bbb{N}$. Then they both converge and both limits are equal. My doubt is : how can I calculate the value of the limit in terms of $x_1$ and $y_1$ ?
We have
$$x_{n+1}=\frac{x_n+y_n}2 $$
$$ y_{n+1}=\frac{2x_ny_n}{x_n+y_n}$$
Multiplying both members
$$ x_{n+1}y_{n+1} = x_n y_n = k $$
Now adding both equations we obtain
$$ x_{n+1}+y_{n+1} = \frac{(x_n+y_n)^2+4x_ny_n}{2(x_n+y_n)} $$
or
$$ s_{n+1} = \frac{s_n^2+4k}{2s_n} $$
If $s_n$ converges to $s_{\infty}$ then
$$ s_{\infty} = \pm 2\sqrt k $$
following with $s_{\infty} = 2\sqrt k$ and solving
$$ x_{\infty}+y_{\infty} = 2\sqrt k\\ x_{\infty}y_{\infty} = k $$
we obtain
$$ x_{\infty} = y_{\infty} = \sqrt k = x_1 = y_1 $$
I hope this helps.