- Research
- Open Access
- Published:

# A new Fibonacci type collocation procedure for boundary value problems

*Advances in Difference Equations*
**volume 2013**, Article number: 262 (2013)

## Abstract

In this study, we present a new procedure for the numerical solution of boundary value problems. This approach is mainly founded on the Fibonacci polynomial expansions, the so-called pseudospectral methods with the collocation method. The applicability and effectiveness of our proposed approach is shown by some illustrative examples. Then, the results indicate that this method is very effective and highly promising for linear differential equations defined on any subinterval of the real domain.

**MSC:** 35A25.

## 1 Introduction

A lot of applications, which are of fundamental interest in numerical analysis, have been made on the expansion of an analytic function $f(x)$ in a series of the form

where the set $\{{\phi}_{k}(x)\}$ is a special trial polynomial (or function) basis and ${a}_{k}$’s are constant coefficients [1–9]. One of the main utilization areas of the expansions with different basis can be seen in the solution methods for the differential equations. The idea of finding the solution of a differential equation in form (1.1) goes back, at least, to Lanczos (1938) [10, 11]. Then, three main techniques have been evolved from that idea, and each of these techniques has its own advantages in the implementation (details and applications of those can be seen in [11–13]). Here, we deal only with the pseudospectral (collocation) type method. In the pseudospectral method, the solution of a differential equation is expressed as a linear combination of the polynomials in the basis set. Therefore, the coefficients in the combination are determined by the use of certain discrete points called *collocation points*. Thus, the accuracy of the approximation and the efficiency of its implementation are closely related to the choice of the grid points and the basis set. Determination of an appropriate set of basis should be kept in view of some rules. The most common one of those rules is that the geometry or the field of applicability determines the basis set. Then, collocation points are chosen according to the basis (for details see [12]). For example, the well-known basis functions of the Fourier expansion $\{1,cos(nx),sin(nx),\dots \}$ are all periodic. Thus, Fourier expansion is good for the solutions of the problems with periodic behaviors [12–14]. On the other hand, since the Chebyshev polynomials of the first kind and Legendre polynomials are orthogonal in the interval $[-1,1]$, non-periodic problems on the range of $[-1,1]$ can be solved by the collocation method, the matrix method or the Tau method [15–23]. However, when the problem is posed on an unbounded interval, alternative strategies are developed for the solution, such as domain truncation [24] and choosing a basis functions intrinsic to an infinite interval as Sinc [25], Hermite [26], and exponential Chebyshev [27]) or to semi-infinite interval as rational Chebyshev [28–30], and Laguerre [31].

In this work, our aim is to develop a new type of collocation method for the boundary value problems (BVPs) on any subinterval of the real axis requiring no domain translation. For this reason, Fibonacci polynomials that have, so far, never been used as a basis for the collocation are considered. Even though this new approach is mainly intended for the BVPs, it can be successfully implemented on the initial value problems (IVPs).

Byrd [32] has defined the set $\{{\phi}_{k}(t)\}$ ($k=0,1,\dots $) as Fibonacci polynomials that satisfy the recurrence relation

with the initial conditions

He has also noted that in the special case of $t=\frac{1}{2}$, the relation above with the initial conditions reduces to the recurrence equation of Fibonacci numbers denoted by ${\phi}_{k}(\frac{1}{2})$ or ${F}_{k}$. However, equation (1.2) with conditions (1.3) has a wide use as the relation of Pell polynomials [33]. Therefore, the well-known and common recurrence relation for the Fibonacci polynomials $\{{F}_{k}(x)\}$ ($k=0,1,\dots $) is given [34]

with the initial conditions ${F}_{0}(x)=0$, ${F}_{1}(x)=1$. It is also noteworthy that the polynomial ${\phi}_{k}(t)$ turns into ${F}_{k}(x)$ when the variable change of $t=\frac{x}{2}$ is used in equation (1.2).

