Cassini's identity is a mathematical identity for the Fibonacci numbers. It is a special case of Catalan's identity , with r = 1. The identity states that for the n-th Fibonacci number,
Proof by matrix theory
A quick proof may be given by recognising the LHS as a determinant of a 2×2 matrix of Fibonacci numbers. The result is almost immediate when the matrix is seen to be the n-th power of a matrix with determinant −1.
For n = m + 1 the result must be ( - 1)m + 1. Replacing in the equation we have
Rewriting the equation for an easier understanding we have that
|
|
|
| = - Fm + 1Fm + 1 + FmFm + 2
|
Recalling the formula for the Fibonacci numbers we know that
Therefore for n = m + 1
| Fm + 1
| = Fm + 1 - 1 + Fm + 1 - 2
|
|
| = Fm + Fm - 1
|