Video 3, chapter 7

Fibonacci Numbers and the Golden Ratio

Why ratios of neighboring terms of the Fibonacci sequence converge to the golden ratio, proved with an update rule for the ratios, and how the square and arc drawing differs from the golden spiral, a logarithmic spiral.

  • Video 3, chapter 7
  • When numbers become pictures

Start with 00 and 11 and keep writing the sum of the last two numbers. The Fibonacci numbers 0,1,1,2,3,5,8,13,210, 1, 1, 2, 3, 5, 8, 13, 21 grow without end, yet dividing each term by the one before it, starting with 1/11/1, gives 11, 22, 1.51.5, about 1.6671.667, 1.61.6, 1.6251.625 and about 1.6151.615, values that crowd closer and closer to a number near 1.6181.618. Why that number, and do the ratios ever reach it? This page shows that the addition rule itself forces the golden ratio, proves that the ratios approach it from alternate sides without ever landing on it, and compares the familiar spiral drawn in Fibonacci squares with the exact golden spiral.

Key terms

Fibonacci sequence

Definition The Fibonacci sequence F0,F1,F2,…F_0, F_1, F_2, \ldots is defined by

F0=0,F1=1,Fn=Fn−1+Fn−2,\begin{gathered} F_0 = 0, \qquad F_1 = 1, \\[0.4em] F_n = F_{n-1} + F_{n-2}, \end{gathered}

where the addition rule holds for every n≥2n \ge 2. Its terms are 0,1,1,2,3,5,8,13,21,34,55,89,144,…0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, \ldots. Every term after F0F_0 is positive, and no term is smaller than the one before it. The surprise is that the ratio Fn+1/FnF_{n+1}/F_n of each term to the one before it, for n≥1n \ge 1, comes as close as we like to the golden ratio φ=(1+5)/2≈1.618\varphi = (1 + \sqrt{5})/2 \approx 1.618 as nn grows. The reason is that the addition rule sends each ratio rr to the next ratio 1+1/r1 + 1/r, that φ\varphi is the one positive number this rule leaves unchanged, and that the rule moves every ratio of the sequence closer to φ\varphi. Every ratio is a fraction of whole numbers, while φ\varphi is irrational, so the ratios approach φ\varphi without ever equaling it. Some books start the list at 1,11, 1 and leave out the 00, which changes none of the ratios. The sequence is named after Leonardo of Pisa, known as Fibonacci, whose book Liber Abaci of 1202 contains a problem about breeding rabbits that leads to these numbers.

In plain words Each new number is the sum of the two before it. The numbers grow without end, but the ratio of each number to the one before it settles toward one fixed value, about 1.6181.618.

Example Climb a staircase taking one or two steps at a time, and let WnW_n be the number of different routes up a staircase of nn steps. A staircase of one step has one route, and a staircase of two steps has two, two single steps or one double step. For n≥3n \ge 3, every route up nn steps ends either with a single step from step n−1n - 1 or with a double step from step n−2n - 2. No route ends both ways, so

Wn=Wn−1+Wn−2.W_n = W_{n-1} + W_{n-2}.

This gives W3=3W_3 = 3, the routes 1+1+11 + 1 + 1, 1+21 + 2 and 2+12 + 1, then W4=5W_4 = 5, the routes 1+1+1+11 + 1 + 1 + 1, 1+1+21 + 1 + 2, 1+2+11 + 2 + 1, 2+1+12 + 1 + 1 and 2+22 + 2, and then W5=8W_5 = 8. The route counts start with W1=1=F2W_1 = 1 = F_2 and W2=2=F3W_2 = 2 = F_3 and follow the same addition rule, so Wn=Fn+1W_n = F_{n+1} for every n≥1n \ge 1.

Golden ratio

Definition The golden ratio is the number

φ=1+52≈1.6180339887,\begin{aligned} \varphi &= \frac{1 + \sqrt{5}}{2} \\[0.4em] &\approx 1.6180339887, \end{aligned}

the positive solution of x2=x+1x^2 = x + 1. Dividing that equation by xx, which is not zero, shows that φ\varphi is also the positive solution of x=1+1/xx = 1 + 1/x. The other solution of both equations is (1−5)/2≈−0.618(1 - \sqrt{5})/2 \approx -0.618, which equals −1/φ-1/\varphi. A length cut into a longer part aa and a shorter part bb is cut in the golden ratio when the whole is to the longer part as the longer part is to the shorter, (a+b)/a=a/b(a + b)/a = a/b, and then a/b=φa/b = \varphi. The golden ratio is irrational, because 5\sqrt{5} is irrational. It satisfies φ2=φ+1≈2.618\varphi^2 = \varphi + 1 \approx 2.618 and 1/φ=φ−1≈0.6181/\varphi = \varphi - 1 \approx 0.618.

