# Sinc-Galerkin method for approximate solutions of fractional order boundary value problems

- Aydin Secer
^{1}Email author, - Sertan Alkan
^{2}, - Mehmet Ali Akinlar
^{1}and - Mustafa Bayram
^{1}

**2013**:281

**DOI: **10.1186/1687-2770-2013-281

© Secer et al.; licensee Springer. 2013

**Received: **27 September 2013

**Accepted: **4 December 2013

**Published: **30 December 2013

## Abstract

In this paper we present an approximate solution of a fractional order two-point boundary value problem (FBVP). We use the sinc-Galerkin method that has almost not been employed for the fractional order differential equations. We expand the solution function in a finite series in terms of composite translated sinc functions and some unknown coefficients. These coefficients are determined by writing the original FBVP as a bilinear form with respect to some base functions. The bilinear forms are expressed by some appropriate integrals. These integrals are approximately solved by sinc quadrature rule where a conformal map and its inverse are evaluated at sinc grid points. Obtained results are presented as two new theorems. In order to illustrate the applicability and accuracy of the present method, the method is applied to some specific examples, and simulations of the approximate solutions are provided. The results are compared with the ones obtained by the Cubic splines. Because there are only a few studies regarding the application of sinc-type methods to fractional order differential equations, this study is going to be a totally new contribution and highly useful for the researchers in fractional calculus area of scientific research.

### Keywords

fractional order two point boundary value problem sinc-Galerkin method fractional derivatives quadrature rule Riemann-Liouville derivative Caputo derivative Mathematica## 1 Introduction

Fractional calculus is one of the most novel types of calculus having a broad range of applications in many different scientific and engineering disciplines. Order of the derivatives in the fractional calculus might be any real number which separates the fractional calculus from the ordinary calculus where the derivatives are allowed only positive integer numbers. Therefore fractional calculus might be considered as an extension of ordinary calculus. Fractional calculus is a highly useful tool in the modeling of many sorts of scientific phenomena including image processing, earthquake engineering, biomedical engineering and physics. In the references [1] and [2] (amongst many others), fundamental concepts of fractional calculus and applications of it to different scientific and engineering areas are studied in a quite neat manner. Interested reader can read those references in conjunction with the present paper to have a detailed information of this significantly useful type of calculus.

Even though fractional calculus is a highly useful and important topic, a general solution method which could be used at almost every sorts of problems has not yet been established. Most of the solution techniques in this area have been developed for particular sorts of problems. As a result, a single standard method for problems regarding fractional calculus has not emerged. Therefore, finding reliable and accurate solution techniques along with fast implementation methods is useful and active research area. Some well-known methods for the analytical and numerical solutions of fractional differential and integral equations might be listed as power series method [3], differential transform method [4] and [5], homotopy analysis method [6], variational iteration method [7] and homotopy perturbation method [8]. Typical numerical methods including collocation, finite differences and elements are among the most popular numerical techniques, and detailed information about most of these techniques can be obtained from, for instance, [9–11] and the aforementioned references.

In this paper we propose a new solution technique for approximate (or alternatively saying numerical) solution of a fractional order two-point boundary value problem (FBVP). We use the sinc-Galerkin method that has almost not been employed for the fractional order differential equations. We expand the solution function in a finite series in terms of composite translated sinc functions and some unknown coefficients. These coefficients are determined by writing the original FBVP as a bilinear form with respect to some basis functions. Bearing in mind the methodology of the sinc-Galerkin method, these bilinear forms are expressed by some integrals. These integrals are approximately solved by the sinc quadrature rule where a conformal map and its inverse are evaluated at sinc grid points. Finally, it is proved that some new results are obtained as a new contribution to the subject.

Although there are several studies about the applications of sinc function-based methods to deterministic boundary value problems such as [12] and [13], the applicability of the sinc functions-based methods has not been investigated in detail at the numerical solutions of fractional order differential equations. The most significant methods employing sinc functions at the numerical solution of differential equations might be given as the sinc-Nyström method [14] and the method presented in [15].

The rest of this paper is organized as follows. Section 2 reviews the underlying ideas and basic theorems of fractional calculus and sinc-Galerkin technique. In Section 3 we apply the sinc-Galerkin method to a general two-point boundary value problem. In the same section, the obtained results are presented as two new theorems. In Section 4 we present three specific examples in order to illustrate the applicability and accuracy of the present method. Simulations of the approximate solutions are provided. The results are compared with the ones obtained by the Cubic splines. Because there are only a few studies regarding the application of sinc-type methods to fractional order differential equations, this study is going to be a totally new contribution and highly useful for the researchers in fractional calculus area of scientific research. We illustrate the results in the simulations and tables. We complete the paper with a conclusion section where we briefly overview the present paper and discuss some future extensions of this research.

