Polynomial Solutions to Pell's Equation and Fundamental Units in Real Quadratic Fields
James Mc Laughlin

TL;DR
This paper constructs polynomial solutions to Pell's equation linked to fundamental units in real quadratic fields, providing explicit formulas and continued fraction expansions, thus advancing methods for algebraic number theory analysis.
Contribution
It introduces a systematic way to generate polynomial solutions to Pell's equation associated with minimal solutions, enhancing understanding of fundamental units in real quadratic fields.
Findings
Polynomial solutions $(c(t),h(t),f(t))$ are derived for given minimal solutions.
Continued fraction expansions of $\
f(t)\
Abstract
Finding polynomial solutions to Pell's equation is of interest as such solutions sometimes allow the fundamental units to be determined in an infinite class of real quadratic fields. In this paper, for each triple of positive integers satisfying \[c^{2}-f\,h^{2}=1, \] where are the smallest pair of integers satisfying this equation, several sets of polynomials which satisfy \[c(t)^{2}-f(t)\,h(t)^{2}=1 \text{ and } (c(0),h(0),f(0)) = (c,h,f) \] are derived. Moreover, it is shown that the pair constitute the fundamental polynomial solution to the Pell's equation above. The continued fraction expansion of is given in certain general cases (for example, when the continued fraction expansion of has odd period length, or even period length or has period length and the middle quotient has a…
| 1 (mod 4) | 1 (mod 8) | 0 (mod 4) |
| 2 (mod 4) | 1 (mod 16) | 0 (mod 4) |
| 3 (mod 8) | 2 (mod 4) | |
| 3 (mod 4) | 1 (mod 8) | 0 (mod 4) |
| 0 (mod 2) | 1 (mod 2) |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Polynomial Solutions to Pell’s Equation and Fundamental Units in Real Quadratic Fields
J. Mc Laughlin
Mathematics Department
University of Illinois
Champaign - Urbana, Illinois 61820
(Date: January,21,1999)
Abstract.
Finding polynomial solutions to Pell’s equation is of interest as such solutions sometimes allow the fundamental units to be determined in an infinite class of real quadratic fields.
In this paper, for each triple of positive integers satisfying
[TABLE]
where are the smallest pair of integers satisfying this equation, several sets of polynomials which satisfy
[TABLE]
are derived. Moreover, it is shown that the pair constitute the fundamental polynomial solution to the Pell’s equation above.
The continued fraction expansion of is given in certain general cases (for example, when the continued fraction expansion of has odd period length, or even period length or has period length and the middle quotient has a particular form etc).
Some applications to determining the fundamental unit in real quadratic fields is also discussed.
Key words and phrases:
Pell’s equation, Continued Fractions
1991 Mathematics Subject Classification:
Primary:11A55
1. Introduction: Polynomial Solution’s to Pell’s Equation
Finding polynomial solutions to Pell’s equation is of interest as such solutions sometimes allow the fundamental units to be determined in an infinite class of real quadratic fields. Finding such polynomial solutions is not only an interesting problem in its own right, but knowing the fundamental unit in a real quadratic field means that the class number of the field can be found via some version of Dirichlet’s class number formula (see, for example, [12]).
In [10], Perron gives some examples of polynomials for which the continued fraction expansion of can be stated explicitly, but the period in these cases is at most 6. These examples were added to in a paper by Yamamoto ([17]) and later, in [1], Bernstein obtained a large number of such polynomials for which the continued fraction expansion of could be made arbitrarily long and in [2] he gave explicit expressions for the fundamental unit in the quadratic field . Further examples were given in papers by Levesque and Rhin [5], Madden [6], Van Der Poorten [15] and Van Der Poorten and Williams [16].
In this paper, for each triple of positive integers satisfying
[TABLE]
where are the smallest pair of integers satisfying this equation, several sets of polynomials which satisfy
[TABLE]
are derived. Moreover, it is shown that the pair constitute the fundamental polynomial solution to the Pell’s equation above.
The continued fraction expansion of is given in certain general cases (for example, when the continued fraction expansion of has odd period length, or even period length or has period length and the middle quotient has a particular form etc).
Some applications to determining the fundamental unit in real quadratic fields are also discussed.
Definition: A polynomial is called a Fermat-Pell polynomial in one variable if there exists polynomials such that
[TABLE]
A triple of polynomials satisfying equation 1.1 constitutes a * polynomial solution* to Pell’s equation. A Fermat-Pell polynomial is said to have a polynomial continued fraction expansion if there exists an integer and a positive integer such that
[TABLE]
for all integral , where the . For a fixed Fermat-Pell polynomial a pair of polynomials is said to be the fundamental polynomial solution to (1.1) if constitutes the smallest solution in positive integers to equation 1.1 for all non-negative integral values of .
In this paper it is shown how to construct several infinite families of Fermat-Pell polynomials in which the continued fraction expansion of the polynomials can have arbitrary long period length. Moreover, the polynomial continued fraction expansion of these polynomials can be written down explicitly.
2. Notation/ useful facts about convergents
As usual will denote the simple infinite periodic continued fraction
[TABLE]
will denote the ’th convergent:
[TABLE]
Use will also be made of the following:
[TABLE]
each of these being valid for .
3. Some necessary Lemmas
Before coming to the main results of the paper several lemmas from the theory of the convergents of the continued fraction expansion of , where is a non-square positive integer, are needed. Some are given without proof since the results are well known or are straightforward. In what follows and will denote the smallest pair of positive integers satisfying . Recall that if the continued fraction expansion of has period then and that if the continued fraction expansion of has period then .
Lemma 1**.**
*Denote the ’th convergent to the continued fraction
by . Then*
[TABLE]
Proof.
This is well known. ∎
Label the usual three sequences of positive integers used to determine the continued fraction expansion of as follows:
, , and , for .
Lemma 2**.**
[TABLE]
[TABLE]
Proof.
A simple double induction. ∎
Lemma 3**.**
, for all
Proof.
∎
Lemma 4**.**
If the continued fraction expansion of has period 2m and or then .
Proof.
By Lemma 3 and the definition of , . If then and the fact that clearly imply (and ). The case for is similar (with ). ∎
Lemma 5**.**
If the continued fraction expansion of has period of even length, say equal to , then
[TABLE]
Proof.
By the symmetry of the continued fraction expansion of
[TABLE]
We know that and by the correspondence between matrices and convergents:
[TABLE]
[TABLE]
and the result follows. ∎
Remark: One can show in essentially the same way that if the period of the continued fraction expansion of is odd, say , then
[TABLE]
Lemma 6**.**
If the continued fraction expansion of has period of even length which is congruent to , say equal to , then
[TABLE]
Proof.
By Lemma 5:
[TABLE]
∎
Lemma 7**.**
If then .
Proof.
Case(1) (the period is even, , say): By Lemma 5,
[TABLE]
and the result follows easily.
Case(2) (The period is odd): Suppose the period is odd, , say and
Then
[TABLE]
,
and again the result follows by simple arithmetic. ∎
Lemma 8**.**
If then .
Proof.
Recall that if the period is even ( odd) then , that if the period is odd ( even) then and that . Then
[TABLE]
and the result is true by Lemma 7. ∎
Lemma 9**.**
If the continued fraction expansion of has period of odd length, , say, then and .
Proof.
Elementary. ∎
Lemma 10**.**
Let , where or . Then
[TABLE]
Proof.
(i)By the symmetry of the sequence (), it follows that By Lemma 2 and Lemma 4
[TABLE]
The result follows from the recurrence relation for the .
(ii)By Lemma 5:
[TABLE]
(iii)Again by Lemma 5:
[TABLE]
∎
Lemma 11**.**
Let . If and are positive integers satisfying
[TABLE]
then , for some positive integer .
Proof.
This is well known (See, for example, [3], page 387). ∎
The way this lemma will be used is as follows: Suppose it is known that and that the continued fraction expansion of is . By the lemma, , for some positive integer , and thus that the finite continued fraction expansion either contains at least one complete period of the continued fraction expansion of (the case ) or else is just one term short of a full period (the case ), in which case the missing term is of course and . In particular, if for some , then the sequence cannot contain a full period in the continued fraction expansion of (since a full period of course ends in the term ). This implies that and that the latter case holds.
In the following theorems , unless otherwise stated. As above, and are the smallest pair of positive integers satisfying . The variable will be assumed to be a real variable. Initially, in the theorems that follow, the results shall be shown to be true for non-negative integral and follow for real by continuation.
Theorem 1**.**
*Let .
(i)If is even then*
[TABLE]
(ii) If is odd then
[TABLE]
(iii)In either case constitute the fundamental solution to .
Proof.
It can be easily checked that .
(i)For even
[TABLE]
Since is not in the sequence it follows from Lemma11 that has the form claimed and that (iii) holds in the case is even.
(ii) The case for odd follows similarly since
[TABLE]
by a remark preceding Lemma 1.
∎
Theorem 2**.**
*Let .
(i)If is even*
[TABLE]
(ii) If is odd and , where or and is odd then
[TABLE]
(iii) In either case constitute the fundamental solution to .
Proof.
In (iii) straightforward calculation shows that the given expressions for and do constitute a solution to . What needs to be shown for (iii) is that these choices of and give the fundamental solution.
(i)Recall that for even, . Notice that
[TABLE]
by the remark above, the formula for and Lemma 9. Therefore, by Lemma 11, has the form claimed and, by Lemma 9, the smallest solution to is given by
[TABLE]
(ii)For odd
[TABLE]
The results follow by Lemma 11.
∎
Theorem 3**.**
*Let .
If is odd and , where or and is even then*
[TABLE]
and constitute the fundamental solution to .
Proof.
The proof here is virtually identical to the proof of part (ii) of the theorem above, the only difference being that part (iii) of Lemma 10 is used instead of part (ii). ∎
Theorem 4**.**
*Let .
If is even then*
[TABLE]
and
[TABLE]
constitute the fundamental solution to .
Proof.
By Lemma 9 and and so . Also, .
[TABLE]
by Lemma 9. Therefore the continued fraction expansion of has the form claimed and, again by Lemma 9, the fundamental solution to is given by
[TABLE]
∎
Theorem 5**.**
Let
[TABLE]
(i)If is odd and where or and is odd then
[TABLE]
(ii)If is even then
[TABLE]
(iii) In either case constitute the fundamental solution to .
Proof.
(i) As in the proof of Theorem 2
[TABLE]
The results follow from Lemma 11.
(ii) Similarly,
[TABLE]
The remainder of the proof parallels part (i). ∎
4. Fundamental Units in Real Quadratic Fields
In many cases it is easy to use the theorems in this paper to write down the fundamental unit in a wide class of real quadratic fields. On page 119 of [8] one has the following statement of the relationship of fundamental units in , a square-free positive rational integer, and the convergents in the continued fraction expansion for :
Theorem 6**.**
Let be a square-free, positive rational integer and let . Denote by the fundamental unit of which exceeds unity, by the period of the continued fraction expansion for , and by the ()-th convergent of it.
If or , then
[TABLE]
However, if , then
[TABLE]
or
[TABLE]
Finally, the norm of is positive if the period is even and negative otherwise.
We note first of all that the congruence class of , mod 4, forces and to lie in certain congruence classes. We have the following table:
In what follows let be a non-square positive integer and be the smallest pair of positive integers satisfying . We denote the Fermat-Pell polynomials from Theorems 1 - 5 as follows:
[TABLE]
We consider first the case . From the table above, has to be odd, has to be even and thus , , and are , for all integral and is for all even . Thus we can apply Theorem 6.
As an illustration, by Theorems 1 and 6, if is squarefree, then the fundamental unit in is . With , and , is squarefree for of the values of lying between 0 and 200,000. In particlar, it is squarefree for so that the fundamental unit in is immediately known to be .
Remark: The data in this case suggests the following question:
[TABLE]
The author is presently unable to provide the answer.
A similar situation holds for either of the two possibilities listed in Table 1 for the case . In the first case ( and ), , , and take positive integral values which are for all integral , while takes on positive integral values which are for all integral even . In the second case ( and ), all of the polynomials take positive integral values which are for all even integral . Theorem 6 can again be used to write down the fundamental unit in infinitely many real quadratic fields. We again consider , with even, and take , and . It is found that is squarefree for 147,511 of the integers lying between 0 and 200,000. In particlar, it is squarefree for so that the fundamental unit in is immediately known to be .
Lastly, we consider the case . For , , , and , for all integral , while for all integral . For , , and , for all integral , for all positive and for all even . For the case (mod 2) and (mod 2), and for all positive , and for all positive even . In all of these cases, if and the resulting polynomial is squarefree, then the fundamental unit in the corresponding quadratic field can be written down. This time we consider the polynomial . By Theorems 2 and 6, if the continued fraction expansion of has even period and is squarefree, then the fundamental unit in is . As an illustration we take so that and . is found to be squarefree for 121,529 of the integers lying between 0 and 130,000. In particular, it is squarefree for so so that the fundamental unit in is immediately known to be .
5. Concluding Remarks
In this paper only some limited classes of Fermat-Pell polynomials were considered (for example in all cases all but the end and possibly the middle terms in the continued fraction expansion were constant and the highest degree considered was ). In a later paper I will consider multi-variable Fermat-Pell polynomials, polynomials whose continued fraction expansion has all terms non-constant and single-variable Fermat-Pell polynomials where the degree can be arbitrarily large.
Some problems still remain for the classes of polynomials examined here. Each of the triple of polynomials examined here constitute a polynomial solution to Pell’s by virtue of the fact that and this alone. A natural question is to determine the continued fraction expansion of in each of the cases examined when , (the smallest pair of positive integers satisfying the above integral Pell’s equation) is replaced by the th largest pair of such integers.
The continued fraction expansion of some of polynomials examined were given in some cases only in special circumstances. For example the continued fraction expansion of , examined in Theorem 3, was given only in the case where
[TABLE]
and is even. There remains the problem of determining the continued fraction expansion of when the length of the period of the continued fraction expansion of is or or . Similar problems remain with the continued fraction expansion of the polynomials examined in some of the other theorems.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] Bernstein, Leon. Fundamental units and cycles in the period of real quadratic number fields . I. Pacific J. Math. 63 (1976), no. 1, 37–61.
- 2[2] Bernstein, Leon Fundamental units and cycles in the period of real quadratic number fields. II. Pacific J. Math. 63 (1976), no. 1, 63–78.
- 3[3] David M. Burton, Elementary Number Theory, (Second Edition) , W. C. Brown Publishers, Dubuque, Iowa, 1989.
- 4[4] L. Euler, (Translated by John D. Blanton) Introduction to Analysis of the Infinite Book I , Springer-Verlag, New York, Berlin, Heidelberg, London, Tokyo, 1988. (Orig. 1748)
- 5[5] Levesque, Claude; Rhin, Georges. A few classes of periodic continued fractions . Utilitas Math. 30 (1986), 79–107.
- 6[6] Daniel J. Madden, Constructing Families of Long Continued Fractions , Pacific J. Math 198 (2001), No. 1, 123–147.
- 7[7] R. A. Mollin, Polynomial Solutions for the Pell’s Equation Revisited , Indian J. Pure Appl. Math., 28(4) (1997), 429–438.
- 8[8] Wladyslaw Narkiewicz, Elementary and Analytic Theory of Algebraic Numbers, (Second Edition) , Springer-Verlag, New York, Berlin, Heidelberg, London, Tokyo, Hong Kong/PWN-Polish Scientific Publishers, Warszawa 1990. (First Edition 1974)
