Pell’s equation and simple continued fractions
Theorem 1.
Let d be a positive integer which is not a perfect square, and let (x,y) be
a solution of x2-dy2=1. Then xy is a convergent
in the simple
continued fraction
expansion of √d.
Proof.
Suppose we have a non-trivial solution x,y of Pell’s equation, i.e. y≠0. Let x,y both be positive integers. From
(xy)2=d+1y2 |
we see that (xy)2>d, hence xy>√d. So we get
|xy-√d|=1y2(xy+√d) | <1y2(2√d) | |||
<12y2. |
This implies that xy is a convergent of the continued fraction of
√d.
∎
Title | Pell’s equation and simple continued fractions |
---|---|
Canonical name | PellsEquationAndSimpleContinuedFractions |
Date of creation | 2013-03-22 13:21:04 |
Last modified on | 2013-03-22 13:21:04 |
Owner | Thomas Heye (1234) |
Last modified by | Thomas Heye (1234) |
Numerical id | 9 |
Author | Thomas Heye (1234) |
Entry type | Theorem |
Classification | msc 11D09 |