Fun with Fractals Saturday Morning Math Group

Similar documents
Chapel Hill Math Circle: Symmetry and Fractals

Fractals: Self-Similarity and Fractal Dimension Math 198, Spring 2013

<The von Koch Snowflake Investigation> properties of fractals is self-similarity. It means that we can magnify them many times and after every

Grade 6 Math Circles. Shapeshifting

Fractals. University. 1 The approach and terminology used here are from Michael Frame s Fractal course taught for many years at Yale

Mathematics 350 Section 6.3 Introduction to Fractals

Fractals and L- Systems

Clouds, biological growth, and coastlines are

BarnCamp The HTML 5 <canvas> element as seen through a fractal eye: a brief introduction

Examples of Chaotic Attractors and Their Fractal Dimension

Self-Similar Snowflakes with Optional Fractal Extension

Koch Snowflake Go Figure The Koch Snowflake is a fractal based on a very simple rule.

Copyright 2009 Pearson Education, Inc. Chapter 9 Section 7 - Slide 1 AND

Fun with Fractals and Functions. CHAMP at University of Houston March 2, 2015 Houston, Texas

Scientific Calculation and Visualization

Fractals and Multi-Layer Coloring Algorithms

Fractals. Materials. Pencil Paper Grid made of triangles

Mathematics Numbers: Percentages. Science and Mathematics Education Research Group

18) The perpendiculars slices not intersecting origo

Construction of 3D Mandelbrot Set and Julia Set

Fractal Geometry. LIACS Natural Computing Group Leiden University

Some geometries to describe nature

Fractal Dimension and the Cantor Set

Fractal Geometry. Prof. Thomas Bäck Fractal Geometry 1. Natural Computing Group

Applications. 44 Stretching and Shrinking

Fractal Image Compression

Computer Graphics 4731 Lecture 5: Fractals. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)


In this lesson, students build fractals and track the growth of fractal measurements using tables and equations. Enduring Understanding

Exploring the Effect of Direction on Vector-Based Fractals

Fractals. Moreno Marzolla Dip. di Informatica Scienza e Ingegneria (DISI) Università di Bologna.

Discrete Dynamical Systems: A Pathway for Students to Become Enchanted with Mathematics

Computer Graphics (CS 543) Lecture 2c: Fractals. Prof Emmanuel Agu. Computer Science Dept. Worcester Polytechnic Institute (WPI)

Images of some fractals

Fractal Coding. CS 6723 Image Processing Fall 2013

Exploring Fractals through Geometry and Algebra. Kelly Deckelman Ben Eggleston Laura Mckenzie Patricia Parker-Davis Deanna Voss

Section 7.5. Fractals

Session 27: Fractals - Handout

CS 543: Computer Graphics Lecture 3 (Part I): Fractals. Emmanuel Agu

The Koch curve in three dimensions

Fixed Point Iterative Techniques An Application to Fractals

CSC 470 Computer Graphics. Fractals

Lecture 3: Some Strange Properties of Fractal Curves

Dr. Julia, meet Dr. Mandelbrot

FRACTALS AND THE SIERPINSKI TRIANGLE

Fractal Analysis. By: Mahnaz EtehadTavakol

Midterm Project: L-systems in Practice and Theory

MITOCW 2. IV: Consistency, Completeness, and Geometry

Gentle Introduction to Fractals

FRACTALS. Week 13 Laboratory for Introduction to Programming and Algorithms Uwe R. Zimmer based on a lab by James Barker. Pre-Laboratory Checklist

Total Choas... Total Chosa

Chapter 1 Introduction

Lectures on Challenging Mathematics. Integrated Mathematics 3. Idea Math. Algebra (part 2) Summer Internal Use

Fractals in Nature and Mathematics: From Simplicity to Complexity

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

A Discussion of Julia and Mandelbrot Sets. In this paper we will examine the definitions of a Julia Set and the Mandelbrot Set, its

Fractals: a way to represent natural objects

Escape-Time Fractals

