Dilogarithm identities for solutions to Pell's equation in terms of continued fraction convergents
Martin Bridgeman

TL;DR
This paper establishes a novel link between the dilogarithm function and solutions to Pell's equation, using continued fraction expansions, and connects Ramanujan's identities to hyperbolic geometry.
Contribution
It introduces a new method to derive dilogarithm identities from Pell's equation solutions via continued fractions, and relates Ramanujan's identities to hyperbolic geometry.
Findings
Dilogarithm identities associated with Pell's solutions are derived.
Ramanujan's dilogarithm identities are interpreted through hyperbolic geometry.
Continued fraction expansions of units in quadratic fields are central to the identities.
Abstract
In this paper we give describe a new connection between the dilogarithm function and solutions to Pell's equation . For each solution to Pell's equation we obtain a dilogarithm identity whose terms are given by the continued fraction expansion of the associated unit . We further show that Ramanujan's dilogarithm value-identities correspond to an identity for the regular ideal hyperbolic hexagon.
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.
Dilogarithm identities for solutions to Pell’s equation in terms of continued fraction convergents
Martin Bridgeman M. Bridgeman’s research was supported by NSF grants DMS-1500545, DMS-1564410.
Abstract
In this paper we give describe a new connection between the dilogarithm function and solutions to Pell’s equation . For each solution to Pell’s equation we obtain a dilogarithm identity whose terms are given by the continued fraction expansion of the associated unit . We further show that Ramanujan’s dilogarithm value-identities correspond to an identity for the regular ideal hyperbolic hexagon.
1 Dilogarithm and Pell’s Equation
Dilogarithm: The dilogarithm function is given by the power series
[TABLE]
which has integral form
[TABLE]
In [13], Rogers introduced the following normalization.
[TABLE]
The dilogarithm function arises in many areas of mathematics, especially hyperbolic geometry and number theory (see [14]). In particular the volume of an ideal hyperbolic tetrahedron in with ideal vertices is
[TABLE]
where is the cross-ratio.
Pell’s Equation: Pell’s equation for is the Diophantine equation over . Pell’s equation has a long and interesting history going back to Archimedes’ cattle problem (see [7]). The equation only has solutions for square-free, so we assume is square-free. Also by symmetry, we only need consider solutions with . A solution is positive/negative depending on whether or . For all square-free there is always a positive solution but not necessarily a negative solution. Solutions to Pell’s equation correspond to units in by identifying with and it is natural to identify the two. The smallest positive unit is called the fundamental unit and a well-known result gives that the set of positive units is exactly (see [12, Theorem 7.26])).
In this paper we prove a new and surprising connection between the dilogarithm and solutions to Pell’s equation. Using earlier work of the author which gave a dilogarithm identity associated to a hyperbolic surface, we obtain a dilogarithm identity for each solution to Pell’s equation whose terms are given by the continued fraction expansion of .
1.1 Dilogarithm Identities
The dilogarithm satisfies a number of classical identities. In particular by adding power series we have the squaring identity
[TABLE]
It follows by direct computation that this identity holds for the Rogers dilogarithm with
[TABLE]
The other classic identities are the reflection identity of Euler
[TABLE]
Abel’s well-known 5-term identity
[TABLE]
and Landau’s identity
[TABLE]
A closed form for values of is only known for a small set of values. These are
[TABLE]
where is the golden ratio. In [8] Lewin gave the following remarkable infinite identity.
[TABLE]
2 Results
Using earlier work of the author we first prove the below new infinite identity for . We prove
Theorem 2.1
If then
[TABLE]
One immediate observation is if we let we recover the formula of Lewin in equation 1.1 above.
We now apply the above identity to solutions of Pell’s equation and units in the ring .
Dilogarithm identity for Solution to Pell’s Equation
In order to obtain our identity associated to a given solution of Pell’s equation, we will choose in the above. We then show that the righthandside is given in terms of the continued fraction expansion of . We obtain:
Theorem 2.2
Let be a solution to Pell’s equation.
- •
If is a positive solution with continued fraction convergents then
[TABLE]
- •
If is a negative solution and has convergents then
[TABLE]
Examples
We now consider some examples:
Case of : For the fundamental unit is giving
[TABLE]
We note that has convergents given by
[TABLE]
It can be further shown that the units of are given by . As is a negative solution to Pell’s equation and we get
[TABLE]
Case of : An interesting case of a large fundamental solution occurs for . Here is the fundamental unit giving
[TABLE]
The continued fraction convergents of are
[TABLE]
Pell’s equation over
Similarly we consider Pell’s equation over . If satisfy Pell’s equation we will identify this with the element . Applying the identity in Theorem 2.1 we get the following.
Theorem 2.3
Let satisfy Pell’s equation and let .
If is a positive solution, then
[TABLE]
Further if then for all .
If is a negative solution then
[TABLE]
Further if then for all .
Fibonacci Numbers: The golden mean corresponds to a negative solution to Pell’s equation over . Also we have
[TABLE]
where is the classic Fibonacci sequence and is the Fibonacci sequence .
As we get the identity
[TABLE]
Chebyshev Polynomials, Pell’s Equation and Dilogarithms
Chebyshev polynomials arise in numerous areas of mathematics and have a natural interpretation in terms of Pell’s equation. The Chebyshev polynomials of the first kind are the unique polynomials satisfying and the Chebyshev polynomials of the second kind are given by
[TABLE]
We obtain the following corollary.
Corollary 2.4
Let then
[TABLE]
The reader interested in knowing more about the dilogarithm function and its generalizations we refer to the book [8], Structural Properties of Polylogarithms, by L. Lewin and the aforementioned article [14], The dilogarithm function, by D. Zagier.
3 Units in , Pell’s equation
We assume is not a perfect square. If is a unit, then so are and therefore we only need to consider solutions . It follows easily that is a unit if and only if satisfy Pell’s equation over
[TABLE]
We call a solution (or the unit ) positive/negative depending on if the righthandside of the Pell equation is positive/negative. Whereas there is always a solution to the positive Pell equation , it can be shown that there are no solutions to for certain (see [12, Chapter 7]).
Continued Fraction Convergents
If we say has continued fraction expansion if and
[TABLE]
This means that if we define to be the convergent, then as . If the continued fraction coefficients satisfy for we say is periodic with period and write . We have the following standard description of ;
Theorem 3.1
([12, Theorems 7.4, 7.5]) Let with and define by
[TABLE]
with . Then and
[TABLE]
The positive units in have the following elegant description.
Theorem 3.2
([12, Theorem 7.26]) Let not be a perfect square. Then there is a unique solution of Pell’s equation such that the set of solutions to in is where
[TABLE]
The pair is called the fundamental solution of . Thus one consequence of the above is if we let be the fundamental unit then gives the set of all positive solutions to Pell’s equation and the dilogarithm identity in Theorem 2.2 can be interpreted as a sum over all solutions to Pell’s equation.
4 The Orthospectrum Identity
In a prior paper, the author proved a dilogarithm identity for a hyperbolic surface with geodesic boundary. The identity was generalized to hyperbolic manifolds by the author and Kahn in [5]. The relation to other identities on hyperbolic manifolds such as the Basmajian identity (see [3]), McShane-Mirzakhani identity (see [10], [11]) and Luo-Tan identity (see [9]) is discussed in [6].
In order to state the orthospectrum identity, we recall some basic terms.
If is a hyperbolic surface with totally geodesic boundary, an orthogeodesic is a proper geodesic arc which is perpendicular to the boundary at its endpoints. The set of orthogeodesics of is denoted . Each boundary component is either a closed geodesic or an infinite geodesic whose endpoints are boundary cusps of . We let be the number of boundary cusps of . Further let be given by .
One elementary example of a surface will be an ideal n-gon which has and a finite set and . In fact these are the only surfaces with finite.
The dilogarithm orthospectrum identity is as follows;
Theorem 4.1
(Dilogarithm Orthospectrum Identity, [4]) Let be a finite area hyperbolic surface with totally geodesic boundary . Then
[TABLE]
and equivalently
[TABLE]
In the original paper [4], we showed that the above identity recovers the reflection identity, Abels identity and Landau’s identity by considering the elementary cases of the ideal quadrilateral and ideal pentagon respectively.
5 An infinite dilogarithm identity
We define the cross-ratio of 4 distinct points in by
[TABLE]
We let be distinct points ordered counterclockwise on . If is the geodesic with endpoints and is the geodesic with endpoints then are disjoint. A simple calculation shows that the perpendicular distance between them is given by
[TABLE]
We now prove Theorem 2.1 which we now restate.
Theorem 2.1 If then
[TABLE]
Proof: We consider the hyperbolic surface which is topologically an annulus with one boundary component being a closed geodesic of length and the other an infinite geodesic with a single boundary cusp (see figure 1).
We lift to the upper half plane with lifted to the y-axis and let . Then is an infinite sided ideal polygon, which is invariant under multiplication by (see figure 2).
We normalize so that one of the ideal vertices is at . Then the vertices of are for . There is a single orthogeodesic with endpoint on and it has length satisfying
[TABLE]
The other ortholengths are given by where
[TABLE]
[TABLE]
Thus the dilogarithm identity for is
[TABLE]
Using the reflection identity we get
[TABLE]
6 Proof of identity for Solutions to Pell’s Equation over
We now prove the dilogarithm identity for solutions to Pell’s equation over given in Theorem 2.3.
Proof of Theorem 2.3:
Let , then with the sign depending on if is a positive unit or negative. If is a positive unit then
[TABLE]
and if is a negative unit
[TABLE]
Either way we have
[TABLE]
We let and . The dilogarithm identity gives
[TABLE]
If is a positive root, then and . Then by the addition formulae we have
[TABLE]
Then by induction we have and and
[TABLE]
[TABLE]
If is a negative solution, then and . Then by the addition formulae we have
[TABLE]
Therefore
[TABLE]
Therefore
[TABLE]
Therefore
[TABLE]
We now prove Corollary 2.4 relating the identity to the Chebyshev polynomials of the second kind.
Proof of Corollary 2.4: We have the Chebyshev polynomials . We let , then . Therefore
[TABLE]
and
[TABLE]
Thus
[TABLE]
and
[TABLE]
As this holds for , it also holds for all . Now if then we let then giving
[TABLE]
Therefore by the above formulae
[TABLE]
Thus
[TABLE]
7 Identity for continued fraction convergents
We now consider the case where and prove Theorem 2.2 expressing the above in terms of the convergents of their continued fractions expansion. First we have the following lemma.
Lemma 7.1
Let be a solution to Pell’s equation with . If is a positive solution then and if is a negative solution then .
Proof: if is a negative solution. then and . Then
[TABLE]
giving .
If is a positive solution then . Therefore satisfies the quadratic . Rewriting we have
[TABLE]
Now we have
[TABLE]
Therefore .
Using the above description of the continued fraction, we will show the relation between the approximates for and the coefficients given by . This will allow us to prove Theorem 2.2 giving the dilogarithm identity in terms of the convergents of the the continued fraction convergents.
Lemma 7.2
Let be a solution to Pell’s equation.
If is a positive solution and has continued fraction convergents then and
[TABLE]
If is a negative solution and has continued fraction convergents then
[TABLE]
Proof: Let , then . As is a positive solution . Therefore we have and for
[TABLE]
The matrix has characteristic polynomial giving eigenvalues and eigenvectors . Therefore diagonalizing we get
[TABLE]
Multiplying out and noting that we have
[TABLE]
It follows that for
[TABLE]
Therefore
[TABLE]
Similarly we note that as then applying the above analysis we get
[TABLE]
and
[TABLE]
giving .
If is a negative solution, then for odd and for even .
As we have the formula
[TABLE]
with and . Iterating we get and . Therefore for . We focus on calculating . As we have the recursion
[TABLE]
The matrix has characteristic polynomial giving eigenvalues and eigenvectors . Thus
[TABLE]
Multiplying we get
[TABLE]
For odd we have
[TABLE]
Similarly for even we have
[TABLE]
Thus for all
[TABLE]
We let be the convergents for the continued fraction expansion of . Then as is a positive solution to Pell’s equation. Applying equations 7.2 and 7.3 above we have,
[TABLE]
[TABLE]
Also if then and by equation 7.4
[TABLE]
giving
[TABLE]
Also
[TABLE]
Thus if is a negative solution to Pell’s equation
[TABLE]
8 Ideal n-gon identities
Ramanujan gave a number of value-identities for linear combinations of specific values of as follows (see [1, Entry 39]);
[TABLE] 2. 2.
[TABLE] 3. 3.
[TABLE] 4. 4.
[TABLE] 5. 5.
[TABLE]
More recently in their article [2], Bailey, Borwein, and Plouffe gave the identity
[TABLE]
Applying Landau’s identity gives and , which reduces the value-identities of Ramanujan to the two equations
[TABLE]
In this section we will show that these value-identities follow from considering ideal hyperbolic hexagons.
We recall the dilogarithm identity in [4] for ideal hyperbolic polygons. Let be an ideal polygon in with vertices in counterclockwise order about . If is the length of the orthogeodesic joining side to then a simple calculation gives
[TABLE]
Applying the orthospectrum identity in Theorem 4.1 to we obtain the equation
[TABLE]
If is the regular ideal n-gon then we obtain the equation
[TABLE]
where if n is odd and if n is even.
9 Ideal Hexagons and Ramanujan’s value identities
We now show that Ramanujan’s value identities 1-5 and identity 8.5 of Bailey, Borwein, Plouffe, correspond to identities for the regular ideal hexagons.
For the regular 6-gon the orthospectrum identity gives
[TABLE]
We also have from Landau’s identity that . Therefore applying the squaring identity we get
[TABLE]
Thus we obtain
[TABLE]
Combining this and the identity above for the regular hexagon, we obtain Ramanujan’s value-identities
[TABLE]
To recover the identity 8.5 of Bailey, Borwein, Plouffe we note that by Landau then by the squaring identity we have
[TABLE]
Therefore substituting for we get
[TABLE]
As and by the hexagon identity we recover identity 8.5.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] B. Berndt, Ramanujan’s Notebooks, Part IV. Springer-Verlag , (1994) pp. 323–326.
- 2[2] D. Bailey, P. Borwein, S Plouffe, On the Rapid Computation of Various Polylogarithmic Constants, Mathematics of Computation 66 (1997), 903–913.
- 3[3] A. Basmajian, The orthogonal spectrum of a hyperbolic manifold, American Journal of Mathematics 115 (1993), 1139–1159.
- 4[4] M. Bridgeman, Orthospectra of geodesic laminations and dilogarithm identities on moduli space, Geometry and Topology 15 (2011), 707–733.
- 5[5] M. Bridgeman, J. Kahn, Hyperbolic volume of n-manifolds with geodesic boundary and orthospectra, Geometric and Functional Analysis 20 (2010), 1210–1231.
- 6[6] M. Bridgeman, S. P. Tan, Identities on Hyperbolic Manifolds, The Handbook of Teichmuller Theory, EMS Publishing 5 (2016), 19–53.
- 7[7] H. Lenstra, Solving the Pell Equation, Notices of the American Mathematical Society 49 (2), (2002), 182-192.
- 8[8] L. Lewin. Structural Properties of Polylogarithms, Mathematical Surveys and Monographs , AMS, Providence, RI, 1991.