In plain words The golden ratio is the one proportion that survives adding the parts together. If a long piece and a short piece are in the ratio φ\varphi, then the two pieces together and the long piece are in the ratio φ\varphi as well.

Example To check φ2=φ+1\varphi^2 = \varphi + 1 directly, square the formula,

φ2=1+25+54=3+52=φ+1.\begin{aligned} \varphi^2 &= \frac{1 + 2\sqrt{5} + 5}{4} \\[0.4em] &= \frac{3 + \sqrt{5}}{2} = \varphi + 1. \end{aligned}

A golden rectangle has sides 11 and φ\varphi. Cutting off a 11 by 11 square leaves a rectangle with sides φ−1\varphi - 1 and 11, whose long side divided by its short side is 1/(φ−1)=φ1/(\varphi - 1) = \varphi, so the leftover rectangle has the same shape as the original. The Fibonacci rectangles work the other way around. Attaching a square of side Fn+1F_{n+1} to the long side of an FnF_n by Fn+1F_{n+1} rectangle makes an Fn+1F_{n+1} by Fn+2F_{n+2} rectangle. So the rectangles 11 by 22, 22 by 33, 33 by 55 and 55 by 88 have long side over short side equal to the Fibonacci ratios, and their shapes approach the golden rectangle.

Ratio convergence

Definition Write rn=Fn+1/Fnr_n = F_{n+1}/F_n for n≥1n \ge 1. The ratios converge to φ\varphi, which means that the gap ∣rn−φ∣\lvert r_n - \varphi \rvert becomes and stays smaller than any positive number we choose, once nn is large enough. Since Fn+2=Fn+1+FnF_{n+2} = F_{n+1} + F_n, the ratios follow the update rule

rn+1=Fn+1+FnFn+1=1+1rn,\begin{aligned} r_{n+1} &= \frac{F_{n+1} + F_n}{F_{n+1}} \\[0.4em] &= 1 + \frac{1}{r_n}, \end{aligned}

starting from r1=1r_1 = 1. If the ratios have a positive limit LL, then L=1+1/LL = 1 + 1/L, so L=φL = \varphi. That alone does not show that a limit exists, since a sequence can stay away from a value that its update rule leaves unchanged. The rule r↦2rr \mapsto 2r, for example, leaves 00 unchanged, but starting from 11 it gives 2,4,8,…2, 4, 8, \ldots. The proof uses φ=1+1/φ\varphi = 1 + 1/\varphi to compare each gap with the next one,

rn+1−φ=1rn−1φ=φ−rnrnφ.\begin{aligned} r_{n+1} - \varphi &= \frac{1}{r_n} - \frac{1}{\varphi} \\[0.4em] &= \frac{\varphi - r_n}{r_n \varphi}. \end{aligned}

Every ratio is at least 11, because Fn+1≥FnF_{n+1} \ge F_n. So each step flips the sign of the gap and multiplies its size by 1/(rnφ)1/(r_n \varphi), which is at most 1/φ≈0.6181/\varphi \approx 0.618. The first gap has size φ−1=1/φ\varphi - 1 = 1/\varphi, so

∣rn−φ∣≤φ−n,\lvert r_n - \varphi \rvert \le \varphi^{-n},

which goes to 00. The ratios with odd nn lie below φ\varphi, those with even nn lie above it, and none equals it.

In plain words The ratio never lands on the golden ratio. Each new ratio overshoots or undershoots by less than the one before, so the ratios zigzag in toward φ\varphi.

Example The update rule produces each ratio from the previous one without the Fibonacci numbers themselves. From r4=5/3r_4 = 5/3 it gives r5=1+3/5=8/5r_5 = 1 + 3/5 = 8/5, and from 8/58/5 it gives 1+5/8=13/81 + 5/8 = 13/8. The table lists the first eight ratios, rounded to four decimal places.

nnrnr_nDecimalGap rn−φr_n - \varphi
11/11/11.00001.0000−0.6180-0.6180
22/12/12.00002.00000.38200.3820
33/23/21.50001.5000−0.1180-0.1180
45/35/31.66671.66670.04860.0486
58/58/51.60001.6000−0.0180-0.0180
613/813/81.62501.62500.00700.0070
721/1321/131.61541.6154−0.0026-0.0026
834/2134/211.61901.61900.00100.0010

The signs alternate as predicted. The size of each gap divided by the size of the one before settles near 0.3820.382, which is 1/φ21/\varphi^2, because the factor 1/(rnφ)1/(r_n \varphi) approaches 1/φ21/\varphi^2 as rnr_n approaches φ\varphi.

