The Fibonacci sequence in this visualization
The Fibonacci sequence 1, 1, 2, 3, 5, 8, 13, … starts with two 1s, and each later term is the sum of the two before it. The same rule can start from any two positive numbers and ; from 2, 1 it gives the Lucas numbers (2, 1, 3, 4, 7, 11, …). Here you can build such a sequence as squares added to a rectangle, follow the ratio of neighbouring terms as it closes in on the golden ratio φ, and see on a cobweb diagram why it gets there from any start.
The start is a rectangle a wide and b tall. Each new term is a square laid against a side as long as the newest term: a rectangle with sides and gains a square of side and becomes by . So from the third term on, is the long side over the short side: the rectangle’s shape. The picture keeps the rectangle the same size, so you watch its shape settle rather than its numbers grow.
A square changes the ratio by a fixed rule, . A shape that a square leaves unchanged needs , that is , whose positive root is the golden ratio . That is the golden rectangle: add a square and you get the same shape, φ times as large. The cobweb diagram draws the rule. From a ratio r, go up to the curve to read the next ratio, then across to the diagonal to start the next step from it. Curve and diagonal cross at (φ, φ).
Why does the ratio alternate, and why does it arrive from every positive start? Since , one step changes the gap to φ exactly by
The minus sign puts every ratio on the other side of φ from the one before, unless the start is exactly golden. From on every ratio is above 1, so each step multiplies the gap by less than and the gap shrinks to 0. Only the first step can move away: when is below 1/φ, the gap grows. Near φ the factor approaches , the slope of the curve where it crosses the diagonal, so in the end each step leaves the gap about 0.382 times as large.
The terms themselves grow almost geometrically: each comes ever closer to φ times the one before. For the Fibonacci numbers , Binet’s formula makes this exact:
Because , is the whole number nearest to . On the eigenvector page the same two numbers appear as the eigenvalues of the matrix that takes one pair of neighbouring terms to the next.
Things to notice
- A ratio equals φ only if the one before it did, because exactly when . So unless the start is golden, the ratio never reaches φ; it only comes closer. Neighbouring Fibonacci ratios differ by exactly .
Controls
- Press or drag along the cobweb’s r axis to change b, and with it the start’s shape ; b catches on whole numbers.