Saturday, May 28, 2016

Hexagonal Honeycombs

When bees build honeycombs, they do so in a pattern of tiled hexagons.  They create the borders of the hexagon with wax, leaving hexagonal holes that they can use to store honey, pollen, or eggs.


But have you ever wondered why bees use hexagons?  Why not use a simpler shape, like squares, triangles, or circles?


The quick answer is that the hexagon is the single tileable polygon that has the least perimeter for a given area.  This is important because bees have to spend a lot of energy to make the wax for the borders of each honeycomb cell.  Less perimeter means less wax, and less wax means less spent energy.

Let’s examine the math behind the claim that the hexagon is the single tileable polygon that has the least perimeter for a given area.  First of all, we must show that there are only three regular polygons that can be tiled: the triangle, the square, and the hexagon.  Secondly, we must show that out of those three polygons, the hexagon is the one with the least perimeter for a fixed area.

Tileable Regular Polygons

First of all, we need to show that there are only three regular polygons that can be tiled.  In all regular polygons with n sides, the interior angle θ is θ = (n – 2)180°/n.  So for a triangle (the polygon with the least amount of sides possible), n = 3 and θ = (3 – 2)180°/3 = 60°; for a square, n = 4 and θ = (4 – 2)180°/4 = 90°;  for a pentagon, n = 5 and θ = (5 – 2)180°/5 = 108°; for a hexagon, n = 6 and θ = (6 – 2)180°/6 = 120°; for a heptagon, n = 7 and θ = (7 – 2)180°/7 = 1284/7°; for a octagon, n = 8 and θ = (8 – 2)180°/8 = 135°; and so on.  We can see that the values of the interior angles of a regular polygon are greater than or equal to 60° (for the triangle) but less than 180° (which represents a straight line, because otherwise it won’t close to make a polygon) and so 60° ≤ θ < 180°.


However, in order for a regular polygon to be tileable, its interior angle must also divide evenly into 360°.  The largest factor of 360° is 360° ÷ 1 = 360°, which is too big to be an interior angle of a regular polygon.  The second largest factor of 360° is 360° ÷ 2 = 180°, which is also too big.  However, the third largest factor of 360° is 360° ÷ 3 = 120°, which is the interior angle of a regular hexagon; the fourth largest factor is 360° is 360° ÷ 4 = 90°, which is the interior angle of a square; the fifth largest factor of 360° is 360° ÷ 5 = 72°, which is not the interior angle of any regular polygon; and the sixth largest factor of 360° is 360° ÷ 6 = 60°, which is the interior angle of an equilateral triangle.  After this, the factors of 360° are less than 60°, which are too small to be an interior angle of any regular polygon.  So the triangle, square, and hexagon are the only regular polygons that can be tiled.


Least Perimeter

Secondly, we must show that out of the three tileable regular polygons of the triangle, square, and hexagon, the hexagon is the one with the least perimeter for a fixed area.  Consider a regular polygon of n sides inscribed in a circle with a radius of r.   The polygon can be divided into n triangular slices, and each of those slices can be bisected at each central angle, making 2n symmetrical right triangles with an angle of π/n and a hypotenuse of r.  The two legs of each right triangle are then r sin (π/n) and r cos (π/n), which makes the area of one of those right triangles ½r2sin(π/n)cos(π/n), and making the area of the whole regular polygon 2n times this or A = nr2sin(π/n)cos (π/n).  Also, since the opposite leg is r sin (π/n), 2 times this would give the length of one side of the whole regular polygon, and n times that would give the perimeter of the whole regular polygon or P = 2nr sin (π/n).


Solving the area equation for r gives us
and substituting this into the perimeter equation gives us
which simplifies to P = 2√A·√n·√tan(π/n).

So for a triangle, n = 3 and P = 2√A·√3·√tan(π/3) = 2√(3√3)√A ≈ 4.559√A.  For a square, n = 4 and P = 2√A·√4·√tan(π/4) = 4√A.  And for a hexagon, n = 6 and P = 2√A·√6·√tan(π/6) = 2√(2√3)√A ≈ 3.722√A.

Shape
Perimeter
triangle
4.559·√A
square
4.000·√A
hexagon
3.722·√A

Therefore, the hexagon has the least perimeter for a fixed area.

Wax Width

We have shown that the hexagon is the single tileable polygon that has the least perimeter for any given area.  But in a honeycomb grid, the perimeter of each cell is actually a wax border with its own width that is shared by adjacent cells, and this may affect our assertion that the hexagon is the most efficient shape.  So to be thorough, we need to consider the wax to honey ratio for each tiled shape.  We will consider the potential candidates of the triangle, square, hexagon, and circle.

