On Binet’s Formula
2025-09-15 | 2025-10-27
Estimated Reading Time: 42 minutes
The germ of an idea
My friend Solus “Sol” Simkin and I were flying to attend a conference of a learned society in Budapest, and to kill time, were engaged in a discussion on mathematics education.
Sol said, “Mathematics has morphed rapidly and almost completely, starting from the nineteenth century, into a towering discipline built with tier-upon-tier of abstractions. And that has robbed the subject of any link with the common man, who still equates mathematics with calculation.
“Even my mathematical friends do not profess familiarity with the discipline as a whole. They are experts only in their narrow turf of specialization. The wholeness of the subject can seldom be grasped—let alone appreciated—by mathematicians, to say nothing of the physicists, engineers, and economists.”
As we rued wistfully the disappearance of generalists, I asked Sol what solution he would propose to correct the situation.
“Start small,” he said. “Take a simple problem. Examine it afresh from several angles. Approach the solution from seemingly different directions. Solve the problem. And show that all solutions coincide. Nothing will impress the young student of mathematics about the internal self-consistency of the subject—built on logic granite—than this emergence of the same solution to the one problem, tackled from different angles.
“Promise me that you would start writing along these lines so that young innocent minds are reassured that the austere subject of mathematics also hides surpassing beauty. Expose the unity of mathematics. Showcase its elegance. Highlight its awesome, almost mystical strength, wedded to its alluring charm,” Sol made his request.
“What exactly do you suggest that I should do?” I quizzed him.
“If you are keen to pick up the gauntlet, let me spell it out for you”, Sol continued. “It is a shame that when two canals are fed from the same river, the public is unaware that the water source is the same.
There are many mathematical canals which are studied separately where students do not have the slightest inkling that their origin is the same. Mathematics will become much easier if the discrete and the continuous are studied together. But no! It is either discrete mathematics or calculus and analysis. This disparate presentation of material makes the subtle unity underlying mathematics difficult to grasp.”
“Have a heart Sol for the poor critters doing the studying. Students of Computer Science study Discrete Mathematics whereas students of Physics need continuum Mechanics and Analysis. We cannot stifle everyone with material that adds to the academic load without a commensurate return on their future professional needs.”
“You make an assumption that is not well-founded,” Sol countered. Not everything needs to be plumbed to its uttermost depths. But the fact that two canals arise from the same mathematical river must be made clear. To lose that conceptual connectivity is to impoverish education at the expense of practical utility,” Sol concluded.
Harnessed to the goal
It was only on my return flight, after much pedagogical tossing and turning, that I hit upon a neat little patch of mathematics that was both united and divided at the same time. To paraphrase Sol’s expression, a single mathematical river that fed two different canals, with few if any knowing of their common origin.
What I needed was to nail a core idea or anchor concept that would ensure that I did not stray too far afield and yet, which assured that the necessary appreciation of unity did not escape the reader. I could embellish as I felt inspired, but I should stay true to my course.
“I will choose a decent problem and solve it in a variety of ways to exhibit the richness of mathematics,” I told Sol. “I will start modestly, and perhaps a little under-ambitiously. Your idea is one that merits being worked upon time and time again to illustrate the self-consistency of mathematics. This might very well make for a series of blogs all threaded on the theme of ‘many approaches but one solution.’ I already have one example in mind. Let me work on it first,” I had replied.
“I will drive a peg in the mathematical ground using a single core idea.” I committed to Sol. “And I will show its surprising linkages to different areas of Mathematics. How it will affect young students, we will leave time to decide.”
And that is how this blog, on the derivation and proof of the Binet formula1 for the Fibonacci sequence2 by different methods first came to be.
We begin with some necessary preliminaries.
Sequences and Recurrence Relations
We define
A real-valued sequence
The defining characteristic of a sequence is its recurrence relation, explained below. You might recall two sequences from your middle or high school days [1]:
An arithmetic progression, is a sequence with an initial term,
, and a common difference . The th term of the sequence may be recursively defined as This is also called a recurrence relation. Any term in the sequence, except for the initial term(s), may be defined by the term or terms preceding it. Not surprisingly, a recurrence relation may also be called a difference equation.A geometric progression, is a sequence with an initial term
, and a common ratio . It too may be recursively defined by the recurrence relation
Classification of recurrence relations
The two sequences shown above are particularly simple but also very
useful. In general, a linear, constant coefficient sequence of
order
It should now be apparent that the arithmetic and geometric
progressions are both first order, linear, constant coefficient
recurrence relations. The geometric progression is homogeneous. The
arithmetic progression
Recurrence relations and differential equations
The terminology used to classify recurrence relations is reminiscent of that used to classify differential equations. In this blog, we will restrict the scope of both recurrence relations and differential equations to homogeneous, linear, constant coefficient equations, which are shift-invariant. Their underlying unity makes studying them together both insightful and productive.
What are the similarities and differences between these two mathematical objects?
A difference equation or recurrence relation embodies shifts
In a differential equation the derivative or
differential operator,
Since differential equations are generally more familiar, let us
first consider the equation
Next, consider a sequence defined as
We may infer that recurrence relations and differential equations are the discrete and continuous analogs of each other, with their characteristics and behaviour mirroring this fact.
The Fibonacci sequence
Let us take the Fibonacci sequence,
It is a sequence in which the current term is the sum of the two
preceding terms. Historically, there has been diversity in the choice of
the first two numbers of the Fibonacci sequence that are needed to fire
up the rest. Some started with
Using naive recursion on the recurrence relation to find the
The shift operator
Now, we capitalize on the analogy between functions and sequences,
between derivatives and shifts: the differential equation for
Replacing shifts with derivatives in Equation 1, we have the following:
Using the differential operator
The recurrence relation, Equation 1, and the differential equation, Equation 3, are the discrete and continuous analogs of each other. We will revisit this idea a little later in this blog.
The Characteristic Equation
Save for a difference in symbols, Equation 2 and
Equation 4 are identical in form. The common
polynomial on the left may now be written as
Equation 5 is called the characteristic equation and it applies to both difference equations and differential equations.5 Its roots hold the key to solving both types of equations.
The roots of the characteristic equation, denoted here by
Why is this so? As explained above in Recurrence
relations and differential equations, the eigenfunctions of
the differential operator are the exponentials,
In other words, for the case of the quadratic characteristic equation
with distinct roots,
The eigenfunction is the justification. Substitution yields the verification.
Brief summary
Certain sequences lead to recurrence relations, which in turn lead to characteristic equations, whose roots, raised to integer powers, lead to closed form expressions for the general term in the sequence [3].
For certain types of differential equations, the solutions are furnished by exponentials raised to powers that are the roots of the characteristic equation.
Deriving Binet’s formula
We use Binet’s formula to independently calculate the
Equation 5 is the characteristic equation for the
Fibonacci equation. When this quadratic is solved,
we get these two roots, say
From Equation 6, the solution for
the recurrence relation is:
Relationship with the number φ
The symbol
Let a line have a length of
This is the same quadratic as the characteristic equation for the Fibonacci sequence.
The solution of this quadratic leads to two roots, which from the
quadratic formula, are
The characteristic equation
This equivalence will come in handy later. It allows us to linearize expressions involving the roots of the characteristic equation in which a square term appears, and can lead to tractable solutions where there might otherwise be none.
We may now re-write Binet’s formula using these relations thus:
We are now ready to tackle proving Binet’s formula by three different methods. The first method is called the Principle of Mathematical Induction, which is what we look at next.
Principle of Mathematical Induction
Proof by induction [6] is a time-honoured method of algorithmic proof, but it has one drawback: we need the formula we are setting out to prove.
But how do we get that formula in the first place? Obviously by some other method or guesswork. We have just used the characteristic equation to derive Binet’s formula; so this is of little moment to us in this blog. But it is noteworthy that this lack is the Achilles heel of proof by induction, which works well once we have a formula in hand.
Assuming that we do have a formula, proof by induction is logically clear and procedurally simple. Let us go through mathematical induction step-by-step:
We need the formula8 or mathematical statement we are trying to prove. It must be a function of
. Let us call this formula .We must first verify that
is true for or some such starting value. This is called the base case.We then assume that
is true for some . Why do we use instead of here? Because we do not want to confound a variable we use in our proof— in this case—with the variable in the problem statement. So, while is just as arbitrary as , we go out of our way to use it to differentiate it from . The symbol is a placeholder in the proof that disappears once the proof is complete. Think of it like a dummy variable in definite integration, for example. The assumption we make in this step—that is true—is called the induction hypothesis.The next step is the meat of the method, called the induction step. In the language of mathematical logic, we need to prove that if
is true, then is also true, i.e., where the symbol stands for implies. Direct evaluation of will usually suffice as proof in this step.
Let us recapitulate. We have verified that
Proving Binet’s formula by induction
Let us now prove Binet’s formula by the principle of mathematical induction. To unclutter the working, we will use the version of the formula shown in Equation 17.
Since the Fibonacci recurrence involves three consecutive terms, we need two base cases to get the induction fired up. This is called strong induction. These base cases are:
Assuming that Binet’s formula holds for
and , we now show that it holds for by verifying that the recurrence yields the expected form: The magic in the second last line of Equation 21 is because of Equation 16.This completes the proof by mathematical induction. We have verified two base cases,
and , by direct evaluation of the Binet formula. The induction step involves . Since it holds for , it will hold for , and so on.
Just for curiosity, we could directly substitute
The Generating Function
A generating function is a clothesline on which we hang up a sequence of numbers for display.
–Herbert S Wilf
generatingfunctionology [7]
The generating
function [3,7] of a sequence provides a second
method for deriving a formula for the
We know from Equation 1 how the Fibonacci
sequence may be written. Suppose we want to define a power
series
Because
Moreover, since
Using the Fibonacci recurrence, and keeping Equations 22, 23 in mind, we
may write Equation 24 as
Equation 25 is the equation of the
generating function
From Figure 1, we know that the roots of
So, the partial fraction expansion of
By substituting well-chosen values for
If we set
Likewise, if we set
Substituting into Equation 28, we get
Equation 32
Algebra versus Analysis
We now need to digress a little so that we may progress toward our
goal. It requires a change in our mathematical perspective. In the
context of the sum to infinity of a geometric progression or a power
series like a Taylor series, we are concerned about something called the
radius
of convergence [1]. The equation
we are looking at is:
In our case, though, justification using this logic is a little slippery because convergence cannot be asserted.
So, we need an approach where the equality is claimed based on
algebraic manipulation within the ring of formal power
series,
Without getting too deep into formal power series, we can look at
Equation 33 as an algebraic equivalence. This
means that the RHS of Equation 33 is simply
another way of writing
The applicable constraint is that a formal power series
If we multiply both sides of Equation 33 by
You might think that this is quibbling over trivial matters. But it is not. Operations are either meaningful and allowed, or nonsensical and disallowed, depending on strictly defined contexts. The same symbols may be used for variables and placeholders: the former can taken on numerical values; the latter are symbols that could as well have been replaced by pictographs.11
Towards Binet’s formula
With that out of the way, we can work on the RHS of Equation 32. Using Equation 15
Similarly,
But
The Linear Algebra route
In the Fibonacci sequence, each term is defined as a linear combination of the two preceding terms. This alone should alert us to the possibility that the sequence may be constructed using linear algebra and matrices. And we would not be wrong.
Indeed, Strang [9, pp 340–341], derives the Binet formula from first principles using only the Fibonacci recurrence relation, Equation 1.
I will largely mirror Strang’s development to demonstrate the third way in which Binet’s formula may be derived. Whether or not “all roads literally lead to Rome today”, all derivations lead to the same formula of Binet.
Vectorizing the recurrence formula
The equation
We may write
We could start by defining a two-dimensional vector for the
two input terms so:
Note that because
Let us recapitulate for a moment. The input is naturally a
two-dimensional vector,
But what is
By introducing
The initial conditions are
Obtaining the eigenvalues
Each term of the Fibonacci recurrence is the result of
pre-multiplying the previous term by
To enable efficient evaluation of
The algorithm is as follows:
The
identity matrix is given byThe matrix
isThe characteristic polynomial is given by
But this polynomial is just in Equation 5. From Equation 8, we know the roots of this polynomial to be and .
It is interesting to note that in both instances, this polynomial is called the characteristic polynomial, although it has arisen in different mathematical contexts. Even more interesting, it is the same polynomial.
Determining the eigenvectors
We know that the eigenvalues of
Likewise, the other eigenvector is
Diagonalizing the matrix A
In my blog Eigenvalues
and Eigenvectors—Why are they important? I have explained how to
diagonalize a square matrix with distinct eigenvalues, as in the present
case. I will use the notation from that blog, except that the matrix
The algorithm is:
The matrix
has columns that are the eigenvectors, i.e.,𝑃 = [ 𝜑 𝜓 1 1 ] . The inverse of
, denoted by𝑃 , is [10]𝑃 − 1 𝑃 − 1 = 1 𝜑 − 𝜓 [ 1 − 𝜓 − 1 𝜑 ] . The diagonal matrix
is the one whose diagonal entries are the eigenvalues. In our case, this is𝐷 𝐷 = [ 𝜑 0 0 𝜓 ] . We assert that12
𝐴 = 𝑃 𝐷 𝑃 − 1 𝐴 𝑛 = 𝑃 𝐷 𝑛 𝑃 − 1 Recall from Equation 43 that
𝐮 𝑛 = 𝐴 𝑛 𝐮 0 = 𝑃 𝐷 𝑛 𝑃 − 1 𝐮 0 = 1 𝜑 − 𝜓 [ 𝜑 𝜓 1 1 ] [ 𝜑 𝑛 0 0 𝜓 𝑛 ] [ 1 − 𝜓 − 1 𝜑 ] [ 1 0 ] = 1 𝜑 − 𝜓 [ 𝜑 𝑛 + 1 𝜓 𝑛 + 1 𝜑 𝑛 𝜓 𝑛 ] [ 1 − 𝜓 − 1 𝜑 ] [ 1 0 ] = 1 𝜑 − 𝜓 [ 𝜑 𝑛 + 1 − 𝜓 𝑛 + 1 − 𝜑 𝑛 + 1 𝜓 + 𝜓 𝑛 + 1 𝜑 𝜑 𝑛 − 𝜓 𝑛 − 𝜓 𝜑 𝑛 + 𝜑 𝑛 𝜓 ] [ 1 0 ] = 1 𝜑 − 𝜓 [ 𝜑 𝑛 + 1 − 𝜓 𝑛 + 1 𝜑 𝑛 − 𝜓 𝑛 ] = [ 𝐹 𝑛 + 1 𝐹 𝑛 ] . ( 4 6 ) The last line in Equation 46 comes from the definition of
in Equation 37. Equating components,𝐮 𝑛 which is again Binet’s formula as stated in Equation 10, derived this time using linear algebra.𝐹 𝑛 = 1 𝜑 − 𝜓 [ 𝜑 𝑛 − 𝜓 𝑛 ] = 1 √ 5 [ 𝜑 𝑛 − 𝜓 𝑛 ] The matrix
when raised to the𝐴 th power actually embodies the𝑛 th and surrounding terms of Fibonacci sequence in its very entries. This will be discussed further in the section The Companion Matrix below.𝑛
This entire method generalizes naturally to any linear recurrence with constant coefficients.
Points to Ponder
It has been a long and arduous trek to get here. The wonder is that although the routes we took were mathematically different, the destination that we reached has been the same in all three cases. This is because the edifice of mathematics is logically consistent and unshakably strong. It is built to endure.
In this section, I have penned the thoughts that occurred to me while I was writing this blog. When computing Fibonacci numbers—especially using Binet’s formula—we need to bear in mind a few computational considerations.
For example, because of the
Approximation
Binet’s formula holds within itself a rough and ready
approximation of the
Accordingly, we may use
Precision and accuracy
When a computer program is written in any language there are several constraints to bear in mind:
Total memory available on the machine;
The size of the largest integers or floats that are supported in that language; and
Whether floats are used instead of integers, because their representation in binary is not always exact.
While Binet’s formula is a time-saver, it is not particularly suited
to computational accuracy. The reason is the appearance of the
irrational number
Estimating the limits of precision is a little tricky because it is
dependent on the machine, the programming language, and its
implementation. The limits will occur in the vicinity of the Fibonacci
numbers that are fifteen digits long. We estimate the number
The Fibonacci numbers having fifteen digits are for values of
The Julia script recur-binet-seventy.jl
illustrates the onset of rounding errors in my computer
implementation:
| n | Recurrence | Binet | Approximate Binet |
|---|---|---|---|
69 |
117669030460994 |
117669030460994 |
117669030460994 |
70 |
190392490709135 |
190392490709135 |
190392490709135 |
71 |
308061521170129 |
308061521170130 |
308061521170130 |
72 |
498454011879264 |
498454011879265 |
498454011879265 |
73 |
806515533049393 |
806515533049395 |
806515533049395 |
74 |
1304969544928657 |
1304969544928660 |
1304969544928660 |
75 |
2111485077978050 |
2111485077978055 |
2111485077978055 |
The Fibonacci number
Note that the values put out by the approximation in Equation 47 and the full Binet formula are identical in the above table.
But what is the remedy for the slippage in accuracy?
We resort to the types BigInt and BigFloat
provided by Julia with a configurable precision in bits. The code is
available in the file recur-binet-comp-big.jl.
The output from this file confirms that the first one huncred Fibonacci
numbers are the same whether computed by the recurrence formula or by
the Binet formula. We have thus overcome the limitations in precision
and accuracy, at least for the first one hundred Fibonacci numbers.
The Companion Matrix
There is, in addition, a sneaky method by which we may implement the recurrence formula using matrices: it is solely integer-based and does not suffer from floating point rounding errors. And it may be optimized for speed.
The matrix
So, the matrix
If we can raise the integer-valued matrix
A Julia script to do just that is available as fibonacci-matrix.jl,
and it has been used to compute the first one hundred Fibonacci numbers
correctly, thanks to integer arithmetic and fast matrix algorithms.
The perceptive among you might have realized that we are really using the original definition of Equation 1 here, and you would be correct. This method is attractive simply because linear algebra has spawned many efficient algorithms that make matrix computations fast and reliable in comparison to naive recursion using the original recurrence relation.
Integers from irrationals?
The Fibonacci sequence is composed entirely of integers, whereas
Binet’s formula embodies the irrational number
The answer is a resounding “Yes!”. There are three ways to look at this, outlined below.
Recurrence Relation
The defining recurrence relation itself, Equation 1, enforces each Fibonacci number to the be the sum of the preceding two integers. Because addition among the integers is a closed operation, the result is also guaranteed to be an integer.
Exponentiating the Companion Matrix
The top left entry of
Algebra of the Binet formula
While the above arguments are solid, the presence of
In its literal form, Binet’s formula, Equation 10, is:
This is purely a sum, quotient, and exponentiation of numbers that needs to be evaluated for any given𝐹 𝑛 = 1 √ 5 ( [ 1 + √ 5 2 ] 𝑛 − [ 1 − √ 5 2 ] 𝑛 ) . . The only variable is the exponent𝑛 ∈ ℕ 𝟘 . Also, note the generous presence of the irrational number𝑛 in the numerator and denominator of the expression. Our goal is to prove to ourselves, unlikely though it might seem, that this expression will always evaluate to an integer.√ 5 The first step is to make the substitutions
Binet’s formula may now be written as𝜑 = 1 + √ 5 2 𝜓 = 1 − √ 5 2 . 𝐹 𝑛 = 𝜑 𝑛 − 𝜓 𝑛 √ 5 . The second step is to observe that
. If we substitute( 𝜑 − 𝜓 ) = √ 5 with this expression, we end up with [14]:√ 5 𝐹 𝑛 = [ 𝜑 𝑛 − 𝜓 𝑛 𝜑 − 𝜓 ] . ( 5 1 ) We are used to replacing symbols with numbers when evaluating formulae. But why would we proceed in the opposite direction and replace perfectly clear numbers with symbols? This change of viewpoint converts a purely numerical exercise into fodder for abstract algebra. To appreciate the logic, we need to digress a little to review the idea of a polynomial.
In high school and early university, we have known polynomials as expressions containing variables that can be used to solve equations and graph functions. Untethering polynomials from these tasks frees us to view and study them as mathematical objects in their own right. And the insights therefrom are rewarding.
In abstract algebra, a polynomial represents a structure in which two elements—the coefficients and the something else—are multiplied together and summed. This generic polynomial may be defined as
where𝑟 ≜ 𝑟 𝑛 𝑡 𝑛 + 𝑟 𝑛 − 1 𝑡 𝑛 − 1 + ⋯ + 𝑟 1 𝑡 + 𝑟 0 and𝑟 0 … 𝑟 𝑛 ∈ ℂ while𝑛 ∈ ℕ 𝟘 is undefined [15]. We call𝑡 an indeterminate.𝑡 Why such a contrived definition? To facilitate a deeper study of the polynomial bereft of its utilitarian underpinnings. The polynomial is simply a sum of products where one of the multiplicands is a complex number.14 The other multiplicand may be generalized. The set of polynomials so defined forms what is known as a ring of polynomials,
. [15].ℂ [ 𝑡 ] How did we get
and𝜑 ? They are the two distinct roots to the equation𝜓 , which is a non-zero polynomial having only integer coefficients. Because the coefficient of its highest degree term—also called the leading coefficient—is one,𝑃 ( 𝑥 ) = 𝑥 2 − 𝑥 − 1 = 0 is called a monic polynomial.𝑃 ( 𝑥 ) Now, for any quadratic equation
, with roots𝑎 𝑥 2 + 𝑏 𝑥 + 𝑐 = 0 and𝛼 , we know that the sum of the roots𝛽 and the product of the roots,( 𝛼 + 𝛽 ) = − 𝑏 𝑎 . In our case, the roots of( 𝛼 𝛽 ) = 𝑐 𝑎 are the numbers𝑃 ( 𝑥 ) = 0 and𝜑 . Note that because the coefficients of𝜓 are known—even if we do not know the values of𝑃 ( 𝑥 ) and𝜑 —we do know the sum and the product of the roots as:𝜓 This is something quite powerful, even if under-recognized. The known coefficients of the polynomial tell us something about the unknown roots even before the equation is solved.𝜑 + 𝜓 = − ( − 1 ) 1 = 1 𝜑 𝜓 = − 1 1 = − 1 . When we do solve for
, as already known, we get two distinct roots𝑃 ( 𝑥 ) Although these roots of𝜑 = 1 + √ 5 2 𝜓 = 1 − √ 5 2 embody the irrational number𝑃 ( 𝑥 ) = 0 , they are called, believe it or not, algebraic integers because√ 5 is a monic polynomial with integer coefficients.𝑃 ( 𝑥 ) We have now converted the Binet formula from a number needing to be evaluated into a ratio of polynomials in
and𝜑 , even though they are both numbers themselves rather than variables. In any other context, if we had talked of a polynomial where the “variables” are numbers, it would have been laughable. But the vantage of abstract algebra allows us to do this to better understand the algebraic structure of the expression. We can now view𝜓 as a polynomial in two indeterminates [15]𝐹 𝑛 Let
and𝑁 ( 𝜑 , 𝜓 ) = 𝜑 𝑛 − 𝜓 𝑛 be the numerator and denominator polynomials in Binet’s formula. If we interchanged𝐷 ( 𝜑 , 𝜓 ) = 𝜑 − 𝜓 and𝜑 in each of them, we will get the negative of the original:𝜓 Because of this change in sign, both𝑁 ( 𝜑 , 𝜓 ) = 𝜑 𝑛 − 𝜓 𝑛 𝑁 ( 𝜓 , 𝜑 ) = 𝜓 𝑛 − 𝜑 𝑛 = − ( 𝜑 𝑛 − 𝜓 𝑛 ) = − 𝑁 ( 𝜑 , 𝜓 ) 𝐷 ( 𝜑 , 𝜓 ) = 𝜑 − 𝜓 𝐷 ( 𝜓 , 𝜑 ) = 𝜓 − 𝜑 = − ( 𝜑 − 𝜓 ) = − 𝐷 ( 𝜑 , 𝜓 ) . and𝑁 ( 𝜑 , 𝜓 ) are called alternating or anti-symmetric polynomials. But when we take their quotient, the two changes of sign in the numerator and denominator, cancel out and the result is a symmetric polynomial:𝐷 ( 𝜑 , 𝜓 ) 𝑓 ( 𝜑 , 𝜓 ) = 𝑁 ( 𝜑 , 𝜓 ) 𝐷 ( 𝜑 , 𝜓 ) = [ 𝜑 𝑛 − 𝜓 𝑛 𝜑 − 𝜓 ] = 𝑁 ( 𝜓 , 𝜑 ) 𝐷 ( 𝜓 , 𝜑 ) = [ 𝜓 𝑛 − 𝜑 𝑛 𝜓 − 𝜑 ] = 𝑓 ( 𝜓 , 𝜑 ) . As written in Equation 51, Binet’s formula is now a quotient of polynomials which, taken as a whole, is symmetric, not in some unknown variables, but in the known algebraic integers
and𝜑 as “indeterminates”. We may re-verify this symmetry by interchanging𝜓 and𝜑 to get the original polynomial again, by multiplying both numerator and denominator by𝜓 :( − 1 − 1 ) 𝑓 ( 𝜑 , 𝜓 ) = [ 𝜑 𝑛 − 𝜓 𝑛 𝜑 − 𝜓 ] ; m u l t i p l y b y ( − 1 − 1 ) = [ − 1 ( 𝜑 𝑛 − 𝜓 𝑛 ) − 1 ( 𝜑 − 𝜓 ) ] = [ 𝜓 𝑛 − 𝜑 𝑛 𝜓 − 𝜑 ] = 𝑓 ( 𝜓 , 𝜑 ) . Binet’s formula is a symmetric, polynomial of degree
, with integer coefficients, in two algebraic integers,𝑛 − 1 and𝜑 as the “indeterminates”.𝜓 Why do we need
to be a monic polynomial? And what is so special about it? Because only for monic polynomials with𝑃 ( 𝑥 ) do the sums and products of roots equal simple integer coefficients, rather than rational numbers. Hark back to the sum and product of the roots. The generic quadratic𝑎 = 1 becomes monic when𝑎 𝑥 2 + 𝑏 𝑥 + 𝑐 = 0 . And the sum and product of its roots become𝑎 = 1 The sum and product of its roots are simply the signed coefficients of𝜑 + 𝜓 = − 𝑏 𝑎 = − 𝑏 1 = − 𝑏 𝜑 𝜓 = 𝑐 𝑎 = 𝑐 1 = 𝑐 . ( 5 2 ) , which are integers.𝑃 ( 𝑥 ) Why do we need a symmetric polynomial in
? The fundamental theorem of symmetric polynomials [15,16] states that every symmetric polynomial may be expressed as a linear sum of elementary symmetric polynomials.𝑓 ( 𝜑 , 𝜓 ) And, pray, what are these latter mathematical objects? For
and𝜑 they are the sum and product of these two:𝜓 , and( 𝜑 + 𝜓 ) . The expression( 𝜑 𝜓 ) —which is a symmetric polynomial in𝜑 𝑛 − 𝜓 𝑛 𝜑 − 𝜓 and𝜑 , with integer coefficients—can be expressed as a polynomial in the elementary symmetric polynomials𝜓 and( 𝜑 + 𝜓 ) with integer coefficients.( 𝜑 𝜓 ) Because
and( 𝜑 + 𝜓 ) = 1 , the symmetric polynomial representing the Binet formula, when expressed in terms of elementary symmetric polynomials, evaluates to an integer.( 𝜑 𝜓 ) = − 1 There is an additional, clean way of demonstrating this using long division. The quotient in Equation 51 may be shown to be exact, without remainder, and a symmetrical polynomial itself:
Mere inspection will reveal this as a symmetric polynomial and there is no remainder. The quotient is expressible as a linear sum of the elementary symmetric polynomials( 𝜑 𝑛 − 𝜓 𝑛 ) = ( 𝜑 − 𝜓 ) ( 𝜑 𝑛 − 1 𝜓 0 + 𝜑 𝑛 − 2 𝜓 + ⋯ + 𝜑 1 𝜓 𝑛 − 2 + 𝜑 0 𝜓 𝑛 − 1 ) i . e . , 𝜑 𝑛 − 𝜓 𝑛 𝜑 − 𝜓 = 𝑛 − 1 ∑ 𝑘 = 0 𝜑 𝑛 − 1 − 𝑘 𝜓 𝑘 . and( 𝜑 + 𝜓 ) = 1 , and will therefore be an integer itself.( 𝜑 𝜓 ) = − 1 Whew! We have at long last demonstrated that the formula of Binet does give us integers for all
.𝑛
Comment on polynomial long division
It is striking that polynomial long division has been featured twice in our mathematical journey. Once, it was used in the context of formal power series to obtain a generating function. The second time, it was used in the ring of symmetric polynomials to assert the integral value of the Binet formula. In both cases, it has aided in prising open results that would otherwise have been more tedious to obtain.
Centrality of the characteristic equation.
The polynomials
Continuous function version
Is there a continuous function, whose values at integers give us the Fibonacci sequence? In such a case, the Fibonacci sequence will be a discretely-sampled version of that function. This tempting thought occurred to me as I was writing this blog.
When the Fibonacci numbers are shown as data points and plotted with
piecewise linear interpolation by Gnuplot, we get an
impressive curve connecting the values of the Fibonacci sequence. It is
shown in Figure 2. The downside
is that we do not have analytic function to describe this curve.
But is there a better way? Yes, but it is not trivial.
In the section Recurrence
relations and differential equations earlier in this blog, we
explored the analogy between recurrence relations and differential
equations and their respective “eigenfunctions”:
The logical way forward is to define a continuous-valued function
based on the Binet formula. But such a function does not have a standard
name or symbol. Nevertheless, it is sensible to christen it the
Binet-Fibonacci function
However, because
There is no complication with
The real part of
Likewise, the imaginary part of
It is now easy to verify that the imaginary part vanishes at integer
values of
This interesting derivation shows that although
Key Takeaways
The Fibonacci Equation 1 is a second order, linear, constant coefficient, homogeneous recurrence relation. These attributes are similar to those of second order, linear, constant coefficient, homogeneous differential equations. Both share the characteristic equation as a gateway to their solution.
The numbers
Binet’s formula solves the Fibonacci recurrence and, in this blog, it is derived and proved using:
mathematical induction;
generating functions; and
linear algebra.
The interlocking structural integrity of mathematics is thereby demonstrated because all three approaches lead to the same formula of Binet.
Because the irrational number
The curve
Even more interesting is that at integers
If these—and possibly other—properties cause astonishment in you, welcome to the club! The mansion of Mathematics holds within itself countless such treasures.
Websites worth visiting
The Fibonacci numbers hold within themselves an endless fascination. I will likely blog about them again in the future. Meanwhile, I have collated here some links to websites that expound on the properties of the Fibonacci numbers.
Dr Ron Knott, a mathematician affiliated with the University of Surrey, has probably the most exhaustive website dedicated to the Fibonacci numbers [17]. Definitely a site that should be browsed.
Another interesting mathematical website that should be visited is Alexander Bogomolny’s Cut the Knot website [18]. Not only does it show how the Binet formula may be derived from generating functions, it contains a wealth of insights on many other mathematical topics.
The Fibonacci Quarterly [19] is a serious journal on matters Fibonacci that has been published since 1963. This shows the evergreen interest on the Fibonacci numbers and their impact on many aspects of Nature and life in general.
Phil Nowell’s blog [20] shows how to derive the
th term of the Fibonacci sequence using linear algebra, as we have done above in the section The Linear Algebra route.𝑛 For a discussion on the accuracy and efficiency of computing the Binet formula, see this blog by Robin Houston [21].
A multiplicity of helpful viewpoints and answers is contained in this Mathematics StackExchange question [22]. It is an example of how interactions on the Web may be helpful, enriching, and courteous.
The next two links were selected to show that fundamental questions could either attract many answers [23] or just a few answers [24]. Regardless, the exchange of ideas will almost always be enriching. Even if there is no explicit guarantee of correctness, it is unlikely that grossly wrong answers will be permitted to prevail on Mathematics StackExchange.
Two other websites that discuss Binet’s formula, one with a mathematical flavour [25] and the other with a computing flavour [26] are worth a visit as well.
By now you would have realized that any references to the Fibonacci numbers can only give a limited and very partial glimpse into the subject. I am planning on writing further on the history and other aspects of these fascinating numbers, and will include additional relevant references in those blogs.
Epilogue
It was a good five months before I caught up with Sol after our encounter on the flight to Budapest. I told him that my conceptualization and fulfilment of his request had taken considerable effort and time.
“Next time, I will be more circumspect in acquiescing to your requests,” I told Sol.
“Did you yourself learn anything in the process?” he asked quizzically.
“Yes, of course,” I replied truthfully.
“Understand then, that as long as you keep learning, you are keeping fit mentally and intellectually. Have you ever taught anything to anyone without learning something yourself? Is this not true of even the simplest of ideas, like those of addition or multiplication?” Sol queried me.
I could not but agree.
That was when whatever regrets I had—of time spent and effort expended—in writing this blog on Binet’s formula, evaporated from my awareness. Explaining to another was definitely the surest form of learning and consolidating my own knowledge.
Acknowledgements
Since I work in splendid isolation, the AI chatbots proved to be very good mathematical companions along the way, as this blog took shape. The free resource of Wolfram Alpha is also cheerfully acknowledged.
I am especially grateful to my son, Nandakumar Chandrasekhar, for creating all the Julia scripts which are used in this blog, and which are freely downloadable by clicking on the hyperlinks.
Feedback
Please email me your comments and corrections.
A PDF version of this article is available for download here:
References
Binet is pronounced as bee-nay.↩︎
Fibonacci is pronounced as fi-buh-naa-chee.↩︎
Kindly review the blogs Differential Equations and Eigenvalues and Eigenvectors—Why are they important? if you need to these review concepts.↩︎
In my earlier blog Euler Two with Julia, I have discussed programs written in the
Juliaprogramming language that computed sums of the even-valued Fibonacci numbers whose values do not exceed four million. The interested reader is directed to that blog.↩︎The qualifications are: homogeneous, linear, second order, constant coefficient, shift-invariant equations.↩︎
This has also been explained in my previous blog Eigenvalues and Eigenvectors—Why are they important?↩︎
See my blog Differential Equations.↩︎
See my blog Expressions, Equations, and Formulae.↩︎
In the process of researching for this blog, I came across a post by Austin Rochford [8] that is well written and that mirrors almost exactly the approach I had in mind.↩︎
The same result could have been obtained by use of the quadratic formula.↩︎
I have digressed thus far because I found the mathematical justification for Equation 33 on the basis of geometric series questionable where convergence cannot be asserted. It was only upon digging deeper did I stumble upon a different way of looking at the same expression. And the second viewpoint is the child of abstract algebra, which would not have found its way into most high school mathematical syllabuses.↩︎
See my blog Eigenvalues and Eigenvectors—Why are they important?.↩︎
See my blog The Two Most Important Numbers: Zero and One if this statement sounds cryptic to you.↩︎
Complex numbers also include real numbers.↩︎
See my blog A Tetrad of Captivating Problems to find out why.↩︎