If \(r\) is a positive rational approximation to \(\sqrt{2}\), then show that \(\frac{r+2}{r+1}\) is always a better rational approximation.
we need to show error in second case is less sqrt2-r/sqrt2 >sqrt2-(that value)/sqrt2 we can reduce that to r>r+2/r+1
i ignored absolute value :\
Exactly! for example, if you choose \(r=1\) to approximate \(\sqrt{2}\), then \(\frac{1+2}{1+1} = 3/2\) is more closer to \(\sqrt{2}\) than \(1\) is.
please finish off the proof @ikram002p i think you had the right start
.
we need to show that \( \Large |\sqrt2-r|> | \sqrt2 -\frac{r+2}{r+1}| \)
Yes, that will do.
maybe we can start with right hand side
as we are interesting in positive error only \(\Large \sqrt{(\sqrt2-r)^2} > \sqrt {(\sqrt2 -\frac{r+2}{r+1})^2 } \) which reduce it only to show \(\Large r>\frac{r+2}{r+1} \)
Ahh I see that looks neat!
type it again
\[ \begin{align} \left| \sqrt2 -\dfrac{r+2}{r+1}\right|&= \left| \dfrac{\sqrt2(r+1) -r-2}{r+1}\right|\\~\\ &=\left| \dfrac{\sqrt2(r-\sqrt2) -1(r-\sqrt2)}{r+1}\right|\\~\\ &=\left| \dfrac{(\sqrt2-1)(r-\sqrt2) }{r+1}\right|\\~\\ &\le\left| (\sqrt2-1)(r-\sqrt2) \right|\\~\\ &\lt \left|r-\sqrt{2}\right| \end{align}\]
:D
Question: why don't we use the condition: r is a positive rational approaximation to \(\sqrt 2\)?
how is that would be useful @Loser66 ?
Suppose \(r =\dfrac{a}{b}\) is approaximation of \(\sqrt 2\) that is \(\sqrt 2\approx \dfrac{a}{b}\\b\sqrt 2\approx a\) Now \(\dfrac{r+2}{r-1}=\dfrac{(a/b)+2}{(a/b)-1}=\dfrac{a+2b}{a-b}\)\) Make a comparison between \(\dfrac{r+2}{r-1}=\dfrac{a+2b}{a-b}\) and \(\dfrac{a}{b}\)
By replacing \(a\approx b\sqrt2\) we can get the result, right?
interesting in which way this comparison could be ? :D
I don't know :)
Join our real-time social learning platform and learn together with your friends!