CEMC Banner

Grade 11/12 Math Circles
Dynamical Systems and Fractals Part 2 - Solutions

Exercise Solutions

Exercise 1

Consider the following generator, G.

On the left is a horizontal line segment of length l. In the middle is an arrow labelled G pointing to the right. On the right is the same segment but with its middle third removed leaving a gap. The remaining left and right segments both have length equal to one-third of l.

which acts by removing the middle third of line segments. Repeated application of G results in the following fractal set, referred to as the Cantor set.

Four figures placed in a vertical column. Figure E subscript 0 is a horizontal line. Figure E subscript 1 is the previous figure with its middle third removed, leaving a left third and a right third. Figure E subscript 2 is the previous figure with the middle third of each of the left and right thirds removed. The final Figure is E subscript k and shows further segments removed.

Determine an appropriate value of r and use the scaling relation to find the fractal dimension, D, of the Cantor set.

Exercise 1 Solution

Letting r=13 we see that if it takes N(ϵ) measuring sticks of length ϵ (or ϵ-tiles if you prefer) to cover the Cantor set, then it will take N(13ϵ)=2N(ϵ) measuring sticks of length 13ϵ to cover the Cantor set.

Putting this into the scaling relation we get N(13ϵ)=2N(ϵ)=N(ϵ)(13)D. Solving for D yields D=log(2)log(3)0.63. The Cantor set is somewhere between zero-dimensional and one-dimensional.

Exercise 2

Consider the linear function f(x)=ax+b. Show that when 0<a<1, f(x) is a contraction mapping on the domain [0,1]. Determine the contraction factor of f.

Exercise 2 Solution

To show that f is a contraction mapping, consider x and y[0,1]. We see that |f(x)f(y)|=|ax+b(ay+b)|=|axay+bb|=|axay|=a|xy|a|xy|. Since 0<a<1, f is a contraction mapping. The contraction factor of f is a.

