logo

Box-Counting Dimension 📂Dynamics

Box-Counting Dimension

Definition 1 2

Suppose there is a bounded set SRnS \subset \mathbb{R}^{n}. Define the minimum number of hypercubes with a side length of ε\varepsilon needed to cover SS as N(ε)N \left( \varepsilon \right). If d=d(S)d = d \left( S \right), defined as follows, exists, then we call dd the box-counting dimension of SS. d(S):=limεlogN(ε)log(1/ε) d \left( S \right) := \lim_{\varepsilon \to \infty} {\frac{ \log N \left( \varepsilon \right) }{ \log \left( 1 / \varepsilon \right) }}

Explanation

The box-counting dimension, or box dimension, while also defined in a limit sense, can be seen as a slightly less rigorous relaxation of the concept of the Hausdorff dimension, depending on the perspective. It primarily emerges to describe fractals, but first, let’s check if it is also an appropriate definition for lines and surfaces, which we intuitively understand.

Surface

alt text

Covering a surface with an area of AA using squares with a side length of ε\varepsilon, as shown in the image above, means the sum of the areas of N(ε)N \left( \varepsilon \right) squares, each of area ε2\varepsilon^{2}, is slightly larger than AA. Precisely comparing the numbers is meaningless, and this approximation becomes more accurate as ε0\varepsilon \to 0. Aε2N(ε) A \approx \varepsilon^{2} N \left( \varepsilon \right) Here, regardless of AA, N(ε)N \left( \varepsilon \right) increases as ε\varepsilon decreases, meaning N(ε)N \left( \varepsilon \right) can be described by the following proportional equation. N(ε)1ε2 N \left( \varepsilon \right) \propto {\frac{ 1 }{ \varepsilon^{2} }} As previously mentioned, this is a universally derived phenomenon independent of AA, so if we take the logarithm on both sides of (1ε)2N(ε)\left( {\frac{ 1 }{ \varepsilon }} \right)^{2} \propto N \left( \varepsilon \right) with AA omitted, we obtain the following. log(1ε)2logN(ε)    2logN(ε)log(1/ε) \begin{align*} & \log \left( {\frac{ 1 }{ \varepsilon }} \right)^{2} \propto \log N \left( \varepsilon \right) \\ \implies & 2 \propto {\frac{ \log N \left( \varepsilon \right) }{ \log \left( 1 / \varepsilon \right) }} \end{align*}

Curve

alt text

As with surfaces, requiring N(ε)N \left( \varepsilon \right) squares to cover a curve with a length of LL implies εN(ε)L\varepsilon N \left( \varepsilon \right) \approx L. Of course, since the diagonal of a square is 2ε\sqrt{2} \varepsilon, fewer squares might be needed, but as noted earlier, in the limit sense, minor scalar multiples are insignificant. Similarly, (1/ε)1N(ε)\left( 1 / \varepsilon \right)^{1} \propto N \left( \varepsilon \right) for curves leads to the following observation. log(1ε)1logN(ε)    1logN(ε)log(1/ε) \begin{align*} & \log \left( {\frac{ 1 }{ \varepsilon }} \right)^{1} \propto \log N \left( \varepsilon \right) \\ \implies & 1 \propto {\frac{ \log N \left( \varepsilon \right) }{ \log \left( 1 / \varepsilon \right) }} \end{align*}

Fractals

alt text

The Cantor set CC requires at least 22 intervals to cover it using an interval with a length of 1/31/3, one on the left and one on the right. To cover it with an interval of length 1/321/3^{2}, 222^{2} intervals are needed this time. The Cantor set continues infinitely, and to cover the Cantor set CC with an interval of length 1/3n1/3^{n}, 2n2^{n} intervals are needed. Re-expressing this in equation form, for ε=(1/3)n\varepsilon = \left( 1 / 3 \right)^{n}, N(ε)=2nN \left( \varepsilon \right) = 2^{n}, and its Cantor dimension is computed as follows. d=limε0logN(ε)log(1/ε)=log2nlog3n=log2log30.6309 d = \lim_{\varepsilon \to 0} {\frac{ \log N \left( \varepsilon \right) }{ \log \left( 1 / \varepsilon \right) }} = {\frac{ log 2^{n} }{ \log 3^{n} }} = {\frac{ \log 2 }{ \log 3 }} \approx 0.6309 This value coincides with that calculated using another fractal dimension, the similarity dimension.

Interestingly, this ‘dimension’ doesn’t resolve neatly to an integer, but appears as a fraction between 00 and 11. Although the Cantor set is an infinite set, even an uncountable set, and thus cannot be said to lie in dimension 00, the length being 00 makes the conclusion that it has a dimension between 00 and 11 possibly correct.

See also


  1. Strogatz. (2015). Nonlinear Dynamics And Chaos: With Applications To Physics, Biology, Chemistry, And Engineering(2nd Edition): p409. ↩︎

  2. Yorke. (1996). CHAOS: An Introduction to Dynamical Systems: p173. ↩︎