Table of Contents
ISRN Signal Processing
Volume 2012 (2012), Article ID 631873, 5 pages
Research Article

The Kalman Filter for Complex Fibonacci Systems

Department of Electrical and Computer Engineering, Cleveland State University, 2121 Euclid Avenue, Cleveland, OH 44115, USA

Received 19 March 2012; Accepted 22 April 2012

Academic Editors: Y.-S. Chen and Y. Xiang

Copyright © 2012 John Donoghue. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


This paper investigates the characteristics of the Kalman filter for a broad class of complex Fibonacci systems and represents an extension to the complex domain of the state estimation problem for the real-valued Fibonacci system. Complex Fibonacci systems are obtained by modifying the real-valued Fibonacci recurrence relation to include complex coefficients, control and noise inputs, and a noisy output-measurement equation. Analytic expressions for the Kalman filter’s steady-state gain and error covariance matrices are obtained, and it is found that for a broad subclass of these complex systems the elements of the matrices are functions of the golden ratio.

1. Introduction

The 𝑛th number 𝐹(𝑛) in the real-valued Fibonacci sequence {0,1,1,2,3,5,8,13,} can be generated either recursively from the recurrence relation (starting with 𝐹(0)=0 and 𝐹(1)=1) 𝐹(𝑛)=𝐹(𝑛1)+𝐹(𝑛2),(1) or directly using Binet’s formula,𝜑𝐹(𝑛)=𝑛((1/𝜑))𝑛5,(2) where 𝜑, the golden ratio, is given by 𝜑=(1+5)/2. The Fibonacci numbers and the golden ratio are well known for their number-theoretic properties and for their appearances in natural phenomena and art, and they have also appeared more recently in a state estimation context [13]. In [1, 2], connections were made between the Fibonacci numbers, the golden ratio, and properties of the Kalman filter for certain classes of one- and multidimensional systems. In [3], the properties of the filter for the Fibonacci system itself—defined by adding a control input and a noisy measurement equation to the Fibonacci recurrence relation—were also found to involve the Fibonacci numbers and the golden ratio.

This paper continues in the vein of [3] and extends the results presented there to a broad class of suitably defined complex Fibonacci systems (which include, as a special case, the real-valued Fibonacci system studied in [3]). Complex systems are obtained by introducing complex coefficients and a noise and control input into the classical Fibonacci recurrence relation (1), along with a noisy measurement equation. The resulting systems’ impulse responses—for different complex coefficients—are different complex-valued Fibonacci sequences. Analytic expressions for the Kalman steady-state gain and a priori error covariance matrices are developed, and for a broad subclass of these systems it is shown that the elements of these matrices are functions of the golden ratio.

While the real-valued Fibonacci sequence is very well known, complex Fibonacci sequences are lesser known, although their number-theoretic properties have been investigated by several authors. Studies of complex sequences generated from the classical recurrence relation (1) either by starting with complex numbers rather than with 0 and 1 or by introducing complex coefficients into the recurrence can be found in [48], and studies of the properties of two-dimensional complex sequences can be found in [46, 9]. In this paper, the number-theoretic properties of complex sequences are not studied. Rather, by modifying the classical recurrence relation to create complex Fibonacci systems whose impulse responses are complex Fibonacci sequences, the recurrence relations themselves are cast into systems context and the properties of their Kalman filters are investigated.

2. Representations of Complex Fibonacci Systems