Triangular Honeycombs

Let’s say there is a type of bee called the Triangle Bee that builds its honeycombs with equilateral triangles.  The Triangle Bees make wax walls that have a width of w that will separate each honey cell with an area of A and sides of s, and by the nature of the triangular pattern, the wax walls will meet in hexagon shapes.  The wax to honey ratio for the whole honeycomb would then be the same as one individual triangular tile, as colored below.


The wax walls for one tile consist of 3 sixths of a hexagon and 3 rectangles, and so its area W would be W = 3·1/6·3√3/2w2 + 3·½sw or W = 3√3/4w2 + 3/2sw.  Since the area of an equilateral triangle is A = √3/4s2, solving for s would give us s = 2√(3√3)√A/3, and substituting back into W would give us W = 3√3/4w2 + 3/2(2√(3√3)√A/3)w or W = 3√3/4w2 + √(3√3)√A·w.  The wax to honey ratio for the Triangular Bee is then (3√3/4w2 + √(3√3)√A·w) / A ≈ (1.299w2 + 2.280√A·w) / A.

Square Honeycombs

Now let’s say there is a type of bee called the Square Bee that builds its honeycombs with squares.  The Square Bees make wax walls that have a width of w that will separate each honey cell with an area of A and sides of s, and by the nature of the square pattern, the wax walls will meet in square shapes.  The wax to honey ratio for the whole honeycomb would then be the same as one individual square tile, as colored below.


The wax walls for one tile consist of 4 quarters of a square and 4 rectangles, and so its area W would be W = 4·¼·w2 + 4·½sw or W = w2 + 2sw.  Since the area of a square is A = s2, solving for s would give us s = √A, and substituting back into W would give us W = w2 + 2√A·w.  The wax to honey ratio for the Square Bee is then (w2 + 2√A·w) / A.

Hexagonal Honeycombs

Now let’s say there is a type of bee called the Hexagonal Bee that builds its honeycombs with hexagons (like regular bees).  The Hexagonal Bees make wax walls that have a width of w that will separate each honey cell with an area of A and sides of s, and by the nature of the hexagonal pattern, the wax walls will meet in triangular shapes.  The wax to honey ratio for the whole honeycomb would then be the same as one individual hexagonal tile, as colored below.


The wax walls for one tile consist of 6 thirds of an equilateral triangle and 6 rectangles, and so its area W would be W = 6·1/3·√3/4w2 + 6·½sw or W = √3/2w2 + 3sw.  Since the area of a regular hexagon is A = 3√3/2s2, solving for s would give us s = √(2√3)√A/3, and substituting back into W would give us W = √3/2w2 + 3(√(2√3)√A/3)w or W = √3/2w2 + √(2√3)√A·w.  The wax to honey ratio for the Triangular Bee is then (√3/2w2 + √(2√3)√A·w) / A ≈ (0.866w2 + 1.861√A·w) / A.

Circular Honeycombs

Finally, let’s say there is a type of bee called the Circular Bee that builds its honeycombs with circles.  The Circular Bees make wax walls that have at least a width of w that will separate each circular honey cell with an area of A and a radius of r.  The wax to honey ratio for the whole honeycomb would then be the same as one individual hexagonal tile, as colored below.


The area of the wax walls for one tile would be equivalent to the whole hexagon minus the circle, and so its area would be W = 2√3(½w + r)2 – A.  Since the area of a circle is A = πr2, solving for r would give us r = √π√A/π, and substituting back into W would give us W = 2√3(½w + √π√A/π)2 – A = 2√3(¼w2 + √π√A/πw + A/π) – A = √3/2w2 + 2√3√π√A/πw + (2√3/π – 1)A.  The wax to honey ratio for the Circular Bee is then (√3/2w2 + 2√3√π√A/πw + (2√3/π – 1)A) / A ≈ (0.866w2 + 1.954√A·w + 0.103A) / A.

Summary

The wax to honey ratio with respect to wax width and area are summarized for each shape below:

Shape
Wax to Honey Ratio
triangle
(1.299w2 + 2.280√A·w + 0.000A) / A
square
(1.000w2 + 2.000√A·w + 0.000A) / A
circle
(0.866w2 + 1.954√A·w + 0.103A) / A
hexagon
(0.866w2 + 1.861√A·w + 0.000A) / A

