Combining Fractals and Box-Counting Dimension

Abstract

In this paper, the box-counting dimension is used to derive an explicit formula for the dimension of a fractal constructed using several contractions or by combining fractals. This dimension agrees with the Hausdorff dimension in the particular case when the scales factors considered are all the same. A more general sufficient condition for the box-counting dimension and the Hausdorff dimension to be the same is given. It is also shown that the dimension of the fractal obtained by combining two fractals is the weighted average of the dimensions of the two fractals.

Share and Cite:

Ndiaye, M. (2021) Combining Fractals and Box-Counting Dimension. Applied Mathematics, 12, 818-834. doi: 10.4236/am.2021.129055.

1. Introduction

We can think of fractals as a complex geometric figure that is self similar across different scales. Fractals occupy the space between two discrete dimensions. These are shapes whose dimension is not a whole number unlike any Euclidean space. Since fractals show similar details on different scales, so scaling is at the center of understanding fractals dimension. When one successfully magnifies a section of a fractal image, each magnification reveals repeated fractals shapes that are similar in detail to the images of the main fractal and other magnification. There are various ways to construct fractals mathematically. We have for example a deterministic process like the one used to construct the classic Cantor set [1] [2] by iteratively deleting the middle third section of the unit interval. We can also construct fractals by repeatedly iterating a given map or through the use of IFS (Iterating Function System) [1] [3] or by looking at the basin boundary of infinity of the Mendelbrot set: Julia set [1] [4] [5] [6] . In their article: On combining and convolving fractals [7] , the authors introduced a new process of constructing fractals: The convolution of fractals into one. They then explore the effect of such combinations on the dimensions of the corresponding fractals by using the Moran equations [8] [9] . In general, finding an explicit formula for the dimension in term of elementary functions is quite difficult, and sometime impossible. In this paper, the box-counting dimension [2] [10] is used to derive an alternative explicit formula for the dimension of fractals constructed using several contractions or by combining fractals. The formula for the dimension of fractals constructed using several contractions could be seen as the generalization of the Cantor set dimension in the case we apply a multitude of scales on the unit interval. With this formula, it is much easier to show several properties of the dimension of the fractal obtained by combining two fractals than using the dimension from the Moran equation.

The paper is divided into six sections.

In Section 2, the definition of contractions, iterated functions system (IFS) are introduced. The existence of a limiting set from an IFS is discussed. An example of fractal is also given.

In Section 3, the definition and the properties of the box-counting dimension are introduced and specific examples about the box-counting dimension of the Cantor set and the Sierpinski gasket are given.

In Section 4, the box-counting dimension is applied to fractals that arise from multitude of scaling.

In Section 5, the dimension of fractals obtained by combination of two fractals is explored and it is shown that this dimension is a weighted average.

Section 6 is dedicated to the conclusion.

2. Notion of Contractions, Iterated Function Systems, Fractal Definition

The functions that are used in mathematics to reproduce a contracted self-similar image from a given figure is called contraction. This notion is defined as follow.

Definition 1. A contraction in m with scale factor r ( 0,1 ) is a map f : m m such that for all x and y in m | f ( x ) f ( y ) | r | x y | .

Remark 1. If | f ( x ) f ( y ) | = r | x y | then f is said to be a similarity with scale factor r.

Matrices provide a very convenient notation for contractions. A contraction can be written as f ( x ) = A x + b where x m and A is a m × m matrix whose eigenvalues have magnitudes less than 1 and b is a constant in m .

Definition 2. An iterated function system (IFS) is a collection of contractions { f 1 , f 2 , , f n } with n 2 on a closed subset Ω n . A nonempty compact subset F of Ω is an attractor or fractal of the IFS if F = i = 1 n f i ( F ) .

The following theorem shows the existence and the uniqueness of such attractor given any IFS.

Theorem 1. Given any IFS defined by the contractions C 1 , C 2 , C 3 , , C m on a closet subset Ω of m and let C be the set of all nonempty compact subsets of Ω and let f be the map defined as f ( X ) = i = 1 m C i ( X ) where C , then there exists a unique attractor F such that f ( F ) = F . Furthermore, for every set X C such that f ( X ) X , F = i = 1 f i ( X ) .

Proof. let Ω be a closed set in m . Let E Ω .

The δ -neighborhood of E denoted N δ ( E ) is defined as

N δ ( E ) = { x Ω / | x a | < δ forsome a E } .

Let C be the set of compact in Ω .

The Hausdorff metric on Ω is defined as:

