Fourth Homework Set Answers

8. Here is the table of values, followed by the log-log plot.
r = square side lengthN(r) = number of squares   Log(1/r)     Log(N(r))  
11 + 1 = 200.301
1/24 + 3 = 70.3010.845
1/442 + 32 = 250.6021.398
1/843 + 33 = 910.9031.959
1/1644 + 34 = 3371.2042.528
1/3245 + 35 = 12671.5053.103
Linear regression on all six points gives a slope of 1.862; regression on the last three gives a slope of 1.900. Computing the slope using just the last two numbers gives 1.910.
 
We see covering the shape with boxes of side length rn = 1/2n requires N(rn) = 4n + 3n boxes.
The box-counting dimension is
db= limn → ∞ Log(N(rn))/Log(1/rn)
= limn → ∞Log(4n + 3n)/Log(2n)
= limn → ∞ Log(4n(1 + (3/4)n)))/Log(2n)
= limn → ∞ (Log(4n) + Log(1 + (3/4)n))))/Log(2n)
= limn → ∞ Log(4n)/Log(2n) + Log(1 + (3/4)n)/Log(2n)
= limn → ∞ (nLog(4)/nLog(2) + Log(1 + (3/4)n)/nLog(2))
The second term vanishes because 1 + (3/4)n → 1 and Log(1) = 0. Consequently, the similarity dimension is 2.
The numerical results are some distance away from this because convergence to the limit can be very slow, even in the case of mathematical examples.

Return to Homework 4 Practice.