Koch snowflake

From Infogalactic: the planetary knowledge core
(Redirected from Koch curve)
Jump to: navigation, search
The first four iterations of the Koch snowflake
The first seven iterations in animation
Zooming into the Koch curve

The Koch snowflake (also known as the Koch curve, star, or island[1]) is a mathematical curve and one of the earliest fractal curves to have been described. It is based on the Koch curve, which appeared in a 1904 paper titled "On a continuous curve without tangents, constructible from elementary geometry" (original French title: Sur une courbe continue sans tangente, obtenue par une construction géométrique élémentaire) by the Swedish mathematician Helge von Koch.

Construction

The Koch snowflake can be constructed by starting with an equilateral triangle, then recursively altering each line segment as follows:

  1. divide the line segment into three segments of equal length.
  2. draw an equilateral triangle that has the middle segment from step 1 as its base and points outward.
  3. remove the line segment that is the base of the triangle from step 2.

After one iteration of this process, the resulting shape is the outline of a hexagram.

The Koch snowflake is the limit approached as the above steps are followed over and over again. The Koch curve originally described by Koch is constructed with only one of the three sides of the original triangle. In other words, three Koch curves make a Koch snowflake.

Properties

Perimeter of the Koch snowflake

After each iteration, the number of sides of the Koch snowflake increases by a factor of 4, so the number of sides after n iterations is given by:

N_{n} = N_{n-1} \cdot 4 = 3 \cdot 4^{n}\, .

If the original equilateral triangle has sides of length s, the length of each side of the snowflake after n iterations is:

S_{n} = \frac{S_{n-1}}{3} = \frac{s}{3^{n}}\, .

the perimeter of the snowflake after n iterations is:

 P_{n} = N_{n} \cdot S_{n} = 3 \cdot s \cdot {\left(\frac{4}{3}\right)}^n\, .

The Koch curve has an infinite length because the total length of the curve increases by one third with each iteration. Each iteration creates four times as many line segments as in the previous iteration, with the length of each one being one-third the length of the segments in the previous stage. Hence the length of the curve after n iterations will be (4/3)n times the original triangle perimeter, which is unbounded as n tends to infinity.

Limits of area and perimeter

As the number of iterations tends to infinity, the limit of the perimeter is:

\lim_{n \rightarrow \infty} P_n = \lim_{n \rightarrow \infty} 3 \cdot s \cdot \left(\frac{4}{3} \right)^n = \infty\, ,

since \left|\frac{4}{3}\right| > 1.

A \frac{\log 4}{\log 3}-dimensional measure exists, but has not been calculated so far. Only upper and lower bounds have been invented.[2]

Area of the Koch snowflake

In each iteration a new triangle is added on each side of the previous iteration, so the number of new triangles added in iteration n is:

T_{n} = N_{n-1} = 3 \cdot 4^{n-1} = \frac{3}{4} \cdot 4^n\, .

The area of each new triangle added in an iteration is one ninth of the area of each triangle added in the previous iteration, so the area of each triangle added in iteration n is:

a_{n} = \frac{a_{n-1}}{9} = \frac{a_{0}}{9^n}\, .

where a0 is the area of the original triangle. The total new area added in iteration n is therefore:

b_{n} = T_{n} \cdot a_{n} = \frac{3}{4} \cdot {\left(\frac{4}{9}\right)}^{n} \cdot a_{0}

The total area of the snowflake after n iterations is:

A_{n} = a_0 + \sum_{k=1}^{n} b_k = a_0\left(1 + \frac{3}{4} \sum_{k=1}^{n} \left(\frac{4}{9}\right)^{k} \right)= a_0\left(1 + \frac{1}{3} \sum_{k=0}^{n-1} \left(\frac{4}{9}\right)^{k} \right)\, .

Collapsing the geometric sum gives:

A_{n} = a_0 \left( 1 + \frac{3}{5} \left( 1 - \left(\frac{4}{9}\right)^{n} \right) \right) = \frac{a_0}{5} \left( 8 - 3 \left(\frac{4}{9}\right)^{n} \right)\, .

Limits of area

The limit of the area is:

\lim_{n \rightarrow \infty} A_n = \lim_{n \rightarrow \infty} \frac{a_{0}}{5} \cdot \left(8 - 3 \left(\frac{4}{9} \right)^n \right) = \frac{8}{5} \cdot a_{0}\, ,

since \left|\frac{4}{9}\right| < 1.

So the area of the Koch snowflake is 8/5 of the area of the original triangle. Expressed in terms of the side length s of the original triangle this is \frac{2s^2\sqrt{3}}{5}.[3]

Other properties

The Koch snowflake is self-replicating (insert image here!) with six copies around a central point and one larger copy at the center. Hence it is an an irreptile which is irrep-7.

The fractal dimension of the Koch curve is log 4/log 3 ≈ 1.26186. This is greater than the dimension of a line (1) but less than Peano's space-filling curve (2).

The Koch curve is continuous everywhere but differentiable nowhere.

Tessellation of the plane

Tessellation by two sizes of Koch snowflake