Byrd [32] has investigated some fundamental properties and certain applications for the expansion of an analytic function in a series of basic set of Fibonacci polynomials. Moreover, many other important properties of those polynomials are also studied by Falcon and Plaza in [34, 35] and references therein.

## 2 Properties of the Fibonacci polynomials

The *k*-Fibonacci numbers and polynomials have been defined as follows:

**Definition 1** [34]

For any positive real number *k*, the *k*-Fibonacci sequence is defined recurrently by

with the initial conditions

**Definition 2** [34]

If *k* is a real variable *x* in equation (2.1), then it is obvious that ${F}_{k,n}={F}_{x,n}$. Therefore, the corresponding Fibonacci polynomials are given by the following general formula

from which the first few Fibonacci polynomials can be deduced as

The next proposition indicates the relation between the derivatives of the Fibonacci polynomials followed by the integral equation.

**Proposition 1** [35]

*The equality*

*holds for all natural numbers* *n*. *Thus*, *in view of* (2.3), *it is easy to verify the integral equation*

*If* *n* *is even*, *it can be seen that* ${F}_{n+1}(0)={F}_{n-1}(0)=1$ *and*, *for odd* *n’s*, *we write* ${F}_{n+1}(0)={F}_{n-1}(0)=0$.

### Function approximation

Now, suppose that $f(x)$ is a continuous function that can be expressed in terms of the Fibonacci polynomials

Then, a truncated expansion of *N* Fibonacci polynomials can be written

where the Fibonacci row vector $\mathbf{F}(x)$ and the Fibonacci coefficient column vector **A** are given, respectively, by

### Matrix relations of the derivatives of approximation

The *k* th order derivative of the function (2.5) can be written as

When the infinite sum is truncated to *N* terms, we get the approximation

where ${a}_{r}^{(0)}={a}_{r}$, ${f}^{(0)}(x)=f(x)$ and

shows the coefficient vector of the polynomial approximation of *k* th order derivative.

**Proposition 2** *Let* $f(x)$ *and* *kth order derivative be the functions given by* (2.6) *and* (2.9), *respectively*. *Then*, *there exists a relation between the Fibonacci coefficient matrices as*

*where*
**D**
*is*
$N\times N$
*operational matrix for the derivative defined by*

*Proof* By using the integral relation (2.4), the Fibonacci coefficients ${a}_{r}^{(k)}$ and ${a}_{r}^{(k+1)}$ hold the equality,

Therefore, it is easy to see the following recursive relations

Then, summing the terms on both sides gives

or, equivalently,

Now, when we assume ${a}_{r}^{(k)}=0$ for $r>N$, the system (2.14) can be transformed into the matrix form,

Thus, using equality (2.15) allows us to write

where ${\mathbf{A}}^{(0)}=\mathbf{A}$. □

**Corollary** *From equations* (2.9) *and* (2.11), *it is clear that the* *kth order derivative of the function can be expressed in terms of the Fibonacci coefficients as follows*

## 3 Solution procedure for the ODE’s

Consider the general linear homogeneous differential equation of *n* th order,

To apply our proposed procedure to the problem, we assumed that the unknown function $y(x)$ and its derivatives have similar forms as given in (2.16). Then, we define the collocation points so that

Substituting these points (3.2) into the problem (3.1) gives

The system (3.3) can be, alternatively, written in the matrix form

where

Therefore, *k* th order derivatives of the unknown function at the collocation points can be written in the matrix form as

or, equivalently,

Consequently, substituting (3.5) in equation (3.4), yields the fundamental matrix equation for problem (3.1),

which corresponds to a system of $(N)$ algebraic equations for the unknown Fibonacci coefficients ${a}_{r}$, $r=1,2,\dots ,N$. In other words, when we denote the expression in the sum by $\mathbf{W}=[{w}_{r,s}]$ for $r=1,2,\dots ,N$ and $s=1,2,\dots ,N$, we get

Thus, the augmented matrix of equation (3.7) becomes

When the initial or boundary conditions are considered to be

it is seen from the relation (2.16), that

where

Therefore, the augmented matrix of the specified conditions is

