![MathJax Logo](/templates/jsp/_style2/_tandf/pb2/images/math-jax.gif)
Abstract
Four variations of the Koch curve are presented. In each case, the similarity dimension, area bounded by the fractal and its initiator, and volume of revolution about the initiator are calculated. A range of classroom exercises are proved to allow students to investigate the fractals further.
KEYWORDS:
1. Introduction
The Koch curve is a standard introductory example of a fractal given in textbooks (see for example Addison, Citation1997; Frame & Urry, Citation2016; Goodson, Citation2017; Kautz, Citation2011; Peitgen et al., Citation1992; Strogatz, Citation2014; Tél & Gruiz, Citation2006). Typically, as von Koch did when he introduced the curve (von Koch, Citation1904), introductions emphasize that the curve possesses no tangents and also note that it has divergent length, and evaluate its similarity dimension. But they then tend to move on to other examples of fractals (e.g. the Cantor dust, or Sierpinski triangle or carpet). Exceptions to this are Tél and Gruiz (Citation2006, pp. 30–31), Mandelbrot (Citation1983, pp. 56–57) and Frame and Urry (Citation2016, p. 167) who each give illustrations of some variants of the Koch curve but do not investigate them in any detail.
In this note, we consider four variations on the Koch curve which can be investigated by students in the classroom and in each case we evaluate their similarity dimension, the area bounded by the curve and the initiator and the volume of revolution.
2. Cesàro curves
The Koch curve is based on a generating curve where the central third of an initiating line of unit length is replaced with the upper two lines of an equilateral triangle. An obvious generalization of this is to instead use the equal sides of an isosceles triangle such that all four lines of the generator are of equal length (Figure ). It is straightforward to show that, in the initiator is of unit length, the generating curve is made up of segments of length,
(1)
(1)
If four such Cesàro curves are placed in a square formation with the curves pointing inwards the result is called a torn square fractal (Figure ).
Figure 1. Constructing a Cesàro curve with . The initiator (k = 0 iteration) is a straight line of unit length. The generator is constructed by replacing the centre of the initiator with the upper part of an isosceles triangle such that each line of the generator is of length
and thus the distance from end to end of the generator is also unity. The k = 2 pre-fractal is constructed by replacing each straight line of the with a scaled version of the generator. Replacing each straight line in the k = 2 pre-fractal with a scaled version of the generator results in k = 3. Repeating this process an infinite number of times produces the fractal.
![Figure 1. Constructing a Cesàro curve with θ=45∘. The initiator (k = 0 iteration) is a straight line of unit length. The generator is constructed by replacing the centre of the initiator with the upper part of an isosceles triangle such that each line of the generator is of length L=12(1+cosθ) and thus the distance from end to end of the generator is also unity. The k = 2 pre-fractal is constructed by replacing each straight line of the with a scaled version of the generator. Replacing each straight line in the k = 2 pre-fractal with a scaled version of the generator results in k = 3. Repeating this process an infinite number of times produces the fractal.](/cms/asset/b7197a7b-70f8-41fd-92b4-092ff613afa2/tmes_a_2136548_f0001_ob.jpg)
Cesàro curves are frequently defined in terms of segment lengths, L of their generator (see for example Frame & Urry, Citation2016, p. 167; Tél & Gruiz, Citation2006, pp. 30–31), but we shall instead use the angle .
The similarity dimension of a fractal is defined as
(2)
(2)
where if we scaled the fractal by a factor
we would require N copies of it to reconstruct the original fractal. Thus if we scale a Cesàro curve by a factor of L we will need N = 4 copies of it to reconstruct the original fractal and so,
(3)
(3)
To evaluate the area and volume of revolution about the initiator of a Cesàro curve we use the method outlined in McCartney (Citation2021).
Figure shows a Cesàro curve divided into its component self-similar areas. If we define the area bounded by the curve and its initiator is then clearly
(4)
(4)
But, by definition, each of the four areas is a scaled version of the entire bounded area. The length is scaled by a factor L and therefore the area is scaled by L2, giving
(5)
(5)
Since the area of the isosceles triangle is
(6)
(6)
(4) becomes
(7)
(7)
which, using (1) simplifies to
(8)
(8)
To evaluate the volume of revolution we first evaluate the centre of area of the curve bounded by its initiator. If the centre of area is a distance hy above the initiating line along the axis of symmetry, then (from Figure ) we can consider again the fact that the total area is made up of the triangle of area AT (with centre of area above its base) and the four areas AS, each having centres od area a distance Lhy above their corresponding initiating lines. We can thus write the moment of area as
(9)
(9)
Using (1), (5), (6) and (8) this simplifies to give
(10)
(10)
Figure 4. The centre of area of a Cesàro curve lies a distance hy above the initiating line along the axis of symmetry.
![Figure 4. The centre of area of a Cesàro curve lies a distance hy above the initiating line along the axis of symmetry.](/cms/asset/1303aacd-28b1-4465-9ede-e438abbf1254/tmes_a_2136548_f0004_ob.jpg)
Given the second theorem of Pappus, which states that the volume of revolution of a lamina about an axis is the area of the lamina multiplied by the distance travelled by the lamina’s centroid we can immediately write that the volume of revolution of the Cesàro curve about the initiating axis is
(11)
(11)
3. An n-Koch curve
In the Koch curve, we divide the initiator into three equal segments and replace the middle third with the upper two lines of an equilateral triangle. A variation on this is to divide the initiator into n equal segments and to replace one of these with the upper lines of an equilateral triangle (Figure ).
Figure 5. The construction of an n-Koch curve with n = 5, and the penultimate segment of the initiator being chosen for replacement.
![Figure 5. The construction of an n-Koch curve with n = 5, and the penultimate segment of the initiator being chosen for replacement.](/cms/asset/586baaff-7d07-4aa3-b582-4b2e4721a035/tmes_a_2136548_f0005_ob.jpg)
Given we need n + 1 copies of the original fractal scaled by a factor of 1/n to reproduce the fractal the similarity dimension is,
(12)
(12)
To evaluate the area enclosed by the fractal and its initiating line, , we follow the same procedure as before. Namely that this area must be equal to the area of the generating triangle,
(13)
(13)
plus the area of n + 1 scaled copies of the fractal each of which are of area,
(14)
(14)
giving
(15)
(15)
which leads directly to
(16)
(16)
To evaluate the volume of revolution we first evaluate the centre of area of the curve bounded by its initiator. If the centre of area is at then (from Figure ) we can consider again the fact that the total area is made up of the triangle of area AT (with centre of area
above its base) and the n + 1 areas AS, each having centres of area scaled by a factor of 1/n. We can thus write the moment of area as
(17)
(17)
which results in
(18)
(18)
and hence a volume of revolution about the initiator is
(19)
(19)
Figure 6. The centre of area of an n-Koch curve with n = 5. Considering the leftmost point of the fractal to be the origin and the initiating line to be the x axis, the centre of area of the lamina bounded by the curve and the initiator is defined as . The centre of area of each segment is scaled by a factor of n, so in the case where n = 5 the co-ordinates of the centre of area of the first segment is
.
![Figure 6. The centre of area of an n-Koch curve with n = 5. Considering the leftmost point of the fractal to be the origin and the initiating line to be the x axis, the centre of area of the lamina bounded by the curve and the initiator is defined as (hx,hy). The centre of area of each segment is scaled by a factor of n, so in the case where n = 5 the co-ordinates of the centre of area of the first segment is (hx5,hy5).](/cms/asset/c1395fb5-c3cf-4b78-bee8-d1b310406e80/tmes_a_2136548_f0006_ob.jpg)
4. A Koch curve with non-uniform scaling
So far we have considered fractal curves made up of line segments of equal length, but it is straightforward to generalize this. As an example, consider an initiator of unit length where we replace a middle length b with the upper two lines of an equilateral triangle to produce a generator (Figure ). Each line is then replaced with a suitable scaled version (b or ) of the generator to produce the k = 2 pre-fractal. Figure shows a range of fractals generated using b = 0.1, b = 0.25, b = 0.5.
Figure 7. The construction of a Koch curve with nonuniform scaling. The initiator is of length unity. The central upper sides of the equilateral triangle in the generator are of length b, with the other two lines being of length .
![Figure 7. The construction of a Koch curve with nonuniform scaling. The initiator is of length unity. The central upper sides of the equilateral triangle in the generator are of length b, with the other two lines being of length (1−b2).](/cms/asset/f560f74b-c9d7-4073-9868-3947a524a50e/tmes_a_2136548_f0007_ob.jpg)
Figure 8. A range of nonuniform scalings. From top to bottom, b = 0.1, b = 0.25, b = 0.5. For values of b greater than approximately 0.5 the curve begins to self-intersect.
![Figure 8. A range of nonuniform scalings. From top to bottom, b = 0.1, b = 0.25, b = 0.5. For values of b greater than approximately 0.5 the curve begins to self-intersect.](/cms/asset/188b644c-67bc-478f-a7ea-40d218183ba7/tmes_a_2136548_f0008_ob.jpg)
To evaluate the similarity of the fractal we use Moran’s equation (see Frame & Urry, Citation2016, p. 163) which states that if we have a fractal which is created by N copies of itself, each scaled by a different factor then the similarity dimension
is given by the solution of
(20)
(20)
Thus, for the fractal described here Moran’s equation becomes,
(21)
(21)
A plot of a numerical solution of this is shown in Figure (see Classroom exercises for an exact solution when ).
Figure 9. Variation of similarity dimension with scaling factor b as given by (21) for the non-uniform scaling Koch curve shown in Figure .
![Figure 9. Variation of similarity dimension DS with scaling factor b as given by (21) for the non-uniform scaling Koch curve shown in Figure 7.](/cms/asset/b061958a-2967-4ca4-8732-523c292bfb29/tmes_a_2136548_f0009_ob.jpg)
To evaluate , the area bounded by the non-uniform scaling Koch curve and its initiator, we apply the same procedure as before. Namely, the area must be made up of two copies scaled at b, two at
, and the triangle in the generator, which is of area,
(22)
(22)
Thus,
(23)
(23)
which results in,
(24)
(24)
Finally, to evaluate the volume of revolution we first evaluate the centre of area above the initiating line, h, as being constructed from the centres of area of the two pairs of scaled copies of the fractal plus the centre of area of the triangle in the generator, giving
(25)
(25)
which, using (22) and (24), results in
(26)
(26)
giving a volume of revolution about the initiator of
(27)
(27)
5. A Himalayan Koch curve
Finally, we consider a fractal where the generator is made up of an infinite array of Koch curve generators scaled geometrically; each a factor smaller than the last (Figures and ).
Figure 10. The Construction of a Himalayan Koch curve with scale factor . The generating line is made up of an infinite array of generators for the standard Koch curve, each a scaled version (by a factor of
) of the generator to its right. Each line of each of these scaled Koch generators is then replaced by a suitably scaled version of the total generating line to form the k = 2 pre-fractal.
![Figure 10. The Construction of a Himalayan Koch curve with scale factor α=12. The generating line is made up of an infinite array of generators for the standard Koch curve, each a scaled version (by a factor of α) of the generator to its right. Each line of each of these scaled Koch generators is then replaced by a suitably scaled version of the total generating line to form the k = 2 pre-fractal.](/cms/asset/690c2bf6-d3ea-4715-8fb3-dcbb5f539111/tmes_a_2136548_f0010_ob.jpg)
Given the length of the initiator is unity and assuming the rightmost generating Koch curve in Figure is of length L, clearly and so
(28)
(28)
To evaluate the similarity dimension, we once again turn to Moran’s equation. Each of the generating Koch curves is made up of four lines of length and so using (20)
(29)
(29)
and summing the series gives
(30)
(30)
A plot of a numerical solution of this equation is shown in Figure .
The area bounded by the generator and the initiator is the geometric sum of the areas of the triangles, giving
(31)
(31)
The area of the fractal bounded by its initiator is made up of sets of four copies each scaled by in length by
, and hence by area
, plus the area AT i.e.
(32)
(32)
which using (28) and (31) results in,
(33)
(33)
To evaluate the centre of area of the fractal, located at we first evaluate the moment of area of each section of the fractal constructed on each of the Koch curve generators. Counting from the right of the fractal shown in Figure , the total length of the ith Koch curve generator be
(34)
(34)
Thus the moment of area of the ith section is constructed from four components each made up of versions of the original fractal scaled in size by
plus the moment of area of the equilateral triangle of side
:
(35)
(35)
Since the total moment of area obeys
(36)
(36)
and noting that
(37)
(37)
Equations (35) and (36) give
(38)
(38)
which results in a volume of revolution about the initiator of
(39)
(39)
6. Concluding remarks
The results presented here are all well within the reach of an undergraduate. Indeed, although the algebraic manipulation can in parts require care, the concepts behind the evaluation of the bounded area are also within reach of a good U.K. ‘A’ level student.
Further, given the Koch curve is almost certainly the most common fractal curve to be found in undergraduate curricula, hopefully these variations, combined with the classroom exercises below, will provide useful extensions to teaching, either as extra problems or as short independent study projects.
7. Classroom exercises
For a Koch curve with initiator of unit length, the area of the curve bounded by the initiator, and the distance of the centre of area above the initiator are
and
. Show that for appropriate parameter choices each of the areas and centres of areas presented in the paper reduce to these results.
Assuming the initiator is of length unity, what is the area bounded by a torn square fractal of the form shown in Figure for a Cesàro curve of angle
?
Assuming that the initiator is of length unity, show that the distance of the centre of area of the right half of a Cesàro curve (ie the area bounded by the curve, its initiator, and the vertical axis of symmetry) is a distance
from the axis of symmetry. Hence evaluate the volume of revolution of the curve about its vertical axis of symmetry.
If three Koch curves are placed together around an equilateral triangle of unit side the Koch island, or Koch snowflake, is obtained (Figure ). An obvious way to generalize this is to place three Cesàro curves around an isosceles triangle generating a Cesàro island (Figure ). The two equal sides of the triangle are of unit length, and the equal angles are the same as those of the angle used to generate the Cesaro curves. Show that the area of such a Cesàro island is
(40)
(40) By plotting the above function (or otherwise) show that that maximum bounded area occurs at approximately
.
Show that the x co-ordinate
of the centre of area of the n Koch curve (see Figure ) is
and hence find the volume of revolution about the vertical axis.
When
Equation (21) can be written as,
(41)
(41)
Show that the solution of this equation is
(42)
(42)
Hint: re-write (41) as a quadratic equation.
A simple piece of python code, which uses a recursive function call to generate the kth pre-fractal of a Koch curve is:
import turtle as t
#this code generates a pre-fractal Koch curve with initiator length Size
#to level k
#set size and level of prefractal
k = 5
size = 600
#set position and speed of turtle and penwidth
t.hideturtle()
t.penup()
t.goto(-300,-50)
t.pendown()
t.pensize(1)
t.speed(0)
def koch(prefractal, size):
if prefractal = = 0:
t.forward(size)
else:
for angle in [60, -120, 60, 0]:
koch(prefractal-1, size/3)
t.left(angle)
koch(k,size)
Modify this code to generate a Cesàro curve for a user provided
. Modify the code further to produce a torn square fractal.
In the construction of the Himalayan Koch curve in the paper a generator with an infinite geometric series of Koch curve generators was used as the generator. If a finite series of n Koch curve generators in geometric progression is used instead, what is the area bounded by the generator and the initiator? What is the area bounded by the fractal and the initiator?
Disclosure statement
No potential conflict of interest was reported by the author.
References
- Addison, P. S. (1997). Fractals and chaos: An illustrated course. IOP.
- Frame, M., & Urry, A. (2016). Fractal worlds: Grown, built and imagined. Yale University Press.
- Goodson, G. R. (2017). Chaotic dynamics: Fractals, tilings, and substitutions. Cambridge University Press.
- Kautz, R. (2011). Chaos: The science of unpredictable random motion. Oxford University Press.
- Mandelbrot, B. B. (1983). The fractal geometry of nature. W.H. Freeman & Co.
- McCartney, M. (2021). The area, centroid and volume of revolution of the Koch curve. International Journal of Mathematical Education in Science and Technology, 52(5), 782–786. https://doi.org/10.1080/0020739X.2020.1747649
- Peitgen, H., Jurgens, H., & Saupe, D. (1992). Chaos and fractals: New frontiers of science. Springer-Verlag.
- Strogatz, S. H. (2014). Nonlinear dynamics and chaos (2nd ed.). Westview Press.
- Tél, T., & Gruiz, M. (2006). Chaotic dynamics: An introduction based on classical mechanics. Cambridge University Press.
- von Koch, H. (1904). Sur une courbe continue sans tangente, obtenue par une construction géométrique élémentaire. Arkiv för Mathematik Astronomi och Fysik, 1, 681–704.