Best Rational Approximations

Summary: Lagrange’s theorem (Add. I, Arts. 12, 14, 16): every principal convergent of the continued fraction of is closer to than any other rational with . Convergents are therefore the best possible rational approximations to a given denominator size.

Sources: additions-1, additions-2

Last updated: 2026-05-10


Statement

Let have principal convergents . Then for each :

No rational with approximates as closely as . More precisely, no fraction with satisfies unless itself.

Equivalently: the principal convergents enumerate the record-holders in the sequence of best rational approximations of as the allowed denominator grows.


Lagrange’s Proof (Add. I, Arts. 12 + 14)

Step 1 (Art. 12): Two consecutive convergents satisfy

so the difference between them is .

Step 2: Suppose a fraction lies between and . Then

is a positive multiple of , so its magnitude is at least . But the gap between the two convergents is , so for to fit inside,

Hence between two consecutive convergents, no rational with denominator exists.

Step 3 (Art. 14): The convergents alternate around , so lies between every pair of consecutive convergents. Combining Step 2 with this alternation: every fraction with lies on the outer side of one of the two convergents bracketing , hence further from than that convergent.

Repeating with the next pair excludes all , etc.


Strengthened Form (Add. I, Art. 14)

A sharper consequence, given the alternation: for any rational with ,

This is an unconditional lower bound on the approximation quality of any “non-convergent” rational, and explains why convergents are the canonical record-holders.


Intermediate Fractions (Semi-Convergents) — Caveat (Add. I, Arts. 17–18)

The semi-convergents between two principal convergents share a partial version of the optimality property: each is the best approximation among all fractions with that denominator size and on the same side of . Across both sides, however, a principal convergent on the opposite side can beat them — so semi-convergents are best-in-class only when one constrains the search to all-less or all-greater rationals.

This subtlety motivates the practical rule in Add. I, Art. 15: prefer all-positive partial quotients (always-below rounding) so that the principal convergents alternate around and bracket the truth from both sides.


The Form (Add. II, Arts. 23–27)

In the second Addition, Lagrange proves a stronger version of optimality, phrased not as but as :

Among all positive integer pairs with and , the principal convergent uniquely minimizes .

The two forms differ by a factor of , but the statement is sharper:

  • Strict comparison. holds for every smaller pair , not just those with the same denominator size.
  • Algorithmic. Solving Diophantine minimization problems like (Add. II, Problem 2) reduces directly to scanning the convergents of each root of the associated polynomial.

Lagrange’s proof (Add. II, Art. 23): Suppose minimizes . Then there exist with (pigeonhole on residues of mod ). Setting

the linear combination shows that any pair smaller than writes as with integers; hence unless (the trivial case). The descent on is exactly the convergent recurrence, identifying optimal as principal convergents.

This is the form actually needed by Add. II, Problem 3 (binary-quadratic-forms) and Problems 2 and 4 — the form of Add. I would not suffice.


Why “Lagrange’s Theorem”?

The result is sometimes attributed to Wallis or Huygens, since they identified the convergents and observed their good approximation behaviour. But the rigorous proof — combining the cross-product identity with the alternation — first appears in Lagrange’s Additions (this Chapter I) and in his contemporaneous Berlin Memoirs (1767–68).


Calendar Application (Add. I, Art. 20)

The convergents to the year-length ratio are

Lagrange uses optimality to argue that the Gregorian rule is suboptimal: 97 lies between the denominators and of two consecutive convergents, and by best-approximation already approximates the year length more accurately than any rational with denominator up to 655 — including .

See calendar-approximations for the calendar-reform discussion.


π Application (Add. I, Art. 21)

The convergent approximates better than any rational with denominator . beats every rational with denominator . beats every rational with denominator — the next convergent’s denominator.

These statements are not heuristic: Lagrange’s theorem makes them rigorous.