The complex Fibonacci systems considered here are obtained by modifying the Fibonacci recurrence relation given by (1) to include a control input (a noise input will be added later) and nonunity (and possibly complex) coefficients. Specifically, the systems considered are the second-order discrete-time systems with control input 𝑢(𝑛), output 𝑑(𝑛), and difference equation (as will be shown below, 𝑧1 and 𝑧2 are the locations of the system’s poles)𝑑𝑧(𝑛)=1+𝑧2𝑑(𝑛1)𝑧1𝑧2𝑑(𝑛2)+𝑢(𝑛1).(3) For different choices of 𝑧1 and 𝑧2, the system’s impulse response (which results when 𝑢(𝑛)=𝛿(𝑛) and there are zero initial conditions, that is, 𝑑(1)=0=𝑑(2)) will be different Fibonacci sequences. For example, if (𝑧1+𝑧2)=1 and 𝑧1𝑧2=1 (i.e., 𝑧1=𝜑 and 𝑧2=(1/𝜑), where 𝜑 is the golden ratio), then the impulse response is the classical, real-valued Fibonacci sequence 𝐹(𝑛) defined above; if (𝑧1+𝑧2)=(1+𝑗) (where 𝑗=1) and 𝑧1𝑧2=1, the impulse response is one of the complex Fibonacci sequences whose number-theoretic properties were studied in [8]. A subclass of systems introduced here and which is of particular interest to this work is one whose poles are at 𝑧1=𝜑𝑒𝑗𝛼 and 𝑧2=(1/𝜑)𝑒𝑗𝛼. These complex (not conjugate) poles are at the same distances from the origin as the poles 𝑧1=𝜑 and 𝑧2=(1/𝜑) of the classical, real-valued Fibonacci system, but lie along the ray that makes an angle 𝛼 with the real axis. The classical system is the special case of 𝛼=0. As shown below, this pair of complex poles gives rise to a subclass of systems whose impulse responses are complex Fibonacci sequences with magnitudes equal to the real-valued Fibonacci numbers but which rotate in the complex plane.

The system transfer function 𝐻(𝑧) for the general complex Fibonacci system can be obtained by z-transforming (3) to yield 𝑧𝐻(𝑧)=𝑧2𝑧1+𝑧2𝑧+𝑧1𝑧2=𝑧𝑧𝑧1𝑧𝑧2.(4) Expanding 𝐻(𝑧) in partial fractions yields1𝐻(𝑧)=𝑧1𝑧2𝑧𝑧𝑧1𝑧𝑧𝑧2(5) and since the transfer function 𝐻(𝑧) is the 𝑧-transform of the impulse response, taking the inverse 𝑧-transform of each term in (5) gives𝑧(𝑛)=𝑛1𝑧𝑛2𝑧1𝑧2.(6) If the poles 𝑧1=𝜑 and 𝑧2=(1/𝜑) for the real-valued Fibonacci system are substituted into this expression, (𝑛) becomes Binet’s formula given by (2) for calculating the real-valued Fibonacci numbers. If the generalized poles 𝑧1=𝜑𝑒𝑗𝛼 and 𝑧2=(1/𝜑)𝑒𝑗𝛼 for the complex-valued Fibonacci system mentioned above are substituted, (𝑛) becomes 𝑒(𝑛)=𝑗𝛼5𝜑𝑛𝑒𝑗𝑛𝛼1𝜑𝑛𝑒𝑗𝑛𝛼=𝑒𝑗(𝑛1)𝛼5𝜑𝑛1𝜑𝑛=𝐹(𝑛)𝑒𝑗(𝑛1)𝛼,(7) that is, the impulse response of this system is a complex-valued Fibonacci sequence whose magnitudes are the real-valued Fibonacci numbers and whose angles are (𝑛1)𝛼.

It is assumed in what follows that one pole of the system given by (3) is outside the unit circle and one is inside. The impulse responses of different systems in the class of Fibonacci systems defined by (3) are different versions of Fibonacci sequences, sequences which grow in magnitude, so one of the poles must be unstable. It will be assumed here that |𝑧1|>1.

If the states for the system in (3) are defined to be 𝑥1(𝑛)=𝑑(𝑛) and 𝑥2(𝑛)=𝑑(𝑛1), and if the system is now further modified to include an excitation noise input 𝑤(𝑛) and an output equation with measurement noise 𝑣(𝑛), that is, if (3) becomes𝑑𝑧(𝑛)=1+𝑧2𝑑(𝑛1)𝑧1𝑧2𝑑(𝑛2)+𝑢(𝑛1)+𝑤(𝑛1),(8a)𝑦(𝑛)=𝑥1(𝑛)+𝑣(𝑛),(8b)then a state description for the system is𝐱(𝑛+1)=𝐴𝐱(𝑛)+𝐵𝑢(𝑛)+𝐺𝑤(𝑛),(9a)𝑦(𝑛)=𝐶𝐱(𝑛)+𝑣(𝑛),(9b) where 𝑧𝐴=1+𝑧2𝑧1𝑧210,1010,𝐵=𝐺=,𝐶=(1,0).(9c)

