2 min read

The SierpiƄski Triangle

Table of Contents

Understanding Fractals

In mathematics, Fractals are geometric objects which intuitively do not seem to have a well defined notion of dimension (which we expect to be a non-negative integer). Rigorously, after defining a more general notion of dimension such as Box counting dimension or Hausdorff Dimension, they are exactly the geometric objects with non-integer dimension.

The SierpiƄski as an example of a fractal

The SierpiƄski triangle is an example of a fractal, which can be constructed by the iterative removal of triangles as follows:

Depth: 0

Using the Hausdorff notion of dimension, it can be proven that the SierpiƄski triangle has dimension log⁡(3)/log⁡(2)≈1.585,\log(3)/\log(2) \approx 1.585, being nearly at the midpoint of being a one dimensional object (a curve), and a two dimensional object (a surface).

Abstract construction using Bernoulli shifts

A Bernoulli shift is a discrete-time stochastic process with i.i.d. random variables on a set of finite symbols.

For the case of constructing the SierpiƄski triangle, we may think of our stochastic process as a sequence of three-sided coin flips, for some mysterious coin with three sides equally likely of landing faced up.

In this hypothetical scenario, we represent each side of the coin by 0,1,20,1,2 and we represent our vertices as v0,v1,v2v_0,v_1,v_2. Given a large sample of these sequence of coinflips we now proceed as follows:

  1. For each sequence of coinflips XX, place a point p0(X)p_0(X) on vx0v_{x_0};
  2. Define pi+1(X)p_{i+1}(X) to be the midpoint between pi(X)p_i(X) and vxi+1v_{x_{i+1}}.

The probabilistic SierpiƄski triangle of depth NN is defined to be the set of all points pN(X)p_N(X). The following is a visualization of this process using the python Library Manim.