It is possible to tessellate the plane by copies of Koch snowflakes in two different sizes. However, such a tessellation is not possible using only snowflakes of one size. Since each Koch snowflake in the tessellation can be subdivided into seven smaller snowflakes of two different sizes, it is also possible to find tessellations that use more than two sizes at once.[4]

Thue-Morse sequence and turtle graphics

A turtle graphic is the curve that is generated if an automaton is programmed with a sequence. If the Thue–Morse sequence members are used in order to select program states:

  • If t(n) = 0, move ahead by one unit,
  • If t(n) = 1, rotate counterclockwise by an angle of π/3,

the resulting curve converges to the Koch snowflake.

Representation as Lindenmayer system

The Koch curve can be expressed by a rewrite system (Lindenmayer system).

Alphabet : F
Constants : +, −
Axiom : F++F++F
Production rules:
F → F−F++F−F

Here, F means "draw forward", + means "turn right 60°", and means "turn left 60°".

Variants of the Koch curve

Following von Koch's concept, several variants of the Koch curve were designed, considering right angles (quadratic), other angles (Cesàro), circles and polyhedra and their extensions to higher dimensions (Sphereflake and Kochcube, respectively)

Variant Illustration Construction
1D, 85° angle
Cesàro fractal
The Cesàro fractal is a variant of the Koch curve with an angle between 60° and 90° (here 85°).
1D, 90° angle
Quadratic type 1 curve
The first 2 iterations
1D, 90° angle
Quadratic type 2 curve
The first 2 iterations. Its fractal dimension equals 1.5 and is exactly half-way between dimension 1 and 2. It is therefore often chosen when studying the physical properties of non-integer fractal objects.
1D, ln 3/ln (√5)
Quadratic flake
The first 2 iterations. Its fractal dimension equals ln 3/ln (√5)=1.37.
1D, ln 3.33/ln (√5)
Quadratic Cross
Another variation. Its fractal dimension equals ln 3.33/ln (√5)=1.49.
2D, triangles
von Koch surface
The first 3 iterations of a natural extension of the Koch curve in 2 dimensions
2D, 90° angle
Quadratic type 1 surface
Extension of the quadratic type 1 curve. The illustration at left shows the fractal after the second iteration
Animation quadratic surface
.
2D, 90° angle
Quadratic type 2 surface
Extension of the quadratic type 2 curve. The illustration at left shows the fractal after the first iteration.
3D, spheres
Closeup of Haines sphereflake
Eric Haines has developed the sphereflake fractal, which is a three-dimensional version of the Koch snowflake, using spheres.
3D, tetrahedra into cube
Stellated Octahedron, the second recursion of the Kochcube
When tetrahedrons are recursively alternated in a pattern similar to the Koch Snowflake, the first symmetrical polyhedron to emerge is the stella octangula (or stellated octahedron), made of 8 tetrahedrons. In the third iteration, a cuboctahedron frame develops around the stellated octahedron and consists of 64 tetrahedrons (8^2). From here, the shape of a cube begins to emerge, wherein the fourth iteration forms 512 stacked tetrahedrons (8^3), with 2 octaves of cube octahedron geometry, and the fifth holds 4096 tetrahedrons (8^4). Upon further cycles of recursion, the resultant form approaches a perfect cube ad infinitum. See First Five Iterations of the 3D Kochcube
3D
Koch curve in 3D
A three-dimensional fractal constructed from Koch curves. The shape can be considered a three-dimensional extension of the curve in the same sense that the Sierpiński pyramid and Menger sponge can be considered as extensions of the Sierpinski triangle and Sierpinski carpet. The version of the curve used for the shape uses 85-degree angles.

Squares can be used to generate similar fractal curves. Starting with a unit square and adding to each side at each iteration a square with dimension one third of the squares in the previous iteration, it can be shown that both the length of the perimeter and the total area are determined by geometric progressions. The progression for the area converges to 2 while the progression for the perimeter diverges to infinity, so as in the case of the Koch Snowflake, we have a finite area bounded by an infinite fractal curve.[5] The resulting area fills a square with the same center as the original, but twice the area, and rotated by π/4 radians, the perimeter touching but never overlapping itself.

The total area covered at the nth iteration is :\begin{align}A_{n} & = \frac{1}{5} + \frac{4}{5} \sum_{k=0}^n \left(\frac{5}{9}\right)^k    \mbox{giving}    \lim_{n \rightarrow \infty} A_n = 2 \\ \end{align}

While the total length of the perimeter is :\begin{align}P_{n} & =  4  \left(\frac{5}{3}\right)^n \\ \end{align} which approaches infinity as n increases

See also

References

  1. Addison, Paul S. Fractals and Chaos - An Illustrated Course. Institute of Physics (IoP) Publishing (1997) ISBN 0-7503-0400-6 - Page 19
  2. Lua error in package.lua at line 80: module 'strict' not found.
  3. Koch Snowflake
  4. Lua error in package.lua at line 80: module 'strict' not found..
  5. Demonstrated by James McDonald in a public lecture at KAUST University on January 27, 2013. [1] retrieved 29 January 2013.

External links

External video
video icon Koch Snowflake Fractal
Khan Academy