Skip to main content

Theory and Modern Applications

Lucas polynomials semi-analytic solution for fractional multi-term initial value problems

Abstract

Herein, we use the generalized Lucas polynomials to find an approximate numerical solution for fractional initial value problems (FIVPs). The method depends on the operational matrices for fractional differentiation and integration of generalized Lucas polynomials in the Caputo sense. We obtain these solutions using tau and collocation methods. We apply these methods by transforming the FIVP into systems of algebraic equations. The convergence and error analyses are discussed in detail. The applicability and efficiency of the method are tested and verified through numerical examples.

1 Introduction

Ordinary and partial derivatives are special cases of fractional order derivatives. Many scientists are interested in linear and nonlinear fractional differential equations (FDEs). Many phenomena are described using fractional-order differentiation and integration. Their applications appeared in fluid, engineering, mechanics, physics, mathematics, optics, and other fields of science. So the fractional calculus investigates the rules, properties of derivatives, and integrals of noninteger orders. For handling these equations, the researchers apply many numerical methods such as finite difference method [1,2,3], finite element method [4,5,6], homotopy analysis method [7, 8], variational iteration method [9,10,11], a domain decomposition method [12,13,14,15], and Haar wavelet method [16, 17].

Recently, the approximate solutions of the fractional differential equations have been evaluated by the spectral methods. These methods help to solve different kinds of differential equations with small error and a small number of unknowns; [18] solutions of fractional differential equations by using Jacobi operational matrix, [19] solutions of third and fifth-order differential equations by using Petrov–Galerkin methods, [20] solutions of fractional differential equations by using shifted Jacobi spectral approximations. The most used spectral methods are the Galerkin, collocation, and tau methods; [21] solutions of time-fractional telegraph equation by using Legendre–Galerkin algorithm, [22] solution for telegraph equation of space fractional order by using Legendre wavelets spectral tau algorithm, [23] solutions of differential problems by using tau method, [24] solutions for the parabolic and elliptic partial equations by the ultra-spherical tau method, [25] solutions for a class of variable-order fractional differential equations by using Jacobi wavelets method. The choice of this method depends on the type of the investigated problem and its initial and boundary conditions. For more applications about numerical and exact solutions of fractional differential models, please see [26,27,28,29,30,31,32,33,34,35,36,37].

Multi-term fractional IVPs appear in many applications in various disciplines, most of numerical studies use the orthogonal polynomials, only rare studies use nonorthogonal polynomials, this motivates us to use these polynomials as a new basis functions, to test their ability to handle these problems.

In this paper, we solve the fractional ordinary differential equations with initial and boundary conditions applying generalized Lucas polynomials. We obtain the integrated equations and solve them. We use tau and collocation methods to evaluate numerical solutions. We have a system of nonlinear algebraic equations with initial and boundary conditions. Then we solve them by using Mathematica. We compare our numerical results with the Haar wavelet method [38].

There are many techniques in literature to handle multi-term fractional IVPs using orthogonal polynomials, i.e., Legendre, Chebyshev, Jacobi, and others, and there are very few studies on nonorthogonal linearly independent set of polynomials, i.e., Lucas and Fibonacci polynomials. The main advantages of the present technique is that new polynomials can be used as a basis for spectral methods, the generation of these polynomials is easy, and the exponential rate of convergence.

The results in this paper are more efficient and of higher accuracy than the other methods. The sections are organized as follows. In section 2 definitions, properties of fractional calculus, and generalized Lucas polynomials, which are used in the following sections, are introduced. In section 3 derivatives for generalized Lucas polynomials of integer and fractional orders are stated. In section 4 the algorithm of this method is explained. In section 5 we investigate the convergence and error analysis. In section 6 we give some examples and their numerical solutions. In the last section we introduce some conclusions.

2 Preliminaries

In this section, some definitions, properties for fractional calculus [39,40,41], and the generalized Lucas polynomials [42, 43] are stated. We introduce the important relations for the generalized Lucas polynomials which will be used in the following sections.

2.1 Properties and definitions of fractional calculus

Definition 1

The fractional integral of order β (\(\beta \geq 0 \)) according to Riemann–Liouville is

$$ \textstyle\begin{cases} I^{\beta }g(z)= \frac{1}{\varGamma (\beta )}\int _{0}^{z} ( z-t ) ^{\beta -1}g(t) \,dt,\quad \beta >0,z>0, \\ I^{0}g(z)=g(z). \end{cases} $$

And \(I^{\beta }\) satisfies the following properties:

$$ \textstyle\begin{cases} I^{\beta } I^{\gamma }=I^{\beta +\gamma }, \\ I^{\beta } I^{\gamma }=I^{\gamma } I^{\beta }, \\ I^{\beta }z^{\upsilon }= \frac{\varGamma ( \upsilon +1 ) }{ \varGamma ( \upsilon +\beta +1 ) }z^{\upsilon +\beta }. \end{cases} $$

Definition 2

The fractional derivative of order β according to Caputo

$$ D^{\beta }g(z)=I^{m-\beta }D^{m}g(z)= \frac{1}{\varGamma (m-\beta )} \int _{0}^{z} ( z-t ) ^{m-\beta -1}g^{(m)}(t) \,dt, $$
(1)

where \(m-1<\beta \leq m\), and \(D^{\beta }\) satisfies the following properties:

$$ \textstyle\begin{cases} ( D^{\beta }I^{\beta }g ) (z)=g(z), \\ D^{\beta }z^{\upsilon }= \frac{\varGamma ( \upsilon +1 ) }{ \varGamma ( \upsilon -\beta +1 ) }z^{\upsilon -\beta }. \end{cases} $$
(2)

For more details about the properties of fractional derivatives, please see [43].

2.2 An overview and relations of generalized Lucas polynomials

Lucas polynomials \(L_{j} ( z ) \) [43] have the following recurrence relation:

$$ L_{j+2} ( z ) =z L_{j+1} ( z ) +L_{j} ( z ), $$
(3)

with the initial values

$$ L_{0} ( z ) =2,\quad\quad L_{1} ( z ) =z. $$
(4)

Lucas polynomials have Binet’s form

$$ L_{j} ( z ) =\frac{ ( z+\sqrt{z^{2}+4} ) ^{j}+ ( z-\sqrt{z^{2}+4} ) ^{j}}{2^{j}}, \quad j\geq 0, $$
(5)

and also have the power form

$$ L_{j} ( z ) =j \sum_{i=0}^{ \lfloor \frac{j}{2} \rfloor } \frac{1}{j-i} \binom{j-i}{i} z^{j-2i}, \quad j\geq 1, $$
(6)

where \(\lfloor j \rfloor \) represents the largest integer less than or equal to j. If a and b are nonzero real numbers, the sequence of Lucas polynomials \(\{ L_{j} ( z ) \} _{j\geq 0}\) is generalized by the sequence \(\{ \varphi _{j}^{a,b} ( z ) \} _{j\geq 0}\) generated by the recurrence relation

$$ \varphi _{j}^{a,b} ( z ) = a z\varphi _{j-1}^{a,b} ( z ) +b\varphi _{j-2}^{a,b} ( z ), \quad j\geq 2, $$
(7)

with the initial values

$$ \varphi _{0}^{a,b} ( z ) =2, \quad\quad \varphi _{1}^{a,b} ( z ) =az, $$
(8)

so Lucas polynomials \(L_{j} ( z ) \) are derived from \(\varphi _{j}^{a,b} ( z ) \) if \(a=b=1\). We have the following:

$$\begin{aligned}& \varphi _{2}^{a,b} ( z ) =az^{2}+2b,\quad\quad \varphi _{3}^{a,b} ( z ) =a^{3}z^{3}+3a b z, \end{aligned}$$
(9)
$$\begin{aligned}& \varphi _{4}^{a,b} ( z ) =a^{4}z^{4}+4a^{2}b z^{2}+2b^{2}, \quad\quad \varphi _{5}^{a,b} ( z ) =a^{5}z^{5}+5a^{3}b z^{3}+5a b^{2}z, \end{aligned}$$
(10)

where \(\varphi _{j}^{a,b} ( z ) \) have the power form

$$ \varphi _{j}^{a,b} ( z ) =j \sum _{n=0}^{ \lfloor \frac{j}{2} \rfloor } \frac{a^{j-2n} b^{n}\binom{j-n}{n}}{j-n} z^{j-2n} , \quad j\geq 1, $$
(11)

and

$$ \varphi _{j}^{a,b} ( z ) =2j \sum _{m=0}^{j} \frac{a ^{m}b^{\frac{j-m}{2}}\zeta _{j+k}\binom{j-n}{n}}{ j+m} z^{m} , \quad j\geq 1, $$
(12)

where

$$ \zeta _{\ell }= \textstyle\begin{cases} 1, &\ell \text{ even} , \\ 0, &\ell \text{ odd}. \end{cases} $$
(13)

\(\varphi _{j}^{a,b} ( z ) \) have Binet’s form

$$ \varphi _{j}^{a,b} ( z ) = \frac{ ( a z+\sqrt{a^{2}z ^{2}+4b} ) ^{j}+ ( a z-\sqrt{a^{2}z^{2}+4b} ) ^{j}}{2^{j}},\quad j\geq 0. $$
(14)

The following relations, used for solving the problems, are very important.

3 Integer and fractional derivatives of generalized Lucas vector

In this section, we state the integer and fractional derivatives of generalized Lucas polynomials in a matrix form.

3.1 Integer derivatives for generalized Lucas matrix

Suppose that the function \(W(z)\) can be expanded in terms of generalized Lucas polynomials

$$ W(z) = \sum_{i=0}^{\infty }e_{i} \varphi _{i}^{a,b} ( z ). $$
(15)

If we approximate this function as

$$ W(z)\approx W_{N}(z) = \sum_{i=0}^{N}e_{i} \varphi _{i}^{a,b} ( z ) =E^{T} \varPhi (z), $$
(16)

where

$$\begin{aligned}& E^{T}= [ e_{0},e_{1},\ldots,e_{N} ], \end{aligned}$$
(17)
$$\begin{aligned}& \varPhi (z)= \bigl[ \varphi _{0}^{a,b} ( z ) ,\varphi _{1}^{a,b} ( z ) ,\ldots,\varphi _{N}^{a,b} ( z ) \bigr] ^{T}. \end{aligned}$$
(18)

If the first derivative of \(\frac{d\varPhi (z)}{dz}\) is written as

$$ \frac{d\varPhi (z)}{dz}=H^{(1)} \varPhi (z), $$
(19)

where \(H^{(1)}= ( H_{nm}^{(1)} ) \) is \((N+1)\times (N+1)\) matrix of derivatives.

$$ H_{nm}^{(1)}= \textstyle\begin{cases} (-1)^{\frac{n-m+1}{2}}n a b^{\frac{n-m-1}{2}}\xi _{m}, & n>m, (n+m) \text{ odd} , \\ 0, &\text{otherwise}, \end{cases} $$
(20)

and

$$ \xi _{k }= \textstyle\begin{cases} \frac{1}{2}, & k =0, \\ 1, &\text{otherwise}. \end{cases} $$
(21)

From (15) we can write \(\frac{d^{i}\varPhi (z)}{dz ^{i}}\), \(i\geq 1\),

$$ \frac{d^{i}\varPhi (z)}{dz^{i}}=H^{(i)} \varPhi (z)= \bigl( H^{(1)} \bigr) ^{i} \varPhi (z). $$
(22)

3.2 Fractional derivatives for generalized Lucas matrix

We state in this section the fractional derivative of generalized Lucas matrix, which is the general case for integer derivative.

Theorem 1

The fractional derivatives of generalized Lucas vector, which is defined in (14), have the form [42]

$$ D^{\beta }\varPhi (z)=\frac{d^{\beta }\varPhi (z)}{dz^{\beta }}=z^{-\beta }H ^{(\beta )} \varPhi (z), \quad \beta >0, $$
(23)

where \(H^{(\beta )}= ( H_{nm}^{\beta } ) \)is \((N+1) \times (N+1)\)lower triangular matrix of the form

$$ H^{(\beta )}= \begin{bmatrix} 0 & 0 & \cdots & 0, \\ \vdots & \vdots & \vdots & \vdots \\ \gamma _{\beta } ( \lceil \beta \rceil ,0 ) & \gamma _{\beta } ( \lceil \beta \rceil ,1 ) & \cdots & 0 \\ \vdots & \vdots & \vdots & \vdots \\ \gamma _{\beta } ( N,0 ) & \gamma _{\beta } ( N,1 ) & \cdots & \gamma _{\beta } ( N,N ) \end{bmatrix} , $$
(24)

where \(\lceil \beta \rceil \)represents the smallest integer greater than or equal to β. And \(H_{nm}^{\beta }\)and \(\gamma _{\beta } ( n,m ) \)have the elements in the form

$$\begin{aligned}& H_{nm}^{\beta }= \textstyle\begin{cases} \gamma _{\beta } ( n,m ), & n\geq \lceil \beta \rceil , m\geq n, \\ 0, &\textit{otherwise}, \end{cases}\displaystyle \end{aligned}$$
(25)
$$\begin{aligned}& \gamma _{\beta } ( n,m ) = \sum_{i= \lceil \beta \rceil }^{n} \frac{(-1)^{ \frac{i-m}{2}} n i! \zeta _{n+i} \zeta _{m+i} \xi _{m} b^{\frac{n-m}{2}} ( \frac{n+i}{2}-1 ) !}{ ( \frac{n-i}{2} ) ! ( \frac{i-m}{2} )! ( \frac{m+i}{2} )! \varGamma ( 1+i-\beta )}. \end{aligned}$$
(26)

4 The algorithm of the method

In this section, we explain the method for solving the boundary FDE with constant coefficients by using generalized Lucas polynomials

$$ D^{\beta }W(z)+D^{\alpha }W(z)+W^{\prime \prime }(z)+W(z)=g(z), $$
(27)

with the boundary conditions

$$ W^{(i)}(0)=a_{i} , \quad i=0,1,2,\ldots, $$
(28)

where \(0<\alpha \leq 1\), \(1<\beta \leq 2\). Suppose that equation (27) has the approximating solution

$$ W(z)\approx W_{N}(z) =E^{T} \varPhi (z). $$
(29)

By using Theorem 1, we have

$$ D^{\beta }W(z)\approx z^{-\beta } E^{T} H^{(\beta )} \varPhi (z), $$
(30)

and now the residual of equation (27) has the form

$$ R(z)=z^{-\beta }E^{T}H^{(\beta )} \varPhi (z)+z^{-\alpha }E^{T}H^{( \alpha )} \varPhi (z)+E^{T}H^{(2)} \varPhi (z)+E^{T}\varPhi (z)-g(z). $$
(31)

Then we have

$$ z^{\beta }R(z)=E^{T}H^{(\beta )} \varPhi (z)+z^{\beta -\alpha }E^{T}H ^{(\beta )} \varPhi (z)+z^{\beta }E^{T}H^{(2)} \varPhi (z)+z^{\beta }E ^{T}\varPhi (z)-z^{\beta }g(z). $$
(32)

By using the tau method, we obtain the system of equations

$$ \int^{1}_{0} z^{\beta }R(z)\varphi _{i}^{a,b} ( z ) \,dz=0, \quad i=0,1,\ldots. $$
(33)

With the boundary conditions (28), we have

$$ E^{T}H^{(i)}\varPhi (0)=a_{i} , \quad i=0,1,2,\ldots. $$
(34)

Equations (33)–(34) give a linear system of equations in coefficients \(e_{i}\), \(i=0,1,\ldots, N\). These coefficients can be efficiently solved by Gaussian elimination.

5 Investigation of convergence and error analysis

In this section, we explain the convergence and error analysis of generalized Lucas expansion. The following lemmas are satisfied.

Lemma 1

For all \(t\in {}[ 0,1]\), the following inequality holds for generalized Lucas polynomials:

$$ \varphi _{i}^{a,b}\leq 2 \bigl( a+\sqrt{a^{2}+b} \bigr) ^{i}. $$
(35)

Proof

See Abd-Elhameed and Youssri (2017) [43]. □

Lemma 2

$$ \varphi _{i}^{a,b}=2i \sum_{k=0}^{i} \lambda _{i,k}t^{k}, $$
(36)

where

$$ \lambda _{i,k}=\frac{a^{k}b^{\frac{i-k}{2}}\zeta _{i+k} \binom{\frac{i+k}{2}}{\frac{i-k}{2}}}{i+k}. $$
(37)

Proof

See Abd-Elhameed and Youssri (2017) [43]. □

Theorem 2

If \(W(z)\)is defined on \([0,1]\)and \(\vert W^{(i)}(0) \vert \leq L^{i}\), \(i\geq 0\), whereLis a positive constant and if \(W(z)\)has the expansion

$$ W(z) = \sum_{i=0}^{\infty }e_{i} \varphi _{i}^{a,b} ( z ). $$
(38)

Then one has

$$ \vert e_{i} \vert \leq \frac{ \vert a \vert ^{-i}L^{i}\cosh ( 2 \vert a \vert ^{-1}b^{ \frac{1}{2}}L ) }{i!}. $$
(39)

Proof

See Abd-Elhameed and Youssri (2017) [43]. □

If \(\varepsilon _{N}=\max \vert W(z)-W_{N}(z) \vert \), then we have the following truncation error.

Theorem 3

We have the following truncation error estimate:

$$ \varepsilon _{N}< \frac{2e^{L ( 1+\sqrt{1+a^{-2}b} ) \cosh ( 2L ( 1+\sqrt{1+a^{-2}b} ) ) ( 1+\sqrt{1+a^{-2}b} ) ^{N+1}}}{ ( N+1 )!} $$
(40)

or

$$ \varepsilon _{N}< \frac{2e^{L\rho \cosh ( 2L\rho ) \rho ^{N+1}}}{ ( N+1 )!}, $$
(41)

where \(\rho =1+\sqrt{1+a^{-2}b}\).

Proof

See Abd-Elhameed and Youssri (2017) [43]. □

Lemma 3

The derivatives of \(\varphi _{i}^{ ( \alpha ) }\), \(\varphi _{i}^{ ( \beta ) }\), and \(\varphi _{i}^{\prime \prime }\)are denoted by the following estimates:

$$\begin{aligned}& (\mathrm{i})\quad \bigl\vert \varphi _{i}^{ ( \alpha ) } \bigr\vert \leq 2i^{3}, \\& (\mathrm{ii})\quad \bigl\vert \varphi _{i}^{ ( \beta ) } \bigr\vert \leq 2i^{3}, \\& (\mathrm{iii})\quad \bigl\vert \varphi _{i}^{\prime \prime } \bigr\vert \leq 2i^{3}. \end{aligned}$$

Proof

By applying the differential operators to the right-hand side of equation (29) and noting that \(t<1\), and finally by induction on i, we get the desired results. □

Theorem 4

If \(W(z) = \sum_{i=0}^{\infty }e_{i} \varphi _{i}^{a,b} ( z ) \)is the exact solution of equation (21) satisfies the hypotheses of Eq. (6) and \(W(z)\)is approximated by \(W_{N}(z) = \sum_{i=0}^{N}e_{i} \varphi _{i}^{a,b} ( z ) \), then we have the following global error estimate:

$$ \epsilon _{N}= \bigl\vert W_{N}^{\prime \prime }+W_{N}^{ ( \alpha ) }+W _{N}^{ ( \beta ) }+W_{N}-g \bigr\vert < \frac{\varOmega N ^{\xi }}{2^{N}}, $$
(42)

whereΩis a generic constant and

$$ \xi =3A+1,\quad A=\frac{L}{ \vert a \vert }. $$
(43)

Proof

Now the global error estimate

$$ \epsilon _{N}= \bigl\vert W_{N}^{\prime \prime }+W_{N}^{ ( \alpha ) }+W _{N}^{ ( \beta ) }+W_{N}-g \bigr\vert . $$
(44)

 □

From equation (21) we have

$$ \epsilon _{N}= \bigl\vert W_{N}^{\prime \prime }-W^{\prime \prime }+W_{N}^{ ( \alpha ) }-W^{ ( \alpha ) }+W_{N}^{ ( \beta ) }-W^{ ( \beta ) }+W_{N}-W \bigr\vert . $$
(45)

By the triangle inequality

$$ \epsilon _{N}\leq \bigl\vert W_{N}^{\prime \prime }-W^{\prime \prime } \bigr\vert + \bigl\vert W _{N}^{ ( \alpha ) }-W^{ ( \alpha ) } \bigr\vert + \bigl\vert W_{N}^{ ( \beta ) }-W^{ ( \beta ) } \bigr\vert + \vert W_{N}-W \vert . $$
(46)

And hence

$$ \epsilon _{N}\leq \sum_{i=N+1}^{\infty } \vert e_{i} \vert \bigl\vert \varphi _{i}^{\prime \prime } \bigr\vert + \sum_{i=N+1}^{ \infty } \vert e_{i} \vert \bigl\vert \varphi _{i}^{ ( \alpha ) } \bigr\vert + \sum_{i=N+1}^{\infty } \vert e _{i} \vert \bigl\vert \varphi _{i}^{ ( \beta ) } \bigr\vert +\frac{2e ^{L\rho \cosh ( 2L\rho ) \rho ^{N+1}}}{ ( N+1 ) !}, $$
(47)

where \(A=\frac{L}{ \vert a \vert }\), \(B=\frac{2\sqrt{b}L}{ \vert a \vert }\), by Theorem 2, Lemma 3, and Theorem 3, and application of the series comparison test, we have

$$\begin{aligned}& \sum_{i=N+1}^{\infty } \biggl( \frac{A^{i}\cosh ( B ) }{ i!} \biggr) \bigl( \bigl\vert \varphi _{i}^{\prime \prime } \bigr\vert + \bigl\vert \varphi _{i}^{ ( \alpha ) } \bigr\vert + \bigl\vert \varphi _{i}^{ ( \beta ) } \bigr\vert \bigr) +\frac{2e^{L \rho \cosh ( 2L\rho ) \rho ^{N+1}}}{ ( N+1 ) !} \end{aligned}$$
(48)
$$\begin{aligned}& \quad < \sum_{i=N+1}^{\infty }\frac{6A^{i}\cosh ( B ) i ^{3}}{i !}+ \frac{2e^{L\rho \cosh ( 2L\rho ) \rho ^{N+1}}}{ ( N+1 ) !}. \end{aligned}$$
(49)

Therefore

$$\begin{aligned} \epsilon _{N}&< 6\cosh ( B ) \frac{N^{3A+1}}{2^{N}}+ \frac{2e ^{L\rho \cosh ( 2L\rho ) \rho ^{N+1}}}{ ( N+1 ) !} \end{aligned}$$
(50)
$$\begin{aligned} &=\varOmega _{1}\frac{N^{3A+1}}{2^{N}}+\varOmega _{2} \frac{{\rho ^{N+1}}}{ ( N+1 ) !}< \varOmega \frac{N^{3A+1}}{2^{N}}, \end{aligned}$$
(51)

where \(\varOmega =\max (\varOmega _{1},\varOmega _{2})\).

6 Numerical examples

In this section, we solve some examples on equations (21), (22) using the generalized Lucas polynomials.

Example 1

Consider the following fractional-order initial value problem [38]:

$$ D^{\beta }W(z)+\frac{3}{57}W(z)=z+ \frac{3z^{\beta +1}}{57 \varGamma ( \beta +2 ) }, \quad 0< z< 1, 1< \beta \leq 2, $$
(52)

with the boundary conditions

$$ W(0)=0 , \qquad W(1)=\frac{1}{\varGamma ( \beta +2 ) }. $$
(53)

The exact solution of equation (52) is \(W(z)=\frac{z^{\beta +1}}{ \varGamma ( \beta +1 ) }\). The residual of this equation:

$$ z^{\beta }R(z)=E^{T}H^{(\beta )} \varPhi (z)+ \frac{3}{57}z^{\beta }E ^{T}\varPhi (z)-z^{\beta +1}-\frac{3z^{2\beta +1}}{57 \varGamma ( \beta +2 ) }. $$
(54)

For \(N=3\), we have \(H^{(\beta )}\) in the form

$$ H^{(\beta )}= \begin{bmatrix} 0 & 0 & 0 & 0 \\ 0 & \frac{1}{\varGamma ( 2-\beta ) } & 0 & 0 \\ \frac{-2b}{\varGamma ( 3-\beta ) } & 0 & \frac{2}{\varGamma ( 3-\beta ) } & 0, \\ 0 & \frac{3b ( \beta -5 ) \beta }{\varGamma ( 4-\beta ) } & 0 & \frac{6}{\varGamma ( 4-\beta ) } \end{bmatrix} . $$
(55)

We apply the generalized Lucas tau method and obtain the following equations:

$$\begin{aligned}& \frac{2}{65{,}835\sqrt{\pi }}\bigl(-294-47{,}025\sqrt{\pi }+2772\sqrt{ \pi }e_{0}+990\sqrt{\pi }a e_{1}+87{,}780a^{2}e_{2}+770 \sqrt{ \pi }a^{2}e_{2} \\& \quad{} +2772\sqrt{\pi }b e_{2}+131{,}670a^{3}e_{3}+630 \sqrt{\pi }a^{3}e _{3}+2970\sqrt{\pi }abe_{3}\bigr)=0 , \\& \frac{a}{855{,}855\sqrt{\pi }}\bigl(-10{,}010-475{,}475\sqrt{\pi }+25{,}740\sqrt{ \pi }e_{0}+10{,}010\sqrt{\pi }ae_{1}+855{,}855a^{2}e_{2} \\& \quad{} + 8190\sqrt{\pi }a^{2}e_{2}+25{,}740\sqrt{\pi }be_{2}+1{,}369{,}368a^{3}e _{3}+6930 \sqrt{\pi }a^{3}e_{3} \\& \quad{}+30{,}030\sqrt{\pi }ab e_{3}\bigr)=0 , \end{aligned}$$

with the boundary conditions

$$\begin{aligned}& e_{0}+b e_{2}=0, \\& 2e_{0}+a e_{1}+\frac{1}{4} \bigl( \bigl( a- \sqrt{a^{2}+4b} \bigr) ^{2}+ \bigl( a+ \sqrt{a^{2}+4b} \bigr) ^{2} \bigr) e_{2} \\& \quad{} +\frac{1}{8} \bigl( \bigl( a-\sqrt{a^{2}+4b} \bigr) ^{3}+ \bigl( a+\sqrt{a^{2}+4b} \bigr) ^{3} \bigr) e_{3}=\frac{4}{3\sqrt{ \pi }}. \end{aligned}$$

We solve these equations by Mathematica, we obtain

$$\begin{aligned}& e_{0}=-\frac{33b ( -222{,}794+3{,}871{,}765\sqrt{\pi }+57{,}000\pi ) }{10a^{3}\sqrt{\pi } ( 107{,}324{,}217-341{,}088\sqrt{\pi }+320\pi ) }, \end{aligned}$$
(56)
$$\begin{aligned}& \begin{aligned} e_{1} &=\frac{1}{6a^{3} ( 107{,}324{,}217-341{,}088\sqrt{\pi }+320 \pi ) } \\ &\quad{}\times \bigl[715b \sqrt{\pi }(-27{,}588-393{,}483\sqrt{\pi }+11{,}400 \pi )+ \\ &\quad{} +a^{2}\bigl(1{,}430{,}989{,}560+3{,}581{,}424\sqrt{\pi }-468{,}479{,}005\pi -1{,}045{,}000 \pi ^{\frac{3}{2}}\bigr)\bigr], \end{aligned} \\& \begin{gathered} e_{2}=\frac{33 ( -222{,}794+3{,}871{,}765\sqrt{\pi }+57{,}000\pi ) }{5a ^{2} ( 107{,}324{,}217-341{,}088\sqrt{\pi }+320\pi ) }, \\ e_{3}=-\frac{143 ( -27{,}588-393{,}483\sqrt{\pi }+11{,}400\pi ) }{6a^{3} ( 107{,}324{,}217-341{,}088\sqrt{ \pi }+320\pi ) }. \end{gathered} \end{aligned}$$
(57)

In Table 1, we compare our results for the case \(a=b=1\) and \(N=16\) with the results of [38] for \(m=32\) for different values of β. In Table 2, we compare between different solutions of Example 2.

Table 1 Maximum absolute errors E of Example 1
Table 2 Comparison between different errors E of Example 2

Example 2

Consider the following fractional-order initial value problem [38]:

$$ D^{\beta }W(z)-D^{\alpha }W(z)=e^{z-1}+1,\quad 0< \beta \leq 1, 1< \alpha \leq 2, $$
(58)

with the boundary conditions

$$ W(0)=0 , \qquad W(1)=0. $$
(59)

The exact solution of equation (38) is \(W(z)=z ( 1-e^{z-1} ) \). The residual of this equation is

$$ z^{\beta }R(z)=E^{T}H^{(\beta )} \varPhi (z)-z^{\beta -\alpha }E^{T}H ^{(\alpha )}\varPhi (z)-z^{\beta }e^{z-1}-z^{\beta }. $$
(60)

Example 3

Consider the following fractional-order initial value problem [38]:

$$ \begin{aligned}[b] &D^{\beta }W(z)+\frac{e^{-3\pi }}{\sqrt{\pi }}W(z) \\ &\quad =\frac{e^{-3\pi }}{40\sqrt{ \pi }} \bigl( z^{2} \bigl( 40z^{2}-74z+33 \bigr) +4e^{3\pi } \sqrt{z} \bigl( 128z^{2}-148z+33 \bigr) \bigr) ,\quad 1\leq \beta < 2,\end{aligned} $$
(61)

with the boundary conditions

$$ W(0)=0 , \qquad W(1)=-\frac{1}{40}. $$
(62)

The exact solution of equation (41) is \(W(z)=z^{2} ( z^{3}- \frac{37}{20}z+\frac{33}{40} ) \). The residual of this equation is

$$\begin{aligned} z^{\beta }R(z) =&E^{T}H^{(\beta )} \varPhi (z)+ \frac{e^{-3\pi }}{\sqrt{ \pi }}z^{\beta }E^{T}\varPhi (z) \\ & {}-\biggl( \frac{e^{-3\pi }}{40\sqrt{\pi }} \bigl( z^{2} \bigl( 40z ^{2}-74z+33 \bigr) +4e^{3\pi }\sqrt{z} \bigl( 128z^{2}-148z+33 \bigr) \bigr) \biggr) z^{\beta }. \end{aligned}$$

We apply our algorithm for the case \(a = 1\), \(b = 2\), \(N=5\), \(\beta = \frac{3}{2}\), which yields

$$\begin{aligned}& e_{1}=511/10, \quad\quad e_{3}= -237/20, \quad\quad e_{5}=1,\\& e_{0}=-33/2, \quad\quad e_{2}=233/4,\quad\quad e _{4}=0, \end{aligned}$$

and consequently,

$$ W(z)=-(33/2)2+(511/10)z+(233/4) \bigl(4 + z^{2}\bigr)-(237/20) \bigl(6 z + z^{3}\bigr)+ 20 z + 10 z^{3} + z^{5}, $$

which is the exact solution.

Example 4

Consider the following fractional-order initial value problem [38]:

$$ W''(z)+\frac{8}{17}D^{\beta }W(z)+ \frac{13}{51}W(z)=\frac{z^{ \frac{-1}{2}}}{89{,}250\sqrt{\pi }} \bigl( 48p(z)+7\sqrt{z}q(z) \bigr), \quad 1\leq \beta < 2, $$
(63)

where

$$\begin{aligned}& p(z)=16{,}000z^{4}-32{,}480z^{3}+21{,}280z^{2}-4746z+189, \end{aligned}$$
(64)
$$\begin{aligned}& q(z)=3250z^{5}-9425z^{4}+264{,}880z^{3}-44 \end{aligned}$$
(65)

with the boundary conditions

$$ W(0)=0 , \qquad W(1)=0. $$
(66)

The exact solution of equation (45) is \(W(z)=z^{5}- \frac{29z^{4}}{10}+\frac{76z^{3}}{25}-\frac{339z^{2}}{250}+ \frac{27z}{125}\). The residual of this equation is

$$ \begin{aligned}[b] z^{\beta }R(z)&=z^{\beta }E^{T}H^{(2)} \varPhi (z)+\frac{8}{17}E^{T}H ^{(\beta )} \varPhi (z)+\frac{13}{51}z^{\beta }E^{T}\varPhi (z) \\ &\quad{} - \biggl( \frac{z ^{\frac{-1}{2}+\beta }}{89{,}250\sqrt{\pi }} \bigl( 48p(z)+7\sqrt{z}q(z) \bigr) \biggr). \end{aligned} $$
(67)

We apply our algorithm for the case \(a = 2\), \(b = 1\), \(N=5\), \(\beta = \frac{3}{2}\), which yields

$$\begin{aligned}& \begin{gathered} e_{1}= -1439/2000,\quad\quad e_{3}= 179/800,\quad\quad e_{5}= 1/32,\\ e_{0}=-819/4000, \quad\quad e _{2}=193/500,\quad\quad e_{4}=-29/160, \end{gathered} \end{aligned}$$

and consequently,

