Infinite Continued Fractions

Similar documents
Rational Approximation by Continued Fractions

Induction 1 = 1(1+1) = 2(2+1) = 3(3+1) 2

Math 320: Real Analysis MWF 1pm, Campion Hall 302 Homework 8 Solutions Please write neatly, and in complete sentences when possible.

The theory of continued fractions and the approximations of irrational numbers

Sums and Products. a i = a 1. i=1. a i = a i a n. n 1

Research Methods in Mathematics Homework 4 solutions

Functions If (x, y 1 ), (x, y 2 ) S, then y 1 = y 2

Mathematics 242 Principles of Analysis Solutions for Problem Set 5 Due: March 15, 2013

Solutions to Practice Final

Homework 4, 5, 6 Solutions. > 0, and so a n 0 = n + 1 n = ( n+1 n)( n+1+ n) 1 if n is odd 1/n if n is even diverges.

Structure of R. Chapter Algebraic and Order Properties of R

[Limits at infinity examples] Example. The graph of a function y = f(x) is shown below. Compute lim f(x) and lim f(x).

Sequences. Chapter 3. n + 1 3n + 2 sin n n. 3. lim (ln(n + 1) ln n) 1. lim. 2. lim. 4. lim (1 + n)1/n. Answers: 1. 1/3; 2. 0; 3. 0; 4. 1.

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics

Section 2.5 : The Completeness Axiom in R

In N we can do addition, but in order to do subtraction we need to extend N to the integers

The following techniques for methods of proofs are discussed in our text: - Vacuous proof - Trivial proof

MATH 102 INTRODUCTION TO MATHEMATICAL ANALYSIS. 1. Some Fundamentals

Math 104: Homework 1 solutions

On approximation of real, complex, and p-adic numbers by algebraic numbers of bounded degree. by K. I. Tsishchanka

MATH10040: Numbers and Functions Homework 1: Solutions

1 Examples of Weak Induction

1. (16 points) Circle T if the corresponding statement is True or F if it is False.

CHAPTER 8: EXPLORING R

2.1 Convergence of Sequences

Final Exam Review. 2. Let A = {, { }}. What is the cardinality of A? Is

means is a subset of. So we say A B for sets A and B if x A we have x B holds. BY CONTRAST, a S means that a is a member of S.

THE CANTOR GAME: WINNING STRATEGIES AND DETERMINACY. by arxiv: v1 [math.ca] 29 Jan 2017 MAGNUS D. LADUE

Problem Set 5 Solutions

THE REAL NUMBERS Chapter #4

3 Finite continued fractions

Proof by Contradiction

Discrete Math, Spring Solutions to Problems V

1 Continued Fractions

Chapter 11 - Sequences and Series

EECS 1028 M: Discrete Mathematics for Engineers

ON THE POSSIBLE QUANTITIES OF FIBONACCI NUMBERS THAT OCCUR IN SOME TYPES OF INTERVALS

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers

Divisibility = 16, = 9, = 2, = 5. (Negative!)

On the possible quantities of Fibonacci numbers that occur in some type of intervals

Solutions for Homework Assignment 2

Groups. s t or s t or even st rather than f(s,t).

Beautiful Mathematics

Math 320: Real Analysis MWF 1pm, Campion Hall 302 Homework 2 Solutions Please write neatly, and in complete sentences when possible.

Solutions to Homework Assignment 2

Homework 3, solutions

Cool Results on Primes

Section 4.1: Sequences and Series

Continuity. Chapter 4

Seunghee Ye Ma 8: Week 2 Oct 6

Infinite Series. Copyright Cengage Learning. All rights reserved.

Note that r = 0 gives the simple principle of induction. Also it can be shown that the principle of strong induction follows from simple induction.

a 2 + b 2 = (p 2 q 2 ) 2 + 4p 2 q 2 = (p 2 + q 2 ) 2 = c 2,

arxiv: v1 [math.gm] 1 Oct 2015

On the Infinitude of Twin-Primes Bao Qi Feng

4.4 Uniform Convergence of Sequences of Functions and the Derivative

INFINITE SEQUENCES AND SERIES

Mathematical Induction. Part Two

Notes on sequences and series in the calculus of one variable

HW 4 SOLUTIONS. , x + x x 1 ) 2

Estimates for probabilities of independent events and infinite series

One-to-one functions and onto functions

Discrete Mathematics. Spring 2017

