# Finite Subdivision Rules and Rational Maps

Total Page：16

File Type：pdf, Size：1020Kb

Finite subdivision rules and rational maps J. Cannon1 W. Floyd2 W. Parry3 1Department of Mathematics Brigham Young University 2Department of Mathematics Virginia Tech 3Department of Mathematics Eastern Michigan University Barrett Lectures, May 2010 Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 1 / 29 Deﬁnition of a ﬁnite subdivision rule R A subdivision complex SR, which is the union of its closed 2-cells. Each 2-cell is modeled on an n-gon (called a tile type) with n ≥ 3. A subdivision R(SR) of SR A subdivision map σR : R(SR) ! SR, which is cellular and takes each open cell homeomorphically onto an open cell. R-complex: a 2-complex X which is the closure of its 2-cells, together with a structure map h: X ! SR which takes each open cell homeomorphically onto an open cell One can use a ﬁnite subdivision rule to recursively subdivide R-complexes. R(X) is the subdivision of X. C-F-P, Finite subdivision rules, Conform. Geom. Dyn. 5 (2001), 153–196 (electronic). Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 2 / 29 Example 1. Pentagonal subdivision rule The subdivision of the tile type and the ﬁrst three subdivisions. (The subdivisions are drawn using Stephenson’s CirclePack). → Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 3 / 29 Example 2. The barycentric subdivision rule 0 •! 0 •! e1 e1 3 e e3 #! e e d•! e2 2 e •! e2 3 2 e e2 e a•! •! 1 e1 b 3 e e3 e e3 2 e 2 3 e •! •! •! •! •! 1 e1 c e1 "! 1 e1 "! Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 4 / 29 The ﬁrst two subdivisions of a triangle Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 5 / 29 The next two subdivisions of a triangle Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 6 / 29 Example 3. The dodecahedral subdivision rule The subdivisions of the three tile types. Note that there are two edge types. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 7 / 29 The second subdivision of the quadrilateral tile type Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 8 / 29 The third subdivision of the quadrilateral tile type Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 9 / 29 This subdivision rule on the sphere at inﬁnity The dodecahedral subdivision rule comes from the recursion at inﬁnity for a Kleinian group. The ﬁgure is from Weeks’s program SnapPea. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 10 / 29 The shapes of tiles Given a sequence of subdivisions of a tiling, how do you understand/control the shapes of tiles? When can you realize the subdivisions so that the subtiles stay almost round? How do you proceed from combinatorial/topological information to analytic information? Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 11 / 29 Weight functions, combinatorial moduli (Cannon) shingling (locally-ﬁnite covering by compact, connected sets) T on a surface S, ring (or quadrilateral) R ⊂ S weight function ρ on T : ρ: T! R≥0 ρ-length of a curve, ρ-height Hρ of R, ρ-area Aρ of R, ρ-circumference Cρ of R 2 2 moduli Mρ = Hρ =Aρ and mρ = Aρ=Cρ 2 2 moduli M(R) = supρ Hρ =Aρ and m(R) = infρ Aρ=Cρ The sup and inf exist, and are unique up to scaling. (This follows from compactness and convexity.) Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 12 / 29 Optimal weight functions - an example 7 7 6 8 2 4 8 7 0 2 6 7 7 6 2 4 7 2 6 7 1 2 fat flows skinny cuts Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 13 / 29 Combinatorial Riemann Mapping Theorem Now consider a sequence of shinglings of S. Axiom 1. Nondegeneration, comparability of asymptotic combinatorial moduli Axiom 2. Existence of local rings with large moduli conformal sequence of shinglings: Axioms 1 and 2, plus mesh locally approaching 0. Theorem (C): If fSi g is a conformal sequence of shinglings on a topological surface S and R is a ring in S, then R has a metric which makes it a right-circular annulus such that analytic moduli and asymptotic combinatorial moduli on R are uniformly comparable. J. W. Cannon, The combinatorial Riemann mapping theorem, Acta Math. 173 (1994), 155–234. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 14 / 29 Postcritically ﬁnite branched maps An orientation-preserving branched map f : S2 ! S2 is postcritically ﬁnite if the set Pf of postcritical points is ﬁnite. Two such maps f and g are equivalent if there is a 2 2 homeomorphism h: S ! S such that h(Pf ) = Pg, (h ◦ f ) = (g ◦ h) , and h ◦ f is isotopic, rel Pf , to g ◦ h. Pf Pf If a ﬁnite subdivision rule R is orientation-preserving and has subdivision complex a 2-sphere, then the subdivision map σ is postcritically ﬁnite. (The postcritical points are vertices of SR.) Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 15 / 29 Realizing subdivision maps by rational maps When can the subdivision map of a ﬁnite subdivision rule be realized by a rational map? Theorem (C-F-Kenyon-P): Suppose R is an orientation-preserving ﬁnite subdivision rule which has bounded valence, mesh approaching zero, and subdivision complex a 2-sphere. If R is (combinatorially) conformal, then it is equivalent to a rational map. C-F-K-P, Constructing rational maps from ﬁnite subdivision rules, Conform. Geom. Dyn. 7 (2003), 76–102 (electronic). The converse follows from the expansion-complex machinery of C-F-P. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 16 / 29 The pentagonal expansion complex P.L. Bowers and K. Stephenson, A “regular” pentagonal tiling of the plane, Conform. Geom. Dyn. 1 (1997), 58–68 (electronic). Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 17 / 29 The pentagonal subdivision rule The pentagonal subdivision rule is closely associated with a fsr (with triangular tile types) which is realizable by the rational map 2z(z + 9=16)5 f (z) = : 27(z − 3=128)3(z − 1)2 We computed this at the Barrett Lectures in 1998. The expansion constant for the dilation of the pentagonal expansion complex is f 0(0)1=5 = (−324)1=5. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 18 / 29 The pentagonal subdivision rule Here are subdivisions drawn by CirclePack and by preimages under the rational map (unfolding by z 7! z5). 0.4 0.2 -0.4 -0.2 0.2 0.4 -0.2 -0.4 0.4 0.2 -0.4 -0.2 0.2 0.4 -0.2 -0.4 Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 19 / 29 The barycentric subdivision rule The barycentric subdivision rule can be realized by the rational 2 3 ( ) = 4(z −z+1) map f z 27z2(z−1)2 . Here is the Julia set. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 20 / 29 The ﬁrst two subdivisions R [ 1 is the 1-skeleton of the subdivision complex. Here are − − f 1(R [ 1) and f 2(R [ 1). 1 1 0.8 0.8 0.6 0.6 0.4 0.4 0.2 0.2 0.2 0.4 0.6 0.8 1 0.2 0.4 0.6 0.8 1 Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 21 / 29 Realizing rational maps by fsr’s Theorem (C-F-P): If f is a postcritically ﬁnite rational map without periodic critical points, then every sufﬁciently large iterate of f is equivalent to the subdivision map of a fsr. Idea: pick a simple closed curve containing the postcritical points. For a sufﬁciently large iterate, that curve can be approximated by a curve in its preimage. Now use the expansion-complex machinery. Do you need to pass to an iterate of the map? What about postcritically ﬁnite maps with periodic critical points? This corresponds to fsr’s with unbounded valence. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 22 / 29 Realizing rational maps by fsr’s Theorem (Bonk-Meyer, C-F-P-Pilgrim): If f is an expanding postcritically ﬁnite branched map, then every sufﬁciently large iterate of f is equivalent to the subdivision map of a fsr with mesh approaching zero. In both proofs, one contructs a fsr with 1-skeleton a circle. Conjecture: Every postcritically ﬁnite branched map of S2 is the subdvision map of a fsr. Cannon-Floyd-Parry (BYU, VT, EMU) Finite subdivision rules and rational maps Barrett Lectures, May 2010 23 / 29 Thurston pullback map Suppose f : S2 ! S2 is a postcritically ﬁnite branched map.