## 2 Preliminaries

### 2.1 Fractional calculus

In this section, firstly we present the definitions of the Riemann-Liouville and the Caputo of fractional derivative. Also, we give the definition of integration by parts of fractional order by using these definitions.

**Definition 2.1** [16]

*α*be a positive real number,

*n*be the integer satisfying $n-1\le \alpha <n$, and Γ be the Euler gamma function. Then:

- i.The left and right Riemann-Liouville fractional derivatives of order
*α*of $f(x)$ are given as${}_{a}D_{x}^{\alpha}f(x)=\frac{1}{\mathrm{\Gamma}(n-\alpha )}\frac{{d}^{n}}{d{x}^{n}}{\int}_{a}^{x}{(x-t)}^{n-\alpha -1}f(t)\phantom{\rule{0.2em}{0ex}}dt$(2.1)

- ii.The left and right Caputo fractional derivatives of order
*α*of $f(x)$ are given as${}_{a}{}^{C}D_{x}^{\alpha}f(x)=\frac{1}{\mathrm{\Gamma}(n-\alpha )}{\int}_{a}^{x}{(x-t)}^{n-\alpha -1}{f}^{(n)}(t)\phantom{\rule{0.2em}{0ex}}dt$(2.3)

respectively.

Now we can write the definition of integration by parts of fractional order by using the relations given in (2.1)-(2.4).

**Definition 2.2** [16]

*f*is a function such that $f(a)=f(b)=0$, we can write

### 2.2 Sinc basis functions properties and quadrature interpolations

In this section, we recall notations and definitions of the sinc function, state some known results, and derive useful formulas that are important for this paper.

#### The sinc basis functions

**Definition 2.3** [17]

is called the *sinc function*.

**Definition 2.4** [17]

*f*be a function defined on ℝ, and let $h>0$. Define the series

*Whittaker cardinal function*of

*f*. They are based on the infinite strip ${D}_{s}$ in the complex plane

*z*-plane, onto the infinite strip ${D}_{S}$, where

#### Sinc function interpolation and quadratures

**Definition 2.5** [18]

*C*, and let $\partial {D}_{E}$ denote the boundary of ${D}_{E}$. Let

*a*,

*b*be points on $\partial {D}_{E}$ and

*ϕ*be a conformal map ${D}_{E}$ onto ${D}_{S}$ such that $\varphi (a)=-\mathrm{\infty}$ and $\varphi (b)=\mathrm{\infty}$. If the inverse map of

*ϕ*is denoted by

*φ*, define

and ${z}_{k}=\phi (kh)$, $k=\pm 1,\pm 2,\dots $ .

**Definition 2.6** [18]

*F*that are analytic in ${D}_{E}$ and satisfy

**Theorem 2.7** [18]

*Let*Γ

*be*$(0,1)$, $F\in B({D}_{E})$,

*then for*$h>0$

*sufficiently small*,

*where*

For the sinc-Galerkin method, the infinite quadrature rule must be truncated to a finite sum. The following theorem indicates the conditions under which an exponential convergence results.

**Theorem 2.8** [18]

*If there exist positive constants*

*α*,

*β*

*and*

*C*

*such that*

*then the error bound for quadrature rule*(2.10)

*is*

*M*is the integer value which specifies the grid size, then

We used these theorems to approximate the integrals that arise in the formulation of the discrete systems corresponding to a second-order boundary value problem.

## 3 The sinc-Galerkin method

where ${}_{0}{}^{C}D_{x}$ is the Caputo fractional derivative operator.

*h*. The unknown coefficients ${c}_{k}$ in (3.2) are determined by orthogonalizing the residual with respect to the basis functions,

*i.e.*,

*weight function*and it is convenient to take

for the case of second-order problems.

A complete discussion on the choice of the weight function can be found in [17].

**Lemma 3.1** [19]

*Let*

*ϕ*

*be the conformal one*-

*to*-

*one mapping of the simply connected domain*${D}_{E}$

*onto*${D}_{S}$

*given by*(2.8).

*Then*

The method of approximating the integrals in (3.3) begins by integrating by parts to transfer all derivatives from *y* to ${S}_{k}$. The following theorems, which can easily be proved by using Lemma 3.1 and Definition 2.2, are used to solve equation (3.1).

