Rational Approximation by Continued Fractions

Similar documents
Infinite Continued Fractions

Section 1.1 Notes. Real Numbers

Homework 3 Solutions, Math 55

8. Dirichlet s Theorem and Farey Fractions

Adding and Subtracting Rational Expressions. Add and subtract rational expressions with the same denominator.

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

Section 2.4: Add and Subtract Rational Expressions

Structure of R. Chapter Algebraic and Order Properties of R

CHAPTER 1 REAL NUMBERS KEY POINTS

MATH98 Intermediate Algebra Practice Test Form B

CSE 20 DISCRETE MATH. Winter

Lecture 2: Proof Techniques Lecturer: Lale Özkahya

Common Core Coach. Mathematics. First Edition

MATH98 Intermediate Algebra Practice Test Form A

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

Yes zero is a rational number as it can be represented in the

CHAPTER 8: EXPLORING R

Simplifying Rational Expressions and Functions

Algebra I Unit Report Summary

Section 2.5 : The Completeness Axiom in R

Class 8: Numbers Exercise 3B

Proof by Contradiction

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

Proof by contrapositive, contradiction

Math/Music: Structure and Form Fall 2011 Worksheet on Continued Fractions

Show Your Work! Point values are in square brackets. There are 35 points possible. Tables of tautologies and contradictions are on the last page.

7.2 Applications of Euler s and Fermat s Theorem.

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.

Number Systems. Exercise 1.1. Question 1. Is zero a rational number? Can you write it in the form p q,

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.

Foundations of Discrete Mathematics

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.

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

9/5/17. Fermat s last theorem. CS 220: Discrete Structures and their Applications. Proofs sections in zybooks. Proofs.

SOLUTIONS FOR THE THIRD PROBLEM SET

Complex Numbers: Definition: A complex number is a number of the form: z = a + bi where a, b are real numbers and i is a symbol with the property: i

MATH 2400: PRACTICE PROBLEMS FOR EXAM 1

Chapter 17. Proof by Contradiction The method

MATH 271 Summer 2016 Practice problem solutions Week 1

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

Homework 3: Solutions

1. Revision Description Reflect and Review Teasers Answers Recall of Rational Numbers:

(i) 2-5 (ii) (3 + 23) - 23 (v) 2π

SECTION Types of Real Numbers The natural numbers, positive integers, or counting numbers, are

Associative property

INTEGERS. In this section we aim to show the following: Goal. Every natural number can be written uniquely as a product of primes.

Basic Proof Examples

SEVENTH EDITION and EXPANDED SEVENTH EDITION

Question 1: Is zero a rational number? Can you write it in the form p, where p and q are integers and q 0?

Elliptic Curves. Dr. Carmen Bruni. November 4th, University of Waterloo

Notes on sequences and series in the calculus of one variable

Rational Functions. A rational function is a function that is a ratio of 2 polynomials (in reduced form), e.g.

Introduction to Series and Sequences Math 121 Calculus II Spring 2015

LESSON 9.1 ROOTS AND RADICALS

COMP 182 Algorithmic Thinking. Proofs. Luay Nakhleh Computer Science Rice University

MATH 51H Section 4. October 16, Recall what it means for a function between metric spaces to be continuous:

In Exercises 1 12, list the all of the elements of the given set. 2. The set of all positive integers whose square roots are less than or equal to 3

,... We would like to compare this with the sequence y n = 1 n

Grade 8 Chapter 7: Rational and Irrational Numbers

and LCM (a, b, c) LCM ( a, b) LCM ( b, c) LCM ( a, c)

GRADE 8. Know that there are numbers that are not rational, and approximate them by rational numbers.

Proofs Not Based On POMI

A number that can be written as, where p and q are integers and q Number.

Chapter 7 Rational Expressions, Equations, and Functions

Outline Goals and Assumptions Real Numbers Rational and Irrational. L11: Numbers. Alice E. Fischer

A group of figures, representing a number, is called a numeral. Numbers are divided into the following types.

Lecture 2: Continued fractions, rational approximations

CROSSWalk. for the Co on Core State Standards

Beginning Algebra. 1. Review of Pre-Algebra 1.1 Review of Integers 1.2 Review of Fractions

Bessel s and legendre s equations


Math 8 Curriculum Map and I Can Statements Diane Hamilton

Algebra 1. Standard 1: Operations With Real Numbers Students simplify and compare expressions. They use rational exponents and simplify square roots.

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

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

NAME DATE PERIOD. A negative exponent is the result of repeated division. Extending the pattern below shows that 4 1 = 1 4 or 1. Example: 6 4 = 1 6 4

Solutions to Homework Set 1

CSE 20 DISCRETE MATH WINTER

3.6. Disproving Quantified Statements Disproving Existential Statements

Masters Tuition Center

CSE 20 DISCRETE MATH SPRING

MATH Spring 2010 Topics per Section

Basics of Proofs. 1 The Basics. 2 Proof Strategies. 2.1 Understand What s Going On

Math1a Set 1 Solutions

2.2 Some Consequences of the Completeness Axiom

Grade 11/12 Math Circles Elliptic Curves Dr. Carmen Bruni November 4, 2015

Alg 1B Chapter 7 Final Exam Review

ALGEBRA 1B GOALS. 1. The student should be able to use mathematical properties to simplify algebraic expressions.

