Pell’s equation
Pell’s equation
Pell’s equation refers generally to the equation
where is a positive integer not a square. This equation is now known to have an infinite number of solutions in positive integers and .
Fermat, in 1657, proposed to English mathematicians that they find a method of solving this equation in general, for integral and . Fermat apparently already possessed a method, for doing so. According to [1], the Greeks and Indians had detailed knowledge of this problem; the solutions
were both known by Indian mathematicians B.C. In fact, the solution given above for is the smallest solution for this , and was given by Brahmagupta (b. 598 A.D.) together with a method for its derivation. The cyclic method, described in detail below, was given by Bháscara Achárya (b. 1114 A.D.).
The English, notably Wallis, developed a different but provably almost identical method, presumably in response to Fermat’s challenge. Both methods produce, in time, all integral solutions to the equation.
As can be seen from the entry on Pell’s equation and simple continued fractions, solutions of Pell’s equation can also be found by developing the continued fraction for .
Here is a table of the minimum value of for some values of ; a complete table for can be found in [1]:
A | y |
---|---|
2 | 2 |
22 | 42 |
37 | 12 |
61 | 226153980 |
109 | 15140424455100 |
136 | 3 |
143 | 1 |
According to [1], Pell had nothing to do with the development of this problem or its solution; its attribution to Pell is due to an error on the part of Euler.
The Cyclic Method
The cyclic method relies on successive approximation and on a hope that the approximation process will converge. Of course, it can be proven that the process does converge and that it results eventually in all solutions of the Pell equation. The method relies on the well-known identity
(1) |
Given an equation
this identity can be used to produce another solution.
So, for example, let’s take the case . Start by choosing so that is as small in absolute value as possible, i.e. and . If we multiply that by the equation , we get, using (1),
Remember that we are trying to find values so that the right-hand is . However, simply choosing a value of that makes as small as possible will not achieve any progress, since we will then have and , so we will get a right-hand side of . Instead, we will choose so that is divisible by ; then must be divisible by as well, so is divisible by and we may divide the resulting equation through by . To make we need . We want to make as small as possible in magnitude subject to this condition, so we choose and then . The resulting equation, after dividing through by , is
We are not done, so let’s repeat the operation. Multiply again by to get
and we must choose such that (i.e. ) to make as small as possible in magnitude. This happens for ; substituting and dividing through by we get
Repeating, we get
so , or . Minimizing leads to , , whence, dividing the result by we get
and we are done. The sequence of equations was
The fact that the sequence of differences is palindromic is not an accident; it can be proven that this is always the case.
The English Method
The English method uses the same basic algorithm as the cyclic method, except that when choosing , it the largest such that , which . Thus if two successive equations in this method are
it is clear that
and thus that and have different signs. So in the English method, the values of alternate in sign.
For the case , above, the sequence of equations is
In general, the English method results in the same solutions as the cyclic method, but it gets there more slowly - in the English method, an additional entry is inserted in between any two entries that have the same sign.
References
- 1 H.M. Edwards, Fermat’s Last Theorem: A Genetic Introduction to Algebraic Number Theory, Springer-Verlag 1977.
- 2 B.L. van der Waerden, ”Pell’s Equation in Greek and Hindu Mathematics”, Russ. Math Surveys, 1976, 31 (5), 210-225.
- 3 C.O. Selenius, ”Rationale of the chakravala process of Jayadeva and Bhaskara II”, Historia Mathematica, 2 (1975), 167-184.
Title | Pell’s equation |
---|---|
Canonical name | PellsEquation |
Date of creation | 2013-03-22 16:28:07 |
Last modified on | 2013-03-22 16:28:07 |
Owner | rm50 (10146) |
Last modified by | rm50 (10146) |
Numerical id | 8 |
Author | rm50 (10146) |
Entry type | Topic |
Classification | msc 11D09 |