Value and Solutions of Continued Fraction and Pell's Equation

  • Context: MHB 
  • Thread starter Thread starter Poirot1
  • Start date Start date
  • Tags Tags
    Fraction
Poirot1
Messages
243
Reaction score
0
Find the value of the continued fraction $1$+$\frac{1}{1+\frac{1}{2+\frac{1}{1+\frac{1}{2+...}}}}$
and use it to find two positive solutions to pell's equation $x^2-3y^2=1$
 
Last edited by a moderator:
Mathematics news on Phys.org
Poirot said:
Find the value of the continued fraction $1$+$\frac{1}{\frac{1+\frac{1}{2+\frac{1}{1+\frac{1}{2+...}}$
and use it to find two positive solutions to pell's equation $x^2-3y^2=1$

Let's suppose that You have to find a continued fraction expansion of $\displaystyle \sqrt{3}$ starting from the first step...

$\displaystyle \sqrt{3} = 1 + \frac{1}{x_{1}}$ (1)

Solving (1) respect to $x_{1}$ You obtain...

$\displaystyle x_{1} = \frac{\sqrt{3}+1}{2} = 1 + \frac{1}{x_{2}}$ (2)

Solving (2) respect to $x_{2}$ You obtain...

$\displaystyle x_{2}= \sqrt{3}+1 = 2 + \frac{1}{x_{1}}$ (3)

Now comparing (1),(2) and (3) You can conclude that...

$\displaystyle \sqrt{3}= 1 + \frac{1}{1 + \frac{1}{2 + ...}}$ (4)

Kind regards

$\chi$ $\sigma$
 
The code's not working so you have the wrong fraction
 
Hello, Poirot!

Here is part of the solution.

Find the value of the continued fraction

[tex]x \;=\;1 + \dfrac{1}{1+\dfrac{1}{2 + \dfrac{1}{1+\dfrac{1}{2+...}}}}[/tex]
We have:

$x-1 \;=\;\dfrac{1}{1+\dfrac{1}{2 + \left\{\dfrac{1}{1+\dfrac{1}{2+...}}\right\}}}$

The expression in braces is [tex]x-1.[/tex]So we have:

. . [tex]x-1 \;=\;\dfrac{1}{1 + \dfrac{1}{2+(x-1)}}[/tex]

. . [tex]x-1 \;=\;\dfrac{1}{1+\dfrac{1}{x+1}}[/tex]

. . [tex]x-1 \;=\;\dfrac{1}{\dfrac{x+2}{x+1}}[/tex]

. . [tex]x-1 \;=\;\dfrac{x+1}{x+2}[/tex]Then:

. . [tex](x-1)(x+2) \:=\:x+1[/tex]

. . . . .[tex]x^2 + x - 2 \:=\:x+1[/tex]

. . . . . . . . . . [tex]x^2 \:=\:3[/tex]

. . . . . . . . . . .[tex]x \;=\;\sqrt{3}[/tex]
 
Thanks 'Soroban'. For the last bit, is there a good formula for the convergents?
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K