You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thus, $r_k$ is a weighted [mediant](https://en.wikipedia.org/wiki/Mediant_(mathematics)) of $r_{k-1}$ and $r_{k-2}$.
107
107
108
+
## Geometric interpretation
109
+
110
+
If convergents $r_0, r_1, \dots$ are treated as 2-dimensional vectors $\vec r_k=(p_k;q_k)$, the mediant formula above turns into
111
+
112
+
$$\vec r_k = a_k \vec r_{k-1} + \vec r_{k-2}.$$
113
+
114
+
To better understand geometric meaning of $\vec r_k$ we need to look closer into computation of $a_k$. Previously we investigated _convergents_ $r_k = [a_0, a_1, \dots, a_k]$. Let's now look on _residuals_ $s_k = [a_{k}, a_{k+1}, \dots]$. From their definition it holds that
Thus, $b_{k+1}=c_k$ and $c_{k+1} = b_k - c_k a_k = c_{k-1} - c_k a_k$. This expression looks very close to the continuant and from the starting points $s_0=\frac{r}{1}$ and $s_1 = \frac{1}{r-a_0}$ one may derive the explicit formula for $c_k$:
123
+
124
+
$$c_k = P_{k-1}(r-a_0, -a_1, \dots, -a_{k-1}).$$
125
+
126
+
Taking into consideration the continuant properties (which follow from its determinant representation)
On the other hand, $a_k$ may be defined as $a_k = \lfloor s_k \rfloor$, thus we have more explicit expression for $a_k$ as well.
142
+
108
143
## Convergence
109
144
110
145
Now that we have some explicit formulas for convergent numbers, let's estimate their distance to the final number $r$. First of all, we can estimate the difference between adjacent convergents:
0 commit comments