Computing Infinite Continued Fractions

8.7k Views Asked by At

I am looking for "tricks" used to compute infinite continued fractions. For example, $$1+\cfrac{1}{1+\cfrac{1}{1+\cfrac{1}{\ddots}}}$$ is the golden ratio since if we denote it by $x$, then we have $$x=1+\frac{1}{x},$$ which simplifies to $$x^2-x-1=0$$

Are there any other (different/elegant) examples of ways to compute infinite continued fractions?

3

There are 3 best solutions below

2
On BEST ANSWER

This is an expansion of @AndréNicolas’s excellent comment. If the c.f. repeats, then your method works equally well. Take the fraction $$ x=\frac1{2+}\,\frac1{1+}\,\frac1{2+}\,\frac1{1+\cdots}\,, $$ in which you have $$ x=\frac1{2+\frac1{1+x}}=\frac{1+x}{2+2x+1}\,, $$ which you can solve to get a quadratic whose only positive root is $(\sqrt3-1)/2$. If the repetition takes over only after a while, it’s only a little more complicated.

0
On

This Infinite Continued Fractions can be written in many different way. $$ \frac{1}{1} ;\frac{1}{1+\frac{1}{1}};\frac{1}{1+ \frac{1}{1+\frac{1}{1}}};\frac{1}{1+ \frac{1}{1+ \frac{1}{1+\frac{1}{1}}}} ... $$

like this:

$$ \frac{1}{1} ;\frac{1}{2};\frac{3}{2};\frac{5}{3};\frac{8}{5};\frac{13}{8};\frac{21}{13}... $$

there is a Infinite series: $$\frac{13}{8} + \sum_{n=0}^{\infty} \frac{(-1)^{n+1}(2n + 1)!}{(n + 2)!n!(4)^{2n+3}}$$

the limit of this sequance is $\phi=\frac{1 + \sqrt{5}}{2} = 1.680339887...$

also $\phi=\frac{1 + \sqrt{5}}{2}$ is a root of $\phi^{2}-\phi-1=0$

0
On

If you define $x_0=1$, $x_1=1+\frac{1}{1}=1+\frac1{x_0}$, $x_2=1+\frac{1}{1+\frac{1}{1}}= 1+\frac{1}{x_1}$, you can express the continued fraction as the limit of the sequence $x_{n+1}=1+\frac{1}{x_n}$.

Finally, this limit can be computed as the fixed point of the function $f(x)=1+\frac{1}{x}$; that is, $$ x=1+\frac1x\quad \Rightarrow x^2-x-1=0. $$ So, the limit is the (positive) solution of this ecuation, that is, the golden ratio $$ \Phi=\frac{1+\sqrt5}{2} $$

As you can see, it is easy to extend this principle to a wide set of similar problems.