Homework 08

Due Tue, April 21, 11:59pm

Download the .ipynb file for this notebook, and place your solutions where indicated (you can make more cells for each problem), keeping the original problem descriptions. Upload only one file, which contains all your work; it should be named "HW08_lastname_firstname". Please include comments in your code; this can also help you get partial credit if your code doesn't work.

Then upload it to Blackboard under the Assignments tab. See Collaboration Policy in Homework section of course webpage (it's the same as it was for previous homeworks).

Grader for this HW (communicate with him about grading issues): Mu Zhao, mu.zhao@stonybrook.edu

Problem 1

Choose a point $u$ in the Mandlebrot set $M$ and a point $v$ not in $M$. Draw the Julia sets for $f_u(z) = z^2+u$ and $f_v(z) = z^2 + v$ using the code from class. Also draw the Julia sets $f_w$ for several $w$ on the line segment connecting $u,v$. Observe the change from a connected Julia set to a disconnected Julia set.

In [1]:
# Your solution goes here

Problem 2

Julia sets have a self-similarity property that is a bit different from the fractals we studied earlier. Features that appear in a small region near some point $u$ in the Julia set $J(f)$ will also appear near any other point $v$ in $J(f)$. However the features may appear somewhat rotated, scaled, and distorted relative to each other. Demonstrate this phenomenon with the quadratic polynomial $f(z) = z^2 + (0.3893 + 0.2179*i)$. Choose some point $u$ in $J(f)$, zoom in near $u$, and identify some feature. Then choose another point $v$ in $J(f)$ and find a version of that feature near $v$.

Remember that as you zoom in, you may have to increase max_iter in order to get a good picture.

In [2]:
# Your solution goes here

Problem 3

The set $M\cap \mathbb{R}$ is the intersection of the Mandlebrot set $M$ with the real axis $\mathbb{R}$. Figure out exactly what this set is by studying the picture of the Mandlebrot set.

Optional challenge (worth 1 bonus point): Give a mathematical justification for this in terms of the definition of the Mandlebrot set.

(It is not possible to give such an simple description for the whole $M$.)

In [3]:
# Your solution goes here

Problem 4

Recall that the Julia set $J(f)$ was actually defined as the boundary of the escaping set $$\{ z \in \mathbb{C}: \lim_{n\to\infty} |f^{\circ n} (z)| =\infty\}.$$ Our drawings have been approximations to the escaping set (also known as the Filled Julia Set), rather than its boundary. Modify the function julia (from lecture 04/07 or 04/09) so that it draws just the boundary of the set of escaping points. That is, color a pixel black if and only if it escapes and at least one of its 4 neighboring pixels does not escape.

In [ ]:
# Your solution goes here