Consequently, (3.8) together with (3.12) can be written in the new augmented matrix form

This form can also be achieved by replacing some rows of the matrix (3.8) by the rows of (3.12) or adding those rows to the matrix (3.8), provided that $det({\mathbf{W}}^{\ast})\ne 0$. Finally, the vector **A** (thereby vector of the coefficients ${a}_{r}$) is determined by applying some numerical methods designed especially to solve the system of linear equations. On the other hand, when the singular case $det({\mathbf{W}}^{\ast})=0$ appears, the least square methods are inevitably available to reach the best possible approximation. Therefore, the approximated solution can be obtained. This would be the Fibonacci series expansion of the solution to the problem (3.1) with specified conditions.

## 4 Numerical results

In this part, three illustrative examples have been shown in order to clarify the findings of the previous section. Then, the solutions ${y}^{a}(x)$ of the proposed method are compared with the exact solutions ${y}^{e}(x)$ in the tables and in the corresponding figures. It is noted here that the number of collocation points in the examples is indicated by the capital letter *N*.

**Example 1** Consider the linear nonhomogeneous IVP [36],

with the initial conditions

for which the exact solution is ${y}^{e}(x)=sinx$.

Table 1 shows the absolute errors of the proposed method for $N=7$ and $N=9$. The approximation for $N=6$ and the exact solution are also plotted in Figure 1.

**Example 2** Consider now a linear homogeneous BVP

with Neumann boundary conditions

which is known to have the exact solution ${y}^{e}(x)={e}^{-{x}^{2}}$.

Table 2 shows the comparison of the ${L}_{\mathrm{\infty}}$ errors of the proposed approach, B-spline wavelet based algorithm [38] and Haar wavelet based algorithm [37]. The graphical representation of the approximation ${y}^{a}$ with the exact solution ${y}^{e}$ is also presented in Figure 2. It is very promising to note that although ${L}_{\mathrm{\infty}}$ errors of the solutions to the problem (4.2) for $N=64$ in [37, 38] are given 2.5E−05 and 5.9E−06, respectively, almost the same level of error has been achieved by the Fibonacci approach as 9.22035E−05 only for $N=9$.

**Example 3** Consider a linear nonhomogeneous BVP

with boundary conditions

whose exact solution is ${y}^{e}(x)={sin}^{2}(x)$. A comparison of ${L}_{\mathrm{\infty}}$ errors of our approach and B-spline wavelet algorithm [38] has been shown in Table 3 for different values of *N*. The exact and the approximate solutions of Example 3 for $N=9$ are plotted in Figure 3.

## 5 Conclusion

In this study, our aim is to propose a novel matrix method, based on the Fibonacci polynomials. Therefore, the operational matrices of derivative **D** and Fibonacci coefficient matrix **F** are introduced in the main body of the study. The matrix **D** is computationally very attractive, since it has few nonzeros above the main diagonal. Additionally, unlike the Chebyshev polynomial method, the Fibonacci approach does not require interval translation of the problem to an appropriate domain. Then, the reliability and efficiency of the method are verified by some illustrative examples of the boundary value problems. When the results are compared with some existing methods, the proposed method demonstrates its power in accuracy.

## References

- 1.
Lebedev NN:

*Special Functions and Their Applications*. Prentice Hall, London; 1965. (Revised Eng. ed.: translated and edited by Silverman, RA (1972)) - 2.
Yudell LL Mathematics in Science and Engineering 53. In

*The Special Functions and Their Approximations, vol. 2*. Academic Press, New York; 1969. (Bellman, R (ed.)) - 3.
Wang ZX, Guo DR:

*Special Functions*. World Scientific, Singapore; 1989. - 4.
Sahin A, Dag I, Saka B: A B-spline algorithm for the numerical solution of Fisher’s equation.

*Kybernetes*2008, 37(2):326–342. 10.1108/03684920810851212 - 5.
Doha EH, Bhrawy AH, Saker MA: On the derivatives of Bernstein polynomials: an application for the solution of high even-order differential equations.