For any set A, B in C : d H ( A , B ) = inf { δ / A N δ ( B ) , B N δ ( A ) } .

• The set of compact C in Ω is a complete space using the Hausdorff metric.

Let S n be a Cauchy sequence in C that is ε > 0 N such that if n , m N then d H ( S n , S m ) < ε .

Choose ε i = ε 2 i N i such that if n , m N then d H ( S n , S m ) < ε i 2 i , i 1 .

If N 1 < N 2 < N 3 < < N i < then d H ( S N i , S N i + 1 ) < ε 2 i since N i + 1 > N i , there exists a sequence s N i S N i , i 1 such that | s N i s N i + 1 | < ε 2 i and s N i + 1 S N i + 1 .

Let’s show that the sequence s N k is a Cauchy sequence.

Suppose that m < n then

| s N m s N n | = | s N m s N m + 1 + s N m + 1 s N m + 2 + + s N n 1 s N n | < | s N m s N m + 1 | + | s N m + 1 s N m + 2 | + + | s N n 1 s N n | < ε 2 m + ε 2 m + 1 + ε 2 m + 2 + + ε 2 n 1 < ε ( 1 2 m + 1 2 m + 1 + + 1 2 n 1 ) < ε ( 1 2 + 1 2 2 + ) = ε

s N k is a Cauchy sequence.

Since s N k is a sequence of real numbers therefore lim k s N k = L exists.

Let S be the set of those limits that is

S = { L / L = lim k s N k , s N k S N k , N 1 < N 2 < }

Figure 1 shows a subsequence S N k of sets from S N . Several subsequences of real numbers a N k , b N k , are depicted.

Now, let’s show that lim n S n = S that is ε > 0 K ( ε ) such that if n K ( ε ) then d H ( S n , S ) < ε that is S n N ε ( S ) and S N ε ( S n ) .

First let’s start by showing that S N ε ( S n ) .

Figure 1. Subsequence S N k of sets from S n .

Let s S s N k S N k such that lim k s N k = s ε > 0 P ( ε ) such that if K ( ε ) P ( ε ) then | s N k s | < ε 2 .

Since S n is a Cauchy sequence then ε > 0 M ( ε ) such that if n , m M ( ε ) then d H ( S n , S m ) < ε 2 which means that S n N ε 2 ( S m ) and S m N ε 2 ( S n ) n M ( ε ) .

Assuming that N k M ( ε ) , n M ( ε ) then d H ( S n , S N k ) < ε 2 .

there exists a sequence s n S n such that | s n s N k | < ε 2 .

Now let L ( ε ) be the maximum of P ( ε ) and M ( ε ) .

If n , k > L ( ε ) then | s s n | | s s N k | + | s N k s n | < ε 2 + ε 2 = ε

s N ε ( A n ) S N ε ( S n )

Now, let’s show that S n N ε ( S ) n K ( ε ) for some K ( ε ) .

Let b S n , since S n is a Cauchy sequence then ε i = ε 2 i > 0 N i ( ε )

Such that if n , m N i ( ε ) then d H ( S n , S m ) < ε 2 i , i 1 .

If b A n for some n N i ( ε ) then l such that b = b N l where b N l A N l .

Since lim k b N k = s where b S , then for k > l ,

| b N l b N k | | b N l b N l + 1 | + | b N l + 1 b N l + 2 | + + | b N k 1 b N k | < ε 2 l + ε 2 l + 1 + + ε 2 k 1 < ε ( 1 2 l + 1 2 l + 1 + + 1 2 k 1 ) < ε ( 1 2 + 1 2 2 + 1 2 3 + ) = ε

lim k | b N l b N k | ε | b N l s | ε | b s | ε b N ε ( S ) S n N ε ( S )

lim n S n = S .

Let’s show that the set S is a compact set that is bounded and closed set.

Let’s start showing that S is closed. let x n be a sequence in S such that lim n x n = x .

Let’s show that x S .

lim n x n = x ε > 0 N ( ε ) such that if n N ( ε ) then | x n x | < ε 2 .

Since x n S a sequence ( x n ) N k S N k such that lim k ( x n ) N k = x n .

ε > 0 M ( ε ) such that if k M ( ε ) then | ( x n ) N k x n | < ε 2 .

Assuming that n N ( ε ) and k M ( ε ) then | ( x n ) N k x | | ( x n ) N k x n | + | x n x | < ε 2 + ε 2 = ε .

lim n ( x n ) N k = x x S therefore S is closed.

Let’s show that the set S is a bounded set.

