Let $(u_n(x))$ be a sequence of functions in $(0,\infty)$ such that: $u_1(x)=x$, $u_{n+1}=\frac12\left(u_n(x)+\frac1{u_n(x)}\right)$ for $n\in\mathbb{N}$. Check if $u_n(x)$ converge unfiormly in $[a,b]$ when $0<a<b$.
I tried to show that $u_n(x)\to{x}$ by showing that $(u_n(x))$ is monotone, but didn't succeed. I would like to get a hint.
Assuming $x > 0$. For each $x$, we can show that $u_n(x) \to 1$ as $n \to \infty$ as follows:
If $u_0(x) < 1$, then $u_1(x) > 1$.
If $u_n(x) \ge 1$ for any $n$, then $u_{n+1} - u_n = \frac 12\left(\frac 1{u_n(x)} - u_n(x)\right) < 0$ and $u_{n+1}(x) = \frac 12\frac{(1-u_n(x))^2}{u_n(x)} + 1$. Therefore, the sequence $u_n(x)$ is monotonically decreasing and bounded below by $1$ when $n > 0$, hence convergent.
We can now take the limit $n \to \infty$ in the relation $u_{n+1}(x) = \frac 12\left(u_n(x) + \frac 1{u_n(x)}\right)$ to get $u(x) = \frac 12\left(u(x) + \frac{1}{u(x)}\right)$ where $u(x)$ is the pointwise limit of $u_n(x)$. The equation is quadratic: $$ u(x)^2 - 1 = 0. $$ However, we already know that $u_n(x) \ge 1$ for all $x > 0$, so $u(x) = 1$.
Next, we show that the convergence is uniform in any closed interval $[a, b]$ inside $(0, \infty)$. Let $s_n = \sup_{x\in[a,b]}u_n(x)$ for $n > 0$. (We use the fact that $x \in [a, b]$ here to show that $s_1 < \infty$.) We see that for $n > 0$, $s_n \ge 1$ and \begin{align*} s_{n+1} & = \frac 12\sup_{x\in[a,b]}\left(u_n(x) + \frac{1}{u_n(x)}\right)\\ & \le \frac 12 s_n + \frac 12 \\ s_{n+1} - 1 & \le \frac 12 (s_n - 1). \end{align*} Hence $s_n \to 1$ as $n \to \infty$. We can now conclude that $u_n \to 1$ uniformly.