Logarithmic spiral

Definition Fix a center point OO and a starting ray from OO. Describe a point by its distance rr from OO and the angle θ\theta turned counterclockwise from the starting ray, measured in radians, so that a full turn is 2π2\pi, and let θ\theta keep growing past 2π2\pi, or go below 00, as a curve winds around OO. A logarithmic spiral is a curve

r=aebθ,r = a e^{b\theta},

where θ\theta ranges over all real numbers, a>0a > 0 and b≠0b \ne 0 are fixed numbers and e≈2.718e \approx 2.718 is the base of natural logarithms. Turning through any fixed angle Δ\Delta multiplies the distance from OO by the same factor ebΔe^{b\Delta}. As a result, enlarging the spiral about OO by the factor ebΔe^{b\Delta} gives the same spiral turned through the angle Δ\Delta, and the spiral crosses every ray from OO at the same angle. For b>0b > 0 it winds outward without end as θ\theta grows, and as θ\theta decreases it winds around OO infinitely many times, coming as close to OO as we like without reaching it.

In plain words Each time a logarithmic spiral turns through the same angle, it grows by the same factor. Zooming in or out about its center only rotates it.

Example The spiral r=2θ/(2π)r = 2^{\theta/(2\pi)} is the logarithmic spiral with a=1a = 1 and b=ln⁡2/(2π)≈0.110b = \ln 2/(2\pi) \approx 0.110, since 2=eln⁡22 = e^{\ln 2}. Its distance from OO doubles with every full turn, with r=1,2,4,8r = 1, 2, 4, 8 at θ=0,2π,4π,6π\theta = 0, 2\pi, 4\pi, 6\pi, and every quarter turn multiplies it by 21/4≈1.1892^{1/4} \approx 1.189. Turning backward, r=1/2r = 1/2 at θ=−2π\theta = -2\pi and r=1/4r = 1/4 at θ=−4π\theta = -4\pi, so the spiral circles OO forever without reaching it. The spiral r=θr = \theta for θ≥0\theta \ge 0 is different. It adds the same distance 2π2\pi with every full turn instead of multiplying by the same factor, so it is not a logarithmic spiral.

Golden spiral

Definition The golden spiral is the logarithmic spiral whose distance from its center grows by the factor φ\varphi with every quarter turn,

r=a φ2θ/π,a>0.r = a\,\varphi^{2\theta/\pi}, \qquad a > 0.

In the form r=aebθr = a e^{b\theta} it has b=2ln⁡φ/π≈0.306b = 2\ln\varphi/\pi \approx 0.306, one full turn multiplies the distance by φ4≈6.854\varphi^4 \approx 6.854, and the curve crosses every ray from its center at an angle of about 73∘73^\circ. The Fibonacci spiral, drawn as quarter circles in squares of sides 1,1,2,3,5,8,…1, 1, 2, 3, 5, 8, \ldots, is a different curve. Each of its pieces is a quarter of a circle centered at a corner of its own square, so the drawing changes center from square to square and its radius jumps from one Fibonacci number to the next. The golden spiral turns around a single center, and its distance from that center changes continuously. Far out, the squares grow by factors close to φ\varphi per quarter turn, the same growth as the golden spiral, which is why the two pictures look alike. Spiral patterns in shells, plants and art are worth measuring before they are named. Some follow Fibonacci counts or a growth factor close to φ\varphi, and others do not.

In plain words The square and arc drawing is a good sketch of the golden spiral made from pieces of circles. The golden spiral itself grows by exactly the factor φ\varphi in every quarter turn, starting from any point on it.

Example Compare the growth over a quarter turn. On the golden spiral it is always φ≈1.618\varphi \approx 1.618. In the square drawing the first two arcs both have radius 11, a growth of 11. Later the arc of radius 33 is followed by an arc of radius 55, a growth of 5/3≈1.6675/3 \approx 1.667, and then come radii 88 and 1313, with growth 8/5=1.68/5 = 1.6 and 13/8=1.62513/8 = 1.625. Inside a single arc there is no growth at all, since every point of the arc in the square of side 55 is exactly 55 from that arc’s center, while the distance from the golden spiral to its center increases all along the curve. The growth factors of the drawing are the Fibonacci ratios, so they approach φ\varphi, but each arc is still a piece of a circle and the drawing never becomes the golden spiral.

Check yourself

  1. Continue the sequence up to F13F_{13} and find the ratio F13/F12F_{13}/F_{12} as a decimal. Is it above or below φ\varphi? Is it equal to φ\varphi?
Show the answer

