How fast does a continued fraction converge?

Similar documents
Notes on Continued Fractions for Math 4400

Graphing Radicals Business 7

Math 1302 Notes 2. How many solutions? What type of solution in the real number system? What kind of equation is it?

CHAPTER 1 REAL NUMBERS KEY POINTS

CONTINUED FRACTIONS Lecture notes, R. M. Dudley, Math Lecture Series, January 15, 2014

UNIT 5 QUADRATIC FUNCTIONS Lesson 2: Creating and Solving Quadratic Equations in One Variable Instruction

CHAPTER EIGHT: SOLVING QUADRATIC EQUATIONS Review April 9 Test April 17 The most important equations at this level of mathematics are quadratic

Classify, graph, and compare real numbers. Find and estimate square roots Identify and apply properties of real numbers.

1 Continued Fractions

Online Courses for High School Students

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, Project on p-adic Numbers, Real Analysis I, Fall, 2010.

Revision notes for Pure 1(9709/12)

8th Grade Math Definitions

Chapter 1A -- Real Numbers. iff. Math Symbols: Sets of Numbers

Solving Quadratic Equations by Formula

ACCUPLACER MATH 0311 OR MATH 0120

10.1 Radical Expressions and Functions Math 51 Professor Busken

(Infinite) Series Series a n = a 1 + a 2 + a a n +...


( ) c. m = 0, 1 2, 3 4

Math 200 University of Connecticut

Positive Rational Exponents

P.1 Prerequisite skills Basic Algebra Skills

8.5 Taylor Polynomials and Taylor Series

1 Numbers. exponential functions, such as x 7! a x ; where a; x 2 R; trigonometric functions, such as x 7! sin x; where x 2 R; ffiffi x ; where x 0:

Radical Expressions and Functions What is a square root of 25? How many square roots does 25 have? Do the following square roots exist?

Study Guide for Math 095

Math 110 (S & E) Textbook: Calculus Early Transcendentals by James Stewart, 7 th Edition

8 th Grade Intensive Math

Complex Numbers. 1, and are operated with as if they are polynomials in i.

NUMBERS( A group of digits, denoting a number, is called a numeral. Every digit in a numeral has two values:

The Real Number System

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Algebra Review C H A P T E R. To solve an algebraic equation with one variable, find the value of the unknown variable.

Elementary Algebra

SECTION 9.2: ARITHMETIC SEQUENCES and PARTIAL SUMS

CHAPTER 8: EXPLORING R

Reference Material /Formulas for Pre-Calculus CP/ H Summer Packet

Solutions to Homework 2

Topic Outline for Algebra 2 & and Trigonometry One Year Program

HIGH SCHOOL MATH CURRICULUM GRADE ELEVEN ALGEBRA 2 & TRIGONOMETRY N

Solving Quadratic Equations Using the Quadratic Formula

Closed form expressions for two harmonic continued fractions

ARBITRARY MAPPINGS H. O. BLOCK AND BUCHANAN CARGAL

Algebra One Dictionary

Algebra 1 Correlation of the ALEKS course Algebra 1 to the Washington Algebra 1 Standards

Algebra 1 Math Year at a Glance

Course Learning Outcomes for Unit III. Reading Assignment. Unit Lesson. UNIT III STUDY GUIDE Number Theory and the Real Number System

Rational Numbers. a) 5 is a rational number TRUE FALSE. is a rational number TRUE FALSE

Numbers and Operations Review

ALGEBRA. COPYRIGHT 1996 Mark Twain Media, Inc. ISBN Printing No EB

Course Outcome Summary

Unit 8 - Polynomial and Rational Functions Classwork

Natural Numbers Positive Integers. Rational Numbers

ARITHMETIC AND BASIC ALGEBRA

ENGIN 211, Engineering Math. Complex Numbers

bc7f2306 Page 1 Name:

