Approaches To Infinity. Fractals Self Similarity – They appear the same at every scale, no matter how much enlarged.

Slides:



Advertisements
Similar presentations
Fractals with a Special Look at Sierpinskis Triangle By Carolyn Costello.
Advertisements

Iteration, the Julia Set, and the Mandelbrot Set.
1 Line replacement approach Koch Star (Snowflake) Area replacement approach Sierpenski Triangle Iterated Function System approach Heighway Dragon CSE
“Teach A Level Maths” Vol. 2: A2 Core Modules
40S Applied Math Mr. Knight – Killarney School Slide 1 Unit: Sequences Lesson: SEQ-L3 Drawing Fractal Patterns Drawing Fractal Patterns Learning Outcome.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
MEGAMENGER Supported by Resources by MEGAMENGER is an international distributed fractal building event taking place in locations all around the globe.
Fractals everywhere ST PAUL’S GEOMETRY MASTERCLASS II.
FRACTALS. WHAT ARE FRACTALS? Fractals are geometric figures, just like rectangles, circles, and squares, but fractals have special properties that those.
So far we’ve done… Dynamics and chaos Thermodynamics, statistical mechanics, entropy, information Computation, Turing machines, halting problem Evolution,
Chapter 9: Recursive Methods and Fractals E. Angel and D. Shreiner: Interactive Computer Graphics 6E © Addison-Wesley Mohan Sridharan Based on Slides.
Fractals Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New.
Homework discussion Read pages 388 – 391 Page 400: 49 – 52, 72.
Simulating Trees with Fractals and L-Systems Eric M. Upchurch CS 579.
Recursion: Overview What is Recursion? Reasons to think recursively? An Example How does recursion work?
Course Website: Computer Graphics 11: 3D Object Representations – Octrees & Fractals.
The Wonderful World of Fractals
CS 4731: Computer Graphics Lecture 5: Fractals Emmanuel Agu.
CS39N The Beauty and Joy of Computing Lecture #11 Recursion III It has been a challenge to power electronic components implanted within a body.
Fractals Complex Adaptive Systems Professor Melanie Moses March
Holt Geometry 12-Ext Using Patterns to Generate Fractals 12-Ext Using Patterns to Generate Fractals Holt Geometry Lesson Presentation Lesson Presentation.
CS4395: Computer Graphics 1 Fractals Mohan Sridharan Based on slides created by Edward Angel.
Notes, part 4 Arclength, sequences, and improper integrals.
Applied Mathematics Complex Systems Fractals Fractal by Zhixuan Li.
"Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line."(Mandelbrot,
Amgad Hussein, Maria Tokarska, Edward Grinko, Dimitar Atassanov, Megan Varghese, Emilio Asperti.
Chapter 9: Geometry.
Structured Chaos: Using Mata and Stata to Draw Fractals
1 Excursions in Modern Mathematics Sixth Edition Peter Tannenbaum.
Fractals Nicole MacFarlane December 1 st, What are Fractals? Fractals are never- ending patterns. Many objects in nature have what is called a ‘self-
Fractals Siobhán Rafferty.
L-Systems and Procedural Plants CSE 3541 Matt Boggus.
Infinities 6 Iteration Number, Algebra and Geometry.
College of Computer and Information Science, Northeastern UniversityOctober 13, CS U540 Computer Graphics Prof. Harriet Fell Spring 2007 Lecture.
Ch 9 Infinity page 1CSC 367 Fractals (9.2) Self similar curves appear identical at every level of detail often created by recursively drawing lines.
Examining the World of Fractals. Myles Akeem Singleton Central Illinois Chapter National BDPA Technology Conference 2006 Los-Angeles, CA.
Fractal Geometry Dr Helen McAneney Centre for Public Health, Queen’s University Belfast.
Fractals smooth surfaces and regular shapes - Euclidean-geometry methods -object shapes were described with equations natural objects - have irregular.
Fractals. Most people don’t think of mathematics as beautiful but when you show them pictures of fractals…
Copyright © 2005 Pearson Education, Inc. Slide 10-1.
Strategies and Rubrics for Teaching Chaos and Complex Systems Theories as Elaborating, Self-Organizing, and Fractionating Evolutionary Systems Fichter,
Fractals What do we mean by dimension? Consider what happens when you divide a line segment in two on a figure. How many smaller versions do you get? Consider.
Fractal Dimension Topological dimension A topological dimension of an entity is one that remains invariant under continuous, one-to-one transformations.
WORKSHOP “Fractal patterns…” Morahalom, May, 2009 Fractal patterns in geology, and their application in mathematical modelling of reservoir properties.
Koch Curve How to draw a Koch curve.. Start with a line segment (STAGE 0) *Divide the line into thirds *In the middle third produce an equilateral triangle.
ATEC Procedural Animation Introduction to Procedural Methods in 3D Computer Animation Dr. Midori Kitagawa.
CSE 423 Computer Graphics | MUSHFIQUR ROUF CSE423:
Fractals! Bullock Math Academy March 22, 2014 Brian Shelburne
Experimenting with Grammars to Generate L-Systems October 29, 2007
Fractals Ed Angel Professor Emeritus of Computer Science
Fractals. What do we mean by dimension? Consider what happens when you divide a line segment in two on a figure. How many smaller versions do you get?
Fractals Cassi Blum.
Fractal Art. What is Fractal Art? A fractal is a geometric shape that has self similarity, that is it can be split into pieces that are approximate reduced.
Fractals.
Creating a Hat Curve Fractal Objectives: 1.To create a Hat Curve fractal on Geometer’s Sketchpad using iteration. 2.To find the length of the Hat Curve.
The Further Mathematics Support Programme Our aim is to increase the uptake of AS and A level Mathematics and Further Mathematics to ensure that more.
Grafika Komputer dan Visualisasi Disusun oleh : Silvester Dian Handy Permana, S.T., M.T.I. Fakultas Telematika, Universitas Trilogi Pertemuan 12 : Realisme.
Experimenting with Grammars to Generate L-Systems – in JFLAP March 31, 2011 Prof. Susan Rodger Computer Science Dept.
Fractals and L-Systems
Theory of nonlinear dynamic systems Practice 9
Iterative Mathematics
Fractals Project Natalie Rowe.
HONR 300/CMSC 491 Fractals (Flake, Ch. 5)
ATCM 3310 Procedural Animation
Chapter 5 Curves and Fractals.
S.K.H. Bishop Mok Sau Tseng Secondary School
HONR 300/CMSC 491 Fractals (Flake, Ch. 5)
The Wonderful World of Fractals
Modeling with Geometry
Fractals What do we mean by dimension? Consider what happens when you divide a line segment in two on a figure. How many smaller versions do you get?
Presentation transcript:

Approaches To Infinity

Fractals Self Similarity – They appear the same at every scale, no matter how much enlarged.

Fractals Fractal curves have infinite length within a finite region – Koch curve – Koch Snowflake – Dragon Curve – Hilbert Curve Implemented using recursive functions Application: – Simulating Clouds, ferns, coastlines, mountains, veins, nerves, parotid gland ducts, etc. all possess these features – fractal geometry is useful for all sorts of things from biology to physics, to cosmology, to even the stock market – fractal math is involved in JPG, MP3, MPG and other digital compression

Koch curve

Koch Curve Initial line: k o – horizontal line having unit length 1st Generation: K 1 – divide k o in three equal parts – Replace the middle section with triangular bump each side having length 1/3 2 nd generation: k 2 – repeat the process for each of the four line segments

How to draw koch curve? k n generation consists of four versions of the k n-1 generation To draw k2 – draw a smaller version of k1 – Turn left 60 o, and again draw a smaller version of k1 – Turn right 120 o, and again draw a smaller version of k1 – Turn left 60 o, and again draw a smaller version of k1 Length = (4/3) Length = (4/3) 2 Recursive!

How to draw koch curve? k n generation consists of four versions of the k n-1 generation To draw Kn: If(n equals 0) Draw a straight line; Else Draw K n-1 ; Turn left 60 o ; Draw K n-1 ; Turn left 120 o ; Draw K n-1 ; Turn left 60 o ; Draw K n-1 ; Length = (4/3) Length = (4/3) 2

Length of Koch Curve Length of curve for kn is (4/3) n – How? Length of K0 = 1 Length of K1 = 4 x 1/3 = 4/3 Length of K2 = 4 (4 x (1/3)/3) = 4 2 (1/3) 2 Length of K3 = 4 3 (1/3) 3 … Length of Ki = 4 i (1/3) i = (4/3) i ; if i tends to infinity, length tends to infinity

Koch Curve A line of length L is koched – K o has length L instead of unit length Length = L Length = 4(L/3) Length =4x(4x(L/3)/3 ) = L (4/3) 2 (L/3)/3 (L/3) 4x(L/3)/3

Koch Curve A line of length L is koched Length of K n = L (4/3) n

Koch Snowflake Curve Starts with three koch curves joined together

Perimeter of Koch Snowflake Curve Perimeter of koch snowflake curve of i th generation S i is three times the length of a simple koch curve Length = 1 Length = (4/3) Length = (4/3) 2 Perimeter= 3 x 1 Perimeter= 3 x (4/3) Perimeter= 3 x (4/3) 2

Perimeter Koch Snowflake Curve Perimeter of koch snowflake curve of i th generation S i is three times the length of a simple koch curve: perimeter of S i = 3 x length of K i = 3 (4/3) i As i increases, perimeter increases, boundary becomes rougher But the area remains bounded! perimeter of Si when i tends to infinity: lim 3 (4/3) i = 8/5 S o i  ∞

Number of Sides of koch snow flake curve How many sides at generation n? N 0 =3 N 1 = 12 = 4 x N 0 N 2 = 36 = 4 x N 1 = 4 x 4 x N 0 = 4 2 N 0 N 3 = 4 3 N 0 … … N n = 4 n N 0 = 3 x 4 n From each side, 4 new sides

Size of the sides of Koch Snow Flake Size of sides at iteration n? S n = 1/3 n (formula from koch curve) of L/3 n Perimeter of Koch Snow Flake at iteration n is: Sn x Nn = (1/3 n ) (3 x 4 n ) or (L/3 n ) (3 x 4 n ) =3L(4/3) n From each side, 4 new sides

Area of Koch Snow Flake Area of S o = a o Area of S 1 = a o + 3(a o /9) = a o + a o /3 = a o (1+1/3) How do we get area of S n ? a o /9 SoSo S1S1

Area of Koch Snow Flake In each iteration a new bump/triangle is added at each side of previous iteration After nth iteration, Number of new triangles = Nn-1 = 3 x 4 n-1 New area included = Nn-1 x size of new bump/triangle How do we get size of new bump/triangle at iteration n ?

Area of Koch Snow Flake Area of each small bump in S1 = ao / 9 Area of each small bump in S2 = ao / 9 2 Area of each small bump in S3 = ao / 9 3 … … Area of each small bump in Sn = ao / 9 n ao/9 (ao/9)/9 = ao(1/9) 2

Area of Koch Snow Flake In each iteration a new bump/triangle is added at each side of previous iteration After nth iteration, Number of new triangles = Nn-1 = 3 x 4 n-1 New area included = Nn-1 x size of new bump/triangle = Nn-1 x Sn = (3 x 4 n-1 ) (ao/9 n ) = ao(3/4) (4/9) n

Area of Koch Snow Flake So After nth iteration, New area included = ao(3/4) (4/9) n area of S1 = a1 = ao + ao(3/4) (4/9) 1 area of S2 = a2 = a1 + ao(3/4) (4/9) 2 … area of Sn = an = an-1 + ao(3/4) (4/9) n = ao + ∑ao(3/4) (4/9) k = ao(1+3/4 ∑ (4/9) n ) ao k= 1 to n

Dragon Curve Starting from a base segment, replace each segment by 2 segments with a right angle and with a rotation of 45° alternatively to the right and to the left: Gen 0

Hilbert Curve Hilbert proved that, as the order tends to infinity, the infinitely thin, continuous line of the curve passes through every point of the unit square [Drawing technique: Self Study]

Dimension of fractals Fractals have infinite length but occupied in finite region Lets apply this concept for simple line, square, and cube. A straight line having unit length is divided into N equal segments, then length of each side is r = 1/N A square having unit length sides, divided into N equal squares, then side of each small squares is r = 1/(N) 1/2 For N=4, we see Similarly, a cube having unit length sides if divided into N equal cubes, then each side will have length r = 1/(N) 1/3 1 ½  1/(4) 1/2 r = 1 / N 1/D D= Dimension

Dimension of fractals r = 1/N 1/D N 1/D = 1/r log N 1/D = log (1/r) (1/D)log N = log (1/r) D = log N / log (1/r)

Dimension of fractals Koch Curve: K0 to k1  the base segment is divided into N = 4 equal segments each having length r = 1/3 So dimension is D = log N / log (1/r) = log 4 / log (3) = 1.26 Quadratic Koch Curve: Q0 to Q1  the base segment is divided into N=8 equal segments each having length r = 1/4 So dimension is D = log N / log (1/r) = log 8 / log (4) = 1.5

Dimension of fractals Dragon Curve: d0 to d1  the base segment is divided into N = 2 equal segments each having length r = 1/2 1/2 So dimension is D = log N / log (1/r) = log 2 / log (2 1/2 ) = 2  dimension of square!

Dimension of fractals So what we have learned? Koch curve has dimension 1.26 Quadratic koch curve has dimension 1.5 Dragon curve has dimension 2 As Dimension increases, curve becomes plane filling

Peano curves Fractal curves that have dimension 2 are called Peano curves – Dragon curve – Gosper curve – Hilbert curve

String production rule to draw fractals The pseudocode can be converted to a set of String Production Rules – L-System

String production rule to draw fractals Koch Curve F  “F – F + + F – F” F = go forward -= turn left through angle A degrees + = turn right through angle A degrees

String production rule to draw fractals Koch Curve This gives us first generation S1 = F – F + + F – F Replacing each F with same rules gives S2 S2 = (F – F + + F – F) – (F – F + + F – F) + + (F – F + + F – F) – (F – F + + F – F) Applying repeatedly gives latter generations F  F–F++F–F 60

String production rule to draw fractals This technique is called Iterated Function System (IFS) – A string is repeatedly fed back into the same function to produce the next higher order object

Allowing branching String production rule with special symbol for saving current state and restore to saved state Current State – Current position, CP – Current direction, CD Saving current state: [ Restore the last saved state: ] Implementation: Using Stack – Save state: Push – Restore last saved state: Pop

Allowing branching Example: Fractal Tree F  “FF – [ - F + F + F ] + [ + F – F – F ] ” Atom : F Angle A: 22 o Saved State:P1, D1 P1 D1D2 P1, D2 Gen 1 Gen 2 Replace each F by the same rule

Mandelbrot Set

Julia set

Iterated function system Iterated function system produce Mandelbrot set and Julia set from following function: f (z) = z 2 + c Let us choose starting value z=s Then the sequence of values is: d 1 = (s) 2 + c d 2 = ((s) 2 + c) 2 + c d 3 = (((s) 2 + c) 2 + c) 2 + c d 4 = ((((s) 2 + c) 2 + c) 2 + c) 2 + c This sequence is called orbit

Orbit Orbit depends on 1.Starting value s 2.Constant c How d k acts with the given value of s and c as k increases? Either remains finite  all points are in a finite distance from 0 Or they explode  shoot of to infinity

Finite Orbit Example: 1.c= 0; s=1 : orbit contains: {1, 1, 1, 1, 1, …} 2.c= 0; s=1/2 : orbit contains: {1/2, 1/4, 1/8, 1/16, 1, …} (converging to zero) 3.C=-1; s=0: orbit contains: {0, -1, 0, -1, 0, -1, …} 4.C=-1.3; s=0: orbit contains: {0, -1.3, …, , , , , …} after 50 steps, converges to a periodic sequence of four values.

Exploding Orbit Example: 1.c= 1; s=0 : orbit contains: 0, 1, 2, 5, 26, 677, …  explodes!

Complex numbers What if s and c are complex? – Can result in Mandelbrot set and julia sets In graphics, the complex numbers are displayed using a diagram – each complex number z= x+ yi is displayed at position (x, y) Squaring a complex number gives another complex number – (x+yi) 2 = (x 2 – y 2 ) + (2xy)i

Mandelbrot set & Julia Set Application: Study of phase transitions, In physics It appears in some sort of electrical circuits And many other

Mandelbrot set Mandelbrot set M is the set of all complex numbers c which produce finite orbit with s=0 s=0 c= i d 1 = i d 2 = i d 3 = i d 4 = i … After about 80 iterations, the d k ’s converges to d k = i  fixed point of the function

Julia set Filled in Julia set, Kc : C = fixed S= variable At constant c, the Kc is the set of all starting points s whose orbits are finite Julia set, Jc: At constant c, Jc is the boundary of Kc. Starting points s which are outside the boundary  explode Starting points s which are inside the boundary  remains finite Starting points s which lies on the boundary  on the fence  Julia set Jc

Mandelbrot & Julia set Both lives in complex plane and thus studied in 'complex dynamics' In Mandelbrot set M, S is zero and C varies. In Jc, c is given constant, and s varies. But in both case, c is complex number If the Mandelbrot set near a specific complex number z is zoomed enough, it tends to look at lot like the Julia set for that number! For example, c=z=− i Julia set for that number ultra-closeup of the Mandelbrot set near that number

Hill (2 nd Edition): 9.1 to 9.3, 9.6, 9.7