In last semester, we have seen some examples about it (See Tutorial Note #13). Try to have a look on that. Here we try to show more technique.

M17 MAT25-21 HOMEWORK 6

1 Question related to polynomials

MATH 55 - HOMEWORK 6 SOLUTIONS. 1. Section = 1 = (n + 1) 3 = 2. + (n + 1) 3. + (n + 1) 3 = n2 (n + 1) 2.

Section Taylor and Maclaurin Series

Sequences of Real Numbers

Properties of the Integers

MATH CSE20 Homework 5 Due Monday November 4

Fundamentals of Mathematics (MATH 1510)

a + b = b + a and a b = b a. (a + b) + c = a + (b + c) and (a b) c = a (b c). a (b + c) = a b + a c and (a + b) c = a c + b c.

C241 Homework Assignment 7

Section 1.7 Proof Methods and Strategy. Existence Proofs. xp(x). Constructive existence proof:

MATH 131A: REAL ANALYSIS (BIG IDEAS)

Mathematical Induction

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Big-oh stuff. You should know this definition by heart and be able to give it,

Discrete Structures - CM0246 Mathematical Induction

Solutions to Practice Final 3

MA 301 Test 4, Spring 2007

Advanced Calculus: MATH 410 Real Numbers Professor David Levermore 5 December 2010

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

10x + y = xy. y = 10x x 1 > 10,

Department of Computer Science University at Albany, State University of New York Solutions to Sample Discrete Mathematics Examination I (Spring 2008)

not to be republished NCERT REAL NUMBERS CHAPTER 1 (A) Main Concepts and Results

Lemma 15.1 (Sign preservation Lemma). Suppose that f : E R is continuous at some a R.

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

REAL NUMBERS. Any positive integer a can be divided by another positive integer b in such a way that it leaves a remainder r that is smaller than b.

Concavity and Lines. By Ng Tze Beng

Math 118: Advanced Number Theory. Samit Dasgupta and Gary Kirby

MATH 1A, Complete Lecture Notes. Fedor Duzhin

Functions based on sin ( π. and cos

In N we can do addition, but in order to do subtraction we need to extend N to the integers

CHAPTER 4 SOME METHODS OF PROOF

Section 11.1: Sequences

The Process of Mathematical Proof

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

Homework 3 Solutions, Math 55

Transcription:

Infinite Continued Fractions 8-5-200 The value of an infinite continued fraction [a 0 ; a, a 2, ] is lim c k, where c k is the k-th convergent k If [a 0 ; a, a 2, ] is an infinite continued fraction with positive terms, then lim k c k exists The convergents of an infinite continued fraction with positive terms converge by oscillation to its value If [a 0 ; a, a 2, ] is an infinite continued fraction with positive terms, then its value is an irrational number Every irrational number x has a unique infinite continued fraction expansion [a 0 ; a, a 2, ] whose terms are given recursively by x 0 x, and a k [x k ], x k+ for k If [a 0 ; a, a 2, ] is an infinite continued fraction, I want to define its value to be the limit of the convergents: lim k c k, where c k is the k-th convergent For this to make sense, I need to show that this limit exists In what follows, take as given an infinite continued fraction [a 0 ; a, a 2, ] Let p 0 a 0, q 0 p a a 0 +, q a p k a k p k + p k 2, a k + 2, k 2, Lemma c k p k (a) c k c k ( )k (b) c k c k 2 a k( ) k 2 Proof For (a), For (b), c k c k p k p k p k p k ( )k c k c k 2 p k p k 2 2 p k 2 p k 2 2 (a kp k + p k 2 ) 2 p k 2 (a k + 2 ) 2 a k (p k 2 p k 2 ) 2 a k ( ) k 2 2 a k( ) k 2

c 3 c 5 Lemma c > c 3 > c 5 > > c 4 > c 2 > c 0 That is, the odd convergents get smaller, the even convergents get bigger, and any odd convergent is bigger than any even convergent c c 2 c 4 c 0 Proof If k is even, then This shows that the even terms get bigger If k is odd, then c k c k 2 a k( ) k c k c k 2 a k( ) k 2 > 0, so c k > c k 2 2 < 0, so c k < c k 2 This shows that the odd terms get smaller Finally, I have to show any odd term is bigger than any even term Note that it s true if the terms are adjacent: c 2n+ c 2n ( )(2n+) > 0, so c 2n+ > c 2n Next, do the general case Let c 2n+ be an odd term and let c 2m be an even term Then c 2n+ > c 2n+2m+ > c 2n+2m > c 2m The first inequality is true because odd terms decrease The second inequality is true because I just observed that an odd term is bigger than an adjacent even Finally, the last inequality is true because even terms increase I ve shown that any odd term is bigger than any even term, and that completes the proof Example The first ten convergents for the golden ratio + 5 2 are: 2 > 66667 > 625 > 6905 > 688 c c 3 c 5 c 7 c 9 6765 > 6538 > 6 > 5 > 2 c 8 c 6 c 4 c 2 c 0

The odd convergents get smaller, the even convergents get bigger, and any odd convergent is bigger than any even convergent Lemma k for all k Proof I ll induct on k q a, so the result holds for k Take k >, and assume it holds for numbers k I ll prove that it holds for k + + a k+ + a k+ k + (k ) k + (k ) 2k k + (k ) k + (The last inequality used k 2) This completes the induction step Theorem Let [a 0 ; a, a 2, ] be an infinite continued fraction with a k > 0 for k, and let c k be the k-th convergent Then lim c k exists k Proof Consider the sequence of odd convergents c > c 3 > c 5 > This is a decreasing sequence of numbers, and it s bounded below by any even convergent, for example A standard result from analysis (see, for example, Theorem 34 of []) asserts that such a sequence must have a limit, so lim c 2k+ exists k Likewise, consider the sequence of even convergents: > c 4 > c 2 > c 0 This is an increasing sequence of numbers that s bounded above by any odd convergent, for example The result from analysis mentioned above says that the sequence has a limit: lim k c 2k exists I have to show that the two limits agree The previous lemma implies that q 2k 2k and q 2k+ 2k +, so 0 c 2k+ c 2k ( )2k+ q 2k q 2k+ (2k)(2k + ) Now let k 0, so by the Squeezing Theorem of calculus, (2k)(2k + ) lim (c 2k+ c 2k ) 0, ie lim c 2k+ lim c 2k k k k Since the odd and even terms approach the same limit, lim k c k exists Knowing this, I m justified in defining What can I say about its value? [a 0 ; a, a 2, ] lim k c k 3

Theorem Let [a 0 ; a, a 2, ] be an infinite continued fraction with a k > 0 for k Then [a 0 ; a, a 2, ] is irrational Proof Write x [a 0 ; a, a 2, ] for short I want to show that x is irrational Suppose on the contrary that x p, where p and q are integers I will show this leads to a contradiction q Since the odd convergents are bigger than x and the even convergents are smaller than x, c 2k+ > x > c 2k Then c 2k+ c 2k > x c 2k > 0, ( ) 2k q 2k q 2k+ > x c 2k > 0, q 2k q 2k+ > x c 2k > 0, q 2k q 2k+ > x p 2k q 2k > 0, q 2k+ > xq 2k p 2k > 0, > pq 2k p 2k > 0, q 2k+ q q q 2k+ > pq 2k p 2k q > 0 Notice that this inequality is true for all k, and that the junk in the middle is an integer But q is fixed, q and q 2k+ 2k +, so if I make k sufficiently large eventually q 2k+ will become bigger than q Then q 2k+ will be a fraction less than, and I have an integer pq 2k p 2k q caught between 0 and a fraction less than Since this is impossible, x can t be rational Now I know that every infinite continued fraction made of positive integers represents an irrational number The converse is also true true, and the next result gives an algorithm for computing the continued fraction expansion Theorem Let x R be irrational Let x 0 x, and a k [x k ], x k+ for k 0 Then x [a 0 ; a, a 2, ] Proof Step x k is irrational for k 0 Since x is irrational and x 0 x, the result is true for k 0 Assume that k > 0 and that the result is true for k I want to show that x k is irrational Suppose on the contrary that x k s, where s, t Z Then t s t so x k a k + t x k a k s 4

Now all the a k s are clearly integers (since a k [x k ] means they re outputs of the greatest integer function), so a k + t s is the sum of an integer and a rational number Therefore, it s rational, so x k is rational, contrary to the induction hypothesis It follows that x k is irrational By induction, x k is irrational for all k 0 Step 2 The a k s are positive integers for k I already observed that the a k s are integers Let k 0 Since a k [x k ], the definition of the greatest integer function gives But x k is irrational, so a k x k Hence, a k x k < a k + a k < x k < a k +, 0 < <, x k+ >, a k+ [x k+ ] Since k 0, this proves that the a k s are positive integers for k Step 3 lim c k lim [a 0; a,, a k ] x k k First, I ll get a formula for x in terms of the p s, q s, and a s Then I ll find x p k and show that it s less than something which goes to 0 To get the formula for x, start with x k+ Do some algebra to get Write out this equation for a few values of k: x k a k + x k+ x 0 a 0 + x x a + x 2 x 2 a 2 + x 3 x 3 a 3 + x 4 Substituting the second equation of the set into the first gives x 0 a 0 + 5 a + x 2

Substituting x 2 a 2 + x 3 into this equation gives x 0 a 0 + a + a 2 + x 3 Substituting x 3 a 3 + x 4 into this equation gives x 0 a 0 + a + a 2 + a 3 + x 4 You get the idea In general, x x 0 a 0 + a + a 2 + [a 0 ; a, a 2,, a k, x k+ ] + a k + x k+ In other words, the x k s are the infinite tails of the continued fraction Recall the recursion formulas for convergents: p k a k p k + p k 2 and a k + 2 The right sides only involve terms up to a k (and p s and q s of smaller indices) Therefore, the fractions [a 0 ; a, a 2,, a k, x k+ ] and [a 0 ; a, a 2,, a k, a k+, ] have the same p s and q s through index k Using the recursion formula for convergents, I get Therefore, Take absolute values: Now x x 0 [a 0 ; a, a 2,, a k, x k+ ] x k+p k + p k x k+ + x p k x k+p k + p k x k+ + p k x k+p k + p k x k+ p k p k (x k+ + ) p k p k (x k+ + ) ( ) k (x k+ + ) x p k (x k+ + ) x k+ > [x k+ ] a k+, so x k+ + > a k+ + + 6

Therefore, x k+ + < +, <, (x k+ + ) + x p k < + By an earlier lemma, k and + k +, so x p k < + Now lim 0, so by the Squeezing Theorem k k(k + ) lim k x p k 0 k(k + ) This implies that p k lim x k Example I ll compute the continued fraction expansion of π Here are the first two steps: x Continuing in this way, I obtain: x 0 π, a 0 [x 0 ] [π] 3 x 0 a 0 70625, a [x ] 7 x k a k p k c k π 3 3 3 70625 7 22 7 22 7 599659 5 333 06 333 06 0034 355 3 355 3 29263459 292 03993 3302 03993 3302 Example I ll compute the continued fraction expansion of 5 x x 0 5 a 0 [ 5] [223607] 2 5 2, a [ ] [423607] 4 5 2 7

Here are the first 5 terms: x a 5 2 423606 4 423606 4 423606 4 423606 4 In fact, the continued fraction expansion for 5 is [2; 4, 4, 4, ] Theorem The continued fraction expansion of an irrational number is unique Proof Suppose [a 0 ; a, a 2, ] x [b 0 ; b, b 2, ] are two continued fractions for the irrational number x, where a k, b k Z and a k, b k for k I want to show that a k b k for all k Recall that: The even convergents are smaller than x The odd convergents are greater than x Therefore, Now a 0 < x < a 0 + a a a a 0 + a a 0 + x < a 0 + Thus, a 0 is an integer less than x, and the next larger integer a 0 + is greater than x This means that a 0 [x] The same reasoning applies to the b s Therefore, b 0 [x], so a 0 b 0 Hence, [a 0 ; a, a 2, ] [b 0 ; b, b 2, ] a 0 + a + a 2 + a + a 2 + b 0 + b + b + b 2 + b 2 + [a ; a 2, a 3, ] [b ; b 2, b 3, ] 8

I can continue in the same way to show that a k b k for all k Here s a summary of some of the important results on infinite continued fractions: An irrational number has a unique infinite continued fraction expansion 2 The algorithm for computing the continued fraction expansion of an irrational number x is: Then x 0 x, and a k [x k ], x k+ x [a 0 ; a, a 2, ] for k 3 If [a 0 ; a, a 2, ] is the continued fraction expansion of an irrational number, then a k is a positive integer for k 4 If x [a 0 ; a, a 2, ] is the continued fraction expansion of an irrational number and {p k } and { } are defined by the recursion formulas for convergents, then x p k < + Example Here is the continued fraction expansion for e + π Now Thus, in this case, x k a k p k c k 585987 5 5 5 6296 6 6 63646 6 4 7 4 7 73282 7 293 50 293 50 30468 3 920 57 920 57 23697 2 963 3347 963 3347 e + π 920 57 00000087 while 57 3347 000000903 e + π 920 57 < 57 3347 [] Walter Rudin, Principles of Mathematical Analysis (3 rd edition) New York: McGraw-Hill Book Company, 976 c 2008 by Bruce Ikenaga 9