Home> urticator.net Search About This Site > Domains Glue Stories Computers Driving Games Humor Law > Math Numbers Science > Continued Fractions Game Theory (Section) Group Theory Probability Miscellaneous Approximation Quality Two Examples The Markov Equation Equivalence The Markov Constant The Pattern Group Elements and Matrices The Random Thoughts Symmetries Chains and Denominators The Discriminant Properties of Rotations Reflection Symmetry A Nice Correspondence > Epilogue The True Pattern Mutations Some Definitions
Bibliography
|
The True FormulaIt's fairly easy to prove that the values u, v, and w in a Markov solution are pairwise relatively prime. The proof uses a type of induction that moves upward through the tree instead of downward. If a number d is a divisor of two values in the (normalized) solution (u,v,w), then it's a divisor of the same two values in the (unnormalized) parent solution (3vw − u,v,w), so by induction it must be a divisor of two values in the root solution (1,1,1). You can say that's a contradiction, or you can say that therefore d = 1, as you like. In particular, v and w are relatively prime to u. That means we can think of them as elements of the group Uu of integers relatively prime to u under multiplication mod u, and that means we can run the following little algorithm that I learned about from [Aigner].
The result, called the characteristic number of the solution, is exactly the number t from the previous essay! Doing modular arithmetic here is bizarre, and doing modular arithmetic and then asking which number is smaller is super fishy, so how can that algorithm possibly work? Part of the answer is that we chose the origin of t correctly, but most of the answer is that I don't know because I haven't gotten to that part of the book yet. However, I suspect the answer will be too complicated for me to summarize effectively. Sorry! Now let's use the little algorithm to have some fun. Given a solution, we can write down the matrix T(u) directly, without working our way down from the root of the tree.
We can compute the expansion from the matrix, as discussed at the end of Six Operations. We can write down the rational value (again).
value(T(u)) = 2 + t/u We can even write down the irrational value that we get when we let the expansion repeat, as discussed in Group Elements and Matrices.
(1/2u) [ u + 2t + root D ] The definitions of D and M ought to be familiar by now.
The number above is a representative of the equivalence class with Markov number M. In fact, it's the best representative, because the non-repeating part is empty and the repeating part is the true pattern, not some rotation. The formula above is remarkably similar to the two incorrect formulas that we saw at the start of The Pattern. Let's take a look at where those formulas went wrong. The first formula, from [Hua], can be corrected with only two small adjustments.
(1/2u) [ u + (2v/w) + root D ] First, we need to reinterpret v/w, a quotient of integers, as vw−1, a quotient mod u followed by normalization. Second, we need one new fact. Remember how the solutions of the true pattern look like (v,u,w)? And how v and w are in a definite order that alternates between v > w and v < w? (See the end of Mutations.) Well, if we have a solution in that order, then vw−1 is smaller than wv−1, so that t = vw−1. I haven't seen a proof of that yet, but I've verified it by experiment. The second formula, from Wikipedia ([MC]), can also be corrected with only two small adjustments.
(1/2u) [ 2t − 3u + root D ] First, we need to add 2 to turn negative 3u into positive u. I guess someone didn't like the natural range (2 1/3,2 1/2)? Second, in that formula, t was defined to be the smallest positive integer such that t2 + 1 is divisible by u, but we need to redefine it to be the characteristic number. That sounds like a large adjustment, but let me point out a few things. On the one hand, the matrix T(u) contains integers. On the other hand, we know that the entry in the upper right corner looks like this.
b = 2u − t − (t2 + 1)/u Therefore, for the characteristic number, t2 + 1 must be divisible by u. That last sentence is super awkward and doesn't give me any intuition. We can do better! For any number j, if j2 + 1 is divisible by u, then j2 + 1 ≡ 0 mod u, or equivalently, j2 ≡ −1. In other words, j is a square root of −1! As a result, it shares some properties with the complex number i.
Now let's look back at the two numbers vw−1 and wv−1 from the little algorithm. One became the characteristic number t, so it's a square root of −1, but then the other is the inverse, …
(vw−1)(wv−1) = v(w−1w)v−1 ≡ vv−1 ≡ 1 … so it's equal to −t, so it's also a square root of −1. With that information, we can rephrase the second adjustment so that it's obviously small.
… t was defined to be the smallest square root of −1, but we need to redefine it to be the smaller of two numbers that are both square roots of −1. Is that even an adjustment at all? It is, but only because for some values of u, the group Uu contains more than two square roots of −1. The first such value is u = 610, where there are two pairs of square roots, and the smallest happens to be one of the wrong pair. The details are fascinating, but I'll hide them in a big footnote. I also hid an important fact in the middle of a sentence above: “the other is … equal to −t”. To be more precise, as a group element we know that the other is equal to −t, but as a number we only know that it's congruent to −t. But, we also know that it lies in the range (0,u), and that's enough to pin it down: u − t. That fact gives us two more ways to approach the formula from [Hua]. For reference, here's the current approach: make sure that the solution (v,u,w) is in the right order, then compute vw−1 and use it. New approach #1: just compute vw−1 and use it.
We can do better by understanding why vw−1 happens to have one value or the other, but first we'll need to know one little fact that's almost too obvious to mention. Since vw−1 and wv−1 are equal to t and u − t in some order, we know what they add up to.
vw−1 + wv−1 = t + (u − t) = u New approach #2: compute vw−1, then compute t and use that in place of vw−1.
Or, we can avoid the cases, reduce code complexity, and maybe even speed things up by using the following equation instead.
t = min(vw−1,u − vw−1) Of course, as soon as we use t in place of vw−1, we don't really have the formula from [Hua] any more, we have the true formula plus two nearly identical ways to speed up the little algorithm by a factor of two. That's the end of the long and convoluted story of the incorrect formulas. What about the special cases u = 1 and u = 2? There are four points I'd like to make.
That's the last word about special cases.
|
See AlsoSome Definitions @ May (2025) |