3. The Kalman Filter for the Zero-Input-Noise System

The Kalman filter design considered in this section is for the case where the complex Fibonacci system given by (9a), (9b), and (9c) has measurement noise 𝑣(𝑛)—assumed to be white with variance 𝜎2𝑣—but no excitation noise (i.e., 𝑤(𝑛)=0). Letting 𝐾𝑛,𝑃𝑛, and 𝑃+𝑛 represent, in turn, the Kalman gain, the a priori state-estimate error covariance (the error covariance at time 𝑛 before the measurement 𝑦(𝑛) is used), and the a posteriori state-estimate error covariance (the error covariance after the measurement at 𝑛 is used), then (following [10, equations (5.19) and (5.26)], [11, Appendix 2.C], and noting that because the matrix 𝐴 can now be complex, its conjugate also appears in the Riccati equation) the a priori error covariance and filter gain are given by (where 𝐴𝑇 is the transpose of the complex conjugate of 𝐴) 𝑃𝑛=𝐴𝑃𝑛1𝐴𝑇𝐴𝑃𝑛1𝐶𝑇𝐶𝑃𝑛1𝐶𝑇+𝜎2𝑣1𝐶𝑃𝑛1𝐴𝑇𝐾,𝑛2,(10a)𝑛=𝑃𝑛𝐶𝑇𝐶𝑃𝑛𝐶𝑇+𝜎2𝑣1,𝑛1.(10b)If the unknown initial state at 𝑛=0 is assumed to have error covariance 𝑃+0, then the initial a priori error covariance at 𝑛=1 (to be used in (10a)) is given by 𝑃1=𝐴𝑃+0𝐴𝑇. It is assumed here that the first measurement is obtained at 𝑛=1.

The steady-state error covariance 𝑃 is the solution to (10a) with both 𝑃𝑛 and 𝑃𝑛1 replaced by 𝑃, and the steady-state gain 𝐾 follows from (10b). Using the Hamiltonian matrix approach as described in [12, page 203] to solve (10a) results in𝑃=𝜎2𝑣||𝑧1||2111𝑧11𝑧11||𝑧1||2,𝐾=||𝑧1||21||𝑧1||211𝑧1(11) (which can be verified most easily by direct substitution into (10a) and (10b)). That these results depend only on the unstable pole 𝑧1 is not surprising since as time goes on the system’s response is dominated by that pole. If attention is restricted to any Fibonacci system—real or complex—of the form (3) whose unstable pole 𝑧1 is anywhere in the 𝑧-plane at a distance 𝜑 from the origin, that is, 𝑧1=𝜑𝑒𝑗𝛼, and 𝑧2 is inside the unit circle, then the elements of the steady-state gain and error covariance will be functions of the golden ratio. Specifically, in this case (11) becomes𝑃=𝜎2𝑣𝜑𝑒𝑗𝛼𝑒𝑗𝛼1𝜑,𝐾=1𝜑𝑒𝑗𝛼𝜑2.(12) This result is a more general, complex version of a similar result found in [3] for the classical, real-valued Fibonacci system (which results here if 𝛼=0), and it makes it clear that for the real-valued system too the matrices depend only on the location of the system’s unstable pole at 𝑧1=𝜑.

Finally, if attention is further restricted to the subclass of systems whose poles are complex generalizations of the real pole locations of the real-valued system, and whose impulse responses are given by (7), that is, systems whose poles are 𝑧1=𝜑𝑒𝑗𝛼 and 𝑧2=(1/𝜑)𝑒𝑗𝛼, then it can be shown that under certain restrictions on the initial a posteriori error covariance and the measurement noise variance, the elements of the a priori error covariance are functions of the real-valued Fibonacci numbers. Specifically, if the initial a posteriori error covariance 𝑃+0 is selected to be the identity matrix, and the measurement variance 𝜎2𝑣=1, then successive iterations of (10a) show that𝑃𝑛=𝐹(𝑛+2)𝑒𝐹(𝑛+1)𝑗𝛼𝑒𝑗𝛼𝐹(𝑛)𝑃𝐹(𝑛+1),𝑛1,𝑛odd,𝑛=𝐹(𝑛+1)𝑒𝐹(𝑛)𝑗𝛼𝑒𝑗𝛼𝐹(𝑛+1)𝐹(𝑛+2),𝑛2,𝑛even,(13) where 𝐹(1)=1,𝐹(2)=1, and 𝐹(𝑛), given by (1), is the 𝑛th real-valued Fibonacci number. Since lim𝑛(𝐹(𝑛+1)/𝐹(𝑛))=𝜑, it is seen that either expression for 𝑃𝑛 leads to 𝑃 in the limit. Again, this result is a more general, complex version of a result found in [3] for the real-valued Fibonacci system. This class of complex Fibonacci systems—whose complex poles are at the same distances from the origin as the poles of the real-valued Fibonacci system—is studied in more depth in the next section, where an expression for 𝑃 is derived for the case of nonzero excitation noise.