Since both w and A must be positive, the shape with the smallest wax to honey ratio coefficients would have to have the least wax to honey ratio, which is the hexagon.  Therefore, the hexagon is the most efficient shape to use for building a honeycomb.

Real honeybees build honeycomb cells that are an average of 4.85 mm wide (http://www.bushfarms.com/beesnaturalcell.htm), which gives a honey area of 81.484 mm2, and with wax walls that have an average thickness of 0.5 mm (http://keepingbee.org/bee-honeycomb/).  Using these values, we can use the formulas above to calculate the numerical wax to honey ratio for each shape:

Shape
Ratio
circle
21.357%
triangle
13.025%
square
11.385%
hexagon
10.575%

Which means that the average honeycomb (made up of hexagons) has a 10.575% wax to honey ratio.

Conclusion

There are generally two opposing trains of thought concerning the fact that all bees happen to use the most efficient shape to build their honeycombs.  Evolutionists attribute the bees’ efficiency to natural selection.  They would say that at some point there may have been bees that tried to make square or triangular honeycombs, but they were not as efficient as the bees that made hexagonal honeycombs and were eliminated by the rules of the survival of the fittest.  On the other hand, creationists attribute the bees’ efficiency to Intelligent Design.  They would say that the instinct to build hexagonal honeycombs was put there by a God who not only created but also upholds all the geometrical laws of the universe.

Unfortunately, there are a few problems with using the theory of natural selection to explain why bees make their honeycombs in a hexagonal pattern rather than some other pattern.  First of all, although we have mathematically proved that the hexagon is the most efficient shape for a honeycomb of a fixed area, the square is not that far behind, and the difference of efficiency would be too small for natural selection to take place.  In fact, given that a real honeycomb has hexagon widths that vary from 4.6 mm to 5.1 mm (http://www.bushfarms.com/beesnaturalcell.htm), which would make honey cell areas vary from 73.300 mm2 and 90.101 mm2, a high end honey area made up of squares is actually more efficient than a low end honey area made up of hexagons! (A square honeycomb with w = 0.5 mm and A = 90.101 mm2 would have a wax to honey ratio of 10.812%, whereas a hexagonal honeycomb with w = 0.5 mm and A = 73.300 mm2 would have a wax to honey ratio of 11.165%.  Note that this does not contradict our above assertion because the areas are not the same.)  According to evolutionary natural selection, a mutation of bees that make large square honey cells should eliminate bees that make small hexagonal honey cells, but this of course has not happened.  Which brings us to the second problem of using the theory of natural selection to explain why bees make hexagonal honeycombs: out of the millions of beekeepers worldwide, and over three thousand years of beekeeping, there is not one recorded instance of a mutated colony of bees trying to make a honeycomb with something other than a hexagonal pattern.  The theory of evolution relies on these mutations to take place, both now and in the past, but there is just no evidence for this in bees.

If the reason bees make their honeycombs in a hexagonal pattern rather than some other pattern is not because of natural selection, then it must be because of some innate instinct.  But where did that instinct come from?  The only plausible explanation is that it came from an Intelligent Designer.  Bees build their honeycombs in the efficient hexagonal pattern because of an instinct that was put there by the same God who created the geometrical laws of the universe.

3 comments:

  1. perfect explanation! I stumbled across this post; now I can share this info with my students. Thank you!

    ReplyDelete
  2. This was a great mathematical analysis, which unfortunately crashed at the end with your closing 'Intellijent Desine [sic]' argument...

    The hexagon tiling is a natural consequence of a bee using its surroundings to position consecutive cells as close as possible, ie. -

    1) build cell at any (random) position.
    2) build cell touching first cell anywhere on its perimeter.
    3) build cell touching first two cells' perimeters... >> triangle.
    4) repeat step 3) >> hexagons (or more accurately, 'compound triangles')

    The hexagon is also best for 'self-correcting' during construction.
    If you follow the sequence above trying to construct squares, you already have an extra step, ie.
    2a) built third cell only touching one other, but also exactly perpendicular to the first...

    Any slight deviation from this will rapidly expand into trapezoidal and rhombic cells, but then eventually settle down NATURALLY into hexagons.

    Best to eliminate this potential error right at the start!!

    Mathematically magical?
    Yes!

    Geometrically natural?
    Yes!

    Supernaturally mystical?
    Ah, no!! :)

    ReplyDelete
  3. This was a great mathematical analysis. Thank you

    Cellular Honeycomb Shades

    ReplyDelete