The Sierpinski Triangle
What's the Sierpinski Triangle?
The Sierpinski triangle is a fractal pattern named after Polish mathematician Wacław Sierpiński. It's created by taking a triangle and repeatedly removing triangular pieces from its center. Each time you do this, you get more triangles - and if you kept going forever, you'd end up with something that has zero area but infinite perimeter.
How to Make a Sierpinski Triangle
Step 1
Start with an equilateral triangle
Step 2
Find the midpoint of each side
Step 3
Connect the midpoints to form a new triangle
Step 4
Remove the center triangle
Step 5
Repeat for each remaining triangle
Mathematical Properties
- Self-similar: Each piece looks like the whole
- Fractal dimension: log(3)/log(2) ≈ 1.585
- Zero area: As iterations approach infinity
- Infinite perimeter: Boundary grows without limit
- Uncountable cardinality: Has as many points as a line segment
Why the Sierpinski Triangle is Uncountable
Here's something mind-bending: the Sierpinski triangle has as many points as a line segment, even though it looks like it's full of holes. This means its cardinality is not countable - it has more points than there are natural numbers.
The proof is actually quite simple:
- Start with coordinates: Every point in the Sierpinski triangle can be written using coordinates in base 3 (ternary)
- Restriction rule: Points are in the Sierpinski triangle only if their ternary digits never have a 1 in the same position in both x and y coordinates
- Mapping: This creates a one-to-one correspondence between points in the Sierpinski triangle and certain real numbers
- Result: Since the set of real numbers is uncountable, the Sierpinski triangle is also uncountable
To understand this better, think of it this way: imagine trying to list all the points in the Sierpinski triangle. You'd soon realize that between any two points you list, there's always another point you haven't listed. This is similar to how you can't list all the decimal numbers between 0 and 1 - there are just too many of them.
What this means:
- The Sierpinski triangle contains infinitely many points
- These points form a set that's "bigger" than the set of all counting numbers
- Despite having zero area, it's still "densely packed" with points
- This is one reason why fractals are so fascinating to mathematicians
Different Ways to Create It
There are several methods to generate a Sierpinski triangle:
1. Removal Method
Start with a filled triangle and repeatedly remove the center triangles (as shown above).
2. Chaos Game
Pick three points at random, then repeatedly move halfway toward a randomly chosen vertex. The points will form a Sierpinski triangle.
3. Pascal's Triangle Method
Color the odd numbers in Pascal's triangle - the pattern forms a Sierpinski triangle.
Where You'll Find Sierpinski Triangles
- Antenna designs for better signal reception
- Computer graphics and visual effects
- Nature: Some leaf patterns and shell formations
- Architecture and decorative patterns
- Educational tools for teaching recursion
Simple Code Example
Here's JavaScript code to draw a basic Sierpinski triangle:
Related Fractals
If you like the Sierpinski triangle, you might also enjoy:
- Sierpinski carpet (square version)
- Koch snowflake
- Mandelbrot set
- Menger sponge
- Dragon curve
Fun Facts
- The Sierpinski triangle appears in cellular automata Rule 90
- It's one of the simplest fractals to construct on paper
- The pattern shows up in traditional folk art from various cultures
- It has connections to the Tower of Hanoi puzzle