Diophantine Equations — Pell's Equation and Thue-Mahler

  • Pell's equation always has infinitely many integer solutions for non-square , generated from a fundamental solution.
  • Solutions to Pell's equation correspond to units in real quadratic fields and form a group structure.
  • Thue's theorem (1909) proved that binary form equations with degree ≥ 3 have only finitely many solutions.
  • Thue-Mahler equations generalize Diophantine problems by allowing to have prime factors from a specified finite set.
  • These equations connect to modern techniques: continued fractions, Baker's theory of linear forms in logarithms, and S-unit equations.
  • The contrast between infinite solutions (Pell) and finite solutions (Thue-Mahler) reveals how polynomial degree and form structure control solution behavior.

Diophantine Equations — Pell's Equation and Thue-Mahler

Overview

Pell's equation, despite being named after the 17th-century mathematician John Pell (who had little to do with it), stands as one of the most elegant and thoroughly studied families of Diophantine equations. The equation , where is a positive non-square integer, asks us to find integer solutions—a seemingly simple question that leads to profound connections with algebraic number theory, continued fractions, and the structure of quadratic fields. The fundamental fact that Pell's equation always has infinitely many solutions when is not a perfect square distinguishes it sharply from other Diophantine problems.

The Thue-Mahler equation generalizes this classical problem by considering equations of the form , where is a binary form (homogeneous polynomial in two variables) of degree at least 3, and lies in a finitely generated multiplicative group. While Pell's equation has infinitely many solutions, Thue's theorem (1909) revolutionized the field by proving that equations with have only finitely many integer solutions. The Thue-Mahler equation represents a significant generalization, allowing the right-hand side to have prime divisors from a specified finite set.

These equations exemplify a fundamental principle in Diophantine analysis: the geometry of the solution set reflects deep arithmetic properties. Pell's equation corresponds to finding units in real quadratic fields, while Thue-Mahler equations connect to S-unit equations and ultimately to modern tools like Baker's theory of linear forms in logarithms and the Roth-Ridout theorem.

Pell's equation has infinitely many solutions governed by the fundamental solution and forms a group under a natural operation, while Thue-Mahler equations with have only finitely many solutions—a dichotomy that reflects the deep connection between Diophantine equations and algebraic geometry through the genus of associated curves.

Pell's Equation: For a positive integer that is not a perfect square, Pell's equation is
where we seek integer solutions . Negative Pell's Equation: The equation . Thue Equation: For an irreducible binary form of degree and a non-zero integer , the Thue equation is
where we seek integer solutions . Thue-Mahler Equation: Let be an irreducible binary form of degree , let be a finite set of primes, and let . The Thue-Mahler equation is
where we seek solutions with .

Core Theory

Main Results