*Bound. Value Probl.*2011., 2011: Article ID 829543 - 6.
Celik I, Gokmen G: Approximate solution of periodic Sturm-Liouville problems with Chebyshev collocation method.

*Appl. Math. Comput.*2005, 170(1):285–295. 10.1016/j.amc.2004.11.038 - 7.
Sezer M, Karamete A, Gulsu M: Taylor polynomial solutions of systems of linear differential equations with variable coefficients.

*Int. J. Comput. Math.*2005, 82(6):755–764. 10.1080/00207160512331323336 - 8.
Kadalbajoo MK, Aggarwal VK: Numerical solution of singular boundary value problems via Chebyshev polynomial and B-spline.

*Appl. Math. Comput.*2005, 160: 851–863. 10.1016/j.amc.2003.12.004 - 9.
Lamnii A, Mraoui H, Sbibih D, Tijini A, Zidna A: Spline collocation method for solving linear sixth-order boundary value problems.

*Int. J. Comput. Math.*2008, 85(11):1673–1684. 10.1080/00207160701543392 - 10.
Lanczos C: Trigonometric interpolation of empirical and analytic functions.

*J. Math. Phys.*1938, 17: 123–199. - 11.
Fornberg B:

*A Practical Guide to Pseudospectral Methods*. Cambridge University Press, New York; 1996. - 12.
Boyd JP:

*Chebyshev and Fourier Spectral Methods*. 2nd edition. Dover, New York; 2000. - 13.
Canuto C, Hussaini MY, Quarteroni A, Zang TA:

*Spectral Methods: Fundamentals in Single Domains*. Springer, Berlin; 2006. - 14.
Agarwal RP, O’Regan D:

*Ordinary and Partial Differential Equations with Special Functions Fourier Series and Boundary Value Problems*. Springer, New York; 2009. - 15.
Sezer M, Kaynak M: Chebyshev polynomial solutions of linear differential equations.

*Int. J. Math. Educ. Sci. Technol.*1996, 27(4):607–618. 10.1080/0020739960270414 - 16.
Sezer M, Doğan S: Chebyshev series solutions of Fredholm integral equations.

*Int. J. Math. Educ. Sci. Technol.*1996, 27(5):649–657. 10.1080/0020739960270503 - 17.
Akyüz A, Sezer M: A Chebyshev collocation method for the solution of linear integro-differential equations.

*Int. J. Comput. Math.*1999, 72: 491–507. 10.1080/00207169908804871 - 18.
Sezer M, Kesan C: Polynomial solutions of certain differential equations.

*Int. J. Comput. Math.*2000, 76(1):93–104. 10.1080/00207160008805011 - 19.
Mason JC, Handscomb DC:

*Chebyshev Polynomials*. CRC Press, Boca Raton; 2003. - 20.
Akyüz-Daşcıoğlu A: Chebyshev polynomial solutions of systems of linear integral equations.

*Appl. Math. Comput.*2004, 151: 221–232. 10.1016/S0096-3003(03)00334-5 - 21.
Celik I: Solution of magnetohydrodynamic flow in a rectangular duct by Chebyshev collocation method.

*Int. J. Numer. Methods Fluids*2011, 66(10):1325–1340. 10.1002/fld.2316 - 22.
Gurefe N, Kocer EG, Gurefe Y: Chebyshev-Tau method for the linear Klein-Gordon equation.

*Int. J. Phys. Sci.*2012, 7(43):5723–5728. - 23.
Bhrawy AH, A-Shomrani MM: A shifted Jacobi-Gauss-Lobatto collocation method for solving nonlinear fractional Langevin equation involving two fractional orders in different intervals.

*Bound. Value Probl.*2012., 2012: Article ID 62 - 24.
Li H, Ma H: Shifted Chebyshev collocation domain truncation for solving problems on an infinite interval.

*J. Sci. Comput.*2003, 18(2):191–213. 10.1023/A:1021146530553 - 25.
Parand K, Dehghan M, Pirkhedri A: Sinc-collocation method for solving the Blasius equation.