Generation of 3D Fractal Images for Mandelbrot and Julia Sets

Fractals and the Chaos Game

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

CS 4300 Computer Graphics. Prof. Harriet Fell Fall 2012 Lecture 28 November 8, 2012

The Size of the Cantor Set

Electrical Circuits and Random Walks: Challenge Problems

ITERATIVE OPERATIONS IN CONSTRUCTION CIRCULAR AND SQUARE FRACTAL CARPETS

Filling Space with Random Line Segments

Grade 6 Math Circles. Spatial and Visual Thinking

Chapter 12: Fractal Geometry The Koch Snowflake and Self-Similarity

CGT 581 G Procedural Methods Fractals

Mathematics Geometry: Menger Sponge. Science and Mathematics Education Research Group

A Review of Fractals Properties: Mathematical Approach

Fractals. Fractals. Beautiful designs of infinite structure and complexity Qualities of Fractals:

Hei nz-ottopeitgen. Hartmut Jürgens Dietmar Sau pe. Chaos and Fractals. New Frontiers of Science

Fractals, Fibonacci numbers in Nature 17 mai 2015

Outline. Solid models and fractals. Constructive solid geometry. Constructive solid geometry COM3404. Richard Everson

Making Plant-Like Fractals on GSP by Mike M c Garry

Section 9.5. Tessellations. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

Fractals & Iterative Function Systems

A small review, Second Midterm, Calculus 3, Prof. Montero 3450: , Fall 2008

Solid models and fractals

Beautiful Repetitions

Fractals Week 10, Lecture 19

Hopalong Fractals. Linear complex. Quadratic complex

NUMB3RS Activity: I It Itera Iteration. Episode: Rampage

6.094 Introduction to MATLAB January (IAP) 2009

Math 1201 Unit 5: Relations & Functions. Ch. 5 Notes

WXML Final Report: Shapes of Julia Sets

Student s booklet. Bills, Ladders and other Number Diagrams. Meeting 23 Student s Booklet. Contents. May 18, UCI. Town Bills 2 Big and Small

A Selection of Interesting Sets

Discovering. Algebra. An Investigative Approach. Condensed Lessons for Make-up Work

Stat 45: Our Fractal World? Topics for Today. Lecture 1: Getting Started. David Donoho Statistics Department Stanford University. Sierpinski Gaskets

Turtle Graphics and L-systems Informatics 1 Functional Programming: Tutorial 7

5.5 Complex Fractions

Beautiful fractals help solve wiggly problems 5 July 2016

10 Minutes of Code TI-BASIC

About Finish Line Mathematics 5

31) More about Quartics

MAT 3271: Selected Solutions to the Assignment 6

ARTISTIC PATTERNS: FROM RANDOMNESS TO SYMMETRY

Aim: How do we find the volume of a figure with a given base? Get Ready: The region R is bounded by the curves. y = x 2 + 1

Transcription:

Fun with Fractals Saturday Morning Math Group Alistair Windsor

Fractals Fractals are amazingly complicated patterns often produced by very simple processes. We will look at two different types of fractals Escape Time Fractals like the Mandelbrot set and its associated Julia sets. Iterated Function Systems Generating self similar fractals using iterative procedure.

The Mandelbrot Set First plotted by the Polish born and French educated mathematician Benoit Mandelbrot at IBM in early 1980. This complicated set is determined entirely iterating by the map where c is a complex number. f c (z) = z 2 + c Benoit Mandelbrot (1924 )

Recall that we multiply complex numbers Complex Numbers z 1 = u + i v z 2 = x + i y by expanding the brackets and using the relation i 2 = 1 z 1 z 2 = (u + i v)(x + i y) = ux + i uy + i vx + i 2 vy = (ux vy) + i(uy + vx) The size of a complex number is given by x + i y = x 2 + y 2.

