Ramana Andra Thomas Jackson FTLOMACS OCT 14, 2017 AGENDA - - PowerPoint PPT Presentation

β–Ά
ramana andra
SMART_READER_LITE
LIVE PREVIEW

Ramana Andra Thomas Jackson FTLOMACS OCT 14, 2017 AGENDA - - PowerPoint PPT Presentation

Continued Fractions: Invisible Patterns Ramana Andra Thomas Jackson FTLOMACS OCT 14, 2017 AGENDA Representations on Numbers Continued Fraction Notation Finite Ratio Example Convergents Radicals Algebraic


slide-1
SLIDE 1

Continued Fractions: Invisible Patterns Ramana Andra Thomas Jackson FTLOMACS OCT 14, 2017

slide-2
SLIDE 2
  • Representations on Numbers
  • Continued Fraction Notation
  • Finite Ratio Example
  • Convergents
  • Radicals
  • Algebraic Numbers
  • Ο€
  • Java Programs
  • Invisible Connections

AGENDA

2

slide-3
SLIDE 3

Infinite Series, Periodic and Nonperiodic Decimal Expansions, Integrals 𝜌 = 1 +

1 2 + 1 3 + 1 4 βˆ’ 1 5 + 1 6 + 1 7 + 1 8 + 1 9 + βˆ’ 1 10 + 1 11 + 1 12 βˆ’ 1 13 …

1 βˆ’ 𝑦2𝑒𝑦 = 𝜌 2

∞ βˆ’βˆž

𝜌 4 = 1 βˆ’ 1 3 + 1 5 βˆ’ 1 7 + 1 9 βˆ’ β‹― = (βˆ’1)𝑙 2𝑙 + 1

∞ 𝑙=0

3.1415926535897932384626433832795…….

TRADITIONAL REPRESENTATIONS OF NUMBERS

3

slide-4
SLIDE 4

πœ’ = 1 + 5 2 = 1.6180339887 … πœ’ = 1 + 1 + 1 + β‹― e =

1 π‘œ! ∞ π‘œ=0

= 1 +

1 1 + 1 1β€’2 + 1 1β€’2β€’3 + 1 1β€’2β€’3β€’4 + β‹―

e = lim

π‘œβ†’βˆž(1 + 1 π‘œ)π‘œ = 2.718281828459…

2 = 1.41421356237…

TRADITIONAL REPRESENTATIONS OF NUMBERS

4

slide-5
SLIDE 5

4 𝜌 = 1 + 12 2 +

32 2 + 52 2 + 72 2 + 92 2 + 112 2 + …

EXAMPLES OF CF’S

5

slide-6
SLIDE 6

e = 2 +

1 1 +

1 2 + 1 1 + 1 1 + 1 4 + 1 1 + 1 1 + 1 6 + …

Ξ¦ = 1 +

1 1 +

1 1 + 1 1 + 1 1 + 1 1 + 1 1 + …

EXAMPLES OF CF’S

6

slide-7
SLIDE 7

𝜌 2 = 1 - 1 3 βˆ’

2β€’3 1βˆ’ 1β€’2 3 βˆ’ 4β€’5 1 βˆ’ 3β€’4 3 βˆ’ 6β€’7 1βˆ’ 5β€’6 3 βˆ’ …

2 = 1 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + β‹―

EXAMPLES OF CF’S

7

slide-8
SLIDE 8

CONTINUED FRACTIONS TYPES Continued Fractions Simple Finite Infinite Periodic Non- Periodic General

8

slide-9
SLIDE 9

General Continued Fraction a1 +

𝑐1 𝑏2+

𝑐2 𝑏3 + 𝑐3 𝑏4 + 𝑐4 𝑏5 + 𝑐5 𝑏6…

Simple Continued Fraction (bi = 1) a1 +

1 𝑏2+

1 𝑏3 + 1 𝑏4+ 1 𝑏5 + 1 𝑏6…

= [a1; a2, a3, a4, …] = [a1: a2, a3, a4, …] Convergents

π‘žπ‘— π‘Ÿπ‘—= [a1; a2 a3, a4, a5,…an]

CONTINUED FRACTIONS FORMS

9

slide-10
SLIDE 10

Ο€ = [3; 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, 1, 1, 2, ...] e = [2; 1, 2, 1, 1, 4, 1, 1, 6, …] Ο† = [1; 1, 1, 1, 1, 1, 1, … ]

FAMOUS CONTINUED FRACTIONS

10

slide-11
SLIDE 11

Consider the fraction

47

  • 13. Can we find the continued fraction (cf.) for this

finite ratio? We should consider breaking up the fraction into mixed form. So

47 13 = 3 + 8 13

We need the numerator to be one for our cf. form so we can apply the following algebraic identity

𝑏 𝑐 = 1

𝑐 𝑏

to move forward.