Problem Set Solutions

  1. Consider the logistic function f(x)=rx(1x) where 0<r4. In the lesson we saw (by looking at a plot of the iterates) that when r>3 this function has a two-cycle. Now, let’s show it algebraically. Last week we learned that we can solve for the period two points of f(x) by solving the expression f[2](x¯)=x¯, however as f(x) gets more complicated this can leave us with some messy equations to solve. In this question we will work through an easier way to solve for the two-cycle of f(x).

    1. Let {p1,p2} be the two-cycle of f(x). In order for this to be a two-cycle we must have that f(p1)=p2 and f(p2)=p1. Use this fact to write down two expressions relating p1 and p2.

    2. Now subtract the two expressions you found in (a) and use the fact that p1p2 to simplify the resulting expression. You should end up with an expression which is linear in both p1 and p2.

    3. Finally, substitute this expression back into one of the expressions you found in (a) to solve for either p1 or p2. Use this result to show that f(x) only has a (real-valued) two-cycle when r>3.

    Solution:

    1. Using f(p1)=p2 and f(p2)=p1 we have the following two expressions rp1(1p1)=p2rp2(1p2)=p1 which relate p1 and p2.

    2. Subtracting the two expressions from (a) gives rp1(1p1)rp2(1p2)=p2p1r(p1p2)r(p12p22)=p2p1r(p1p2)r(p1p2)(p1+p2)=p2p1. Since p2p1 (by the definition of a two-cycle) we can divide both sides by p1p2, resulting in rr(p1+p2)=1p1+p2=1+rrp1=1+rrp2.

    3. Finally, we substitute our result from (b) back into one of our expressions from (a) to solve for p1 or p2. Since p1 and p2 are interchangeable in our initial formulation it doesn’t matter which one we solve for. rp2(1p2)=1+rrp2rp2rp22=1+rrp2rp22(r+1)p2+1+rr=0. Using the quadratic formula we get p2=r+12r±(r+1)24r1+rr2r=r+12r±(r+1)(r3)2r. Since r>0, this has two distinct (real) solutions when r>3. Thus, we have a two-cycle when r>3.

  2. Consider a circle C which has radius 1. Now consider inscribing C with a regular polygon Pn which has 2n equal sides, as shown in the figure below.

    A circle with an 8 sided regular polygon inside it with all of its vertices lying on the circle.

    The idea is that we can consider the length (Ln) of the perimeter of Pn as an approximation for the circumference (L=2π) of the circle C.

    1. Write down an expression for Ln (the length of the perimeter of Pn).

    2. CHALLENGE (You will need to be familiar with limits in order to solve this next part.) Show that limnLn=L=2π.

      Hint: You may work with angles in either degrees or radians (if you are familiar with radians). You will need to use the fact that limx0sin(x)x=1 (when x is in radians) or that limx0sin(x)x=π180 (when x is in degrees).

    Solution: Working with angles in degrees (solution using radians is very similar):

    1. To start, we need the length of each side of Pn, which is given by 2sin(θn2)=2sin(360°2n+1) as seen on the following figure.

      A triangle inside the circle formed by joining both vertices of one side of the inscribed polygon to the centre of the circle. These two segments are radii of length 1. The angle of the triangle at the centre is theta subscript n which is equal to 360 degrees divided by the quantity 2 to the power of n.

      Since Pn has 2n sides, the length of its perimeter is given by Ln=2n2sin(360°2n+1)=2n+1sin(360°2n+1).


    2. L=limnLn=limn2n+1sin(360°2n+1)=limnsin(360°2n+1)12n+1 Now, let xn=360°2n+1. As n, xn0. limnLn=limxn0sin(xn)xn360°=360°limxn0sin(xn)xn=360°π180°=2π which gives the desired result.

  3. Consider the generator G sketched below:

    G transforms a horizontal line segment of length l into a figure of two unequal segments meet forming a tent shape. The first segment goes up to the right, meeting the second segment that then goes down to the right to a point l units from where the first segment started. The first segment has length r subscript 1 times l and the second has length r subscript 2 times l.

    where 0<r1<1, 0<r2<1 and 1<r1+r2<2.

    1. Starting with the set J0=[0,1], sketch J1=G(J0) and J2=G(J1).

    2. What is the length of J1 (L1)? Of J2 (L2)? In general, can you find an expression for the length of Jn=Gn(J0)?

    3. What do you expect to happen to the length of Jn as n gets infinitely large (i.e. as the set Jn approaches the attractor)?

    Solution:

    1. J1 and J2 are as follows

      J subscript 0 is a horizontal line segment from 0 to 1. J subscript 1 is a tent shape made from two segments: The first segment starts at 0 and has length r subscript 1 and the second has length r subscript 2 and ends ends at 1. J subscript 2 is formed by four connected line segments starting at 0 and ending at 1. Their lengths are r subscript 1 squared, r subscript 1 times r subscript 2, r subscript 1 times r subscript 2, and r subscript 2 squared.

    2. The length of J1 is L1=r1+r2.

      The length of J2 is L2=r12+2r1r2+r2=(r1+r2)2.

      In general, G scales the length of each line segment by a factor of r1+r2 so we can write Ln=(r1+r2)n.

    3. Since r1+r2>1, limnLn=limn(r1+r2)n=. In other words, as n gets infinitely large, the length of Jn will approach infinity (meaning that the attractor has infinite length).

  4. Consider the following two function iterated function system (IFS) on [0,1], f1(x)=15x,f2(x)=15x+45.

    1. Let I0=[0,1] and I1=F(I0) where F is the parallel IFS operator composed of the two functions f1 and f2. Sketch I1 on the real number line.

    2. Let I2=F(I1). Sketch I2 on the real number line.

    3. Let I denote the limiting set (or attractor) of this IFS. Use the scaling relation to determine the fractal dimension D of I.

      Hint: D will be a ratio of two logarithms.

    Solution:

    1. I1 is as follows

      Two intervals: the first is the interval from 0 to one-fifth, which is the function lowercase f subscript 1 applied to I subscript 0; the second is the interval from four-fifths to 1, which is the function lowercase f subscript 2 applied to I subscript 0.

    2. I2 is as follows

      Four intervals: the first two are 0 to one twenty-fifth and four twenty-fifths to one fifth, which is the function lowercase f subscript 1 applied to I subscript 1; the second two are four fifths to twenty-one twenty-fifths and twenty-four twenty-fifths to 1, which is the function lowercase f subscript 2 applied to I subscript 1.

    3. Letting r=15 we see that N(rϵ)=2N(ϵ) (one measuring stick of length one, two of length 15, four of length 125, etc...). Putting this into the scaling relation we get N(15ϵ)=2N(ϵ)=N(ϵ)(15)D which implies 2N(ϵ)=N(ϵ)(15)D2=5DD=log(2)log(5)0.43.

  5. Show that the function f(x)=x2 is a contraction mapping on the domain [0,14]. Determine the contraction factor of f.

    Solution: Let x,y[0,14]. Then |f(x)f(y)|=|x2y2|=|x+y||xy|12|xy|. Therefore f is a contraction mapping with contraction factor 12 on the domain [0,14].

  6. Consider the image of the Sierpinski carpet, S, shown below. The Sierpinski carpet is a self-similar fractal which means that is a union of contracted copies of itself.

    1. Show (by circling them on the figure) that S is made up of eight contracted copies of itself. What is the contraction factor of these copies?

    2. Determine the similarity dimension of S.

    Solution:

    1. We see that there are eight contracted copies of S, as shown on the following figure. We can also see from the figure that each copy of S is scaled down by 13, or has a contraction factor of 13.

    2. Since S is made up of eight copies of itself, each scaled by a factor of 13, the similarity dimension of S is D=log(8)log(3)1.89.

  7. Consider the image of the modified Sierpinski triangle, S, shown below.

    1. Show (by circling them on the figure) that S is made up of three contracted copies of itself.

    2. Imagine starting with a right triangle, S0, which has vertices at (0,0), (1,0), and (0,1). Describe (in terms of contraction factors, translations, rotations, etc...) the three map IFS which you could use to construct S from S0.

    3. Determine the similarity dimension of S.

    4. CHALLENGE Describe a fourth map which could be added to the IFS you found in (b) so that the attractor of the IFS is a solid triangular region.

    Solution:

    1. We can see from the figure below that S is made up of three contracted copies of itself.

    2. We can see from the figure that S is made up of three scaled copies of itself, each contracted by a factor of 12.

      The first map simply scales S0 by 12, resulting in the triangle in the bottom left corner. The second map scales S0 by 12 and translates it to the right by 12, resulting in the triangle in the bottom right corner. Finally, the third map scales S0 by 12 and translates it upwards by 12 to form the triangle in the top corner.

    3. The similarity dimension of S is given by D=log(3)log(2)1.56.

    4. If we want the attractor of the IFS to be a solid triangular region, we need to add a fourth map which will fill up the triangular gap in the middle. We can do this by defining a map which scales S0 by 12, rotates it by 180° and translates it by 12 up and to the right.