I got the following problem in a chapter of approximations:
If $\frac{m}{n}$ is an approximation to $\sqrt{2}$ then prove that $\frac{m}{2n}+\frac{n}{m}$ is a better approximation to $\sqrt{2}.$(where $\frac{m}{n}$ is a rational number)
I am stuck in this problem. Any help will be appreciated.
The claim is false without additional assumptions on $\frac mn$. For example if $\frac mn=\frac1{10}$ then your next guess is $10.05$ which is further away from $\sqrt 2$. The claim is true, however, if we impose a condition like $\frac mn>1$.
Write $x=\frac mn$. You want to show that $\frac x2 +\frac1x$ is closer to $\sqrt 2$ than $x$ is. In other words, show: $$ \left|{\left(\frac x2+\frac1x\right)-\sqrt2\over x-\sqrt2}\right|<1.\tag1 $$ By algebra we have: $$ \left|{\left(\frac x2+\frac1x\right)-\sqrt2\over x-\sqrt2}\right|=\left|{x-\sqrt 2\over 2x}\right|\tag2 $$ (the identity is true even without the absolute values.)
If we assume $x>1$, we can argue by cases that the RHS of (2) is less than one:
If $1<x\le\sqrt 2$ then $|x-\sqrt2|=\sqrt 2-x<2<2x=|2x|$.
If $x>\sqrt 2$ then by the triangle inequality $|x-\sqrt2|\le x+\sqrt2< x+x=|2x|$.