FINITE RATIO EXAMPLE

11

slide-12
SLIDE 12

47 13 = 3 + 1

13 8

= 3 +

1 1 + 5

8

= 3 +

1 1+ 1

8 5

= = 3 +

1 1+

1 1 + 3 5

47 13 = 3 + 1 1+

1 1 + 1 5 3

= 3 +

1 1+

1 1 + 1 1+2 3

= 3 +

1 1+

1 1 + 1 1+2 3

47 13 = 3 + 1 1+

1 1 + 1 1+1 3 2

= 3 +

1 1+

1 1 + 1 1+ 1 1+1 2

FINITE RATIO EXAMPLE

12

slide-13
SLIDE 13

This procedure is an example of an algorithm called the Euclidean Algorithm which was developed by Euclid in his famous book The

  • Elements. We can also look at the problem from

geometrical and coding perspectives.

FINITE RATIO EXAMPLE

13

slide-14
SLIDE 14

GEOMETRIC CONSTRUCTION

14

slide-15
SLIDE 15

Geometric Construction

15

slide-16
SLIDE 16

Let’s consider the calculations already performed for the fraction

47 13 .

47 = 3(13) + 8 13 = 1(8) + 5 8 = 1(5) + 3 5 = 1(3) + 2 3 = 1(2) + 1 2 = 2(1) + 0

EUCLIDEAN ALGORITHM

16

slide-17
SLIDE 17

We continue this operation on the two numbers and it will always stop when the length of the shortest rectangle is one and the remainder after the last triangle has been divided is zero. We can find the cf. form from the leading numbers from the list:

47 13 = 3 + 1 𝟐+

1 𝟐 + 1 𝟐+ 1 𝟐+1 πŸ‘

EUCLIDEAN ALGORITHM

17

slide-18
SLIDE 18

We all know that Ο† is derived from the roots of the quadratic equation Ο† 2 - Ο† - 1 = 0 Ο† = 1 +

1 Ο†

Ο† = 1 +

1 1 + 1

Ο†

Ο† = 1 +

1 1+

1 1 + 1 Ο†

Ο† = 1 +

1 1+

1 1 + 1 1+β‹―

Ο† = [1; 1, 1, 1, 1, 1, 1, 1, …]

PHI DERIVATION

18

slide-19
SLIDE 19

We can look at the partial cfs for the fraction

47 13 to find better approximations

to the exact value of this fraction. These values are called convergents.

3, 3 +

1 1 , 3 + 1 1+ 1

1

, 3 +

1 1+

1 1 + 1 1

, 3 +

1 1+

1 1 + 1 1+1 1

3, 4,

7 2, 11 3 , 18 5 , 47 13 = 3, 4, 3.5, 3.666.., 3.6, 3.65…

CONVERGENTS

19

slide-20
SLIDE 20

We can generalize this procedure. Let ci =

π‘žπ‘— π‘Ÿπ‘— represent

the convergents for a given fraction with i β‰₯ 0.

So c1 = π‘ž1

π‘Ÿ1 = a1 = 𝑏1 1

c2 = π‘ž2

π‘Ÿ2 = a1 + 1 𝑏2 = 𝑏1𝑏2+1 𝑏2

c3 =

π‘ž3 π‘Ÿ3 = a1 + 1 𝑏2+ 1

𝑏3

=

𝑏1𝑏2𝑏3+𝑏1+𝑏3 𝑏2𝑏3+1

CONVERGENTS

20

slide-21
SLIDE 21

c4 =

π‘ž4 π‘Ÿ4 = a1 + 1 𝑏2+

1 𝑏3+ 1 𝑏4

=

𝑏1𝑏2𝑏3𝑏4+𝑏1𝑏2+𝑏1𝑏4+𝑏3𝑏4+1 𝑏2𝑏3𝑏4+𝑏2+𝑏4

So we can β€œsee” the following recursions for the convergent terms if we look carefully:

pi = aipi-1 + pi-2 qi = aiqi-1 + qi-2

CONVERGENTS

21

slide-22
SLIDE 22

Using these recursion formulas, the convergents for the golden ratio Ο† are

1 1, 2 1 , 3 2, 5 3, 8 5, 13 18, …..

We can see that the numbers in the numerators and denominators are terms from the Fibonacci sequence! We should notice that pi = aipi-1 + pi-2 = (1)pi-1 + pi-2 = pi-1 + pi-2 qi = aiqi-1 + qi-2 = (1)qi-1 + qi-2 = qi-1 + qi-2 and ci = ti+1

𝑒𝑗 where ti are the terms of the Fibonacci

sequence.

CONVERGENTS

22

slide-23
SLIDE 23

2 = 1 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + 1 2 + β‹― = [1; 2, 2, 2, 2, 2, 2, … ]

SQUARE ROOT 2

23

slide-24
SLIDE 24