Defining the Mandelbrot Set The Mandelbrot set is the set of constants c such that the sequence of numbers f c (0) = c f 2 c (0) = f c (f c (0)) = c 2 + c f 3 c (0) = f c (f c (f c (0))) = (c 2 + c) 2 + c f 4 c (0) = ((c 2 + c) 2 + c) 2 + c. remains bounded (does not escape to infinity). In all my pictures the Mandelbrot set will be colored black.

Computing the Mandelbrot Set If after computing some terms we get a number big enough then we can stop. If after m steps we have f m c (0) > 2 then the sequence of numbers f n c (0) escapes to infinity and c is not in the Mandelbrot set. Example: Is 1 in the Mandelbrot set?

Computing the Mandelbrot Set If after computing some terms we get a number big enough then we can stop. If after m steps we have f m c (0) > 2 then the sequence of numbers f n c (0) escapes to infinity and c is not in the Mandelbrot set. Example: Is 1 in the Mandelbrot set? We compute the first few terms of the sequence f 1 (0) = 0 2 + 1 = 1 f1(0) 2 = f 1 (1) = 1 2 + 1 = 2 f1(0) 3 = f 1 (2) = 2 2 + 1 = 5 Since f1(0) 3 = 5 > 2 we see that this sequence escapes and thus 1 is not in the Mandelbrot set. The m when f m c (0) > 2 for the first time is called the escape time. For c = 1 we found the escape time was 3. The escape time is what we use to color the points outside of the Mandelbrot set.

Exercise: Is 2 in the Mandelbrot set? Computing the Mandelbrot Set

Exercise: Is 2 in the Mandelbrot set? Answer: We compute Computing the Mandelbrot Set f 2 (0) = 0 2 2 = 2 f 2(0) 2 = f 2 ( 2) = ( 2) 2 2 = 2 f 2(0) 3 = f 2 (2) = 2 2 2 = 2 f 2(0) 4 = f 2 (2) = 2 2 2 = 2 Clearly we are just going to get 2 at every step from now on and thus 2 is in the Mandelbrot set.

Exercise: Is i in the Mandelbrot set? Computing the Mandelbrot Set

Exercise: Is i in the Mandelbrot set? Answer: We compute Computing the Mandelbrot Set f i (0) = 0 2 + i = i fi 2 (0) = f i (i) = i 2 + i = 1 + i fi 3 (0) = f i ( 1 + i) = ( 1 + i) 2 + i = ( 1) 2 2i + i 2 + i = 1 2i 1 + i = i fi 4 (0) = f i ( i) = ( i) 2 + 1 = 1 + i fi 5 (0) = f i ( 1 + i) = i Clearly we are stuck in a cycle and from now on we just get alternating i and 1 + i terms. Thus the sequence never escapes and i is in the Mandelbrot set.

We got lucky in our exercises. Approximating the Mandelbrot Set For most values of c the numbers we get just jump around and never cycle. In this case we cannot know whether the sequence remains bounded. We approximate the set by picking n max a big number and guessing that if we haven t escaped by f n max c (0) then we will never escape. The black set in our pictures is not exactly the Mandelbrot set but rather the set of points that has not escaped by n max.

Julia Sets For each value of c there is an associated filled Julia set. The filled Julia sets are computed in nearly the same way as the Mandelbrot set. The filled Julia set contains the values of z for which remain bounded. f c (z), f 2 c (z), f 3 c (z),... Gaston Julia (1893 1978)

Exercise: What is the Julia set for c = 0? Julia Sets Exercise: Can we see a relationship between the Mandelbrot set and the Julia sets for different c?

Julia Sets Exercise: What is the Julia set for c = 0? Answer: The sequence we get is z 2, z 4, z 8, z 16, z 32, z 64... which remains bounded only if z 1. The Julia set is a circle. Exercise: Can we see a relationship between the Mandelbrot set and the Julia sets for different c?

Julia Sets Exercise: What is the Julia set for c = 0? Answer: The sequence we get is z 2, z 4, z 8, z 16, z 32, z 64... which remains bounded only if z 1. The Julia set is a circle. Exercise: Can we see a relationship between the Mandelbrot set and the Julia sets for different c? Answer: The Mandelbrot set is precisely the values of c for which the associated Julia set is connected. For c outside of the Mandelbrot set the filled Julia set is dust.

