Proof of Legendre's theorem on continued fractions
Builds on Continued fraction expansion of a real numberConvergents of a continued fractionSimple continued fractionFloor functionThe continued fraction of a rational number terminatesMathematical induction
Proof
We follow the argument of Hardy and Wright. For integers and , let and () be given by the recurrences in the definition of convergents with terms .
- Fact 1: for . For the left side is . For , inserting the recurrences shows that the left side is minus its value at .
- Fact 2: and for . Indeed , , and for , by induction.
- Fact 3: let be real and put for . Then for .
- Proof of fact 3, by induction on . For the right side is . For the step, substitute into the formula for and multiply above and below by . The recurrences turn the result into the formula for .
- Fact 4: in fact 3, assume . Then the continued fraction expansion of has at least terms, and its first terms are .
- Proof of fact 4. First, for : this holds for , and for .
- For we have . So the floor of is , and .
- Let , be the complete and partial quotients of . By induction on , step 7 gives and for , and the process does not stop before step . This proves fact 4.
- Fact 5: by fact 4, the -th convergent of is , because and depend only on .
- Now the proof. Write in lowest terms with . Then , so . So we may assume that .
- The expansion of is finite by the termination theorem. Say it is , a simple continued fraction, and the process stops with .
- By fact 3 with and , we get . For this reads .
- If , then , so .
- Consider also the list of length . Its terms after the first are positive integers by step 13. Its numerators satisfy for , and . In the same way .
- So we have two lists , with and , whose terms after the first are positive. For both, .
- By fact 1, , and by fact 2. Since also and , we get and for both lists.
- If , then by step 11 the expansion of is , and its -th convergent is . We are done in this case.
- Otherwise write with and . This is possible by the hypothesis.
- The two values of in step 15 differ by one. Choose the list with .
- Put . By fact 2, . Since , we get .
- Put . By the choice of , .
- Over a common denominator, . By fact 1 the numerator is .
- With step 21 and , this gives . So .
- By fact 3 with , the number of fact 3 equals .
- Since , fact 5 shows that the -th convergent of is .
Idea
Write as a finite continued fraction; there are two ways, of lengths differing by one, so the parity of the length can be chosen. Then is that finite continued fraction with one extra real tail . The bound makes , and a tail bigger than does not change the earlier partial quotients. So appears among the convergents of .
Reading path
To understand this page from the ground up, read these 46 pages in order. The foundations come first. The path takes the proofs Proof of the approximation property of the supremum, Proof that the continued fraction of a real number is finite exactly when the number is rational, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof that the reals are Archimedean from the completeness axiom.
- Construction of the reals from Cauchy sequences concept
- Continued fraction definition
- Element definition
- Euclidean algorithm concept
- Integers object
- Mathematical induction concept
- Ordered field definition
- Proposition concept
- Rational numbers object
- Real numbers object
- Set bounded above definition
- Simple continued fraction definition
- Set definition
- Ring of integers statement
- Archimedean ordered field definition
- Implication definition
- Predicate definition
- The reals form a field statement
- Supremum definition
- Continued fraction expansion of a real number definition
- Convergents of a continued fraction definition
- Ordered pair definition
- The rationals form a field statement
- Universal quantifier definition
- Completeness axiom statement
- Cartesian product definition
- Subset definition
- The rationals form an ordered field statement
- Binary relation definition
- Order on the reals definition
- Antisymmetric relation definition
- Reflexive relation definition
- Transitive relation definition
- Preorder definition
- Partial order definition
- Total order definition
- Proof that the reals form an ordered field, with the Cauchy sequence construction proof
- The reals form an ordered field statement
- Proof of the approximation property of the supremum proof
- Approximation property of the supremum statement
- Proof that the reals are Archimedean from the completeness axiom proof
- The reals are Archimedean statement
- Floor function definition
- Proof that the continued fraction of a real number is finite exactly when the number is rational proof
- The continued fraction of a rational number terminates statement
- Proof of Legendre's theorem on continued fractions proof
Where this leads
1 page builds on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Simple_continued_fraction, Legendre's theorem on continued fractions
About this page
| Tag | 2MNSMHNRXC |
|---|---|
| URI | m2://2MNSMHNRXC |
| Kind | proof |
| Writing | W0 stub |
| MSC | 11J70 |
| Proves | Legendre's theorem on continued fractions |
| Uses | Continued fraction expansion of a real number, Convergents of a continued fraction, Simple continued fraction, Floor function, The continued fraction of a rational number terminates, Mathematical induction |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.