Recommended publications
• 6.5 the Recursion Theorem
6.5. THE RECURSION THEOREM 417 6.5 The Recursion Theorem The recursion Theorem, due to Kleene, is a fundamental result in recursion theory. Theorem 6.5.1 (Recursion Theorem, Version 1 )Letϕ0,ϕ1,... be any ac- ceptable indexing of the partial recursive functions. For every total recursive function f, there is some n such that ϕn = ϕf(n). The recursion Theorem can be strengthened as follows. Theorem 6.5.2 (Recursion Theorem, Version 2 )Letϕ0,ϕ1,... be any ac- ceptable indexing of the partial recursive functions. There is a total recursive function h such that for all x ∈ N,ifϕx is total, then ϕϕx(h(x)) = ϕh(x). 418 CHAPTER 6. ELEMENTARY RECURSIVE FUNCTION THEORY A third version of the recursion Theorem is given below. Theorem 6.5.3 (Recursion Theorem, Version 3 ) For all n ≥ 1, there is a total recursive function h of n +1 arguments, such that for all x ∈ N,ifϕx is a total recursive function of n +1arguments, then ϕϕx(h(x,x1,...,xn),x1,...,xn) = ϕh(x,x1,...,xn), for all x1,...,xn ∈ N. As a ﬁrst application of the recursion theorem, we can show that there is an index n such that ϕn is the constant function with output n. Loosely speaking, ϕn prints its own name. Let f be the recursive function such that f(x, y)=x for all x, y ∈ N. 6.5. THE RECURSION THEOREM 419 By the s-m-n Theorem, there is a recursive function g such that ϕg(x)(y)=f(x, y)=x for all x, y ∈ N.
[Show full text]
• April 22 7.1 Recursion Theorem
CSE 431 Theory of Computation Spring 2014 Lecture 7: April 22 Lecturer: James R. Lee Scribe: Eric Lei Disclaimer: These notes have not been subjected to the usual scrutiny reserved for formal publications. They may be distributed outside this class only with the permission of the Instructor. An interesting question about Turing machines is whether they can reproduce themselves. A Turing machine cannot be be deﬁned in terms of itself, but can it still somehow print its own source code? The answer to this question is yes, as we will see in the recursion theorem. Afterward we will see some applications of this result. 7.1 Recursion Theorem Our end goal is to have a Turing machine that prints its own source code and operates on it. Last lecture we proved the existence of a Turing machine called SELF that ignores its input and prints its source code. We construct a similar proof for the recursion theorem. We will also need the following lemma proved last lecture. ∗ ∗ Lemma 7.1 There exists a computable function q :Σ ! Σ such that q(w) = hPwi, where Pw is a Turing machine that prints w and hats. Theorem 7.2 (Recursion theorem) Let T be a Turing machine that computes a function t :Σ∗ × Σ∗ ! Σ∗. There exists a Turing machine R that computes a function r :Σ∗ ! Σ∗, where for every w, r(w) = t(hRi; w): The theorem says that for an arbitrary computable function t, there is a Turing machine R that computes t on hRi and some input. Proof: We construct a Turing Machine R in three parts, A, B, and T , where T is given by the statement of the theorem.
[Show full text]
• The Logic of Recursive Equations Author(S): A
[Show full text]
• Fractal Curves and Complexity
Perception & Psychophysics 1987, 42 (4), 365-370 Fractal curves and complexity JAMES E. CUTI'ING and JEFFREY J. GARVIN Cornell University, Ithaca, New York Fractal curves were generated on square initiators and rated in terms of complexity by eight viewers. The stimuli differed in fractional dimension, recursion, and number of segments in their generators. Across six stimulus sets, recursion accounted for most of the variance in complexity judgments, but among stimuli with the most recursive depth, fractal dimension was a respect­ able predictor. Six variables from previous psychophysical literature known to effect complexity judgments were compared with these fractal variables: symmetry, moments of spatial distribu­ tion, angular variance, number of sides, P2/A, and Leeuwenberg codes. The latter three provided reliable predictive value and were highly correlated with recursive depth, fractal dimension, and number of segments in the generator, respectively. Thus, the measures from the previous litera­ ture and those of fractal parameters provide equal predictive value in judgments of these stimuli. Fractals are mathematicalobjectsthat have recently cap­ determine the fractional dimension by dividing the loga­ tured the imaginations of artists, computer graphics en­ rithm of the number of unit lengths in the generator by gineers, and psychologists. Synthesized and popularized the logarithm of the number of unit lengths across the ini­ by Mandelbrot (1977, 1983), with ever-widening appeal tiator. Since there are five segments in this generator and (e.g., Peitgen & Richter, 1986), fractals have many curi­ three unit lengths across the initiator, the fractionaldimen­ ous and fascinating properties. Consider four. sion is log(5)/log(3), or about 1.47.
[Show full text]
• I Want to Start My Story in Germany, in 1877, with a Mathematician Named Georg Cantor
LISTENING - Ron Eglash is talking about his project http://www.ted.com/talks/ 1) Do you understand these words? iteration mission scale altar mound recursion crinkle 2) Listen and answer the questions. 1. What did Georg Cantor discover? What were the consequences for him? 2. What did von Koch do? 3. What did Benoit Mandelbrot realize? 4. Why should we look at our hand? 5. What did Ron get a scholarship for? 6. In what situation did Ron use the phrase “I am a mathematician and I would like to stand on your roof.” ? 7. What is special about the royal palace? 8. What do the rings in a village in southern Zambia represent? 3)Listen for the second time and decide whether the statements are true or false. 1. Cantor realized that he had a set whose number of elements was equal to infinity. 2. When he was released from a hospital, he lost his faith in God. 3. We can use whatever seed shape we like to start with. 4. Mathematicians of the 19th century did not understand the concept of iteration and infinity. 5. Ron mentions lungs, kidney, ferns, and acacia trees to demonstrate fractals in nature. 6. The chief was very surprised when Ron wanted to see his village. 7. Termites do not create conscious fractals when building their mounds. 8. The tiny village inside the larger village is for very old people. I want to start my story in Germany, in 1877, with a mathematician named Georg Cantor. And Cantor decided he was going to take a line and erase the middle third of the line, and take those two resulting lines and bring them back into the same process, a recursive process.
[Show full text]
• Lab 8: Recursion and Fractals
Lab 8: Recursion and Fractals In this lab you’ll get practice creating fractals with recursion. You will create a class that has will draw (at least) two types of fractals. Once completed, submit your .java file via Moodle. To make grading easier, please set up your class so that both fractals are drawn automatically when the constructor is executed. Create a Sierpinski triangle Step 1: In your class’s constructor, ask the user how large a canvas s/he wants. Step 2: Write a method drawTriangle that draws a triangle on the screen. This method will take the x,y coordinates of three points as well as the color of the triangle. For now, start with Step 3: In a method createSierpinski, determine the largest triangle that can fit on the canvas (given the canvas’s dimensions supplied by the user). Step 4: Create a method findMiddlePoints. This is the recursive method. It will take three sets of x,y coordinates for the outer triangle. (The first time the method is called, it will be called with the coordinates determined by the createSierpinski method.) The base case of the method will be determined by the minimum size triangle that can be displayed. The recursive case will be to calculate the three midpoints, defined by the three inputs. Then, by using the six coordinates (3 passed in and 3 calculated), the method will recur on the three interior triangles. Once these recursive calls have finished, use drawTriangle to draw the triangle defined by the three original inputs to the method.
[Show full text]
• Abstract Recursion and Intrinsic Complexity
ABSTRACT RECURSION AND INTRINSIC COMPLEXITY Yiannis N. Moschovakis Department of Mathematics University of California, Los Angeles [email protected] October 2018 iv Abstract recursion and intrinsic complexity was ﬁrst published by Cambridge University Press as Volume 48 in the Lecture Notes in Logic, c Association for Symbolic Logic, 2019. The Cambridge University Press catalog entry for the work can be found at https://www.cambridge.org/us/academic/subjects/mathematics /logic-categories-and-sets /abstract-recursion-and-intrinsic-complexity. The published version can be purchased through Cambridge University Press and other standard distribution channels. This copy is made available for personal use only and must not be sold or redistributed. This ﬁnal prepublication draft of ARIC was compiled on November 30, 2018, 22:50 CONTENTS Introduction ................................................... .... 1 Chapter 1. Preliminaries .......................................... 7 1A.Standardnotations................................ ............. 7 Partial functions, 9. Monotone and continuous functionals, 10. Trees, 12. Problems, 14. 1B. Continuous, call-by-value recursion . ..................... 15 The where -notation for mutual recursion, 17. Recursion rules, 17. Problems, 19. 1C.Somebasicalgorithms............................. .................... 21 The merge-sort algorithm, 21. The Euclidean algorithm, 23. The binary (Stein) algorithm, 24. Horner’s rule, 25. Problems, 25. 1D.Partialstructures............................... ......................
[Show full text]
• Τα Cellular Automata Στο Σχεδιασμό
τα cellular automata στο σχεδιασμό μια προσέγγιση στις αναδρομικές σχεδιαστικές διαδικασίες Ηρώ Δημητρίου επιβλέπων Σωκράτης Γιαννούδης 2 Πολυτεχνείο Κρήτης Τμήμα Αρχιτεκτόνων Μηχανικών ερευνητική εργασία Ηρώ Δημητρίου επιβλέπων καθηγητής Σωκράτης Γιαννούδης Τα Cellular Automata στο σχεδιασμό μια προσέγγιση στις αναδρομικές σχεδιαστικές διαδικασίες Χανιά, Μάιος 2013 Chaos and Order - Carlo Allarde περιεχόμενα 0001. εισαγωγή 7 0010. χάος και πολυπλοκότητα 13 a. μια ιστορική αναδρομή στο χάος: Henri Poincare - Edward Lorenz 17 b. το χάος 22 c. η πολυπλοκότητα 23 d. αυτοοργάνωση και emergence 29 0011. cellular automata 31 0100. τα cellular automata στο σχεδιασμό 39 a. τα CA στην στην αρχιτεκτονική: Paul Coates 45 b. η φιλοσοφική προσέγγιση της διεπιστημονικότητας του σχεδιασμού 57 c. προσομοίωση της αστικής ανάπτυξης μέσω CA 61 d. η περίπτωση της Changsha 63 0101. συμπεράσματα 71 βιβλιογραφία 77 1. Metamorphosis II - M.C.Escher 6 0001. εισαγωγή Η επιστήμη εξακολουθεί να είναι η εξ αποκαλύψεως προφητική περιγραφή του κόσμου, όπως αυτός φαίνεται από ένα θεϊκό ή δαιμονικό σημείο αναφοράς. Ilya Prigogine 7 0001. 8 0001. Στοιχεία της τρέχουσας αρχιτεκτονικής θεωρίας και μεθοδολογίας προτείνουν μια εναλλακτική λύση στις πάγιες αρχιτεκτονικές μεθοδολογίες και σε ορισμένες περιπτώσεις υιοθετούν πτυχές του νέου τρόπου της κατανόησής μας για την επιστήμη. Αυτά τα στοιχεία εμπίπτουν σε τρεις κατηγορίες. Πρώτον, μεθοδολογίες που προτείνουν μια εναλλακτική λύση για τη γραμμικότητα και την αιτιοκρατία της παραδοσιακής αρχιτεκτονικής σχεδιαστικής διαδικασίας και θίγουν τον κεντρικό έλεγχο του αρχιτέκτονα, δεύτερον, η πρόταση μιας μεθοδολογίας με βάση την προσομοίωση της αυτο-οργάνωσης στην ανάπτυξη και εξέλιξη των φυσικών συστημάτων και τρίτον, σε ορισμένες περιπτώσεις, συναρτήσει των δύο προηγούμενων, είναι μεθοδολογίες οι οποίες πειραματίζονται με την αναδυόμενη μορφή σε εικονικά περιβάλλοντα.
[Show full text]
• Recursion Theory Notes, Fall 2011 0.1 Introduction
Recursion Theory Notes, Fall 2011 Lecturer: Lou van den Dries 0.1 Introduction Recursion theory (or: theory of computability) is a branch of mathematical logic studying the notion of computability from a rather theoretical point of view. This includes giving a lot of attention to what is not computable, or what is computable relative to any given, not necessarily computable, function. The subject is interesting on philosophical-scientiﬁc grounds because of the Church- Turing Thesis and its role in computer science, and because of the intriguing concept of Kolmogorov complexity. This course tries to keep touch with how recursion theory actually impacts mathematics and computer science. This impact is small, but it does exist. Accordingly, the ﬁrst chapter of the course covers the basics: primitive recur- sion, partial recursive functions and the Church-Turing Thesis, arithmetization and the theorems of Kleene, the halting problem and Rice's theorem, recur- sively enumerable sets, selections and reductions, recursive inseparability, and index systems. (Turing machines are brieﬂy discussed, but the arithmetization is based on a numerical coding of combinators.) The second chapter is devoted to the remarkable negative solution (but with positive aspects) of Hilbert's 10th Problem. This uses only the most basic notions of recursion theory, plus some elementary number theory that is worth knowing in any case; the coding aspects of natural numbers are combined here ingeniously with the arithmetic of the semiring of natural numbers. The last chapter is on Kolmogorov complexity, where concepts of recursion theory are used to deﬁne and study notions of randomness and information content.
[Show full text]
• Math Morphing Proximate and Evolutionary Mechanisms
Curriculum Units by Fellows of the Yale-New Haven Teachers Institute 2009 Volume V: Evolutionary Medicine Math Morphing Proximate and Evolutionary Mechanisms Curriculum Unit 09.05.09 by Kenneth William Spinka Introduction Background Essential Questions Lesson Plans Website Student Resources Glossary Of Terms Bibliography Appendix Introduction An important theoretical development was Nikolaas Tinbergen's distinction made originally in ethology between evolutionary and proximate mechanisms; Randolph M. Nesse and George C. Williams summarize its relevance to medicine: All biological traits need two kinds of explanation: proximate and evolutionary. The proximate explanation for a disease describes what is wrong in the bodily mechanism of individuals aﬀected Curriculum Unit 09.05.09 1 of 27 by it. An evolutionary explanation is completely diﬀerent. Instead of explaining why people are diﬀerent, it explains why we are all the same in ways that leave us vulnerable to disease. Why do we all have wisdom teeth, an appendix, and cells that if triggered can rampantly multiply out of control? [1] A fractal is generally "a rough or fragmented geometric shape that can be split into parts, each of which is (at least approximately) a reduced-size copy of the whole," a property called self-similarity. The term was coined by Beno?t Mandelbrot in 1975 and was derived from the Latin fractus meaning "broken" or "fractured." A mathematical fractal is based on an equation that undergoes iteration, a form of feedback based on recursion. http://www.kwsi.com/ynhti2009/image01.html A fractal often has the following features: 1. It has a ﬁne structure at arbitrarily small scales.
[Show full text]
• Generators, Recursion, and Fractals
Generators, Recursion, and Fractals 1 Generators computing a list of Fibonacci numbers deﬁning a generator with yield putting yield in the function fib 2 Recursive Functions computing factorials recursively computing factorials iteratively 3 Recursive Images some examples recursive deﬁnition of the Cantor set recursive drawing algorithm MCS 260 Lecture 41 Introduction to Computer Science Jan Verschelde, 22 April 2016 Intro to Computer Science (MCS 260) generators and recursion L-41 22 April 2016 1 / 36 Generators, Recursion, and Fractals 1 Generators computing a list of Fibonacci numbers deﬁning a generator with yield putting yield in the function fib 2 Recursive Functions computing factorials recursively computing factorials iteratively 3 Recursive Images some examples recursive deﬁnition of the Cantor set recursive drawing algorithm Intro to Computer Science (MCS 260) generators and recursion L-41 22 April 2016 2 / 36 the Fibonacci numbers The Fibonacci numbers are the sequence 0, 1, 1, 2, 3, 5, 8,... where the next number in the sequence is the sum of the previous two numbers in the sequence. Suppose we have a function: def fib(k): """ Computes the k-th Fibonacci number. """ and we want to use it to compute the ﬁrst 10 Fibonacci numbers. Intro to Computer Science (MCS 260) generators and recursion L-41 22 April 2016 3 / 36 the function fib def fib(k): """ Computes the k-th Fibonacci number. """ ifk==0: return 0 elif k == 1: return 1 else: (prevnum, nextnum) = (0, 1) for i in range(1, k): (prevnum, nextnum) = (nextnum, \ prevnum + nextnum) return nextnum Intro to Computer Science (MCS 260) generators and recursion L-41 22 April 2016 4 / 36 themainprogram def main(): """ Prompts the user for a number n and prints the first n Fibonacci numbers.
[Show full text]
• Math 310 Class Notes 5: the Recursion Theorem for N
Math 310 Class Notes 5: The Recursion Theorem for N In this set of notes we will tighten a loose end that has been left dangling. Namely, in Class Notes 3 we used the word "assign" when we deﬁned the notion of + for N (see Deﬁnition 2 of the notes). The word "assign" actually means we have a function that does the assignment. To be precise, we have the following theorem. Theorem 1. (The recursion theorem) Let c be a ﬁxed natural number and let f : N ! N be a function. Then there is a unique function g : N ! N such that g(1) = c and g(x0) = f(g(x)) for all x 2 N. Before proving this theorem, let us see a few applications. Application 1. Consider the function f : N ! N given by f : x 7! x0: Fix a number m 2 N. Then by the recursion theorem there is a function g such that g(1) = m0 and g(x0) = f(g(x)) for all x 2 N. Let us now deﬁne m + n := g(n) for all n 2 N. Theorem 2. Fix m 2 N. We have m + n0 = (m + n)0 for all n 2 N. Proof. m + n0 = g(n0) = f(g(n)) = f(m + n) = (m + n)0. Slightly harder to verify is the following. Theorem 3. Fix m 2 N. We have m0 + n = (m + n)0 for all n 2 N. Proof. m + n = g(n) for all n 2 N, where g(1) = m0 and g(n0) = f(g(n)).
[Show full text]