Sierpinski Triangle Another way of constructing fractals is by a step by step (mathematicians say iterative ) process. Lets build a simple fractal, the Sierpinski Triangle, in this way Step 1: Start with an equilateral triangle. We have 1 triangle, no holes, and area 1.

Sierpinski Triangle Another way of constructing fractals is by a step by step (mathematicians say iterative ) process. Lets build a simple fractal, the Sierpinski Triangle, in this way Step 2: Shrink the first triangle by a factor 1 2. Build a new triangle using 3 copies of this smaller triangle. We have 3 triangles, 1 hole, and area 3 4.

Sierpinski Triangle Another way of constructing fractals is by a step by step (mathematicians say iterative ) process. Lets build a simple fractal, the Sierpinski Triangle, in this way Step 3: Shrink the triangle from Step 2 by a factor 1 2. Build a new triangle using 3 copies of this smaller triangle. We have 9 triangles, 4 holes, and area 9 16.

Sierpinski Triangle Another way of constructing fractals is by a step by step (mathematicians say iterative ) process. Lets build a simple fractal, the Sierpinski Triangle, in this way Step 4: Shrink the triangle from Step 3 by a factor 1 2. Build a new triangle using 3 copies of this smaller triangle. We have 27 triangles, 13 holes, and area 27 64.

Sierpinski Triangle Another way of constructing fractals is by a step by step (mathematicians say iterative ) process. Lets build a simple fractal, the Sierpinski Triangle, in this way Step 5: Shrink the triangle from Step 3 by a factor 1 2. Build a new triangle using 3 copies of this smaller triangle. We have 81 triangles, 30 holes, and area 81 256.

Sierpinski Triangle If we continue like this for ever we get the Sierpinski Triangle. Exercise: What is the area of the Sierpinski Triangle?

Sierpinski Triangle If we continue like this for ever we get the Sierpinski Triangle. Exercise: What is the area of the Sierpinski Triangle? Answer: At each step the area goes down by a factor 3 4. After n-steps the area will be ) n. Continuing like this we see that the final Sierpinski triangle must have area 0. ( 3 4

Fractal Dimension A solid square is 2 dimensional and a straight line is 1 dimensional. What does this mean? If we try and cover a line by copies half the size then it takes 2 copies. If we try and cover the square by copies half the size then it takes 4 copies. Now 2 1 = 2 so we say the line is dimension 1 and 2 2 = 4 so say the solid square has dimension 2.

Fractal Dimension If we try and cover the Sierpinski triangle by copies half the size then it takes 3 copies. Analogously to the line and square we say that the dimension of the Sierpinski triangle is the number d such that 2 d = 3. Finding d is a little complicated. We have to use logarithms. d log 2 = log 3 d = log 3 log 2 1.58

Fractal Dimension There is nothing special about 2. You can instead cover using N copies one third the size and look for d such that 3 d = N. This is useful for the Sierpinski carpet or for the Menger sponge (see the extension problems).

Fractals in Nature Fractals can give very natural looking objects. Here is a plot of the Black Spleenwort fern generated in a similar way to the Sierpinski triangle. The big fern is made of 3 smaller ferns (the two lowest fronds plus the top of the fern) plus a straight line segment. This plot is generated by a random algorithm - the same method can be used to make plots of the Sierpinski triangle.

L-Systems L-Systems, named after Lindenmayer, are often used to describe plants. The actual objects are strings of characters. An L-system consist of an axiom and replacement rules. For example: The Koch Snowflake is an L-system given by Axiom: F + +F + +F Replacement Rule: F F F + +F F Using the replacement rule iteratively we generate a string. The first such string is F F ++F F ++F F ++F F ++F F ++F F. Now we interpret F as meaning go forward by 1, + as turn right by 60, and as turn left by 60.

Koch Snowflake