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
with scale factor
is a map
such that for all x and y in
.
Remark 1. If
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
where
and A is a
matrix whose eigenvalues have magnitudes less than 1 and b is a constant in
.
Definition 2. An iterated function system (IFS) is a collection of contractions
with
on a closed subset
. A nonempty compact subset F of
is an attractor or fractal of the IFS if
.
The following theorem shows the existence and the uniqueness of such attractor given any IFS.
Theorem 1. Given any IFS defined by the contractions
on a closet subset
of
and let
be the set of all nonempty compact subsets of
and let f be the map defined as
where
, then there exists a unique attractor F such that
. Furthermore, for every set
such that
,
.
Proof. let
be a closed set in
. Let
.
The
-neighborhood of E denoted
is defined as
.
Let
be the set of compact in
.
The Hausdorff metric on
is defined as:
For any set A, B in
:
.
• The set of compact
in
is a complete space using the Hausdorff metric.
Let
be a Cauchy sequence in
that is
such that if
then
.
Choose
such that if
then
,
.
If
then
since
,
there exists a sequence
such that
and
.
Let’s show that the sequence
is a Cauchy sequence.
Suppose that
then
is a Cauchy sequence.
Since
is a sequence of real numbers therefore
exists.
Let S be the set of those limits that is
Figure 1 shows a subsequence
of sets from
. Several subsequences of real numbers
are depicted.
Now, let’s show that
that is
such that if
then
that is
and
.
First let’s start by showing that
.
![]()
Figure 1. Subsequence
of sets from
.
Let
such that
such that if
then
.
Since
is a Cauchy sequence then
such that if
then
which means that
and
.
Assuming that
then
.
there exists a sequence
such that
.
Now let
be the maximum of
and
.
If
then
Now, let’s show that
for some
.
Let
, since
is a Cauchy sequence then
Such that if
then
,
.
If
for some
then
such that
where
.
Since
where
, then for
,
.
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
be a sequence in S such that
.
Let’s show that
.
such that if
then
.
Since
a sequence
such that
.
such that if
then
.
Assuming that
and
then
.
therefore S is closed.
Let’s show that the set S is a bounded set.
Since
for
such that
for
.
Since
is bounded then
for some
and some
, where
then
.
Therefore S is bounded.
• The function f defined as
is a contraction using the Hausdorff metric.
So, we need to show that
where
.
.
Let’s show that if
then
.
Suppose that
then
for all i
and
for all i.
.
Let’s show that
.
Let
such that
for some
.
Then for some
.
Same thing, we can show that
.
Therefore
Since
is a contraction then
,
.
where
so
.
Therefore f is a contraction. Since
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
therefore
has a solution.
We can also prove that
where
.
since f is continuous because f is a contraction.
.
Since
because f is a contraction, therefore
are nested sets
. 
Figure 2 below shows the successive iterations of f defined as
starting with the initial compact set F0.
By induction, we obtain
So we can define the fractal
associated to the function f and
as the subset of
defined by
![]()
Figure 2. Successive iteration of f starting with the initial compact F0.
The next example is an example of fractals that can be obtained using IFS.
Example 1. (Cantor Set)
Starting with
, we obtain the subsequent subsets by acting two contractions with the same scale factor of
:
and
on
, then we get
. After repeating this process recursively in the contracted intervals, we obtain the Cantor set
as shown Figure 3 below.
And then we can see that:
.
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
be an iterated function system (IFS) with
. Let
be respectively the scales of the contractions.
If
is the attractor of the IFS, then the Hausdorff dimension d of
satisfies the equation:
the equation:
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
be the number of cubes of side length
needed to cover S.
If
. So we can consider line segments of length
.
where C
is a constant. The exponent 1 of
represents the dimension of the line segment.
If
, we can consider squares of side
then
. The exponent 2 of
represents the dimension of the square.
If
, then we can consider cubes of side
and then
. The exponent 3 of
represents the dimension of the cube.
We conclude that for a bounded d-dimensional set,
. 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:
When
is very small that is when
approaches 0 then
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:
(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
.
For all
,
such that
and
and
.
Proof. For any postive real number a, there exists n such that
in particular when
. Therefore we conclude that
So we can choose
then
and

Theorem 3. Assuming that
and
and
. If
then
Proof. We start the proof with a bounded set S in
. Let
be the number of boxes of side length
needed to cover S.
Let
be any subset of S being covered by a box of side length
.
We then can cover the subset
by almost 4 boxes of side length
. Therefore
. Since
then
. This implies that
And thus in
we obtain
Since ln is an increasing function then
Now using the fact that
we obtain the following inequality
Now using the squeeze theorem, we see that if
then
therefore the boxdim = d. 
There are other simplifications we can use to get the dimension of the fractals. We can replace
by
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. Let’s find the box counting dimension of the Cantor set. From the figure in example 1, the length of each interval of
equals
so
. The number of boxes needed to cover these intervals is 2 so
.
Step 2, the length of each interval of
equals
so
.The number of boxes needed to cover these intervals is 22 so
.
Continuing until the nth step, be see that
and
4. Box-Counting Dimension for Fractals That Arise from Multitude of Scalings
4.1. The Case of a One Dimensional Set
Theorem 4. Let
be a bounded set of dimension 1.
Let
be contractions on
with corresponding scale factors
where
and
are both integers.
Let r be the largest rational number such that
is an integer for all
that is
.
If
is the fractal that results from
using the contractions
then
(2)
Proof. Consider a set of dimension one for instance the segment
. Let
be the set obtained by acting k contractions with scales factors
on the segment
. For the next step, let
be the set obtained by acting the n contractions on each interval of the set
. Repeating this process, we obtain an attractor denoted
as seen in Figure 4 below.
is a fractal.
Let’s find the dimension of the fractal
. Let r be the largest rational number such that
is an integer for all
that is
.
Define
and let
be the number of intervals of length
needed to cover
so
![]()
Figure 4. Fractal from one dimensional that arises from a multitude of scaling.
For the second step, define
and let
be the number of intervals of length
needed to cover
. So
For the third step,
By induction,
Now, we can evaluate the boxdim of
:
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
then
therefore
.
Remark 3. Using the Moran equation
, we would find the Haausdorff dimension
which is very close to the boxplot dimension.
4.2. The Case of a Bounded Set of Any Arbitrary Dimension
Theorem 5. Let
be a bounded set of dimension m.
Let
be contractions on
with corresponding scale factors
where
and
are both integers.
Let r be the largest rational number such that
is an integer for all
that is
.
If
is the fractal that results from
using the contractions
then
(3)
Proof. Starting with a bounded set
in
.
Let
be the set obtained after acting a set of contractions
with scales factors
on the set
. Repeating the same process indefinitively, we obtain the limiting set denoted
as shown in Figure 5
(using
).
is a fractal.
To find the dimension of
, we consider B the smallest box of side length l to cover
. Let r be the largest rational number such that
is an integer for all
.
So for the first step of the fractal construction, if
, then the number of boxes needed to cover
is given by
For the second step of the fractal construction, if
, then
![]()
Figure 5. Fractal from two dimension that arises from multiple scaling.
Therefore
By induction
The boxdim of
is given by
We conclude that in general that if
is a bounded subset of
then the dimension of the fractal
is given by
Corollary 1. If
then the box counting dimension and the Hausdorf dimension of
are both the same.
Proof. If
then The boxdim of
is
.
The Hausdorf dimension d is such that
. Since
then
Corollary 2. If
where r be the largest rational number such that
is an integer for all
, then the boxdim and the Hausdorf dimension of
agree.
The proof is straightforward.
Example 4. Consider the special case with 2 scale factors
and
and
. The sum in the corollary 2 becomes
Since
then
and therefore
which is the golden ratio.
5. Convoluting Fractals and Dimension
Definition 4. (Convolution) Let
and
be two fractals that represent the limiting sets of a given bounded set
of
with scale factors
and
respectively. If
and
where
, then the convolution of
and
denoted
is given by
In short, the fractal
is constructed by acting alternatively the functions g on
and h on
Ad infinitum.
Example 5. We suppose that g is the function whose action consists of constructing a
-copy of the circle whose interior is white and a
-copy of the same circle. The action of the second function consists of constructing two
-copies of the circle and two
-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
and see how it is related to the dimensions of
and
. 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
,
and
represent the box-counting dimension of
,
and
respectively with r be the largest rational
number such that
is an integer for all
and s be the largest rational number such that
is an integer for all
, then
is given by the weighted average of
and
that is
(4)
and if
then
.
Proof. It is easy to see that if C and T are both contractions defined respectively on the sets
and
with scale factors respectively r and s then the composite
is also a contraction with scale factor rs. Let
and
.
Since
then
is a function with pq associated contractions
whose scale factors are respectively
. then according to the theorem 4.
then
Since
then
Therefore
.
Example 6. From the previous picture,
then
and
therefore according to Equation (4)
,
, using Equa-
tion (6), we calculate the box-counting dimension of the convoluted fractal and find:
.
All the corollaries from [7] follow easily.
Corollary 3. If
then
Corollary 4.
Corollary 5. If
and
then
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.