2. Two binary operations (addition, denoted + and multiplication, denoted

UNIT 4 NOTES: PROPERTIES & EXPRESSIONS

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

9. Integral Ring Extensions

Math.3336: Discrete Mathematics. Proof Methods and Strategy

Mathematics 228(Q1), Assignment 2 Solutions

5.6 Solving Equations Using Both the Addition and Multiplication Properties of Equality

Proofs Not Based On POMI

California: Algebra 1

Therefore the new Fourier coefficients are. Module 2 : Signals in Frequency Domain Problem Set 2. Problem 1

CSE 215: Foundations of Computer Science Recitation Exercises Set #5 Stony Brook University. Name: ID#: Section #: Score: / 4

Math 200 University of Connecticut

Transcription:

Rational Approximation by Continued Fractions The convergents of a continued fraction expansion of x give the best rational approximations to x. Specifically, the only way a fraction can approximate x better than a convergent is if the fraction has a bigger denominator than the convergent. The first lemma says that the denominators of convergents of continued fractions increase. Lemma. Let a 0, a, a 2,...be a seuence of integers, where a > 0 for. Define p 0 = a 0, 0 = Then + > for > 0. p = a a 0 +, = a p = a p +p 2, = a + 2, 2. Proof. Let > 0. Note that is a positive integer. So + = a + + > a + =, where a + because the a s are positive integers from a on. The convergents of a continued fraction oscillate around the limiting value, and the convergents are always fractions in lowest terms. In fact, the convergents are the best rational approximations to the value of the continued fraction. I ll state the precise result without proof. Theorem. Let x be irrational, and let c = p be the -th convergent in the continued fraction expansion of x. Suppose p, Z, > 0, and x p < x p. Then +. Here s what the result means. Draw the line through the origin in the t-y plane with slope x. Plot the points (p,) and (p, ). The hypothesis x p < x p says that the vertical distance from (,p) to y = xt is less than the vertical distance from (,p ) to y = xt. y (,p ) y = xt x - p x - p (,p) t

The conclusion says that +. In fact, since + >, > : The denominator of p is bigger than that of p. In other words, the only way the point (p,) can be closer to the line is if its y-coordinate is bigger. I can restate the theorem in the form of a corollary in which you can see the fractions in uestion approximating x. Corollary. Let x be irrational, and let c = p be the -th convergent in the continued fraction expansion of x. Suppose p, Z, > 0, and x p < x p. Then >. Proof. Given the hypotheses of the corollary, suppose on the contrary that. Since x p < x p, I can multiply the two ineualities to get x p < x p. Apply the theorem to obtain +. But then +, which contradicts the fact that the s increase. Therefore, >. This result says that the only way a rational number p can approximate a continued fraction better than a convergent p is if the fraction has a bigger denominator than the convergent. Example. Here are the convergents for the continued fraction expansion for π: a p c 3 3 3 7 22 7 22 7 5 333 06 333 06 3 3 292 03993 3302 03993 3302 3 3.4592920, which is in error in the seventh place. The theorem says that a fraction p closer to π than only if > 3. 3 can be The next result is sort of a converse to the previous two results. It says that if a rational number approximates an irrational number x sufficiently well, then the rational number must be a convergent in the continued fraction expansion for x. 2

Theorem. Let x be irrational, and let p be a rational number in lowest terms with > 0. Suppose that x p < 2 2. Then p is a convergent in the continued fraction expansion for x. Proof. Since for 0, the s form a strictly increasing seuence of positive integers. Therefore, for some, < +. Since < +, the contrapositive of the preceding theorem gives x p x p = x p < 2 2 = 2. Hence, x p <. 2 Now assume toward a contradiction that p is not a convergent in the continued fraction expansion for x. In particular, p p, so p p, and hence p p is a positive integer. Since p p, p p = p p = p x+x p p x + x p < + 2 2 2. (The second ineuality comes from the Triangle Ineuality: a+b a + b.) Subtracting from both sides, I get 2 < 2 2 2, so <. But I assumed, so this is a contradiction. Therefore, p is a convergent in the continued fraction expansion for x. Example. Show that is the best rational approximation to π by a fraction having a denominator less 3 than 000. Suppose that p < 000. Since p is a fraction in lowest terms that is a better approximation to π than, and that 3 is a fraction is a better approximation to π than 3, π p < π 3. Since < 000, 2 2 < 2000000, so 2 2 > 2000000 = 5 0 7. 3

But π 3 = 2.66764... 0 7. Thus, 2 2 > 5 0 7 > The hypotheses of the theorem are satisfied, so p expansion of π. π 3 > π p. But the other convergents with denominators less than 000 3, 22 7, 333 06 than 000 are poorer approximations to π than 3. must be a convergent in the continued fraction with denominators less Hence, is the best rational approximation to π by a fraction having a denominator less than 000. 3 Example. (a) Compute the first 6 convergents c 0,...c 5 of the continued fraction for /3. (b) Show that 278 25 is the best rational approximation to /3 having denominator less than 55. (a) x a p c 2.22398009056935 2 2 2 4.4646825446245 4 9 4 9 4 2.5200682352479 2 20 9 20 9 6.57865204239306 6 29 58 29 58.72854274376962 49 67 49 67.373335342782462 278 25 278 25 2.67855704363653 2 705 37 705 37 (b) Suppose that p is a fraction in lowest terms which is a better approximation to /3 than 278, and also 25 that < 55. Since p is a better approximation to /3 than 278 25, /3 p < /3 278 25 =.99094... 0 5. Since < 55, < 55 2 < 24025 2 2 < 48050 2 2 > 48050 = 2.086... 0 5 4

So I have 2 2 > 2.086... 0 5 >.99094... 0 5 > /3 p. (The ineualitiesareapproximate, but thereisenoughroombetween2.086... 0 5 and.99094... 0 5 that there is no problem.) By the approximation theorem, p is a convergent for /3. But no convergent with < 55 is a better approximation than 278 25. This contradiction shows that 278 25 is the best rational approximation to /3 having denominator less than 55. c 207 by Bruce Ienaga 5