**Theorem 3.2** [20]

*The following relations hold*:

*and*

*where*

*and*

**Theorem 3.3**

*For*$0<\alpha <1$,

*the following relation holds*:

*where* $K(x)=\lambda (x){S}_{k}(x)w(x)$, $\xi (t)=ln(\frac{t-x}{1-t})$.

*Proof*The inner product with sinc basis element is given by

where $h=\pi /\sqrt{M}$. This completes the proof. □

Replacing each term of (3.3) with the approximation defined in (3.4)-(3.7), replacing $y({x}_{k})$ with ${c}_{k}$ and dividing by *h*, we obtain the following theorem.

**Theorem 3.4**

*If the assumed approximate solution of boundary value problem*(3.1)

*is*(3.2),

*then the discrete sinc*-

*Galerkin system for the determination of the unknown coefficients*${\{{c}_{k}\}}_{k=-M}^{M}$

*is given by*

## 4 Examples

In this section, three problems that have homogeneous and nonhomogeneous boundary conditions will be tested by using the present method. In all the examples, we take $d=\pi /2$, $\alpha =\beta =1/2$, $N=M$.

**Example 4.1**Consider the linear fractional boundary value problem

*L*and

*M*are presented in Figure 2.

**Numerical results for**
$\mathit{L}\mathbf{=}\mathbf{5}$
**,**
$\mathit{M}\mathbf{=}\mathbf{5}$

x | Exact solution | Approx. sol. | Error |
---|---|---|---|

0 | 0 | 0 | 0 |

0.1 | −0.09 | −0.0892201 | 7.79∗10 |

0.2 | −0.16 | −0.162342 | 2.34∗10 |

0.3 | −0.21 | −0.211748 | 1.74∗10 |

0.4 | −0.24 | −0.239574 | 4.25∗10 |

0.5 | −0.25 | −0.248273 | 1.72∗10 |

0.6 | −0.24 | −0.238808 | 1.19∗10 |

0.7 | −0.21 | −0.210588 | 5.87∗10 |

0.8 | −0.16 | −0.16155 | 1.55∗10 |

0.9 | −0.09 | −0.0895538 | 4.46∗10 |

1 | 0 | 0 | 0 |

**Numerical results for**
$\mathit{L}\mathbf{=}\mathbf{40}$
**,**
$\mathit{M}\mathbf{=}\mathbf{100}$

x | Exact solution | Approx. sol. | Error |
---|---|---|---|

0 | 0 | 0 | 0 |

0.1 | −0.09 | −0.0899988 | 1.15∗10 |

0.2 | −0.16 | −0.159998 | 1.50∗10 |

0.3 | −0.21 | −0.209998 | 1.85∗10 |

0.4 | −0.24 | −0.239999 | 1.43∗10 |

0.5 | −0.25 | −0.249999 | 1.04∗10 |

0.6 | −0.24 | −0.239999 | 1.27∗10 |

0.7 | −0.21 | −0.209999 | 5.20∗10 |

0.8 | −0.16 | −0.16000015 | 1.59∗10 |

0.9 | −0.09 | −0.0900004 | 3.50∗10 |

1 | 0 | 0 | 0 |

**Example 4.2** [21]

*L*and

*M*are presented in Figure 3.

**Numerical results for**
$\mathit{L}\mathbf{=}\mathbf{40}$
**,**
$\mathit{M}\mathbf{=}\mathbf{100}$

x | Exact solution | Approx. sol. (SGM) | Error (SGM) |
---|---|---|---|

0 | 0 | 0 | 0 |

0.125 | −0.000213623 | −0.000213621 | 2.06∗10 |

0.250 | −0.00292969 | −0.002929685 | 2.19∗10 |

0.375 | −0.0123596 | −0.012359615 | 3.61∗10 |

0.500 | −0.03125 | −0.0312499 | 5.73∗10 |

0.625 | −0.0572205 | −0.057220453 | 5.40∗10 |

0.750 | −0.0791016 | −0.07910156 | 2.47∗10 |

0.875 | −0.0732727 | −0.073272705 | 2.61∗10 |

1 | 0 | 0 | 0 |

**Numerical results for**
$\mathit{L}\mathbf{=}\mathbf{5}$
**,**
$\mathit{M}\mathbf{=}\mathbf{5}$

x | Exact solution | Approx. sol. (SGM) | Approx. sol. (CS) | Error (SGM) | Error (CS) (h = 1/8) |
---|---|---|---|---|---|

