Value and Solutions of Continued Fraction and Pell's Equation

  • MHB
  • Thread starter Poirot1
  • Start date
  • Tags
    Fraction
In summary, the continued fraction $1+\frac{1}{1+\frac{1}{2+\frac{1}{1+\frac{1}{2+...}}}}$ for $\sqrt{3}$ can be written as $1+\frac{1}{1+\frac{1}{2+...}}$. This can be used to find two positive solutions to pell's equation $x^2-3y^2=1$. The formula for the convergents is $x_n = \frac{p_n}{q_n}$, where $p_n$ and $q_n$ are the numerator and denominator of the continued fraction expansion at the $n$th step.
  • #1
Poirot1
245
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
  • #2
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$
 
  • #3
The code's not working so you have the wrong fraction
 
  • #4
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]
 
  • #5
Thanks 'Soroban'. For the last bit, is there a good formula for the convergents?
 

FAQ: Value and Solutions of Continued Fraction and Pell's Equation

What is a continued fraction?

A continued fraction is a mathematical expression that represents a rational number in terms of a sequence of nested fractions. It is written in the form [a0; a1, a2, a3, ...], where a0 is the integer part of the number and each subsequent term ai is a positive integer.

How do you convert a decimal number into a continued fraction?

The process of converting a decimal number into a continued fraction involves repeated division and taking the integer part of the result. The integer parts form the sequence of terms in the continued fraction, and the process continues until the result of the division is 0 or a repeating pattern is observed.

What is the use of continued fractions in mathematics?

Continued fractions have many applications in mathematics, including number theory, analysis, and approximation theory. They can be used to find rational approximations to real numbers, solve Diophantine equations, and study the properties of quadratic forms.

What is the difference between a finite continued fraction and an infinite continued fraction?

A finite continued fraction has a fixed number of terms and represents a rational number, while an infinite continued fraction has an infinite number of terms and represents an irrational number. Finite continued fractions can be easily converted into decimals, while infinite continued fractions can provide a more accurate and concise representation of certain irrational numbers.

Can continued fractions be used to represent any real number?

Yes, continued fractions can be used to represent any real number, including irrational numbers. However, not all real numbers have a finite continued fraction representation. Some numbers, such as transcendental numbers, have infinite continued fraction representations.

Similar threads

Replies
6
Views
2K
Replies
1
Views
918
Replies
11
Views
2K
Replies
1
Views
1K
Replies
1
Views
998
Replies
4
Views
2K
Replies
5
Views
1K
Back
Top