Home> urticator.net Search About This Site > Domains Glue Stories Computers Driving Games Humor Law > Math Numbers Science Continued Fractions The Markov Project > The Markov Project (Epilogue) Game Theory (Section) Group Theory Probability Miscellaneous The True Pattern Mutations Some Definitions The True Formula > More About Symmetry Bibliography A Generalization
The First Question Details About Operations |
Matrices That Represent Continued FractionsIn fact, we can answer the second question in complete generality. If a matrix represents a continued fraction, then we immediately know that the determinant is ±1 and that the denominators (qn−1,qn−2) in the second row satisfy qn−1 > qn−2 > 0, with some exceptions of course. It turns out that those conditions are not just necessary but also sufficient. Let's start the proof by disposing of the exceptions.
What about the non-exception case? We want to prove that the matrix represents a continued fraction, and the best way to do that is to produce the continued fraction that it represents. So, remember this old equation?
qn−1 = an−1qn−2 + qn−3 What it means here is that if we divide qn−1 by qn−2, the quotient is the coefficient an−1 and the remainder is the previous denominator qn−3. Then we can divide qn−2 by qn−3, and so on. We can regard the entire process either as the Euclidean algorithm applied to qn−1 and qn−2 or as the first algorithm applied to the rational number qn−1/qn−2. But, we already know the result of the latter from Triangles and The Discriminant.
qn−1 / qn−2 = [an−1, an−2, an−3, … , a3, a2, a1] The first algorithm only produces proper forms, but the expansion above can be proper or improper. How do we know which form to choose? And how do we determine a0? Let's resolve those two questions by looking at some examples. Suppose we have the following matrix.
When we divide 37 by 16, we can compute not just the previous denominator but also the previous numerator, like so.
In that way we can run the second algorithm backward all the way to the start. That demonstrates that the matrix really does represent a continued fraction.
The only complication is that when the denominator becomes zero, we can't divide by it, so instead we have to get the coefficient a0 = 6 from the numerator immediately below. Now let's look at a different matrix with the same denominators.
When we run the second algorithm backward, we get into trouble. When the denominator becomes zero, the numerator becomes −1 instead of 1.
Fortunately, all we have to do to get out of trouble is choose the improper form of qn−1/qn−2, that is, [2,3,4,1] instead of [2,3,5].
Is it suspicious that the second example is the same-denominator form of the first? No. The only other way to get the same denominators is to change a0, not an interesting change. Can we get into trouble in any other ways? No.
|
See Also@ December (2025) |