4. The Kalman Filter for the 𝑧1=𝜑𝑒𝑗𝛼, 𝑧2=(1/𝜑)𝑒𝑗𝛼 Subclass of Systems with Excitation and Measurement Noise

4.1. System Characteristics

The difference equation for this subclass of systems is, from (8a),𝑑(𝑛)=𝑒𝑗𝛼𝑑(𝑛1)+𝑒𝑗2𝛼𝑑(𝑛2)+𝑢(𝑛1)+𝑤(𝑛1),(14) where the matrices in its state description are, from (9a), (9b), and (9c),𝑒𝐴=𝑗𝛼𝑒𝑗2𝛼10,1010,𝐵=𝐺=,𝐶=(1,0),(15) and where its impulse response—denoted here as𝐹𝛼(𝑛)—is, from (7),𝐹𝛼𝑒(𝑛)=𝑗(𝑛1)𝛼5𝜑𝑛1𝜑𝑛=𝐹(𝑛)𝑒𝑗(𝑛1)𝛼.(16) The magnitudes of this complex-valued Fibonacci sequence have the same values as the real-valued sequence, but as 𝑛 increases they rotate in the complex plane (counterclockwise for 𝛼>0, clockwise for 𝛼<0). This rotating sequence can be looked upon as the result of sampling a continuous spiral 𝐹𝛼(𝑡) that is readily obtained from (16) by replacing the integer variable 𝑛 by a real variable 𝑡 as was done in [1315] to generalize the real-valued sequence 𝐹(𝑛) to a generalized Fibonacci function𝐹(𝑡). Specifically, if Binet’s formula from (2) is substituted into (16) for 𝐹(𝑛), and then 𝑛 is replaced by 𝑡, the resulting generalized Fibonacci function 𝐹𝛼(𝑡) is given as𝐹𝛼(𝑡)=𝐹(𝑡)𝑒𝑗(𝑡1)𝛼=𝑒𝑗(𝑡1)𝛼5𝜑𝑡1𝜑𝑡.(17) While the function 𝐹(𝑡) produces the real-valued Fibonacci numbers when 𝑡 takes on positive integer values, 𝐹(𝑡) is, in general, a complex-valued function. A polar plot of the function 𝐹𝛼(𝑡) for 𝛼=𝜋/2 and 𝑡 positive is shown in Figure 1. The magnitudes of the function at the circled points are Fibonacci numbers and correspond to integer values for 𝑡 ranging from 0 to 7. The function 𝐹𝛼(𝑡) exhibits a spiral shape for both positive and negative values of 𝑡 and for all values of 𝛼 except 𝛼=0 (for 𝛼=0 the complex sequence 𝐹𝛼(𝑛) reduces to the real-valued sequence 𝐹(𝑛), and the generalized function 𝐹(𝑡) for that case has a sinus-like shape [1315]). For large positive 𝑡, 𝐹𝛼(𝑡) approaches a logarithmic spiral, that is, a spiral whose magnitude at any angle 𝜃 is given by 𝑟=𝑎𝑒𝑏𝜃, where 𝑎 and 𝑏 are arbitrary constants. Specifically, since for large 𝑡 the generalized function 𝐹𝛼(𝑡)(𝜑𝑡/5)𝑒𝑗𝛼(𝑡1), the angle for a particular 𝑡 is given as 𝜃=𝛼(𝑡1) and the magnitude is given as 𝑟=(𝜑𝑡/5)=(𝜑/5)𝜑𝜃/𝛼. Using the two expressions for 𝑟, one can follow [14] and write ln(𝑟)=ln(𝑎)+𝑏𝜃=ln(𝜑/5)+(ln(𝜑)/𝛼)𝜃, which in turn leads to 𝑎=𝜑/5and 𝑏=ln(𝜑)/𝛼. From (17) it can be seen that the speed with which 𝐹𝛼(𝑡) approaches the logarithmic spiral is the speed with which (1/𝜑𝑡) approaches zero. Finally, it is interesting to note that when 𝛼=𝜋/2, the approximating logarithmic spiral is a golden spiral. For this value of 𝛼, the complex Fibonacci numbers 𝐹𝛼(𝑛)—which are samples of the spiral 𝐹𝛼(𝑡) at integer values of 𝑡—are located alternately on the real and imaginary axes, that is, the spiral 𝐹𝛼(𝑡) goes through a quarter turn from number to number in the sequence. Examination of (16) shows that the ratio of the magnitudes of successive values of 𝐹𝛼(𝑛) is equal to the ratio of successive values of 𝐹(𝑛), and so it approaches 𝜑 for large 𝑛. Thus, for this case where 𝛼=𝜋/2, the magnitude of the spiral 𝐹𝛼(𝑡) increases through a quarter turn by a factor of approximately 𝜑, where an increase by a factor of exactly 𝜑 in a quarter turn is a characteristic of a golden spiral. The curve shown in Figure 1 is for this case of 𝛼=𝜋/2.

