All Topics  
Sierpinski triangle

 

   Email Print
   Bookmark   Link

 

Sierpinski triangle


 
 

The Sierpinski triangle, also called the Sierpinski gasket or the Sierpinski Sieve, is a fractalFractal

In colloquial usage, a fractal is a shape that is recursively constructed or self-similar, that is, a shape that appears similar a...
 named after Waclaw SierpinskiWaclaw Sierpinski

Waclaw Franciszek Sierpinski , a Polish mathematician, was born and died in Warsaw....
 who described it in 1915.
Originally constructed as a curve, this is one of the basic examples of self-similarSelf-similarity

A self-similar object is exactly or approximately similar to a part of itself, i.e., the whole has the same shape as one or ...
 sets, i.e. it is a mathematically generated pattern that can be reproducible at any magnification or reduction.

Comparing the Sierpinski Triangle or the Sierprinski Carpet to equivalent repetitive tiling arrangements, it is evident that similar structures can be built into any rep-tile arrangements.
Construction

An algorithm for obtaining arbitrarily close approximations to the Sierpinski triangle is as follows:

Note: each removed triangle (a trema) is topologicallyTopology

Topology is a branch of mathematics concerned with spatial properties preserved under bicontinuous deformation ; these are ...
 an open setOpen set

In topology and related fields of mathematics, a set U is called open if, intuitively speaking, you can "wiggle" or "cha...
.






Discussion
Ask a question about 'Sierpinski triangle'
Start a new discussion about 'Sierpinski triangle'
Answer questions from other users
Full Discussion Forum



Recent Posts









Encyclopedia



The Sierpinski triangle, also called the Sierpinski gasket or the Sierpinski Sieve, is a fractalFractal

In colloquial usage, a fractal is a shape that is recursively constructed or self-similar, that is, a shape that appears similar a...
 named after Waclaw SierpinskiWaclaw Sierpinski

Waclaw Franciszek Sierpinski , a Polish mathematician, was born and died in Warsaw....
 who described it in 1915.
Originally constructed as a curve, this is one of the basic examples of self-similarSelf-similarity

A self-similar object is exactly or approximately similar to a part of itself, i.e., the whole has the same shape as one or ...
 sets, i.e. it is a mathematically generated pattern that can be reproducible at any magnification or reduction.

Comparing the Sierpinski Triangle or the Sierprinski Carpet to equivalent repetitive tiling arrangements, it is evident that similar structures can be built into any rep-tile arrangements.

Construction



An algorithm for obtaining arbitrarily close approximations to the Sierpinski triangle is as follows:

Note: each removed triangle (a trema) is topologicallyTopology

Topology is a branch of mathematics concerned with spatial properties preserved under bicontinuous deformation ; these are ...
 an open setOpen set

In topology and related fields of mathematics, a set U is called open if, intuitively speaking, you can "wiggle" or "cha...
.

  1. Start with any triangle in a plane (any closed, bounded region in the plane will actually work). The canonical Sierpinski triangle uses an equilateral triangleEquilateral triangle

    In geometry, an equilateral triangle is a triangle in which all three sides have equal lengths....
     with a base parallel to the horizontal axis (first image).
  2. Shrink the triangle to ½ height and ½ width, make three copies, and position the three shrunken triangles so that each triangle touches the two other triangles at a corner (image 2). Note the emergence of the central hole - because the three shrunken triangles can between them cover only 3/4 of the area of the original. (Holes are an important feature of Sierpinski's Triangle.)
  3. Repeat step 2 with each of the smaller triangles (image 3 and so on).


Note that this infinite process is not dependent upon the starting shape being a triangle — it is just clearer that way. The first few steps starting, for example, from a square also tend towards a Sierpinski gasket. Michael BarnsleyMichael Barnsley

Michael Barnsley is a researcher and an entrepreneur who has worked on fractal compression; he holds several patents on the ...
 used an image of a fish to illustrate this in his paper "V-variable fractals and superfractals."ge:Sierpinski triangle evolution square.svg|512px|Iterating from a square]]

The actual fractal is what would be obtained after an infinite number of iterations. More formally, one describes it in terms of functions on closed sets of points. If we let note the dilation by a factor of ½ about a point a, then the Sierpinski triangle with corners a, b, and c is the fixed set of the transformation U U .

This is an attractive fixed set, so that when the operation is applied to any other set repeatedly, the images converge on the Sierpinski triangle. This is what is happening with the triangle above, but any other set would suffice.

If one takes a point and applies each of the transformations , , and to it randomly, the resulting points will be dense in the Sierpinski triangle, so the following algorithm will again generate arbitrarily close approximations to it:

Start by labelling p1, p2 and p3 as the corners of the Sierpinski triangle, and a random point v1. Set vn+1 = ½ ( vn + prn ), where rn is a random number 1, 2 or 3. Draw the points v1 to v8. If the first point v1 was a point on the Sierpinski triangle, then all the points vn lie on the Sierpinski triangle. If the first point v1 to lie within the perimeter of the triangle is not a point on the Sierpinski triangle, none of the points vn will lie on the Sierpinski triangle, however they will converge on the triangle. If v1 is outside the triangle, the only way vn will land on the actual triangle, is if vn is on what would be part of the triangle, if the triangle was infinitely large.