Since lim n S n = S for ε = 1 N ( ε ) such that d H ( S n , S ) < ε S N 1 ( S n ) for n N ( ε ) .

Since S n is bounded then A n B ¯ r ( x ) for some x S n and some r > 0 , where B ¯ r ( x ) = { y / | y x | r } then N 1 ( A n ) B ¯ r + 1 ( x ) S B ¯ r + 1 ( x ) .

Therefore S is bounded.

• The function f defined as f ( X ) = 1 i m C i ( X ) is a contraction using the Hausdorff metric.

So, we need to show that d H ( f ( X ) , f ( Y ) ) < r d H ( X , Y ) where r < 1 .

d H ( f ( X ) , f ( Y ) ) = d H ( 1 i m C i ( X ) , 1 i m C i ( Y ) ) .

Let’s show that if max 1 i m d H ( C i ( X ) , C i ( Y ) ) < l then d H ( 1 i m C i ( X ) , 1 i m C i ( Y ) ) < l .

Suppose that max d H ( C i ( X ) , C i ( Y ) ) < l then d H ( C i ( X ) , C i ( Y ) ) < l for all i C i ( X ) N l ( C i ( Y ) ) and C i ( Y ) N l ( C i ( X ) ) for all i.

C i ( X ) N l ( C i ( Y ) ) 1 i m C i ( X ) 1 i m N l ( C i ( Y ) ) .

Let’s show that 1 i m N l ( C i ( Y ) ) = N l ( 1 i m C i ( Y ) ) .

Let x 1 i m N l ( C i ( Y ) ) i such that x N l ( C i ( Y ) ) | x y | < l for some y C i ( Y ) .

Then for some

y 1 i m C i ( Y ) x N l ( 1 i m C i ( Y ) )

1 i m N l ( C i ( Y ) ) = N l ( 1 i m C i ( Y ) )

1 i m C i ( X ) N l ( 1 i m C i ( Y ) ) .

Same thing, we can show that

1 i m C i ( Y ) N l ( 1 i m C i ( X ) ) .

Therefore

d H ( 1 i m C i ( X ) , 1 i m C i ( Y ) ) < l

d H ( 1 i m C i ( X ) , 1 i m C i ( Y ) ) max 1 i m d H ( C i ( X ) , C i ( Y ) )

Since C i is a contraction then d H ( C i ( x ) , C i ( Y ) ) < r i d H ( X , Y ) , 0 < r i < 1 .

d H ( 1 i m C i ( X ) , 1 i m c i ( Y ) ) c 1 i m d H ( X , Y )

where c = max 1 i m r i so 0 < c < 1 .

Therefore f is a contraction. Since C is a complete space and f is a contraction, then according to the Banach’s Contraction Mapping Theorem, we conclude that f has a fix point, that is there exists F such f ( F ) = F therefore F = i = 1 m C i ( F ) has a solution.

We can also prove that F = i = 0 f i ( X ) where X C .

lim k f k ( X ) = f ( lim k f k 1 ( X ) ) since f is continuous because f is a contraction.

lim k f k ( X ) = F .

Since f ( X ) X because f is a contraction, therefore { f k ( X ) , k 0 } are nested sets lim k f k ( X ) = k 0 f k ( X ) k 0 f k ( X ) = F .

Figure 2 below shows the successive iterations of f defined as f ( X ) = i = 1 k C i ( X ) starting with the initial compact set F0.

By induction, we obtain

f n ( F 0 ) = i = 1 , j = 1 , , l = 1 k C i ( C j ( C l ( F 0 ) ) )

So we can define the fractal F associated to the function f and F 0 as the subset of F 0 defined by

Figure 2. Successive iteration of f starting with the initial compact F0.

F = n = 0 f n ( F 0 ) = F 0 f ( F 0 ) f ( f ( F 0 ) ) f ( f ( f ( F 0 ) ) )

The next example is an example of fractals that can be obtained using IFS.

Example 1. (Cantor Set)

Starting with K 0 = [ 0,1 ] , we obtain the subsequent subsets by acting two contractions with the same scale factor of 1 3 : f 1 ( x ) = 1 3 x and f 2 ( x ) = 1 1 3 x on K 0 = [ 0,1 ] , then we get K 1 . After repeating this process recursively in the contracted intervals, we obtain the Cantor set K as shown Figure 3 below.

And then we can see that: K = i = 1 2 f i ( K ) .

3. The Box-Counting Dimension

We know that from our Euclidean understanding of dimensions, a point has zero dimension, a line segment has one dimension, a square has two dimensions, and a cube has three dimensions. We also know that this understanding comes from our designation of the number of parameters we use to locate points and measure distance within given space.