( )( ) Algebra I / Technical Algebra. (This can be read: given n elements, choose r, 5! 5 4 3! ! ( 5 3 )! 3!(2) 2

MATH 1190 Exam 4 (Version 2) Solutions December 1, 2006 S. F. Ellermeyer Name

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

Algebra I Unit Report Summary

Sequences of Real Numbers

OBJECTIVES UNIT 1. Lesson 1.0

Equations and Inequalities. College Algebra

2.1 Convergence of Sequences

9.5. Polynomial and Rational Inequalities. Objectives. Solve quadratic inequalities. Solve polynomial inequalities of degree 3 or greater.

Chapter 3: Factors, Roots, and Powers

Objective Mathematics

Analysis of California Mathematics standards to Common Core standards Algebra I

Roots are: Solving Quadratics. Graph: y = 2x 2 2 y = x 2 x 12 y = x 2 + 6x + 9 y = x 2 + 6x + 3. real, rational. real, rational. real, rational, equal

converges to a root, it may not always be the root you have in mind.

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

1 Solving Algebraic Equations

Florida Math Curriculum (433 topics)

Math 1 Variable Manipulation Part 4 Student

Math-2 Lesson 2-4. Radicals

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

INFINITE SEQUENCES AND SERIES

Undergraduate Notes in Mathematics. Arkansas Tech University Department of Mathematics. College Algebra for STEM

Algebra I. abscissa the distance along the horizontal axis in a coordinate graph; graphs the domain.

King Fahd University of Petroleum and Minerals Prep-Year Math Program Math Term 161 Recitation (R1, R2)

Algebra. Table of Contents

Exam 2 Review Chapters 4-5

SEVENTH EDITION and EXPANDED SEVENTH EDITION

Miller Objectives Alignment Math

MA094 Part 2 - Beginning Algebra Summary

Day 6: 6.4 Solving Polynomial Equations Warm Up: Factor. 1. x 2-2x x 2-9x x 2 + 6x + 5

Part 2 - Beginning Algebra Summary

PUTNAM PROBLEMS SEQUENCES, SERIES AND RECURRENCES. Notes

Check boxes of Edited Copy of Sp Topics (was 145 for pilot) Beginning Algebra, 3rd Ed. [open all close all] Course Readiness and

The Number System (NS) 8.NS.1 Standards for Mathematical Practice (MP): Connections

MATH Spring 2010 Topics per Section

Fundamentals. Introduction. 1.1 Sets, inequalities, absolute value and properties of real numbers

Correlation: California State Curriculum Standards of Mathematics for Grade 6 SUCCESS IN MATH: BASIC ALGEBRA

Tenth Bit Bank Mathematics Real Numbers

The Growth of Functions. A Practical Introduction with as Little Theory as possible

Math From Scratch Lesson 29: Decimal Representation

Pre-Algebra Unit 2. Rational & Irrational Numbers. Name

Math Lecture 23 Notes

Transcription:

How fast does a continued fraction converge? C. E. Falbo Sonoma State University Abstract Did you know that when the continued fraction a + a 2 + a 3 +::: converges, the in nite series P n= ja nj diverges? And that the divergence of the series is necessary but not su cient! In this paper we discuss some of the interesting properties from the classical studies of continued fractions, cfs. We study complex and periodic cfs. Of special interest is the cf in which the period is : Let b be any positive number and u(b) be the positive root of the quadratic equation x 2 bx = 0. We show how to compute the rate at which the cf with all a n = b converges to u(b). It turns out that this rate depends only upon b and not upon whether the limit is rational or irrational. When the partial numerators settle down to only s; we get in nitely many so-called most irrational numbers. Introduction In mathematics we often encounter unending processes such as in nite sequences, in nite series, in nite products, continued fractions, continued radicals, and so forth. We may ask questions such as: Under what conditions do these processes produce a nite answer? How many steps will be necessary to achieve an approximation to within a given error? In other words, how fast does this process converge? And in computer sciences we sometimes ask: Is there another process that will produce as good or an even better answer in fewer steps? In this paper one of the questions we want to answer is: If b is a positive

number, and b 6= ; how slowly does the continued fraction x = b + converge compared to how slowly = + b + b+... () + +... (2) converges? We will nd that when b > ; () converges more rapidly than (2), and when 0 < b < ; () is slower than (2). This latter result is logical enough, but it is somewhat surprising in the face of claims that (2) is the "slowest converging" continued fraction. Livio[3, pp 4]. The con ict is resolved when we realize that the aforementioned claim is based upon considering only special cases in which the values of b are restricted to the whole numbers. Historically, the domains of continued fractions include all real and complex numbers and are not restricted to just the positive integers. If a 0 ; a ; a 2 ; ::: and b ; b 2 ; b 3 ; ::: are any complex numbers, we write the continued fraction a a 0 + a b + 2 (3) b 2 + a 3 b 3 +... in the more compact and easier to read form a 0 + a a 2 a 3 :::: (4) b + b 2 + b 3 + The convergence or divergence of (4) depends upon whether or not the the a p s and the b p s meet certain conditions. In addition, when the a p s are non-zero, we can further simplify the notation, without loss of generality, by rewriting (4) as follows. c 0 + ::: (5) c + c 2 + c 3 + where c 0 = a 0 ; c = b =a ; c 2 = (a b 2 )=a 2 ; c 3 = (a 2 b 3 )=(a a 3 ); etc. When the c p s are real, and are all of the same sign, (5) converges if and only if the in nite series P jc p j diverges. 2

In (5), if the c p s are complex we need the following additional requirement. Let R(c p ) and I(c p ) be the real and imaginary parts of c p ; respectively, and suppose there exists a positive number, k and a positive integer N such that ji(c p )j < k jr(c p )j for all p > N; then (5) converges. Van Vleck[4]. This implies, for example, that if R(c p ) = 0 for all p; then (5) does not converge even if P jc p j diverges. Example If z is the complex number, z = i; then the continued fraction does not converge. z + z + z + ::: Example 2 If we let P and Q be real numbers with P 6= 0; and z = P + iq; then the continued fraction does converge and its limit is z + z + z + ::: where 2 (P + A) + i (Q + B); (6) 2 A = s pk2 + L 2 + K 2 ; s pk2 + L B = 2 K = R(z 2 ) + 4; L = I(z 2 ): K ; This follows from Van Vleck. 3

2 Linear Fractional Transformations Let a p and b p be any complex numbers. Wall[5,pp3], de nes "...an in nite sequence of linear fractional transformations, p (w) of the variable w into the variable " as follows: 0 (w) = b 0 + w p (w) = a p b p + w : (7) If we denote the composite of these functions i [ j :::[ k (w)]] by i j ::: k (w), we will get the identity 0 ::: n (0) = 0 ::: n+ (): The linear fractional transformation (7) can be written as 0 ::: n (w) = A n w + A n (8) B n w + B n where A n and B n are functions of a p and b p : This can be proved by induction starting with A = ; B = 0; A 0 = a 0 ; B 0 = ; and using the following fundamental recurrence formulas. Ap+ Ap A = p bp+ ; for p = 0; ; 2; 3; :::: B p B p B p+ We compute a few terms getting A 0 B 0 = a 0 ; a p+ A B = a 0 + a b ; A 2 B 2 = a 0 + a b + a 2 b 2 ;... A n lim = a 0 + a a 2 a 3 ::: (9) n! B n b + b 2 + b 3 + which corresponds to (4): When the b p s; the denominators, are non-zero we can convert this continued fraction into the following form d 0 + d d 2 d 3 :::: (0) + + + In 865 Worpitzky[6] proved that (0) converges if there exists a positive integer P such that jd p j ; for all p > P: Later, in 939, Leighton[2] proved 4 that (0) converges if the ratio jd p+ =d p j k < for all su ciently large p. The cf (0) could converge or diverge if the limit of the ratio is : 4

3 Periodic Continued Fractions If the partial denominators c ; c 2 ; ::: in (5) exhibit the following repeating pattern a + b + b 2 + ::: b n + b + b 2 + ::: then this cf is said to be a periodic continued fraction of period n. When the c p s are real and have the same sign, the periodic continued fraction, pcf always converges because X jb p j p= diverges. But when the c p s have non zero imaginary parts, the Van Vleck criteria are needed for convergence. 3. Formula for pcf of period If the repeating pattern in a periodic cf is of length, then its limit is just the positive root of the quadratic equation x 2 bx = 0 b + b + b + b + ::: = b + p b 2 + 4 : 2 3.2 Formula for pcf of period 2 If a is any real number and the period n = 2; and the repeating terms are any positive real numbers, p and q (not necessarily distinct), then the limit of is a + p + q + p + q + ::: = 2 (2a q) + 2p q2 + 4q=p: These formulas also hold when b; p;or q are complex numbers that satisfy the Van Vleck condition. 5

3.3 Square roots as pcf s with integral partial denominators It is interesting to note that if N is a positive integer and not a perfect square then p N can be written as a pcf in which the c p s are integers. Example: p = 3 + 3 + 6 + 3 + 6 + :::: 4 How to measure how fast the pcf of period converges 4. Wall s Formula Let b be any positive real number. Denote by u(b) and v(b) respectively, the positive and negative roots of the quadratic equation x 2 bx = 0: () Following Wall[5, pp. 23], for all positive integers n; we de ne w n (b); the nth approximant of the continued fraction, cf, converging to u(b) as follows w n (b) = u(b) + v(b) v(b) v(b) + = P : (2) n u(b) p=0 (v(b)=u(b))p A generalizatiom of this and other related formulas are due to Euler[], but we will consider only this simple version. Let s call Equation (2) "Wall s Formula." We prove that it converges and we determine its rate of convergence for every real number b > 0: In addition, we will show that: The rate of convergence depends only upon b, This rate increases as b increases, and The rate is exactly the same as the rate of convergence of (). b + b + b + b + ::: 6

First, let s prove that Wall s Formula converges to u(b) and compute its rate of convergence. Since u(b) = (b+ p p b 2 + 4)=2 and v(b) = (b b2 + 4)=2 are the roots to the quadratic equation (0), then it is easy to prove that v(b) 2 u(b) = < : (3) u(b) The inequality in (3) tells us that the geometric series Xn (v(b)=u(b)) p = p=0 n v(b) u(b) v(b) u(b) (4) is absolutely convergent, and its limit is Therefore u(b) u(b) v(b) : lim w n(b) = u(b) + v(b) n! v(b) v(b) + u(b) v(b) u(b) u(b) = b v(b) = u(b): 4.2 Why convergence is faster for larger b When b increases what happens to the ratio Solution: v(b) u(b). If b > b 2 and both are positive, then u(b ) > u(b 2 ),? < u 2 (b ) v(b ) u(b ) < u 2 (b 2 ), or v(b 2 ) u(b 2 ) : That is, the ratio decreases as b increases. 7

The larger the value of b; the smaller the ratio, thus the faster the geometric series converges. Since this series is in the denominator of the denominator of Wall s Formula, then w n (b) converges to u(b) faster for larger b: This result is independent of whether or not u(b) is rational. Thus, for example w n () converges to u() = + p 5 ; faster than 2 w n ( 7 2 ) converges to u( 7 2 ) = 4 3 : Let us write the continued fraction b + b + b + b + ::: recursively in order to compare this with Wall s Formula. c 0 = b c n (b) = b + =c n (b); for n : (5) 4.3 Relation between w n (b) and c n (b) We now state a remarkable equation, for n : w n (b) = un+2 (b) v n+2 (b) u n+ (b) v n+ (b). (6) An interesting proof of this can be obtained by starting with (2); substituting in (4) and making use of the fact that u(b) and v(b) are roots of the quadratic equation (): Now by induction, we can prove that Wall s Formula, (2) is the same as the pcf in equation (5): That is c n (b) = w n (b): (7) Equation (7) tells us that the rate at which c n (b) converges increases as b increases. Therefore, if b < ; then b + b + b + b + ::: 8

converges to (b + p b 2 + 4)=2 more slowly than converges to : + + + + ::: 4.4 All irrationals are in the range of u(b) and v(b) Both Wall s formula w n (b) and the period- pcf; c n (b) have the same limit, namely A n lim = (b + p b2 + 4) n! B n 2 which is the positive root of the quadratic equation x 2 bx = 0. Now, since we are allowing b to be any positive real number, every positive real number is in the range of u(b): And every negative real is in the range of v(b): See Figure. y u b v Figure graphs of u(b) and v(b): Range is all reals 6= 0 To solve the inverse problem, we start with any (irrational or rational) number, y 6= 0; then nd what b it takes to get y as a root. Just de ne b as y =y: The graph is shown in Figure 2. 9

b y b Figure 2 Graph of b(y): Horizontal axis is y These graphs are inverses of each other. Thus, y = u(b), or =u(b), and b = u(b) =u(b): See the combined graphs in Figure 3 y u b v Figure 3. Showing how b is related to u(b) and v(b) 0

5 Continued Fractions with integral partial denominators. An integral continued fraction, icf; is de ned as the cf (5); in which all of the partial denominators, c p s are positive (or negative) integers. Then. The cf will converge to a limit x; and 2. Any truncation will yield a rational approximation of x: Thus, if and, for some integer n; x = c 0 + c + c 2 + c 3 + ::: x n = c 0 + c + c 2 + ::: ; + c n then x n is a rational approximation of x: We know that the icf converges because all of the c p s are positive or negative integers, so P jc p j diverges. Every irrational number x can be written as such an icf: Example 3 Consider the following icf 2 = 9 + + 6 + ::: (8) + 2 + 47 + Cutting this o after just one term we get x 0 = 9: After two terms, x = 0; then x 2 = 69=7, x 3 = 79=8; x 4 = 227=23; etc. In the next section we will state an algorithm for getting icfs for irrational numbers. 6 Nearest Rational Approximation The concept of "nearest rational approximation" is used as a measure of how irrational a number is.

6. What is the nearest rational approximation of an irrational number? We take the following as our de nition. De nition 4 If x > 0 is any irrational number and > 0 is any prescribed error, then the rational fraction A with the smallest denominator such that B x A < is the nearest rational approximation, nra, to x for this : B If we compare two irrational numbers x and y and we want to say "x is more irrational than y" then, according to this de nition, we need to show that the rational numbers approximating x to a within a certain error, must have larger denominators than those rationals approximating y to within the same error. A frequently used example is the comparison of to : Say we want an approximation with error = 0:002. We note that 22 < ; but in order 7 to nd a rational number that comes within this same for ; we need the fraction 34. That is, 2 34 2 < ; and for no other rational fraction with a denominator less than 2 will this be true. 6.2 Finding the nra The algorithm for nding the nra is to construct a continued fraction by manipulating a decimal expression as follows. Let N be any real positive number written in decimal form, rational or irrational, thus: N = b 0 :a a 2 a 3 :::; where b 0 is a nonnegative integer and each a p is a base-ten digit. Write N as the sum of its integral part and its fractional part as follows: N = b 0 + 0:a a 2 a 3 ::: = b 0 + =(0:a a 2 a 3 :::) : Note that if 0:a a 2 a 3 :::is zero then N is just the integer b 0 ; and we terminate the process with N = b 0 : Carry out the division =(0:a a 2 a 3 :::) This produces a decimal of the form b :c c 2 c 3 :::; where b is an integer, b, and 2

c p is a base-ten digit. We know that b because 0:a a 2 a 3 ::: < : Now if 0:c c 2 c 3 ::: is not zero, we can write N = b 0 + b + =(=(0:c c 2 c 3 :::)) ; etc. If this process terminates, the fractional part becomes zero, and N is a rational number. Otherwise the process continues. If you truncate the fraction at some stage, you will have a continued fraction in which all the b p s are positive integers and when simpli ed will yield a rational number A(n) B(n) approximation of N: No rational number whose denominator is less than B(n) will be as good an approximation to N. The expression = 0:c c 2 c 3 ::: can never be less than ; all the b p and none of the nracf can converge more slowly than the one in which every b p = : Thus, N = + + + + ::: is one of the slowest converging nracf. This N is actually : Because all of the denominators are in this nracf; then could be called one of the most irrational numbers between and 2: Likewise, the number N 2 de ned as N 2 = 2 + + + + ::: is one of the most irrational numbers between 2 and 3 etc. the nracf for N 2 converges just as slowly as the one for : If N is any positive integer then the irrational number y = N + + + + ::: It is clear that is also one of the slowest converging nracf This is because all of the denominators of y are s; therefore y converges just as slowly as Actually y = N + : Thus, there are in nitely many counter-examples to the statement that is the most irrational number; just take any positive integer M and add : In addition you can create more such counter examples by adding integers to the reciprocals of these, for example = + M + : 3

This converges just as slowly as ; but then so does 2 = + P + for any other positive integer, P; 3 = +, and 4 = + 2 or 5 = + 3 ; etc. Any such combination yields 0 s that are between and 2; and there are also in nitely many equally irrational numbers in every interval. For example in the interval [2; 3];the number 2:23279689... is just as irrational as ; because it is de ned as follows. 7 References 2:23279689::: = 2 + 4 + 3 + 2 + + + :::. Euler, L. Introductio in analysin in nitorium, Chapter 8, Vol., 748 2. Leighton, Walter "A test-ratio for continued fractions," Bull. Amer. Math. Soc. vol 45(939), pp 97-00. 3. Livio, M. The Golden Ratio: The Story of Phi, the World s Most Astonishing Number, Broadway Books, 2002. 4. Van Vleck, E. V. "On the convergence of continued fractions with complex elements," Trans. Amer. Math. Soc., vol 2(90), pp. 25-233. 5. Wall, H. S. Analytic Theory of Continued Fractions, Van Nostrand, Co. 948, Reprinted by AMS Chelsea Publishing, 2000. 6. Worpitzky, J. "Untersuchungen uber die Entwickelung der monodronen und monogenen Funktionen durch Kettenbruche," Friedrichs-Gymnasium und Realschule, Jahresbericht, Berlin, 865, pp. 3-29. 4