0 | 0 | 0 | 0 | 0 | 0 |

0.125 | −0.000213623 | 0.0000672651 | −2.21∗10 | 2.80∗10 | 1.99∗10 |

0.250 | −0.00292969 | 0.00179474 | −7.01∗10 | 4.72∗10 | 4.08∗10 |

0.375 | −0.0123596 | −0.00807839 | −1.81∗10 | 4.28∗10 | 5.83∗10 |

0.500 | −0.03125 | −0.0282408 | −3.81∗10 | 3.00∗10 | 6.85∗10 |

0.625 | −0.0572205 | −0.0540496 | −6.40∗10 | 3.17∗10 | 5.83∗10 |

0.750 | −0.0791016 | −0.0772466 | −8.46∗10 | 1.85∗10 | 5.56∗10 |

0.875 | −0.0732727 | −0.0763662 | −7.65∗10 | 3.09∗10 | 3.26∗10 |

1 | 0 | 0 | 0 | 0 | 0 |

**Example 4.3**Consider the linear fractional boundary value problem

*L*and

*M*are presented in Figure 4.

**Numerical results for**
$\mathit{L}\mathbf{=}\mathbf{5}$
**,**
$\mathit{M}\mathbf{=}\mathbf{5}$

x | Exact solution | Approx. sol. | Error |
---|---|---|---|

0 | 0 | 0 | 0 |

0.1 | 0.011 | 0.0161428 | 5.14∗10 |

0.2 | 0.048 | 0.0460293 | 1.97∗10 |

0.3 | 0.117 | 0.1116584 | 5.34∗10 |

0.4 | 0.224 | 0.2208625 | 3.13∗10 |

0.5 | 0.375 | 0.374859 | 1.40∗10 |

0.6 | 0.576 | 0.5760087 | 8.77∗10 |

0.7 | 0.833 | 0.8300524 | 2.94∗10 |

0.8 | 1.152 | 1.1473504 | 4.64∗10 |

0.9 | 1.539 | 1.540036 | 1.03∗10 |

1 | 0 | 0 | 0 |

**Numerical results for**
$\mathit{L}\mathbf{=}\mathbf{50}$
**,**
$\mathit{M}\mathbf{=}\mathbf{100}$

x | Exact solution | Approx. sol. | Error |
---|---|---|---|

0 | 0 | 0 | 0 |

0.1 | 0.011 | 0.0109568 | 4.32∗10 |

0.2 | 0.048 | 0.0479142 | 8.58∗10 |

0.3 | 0.117 | 0.11687 | 1.30∗10 |

0.4 | 0.224 | 0.223831 | 1.69∗10 |

0.5 | 0.375 | 0.374798 | 2.01∗10 |

0.6 | 0.576 | 0.575775 | 2.24∗10 |

0.7 | 0.833 | 0.832751 | 2.48∗10 |

0.8 | 1.152 | 1.15176 | 2.40∗10 |

0.9 | 1.539 | 1.53884 | 1.61∗10 |

1 | 0 | 0 | 0 |

## 5 Conclusion

In this paper the sinc-Galerkin method has been employed to obtain approximate solutions of a general fractional order two-point boundary value problem. The method uses typical techniques of the Galerkin method such as series expansion but exploits the advantages of the sinc functions which make it much more efficient than the traditional interpolation-based numerical techniques. In order to illustrate the applicability and accuracy of the method to the real scientific problems, the method has been applied to some special examples, and simulations of the approximate solutions have been provided. The computational results have been compared with the ones obtained by the Cubic splines. Experimental results indicate the strength of the present method. In the future we plan to extend the present numerical solution algorithm to some other linear and nonlinear fractional boundary value problems.

## Declarations

### Acknowledgements

The authors express their sincere thanks to the referee(s) for the careful and details reading of the manuscript and very helpful suggestions that improved the manuscript substantially.

## Authors’ Affiliations

## References

- Podlubny I:
*Fractional Differential Equations. An Introduction to Fractional Derivatives, Fractional Differential Equations, Some Methods of Their Solution and Some of Their Applications*. Academic Press, San Diego; 1999.Google Scholar - Hilfer R (Ed):
*Applications of Fractional Calculus in Physics*. Academic Press, Orlando; 1999.Google Scholar - Celik E, Karaduman E, Bayram M: Numerical solutions of chemical differential-algebraic equations.
*Appl. Math. Comput.*2003, 139(2-3):259-264. 10.1016/S0096-3003(02)00178-9MathSciNetView ArticleGoogle Scholar - Secer A, Akinlar MA, Cevikel A: Efficient solutions of systems of fractional PDEs by differential transform method.
*Adv. Differ. Equ.*2012., 2012: Article ID 188 10.1186/1687-1847-2012-188Google Scholar - Kurulay M, Bayram M: Approximate analytical solution for the fractional modified KdV by differential transform method.
*Commun. Nonlinear Sci. Numer. Simul.*2010, 15(7):1777-1782. 10.1016/j.cnsns.2009.07.014MathSciNetView ArticleGoogle Scholar - Liao, SJ: The proposed homotopy analysis techniques for the solution of nonlinear problems. PhD dissertation, Shanghai Jiao Tong University, Shanghai (1992)Google Scholar
- Odibat Z, Momani S: Application of variational iteration method to nonlinear differential equations of fractional order.
*Int. J. Nonlinear Sci. Numer. Simul.*2006, 7(1):15-27.MathSciNetView ArticleGoogle Scholar - Biazar J, Ghazvini H: Exact solutions for non-linear Schrödinger equations by He’s homotopy perturbation method.
*Phys. Lett. A*2007, 366: 79-84. 10.1016/j.physleta.2007.01.060MathSciNetView ArticleGoogle Scholar - Guzel N, Bayram M: Numerical solution of differential-algebraic equations with index-2.
*Appl. Math. Comput.*2006, 174(2):1279-1289. 10.1016/j.amc.2005.05.035MathSciNetView ArticleGoogle Scholar - Guzel N, Bayram M: On the numerical solution of stiff systems.
*Appl. Math. Comput.*2005, 170(1):230-236. 10.1016/j.amc.2004.11.035MathSciNetView ArticleGoogle Scholar - Celik E, Bayram M: The numerical solution of physical problems modeled as a systems of differential-algebraic equations (DAEs).
*J. Franklin Inst. Eng. Appl. Math.*2005, 342(1):1-6. 10.1016/j.jfranklin.2004.07.004MathSciNetView ArticleGoogle Scholar - Secer A, Kurulay M, Bayram M, Akinlar MA: An efficient computer application of sinc-Galerkin approximation for nonlinear boundary value problems.
*Bound. Value Probl.*2012., 2012: Article ID 117 10.1186/1687-2770-2012-117Google Scholar - Secer A, Kurulay M: Sinc-Galerkin method and its applications on singular Dirichlet-type boundary value problems.
*Bound. Value Probl.*2012., 2012: Article ID 126 10.1186/1687-2770-2012-126Google Scholar - Rostamy D, Jabbari M: Solutions of predator-prey populations from fractional integral operator Lotka-Volterra equations.
*J. Appl. Environ. Biol. Sci.*2012, 2(4):159-171.Google Scholar - Okayama, T, Matsuo, T, Sugihara, M: Approximate formulae for fractional derivatives by means of sinc methods. Mathematical engineering technical reports. http://www.keisu.t.u-tokyo.ac.jp/research/techrep/index.html.Google Scholar
- Almeida R, Torres DFM: Necessary and sufficient conditions for the fractional calculus of variations with Caputo derivatives.
*Commun. Nonlinear Sci. Numer. Simul.*2011, 16: 1490-1500. 10.1016/j.cnsns.2010.07.016MathSciNetView ArticleGoogle Scholar - Lund J, Bowers K:
*Sinc Methods for Quadrature and Differential Equations*. SIAM, Philadelphia; 1992.View ArticleGoogle Scholar - El-Gamel M, Zayed A: Sinc-Galerkin method for solving nonlinear boundary-value problems.
*Comput. Math. Appl.*2004, 48: 1285-1298. 10.1016/j.camwa.2004.10.021MathSciNetView ArticleGoogle Scholar - Zarebnia M, Sajjadian M: The sinc-Galerkin method for solving Troesch’s problem.
*Math. Comput. Model.*2012, 56: 218-228. 10.1016/j.mcm.2011.11.071MathSciNetView ArticleGoogle Scholar - Mohsen A, El-Gamel M: On the Galerkin and collocation methods for two-point boundary value problems using sinc bases.
*Comput. Math. Appl.*2008, 56: 930-941. 10.1016/j.camwa.2008.01.023MathSciNetView ArticleGoogle Scholar - Zahra WK, Elkholy SM: Cubic spline solution of fractional Bagley-Torvik equation.
*Electron. J. Math. Anal. Appl.*2013, 1(2):230-241.Google Scholar

## Copyright

This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.