Now, we use Hausdorff dimension [11] when we deal with a non-Euclidean space for instance fractals. The Hausdorff dimension is more sophisticated.

Fortunately, when the fractal arises from contractions, we have the following theorem that gives a way to estimate the Hausdorff dimension easily.

Theorem 2. Let { C 1 , C 2 , , C n } be an iterated function system (IFS) with n 2 . Let r 1 , r 2 , , r n be respectively the scales of the contractions.

If F is the attractor of the IFS, then the Hausdorff dimension d of F satisfies the equation:

i = 1 n r i d = 1

the equation: i = 1 n r i d = 1 is known as the Moran Equation.

With the Moran equation, we can approximate the dimension of a fractal obtained using multiple contractions.

Another way of computing the dimension of a fractal is through the box counting method I describe below.

Let S be a bounded d-dimensional set. Imagine covering S by d-dimensional cubes of side length ε .

Let N ( ε ) be the number of cubes of side length ε needed to cover S.

Figure 3. Cantor set.

If d = 1 . So we can consider line segments of length ε . N ( ε ) C ε where C

is a constant. The exponent 1 of ε represents the dimension of the line segment.

If d = 2 , we can consider squares of side ε then N ( ε ) C ε 2 . The exponent 2 of ε represents the dimension of the square.

If d = 3 , then we can consider cubes of side ε and then N ( ε ) C ε 3 . The exponent 3 of ε represents the dimension of the cube.

We conclude that for a bounded d-dimensional set, N ( ε ) C ε d . To find the general formula for the dimension of a given bounded shape whether it is an Euclidean shape or a fractal shape we can solve the equation:

N ( ε ) C ε d

ln ( N ( ε ) ) ln ( C ε d )

d ln ( N ( ε ) ) ln ( 1 ε ) ln ( C ) ln ( 1 ε )

When ε is very small that is when ε approaches 0 then

lim ε 0 + ( ln ( N ( ε ) ) ln ( 1 ε ) ln ( C ) ln ( 1 ε ) ) = lim ε 0 + ln ( N ( ε ) ) ln ( 1 ε )

which leads to the definition of box-counting dimension.

Definition 3. The box counting dimension denoted boxdim (S) of a bounded set S is given by:

boxdim ( S ) = lim ε 0 + ln ( N ( ε ) ) ln ( 1 ε ) (1)

We can easily show that the box-counting dimension agrees with the standard notion of dimension see [1] . Now let’s provide some simplifications to this definition.

Proposition 1. Let S be a bounded set of m .

For all ε ( 0,1 ) , b n such that b n + 1 < ε < b n and lim n b n = 0 and lim n ln ( b n + 1 ) ln ( b n ) = 1 .

Proof. For any postive real number a, there exists n such that n a n + 1 in particular when a = ln ( 1 ε ) ln 2 > 0 . Therefore we conclude that

ln 2 ( n + 1 ) ln ( ε ) ln 2 n

2 ( n + 1 ) ε 2 n

So we can choose b n = 2 n then lim n b n = 0 and lim n ln ( b n + 1 ) ln ( b n ) = 1

Theorem 3. Assuming that b 1 > b 2 > b 3 > > b n > and lim n b n = 0 and lim n ln ( b n + 1 ) ln ( b n ) = 1 . If lim n ln ( N ( b n ) ) ln ( 1 b n ) = d then lim ε 0 ln ( N ( ε ) ) ln ( 1 ε ) = d

Proof. We start the proof with a bounded set S in 2 . Let N ( ε ) be the number of boxes of side length ε needed to cover S.

Let S 1 be any subset of S being covered by a box of side length b n + 1 .

We then can cover the subset S 1 by almost 4 boxes of side length ε . Therefore N ( ε ) 4 N ( b n + 1 ) . Since ε b n then N ( b n ) 4 N ( ε ) . This implies that

N ( b n ) 2 2 N ( ε ) 2 2 N ( b n + 1 )

And thus in m we obtain

N ( b n ) 2 m N ( ε ) 2 m N ( b n + 1 )

Since ln is an increasing function then

m ln ( 2 ) + ln ( N ( b n ) ) ln ( N ( ε ) ) m ln ( 2 ) + ln ( N ( b n + 1 ) )

Now using the fact that

b n + 1 ε b n

we obtain the following inequality

