I'm interested in the arithmmetic of continued fractions and specially in multiplication. Consider $$ f(x)=\cfrac{f_{0}(x)}{1-\cfrac{f_{1}(x)}{1+f_{1}(x)-\cfrac{f_{2}(x)}{1+f_{2}(x)-\cfrac{f_{3}(x)}{1+f_{3}(x)-\cdots}}}} $$


$$ g(x)=\cfrac{g_{0}(x)}{1-\cfrac{g_{1}(x)}{1+g_{1}(x)-\cfrac{g_{2}(x)}{1+g_{2}(x)-\cfrac{g_{3}(x)}{1+g_{3}(x)-\cdots}}}} $$

Are there arithmetic rules (algorithms) for the multiplication of continued fractions? Specifically, is it possible to obtain a continued fraction $h(x)=f(x)\cdot g(x)$ where

$$ h(x)=\cfrac{h_{0}(x)}{1-\cfrac{h_{1}(x)}{1+h_{1}(x)-\cfrac{h_{2}(x)}{1+h_{2}(x)-\cfrac{h_{3}(x)}{1+h_{3}(x)-\cdots}}}} $$

I've found this, but I'd like more. Does anyone here knows of papers, algorithms, etc?


Update 1: Another link.

  • $\begingroup$ Well, there's always Wikipedia... $\endgroup$ – shezi Oct 26 '11 at 12:51

Bill Gosper has invented an algorithm for performing analytic addition, subtraction, multiplication, and division using continued fractions. It requires keeping track of eight integers which are conceptually arranged at the polyhedron vertices of a cube. Although this algorithm has not appeared in print, similar algorithms have been constructed by Vuillemin (1987) and Liardet and Stambul (1998)

For illustration how to perform some continued fraction arithmetic see this.

  • 3
    $\begingroup$ Also here. $\endgroup$ – J. M. is a poor mathematician Oct 28 '11 at 14:30
  • 2
    $\begingroup$ To expand on J.M.'s comment: This is a verbatim copy of the wolfram alpha page @J.M. is linking to. See also this answer where the same thing happened, a bit more shamelessly. $\endgroup$ – t.b. Oct 28 '11 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.