## Fractal Dimension

### Learning Outcomes

• Define and identify self-similarity in geometric shapes, plants, and geological formations
• Generate a fractal shape given an initiator and a generator
• Scale a geometric object by a specific scaling factor using the scaling dimension relation
• Determine the fractal dimension of a fractal object

In addition to visual self-similarity, fractals exhibit other interesting properties. For example, notice that each step of the Sierpinski gasket iteration removes one quarter of the remaining area. If this process is continued indefinitely, we would end up essentially removing all the area, meaning we started with a 2-dimensional area, and somehow end up with something less than that, but seemingly more than just a 1-dimensional line.

To explore this idea, we need to discuss dimension. Something like a line is 1-dimensional; it only has length. Any curve is 1-dimensional. Things like boxes and circles are 2-dimensional, since they have length and width, describing an area. Objects like boxes and cylinders have length, width, and height, describing a volume, and are 3-dimensional.

Certain rules apply for scaling objects, related to their dimension.

If I had a line with length 1, and wanted to scale its length by 2, I would need two copies of the original line. If I had a line of length 1, and wanted to scale its length by 3, I would need three copies of the original.

If I had a rectangle with length 2 and height 1, and wanted to scale its length and width by 2, I would need four copies of the original rectangle. If I wanted to scale the length and width by 3, I would need nine copies of the original rectangle.

If I had a cubical box with sides of length 1, and wanted to scale its length and width by 2, I would need eight copies of the original cube. If I wanted to scale the length and width by 3, I would need 27 copies of the original cube.

Notice that in the 1-dimensional case, copies needed = scale.

In the 2-dimensional case, copies needed = scale$^{2}$.

In the 3-dimensional case, copies needed = scale$^{3}$.

From these examples, we might infer a pattern.

### Scaling-Dimension Relation

To scale a D-dimensional shape by a scaling factor S, the number of copies C of the original shape needed will be given by:

$\text{Copies}=\text{Scale}^{\text{Dimension}}$, or $C=S^{D}$

### Example

Use the scaling-dimension relation to determine the dimension of the Sierpinski gasket.

Suppose we define the original gasket to have side length 1. The larger gasket shown is twice as wide and twice as tall, so has been scaled by a factor of 2.

Notice that to construct the larger gasket, 3 copies of the original gasket are needed.

Using the scaling-dimension relation $C=S^{D}$, we obtain the equation $3=2^{D}$.

Since $2^{1}=2$ and $2^{2}=4$, we can immediately see that D is somewhere between 1 and 2; the gasket is more than a 1-dimensional shape, but we’ve taken away so much area its now less than 2-dimensional.

Solving the equation $3=2^{D}$ requires logarithms. If you studied logarithms earlier, you may recall how to solve this equation (if not, just skip to the box below and use that formula with the log key on a calculator):

Take the logarithm of both sides.

$3={{2}^{D}}$

Use the exponent property of logs.

$\log(3)=\log\left({{2}^{D}}\right)$

Divide by log(2).

$\log(3)=D\log\left(2\right)$

$D=\frac{\log\left(3\right)}{\log(2)}\approx1.585$

### Scaling-Dimension Relation, to find Dimension

To find the dimension D of a fractal, determine the scaling factor S and the number of copies C of the original shape needed, then use the formula

$D=\frac{\log\left(C\right)}{\log(S)}$

### Try It

Determine the fractal dimension of the fractal produced using the initiator and generator.

In the following video, we present a worked example of how to determine the dimension of the Sierpinski gasket