ln ( 1 b n ) ln ( 1 b n + 1 ) m ln ( 2 ) + ln ( N ( b n ) ) ln ( 1 b n ) ln ( N ( ε ) ) ln ( 1 ε ) ln ( 1 b n + 1 ) ln ( 1 b n ) m ln ( 2 ) + ln ( N ( b n + 1 ) ) ln ( 1 b n + 1 )

Now using the squeeze theorem, we see that if lim n ln ( N ( b n ) ) ln ( 1 b n ) = d then lim ε 0 + ln ( N ( ε ) ) ln ( 1 ε ) = d therefore the boxdim = d.

There are other simplifications we can use to get the dimension of the fractals. We can replace N ( ε ) by N 0 ( ε ) which is the smallest number of boxes needed to cover the set. Also, instead of using squares, we can use disks of radius ε or triangles of side length ε .

Example 2. Lets find the box counting dimension of the Cantor set. From the figure in example 1, the length of each interval of K 1 equals 1 3 so b 1 = 1 3 . The number of boxes needed to cover these intervals is 2 so N ( b 1 ) = 2 .

Step 2, the length of each interval of K 2 equals 1 3 2 so b 2 = 1 3 2 .The number of boxes needed to cover these intervals is 22 so N ( b 2 ) = 2 2 .

Continuing until the nth step, be see that b n = 1 3 n and N ( b n ) = 2 n

boxdim ( K ) = lim n ln ( 2 n ) ln ( 3 n ) = ln ( 2 ) ln ( 3 )

4. Box-Counting Dimension for Fractals That Arise from Multitude of Scalings

4.1. The Case of a One Dimensional Set

Theorem 4. Let K 0 be a bounded set of dimension 1.

Let C i ,1 i k be contractions on K 0 with corresponding scale factors r i = a i b i , 1 i k where a i and b i are both integers.

Let r be the largest rational number such that r i r is an integer for all 1 i k that is r = gcd ( a i ) lcm ( b i ) , 1 i k .

If K is the fractal that results from K 0 using the contractions C 1 , C 2 , C 3 , , C k then

boxdim ( K ) = ln ( r 1 r + r 2 r + r 3 r + + r k r ) ln ( r ) (2)

Proof. Consider a set of dimension one for instance the segment K 0 = [ 0,1 ] . Let K 1 be the set obtained by acting k contractions with scales factors r 1 , r 2 , , r k on the segment K 0 = [ 0,1 ] . For the next step, let K 2 be the set obtained by acting the n contractions on each interval of the set K 1 . Repeating this process, we obtain an attractor denoted K as seen in Figure 4 below. K is a fractal.

Let’s find the dimension of the fractal K . Let r be the largest rational number such that r i r is an integer for all 1 i k that is r = gcd ( a i ) lcm ( b i ) .

Define b 1 = r and let N ( b 1 ) be the number of intervals of length b 1 needed to cover K 1 so

Figure 4. Fractal from one dimensional that arises from a multitude of scaling.

N ( b 1 ) = r 1 r + r 2 r + r 3 r + + r k r

For the second step, define b 2 = r 2 and let N ( b 2 ) be the number of intervals of length b 2 needed to cover K 2 . So

N ( b 2 ) = ( r 1 2 r 2 + r 1 r 2 r 2 + r 1 r 3 r 2 + + r 1 r k r 2 ) + ( r 1 r 2 r 2 + r 2 2 r 2 + r 2 r 3 r 2 + r 2 r 4 r 2 + + r 2 r k r 2 ) + ( r 1 r 3 r 2 + r 2 r 3 r 2 + r 3 2 r 2 + r 3 r 4 r 2 + + r 3 r k r 2 ) + + ( r 1 r k r 2 + r 2 r k r 2 + r 3 r k r 2 + r 4 r k r 2 + + r k 2 r 2 ) = r 1 r ( r 1 r + r 2 r + r 3 r + + r k r ) + r 2 r ( r 1 r + r 2 r + r 3 r + + r k r ) + r 3 r ( r 1 r + r 2 r + r 3 r + + r k r ) + + r k r ( r 1 r + r 2 r + r 3 r + + r k r )

N ( b 2 ) = ( r 1 r + r 2 r + r 3 r + + r k r ) 2

For the third step,

b 3 = r 3 and N ( b 3 ) = ( r 1 r + r 2 r + r 3 r + + r k r ) 3

By induction,

b n = r n and N ( b n ) = ( r 1 r + r 2 r + r 3 r + + r k r ) n

Now, we can evaluate the boxdim of K :

boxdim ( K ) = lim n ln ( N ( b n ) ) ln ( 1 b n )

boxdim ( K ) = ln ( r 1 r + r 2 r + r 3 r + + r k r ) ln ( r )

