\(\newcommand{\pb}[0]{\overline{\phi}\vphantom{\phi}}\) \(\newcommand{\cb}[0]{\overline{C}}\) \(\newcommand{\pbn}[1]{\pb^{#1}}\)
Mathematical Properties of the Golden Ratio#
Defining the Golden Ratio and its Rational Conjugate#
The golden ratio \(\phi = \frac{1+\sqrt5}{2}\) and its rational conjugate \(\pb = \frac{1-\sqrt5}{2}\) are the solutions of the equation \(x^2 = x + 1 = 0\).
Basic Operations on \({\phi}\) and \({\pb}\)#
\({\phi}\) and \({\pb}\) relate in the following ways:
import sympy as sym
from IPython.display import display, Math
phiv = (1 + sym.sqrt(5))/2
phibarv = 1 - phiv
phi, phibar = sym.symbols(r'\phi \vphantom{}\overline{\smash{\phi}\vphantom{;}}')
print('The sum of the two ratios is 1')
display(sym.Eq(phi + phibar, phiv + phibarv))
print('Their difference is root 5')
display(sym.Eq(phi - phibar, phiv - phibarv))
print('Their product is -1')
display(sym.Eq(phi * phibar, (phiv * phibarv).simplify()))
The sum of the two ratios is 1
Their difference is root 5
Their product is -1
Powers of \({\phi}\) and \({\pb}\)#
Since \(\phi\) solves \(x^2 = x + 1 = 0\), it obeys the relation:
Multiply both sides by \(\phi\) to yield:
Now take advantage of \(\phi^2 = \phi + 1\) and substitute \(\phi + 1\) for \(\phi^2\):
So we have \(\phi^3\) and \(\phi^2\) each expressed as a multiple of \(\phi\) plus an integer. A pattern is emerging. We can repeat the same trick to yield a similar representation for \(\phi^4\):
Continuing for higher powers:
p = phi
for i in range(2, 9):
p = sym.expand(p * phi).subs(phi**2, phi + 1)
display(sym.Eq(phi ** i, p))
Amazingly, the coefficient on \(\phi\) and integer term are both Fibonacci numbers! It can be shown that in general
Since \(\pb\) is the other solution of \(x^2 = x + 1=0\), a similar result holds:
Formulas to Directly Calculate \(F_n\) and \(L_n\)#
Subtract \((\ref{eqn:phin})\) from \((\ref{eqn:phibn})\):
Hence we have arrived at Binet’s formula:
Recall the Lucas sequence \(L_n\) defined in terms of Fibonaccci numbers by the relation \(L_n = F_{n+1} + F_{n-1}\). Taking the sum of \((\ref{eqn:phin})\) and \((\ref{eqn:phibn})\) leads to the formula for Lucas numbers:
Thus the Lucas number analog to Binet’s formula is:
Other Formulations of \(\phi^n\) and \(\pbn{n}\)#
Compare the Lucas formula \((\ref{eq:4})\) to a slightly rearranged Binet formula:
Using \(\ref{eq:4}\) and \(\ref{eq:3'}\) to solve for \(\phi^n\) and \(\pbn{n}\) leads to another fascinating pair of results:
Reversal of the Lucas Sequence Definition#
One way to define the Lucas sequence is \(L_n = F_{n+1} + F_{n-1}\). Then it’s natural to wonder if \(L_{n+1}+L_{n-1}\) has any special meaning. Yes:
So we have another nice equation pair:
$\( F_{n+1}+F_{n-1} = L_n \text{ and } L_{n+1}+L_{n-1} = 5F_n \)$
\(\phi^n \sqrt 5\) and \(\pbn{n} \sqrt 5\)#
\(\phi^n \sqrt 5\) takes a special form when we apply the first equation of \((\ref{eq:5})\):
A similar result holds for \(\pb\), but recall that \(\pb = \frac{1-\sqrt 5}{2}\) is negative so there is a sign change. Thus we discover another pair of results: