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, [911] 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]

Let be a function, α be a positive real number, n be the integer satisfying n1α<n, and Γ be the Euler gamma function. Then:

  1. i.

    The left and right Riemann-Liouville fractional derivatives of order α of f(x) are given as

    D x α a f(x)= 1 Γ ( n α ) d n d x n a x ( x t ) n α 1 f(t)dt
    (2.1)

and

D b α x f(x)= ( 1 ) n Γ ( n α ) d n d x n x b ( t x ) n α 1 f(t)dt,
(2.2)

respectively.

  1. ii.

    The left and right Caputo fractional derivatives of order α of f(x) are given as

    D x α a C f(x)= 1 Γ ( n α ) a x ( x t ) n α 1 f ( n ) (t)dt
    (2.3)

and

D b α x C f(x)= 1 Γ ( n α ) x b ( 1 ) n ( t x ) n α 1 f ( n ) (t)dt,
(2.4)

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]

If 0<α<1 and f is a function such that f(a)=f(b)=0, we can write

a b g ( x ) a C D x α f(x)dx= a b f ( x ) x D b α g(x)dx
(2.5)

and

a b g ( x ) x C D b α f(x)dx= a b f ( x ) a D x α g(x)dx.

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]

The function defined all by

sinc(z)= { sin ( π z ) π z , z 0 , 1 , z = 0 ,
(2.6)

is called the sinc function.

Definition 2.4 [17]

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

C(f,h)(x)= k = f(kh)sinc ( x k h h ) ,
(2.7)

where from (2.6)

S(k,h)(x)=sinc ( x k h h ) = { sin ( π x k h h ) π x k h h , x k h , 1 , x = k h .

Whenever the series in (2.7) converges, it is called the Whittaker cardinal function of f. They are based on the infinite strip D s in the complex plane

D s { w = u + i v : | v | < d π 2 } .

In general, approximations can be constructed for infinite, semi-infinite and finite intervals. Define the function

w=ϕ(z)=ln ( z 1 z )
(2.8)

which is a conformal mapping from D E , the eye-shaped domain in the z-plane, onto the infinite strip D S , where

D E =z= { x + i y : | arg ( z 1 z ) | < d π 2 } .

This is shown in Figure 1. For the sinc-Galerkin method, the basis functions are derived from the composite translated sinc functions

S k (z)=S(k,h)(z)oϕ(z)=sinc ( ϕ ( z ) k h h )
(2.9)

forz D E . The function z= ϕ 1 (w)= e w 1 + e w is an inverse mapping of w=ϕ(z). We may define the range of ϕ 1 on the real line as

Γ= { ϕ 1 ( u ) D E : < u < } ,

the evenly spaced nodes { k h } k = on the real line. The image which corresponds to these nodes is denoted by

x k = ϕ 1 (kh)= e k h 1 + e k h .
Figure 1
figure 1

The domains D E and D S .

Sinc function interpolation and quadratures

Definition 2.5 [18]

Let D E be a simply connected domain in the complex plane C, and let D E denote the boundary of D E . Let a, b be points on D E and ϕ be a conformal map D E onto D S such that ϕ(a)= and ϕ(b)=. If the inverse map of ϕ is denoted by φ, define

Γ= { ϕ 1 ( u ) D E : < u < }

and z k =φ(kh), k=±1,±2, .

Definition 2.6 [18]

Let B( D E ) be the class of functions F that are analytic in D E and satisfy

ψ ( L + u ) |F(z)|dz0,as u=,

where

L= { i y : | y | < d π 2 } ,

and those on the boundary of D E satisfy

T(F)= D E |F(z)dz|<.

Theorem 2.7 [18]

Let Γ be (0,1), FB( D E ), then for h>0 sufficiently small,

Γ F(z)dzh j = F ( z j ) ϕ ( z j ) = i 2 D F ( z ) k ( ϕ , h ) ( z ) sin ( π ϕ ( z ) / h ) dz I F ,
(2.10)

where

|k(ϕ,h) | z D =| e [ i π ϕ ( z ) h sgn ( Im ϕ ( z ) ) ] | z D = e π d h .

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

| F ( x ) ϕ ( x ) |C { e α | ϕ ( x ) | , x ψ ( ( , ) ) , e β | ϕ ( x ) | , x ψ ( ( 0 , ) ) ,
(2.11)

then the error bound for quadrature rule (2.10) is

| Γ F(x)dxh j = M N F ( x j ) ϕ ( x j ) |C ( e α M h α + e β N h β ) +| I F |.
(2.12)

The infinite sum in (2.10) is truncated with the use of (2.11) to arrive at inequality (2.12). Making the selections

where is an integer part of the statement and M is the integer value which specifies the grid size, then

Γ F(x)dx=h j = M N F ( x j ) ϕ ( x j ) +O ( e ( π α d M ) 1 2 ) .
(2.13)

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

Consider the linear two-point boundary value problem

μ 2 (x) y + μ 1 (x) y +λ ( x ) 0 C D x α y+ μ 0 (x)y=f(x),0<x<1,0<α<1,
(3.1)

with the boundary conditions

y(0)=y(1)=0,

where D x 0 C is the Caputo fractional derivative operator.

An approximate solution for y(x) is represented by the formula

y n (x)= k = M M c k S k (x),n=2M+1,
(3.2)

where S k (x) is the function S(k,h)oϕ(x) defined in (2.9) for some fixed step size h. The unknown coefficients c k in (3.2) are determined by orthogonalizing the residual with respect to the basis functions, i.e.,

μ 2 ( x ) y , S k + μ 1 ( x ) y , S k + λ ( x ) 0 C D x α y , S k + μ 0 ( x ) y , S k = f ( x ) , S k .
(3.3)

The inner product used for the sinc-Galerkin method is defined by

f,η= a b f(x)η(x)w(x)dx,

where w(x) is a weight function and it is convenient to take

w(x)= 1 ϕ ( x )

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

δ j k ( 0 ) = [ S ( j , h ) o ϕ ( x ) ] | x = x k = { 1 , j = k , 0 , j k , δ j k ( 1 ) = h d d ϕ [ S ( j , h ) o ϕ ( x ) ] | x = x k = { 0 , j = k , ( 1 ) k j k j , j k , δ j k ( 2 ) = h 2 d 2 d ϕ 2 [ S ( j , h ) o ϕ ( x ) ] | x = x k = { π 2 3 , j = k , 2 ( 1 ) k j ( k j ) 2 , j k .

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:

μ 2 ( x ) y , S k h k = M M i = 0 2 y ( x k ) ϕ ( x k ) h i δ j k ( i ) g 2 , i ,
(3.4)
μ 1 ( x ) y , S k h k = M M i = 0 1 y ( x k ) ϕ ( x k ) h i δ j k ( i ) g 1 , i
(3.5)

and

G, S k h G ( x k ) w ( x k ) ϕ ( x k ) ,
(3.6)

where

g 2 , 2 = ( μ 2 w ) ( ϕ ) 2 , g 2 , 1 = ( μ 2 w ) ϕ + 2 ( μ 2 w ) ϕ , g 2 , 0 = ( μ 2 w ) , g 1 , 1 = ( μ 1 w ) ϕ , g 1 , 0 = ( μ 1 w )

and

G= μ 0 yorf(x).

Theorem 3.3 For 0<α<1, the following relation holds:

λ ( x ) 0 C D x α y ( x ) , S k h M Γ ( 1 α ) k = M M y ( x k ) ϕ ( x k ) d d x [ h L r = L L ( x r x ) α K ( x r ) ξ ( x r ) ] | x = x k , M j M ,
(3.7)

where K(x)=λ(x) S k (x)w(x), ξ(t)=ln( t x 1 t ).

Proof The inner product with sinc basis element is given by

λ ( x ) 0 C D x α y ( x ) , S k = 0 1 ( λ ( x ) S k ( x ) w ( x ) ) 0 C D x α y(x)dx.

Using Definition 2.2, we can write

0 1 ( λ ( x ) S k ( x ) w ( x ) ) 0 C D x α y(x)dx= 0 1 y ( x ) x R D 1 α ( K ( x ) ) dx,
(3.8)

where K(x)=λ(x) S k (x)w(x). By the definition of the Riemann-Liouville fractional derivative given in (2.2), we have

D 1 α x R ( K ( x ) ) = 1 Γ ( 1 α ) d d x x 1 ( t x ) α K(t)dt.
(3.9)

We will use the sinc quadrature rule given with equation (2.13) to compute it because the integral given in (3.9) is divergent on the interval [x,1]. For this purpose, a conformal map and its inverse image that denotes the sinc grid points are given by

ξ(t)=ln ( t x 1 t )

and

x r = ξ 1 (r h L )= e r h L + x 1 + e r h L ,

respectively. Then, according to equality (2.13), we write

1 Γ ( 1 α ) d d x x 1 ( t x ) α K(t)dt 1 Γ ( 1 α ) d d x [ h L r = L L ( x r x ) α K ( x r ) ξ ( x r ) ] ,

where h L =π/ L . Thus, the right-hand side of (3.8) can be rewritten as follows:

0 1 y ( x ) x R D 1 α ( K ( x ) ) dx 1 Γ ( 1 α ) 0 1 ( y ( x ) d d x [ h L r = L L ( x r x ) α K ( x r ) ξ ( x r ) ] ) dx.
(3.10)

To apply the sinc quadrature rule given in (2.13) on the right-hand side of (3.10), a conformal map and its inverse image are given by

ϕ(t)=ln ( t 1 t )

and

x k = ϕ 1 (kh)= e k h 1 + e k h ,

respectively. Consequently, when the rule is applied, it is obtained

λ ( x ) 0 C D x α y ( x ) , S k h Γ ( 1 α ) k = M M y ( x k ) ϕ ( x k ) d d x [ h L r = L L ( x r x ) α K ( x r ) ξ ( x r ) ] | x = x k , M j M ,

where h=π/ 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

k = M M { i = 0 2 1 h i δ j k ( i ) g 2 , i ( x k ) ϕ ( x k ) c k i = 0 1 1 h i δ j k ( i ) g 1 , i ( x k ) ϕ ( x k ) c k 1 Γ ( 1 α ) c k ϕ ( x k ) d d x [ h L r = L L ( x r x ) α K ( x r ) ξ ( x r ) ] | x = x k } + μ 0 ( x j ) w ( x j ) ϕ ( x j ) c j = f ( x j ) w ( x j ) ϕ ( x j ) , M j M .

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=π/2, α=β=1/2, N=M.

Example 4.1 Consider the linear fractional boundary value problem

y (x) + 0 C D x 0.5 y(x)=f(x),

subject to the homogeneous boundary conditions

y(0)=y(1)=0,

wheref(x)=2+ 1 Γ ( 0.5 ) (2.65 x 1.5 2 x 0.5 ). The exact solution of this problem is y(x)=x(x1). The numerical solutions which are obtained by using the sinc-Galerkin method (SGM) for this problem are presented in Table 1 and Table 2. Also, graphs of exact and approximate solutions for different values of L and M are presented in Figure 2.

Figure 2
figure 2

Graphs of exact and approximate solutions for different values of L and M .

Table 1 Numerical results for L=5 , M=5
Table 2 Numerical results for L=40 , M=100

Example 4.2 [21]

Consider the linear fractional boundary value problem

y (x)+ 0.5 0 C D x 0.3 y(x)+y(x)=f(x),

subject to the homogeneous boundary conditions

y(0)=y(1)=0,

wheref(x)=4 x 2 (5x3)+0.5 x 3.7 ( 120 Γ ( 5.7 ) x 24 Γ ( 4.7 ) )+ x 4 (x1). The exact solution of this problem is y(x)= x 4 (x1). The numerical solutions which are obtained by using the sinc-Galerkin method (SGM) for this problem are presented in Table 3. In addition to this, in Table 4, the solutions are compared with the numerical solutions computed by using the Cubic splines (CS) in [21]. Also, graphs of exact and approximate solutions for different values of L and M are presented in Figure 3.

Figure 3
figure 3

Graphs of exact and approximate solutions for different values of L and M .

Table 3 Numerical results for L=40 , M=100
Table 4 Numerical results for L=5 , M=5

Example 4.3 Consider the linear fractional boundary value problem

y (x)x y (x) + 0 C D x 0.5 y(x)=f(x),

subject to the nonhomogeneous boundary conditions

y(0)=0,y(1)=2,

wheref(x)=3 x 3 2 x 2 +6x+2+ 1 Γ ( 0.5 ) (2.67 x 1.5 +3.2 x 2.5 ). The exact solution of this problem is y(x)= x 2 (x+1). First we convert the nonhomogeneous boundary conditions to homogeneous conditions by considering the transformation u(x)=y(x)2x. This change of variable yields the following boundary value problem:

u (x)x u (x) + 0 C D x 0.5 u(x)=3 x 3 2 x 2 +8x+2+ 1 Γ ( 0.5 ) ( 2.67 x 1.5 + 3.2 x 2.5 4 x 0.5 )

with the homogeneous boundary conditions

u(0)=u(1)=0.

The numerical solutions which are obtained by using the sinc-Galerkin method (SGM) for this problem are presented in Table 5 and Table 6. Also, graphs of exact and approximate solutions for different values of L and M are presented in Figure 4.

Figure 4
figure 4

Graphs of exact and approximate solutions for different values of L and M .

Table 5 Numerical results for L=5 , M=5
Table 6 Numerical results for L=50 , M=100

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.