Back to paper list

Expositio paper exp-20260921-297ee9

On the Solutions of Pell and Negative Pell Equations

Preprint

In this paper, we use multiple techniques to find the complete set of solutions to Pell and negative Pell equations. We prove the existence of a nontrivial solution to the former using Dirichlet's Approximation Theorem and then find all solutions from the min…

Selected public version
exp-20260921-297ee9v1 Latest public version Public since September 21, 2026 Submitted September 21, 2026 0 saves
Main field
Main topics
Reading-list context
Current reading
Journal publication
Selected public version
Archive state
Public versions

Authors

Shiven Bhargava

Abstract

In this paper, we use multiple techniques to find the complete set of solutions to Pell and negative Pell equations. We prove the existence of a nontrivial solution to the former using Dirichlet's Approximation Theorem and then find all solutions from the minimal positive solution. We briefly mention the generalized Pell equation and how to generate infinitely many solutions from just one. In addition, we find all solutions to both Pell and negative Pell equations given the minimal solution to the latter. We then utilize the method of continued fractions as developed by Joseph-Louis Lagrange to represent solutions to both equations as convergents to the continued fraction of $\sqrt{d}$. We provide the proofs of multiple obscure theorems related to continued fractions, such as the Law of Best Approximations, Lagrange's Theorem, and Galois' Theorem. We end by providing resources on generalized Pell equations and their applications. All in all, this paper thoroughly describes the solutions of Pell and negative Pell equations and gives an in-depth introduction to continued fractions.

Domains and classifications

Mathematics
Main field
Number theory Diophantine equations Quadratic and bilinear Diophantine equations

Version history

Expositio keeps public paper versions together so readers can see the current PDF while still understanding how the record has changed.

exp-20260921-297ee9v1

On the Solutions of Pell and Negative Pell Equations

Preprint
Uploaded Sep 21, 2026 384714 bytes Selected Latest
Cite this version
BibTeX Download
Chicago Download