Remark 2. This formula could be also seen as the generalization of the Cantor set dimension in the case we apply a multitude of scales on the unit interval.

Example 3. If r 1 = 2 5 , r 2 = 1 3 , r 3 = 1 6 then r = GCD ( 2 , 1 , 1 ) LCM ( 5 , 3 , 6 ) = 1 30 therefore boxdim ( K ) = ln ( 12 + 10 + 5 ) ln ( 1 30 ) = ln ( 27 ) ln ( 30 ) 0.97 .

Remark 3. Using the Moran equation ( 2 5 ) d + ( 1 3 ) d + ( 1 6 ) d = 1 , we would find the Haausdorff dimension d 0.92 which is very close to the boxplot dimension.

4.2. The Case of a Bounded Set of Any Arbitrary Dimension

Theorem 5. Let K 0 be a bounded set of dimension m.

Let C 1 , C 2 , C 3 , , C k be contractions on K 0 with corresponding scale factors r i = a i b i , 1 i k where a i and b i are both integers.

Let r be the largest rational number such that r i r is an integer for all 1 i k that is r = gcd ( a i ) lcm ( b i ) , 1 i k .

If K is the fractal that results from K 0 using the contractions C 1 , C 2 , C 3 , , C k then

boxdim ( K ) = ln ( ( r 1 r ) m + ( r 2 r ) m + ( r 3 r ) m + + ( r k r ) m ) ln ( r ) (3)

Proof. Starting with a bounded set K 0 in 2 .

Let K 1 be the set obtained after acting a set of contractions C 1 , C 2 , , C k with scales factors r 1 , r 2 , r 3 , , r k on the set K 0 . Repeating the same process indefinitively, we obtain the limiting set denoted K as shown in Figure 5

(using r 1 = 1 3 , r 2 = 1 4 , r 3 = 1 5 , r 4 = 1 6 , r 5 = 1 7 ).

K is a fractal.

To find the dimension of K , we consider B the smallest box of side length l to cover K 0 . Let r be the largest rational number such that r i r is an integer for all 1 i k .

So for the first step of the fractal construction, if b 1 = r l , then the number of boxes needed to cover K 1 is given by

N ( b 1 ) = ( r 1 l ) 2 ( r l ) 2 + ( r 2 l ) 2 ( r l ) 2 + ( r 3 l ) 2 ( r l ) 2 + ( r 4 l ) 2 ( r l ) 2 + + ( r k l ) 2 ( r l ) 2

N ( b 1 ) = ( r 1 ) 2 r 2 + ( r 2 ) 2 r 2 + ( r 3 ) 2 r 2 + ( r 4 ) 2 r 2 + + ( r k ) 2 r 2

For the second step of the fractal construction, if b 2 = r 2 l , then

N ( b 2 ) = ( ( r 1 2 l ) 2 ( r 2 l ) 2 + ( r 1 r 2 l ) 2 ( r 2 l ) 2 + ( r 1 r 3 l ) 2 ( r 2 l ) 2 + ( r 1 r 4 l ) 2 ( r 2 l ) 2 + + ( r 1 r k l ) 2 ( r 2 l ) 2 ) + ( ( r 1 r 2 l ) 2 ( r 2 l ) 2 + ( r 2 2 l ) 2 ( r 2 l ) 2 + ( r 2 r 3 l ) 2 ( r 2 l ) 2 + + ( r 2 r k l ) 2 ( r 2 l ) 2 ) + + ( ( r 1 r k l ) 2 ( r 2 l ) 2 + ( r 2 r k l ) 2 ( r 2 l ) 2 + ( r 3 r k l ) 2 ( r 2 l ) 2 + + ( r k l ) 2 ( r 2 l ) 2 )

Figure 5. Fractal from two dimension that arises from multiple scaling.

N ( b 2 ) = r 1 2 r 2 ( r 1 2 r 2 + r 2 2 r 2 + r 3 2 r 2 + + r k 2 r 2 ) + r 2 2 r 2 ( r 1 2 r 2 + r 2 2 r 2 + r 3 2 r 2 + + r k 2 r 2 ) + + r k 2 r 2 ( r 1 2 r 2 + r 2 2 r 2 + r 3 2 r 2 + + r k 2 r 2 )

Therefore

N ( b 2 ) = ( r 1 2 r 2 + r 2 2 r 2 + r 3 2 r 2 + + r k 2 r 2 ) 2

By induction

b n = r n l , N ( b n ) = ( r 1 2 r 2 + r 2 2 r 2 + r 3 2 r 2 + + r k 2 r 2 ) n