*Phys. Lett. A*2009, 373: 4060–4065. 10.1016/j.physleta.2009.09.005 - 26.
Yalcinbas S, Aynigul M, Sezer M: A collocation method using Hermite polynomials for approximate solution of pantograph equations.

*J. Franklin Inst.*2011, 348: 1128–1139. 10.1016/j.jfranklin.2011.05.003 - 27.
Kaya, B, Kurnaz, A, Koc, AB: Exponential Chebyshev Polynomials. Paper presented at the 3rd Conferences of the National Ereğli Vocational High School, University of Selcuk, Ereğli, 28–29 April (2011) (in Turkısh)

- 28.
Boyd JP: Rational Chebyshev spectral methods for unbounded solutions on an infinite interval using polynomial-growth special basis functions.

*Comput. Math. Appl.*2001, 41: 1293–1315. - 29.
Guo B, Shen J, Wang Z: Chebyshev rational spectral and pseudospectral methods on a semi-infinite interval.

*Int. J. Numer. Methods Eng.*2002, 53: 65–84. 10.1002/nme.392 - 30.
Sezer M, Gülsu M, Tanay B: Rational Chebyshev collocation method for solving higher-order linear ordinary differential equations.

*Numer. Methods Partial Differ. Equ.*2011, 27(5):1130–1142. 10.1002/num.20573 - 31.
Gulsu M, Gurbuz B, Ozturk Y, Sezer M: Laguerre polynomial approach for solving linear delay difference equations.

*Appl. Math. Comput.*2011, 217: 6765–6776. 10.1016/j.amc.2011.01.112 - 32.
Byrd PF: Expansion of analytic functions in polynomials associated with Fibonacci numbers.

*Fibonacci Q.*1963, 1(1):12–29. - 33.
Horadam AF, Mahon BJM: Pell and Pell-Lucas polynomials.

*Fibonacci Q.*1985, 23(1):7–20. - 34.
Falcon S, Plaza A: The

*k*-Fibonacci sequence and the Pascal 2-triangle.*Chaos Solitons Fractals*2007, 33(1):38–49. 10.1016/j.chaos.2006.10.022 - 35.
Falcon S, Plaza A: On

*k*-Fibonacci sequences and polynomials and their derivatives.*Chaos Solitons Fractals*2009, 39: 1005–1019. 10.1016/j.chaos.2007.03.007 - 36.
Sezer M, Gulsu M: Solving high-order linear differential equations by a Legendre matrix method based on hybrid Legendre and Taylor polynomials.

*Numer. Methods Partial Differ. Equ.*2010, 26(3):647–661. - 37.
Siraj-ul-Islam , Aziz I, Sarler B: The numerical solution of second-order boundary-value problems by collocation method with the Haar wavelets.

*Math. Comput. Model.*2010, 52: 1577–1590. 10.1016/j.mcm.2010.06.023 - 38.
Lakestani M, Dehghan M: The solution of a second-order nonlinear differential equation with Neumann boundary conditions using semi-orthogonal B-spline wavelets.

*Int. J. Comput. Math.*2006, 83(8–9):685–694. 10.1080/00207160601025656

## Acknowledgements

The authors would like to thank the editor and referees for their valuable comments and remarks, which led to a great improvement of the article. Also, authors would like to thank the Selcuk University and TUBITAK for their support. Authors reveal here that this study was partially presented orally at the International Congress in Honour of Professor Hari M Srivastava, August 23-26, 2012, Bursa, Turkey.

## Author information

## Additional information

### Competing interests

The authors declare that they have no competing interests.

### Authors’ contributions

The authors have equal contributions to each part of this article. All the authors read and approved the final manuscript.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

**Open Access** This article is distributed under the terms of the Creative Commons Attribution 2.0 International License (https://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

## About this article

#### Received

#### Accepted

#### Published

#### DOI

### Keywords

- ordinary differential equations
- spectral methods
- collocation method
- Fibonacci polynomials