Let’s see how we can derive this cf representation. 2 = 1 + ( 2 - 1) = 1 +

1

1 2βˆ’1

= 1 +

1 2+1

But 2 + 1 = 2 + ( 2 βˆ’ 1) = 2 +

1

1 2βˆ’1

= 2 +

1 2+1

Thus 2 = 1 +

1 2+

1 2+1

If we use this rationalization method again repeatedly, we find the

  • cf. of 2 consists of a single 1 followed entirely by 2’s.

Thus 2 = [1; 2, 2, 2, 2, 2, … ]

SQUARE ROOT 2

24

slide-25
SLIDE 25

Is there a pattern in the representation? Can we generalize numbers of the form π‘œ2 + 1? Let’s give it a go!

SQUARE ROOT 17

25

slide-26
SLIDE 26

Let’s consider a simple case and suppose A = [a; b, b, b, b, b,…] We can rewrite A in the form A = a +

1 [𝑐; 𝑐, 𝑐, 𝑐, 𝑐, 𝑐,… ]

We need to determine the value of B = [b; b, b, b, b, b, …] Just like for A, we can rewrite B = b +

1 [𝑐; 𝑐, 𝑐, 𝑐, 𝑐, 𝑐,… ] PERIODIC CF’S

26

slide-27
SLIDE 27

So we have B = b +

1 B which can be rewritten as B2 – bB -1 = 0

Using the Quadratic Formula, we have B =

𝑐+ 𝑐2+4 2

Thus A = a +

2 𝑐+ 𝑐2+4 = a - π‘βˆ’ 𝑐2+4 2

=

2π‘βˆ’π‘ 2

+

𝑐2+4 2

So we have

2π‘βˆ’π‘ 2

+

𝑐2+4 2

= [a; b, b, b, b, …] If b = 2a, then 𝑏2 + 1 = [𝑏; 2𝑏, 2𝑏, 2𝑏, 2𝑏, … ]

PERIODIC CF’S

27

slide-28
SLIDE 28

Let’s try to derive the continued fraction for 3 on the board together!

SQUARE ROOT 3

28

slide-29
SLIDE 29

3 = 1 + 1 1 + 1 2 + 1 1 + 1 2 + 1 1 + 1 2 + β‹― = [1; 1, 2, 1, 2, 1, 2, … ]

.

SQUARE ROOT 3

29

slide-30
SLIDE 30

PERIODIC CF’S

30

slide-31
SLIDE 31

What about cube roots? These continued fractions are not periodic. We will find their cf. representation from their decimal first. From the decimal part, we will repeatedly invert the fractional part.

CUBE ROOTS

31

slide-32
SLIDE 32

CUBE ROOTS

32

slide-33
SLIDE 33

INFINITE CONTINUED FRACTIONS

33

slide-34
SLIDE 34

Ξ  1/4

34

slide-35
SLIDE 35

Ξ 

35

slide-36
SLIDE 36

CUBE ROOTS

We can find the cube roots using the bisection method. Easy for high school students to understand. Can be easily coded in a programming language. We have some simple Java programs to demonstrate.

36

slide-37
SLIDE 37

Rational Numbers Square Root Cube Root

Ο€

JAVA PROGRAMS

37

slide-38
SLIDE 38

How do we evaluate Pi using a formula? We use an identity that came up recently in our Math club meeting.

Ο€ = 16 arctan

1 5 βˆ’ 4 arctan 1 239

FORMULA FOR Ξ 

38

slide-39
SLIDE 39

Ramanujan proved two connections between Ο€, e and Ο†:

RAMANUJAN

39

slide-40
SLIDE 40

A CONTINUED FRACTION APPROXIMATION OF THE GAMMA FUNCTION

40

slide-41
SLIDE 41

You Tube video: Continued Fractions - Professor John Barrow https://www.youtube.com/watch?v=zCFF1l7NzVQ&t=670s The Topsy-Turvy World of Continued Fractions: https://www.math.brown.edu/~jhs/frintonlinechapters.pdf Cube Root of a Number: http://www.geeksforgeeks.org/find-cubic-root-of-a-number/ Gamma Function: http://www.sciencedirect.com/science/article/pii/S0022247X12009274 A Continued Fraction Approximation of the Gamma Function: http://www.sciencedirect.com/science/article/pii/S0022247X12009274 https://ac.els-cdn.com/S0022247X12009274/1-s2.0-S0022247X12009274-main.pdf?_tid=4981f0e4-b07a-11e7-bb6a- 00000aab0f26&acdnat=1507942672_ff44d4811825271fcf37c06314338fe1 Java Code: https://dansesacrale.wordpress.com/2010/07/04/continued-fractions-sqrt-steps/ Continued Fractions: http://www.maths.surrey.ac.uk/hosted-sites/R.Knott/Fibonacci/cfCALC.html

REFERENCES

41