Figure 1: Polar plot of 𝐹𝛼(𝑡) for 𝛼=𝜋/2 and 𝑡 positive.
4.2. The Kalman Filter

In developing the Kalman filter for this subclass of complex Fibonacci systems—the systems given by (15)—it is assumed that the measurement noise 𝑣(𝑛) and the excitation noise 𝑤(𝑛) are uncorrelated, zero-mean, white noise processes with variances 𝜎2𝑣 and 𝜎2𝑤, respectively. The Riccati equation for the a priori error covariance 𝑃𝑛 is the same as (10a) except for an additional term to account for the presence of the excitation noise 𝑤(𝑛). Specifically, 𝑃𝑛 now satisfies 𝑃𝑛=𝐴𝑃𝑛1𝐴𝑇𝐴𝑃𝑛1𝐶𝑇𝐶𝑃𝑛1𝐶𝑇+𝜎2𝑣1𝐶𝑃𝑛1𝐴𝑇+𝜎2𝑤𝐺𝐺𝑇(18) and expression (10b) for the gain 𝐾𝑛 is unaltered. The steady-state error covariance 𝑃 is the solution to (18) with both 𝑃𝑛 and 𝑃𝑛1 replaced by 𝑃, and the steady-state gain 𝐾 follows from (10b). Again using the Hamiltonian matrix approach [12, page 203] to solve (18) results in 𝑃=𝜎2𝑣𝜎2𝜎+2𝑞2𝑒𝑗𝛼𝑒𝑗𝛼𝜎1𝑞2,(19) where 𝜎2=𝜎2𝑤/𝜎2𝑣 and the function 𝑞(𝜎2)=(1/2){(𝜎2+3)(𝜎2+1)(𝜎2+5)}. That (19) is a solution to (18) is verified most easily by direct substitution and use of the fact that 𝑞23𝑞+1=𝜎2𝑞. The function 𝑞 is real, and it is not difficult to show that 0<𝑞<1. When there is measurement noise but no excitation noise, 𝜎2=0, 𝑞(0)=1/𝜑2, and (19) reduces to (12), as expected. Also, if the system’s 𝐴 matrix and error covariance matrix are written as 𝐴(𝛼) and 𝑃𝑛(𝛼), respectively (to explicitly show their dependence on the locations of the poles), and if, further, it is noted from (15) that 𝐴(𝛼)=𝐴(𝛼), where 𝐴(𝛼) is the complex conjugate of 𝐴(𝛼), then it follows from conjugating both sides of (18) that 𝑃𝑛(𝛼)=(𝑃𝑛(𝛼))*. Finally, noting that the lim𝜎2𝑞(𝜎2)=0, if the excitation noise variance is large relative to the measurement noise variance, then the a priori error covariance on the first state approaches 𝜎2𝑤+2𝜎2𝑣 from below, and the error covariance on the second state approaches 𝜎2𝑣, also from below.