The boxdim of F is given by

boxdim ( K ) = ln ( r 1 2 r 2 + r 2 2 r 2 + r 3 2 r 2 + + r k 2 r 2 ) ln ( r )

We conclude that in general that if K 0 is a bounded subset of m then the dimension of the fractal K is given by

boxdim ( K ) = ln ( r 1 m r m + r 2 m r m + r 3 m r m + + r k m r m ) ln ( r )

Corollary 1. If r 1 = r 2 = = r k then the box counting dimension and the Hausdorf dimension of F are both the same.

Proof. If r 1 = r 2 = = r k then The boxdim of F is ln ( k ) ln ( r 1 ) .

The Hausdorf dimension d is such that i = 1 k r i d = 1 . Since r 1 = r 2 = = r k then d = ln ( k ) ln ( r 1 )

Corollary 2. If m = 1 k 1 ( i = 1 k r i r ) ln ( r m ) ln ( r ) = 1 where r be the largest rational number such that r i r is an integer for all 1 i k , then the boxdim and the Hausdorf dimension of K agree.

The proof is straightforward.

Example 4. Consider the special case with 2 scale factors r 1 and r 2 and r 2 = r 1 2 . The sum in the corollary 2 becomes

1 1 + r 2 r 1 + 1 ( 1 + r 2 r 1 ) ln ( r 2 ) ln ( r 1 ) = 1

Since r 2 = r 1 2 then r 1 = 1 + 5 2 and therefore r 1 r 2 = 1 r 1 = 1 + 5 2 which is the golden ratio.

5. Convoluting Fractals and Dimension

Definition 4. (Convolution) Let G and H be two fractals that represent the limiting sets of a given bounded set S 0 of 2 with scale factors

r 1 , r 2 , r 3 , , r p and s 1 , s 2 , s 3 , , s q respectively. If g ( X ) = 1 i p r i ( X ) and h ( X ) = 1 i q s i ( X ) where X C , then the convolution of G and H denoted G H is given by

G H = i = 0 ( h g ) i ( S 0 ) = S 0 ( h ( g ( S 0 ) ) ) ( h ( g ( h ( g ( S 0 ) ) ) ) )

In short, the fractal G H is constructed by acting alternatively the functions g on S 0 and h on g ( S 0 ) Ad infinitum.

Example 5. We suppose that g is the function whose action consists of constructing a 1 3 -copy of the circle whose interior is white and a 1 2 -copy of the same circle. The action of the second function consists of constructing two 1 2

-copies of the circle and two 1 4 -copies of the same circle. The first stage and second stage of the convoluted fractal are obtained as shown in Figure 6 below.

Next, we will explore the dimension of the fractal G H and see how it is related to the dimensions of G and H . We will show in the next theorem that it is simply a weighted average of the two fractal dimensions.

Figure 6. First two stages of the convoluted fractal.

Theorem 6. If d G , d H and d G H represent the box-counting dimension of G , H and G H respectively with r be the largest rational

number such that r i r is an integer for all 1 i k and s be the largest rational number such that s i s is an integer for all 1 i k , then d G H is given by the weighted average of d G and d H that is

d G H = d G 1 + ln ( s ) ln ( r ) + d H 1 + ln ( r ) ln ( s ) (4)

and if d G d H then d G d G H d H .

Proof. It is easy to see that if C and T are both contractions defined respectively on the sets S 0 and C ( S 0 ) with scale factors respectively r and s then the composite T C is also a contraction with scale factor rs. Let g ( X ) = j = 1 q T j ( X ) and h ( X ) = i = 1 p C i ( X ) .

Since g h ( S 0 ) = i = 1 p j = 1 q T j ( C i ( S 0 ) ) then g h is a function with pq associated contractions T j C i ,1 i p ,1 j q whose scale factors are respectively r i s j , 1 i p ,1 j q . then according to the theorem 4.

d G H = ln ( ( r 1 s 1 r s ) m + ( r 1 s 2 r s ) m + ( r 1 s 3 r s ) m + + ( r 1 s q r s ) m + ( r 2 s 1 r s ) m + ( r 2 s 2 r s ) m + + ( r 2 s q r s ) m + ln ( r s ) + ( r p s 1 r s ) m + ( r p s 2 r s ) m + + ( r p s q r s ) m ) ln ( r s )

then

d G H = ln ( ( r 1 r ) m + ( r 2 r ) m + ( r 3 r ) m + + ( r p r ) m ) + ln ( ( s 1 s ) m + ( s 2 s ) m + ( s 3 s ) m + + ( s q s ) m ) ln ( s ) + ln ( r )