Or more simply:
  1. Take 3 points in a plane, and form a triangle
  2. Randomly select any point inside the triangle and move half the distance from that point to any of the 3 vertex points. Plot the current position.
  3. Repeat from step 2.


Note: This method is also called the Chaos gameChaos game

The chaos game or chaosgame is a means of creating a fractal, using a polygon and a random point inside it....
. You can start from any point outside or inside the triangle, and it would eventually form the Sierpinski Gasket with a few leftover points. It is interesting to do this with pencil and paper. A brief outline is formed after placing approximately one hundred points, and detail begins to appear after a few hundred.

Or using an Iterated function system

An alternative way of computing the Sierpinski triangle uses an Iterated function systemIterated function system

Iterated function systems or IFSs are a method of constructing fractals which were...
 and starts by a point in the origin (x0 = 0, y0 = 0) and then the new points are iteratively computed by randomly applying (with equal probability) one of the following three coordinate transformations (using the so called chaos gameChaos game

The chaos game or chaosgame is a means of creating a fractal, using a polygon and a random point inside it....
):


xn+1 = 0.5 xn

yn+1 = 0.5 yn; a half-size copy

when this coordinate transformation is used, the point is drawn in yellow in the figure

xn+1 = 0.5 xn + 0.5

yn+1 = 0.5 yn + 0.5; a half-size copy shifted right and up

when this coordinate transformation is used, the point is drawn in red

xn+1 = 0.5 xn + 1

yn+1 = 0.5 yn; a half-size copy doubled shifted to the right

when this coordinate transformation is used, the point is drawn in blue

Or using an L-system — The Sierpinski triangle drawn using an .

Other means — The Sierpinski triangle also appears in certain cellular automata (such as Rule 90Rule 90

Rule 90 is a one-dimensional binary cellular automaton. ...
), including those relating to Conway's Game of LifeConway's Game of Life

The Game of Life is a cellular automaton devised by the British mathematician John Horton Conway in 1970....
. The automaton "12/1" when applied to a single cell will generate four approximations of the Sierpinski triangle.

Properties

The Sierpinski triangle has Hausdorff dimensionHausdorff dimension

In mathematics, the Hausdorff dimension is an extended non-negative real number associated to any metric space....
 log(3)/log(2) ˜ 1.585, which follows from the fact that it is a union of three copies of itself, each scaled by a factor of 1/2.

If one takes Pascal's trianglePascal's triangle

In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle....
 with 2n rows and colors the even numbers white, and the odd numbers black, the result is an approximation to the Sierpinski triangle. More precisely, the limitLimit (mathematics)

In mathematics, the concept of a "limit" is used to describe the behavior of a function as its argument either gets "close" ...
 as n approaches infinity of this parity-colored 2n-row Pascal triangle is the Sierpinski triangle.

The area of a Sierpinski triangle is zero (in Lebesgue measureLebesgue measure

In mathematics, the Lebesgue measure is the standard way of assigning a length, area or volume to subsets of Euclidean space...
). This can be seen from the infinite iteration, where we remove 25% of the area left at the previous iteration. Therefore the proportion of even numbers in Pascal's triangle must tend to 1 as the number of rows of the triangle tends to infinity.

Analogs in higher dimension

The tetrix is the three-dimensional analog of the Sierpinski triangle, formed by repeatedly shrinking a regular tetrahedronTetrahedron

A tetrahedron is a polyhedron composed of four triangular faces, three of which meet at each vertex....
 to one half its original height, putting together four copies of this tetrahedron with corners touching, and then repeating the process. This can also be done with a pyramidPyramid (geometry)

An n-sided pyramid is a polyhedron formed by connecting an n-sided polygonal base and a point, called the apex, by '...
 and five copies instead.

A tetrix constructed from an initial tetrahedron of side-length L has the property that the total surface area remains constant with each iteration.

The initial surface area of the (iteration-0) tetrahedron of side-length L is . At the next iteration, the side-length is halved

and there are 4 such smaller tetrahedra. Therefore, the total surface area after the first iteration is:

This remains the case after each iteration. Though the surface area of each subsequent tetrahedron is 1/4 that of the tetrahedron in the previous iteration, there are 4 times as many -- thus maintaining a constant total surface area.

The total enclosed volume, however, is geometrically decreasing (factor of 0.5) with each iteration and asymptotically approaches 0 as the number of iterations increases. In fact, it can be shown that, while having fixed area, it has no 3-dimensional character! The Hausdorff dimensionHausdorff dimension

In mathematics, the Hausdorff dimension is an extended non-negative real number associated to any metric space....
 of such a construction is which agrees with the finite area of the figure. (A Hausdorff dimension between 2 and 3 would indicate 0 volume and infinite area.)

See also

  • List of fractals by Hausdorff dimensionList of fractals by Hausdorff dimension

    A fractal is a geometric object whose Hausdorff dimension strictly exceeds its topological dimension....
  • Sierpinski carpetSierpinski carpet

    The Sierpinski carpet is a plane fractal first described by Waclaw Sierpinski in 1916....
  • TriforceTriforce Overview

    In the world of the Legend of Zelda series of video games, the Triforce is a holy relic created by three goddesses....
  • Pascal's trianglePascal's triangle

    In mathematics, Pascal's triangle is a geometric arrangement of the binomial coefficients in a triangle....