5. Summary and Future Work

This paper has determined analytic expressions for the Kalman filter’s steady-state gain and a priori error covariance matrices for a broad class of suitably defined complex Fibonacci systems. The impulse responses of these systems are complex Fibonacci sequences, and of particular interest to this work was the subclass of systems investigated in Section 4 whose pole locations are complex generalizations of the real pole locations of the classical, real-valued Fibonacci system. The impulse responses of this subclass of systems are Fibonacci sequences that rotate in the complex plane, and which can be viewed as being samples of continuous spirals that are approximately logarithmic. Although the goal in this paper was to study the characteristics of Kalman filters for suitably defined complex Fibonacci systems, and not to study the number-theoretic properties of the Fibonacci sequences which arose as impulse responses of those systems, it would nevertheless be interesting to investigate the properties of the spiral sequence given by (16). It may also be useful to investigate—as was done in [3]—the characteristics of controllers such as LQR and deadbeat controllers for complex Fibonacci systems.


  1. A. Benavoli, L. Chisci, and A. Farina, “Fibonacci sequence, golden section, Kalman filter and optimal control,” Signal Processing, vol. 89, no. 8, pp. 1483–1488, 2009. View at Publisher · View at Google Scholar · View at Scopus
  2. A. Capponi, A. Farina, and C. Pilotto, “Expressing stochastic filters via number sequences,” Signal Processing, vol. 90, no. 7, pp. 2124–2132, 2010. View at Publisher · View at Google Scholar · View at Scopus
  3. J. Donoghue, “State estimation and control of the Fibonacci system,” Signal Processing, vol. 91, no. 5, pp. 1190–1193, 2011. View at Publisher · View at Google Scholar · View at Scopus
  4. A. F. Horadam, “Complex Fibonacci numbers and Fibonacci quaternions,” The American Mathematical Monthly, vol. 70, no. 3, pp. 289–291, 1963. View at Google Scholar
  5. C. J. Harman, “Complex Fibonacci numbers,” The Fibonacci Quarterly, vol. 19, no. 1, pp. 82–86, 1981. View at Google Scholar
  6. S. Pethe and A. F. Horadam, “Generalised Gaussian Fibonacci numbers,” Bulletin of the Australian Mathematical Society, vol. 33, no. 1, pp. 37–48, 1986. View at Google Scholar
  7. H. Walser, The Golden Section, The Mathematical Society of America, Washington, DC, USA, 2001.
  8. I. J. Good, “Complex Fibonacci and Lucas numbers, continued fractions, and the square root of the golden ratio,” The Fibonacci Quarterly, vol. 31, no. 1, pp. 7–20, 1993. View at Google Scholar
  9. G. Berzsenyi, “Gaussian Fibonacci numbers,” The Fibonacci Quarterly, vol. 15, no. 3, pp. 233–236, 1977. View at Google Scholar
  10. D. Simon, Optimal State Estimation, John Wiley & Sons, Hoboken, NJ, USA, 2006.
  11. A. H. Sayed, Fundamentals of Adaptive Filtering, John Wiley & Sons, Hoboken, NJ, USA, 2003.
  12. G. Franklin, J. Powell, and M. Workman, Digital Control of Dynamic Systems, Addison-Wesley, Reading, Mass, USA, 2nd edition, 1990.
  13. P. J. deBruijn, “An extension of Fibonacci’s sequence,” The Fibonacci Quarterly, vol. 12, no. 3, pp. 251–258, 1974. View at Google Scholar
  14. F. J. Wunderlich, D. E. Shaw, and M. J. Jones, “Argand diagrams of extended Fibonacci and Lucas numbers,” The Fibonacci Quarterly, vol. 12, no. 3, pp. 233–234, 1974. View at Google Scholar
  15. A. F. Horadam and A. G. Shannon, “Fibonacci and Lucas curves,” The Fibonacci Quarterly, vol. 26, no. 1, pp. 3–13, 1988. View at Google Scholar