Dimension using box counting technique

In summary, the conversation discusses using the box counting technique to find the dimension of a set, specifically the Cantor set with the middle fifth removed. There is a discrepancy in the results when using different sequences of epsilon, leading to different dimensions. The formula for the dimension is also discussed, but it is unclear why certain sequences of epsilon may not work. Ultimately, the conversation raises questions about the accuracy and limitations of the box counting method in determining the dimension of a set.
  • #1
transmini
81
1
On an exam we just took, we were asked to find the dimension of a set using the box counting technique. So choose an epsilon, and cover your object in boxes of side length epsilon, and count the minimum number of boxes required to cover the object. Then use a smaller epsilon and and count the new minimum number of boxes and find the dimension using $$D=\frac{log(N_{i+1}/N_i)}{log(\epsilon_i/\epsilon_{i+1})}$$.

The problem given was essentially the cantor set, except instead of removing the middle third of each layer, you removed the middle fifth. So if the first segment went from ##[0, 1]## then the second segment was ##[0, \frac{2}{5}]\cup[\frac{3}{5}, 1]## and the third was ##[0, \frac{4}{25}]\cup[\frac{6}{25}, \frac{2}{5}]\cup[\frac{3}{5}, \frac{19}{25}]\cup[\frac{21}{25}, 1]## and so on.

Here's where the issue comes in. This should work no matter the epsilon sequence you choose, but we are getting 2 separate answers.

Using ##\epsilon=\frac{1}{5}## on the third segment requires ##\frac{4*\frac{4}{25}}{\frac{1}{5}} \approx 4## boxes. and ##\epsilon=\frac{1}{25}## on the same segment requires ##\frac{4*\frac{4}{25}}{\frac{1}{25}} = 16## boxes. This would then give ##D = \frac{log(\frac{16}{4})}{log(\frac{1/25}{1/5})} = \frac{log(4)}{log(5)}## which is what most people found, including the professor.

However, using ##\epsilon=\frac{2}{5}## on the third segment requires ##\frac{4*\frac{4}{25}}{\frac{2}{5}} \approx 2## boxes. and ##\epsilon=\frac{4}{25}## on the same segment requires ##\frac{4*\frac{4}{25}}{\frac{4}{25}} = 4## boxes. This would then give ##D = \frac{log(\frac{4}{2})}{log(\frac{4/25}{2/5})} = \frac{log(2)}{log(\frac{5}{2})}## which is what I thought the answer should have been.

Since there is a discrepancy here, there is also a formula using fractals given in the book (however the problem specifically said to use the box counting method) which gives the dimension to be $$D = \frac{log(N)}{log(\epsilon)}$$ but here ##N## is the number of self similar copies and ##\epsilon## is the length of the original relative to the copies (so essentially the factor to scale from the copies to the original). Using THIS method on the third segment, gives 4 copies, each of length ##\frac{4}{25}## relative to the original. So ##N=4## and ##\epsilon=\frac{25}{4}##. Plugging into the formula gives ##D=\frac{log(4)}{log(\frac{25}{4})} = \frac{2*log(2)}{2*log(\frac{5}{2})} = \frac{log(2)}{log(\frac{5}{2})}##. Which matches what I believe the answer should have been.

Ultimately, my question here is why is there this discrepancy. How can using 2 different sequences of ##\epsilon## and ##N(\epsilon)## yield 2 completely different dimensions for the same set? Is there a reason that a particular ##\epsilon##-sequence does not work? I read that having an epsilon smaller than your "particle" or "cell" doesn't contribute new information so it essentially would not work, but using the same ##\epsilon##-sequences on the second segment rather than the third yields the same results.
 
Mathematics news on Phys.org
  • #2
With ##\epsilon_i = 0.4^i##, you cannot cover [1,0] with an integer number of boxes, and the boxes you choose are not arranged in a regular pattern. I'm quite sure you cannot do that.
 
  • #3
mfb said:
With ##\epsilon_i = 0.4^i##, you cannot cover [1,0] with an integer number of boxes, and the boxes you choose are not arranged in a regular pattern. I'm quite sure you cannot do that.

Using ##0.4^i## is what matches the dimension formula though, so I would assume that it actually works. But as far as I understand from the method, it doesn't have to be an integer number of boxes, you just have to round up if you get a decimal because that is the minimum number of boxes required. For example, the third segment with ##\epsilon=0.2## doesn't use an integer number of boxes either. The book in my senior level math class, is written for non math majors...so it doesn't exactly explain the fine details of how things work. So it could just be coincidence then that ##\epsilon_i=0.4^i## actually worked.
 
  • #4
You always cover the "final segment". You don't care about what you call "first segment", "second segment" and so on. You cover the final set, and you count all boxes you have to include to cover it.

In the case of ##\epsilon_i = 0.4^i##, your first step is ##\epsilon=1##, and you use the box from 0 to 1 to cover all of it. Your second step are 0.4 boxes. You need the [0, 0.4] box, the [0.4, 0.8] box and the [0.8,1.2] box. Three boxes. But that number ultimately doesn't matter, because you are looking at a limit process.
With 0.16 boxes, you can leave at least one gap in the middle. With 0.064 boxes, you can leave even more gaps, so you slowly save boxes (leading to a dimension smaller than 1).
 

1. What is the box counting technique?

The box counting technique is a method used in fractal geometry to measure the dimension of a complex shape or pattern. It involves dividing the shape into smaller boxes of equal size and counting the number of boxes that contain a part of the shape. This number is then used to calculate the fractal dimension of the shape.

2. How does the box counting technique work?

The box counting technique works by using a grid of boxes to cover a shape or pattern. The size of the boxes can vary, but they are usually chosen to be small enough to capture the finer details of the shape. The number of boxes that contain a part of the shape is then counted and used to calculate the fractal dimension of the shape.

3. What is the significance of using the box counting technique?

The box counting technique is significant because it allows for the measurement of the fractal dimension of a shape, which is a measure of its complexity and self-similarity. This technique has been applied to a wide range of fields, including mathematics, physics, biology, and economics, to better understand the underlying structure and behavior of complex systems.

4. What are the limitations of the box counting technique?

While the box counting technique is a useful tool for measuring fractal dimensions, it does have some limitations. It may not be suitable for shapes that are too irregular or have varying densities, as this can affect the accuracy of the results. Additionally, the choice of box size can also impact the measured fractal dimension.

5. Can the box counting technique be used for any type of shape?

The box counting technique can be used for a wide range of shapes, including 2D and 3D shapes, as well as patterns and structures found in nature. However, it is important to note that the shape must exhibit self-similarity, meaning that it contains smaller versions of itself at different scales, in order for the technique to be effective.

Similar threads

  • Advanced Physics Homework Help
Replies
6
Views
383
Replies
16
Views
2K
  • General Math
Replies
2
Views
815
  • Calculus and Beyond Homework Help
Replies
9
Views
2K
  • Atomic and Condensed Matter
Replies
0
Views
818
Replies
0
Views
4K
Replies
0
Views
9K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Advanced Physics Homework Help
Replies
3
Views
508
Back
Top