All published worksheets from http://sagenb.org
Image: ubuntu2004
Lets define four matrices I,S,T,L as follows:
$ I = \left( ParseError: KaTeX parse error: Unknown column alignment: a at position 15: \begin{array}{a̲|b}1&0\\0&1\end… \right)$; $ S = \left( ParseError: KaTeX parse error: Unknown column alignment: a at position 15: \begin{array}{a̲|b}0&1\\1&0\end… \right)$; $ T = \left( ParseError: KaTeX parse error: Unknown column alignment: a at position 15: \begin{array}{a̲|b}0&1\\1&1\end… \right)$; $ L = \left( ParseError: KaTeX parse error: Unknown column alignment: a at position 15: \begin{array}{a̲|b}0&1\\-1&0\en… \right)$;
For every continued fraction (CF) in cannonical form we may represent continuant matrix for that fraction ( n-order continuant if x is irrational number) in the following form:
ParseError: KaTeX parse error: Unknown column alignment: a at position 51: … \begin{array}{a̲|b} a & b + c +…
Matrices are lineary independent and so they form standard base in 2x2 linear matrix space. we build ring over rational numbers over this space, I wil call it . Multiplication table or this ring You may find below.
generator | I | S | T | L=[S,T] |
I | I | S | T | L |
S | S | I | I+(1/2)S+(1/2)L | -I-2S +2T |
T | T | I+(1/2)S-(1/2)L | I+T | -I-(5/2)S +2T +(1/2)L |
L | L | I+2S-2T | I+(5/2)S -2T +(1/2)L | -I |
If we consider continued faction here we have additional requirements, that is . So we have to consider not fully general decompositions but only subset of numbers for which M has required determinant , namely set for which then we get elements of the ring which may represents elements from original monoid and thus may be represeentation of continued fractions.
So set W of a,b,c,d such that is some algebraic curve inside of ideal of monoid ring .
Below we will show the equation for this curve, which is quadrics.
As we see requirements may be expressed, in vector space as where T is transpositon and is symmetrical bilinear ( quadric) form. It is quadrics equation. It is worth to note that we may change into diagonal form by similarity transformation of , and that it has signature
Below we play with linear algebra and define two important functions:
MCFFR(x,n) above returns matrix of n-th continuants as in formula below:
ParseError: KaTeX parse error: Unknown column alignment: a at position 35: … \begin{array}{a̲|b}h_{n-1}& h_{…
Now usning defined above we may define function, which for given continuant matrix M returns coresponding continued fraction:
where is of course trace matrix operation. As by definition ( see for example Wikipedia definition ) we have
Further analysis gives us expressions for $ K_{n+1}(a_{0},a_{1},a_{2} \ldots a_{n}) $ polynomials itself:
$K_{n+1}(a_{0},a_{1},a_{2} \ldots a_{n}) =\frac{1}{2} Tr \left( M(S- L) \right) $