Value and Solutions of Continued Fraction and Pell's Equation

  • Context: MHB 
  • Thread starter Thread starter Poirot1
  • Start date Start date
  • Tags Tags
    Fraction
Click For Summary

Discussion Overview

The discussion revolves around the evaluation of a specific continued fraction and its application to finding positive solutions to Pell's equation \(x^2 - 3y^2 = 1\). Participants explore the structure of the continued fraction and its relation to the square root of 3.

Discussion Character

  • Exploratory, Technical explanation, Mathematical reasoning

Main Points Raised

  • Participants present a continued fraction representation of \(\sqrt{3}\) and derive relationships between its components, suggesting that \(\sqrt{3} = 1 + \frac{1}{1 + \frac{1}{2 + ...}}\).
  • One participant notes that the initial code provided for the continued fraction is incorrect, indicating a potential error in the formulation.
  • Another participant provides a detailed breakdown of the continued fraction, leading to the conclusion that \(x = \sqrt{3}\) through a series of algebraic manipulations.
  • A later reply inquires about formulas for the convergents of the continued fraction, suggesting interest in further exploration of the topic.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correctness of the initial continued fraction formulation, as one participant claims it is incorrect while others provide derivations based on their interpretations. The discussion remains unresolved regarding the best approach to the continued fraction and its application to Pell's equation.

Contextual Notes

Limitations include potential errors in the initial formulation of the continued fraction and the need for clarification on the convergents, which have not been fully addressed in the discussion.

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

x \;=\;1 + \dfrac{1}{1+\dfrac{1}{2 + \dfrac{1}{1+\dfrac{1}{2+...}}}}
We have:

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

The expression in braces is x-1.So we have:

. . x-1 \;=\;\dfrac{1}{1 + \dfrac{1}{2+(x-1)}}

. . x-1 \;=\;\dfrac{1}{1+\dfrac{1}{x+1}}

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

. . x-1 \;=\;\dfrac{x+1}{x+2}Then:

. . (x-1)(x+2) \:=\:x+1

. . . . .x^2 + x - 2 \:=\:x+1

. . . . . . . . . . x^2 \:=\:3

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

Similar threads

  • · Replies 6 ·
Replies
6
Views
943
  • · Replies 2 ·
Replies
2
Views
2K
  • · 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
1K