d G H = d G 1 + ln ( s ) ln ( r ) + d H 1 + ln ( r ) ln ( s )

Since d G d H then

d G 1 + ln ( s ) ln ( r ) + d G 1 + ln ( r ) ln ( s ) d G H d H 1 + ln ( s ) ln ( r ) + d H 1 + ln ( r ) ln ( s )

Therefore d G d G H d H .

Example 6. From the previous picture,

r 1 = 1 3 , r 2 = 1 2 , s 1 = 1 4 , s 2 = 1 4 , s 3 = 1 2 , s 4 = 1 2 then r = 1 6 and s = 1 4 therefore according to Equation (4) d G = ln ( 13 ) ln 6 1.43 , d H = ln ( 10 ) ln 4 1.66 , using Equa-

tion (6), we calculate the box-counting dimension of the convoluted fractal and find: d G H = 1.53 .

All the corollaries from [7] follow easily.

Corollary 3. If d G = d H then d G = d G H = d H

Corollary 4. d G H = d H G

Corollary 5. If r 1 = r 2 = r 3 = = r p = r and s 1 = s 2 = s 3 = = s q = s then

d G H = ln ( p q ) ln ( r s )

6. Conclusion

In this paper, the box-counting dimension is used to compute an explicit formula for the dimension of fractals that arise from multiple contractions. This formula allows a very convenient way to compute the dimension of fractals obtained by using the convolution of two fractals. The dimension of the fractal obtained also turns to be explicit and very easy to manipulate in order to prove the properties of the dimension of the convoluted fractal. I believe that much more properties related to the dimension of a fractal can be proved easily using the box-counting dimension. Also, in this paper, two fractals are combined using the composition of functions since the composite of contractions is always a contraction. The multiplication however is not necessary a contraction. It could be interesting in the case we deal with a contraction to study the properties of the dimension of the fractal obtained by combining two fractals using the multiplication instead of the composition. The box-counting dimension might be an appropriate tool to derive any property of the dimension of the fractal obtained.

Conflicts of Interest

The author declares no conflicts of interest regarding the publication of this paper.

References

[1] Alligood, K.T., Sauer, T.D. and Yorke, J.A. (1996) Chaos: An Introduction to Dynamical Systems. Springer Verlag.
https://doi.org/10.1007/b97589
[2] Ott, E. (1993) Chaos in Dynamical Systems. Cambridge University Press, Cambridge.
[3] Barnsley, M.F. and Demko, S. (1985) Iterated Function Systems and the Global Construction of Fractals. Proceeding of the Royal Society of London, Series A, Mathematical and Physical Sciences, 399, 243-275.
https://doi.org/10.1098/rspa.1985.0057
[4] Falconer, K.J. (2014) Fractal Geometry: Mathematical Foundations and Applications. 3rd Edition, Wiley.
[5] Devaney, R.L. (1994) Complex Dynamical Systems: The Mathematics behind the Mandelbrot and Julia Sets. Proceedings of the Symposia in Applied Mathematics, 49.
[6] Mandelbrot, B. (2004) Fractals and Chaos: The Mandelbrot Set and Beyond. Springer, New York.
https://doi.org/10.1007/978-1-4757-4017-2
[7] Cotton, N., McLeman, C. and Pinchock, D. (2015) On Combining and Convolving Fractals. The College Mathematics Journal, 46, 99-108.
https://doi.org/10.4169/college.math.j.46.2.99
[8] Moran, P.A.P. (1946) Additive Functions of Intervals and Hausdorff Measure. Proceedings-Cambridge Philosophical Society, 42, 15-23.
https://doi.org/10.1017/S0305004100022684
[9] Rushing, T.B. (1992) Hausdorff Dimension of Wild Fractals. Transactions of the American Mathematical Society, 334, 597-613.
https://doi.org/10.1090/S0002-9947-1992-1162104-8
[10] Wu, J., Jin, X., Mi, S. and Jang, J. (2020) An Effective Method to Compute the Box-Counting Dimension Based on the Mathematical Definition and Intervals. Results in Engineering, 6, 100106.
https://doi.org/10.1016/j.rineng.2020.100106
[11] Moran, M. and Rey, J.-M. (1998) Singularity of Self-Similar Measures with Respect to Hausdorff Measures. Transactions of the American Mathematical Society, 350, 2297-2310.
https://doi.org/10.1090/S0002-9947-98-02218-1

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.