Friday, May 4, 2012

Fibonacci sequence, divine proportion, democratic order and the beauty of Nature

Watching the tv-series Touch, I came across some things I studied at the high school and the university, which i found very fascinating. I thought it was time to revise those subjects and i went to surf Wikipedia.
Of course the show does not dig the topic very deeply, but it gives a good hint for some thoughts.

Fibonacci sequence

Leonardo Fibonacci was a guy that lived around year 1200 and invented a particular sequence of integer numbers. Here the first numbers of the sequence:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946...

Apparently, for those not yet familiar with Fibonacci numbers, this looks a more or less random set of numbers. One can guess that it's a growing set of numbers (except for the second and third, which are equal), and the sequence diverges (i.e., as the numbers grow, also the difference between consecutive numbers grow), but nothing more interesting than that can be seen at a first look.

The series is defined by a very easy rule, and the number that compare in it are also very easily computable (so much that, to write those first ones above i didn't consult any table and i calculated them in my mind in no more than five minutes).
Here's the rule:
By definition the first two numbers are 0 and 1. The next ones are given by the sum of the two previous ones. Or, more formally:
N0=0
N1=1
For each n>1 Nn=Nn-1+Nn-2

This is a recursive definition, which means that the result, for a particular value of n, is given by the composition of the results of other values of n.
Given the definition of the rule, it is easy to compute the sequence:
N0 = 0
N1 = 1
N2 = N1+N0 = 1+0 = 1
N3 = N2+N1 = 1+1 = 2
N4 = N3+N2 = 2+1 = 3
N5 = N4+N3 = 3+2 = 5
N6 = N5+N4 = 5+3 = 8
N7 = N6+N5 = 8+5 = 13
N8 = N7+N6 = 13+8 = 21
N9 = N8+N7 = 21+13 = 34
N10 = N9+N8 = 34+21 = 55
N11 = N10+N9 = 55+34 = 89
...
Apart from the elegance of its definition, this construction looks completely artificial and totally useless, on the opposite, we'll see that in its extreme simplicity there are a big number of surprising practical applications. But no rush, let's meet the "golden ratio", first.

The Golden Ratio

The Golden Ratio, Golden section, Golden number, or, with some excess of drama also called "proportion of God", is a number given by the ratio of two lengths, so that the first is the middle term proportion between the sum of two and the second.
Given a segment AB we have to find an internal point C so that the length AC is the middle term proportional between AB and CB, or in other words:
AB: AC = AC: CB.
(AB is to AC as AC is to CB)

Naming AC=a and CB=b, the proportion becomes:
(a+b):a=a:b
The golden number φ is then equal to the ratio a:b
Its value can be computed as


It can be easily shown that also (a+b):a=a:b=b:(a-b)

The number φ, along with its multiplicative inverse has a load of interesting mathematical properties.
First of all
φ=1.618033988749894848204586834... is an irrational number.
Surprisingly Φ = 0.618033988749894848204586834... (for who didn't notice, the decimal part is identical!)
It is also true that the squared value of φ, φ2 = 2.618033988749894848204586834... (the decimal part is still identical!).

Another strange mathematical property is that
φ2 = φ10
and in general
φn = φn-1 + φn-2
which makes the sequence φn computable with a recursive function, just like Fibonacci numbers:
φ0 = 1
φ1 = φ
φ2 = φ10 = φ+1
φ3 = φ21 = 2φ+1
φ4 = φ32 = 3φ+2
...
One feature that seems remarkable to me is that the increasing exponentiation of φ calculate numbers more and more "almost-integer". I mean not exactly integer numbers, but irrational ones that approximate integers better and better.

As it happens to all irrational numbers, also φ can be expressed as a "continued fraction" (this, I really did not remember!). A continued fraction, expressed as a sequence of integers [a1, a2, a3, a4, ...] is the number calculated as

(of course for an irrational number the integer numbers that appear in the continued fraction is an infinite sequence).
Well, number φ can be expressed as the continued fraction [1, 1, 1, 1, 1, 1, ...], in this way:

Since the sequence is made of all numbers 1, which is the smallest integer number, at any next step of the approximation, being that the number appears in the denominator, the largest possible amount is added. So, at the n-th step this continuous fraction calculates a rational number that approximates the irrational number φ worse than how any other continuous fraction, at the n-th step, approximates another irrational number. In other words φ is "the most irrational" number. The one that "escapes" the approximation more than all the others.

And, for someone like me, who gets carried away with Math as one nerd of the worse breed, these properties are already exciting, but there's much more.

The Golden Section was discovered by the Greeks in the sixth century AC. For the Greeks, the number 5 had a symbolic importance: it was the sum of the masculine (3) and the feminine (2). This property has contributed to give a kind of magical taste to the Golden Section, in fact if you draw a regular pentagon and its diagonal (obtaining a five-pointed star inscribed in a pentagon), the segments make a ratio to each other as φ : in Figure

AB:AC=AC:CB
But since CD=AC-CB, then also
AC:CB=CB:CD
AC is also equal to the side of the pentagon, so all the drawn segments in the picture are equal to the first, the last or the middle term of the proportion.

In the middle of the star, then, there is another regular pentagon. If you draw the diagonals to this pentagon, you obtain this picture:

which obviously has the same properties of the previous, and so on to the infinite.
Similar properties can de observed on the "golden triangle"...


The symbolic meaning of the Golden Section has influenced art. Fidia used the Golden Section to proportion the statues of the Parthenon (hence the use of the symbol φ - the greek letter for F - for naming its value). Leonardo used φ to map the Mona Lisa.

It's easy to find a lot of other examples just searching on the Net.

But, what does the Fibonacci sequence matter with the Golden section?
We take the sequence. We exclude the first number (which is zero) and calculate the ratio between the third and second, between the fourth and third, between the fifth and fourth and so on.
I threw this calculation in an Excel spreadsheet, and this is the result:

In the first column there is the index of the Fibonacci number reported in the second column, at its right. In the third column there is the value of the ratio between the corresponding number in the second column and its previous (obviously, not being able to divide by 0, I started from the third number divided by the second). You can easily note that the values of the third column converge very rapidly to the value of φ. On the right it's graphically shown this convergence.
Mathematically it can be said that

(as n approaches to infinity, the n-th Fibonacci number divided by its previous approaches to the Golden section)

Another strange fact about Fibonacci numbers and Golden Section, is the way they appeared in history.
The Golden Section, was invented by the ancient Greeks, but after the decline of the Hellenistic period, it went into disuse and had been almost forgotten for over a millennium.
Fibonacci in the thirteenth century invented his sequence, for applications that were totally unrelated to the properties of the Golden Section, and in fact nor he nor anybody else noticed that correlation, which was discovered only a few centuries later.
It's remarkable that Fibonacci was the first one that defined a recursive function, anyway ignoring its importance. Of course, the Golden Section and many other more ancient mathematical stuffs can be calculated using recursive functions (which I find really ingenious, even fascinating, as the computer dude I am), but their definition in this way was found only after Fibonacci.

Okay, you will say. They discovered two mathematical tricks and after more than one millennium they put them together. Everything very fascinating, but sill we didn't see what all of this is for.

Applications in nature

Take some squared paper and mark with a pen on one square more or less in the center.
Below, highlight the next sauqare in the same way.
To the right of it, draw a square adjacent to the two squares drawn previously, so that its side is 1 + 1 = 2.
Above this drawing, trace another adjacent square, with a side equal to the length drawn (2 + 1 = 3).
To the left of all these squares trace another one whose side rests to the other squares. The side of this last one will be 3 + 2 = 5.
Do the same thing below. The new square has side 5 + 3 = 8.
Continue like this until there's space on the sheet.
It's obvious that the drawn squares side lengths are equal to the Fibonacci numbers.

Now we can inscribe one fourth of a circle into each drawn square so that each circle is tangent to the one inscribed in the next square and the one in the previoius.

The curve that we obtained is called the Fibonacci Spiral.
To tell the truth, this is not exactly a "spiral": in mathematics, a spiral is a curve such that its derivative in polar coordinates is continuous in each point. Here, instead, it is not: the curvature is constant within each square but it has a discontinuity every where it goes to the next one. In other words, a "real" spiral cannot be drawn with a pair of compasses.
Anyway, the Fibonacci spiral is a good approximation of the Golden Spiral, which is a "real" spiral (a particular "logarithmic spiral" for which i omit the mathematical details).

The beauty of all of it is that in nature there are a lot of examples of this spiral. One scenic one is the layout of the seeds in some flowers like the sunflower.

In the same way are arranged the elements of the pinecones, of the pineapple, the corn seed on the cob...

Then, there is the Golden Angle, which is an angle that divide the perigon in two parts between which the proportion is equal to φ.
In most of the plants and trees the leaves on the branches develop such as there is a golden angle between the previous and the next leaves.

There are several of cases in which different applications of the Golden section or the Fibonacci numbers can be noticed.
For example, most of the flowers have a number of petals even to a Fibonacci number (from Wikipedia: "Lilies have three petals, buttercups five, delphinia have often eight of them, calendulae thirteen, asters twenty-one and daisies usually have thirty-four or fifty-five or eighty-nine petals")

An explaination of this behavior in nature is given by the fact that, as we saw above, the Golden Section is the "most irrational" number.
For example, in the picture above, the fact that between each pair of successive leaves there is a Golden angle ensures that each leaf is "covered" by the subsequent ones as little as possible, and so it receives the largest possible amount of light.
Another reason, is that since Fibonacci numbers do not follow a replicable order, (which is an effect of their definition), each one contributes to the solidity of the whole. The idea is this: if the disposition of corn seeds on the ear was regular, say for example 50 seeds for each round, each seed would have been exactly aligned to those of the previous and the next rounds. The cob might break along those lines. Also on those lines where the seeds would lie would have been very crowded while the lines in between would have been empty.
Of course a solution of this last problem could have been that the seed were disposed as an exagone, like the cells of a beehive. In this way the seeds would have been spread as most evenly as possible. But one could anyway found an alignment (or better, three of them, at each other), and along these lines the alignment would weaken the cob.

In other words, even if nor the Golden section, nor the Fibonacci numbers have been invented for this reason, they both describe very well some behaviors of Nature.
I imagine that Darwin evolution developed some shapes that follow very well these rules, because they are winner on all the other schemes. The disposition of the leaves upon golden angles around the branches ensures a better insolation of the leaves themselves, with respect to any other disposition you can think of.

The democratic order

Recursivity, in the definition of the Fibonacci sequence, and then also in the Golden section makes me think of an order which is not imposed from the top, but built on the base, from the collaboration of the individuals themselves who suffer and benefit from the rule. The n-th Fibonacci number is difficult to calculate, unless you know its two previous ones. Knowing them, instead, the calculation is a piece of cake.
The arrangement of the n-th leaf around the branch is uniquely determined by the previous leaf, and itself determines the arrangement of the next one. So, the rule is not "centralized", but applied locally.
I think this is a good metaphor for democracy. Everyone contributes, through his small self, to build the order for the survival of the entire society which he belongs to. Everyone's right place is given by his ancestors, and will itself determine the right place of the future generations. And everybody have the responsibility to work within the rules, which are not imposed from the top but developed for necessity, and oriented to the conservation of the species.
I believe that humanity doesn't need an established power to regulate man's life. Rather, I believe that every man should acknowledge to be a part of a naturally organized society, and give up some ambition for the common good. The leaf that embezzle a place that it does not own leads to a deterioration of all the other leaves conditions, compromising the efficiency of the entire branch and therefore the survival of all the leaves (including itself).

(Lot of references and some pictures from Wikipedia)