Theorem 1 (Existence of Solutions to Pell's Equation): Let be a positive integer that is not a perfect square. Then the equation has infinitely many solutions in positive integers. Theorem 2 (Fundamental Solution): Among all positive integer solutions to , there exists a unique solution with minimal (equivalently, minimal ), called the fundamental solution. Every other positive solution is given by
for . Theorem 3 (Thue's Theorem): Let be an irreducible binary form of degree , and let . Then the equation has only finitely many solutions . Theorem 4 (Thue-Mahler Finiteness): Let be an irreducible binary form of degree , let be a finite set of primes, and let . Then the Thue-Mahler equation has only finitely many solutions with . Proof of Theorem 1 and 2: We prove these together using the theory of continued fractions and algebraic units. Step 1: Connection to units in . Note that if is a solution to , then
where is the norm from to . Thus is a unit in . Conversely, any unit with gives a solution. Step 2: Existence via continued fractions. The continued fraction expansion of is eventually periodic:
Let denote the -th convergent. A classical result states that if the period length is , then
This gives either a solution to Pell's equation (if is even) or to the negative Pell equation (if is odd). In the latter case, satisfies . Step 3: Fundamental solution. Let be the positive solution with minimal (equivalently, minimal ). Set . This is the fundamental unit of among those with norm 1. Step 4: All solutions from powers. For any , has norm 1. Write where . Then satisfies Pell's equation.

Conversely, suppose is any positive solution. Then is a unit with . We can write for some (since the units of norm 1 form a cyclic group generated by ). Since and , we have .

The formulas for follow from the binomial expansion and the recurrence relations:

This establishes infinitely many distinct solutions and their parametrization. □

Proof Sketch of Theorem 3 (Thue's Theorem): We provide an outline of the classical approach. Step 1: Reduction to approximation problem. Write where are the (distinct) roots of in . If with , dividing by gives

For at least one root , we must have

for some constant depending on and .

Step 2: Diophantine approximation. Since is irreducible of degree , at least one root has degree over . The inequality above shows approximates better than . Step 3: Application of Thue-Siegel-Roth. For any algebraic number of degree and any , the inequality
has only finitely many solutions in coprime integers (this is Thue's theorem on Diophantine approximation, later strengthened by Siegel and Roth).

Since , we have for small , so the approximations forced by solutions to contradict Thue's approximation theorem for all but finitely many . □

Common Misconception: Not all values of admit solutions to the negative Pell equation . For example, has the solution , but has no solutions. The negative Pell equation is solvable if and only if the period length of the continued fraction of is odd. Additionally, students often forget that Thue's finiteness theorem says nothing about how to find the solutions—it is an existence result, not a constructive one. Effective bounds came much later through Baker's work. Axel Thue (1909) — Proved that irreducible Diophantine equations with have only finitely many integer solutions, pioneering the use of Diophantine approximation in solving Diophantine equations. (1,0) (3,2) (17,12) x y x² - 2y² = 1

Examples and Applications

1

Solving Pell's Equation for

Find all positive integer solutions to .

Solution: The continued fraction expansion of is , which has period 1 (odd).

Computing convergents:

Since the period is odd, satisfies the negative Pell equation: .

For the positive Pell equation, we compute : indeed, .

The fundamental solution is , with .

All solutions come from:

For :

So . Verify: . ✓

For :

So . □

2

A Thue Equation

Consider the equation .

This is a Thue equation with , which is irreducible over (by Eisenstein's criterion with applied to ).

By inspection, is a solution.

We can verify that is also a solution: . ✓

By Thue's theorem, there are only finitely many solutions. In fact, these are the only integer solutions (this can be verified through various methods, including reduction modulo small primes and height bounds).

Note the stark contrast with Pell's equation: degree 2 gives infinitely many solutions, degree 3 gives finitely many. □

Why Degree Matters: The Quadratic Case

Consider , a binary quadratic form. The equation is Pell's equation and has infinitely many solutions.

Thue's theorem requires . This is not a technicality—the conclusion fails for quadratic forms. The geometric reason is that defines a genus 0 curve (a conic), which has either no rational points or infinitely many.

In contrast, with typically defines a curve of genus . For example, can be transformed into a plane cubic curve. By Faltings' theorem (formerly Mordell's conjecture), curves of genus have only finitely many rational points, and genus 1 curves (elliptic curves) have finitely many points if the Mordell-Weil group is finite.

The hypothesis is sharp and essential. □

Geometric Picture: Pell's equation describes a hyperbola in the -plane. Integer points on this hyperbola correspond to units in . The fundamental solution is the "smallest" unit greater than 1, and all other solutions are obtained by repeatedly "multiplying" this unit by itself—geometrically, this corresponds to a discrete but infinite sequence of points marching off to infinity along each branch of the hyperbola.

For Thue equations with degree , the curve is no longer a conic but a higher-degree algebraic curve. These curves "bend" more severely, and the spacing between integer points grows rapidly. The finiteness result reflects a deep principle: higher-genus curves are "more rigid" and cannot support infinitely many rational (or integer) points scattered along them. Think of it as the curve having "too much curvature" to admit infinitely many lattice points. □

Historical Development

The study of Pell's equation dates back to ancient times. Indian mathematicians, particularly Brahmagupta (7th century) and Bhaskara II (12th century), developed sophisticated methods for solving what is now called Pell's equation, including the chakravala method. Fermat challenged European mathematicians with the problem in 1657, and solutions were found by Wallis and Brouncker.

The name "Pell's equation" is a historical accident due to Euler's misattribution in the 18th century. Lagrange (1768) gave the first complete proof using continued fractions that solutions always exist for non-square , establishing the theory on rigorous foundations.

The connection to algebraic number theory emerged in the 19th century through the work of Dirichlet on the unit theorem for number fields. The recognition that solutions to are precisely the units in unified Pell's equation with the broader theory of algebraic integers.

Axel Thue's groundbreaking 1909 paper "Über Annäherungswerte algebraischer Zahlen" introduced completely new methods to prove that with irreducible of degree has only finitely many solutions. His approach via Diophantine approximation was revolutionary, though his bounds were ineffective.

The Thue-Mahler equation was studied by Kurt Mahler in the 1930s, who recognized that allowing finitely many prime divisors on the right-hand side (creating -unit equations) still preserved finiteness. This work connected to Siegel's theorem on integral points on curves.

Effective bounds for Thue equations came from Alan Baker's theory of linear forms in logarithms (1960s-1970s), for which he received the Fields Medal in 1970. Modern computational methods can now solve many specific Thue and Thue-Mahler equations completely.

Connections to Other Areas

Connection to Cryptography: Pell's equation has surprising applications in public-key cryptography. The infrastructure of the fundamental unit in real quadratic fields, based on Pell's equation solutions, has been used to construct cryptographic protocols analogous to those based on elliptic curves. The Buchmann-Williams cryptosystem uses the arithmetic of ideal classes in real quadratic orders, where computing the fundamental solution to Pell's equation becomes a crucial subroutine. The difficulty of computing the fundamental solution for large (the regulator problem) provides potential computational hardness for cryptographic security, offering an alternative to factoring and discrete logarithm problems.

What You Need First

What This Opens Up

See Also

Diophantine Approximation · Continued Fractions · Quadratic Forms · Algebraic Number Theory · Unit Theorem · S-integers · Binary Forms · Mordell's Conjecture

Before this

  • Quadratic Fields — Pell's equation is fundamentally about units in $\mathbb{Z}[\sqrt{D}]$, the ring of integers of $\mathbb{Q}(\sqrt{D})$; understanding the norm map and unit group structure is essential.
  • Continued Fractions — The continued fraction expansion of $\sqrt{D}$ provides the standard method for finding the fundamental solution to Pell's equation and proving the existence of solutions.
  • Algebraic Number Theory Basics — Understanding rings of algebraic integers, norms, traces, and the Dirichlet unit theorem provides the conceptual framework for why Pell's equation behaves as it does.

Where this leads

  • S-unit Equations — Thue-Mahler equations are special cases of the general $S$-unit equation $x + y = 1$ where $x, y$ are $S$-units, leading to deep results in effective Diophantine analysis.
  • Baker's Theory — The need for effective bounds on solutions to Thue equations motivated Baker's development of the theory of linear forms in logarithms, one of the most powerful tools in transcendental number theory.
  • Arithmetic Geometry — The connection between Diophantine equations and algebraic curves (Thue equations define curves whose genus determines solution behavior) opens the door to modern techniques using [[heights]], [[Mordell-Weil theorem]], and [[Faltings' theorem]].