$$ \begin{aligned} W(z) &=-(819/4000)2-(1439/2000) 2 z+(193/500) \bigl(2 + 4 z^{2}\bigr)+( 179/800) \bigl( 6 z + 8 z^{3}\bigr) \\ &\quad{} -(29/160) \bigl( 2 + 16 z^{2} + 16 z^{4} \bigr)+(1/32) \bigl( 10 z + 40 z^{3} + 32 z ^{5}\bigr), \end{aligned} $$

which is the exact solution.

7 Conclusion

Herein, a generalized Lucas polynomial sequence approach based on the operational matrix of fractional derivatives Lucas polynomials to spectrally solve fractional multi-term initial value problem was successfully applied to handle these equations. Four examples to a system of linear algebraic equations were solved by Mathematica software showing the exponential rate of convergence of the method. This method can be modified in the future work to solve different types of ordinary and partial FDEs with nonhomogeneous conditions and with variable coefficients.

References

  1. Li, C., Zeng, F.: Finite difference methods for fractional differential equations. Int. J. Bifurc. Chaos 22, 1230014 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  2. Sweilama, N.H., Khader, M.M., Nagy, A.M.: Numerical solution of two-sided space-fractional wave equation using finite difference method. J. Comput. Appl. Math. 235, 2832–2841 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  3. Mustapha, K., Furati, K., Knio, O.M., Le Maitre, O.P.: A finite difference method for space fractional differential equations with variable diffusivity coefficient. Mathematics, Numerical Analysis (2018)

  4. Badr, A.A.: Finite element method for linear multiterm fractional differential equations. J. Appl. Math. 2012, Article ID 482890 (2012)

    MathSciNet  MATH  Google Scholar 

  5. Jiang, Y., Ma, J.: High-order finite element methods for time-fractional partial differential equations. J. Comput. Appl. Math. 235, 3285–3290 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  6. Zhu, X., Yuan, Z., Wang, J., Nie, Y., Yang, Z.: Finite element method for time–space-fractional Schrodinger equation. Electron. J. Differ. Equ. 2017, 166 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  7. Jafari, H., Seifi, S.: Homotopy analysis method for solving linear and nonlinear fractional diffusion-wave equation. Commun. Nonlinear Sci. Numer. Simul. 14, 2006–2012 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  8. Jafari, H., Seifi, S.: Solving a system of nonlinear fractional partial differential equations using homotopy analysis method. Commun. Nonlinear Sci. Numer. Simul. 14, 1962–1969 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  9. Sakar, M.G., Erdogan, E., Yildirim, A.: Variational iteration method for the time fractional Fornberg–Whitham equation. Comput. Math. Appl. 63, 1382–1388 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  10. Khan, Y., Faraz, N., Yildirim, A., Wu, Q.: Fractional variational iteration method for fractional initial-boundary value problems arising in the application of nonlinear science. Comput. Math. Appl. 62, 2273–2278 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  11. Singh, B.K., Kumar, P.: Fractional variational iteration method for solving fractional partial differential equations with proportional delay. Int. J. Differ. Equ. 2017, Article ID 5206380 (2017)

    MathSciNet  MATH  Google Scholar 

  12. Hu, Y., Luo, Y., Lu, Z.: Analytical solution of linear fractional differential equation by a domain decomposition method. J. Comput. Appl. Math. 215, 220–229 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  13. Ray, S.S., Bera, R.K.: Solution of an extraordinary differential equation by a domain decomposition method. J. Appl. Math. 4, 331–338 (2004)

    MATH  Google Scholar 

  14. Shawagfeh, N.T.: Analytical approximate solutions for nonlinear fractional differential equations. Appl. Math. Comput. 131, 517–529 (2002)

    MathSciNet  MATH  Google Scholar 

  15. Daftardar-Gejji, V., Jafari, H.: Adomian decomposition: a tool for solving a system of fractional differential equations. J. Math. Anal. Appl. 301, 508–518 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  16. Sweilam, N.H., Nagy, A.M., Mokhtar, M.M.: On the numerical treatment of a coupled nonlinear system of fractional differential equations. J. Comput. Theor. Nanosci. 14, 1184–1189 (2017)

    Article  Google Scholar 

  17. Sweilam, N.H., Nagy, A.M., Mokhtar, M.M.: New spectral second kind Chebyshev wavelets scheme for solving systems of integro-differential equations. Int. J. Appl. Comput. Math. 3(2), 333–345 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  18. Doha, E.H., Bhrawy, A.H., Ezz-Eldien, S.S.: A new Jacobi operational matrix: an application for solving fractional differential equations. Appl. Math. Model. 36, 4931–4943 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  19. Abd-Elhameed, W.M., Doha, E.H. Youssri, Y.H.: Efficient spectral Petro–Galerkin methods for third and fifth-order differential equations using general parameters generalized Jacobi polynomials. Quaest. Math. 36, 15–38 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  20. Doha, E.H., Bhrawy, A.H., Baleanu, D., Ezz-Eldien, S.S.: On shifted Jacobi spectral approximations for solving fractional differential equations. Appl. Math. Comput. 219, 8042–8056 (2013)

    MathSciNet  MATH  Google Scholar 

  21. Youssri, Y.H., Abd-Elhameed, W.M.: Numerical spectral Legendre–Galerkin algorithm for solving time fractional telegraph equation. Rom. J. Phys. 63, 107 (2018)

    Google Scholar 

  22. Mohammed, G.S.: Numerical solution for telegraph equation of space fractional order by using Legendre wavelets spectral tau algorithm. Aust. J. Basic Appl. Sci. 10, 381–391 (2016)

    Google Scholar 

  23. OrtizE, L., Samara, H.: Numerical solutions of differential eigen values problems with an operational approach to the tau method. Computing 31, 95–103 (1983)

    Article  MathSciNet  Google Scholar 

  24. Doha, E.H., Abd-Elhameed, W.M.: Accurate spectral solutions for the parabolic and elliptic partial equations by the ultra-spherical tau method. J. Comput. Appl. Math. 181, 24–45 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  25. Zaky, M.A., Ameen, I.G., Abdelkawy, M.A.: A new operational matrix based on Jacobi wavelets for a class of variable-order fractional differential equations. Proc. Rom. Acad., Ser. A: Math. Phys. Tech. Sci. Inf. Sci. 18, 315–322 (2017)

    MathSciNet  Google Scholar 

  26. Baleanu, D., Asad, J.H., Jajarmi, A.: New aspects of the motion of a particle in a circular cavity. Proc. Rom. Acad., Ser. A: Math. Phys. Tech. Sci. Inf. Sci. 19(2), 361–367 (2018)

    MathSciNet  Google Scholar 

  27. Hajipour, M., Jajarmi, A., Baleanu, D., Sun, H.G.: On an accurate discretization of a variable-order fractional reaction–diffusion equation. Commun. Nonlinear Sci. Numer. Simul. 69, 119–133 (2019)

    Article  MathSciNet  Google Scholar 

  28. Mohammadi, F., Moradi, L., Baleanu, D., Jajarmi, A.: A hybrid functions numerical scheme for fractional optimal control problems: application to non-analytic dynamical systems. J. Vib. Control 24(21), 5030–5043 (2018)

    MathSciNet  Google Scholar 

  29. Baleanu, D., Jajarmi, A., Asad, J.H.: The fractional model of spring pendulum: new features within different kernels. Proc. Rom. Acad., Ser. A: Math. Phys. Tech. Sci. Inf. Sci. 19(3), 447–454 (2018)

    MathSciNet  Google Scholar 

  30. Hajipour, M., Jajarmi, A., Baleanu, D.: On the accurate discretization of a highly nonlinear boundary value problem. Numer. Algorithms 79(3), 679–695 (2018)

    Article  MathSciNet  Google Scholar 

  31. Hajipour, M., Jajarmi, A., Malek, A., Baleanu, D.: Positivity-preserving sixth-order implicit finite difference weighted essentially non-oscillatory scheme for the nonlinear heat equation. Appl. Math. Comput. 325, 146–158 (2018)

    MathSciNet  Google Scholar 

  32. Alsuyuti, M.M., Doha, E.H., Ezz-Eldien, S.S., Bayoumi, B.I., Baleanu, D.: Modified Galerkin algorithm for solving multitype fractional differential equations. Math. Methods Appl. Sci. 42(5), 1389–1412 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  33. Firoozjaee, M.A., Yousefi, S.A., Jafari, H., Baleanu, D.: On a numerical approach to solve multi-order fractional differential equations with initial/boundary conditions. J. Comput. Nonlinear Dyn. 10(6), 061025 (2015)

    Article  Google Scholar 

  34. Bhrawy, A.H., Baleanu, D., Assas, L.M.: Efficient generalized Laguerre-spectral methods for solving multi-term fractional differential equations on the half line. J. Vib. Control 20(7), 973–985 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  35. Rostamy, D., Alipour, M., Jafari, H., Baleanu, D.: Solving multi-term orders fractional differential equations by operational matrices of BPs with convergence analysis. Rom. Rep. Phys. 65(2), 334–349 (2013)

    Google Scholar 

  36. Baleanu, D., Shiri, B., Srivastava, H.M., Al Qurashi, M.: A Chebyshev spectral method based on operational matrix for fractional differential equations involving non-singular Mittag-Leffler kernel. Adv. Differ. Equ. 2018, 353 (2018)

    Article  MathSciNet  MATH  Google Scholar 

  37. Baleanu, D., Shiri, B.: Collocation methods for fractional differential equations involving non-singular kernel. Chaos Solitons Fractals 116, 136–145 (2018)

    Article  MathSciNet  Google Scholar 

  38. ur Reham, M., Ali Khan, R.: A numerical method for solving boundary value problems for fractional differential equations. Appl. Math. Model. 36, 894–907 (2012)

    Article  MathSciNet  Google Scholar 

  39. Miller, K.S., Ross, B.: An Introduction to the Fractional Calculus and Fractional Differential Equations. Wiley, New York (1993)

    MATH  Google Scholar 

  40. Podlubny, I.: Fractional Differential Equations (1999)

    MATH  Google Scholar 

  41. Rainville, E.D.: Special Functions. Chelsea, New York (1960)

    MATH  Google Scholar 

  42. Abd-Elhameed, W.M., Youssri, Y.H.: Spectral solutions for fractional differential equations via a novel Lucas operational matrix of fractional derivatives. Rom. J. Phys. 61, 795–813 (2016)

    Google Scholar 

  43. Abd-Elhameed, W.M., Youssri, Y.H.: Generalized Lucas polynomials sequence approach for fractional differential equations. Nonlinear Dyn. 89, 1341–1355 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  44. Wang, Y., Song, H., Li, D.: Solving two-point boundary value problems using combined homotopy perturbation method and Greens function method. Appl. Math. Comput. 212, 366–376 (2009)

    MathSciNet  MATH  Google Scholar 

Download references

Acknowledgements

The authors are very grateful to the anonymous referees for careful reviewing and crucial comments, which enabled us to improve the manuscript.

Funding

This research received no specific grant from any funding agency in the public, commercial, or not-for-profit sectors.

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed equally to this work. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Mahmoud M. Mokhtar.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mokhtar, M.M., Mohamed, A.S. Lucas polynomials semi-analytic solution for fractional multi-term initial value problems. Adv Differ Equ 2019, 471 (2019). https://doi.org/10.1186/s13662-019-2402-z

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13662-019-2402-z

MSC

Keywords