From F8=21F_8 = 21 and F9=34F_9 = 34 the addition rule gives F10=55F_{10} = 55, F11=89F_{11} = 89, F12=144F_{12} = 144 and F13=233F_{13} = 233. The ratio is

233144=1.6180555…,\frac{233}{144} = 1.6180555\ldots,

while φ=1.6180339…\varphi = 1.6180339\ldots, so the ratio is above φ\varphi by about 0.00002160.0000216. That fits the pattern, since 233/144233/144 is r12r_{12} and the ratios with even nn lie above φ\varphi. The gap is well inside the bound φ−12≈0.0031\varphi^{-12} \approx 0.0031. The ratio is not equal to φ\varphi, because 233/144233/144 is a fraction of whole numbers and φ\varphi is irrational. No ratio of Fibonacci numbers is the golden ratio, only the limit of the ratios is.

  1. Keep the addition rule but start from 22 and 11. This gives the Lucas numbers 2,1,3,4,7,11,18,29,47,…2, 1, 3, 4, 7, 11, 18, 29, 47, \ldots. Do the ratios of neighbors still approach φ\varphi? The proof above used that every ratio is at least 11. Where does that fail here, and does it matter?
Show the answer

The ratios are 1/21/2, 33, 4/34/3, 7/47/4, 11/7≈1.571411/7 \approx 1.5714, 18/11≈1.636418/11 \approx 1.6364, 29/18≈1.611129/18 \approx 1.6111 and 47/29≈1.620747/29 \approx 1.6207, closing in on φ\varphi from alternate sides. The update rule r↦1+1/rr \mapsto 1 + 1/r comes from the addition rule alone, so it holds for these numbers too, for example 1+1/3=4/31 + 1/3 = 4/3. Only the first ratio, 1/21/2, is below 11. For it the factor 1/(rφ)1/(r\varphi) is 2/φ≈1.2362/\varphi \approx 1.236, which is more than 11, and the gap grows from ∣1/2−φ∣≈1.118\lvert 1/2 - \varphi \rvert \approx 1.118 to ∣3−φ∣≈1.382\lvert 3 - \varphi \rvert \approx 1.382. Every later ratio has the form 1+1/r1 + 1/r with r>0r > 0, so it is greater than 11, and from then on each step shrinks the gap by a factor of at most 1/φ1/\varphi. So the ratios still approach φ\varphi. The same argument works for any two positive starting numbers.

  1. Change the rule to an=an−1+2an−2a_n = a_{n-1} + 2a_{n-2}, starting from a0=0a_0 = 0 and a1=1a_1 = 1. Which number do the ratios an+1/ana_{n+1}/a_n approach now, and does any ratio reach it?
Show the answer

The terms are 0,1,1,3,5,11,21,43,85,171,…0, 1, 1, 3, 5, 11, 21, 43, 85, 171, \ldots and the ratios are 11, 33, 5/3≈1.66675/3 \approx 1.6667, 11/5=2.211/5 = 2.2, 21/11≈1.909121/11 \approx 1.9091, 43/21≈2.047643/21 \approx 2.0476, 85/43≈1.976785/43 \approx 1.9767 and 171/85≈2.0118171/85 \approx 2.0118. Dividing an+1=an+2an−1a_{n+1} = a_n + 2a_{n-1} by ana_n gives the update r↦1+2/rr \mapsto 1 + 2/r. A positive value that the update leaves unchanged satisfies r=1+2/rr = 1 + 2/r, so

r2−r−2=0,(r−2)(r+1)=0,\begin{aligned} r^2 - r - 2 &= 0, \\[0.4em] (r - 2)(r + 1) &= 0, \end{aligned}

and the positive solution is 22. The gaps obey

(1+2r)−2=2−rr,\Bigl(1 + \frac{2}{r}\Bigr) - 2 = \frac{2 - r}{r},

so each step flips the sign of the gap and divides its size by rr. The first two ratios are 11 and 33, and every ratio from the third on is 1+2/r1 + 2/r for some rr between 11 and 33, so it is at least 5/35/3. From then on each gap is at most 3/53/5 of the one before, and the ratios approach 22. No ratio equals 22. The rule gives an+1−2an=−(an−2an−1)a_{n+1} - 2a_n = -(a_n - 2a_{n-1}), and a1−2a0=1a_1 - 2a_0 = 1, so an+1−2ana_{n+1} - 2a_n is always 11 or −1-1 and the ratio an+1/ana_{n+1}/a_n is 2+1/an2 + 1/a_n or 2−1/an2 - 1/a_n. Changing the rule changes the limit, here from the irrational φ\varphi to the whole number 22, but the ratios still never reach it.