Legendre-Weighted Residual Methods for System of Fractional Order Differential Equations

Abstract

The numerical approach for finding the solution of fractional order systems of boundary value problems (BPVs) is derived in this paper. The implementation of the weighted residuals such as Galerkin, Least Square, and Collocation methods are included for solving fractional order differential equations, which is broadened to acquire the approximate solutions of fractional order systems with differentiable polynomials, namely Legendre polynomials, as basis functions. The algorithm of the residual formulations of matrix form can be coded efficiently. The interpretation of Caputo fractional derivatives is employed here. We have demonstrated these methods numerically through a few examples of linear and nonlinear BVPs. The results in absolute errors show that the present method efficiently finds the numerical solutions of fractional order systems of differential equations.

Share and Cite:

Ruman, U. and Islam, M. (2024) Legendre-Weighted Residual Methods for System of Fractional Order Differential Equations. Journal of Applied Mathematics and Physics, 12, 3163-3184. doi: 10.4236/jamp.2024.129190.

1. Introduction

Since the systems of ordinary differential Equations (ODEs) are applied in computational science, engineering, physics and biology, the approximate solution of the linear and nonlinear systems of boundary value problems (BVPs) is derived for better accuracy. For instance, solving BVPs with the finite difference method in linear cases is widely accepted by Cheng and Zhong [1] in which they have deduced the positive solutions for ODEs in second order. A new method has been introduced by using series in reproducing kernel space for acquiring the solution for the second order differential equation by Geng and Cui [2]. Exploiting variational iteration method for solving a nonlinear system of second-order BVPs has been established in [3], and the Galerkin method has been developed in [4] for the numerical solution of systems of second-order BVPs.

As and when the order of ODEs is fractional, then the generalization turns to fractional differential Equations (FDEs), firm effects to acquire variational changes more accurately than the regular ODEs, which are used to model and process of anomalous diffusion, viscoelastic materials, engineering control systems, signal processing, modeling biological systems, finance option pricing and hydrology groundwater flow. For this, researchers from several fields of science and engineering are paying attention to the FDEs that deal with dynamic systems for more convergence. The fractional difference integrals played a vital role in the time domain analysis of fractional dynamical systems and were used to solve problems of control theory [5].

The Galerkin method was recently implemented in [6] to find the numerical solutions to linear fractional order two-point BVPs with homogeneous and nonhomogeneous boundary conditions using differentiable polynomials. Chebyshev collocation method incorporated by Khader et al. [7] [8] for solving high-order FDEs. The analytic study of the existence and uniqueness solution of initial value problems for fractional order systems was extensively reported in [9]-[11]. The approximate solutions of linear and nonlinear systems of fractional differential equations with the initial value problems developed by different methods such as the homotopy analysis method [12], the fractional finite difference method with Chebyshev polynomial, shifted fractional order Jacobi orthogonal functions [13], Adomian decomposition method [14], differential transform method [15], Haar wavelet collocation methods in [16], and so on.

Azizi [17] has established the Chebyshev finite difference method for a system of fractional BVPs. A coupled system of nonlinear FDEs has been derived by Xinwei in [18]. Bernstein polynomials have been used to find the approximate analytical solution for nonlinear systems of FDEs with boundary conditions by Alipour and Baleanu in [19]. The existence and uniqueness of solution have been studied for the system of periodic fractional BVPs by Dhaigude et al. [20]. Very recently, an efficient matrix method for a couple of systems of fractional ODEs has been discussed in [21]. Adomian decomposition method for solving nonlinear system of fractional differential equations was established by Ziada in [22]. The oscillatory theory for two classes of fractional neutral differential equations was derived in [23]. Mu’lla [24] has discussed about the existence and uniqueness of the solution in an alternative way for FDEs elaborately using Appell and Lauricella hypergeometric functions.

Thus, from the above literature review, we may observe that some methods provide poor accuracy, and some are costlier in computation. Thus, we are motivated to find an efficient numerical technique to find approximate solutions for the FDES system. However, in this research work, we consider the linear systems of fractional order differential equations in two unknown functions, namely, u( x ) and v( x ) in the following systems [4]:

a 2 D α u( x )+ a 1 u( x )+ a 0 v( x )= f 1 ( x ) b 2 D β v( x )+ b 1 v( x )+ b 0 u( x )= f 2 ( x ) } (1)

where f 1 ( x ), f 2 ( x ) are given functions, and a i , b i are coefficients for i=0,1,2 and 0<α,β2 .

We also consider the nonlinear systems of fractional order differential equations in two unknown functions: u( x ) and v( x ) in a system of the form:

a 2 D α u( x )+ a 1 u( x )+ a 0 v( x )+ N 1 ( u( x ),v( x ) )= f 1 ( x ) b 2 D β v( x )+ b 1 v( x )+ b 0 u( x )+ N 2 ( u( x ),v( x ) )= f 2 ( x ) } (2)

where, f 1 ( x ), f 2 ( x ) are given functions, N 1 , N 2 are nonlinear functions, and a i , b i are coefficients for i=0,1,2 and 0<α,β2 .

The proposed research work in this study is appraised numerically by the weighted residual methods, such as Galerkin, Least Square and Collocation, for solving linear and nonlinear systems of fractional order initial and boundary value problems. However, the organization of this paper is as follows.

Section 2 describes some essential ingredients, such as definitions of fractional order derivatives and integrals of fractional calculus, including modified Legendre polynomials. The mathematical formulations of the proposed methods for systems of FDEs are explained in Section 3. Section 4 is reserved for validating the proposed techniques. The obtained numerical solutions to the specific problems and the corresponding absolute errors using different approaches are presented in tabular and graphic form. Finally, the conclusion and references are included.

2. Some Preliminaries and Notations

Mittag-Leffler function: The Mittag-Leffler function is first introduced as a one-parameter generalized function of the exponential form by the series [5]:

E α ( z )= k=0 z k Γ( αk+1 ) ,α>0,α,z .

The two-parameter generalization is defined as:

E α,β ( z )= k=0 z k Γ( αk+β ) ,α,β>0,α,β,z

Definition: The Caputo fractional derivative D * α of order α of u( x ) is defined in the following form:

D * α u( x )= 1 Γ( mα ) 0 x ( xy ) mα1 f ( m ) ( y )dy ,

where α>0 .

Linearity: Caputo fractional order derivative operator is a linear operation:

D * α ( a 1 u( x )+ a 2 v( x ) )= a 1 D * α u( x )+ a 2 D * α v( x ) ,

where a i is constant for i=1,2 .

For Caputo fractional derivative we have,

1) D * α C=0 ,

2) D * α x m ={ 0, formN Γ( m+1 ) Γ( m+1α ) x mα , formN .

Exponential function: Let α,n1<α<n,n,λ , then the Caputo fractional derivative of the exponential function has the form:

D α e λt = λ n t nα E 1,nα+1 ( λt ) .

Other frequently used functions:

Let α,n1<α<n,n,λ then

D α sinλt= 1 2 i ( iλ ) n t nα ( E 1,nα+1 ( iλt ) ( 1 ) n ( E 1,nα+1 ( iλt ) ) .

D α cosλt= 1 2 ( iλ ) n t nα ( E 1,nα+1 ( iλt )+ ( 1 ) n ( E 1,nα+1 ( iλt ) ) .

Modified Legendre Polynomials: The analogue of Rodrigues formula for the Legendre polynomials is given by [6]:

L n ( x )= 1 n! d n d x n ( x 2 x ) n .

To satisfy the condition L n ( 0 )= L n ( 1 )=0,n1 , we modify the Legendre polynomials: L n ( x )=[ 1 n! d n d x n ( x 2 x ) n ( 1 ) n ]( x1 ) .

We can write the first three ( n=3 ) modified Legendre polynomials over the interval [0, 1] which are used throughout this paper:

L 1 ( x )=2x+2 x 2

L 2 ( x )=6x12 x 2 +6 x 3

L 3 ( x )=12x+42 x 2 50 x 3 +20 x 4

The special properties of the modified Legendre polynomials are:

L n ( 0 )=0 and L n ( 1 )=0,n1.

The modified Legendre polynomials are smooth, continuous, differentiable and integrable. Thus, the set of basis functions satisfying the corresponding homogeneous boundary conditions are exploited in the matrix formulation of fractional order boundary value problems over the interval [ 0,1 ] .

3. Mathematical Formulations

Galerkin formulation for the system of fractional order BVPs:

Let us consider three-term linear fractional order systems:

D α u( x )+p( x )u( x )+q( x )v( x )=f( x ) D β v( x )+r( x )v( x )+s( x )u( x )=g( x ) } (3)

with the boundary conditions:

u( 0 )=u( 1 )=v( 0 )=v( 1 )=0and0<x<1. (4)

We assume two approximate solutions for the pair of functions u( x ) and v( x ) of the system (3) are given by:

u ˜ ( x )= j=1 n a j L j ( x ),n1 v ˜ ( x )= j=1 n b j L j ( x ),n1 } (5)

where a j and b j are parameter, L j ( x ) are polynomial functions which satisfy boundary conditions (4).

Now we apply Galerkin formulation described in system (3), and we obtain the system of residual equations:

0 1 ( D α u( x )+p( x )u( x )+q( x )v( x ) ) L i ( x )dx = 0 1 f( x ) L i ( x )dx 0 1 ( D β v( x )+r( x )v( x )+s( x )u( x ) ) L i ( x )dx = 0 1 g( x ) L i ( x )dx } (6)

On using integration by parts we can obtain the following system:

0 1 ( D α u ˜ ( x ) L i ( x )+p( x ) u ˜ ( x ) L i ( x )+q( x ) v ˜ ( x ) L i ( x ) )dx = 0 1 f( x ) L i ( x )dx 0 1 ( D β v ˜ ( x ) L i ( x )+r( x ) v ˜ ( x ) L i ( x )+s( x ) u ˜ ( x ) L i ( x ) )dx = 0 1 g( x ) L i ( x )dx } (7)

Now putting the Equation (5) into (7) to get

0 1 ( j=1 n a j L j ( x ) α L i ( x )+p( x ) j=1 n a j L j ( x ) L i ( x )+q( x ) j=1 n b j L j ( x ) L i ( x ) )dx = 0 1 f( x ) L i ( x )dx

0 1 ( j=1 n b j L j ( x ) β L i ( x )+r( x ) j=1 n b j L j ( x ) L i ( x )+s( x ) j=1 n a j L j ( x ) L i ( x ) )dx = 0 1 g( x ) L i ( x )dx

We can write the above equations as

j=1 n ( 0 1 [ ( L j ( x ) α L i ( x ) ) a j +( p( x ) L j ( x ) L i ( x ) ) a j +( q( x ) L j ( x ) L i ( x ) ) b j ]dx ) = 0 1 f( x ) L i ( x )dx

j=1 n ( 0 1 [ ( L j ( x ) β L i ( x ) ) b j +( r( x ) L j ( x ) L i ( x ) ) b j +( s( x ) L j ( x ) L i ( x ) ) a j ]dx ) = 0 1 g( x ) L i ( x )dx

where i=1,2,3,,n .

Equivalently, the matrix formulation is given by

j=1 n ( A j,i a j + B j,i b j ) = F i j=1 n ( C j,i b j + D j,i a j ) = G i } (8)

where,

A j,i = 0 1 [ ( L j ( x ) α L i ( x ) ) a j +( p( x ) L j ( x ) L i ( x ) ) a j ]dx

C j,i = 0 1 [ ( L j ( x ) β L i ( x ) ) b j +( r( x ) L j ( x ) L i ( x ) ) b j ]dx

B j,i = 0 1 [ ( q( x ) L j ( x ) L i ( x ) ) b j ]dx , F i = 0 1 f( x ) L i ( x )dx

D j,i = 0 1 [ ( s( x ) L j ( x ) L i ( x ) ) a j ]dx , G i = 0 1 g( x ) L i ( x )dx for i,j=1,2,3,,n .

Once we get the system of linear Equations (8), a j and b j can be obtained easily.

Least Square formulation for the system of fractional order BVPs:

In this case, weighting function is chosen to be

W j = R 1 ( x ) m j and Z j = R 2 ( x ) n j ,j=1,2,,n

Now this choice of W j and Z j corresponds to minimize the mean square residual

W R 1 = 1 2 R 1 2 dx = minimum and Z R 2 = 1 2 R 2 2 dx = minimum

The necessary condition for WR to be minimum are given by

W R 1 m j = 0 1 R 1 ( x ) R 1 m j dx =0,j=1,2,,n Z R 2 n j = 0 1 R 2 ( x ) R 2 n j dx =0,j=1,2,,n } (9)

which is clearly the matrix form of a system of n linear equations with the coefficients m j and n j . Solving the system (9), we find the values of some parameters and substitute into Equation (5); we are able to find the approximate solution of the desired FBVP (3).

Collocation formulation for the system of fractional order BVPs:

We assume that the boundary condition [ a,b ] such as boundary conditions u( a )= a 0 , u( b )= b 0 and v( a )= a 1 , v( b )= b 1 . In this case, we choose n parameters and the grid points as:

x j = a+j n+1 ,

where j=1,2,3,,n .

Since the residual functions of (3) are:

R 1 ( x )=p( x )D u ˜ ( x )+q( x ) D α u ˜ ( x )+ v ˜ ( x )f( x ) R 2 ( x )=r( x )D v ˜ ( x )+s( x ) D β v ˜ ( x )+ u ˜ ( x )g( x ) } (10)

Setting R( x j )=0 , we obtain the system of unknown parameter a j and b j . Using the values of parameters, we get the approximate solution of system of fractional order boundary value problems.

4. Numerical Simulations

To demonstrate the effectiveness of the proposed methods in this literature, four examples are validated in this section. Compare the results of several fractional orders α and β , we will establish that the present method is very effective and convenient for all orders of α and β .

The efficiency and reliability of the proposed method are validated by computing the maximum absolute error L as:

L =max| u( x ) u ˜ ( x ) | and L =max| v( x ) v ˜ ( x ) | ,

where u( x ),v( x ) and u ˜ ( x ), v ˜ ( x ) are the exact and approximate solutions, respectively. Throughout this section, we use the symbols as follows:

u ˜ G ( x ) and v ˜ G ( x ) : approximate solutions of u ˜ ( x ) and v ˜ ( x ) using Galerkin formulation;

u ˜ L ( x ) and v ˜ L ( x ) : approximate solutions of u ˜ ( x ) and v ˜ ( x ) using Least square formulation;

u ˜ C ( x ) and v ˜ C ( x ) : approximate solutions of u ˜ ( x ) and v ˜ ( x ) using Collocation formulation.

Problem 1: Consider the linear system of fractional differential equations [21]:

D α u( x )=u+v+ 120 x 5α Γ( 6α ) x 5 x 4 D α v( x )=u+v+ 24 x 4α Γ( 5α ) x 5 x 4 } (11)

with the initial conditions u( 0 )=v( 0 )=0 , u ( 0 )= v ( 0 )=0 .

For α=2 , the exact solution is u( x )= x 5 and v( x )= x 4 .

Using Galerkin formulation in (8) the approximate solutions of u ˜ G ( x ) and v ˜ G ( x ) of (11) with three modified Legendre polynomials are given by, respectively:

u ˜ G ( x )=0.04453x+0.56018 x 2 1.85860 x 3 +2.34296 x 4 ,

v ˜ G ( x )=0.00445x+0.01557 x 2 0.02120 x 3 +1.01008 x 4 .

Now we evaluate the absolute errors of u ˜ G ( x ) and v ˜ G ( x ) for different values of α=0.6,0.7,0.8,0.9,1.5,2 for the systems of (11) which are displayed in Table 1 and Table 2, respectively.

Table 1. Absolute errors of u ˜ G ( x ) of problem 1 for n=3 .

x

α=0.6

α=0.7

α=0.8

α=0.9

α=1.5

α=2

0.1

2.97 × 10−3

3.50 × 10−3

4.78 × 10−3

8.79 × 10−3

4.85 × 10−4

1.92 × 10−3

0.2

9.24 × 10−4

1.50 × 10−3

2.94 × 10−3

7.50 × 10−3

2.06 × 10−3

7.96 × 10−4

0.3

1.03 × 10−3

6.18 × 10−4

4.95 × 10−4

4.08 × 10−3

3.42 × 10−3

2.79 × 10−3

0.4

1.21 × 10−3

9.79 × 10−4

2.34 × 10−4

2.24 × 10−3

2.60 × 10−3

2.31 × 10−3

0.5

1.45 × 10−4

7.56 × 10−6

6.02 × 10−4

2.66 × 10−3

6.37 × 10−4

0

0.6

5.93 × 10−4

7.71 × 10−4

1.56 × 10−3

4.15 × 10−3

6.27 × 10−4

2.31 × 10−3

0.7

3.97 × 10−4

7.43 × 10−5

1.12 × 10−3

4.91 × 10−3

2.87 × 10−4

2.79 × 10−3

0.8

3.14 × 10−3

2.67 × 10−3

1.13 × 10−3

3.65 × 10−3

3.27 × 10−3

7.96 × 10−4

0.9

5.11 × 10−3

4.67 × 10−3

3.31 × 10−3

8.71 × 10−4

5.46 × 10−3

1.92 × 10−3

L

5.11 × 10−3

4.67 × 10−3

4.78 × 10−3

8.79 × 10−3

5.46 × 10−3

2.79 × 10−3

Table 2. Absolute errors of v ˜ G ( x ) of problem 1 for n=3 .

x

α=0.6

α=0.7

α=0.8

α=0.9

α=1.5

α=2

0.1

3.23 × 10−3

4.20 × 10−3

5.71 × 10−3

9.69 × 10−3

3.09 × 10−4

1.94 × 10−5

0.2

3.09 × 10−3

4.24 × 10−3

6.02 × 10−3

1.06 × 10−2

4.21 × 10−4

2.59 × 10−5

0.3

1.72 × 10−3

2.68 × 10−3

4.15 × 10−3

7.88 × 10−3

4.25 × 10−4

2.27 × 10−5

0.4

6.04 × 10−4

1.30 × 10−3

2.35 × 10−3

4.98 × 10−3

3.89 × 10−4

1.29 × 10−5

0.5

5.68 × 10−4

1.13 × 10−3

1.96 × 10−3

4.05 × 10−3

3.54 × 10−4

0

0.6

1.79 × 10−3

2.41 × 10−3

3.31 × 10−3

5.73 × 10−3

3.39 × 10−4

1.29 × 10−5

0.7

3.80 × 10−3

4.63 × 10−3

5.82 × 10−3

9.20 × 10−3

3.39 × 10−4

2.27 × 10−5

0.8

5.46 × 10−3

6.47 × 10−3

7.93 × 10−3

1.21 × 10−2

3.22 × 10−4

2.59 × 10−5

0.9

5.01 × 10−3

5.87 × 10−3

7.14 × 10−3

1.08 × 10−2

2.35 × 10−4

1.94 × 10−5

L

5.46 × 10−3

6.47 × 10−3

7.93 × 10−3

1.21 × 10−2

4.25 × 10−4

2.59 × 10−5

From Table 1 and Table 2, we may observe that our proposed method is comparatively easier and the accuracy is reasonable.

The graphical representation of absolute errors for considering the value of fractional order α=0.6,0.8,0.9,1.5 can be shown in Figure 1 and Figure 2. From the above discussion, it is clear that our method is more straightforward than other methods in the existing literature.

Problem 2: Consider the linear system of fractional differential equations [16]:

D α u( x )+Dv( x )+ x 2 Du( x )=f( x ) D α v( x )+( x1 ) D 2 u( x )=g( x ) } (12)

with the boundary conditions u( 0 )=0 , u( 1 )=1 , v( 0 )=v( 1 )=0 and 0x1 , when α=1.5 the right-hand side function becomes f( x )= 4 Γ( 0.5 ) x +2 x 3 +3 x 2 1 and g( x )= 8 Γ( 0.5 ) x 3 2 +2( x1 ) . The exact solutions are u( x )= x 2 and v( x )= x 3 x .

Figure 1. Absolute errors of u( x ) for problem 1.

Figure 2. Absolute errors of v( x ) for problem 1.

For α=1.5 , three weighted residual meth od give the approximate solution u ˜ ( x ) and v ˜ ( x ) of the given system (12) are as follows:

u ˜ G ( x )=5.561× 10 14 x+0.999 x 2 +4.897× 10 13 x 3 2.638× 10 13 x 4 ,

u ˜ L ( x )=3.382× 10 15 x+1.00 x 2 1.214× 10 13 x 3 +6.483× 10 14 x 4 ,

u ˜ C ( x )=1.857× 10 16 x+1.00 x 2 1.49× 10 15 x 3 +6.864× 10 16 x 4

and

v ˜ G ( x )=0.999x6.947× 10 13 x 2 +1.00 x 3 6.039× 10 13 x 4 ,

v ˜ L ( x )=0.999x+3.780× 10 14 x 2 +0.999 x 3 +5.839× 10 14 x 4 ,

v ˜ C ( x )=1.00x+1.896× 10 15 x 2 +0.999 x 3 +1.749× 10 15 x 4 .

Now we compute the approximate solutions of u ˜ ( x ) and v ˜ ( x ) in tabular form by three weighted residual methods: Galerkin, Least Square and Collocation, and are displayed in Table 3 and Table 4, respectively. From Table 3 and Table 4 we may observe that the approximate solutions by the proposed three methods perform excellently, converge to the exact solutions, and coincide with the solutions of [16]. The exact and approximate solutions of the problem 2 are shown in Figure 3, while absolute errors are displayed in Figure 4.

Table 3. Absolute errors of u ˜ ( x ) for the problem 2.

x

Galerkin

Least Square

Collocation

0.1

3.21 × 10−15

1.56 × 10−16

3.46 × 10−18

0.2

3.36 × 10−15

8.67 × 10−16

6.93 × 10−18

0.3

2.44 × 10−15

1.62 × 10−15

0

0.4

1.80 × 10−15

2.13 × 10−15

0

0.5

2.16 × 10−15

2.16 × 10−15

0

0.6

3.60 × 10−15

1.72 × 10−15

0

0.7

5.60 × 10−15

8.88 × 10−16

0

0.8

6.99 × 10−15

1.11 × 10−16

0

0.9

5.88 × 10−15

4.44 × 10−16

0

L

6.99 × 10−15

2.16 × 10−15

6.93 × 10−18

Table 4. Absolute errors of v ˜ ( x ) for the problem 2.

x

Galerkin

Least Square

Collocation

0.1

7.95 × 10−15

9.43 × 10−16

1.38 × 10−17

0.2

8.07 × 10−15

2.10 × 10−15

2.77 × 10−17

0.3

5.21 × 10−15

2.99 × 10−15

1.11 × 10−16

0.4

2.88 × 10−15

3.60 × 10−15

5.55 × 10−17

0.5

2.55 × 10−15

3.55 × 10−15

5.55 × 10−17

0.6

5.05 × 10−15

2.88 × 10−15

0

0.7

9.21 × 10−15

1.94 × 10−15

0

0.8

1.27 × 10−14

8.32 × 10−16

1.11 × 10−16

0.9

1.13 × 10−14

5.55 × 10−17

2.77 × 10−17

L

1.27 × 10−14

3.60 × 10−15

1.11 × 10−16

Figure 3. Exact and approximate solutions of u( x ) and v( x ) for problem 2.

Figure 4. Absolute errors of u( x ) and v( x ) for problem 2.

We observe from the graphical representation of Figure 3 and Figure 4 for both u( x ) and v( x ) that the more accurate results can be obtained by Collocation method for this particular problem.

Problem 3: Consider the linear system of fractional differential equations [3] [4] [17]:

D α u( x )+( 2x1 )Du( x )+cos( πx )Dv( x )=f( x ) D β v( x )+xu( x )=g( x ) } (13)

with the boundary conditions u( 0 )=0 , u( 1 )=0 , v( 0 )=v( 1 )=0 and  0x1 , and where,

f( x )=( π 0.564 x 0.5 π 3 4.513 x 1.5 6 + π 5 10.316 x 3.5 120 π 7 17.506 x 5.5 5040 + π 9 25.856 x 7.5 362880 π 11 35.222 x 9.5 39916800 ) +( 2x1 )πcos( πx )+cos( πx )( 2x1 )

and

g( x )=2.14734 x 0.8 0.85893 x 0.19999 +xsin( πx ) .

For α=β=2 the system gives the exact solution u( x )=sin( πx ) and v( x )= x 2 x . This problem was solved in [4] using the Galerkin method with Legendre and Bernstein polynomials. In this paper, we consider the values of α=1.5 and β=1.2 and obtain the approximate solution u ˜ ( x ) of the given system (13) by three weighted residual methods with the modified Legendre polynomials as:

u ˜ G ( x )=3.109x+0.443 x 2 7.107 x 3 +3.555 x 4 ,

u ˜ L ( x )=3.138x+0.355 x 2 7.00 x 3 +3.506 x 4 ,

u ˜ C ( x )=3.050x+0.681 x 2 7.494 x 3 +3.763 x 4 .

Similarly, the approximate solution v ˜ ( x ) are:

v ˜ G ( x )=1.00x+1.00 x 2 0.002 x 3 +0.001 x 4 ,

v ˜ L ( x )=0.999x+1.001 x 2 0.004 x 3 +0.002 x 4 ,

v ˜ C ( x )=1.023x+1.069 x 2 0.087 x 3 +0.041 x 4 .

The absolute errors are obtained for α=1.5 , β=1.2 , and also for α=β=2 , which are displayed in Table 5 and Table 6, respectively for u ˜ ( x ) and v ˜ ( x ) . The exact and approximate solutions, and absolute errors are depicted in Figure 5 and Figure 6, respectively. By comparing the results of our proposed methods with the variational iteration method [16], it is evident that our method also gives the better results. In Table 5 and Table 6, we observe that Galerkin method gives the more accurate and better results than that of other residual methods and the reference results for this example.

Figure 5. Exact and approximate solutions of u( x ) and v( x ) of problem 3.

Figure 6. Absolute errors of u( x ) and v( x ) of problem 3.

Table 5. Absolute errors of u ˜ ( x ) for the problem 3.

x

α=1.5,β=1.2 and n=3

α=β=2 and n=3

Galerkin

Least Square

Collocation

Galerkin

Least Square

Collocation

Reference [3]

0.1

4.28 × 10−4

1.75 × 10−3

4.28 × 10−3

2.53 × 10−4

1.13 × 10−3

7.26 × 10−3

3.00 × 10−4

0.2

5.93 × 10−4

3.77 × 10−3

4.40 × 10−3

7.33 × 10−4

1.55 × 10−3

8.11 × 10−3

2.50 × 10−3

0.3

5.03 × 10−4

3.95 × 10−3

4.47 × 10−3

5.43 × 10−4

6.87 × 10−5

7.68 × 10−3

7.80 × 10−3

0.4

3.55 × 10−4

3.00 × 10−3

5.25 × 10−3

3.83 × 10−4

1.99 × 10−3

7.47 × 10−3

1.66 × 10−2

0.5

8.62 × 10−4

2.26 × 10−3

6.16 × 10−3

8.75 × 10−4

2.91 × 10−3

7.45 × 10−3

2.77 × 10−2

0.6

4.79 × 10−4

2.40 × 10−3

6.77 × 10−3

3.83 × 10−4

1.99 × 10−3

7.46 × 10−3

3.87 × 10−2

0.7

2.86 × 10−4

2.90 × 10−3

7.14 × 10−3

5.43 × 10−4

6.95 × 10−5

7.68 × 10−3

4.59 × 10−2

0.8

3.44 × 10−4

2.57 × 10−3

7.44 × 10−3

7.33 × 10−4

1.55 × 10−3

8.11 × 10−3

4.49 × 10−2

0.9

6.14 × 10−4

8.53 × 10−4

6.56 × 10−3

2.53 × 10−4

1.14 × 10−3

7.25 × 10−3

3.09 × 10−2

L

8.62 × 10−4

3.95 × 10−3

7.44 × 10−3

8.75 × 10−4

2.91 × 10−3

8.11 × 10−3

4.59 × 10−2

Table 6. Absolute errors of v ˜ ( x ) for the problem 3.

x

α=1.5,β=1.2 and n=3

α=β=2 and n=3

Galerkin

Least Square

Collocation

Galerkin

LeastSquare

Collocation

Reference [4]

0.1

4.56 × 10−5

5.98 × 10−5

1.74 × 10−3

3.44 × 10−7

1.19 × 10−5

1.31 × 10−4

2.53 × 10−4

0.2

6.13 × 10−5

1.22 × 10−4

2.56 × 10−3

6.10 × 10−7

2.54 × 10−5

2.51 × 10−4

5.42 × 10−4

0.3

5.99 × 10−5

1.70 × 10−4

2.83 × 10−3

1.71 × 10−6

3.65 × 10−5

3.54 × 10−4

5.42 × 10−4

0.4

5.15 × 10−5

1.94 × 10−4

2.83 × 10−3

2.22 × 10−6

4.26 × 10−5

4.34 × 10−4

3.84 × 10−4

0.5

4.25 × 10−5

1.89 × 10−4

2.73 × 10−3

1.77 × 10−6

4.27 × 10−5

4.84 × 10−4

8.76 × 10−4

0.6

3.65 × 10−5

1.57 × 10−4

2.62 × 10−3

3.96 × 10−7

3.67 × 10−5

4.97 × 10−4

3.83 × 10−4

0.7

3.38 × 10−5

1.05 × 10−4

2.46 × 10−3

1.48 × 10−6

2.60 × 10−5

4.65 × 10−4

5.45 × 10−4

0.8

3.14 × 10−5

4.75 × 10−5

2.13 × 10−3

3.05 × 10−6

1.35 × 10−5

3.77 × 10−4

7.36 × 10−4

0.9

2.32 × 10−5

3.78 × 10−6

1.42 × 10−3

3.09 × 10−6

3.02 × 10−6

2.26 × 10−4

2.50 × 10−4

L

6.13 × 10−5

1.94 × 10−4

2.83 × 10−3

3.09 × 10−6

4.27 × 10−5

4.97 × 10−4

8.76 × 10−4

Problem 4: Consider the nonlinear system of fractional differential equations [3] [4]

D α u( x )+xDu( x )+cos( πx )Dv( x )=f( x ) D β v( x )+xDu( x )+ u 2 ( x )=g( x ) } (14)

subject to the boundary condition

u( 0 )=u( 1 )=0,v( 0 )=v( 1 )=0 (15)

with α=β=1.5 and 0<x<1 , where

f( x )=( 2.256 x 0.5 7.221 x 2.5 6 + 13.755 x 4.5 120 21.547 x 6.5 5040 + 30.419 x 8.5 362880 40.254 x 10.5 39916800 0.564 x 0.5 + 4.513 x 1.5 6 10.316 x 3.5 120 + 17.506 x 5.5 5040 25.856 x 7.5 362880 + 35.222 x 9.5 39916800 )+( x 2 x )cosx+xsinx+( 12x )cos( πx )

and

g( x )=( 0.564 x 0.5 2.256 x 0.5 )+xsinx+( x 2 x )cosx+ ( x1 ) 2 ( sinx ) 2 .

For α=β=2 the system gives the exact solution u( x )=( x1 )sin( x ) and v( x )=x x 2 . This problem was solved in [4] using the Galerkin method with Legendre and Bernstein polynomials.

We use modified Legendre polynomials as trial approximate solution to solve the systems (14). Consider the solution of the form:

u ˜ ( x )= j=1 n a j N j ( x ),n1 v ˜ ( x )= j=1 n b j N j ( x ),n1 } (16)

where a j and b j are parameter, N j ( x ) are polynomial functions which satisfy boundary conditions (15).

Now using the Galerkin method, we get the equation of the form:

j=1 n ( 0 1 [ ( N j ( x ) α N i ( x ) ) a j +( x N j ( x ) N i ( x ) ) a j +( cos( πx ) N j ( x ) N i ( x ) ) b j ]dx ) = 0 1 f( x ) N i ( x )dx

or

j=1 n ( 0 1 [ ( N j ( x ) β N i ( x ) ) b j +( x N j ( x ) N i ( x ) ) a j +( N j ( x ) N i 2 ( x ) ) a j ]dx ) = 0 1 g( x ) N i ( x )dx ,i,j=1,2,3,,n.

Equivalently, in matrix form:

i=1 n ( A j,i a j + B j,i b j ) = F i i=1 n ( C j,i b j +( D j,i + E j,i ) a j ) = G i } (17)

where,

A j,i = 0 1 [ ( N j ( x ) α N i ( x ) ) a j +( x N j ( x ) N i ( x ) ) a j ]dx

B j,i = 0 1 [ ( cos( πx ) N j ( x ) N i ( x ) ) b j ]dx

F i = 0 1 [ ( 2.256 x 0.5 7.221 x 2.5 6 + 13.755 x 4.5 120 21.547 x 6.5 5040 + 30.419 x 8.5 362880 40.254 x 10.5 39916800 0.564 x 0.5 + 4.513 x 1.5 6 10.316 x 3.5 120 + 17.506 x 5.5 5040 25.856 x 7.5 362880 + 35.222 x 9.5 39916800 )+( x 2 x )cosx+xsinx+( 12x )cos( πx ) ] N i ( x )dx

C j,i = 0 1 [ ( N j ( x ) β N i ( x ) ) b j ]dx

D j,i = 0 1 [ ( x N j ( x ) N i ( x ) ) a j ]dx

E j,i = 0 1 [ ( N j ( x ) N i 2 ( x ) ) a j ]dx

G i = 0 1 [ ( 0.564 x 0.5 2.256 x 0.5 )+xsinx+( x 2 x )cosx+ ( x1 ) 2 ( sinx ) 2 ] N i ( x )dx

for all i,j=1,2,3,,n .

Once we get the system of linear Equations (17), the parameter a j and b j can be then obtained easily. In this problem, we consider α=β=1.5 , and obtain the approximate solutions u ˜ ( x ) as:

u ˜ G ( x )=1.00x+1.00 x 2 +0.150 x 3 0.156 x 4 ,

u ˜ L ( x )=1.00x+1.00 x 2 +0.146 x 3 0.152 x 4 ,

u ˜ C ( x )=0.999x+1.00 x 2 +0.158 x 3 0.160 x 4 .

Similarly, for α=β=1.5 the approximations of v ˜ ( x ) are as follows:

v ˜ G ( x )=1.00x1.00 x 2 +0.0001 x 3 0.0001 x 4 ,

v ˜ L ( x )=0.999x1.00 x 2 +0.0005 x 3 0.0003 x 4 ,

v ˜ C ( x )=1.00x1.00 x 2 +0.001 x 3 0.0006 x 4 .

Now the graphical previews of the approximate and exact solutions are displayed in Figure 7. The absolute errors are summarized in Table 7 and Table 8, and the corresponding graphical representations are depicted in Figure 8. The absolute errors are compared with the results obtained by Variational iteration method [3]. From the tables and figures, we may emphasise that our methods perform the better accuracy.

Table 7. Absolute errors of u ˜ ( x ) for the problem 4.

x

α=β=1.5 and n=3

α=β=2 and n=3

Galerkin

Least Square

Collocation

Galerkin

Least Square

Collocation

Reference [3]

0.1

6.26 × 10−6

3.13 × 10−5

1.04 × 10−4

2.90 × 10−5

4.55 × 10−5

3.46 × 10−4

1.42 × 10−3

0.2

4.59 × 10−5

9.75 × 10−5

1.97 × 10−4

7.53 × 10−6

1.14 × 10−4

4.36 × 10−4

7.68 × 10−4

0.3

7.04 × 10−5

1.34 × 10−4

2.59 × 10−4

3.99 × 10−5

1.43 × 10−4

4.05 × 10−5

6.09 × 10−4

0.4

6.34 × 10−5

1.16 × 10−4

2.91 × 10−4

3.74 × 10−5

1.07 × 10−4

3.49 × 10−5

1.76 × 10−3

0.5

3.55 × 10−5

5.38 × 10−5

3.09 × 10−4

3.48 × 10−6

2.02 × 10−5

3.25 × 10−4

2.16 × 10−3

0.6

1.38 × 10−5

1.91 × 10−5

3.35 × 10−4

3.56 × 10−5

7.84 × 10−5

3.48 × 10−5

1.64 × 10−3

0.7

2.43 × 10−5

6.20 × 10−5

3.77 × 10−4

4.73 × 10−5

1.40 × 10−4

3.99 × 10−4

4.37 × 10−4

0.8

7.06 × 10−5

4.92 × 10−5

4.09 × 10−4

1.49 × 10−5

1.32 × 10−4

4.22 × 10−5

8.87 × 10−4

0.9

1.05 × 10−4

2.04 × 10−6

3.44 × 10−4

3.49 × 10−5

5.90 × 10−5

3.28 × 10−4

1.43 × 10−3

L

1.05 × 10−4

1.34 × 10−4

4.09 × 10−4

4.73 × 10−5

1.43 × 10−4

3.99 × 10−4

2.16 × 10−3

Table 8. Absolute errors of v ˜ ( x ) for the problem 4.

x

α=β=1.5 and n=3

α=β=2 and n=3

Galerkin

Least Square

Collocation

Galerkin

Least Square

Collocation

Reference [3]

0.1

1.26 × 10−6

2.27 × 10−6

1.33 × 10−5

2.49 × 10−7

5.83 × 10−6

1.39 × 10−4

8.61 × 10−4

0.2

2.28 × 10−6

5.92 × 10−6

1.86 × 10−5

7.25 × 10−7

1.24 × 10−5

2.03 × 10−5

6.27 × 10−4

0.3

3.49 × 10−6

8.94 × 10−6

2.05 × 10−5

1.79 × 10−6

1.77 × 10−5

2.07 × 10−5

3.61 × 10−4

0.4

5.05 × 10−6

1.00 × 10−5

2.21 × 10−5

2.21 × 10−6

2.04 × 10−5

1.68 × 10−4

1.76 × 10−2

0.5

6.90 × 10−6

8.74 × 10−6

2.48 × 10−5

1.64 × 10−6

1.98 × 10−5

1.05 × 10−4

3.25 × 10−3

0.6

8.70 × 10−6

5.24 × 10−6

2.86 × 10−5

1.57 × 10−7

1.62 × 10−5

3.30 × 10−5

4.47 × 10−2

0.7

9.87 × 10−6

5.19 × 10−7

3.20 × 10−5

1.80 × 10−6

1.04 × 10−5

3.05 × 10−5

5.10 × 10−2

0.8

9.58 × 10−6

3.69 × 10−6

3.18 × 10−5

3.38 × 10−6

4.11 × 10−6

6.84 × 10−5

4.79 × 10−3

0.9

6.73 × 10−6

4.94 × 10−6

2.32 × 10−5

3.32 × 10−6

4.13 × 107

6.39 × 10−5

3.20 × 10−3

L

9.87 × 10−6

1.00 × 10−5

3.20 × 10−5

3.38 × 10−6

2.04 × 10−5

1.68 × 10−4

5.10 × 10−2

Figure 7. Exact and approximate solutions of u( x ) and v( x ) of problem 4.

Figure 8. Absolute errors of u( x ) and v( x ) of problem 4.

5. Conclusion

We have derived three weighted residual methods in this paper, namely Galerkin, Least Square and Collocation—to solve the fractional order differential equations system. The algorithm of the rigorous matrix formulations can be coded efficiently. The approximate results converge monotonically to the exact solutions. In most cases, the three methods show their output’s closeness, and provide accurate and satisfactory results. Upon using some examples and comparing the results of these methods, it is concluded that the results differ based on the order of the fractional differential equations. Finally, we may conclude that the approximate solutions of any coupled system with initial and boundary conditions can be generated by the present techniques with differentiable piecewise polynomials.

Acknowledgements

The authors are thankful to the peer reviewer for invaluable feedback and insightful suggestions, which significantly enhanced the quality of the original manuscript.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

References

[1] Cheng, X. and Zhong, C. (2005) Existence of Positive Solutions for a Second-Order Ordinary Differential System. Journal of Mathematical Analysis and Applications, 312, 14-23.
https://doi.org/10.1016/j.jmaa.2005.03.016
[2] Geng, F. and Cui, M. (2007) Solving a Nonlinear System of Second Order Boundary Value Problems. Journal of Mathematical Analysis and Applications, 327, 1167-1181.
https://doi.org/10.1016/j.jmaa.2006.05.011
[3] Lu, J. (2007) Variational Iteration Method for Solving a Nonlinear System of Second-Order Boundary Value Problems. Computers & Mathematics with Applications, 54, 1133-1138.
https://doi.org/10.1016/j.camwa.2006.12.060
[4] Rupa, M.J. and Islam, M.S. (2018) Numerical Solutions of System of Second Order Boundary Value Problems Using Galerkin Method. Journal of Bangladesh Mathematical Society, 37, 161-174.
https://doi.org/10.3329/ganit.v37i0.35734
[5] Podlubny, I. (1999) Fractional Differential Equations: An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications. Academic Press.
[6] Ruman, U. and Shafiqul Islam, M. (2020) Numerical Solutions of Linear Fractional Order BVP by Galerkin Residual Method with Differentiable Polynomials. Applied and Computational Mathematics, 9, 20-25.
https://doi.org/10.11648/j.acm.20200902.11
[7] Khader, M.M., El Danaf, T.S. and Hendy, A.S. (2013) A Computational Matrix Method for Solving Systems of High Order Fractional Differential Equations. Applied Mathematical Modelling, 37, 4035-4050.
https://doi.org/10.1016/j.apm.2012.08.009
[8] Khader, M.M., Sweilam, N.H. and Mahdy, A.M.S. (2015) Two Computational Algorithms for the Numerical Solution for System of Fractional Differential Equations. Arab Journal of Mathematical Sciences, 21, 39-52.
https://doi.org/10.1016/j.ajmsc.2013.12.001
[9] Daftardar-Gejji, V. and Babakhani, A. (2004) Analysis of a System of Fractional Differential Equations. Journal of Mathematical Analysis and Applications, 293, 511-522.
https://doi.org/10.1016/j.jmaa.2004.01.013
[10] Odibat, Z.M. (2010) Analytic Study on Linear Systems of Fractional Differential Equations. Computers & Mathematics with Applications, 59, 1171-1183.
https://doi.org/10.1016/j.camwa.2009.06.035
[11] Bonilla, B., Rivero, M. and Trujillo, J.J. (2007) On Systems of Linear Fractional Differential Equations with Constant Coefficients. Applied Mathematics and Computation, 187, 68-78.
https://doi.org/10.1016/j.amc.2006.08.104
[12] Zurigat, M., Momani, S., Odibat, Z. and Alawneh, A. (2010) The Homotopy Analysis Method for Handling Systems of Fractional Differential Equations. Applied Mathematical Modelling, 34, 24-35.
https://doi.org/10.1016/j.apm.2009.03.024
[13] Bhrawy, A.H. and Zaky, M.A. (2016) Shifted Fractional-Order Jacobi Orthogonal Functions: Application to a System of Fractional Differential Equations. Applied Mathematical Modelling, 40, 832-845.
https://doi.org/10.1016/j.apm.2015.06.012
[14] Daftardar-Gejji, V. and Jafari, H. (2005) Adomian Decomposition: A Tool for Solving a System of Fractional Differential Equations. Journal of Mathematical Analysis and Applications, 301, 508-518.
https://doi.org/10.1016/j.jmaa.2004.07.039
[15] Ertürk, V.S. and Momani, S. (2008) Solving Systems of Fractional Differential Equations Using Differential Transform Method. Journal of Computational and Applied Mathematics, 215, 142-151.
https://doi.org/10.1016/j.cam.2007.03.029
[16] Abdeljawad, T., Amin, R., Shah, K., Al-Mdallal, Q. and Jarad, F. (2020) Efficient Sustainable Algorithm for Numerical Solutions of Systems of Fractional Order Differential Equations by Haar Wavelet Collocation Method. Alexandria Engineering Journal, 59, 2391-2400.
https://doi.org/10.1016/j.aej.2020.02.035
[17] Azizi, H. (2015) Chebyshev Finite Difference Method for Fractional Boundary Value Problems, Journal of Mathematical Extension, 9, 57-71.
[18] Su, X. (2009) Boundary Value Problem for a Coupled System of Nonlinear Fractional Differential Equations. Applied Mathematics Letters, 22, 64-69.
https://doi.org/10.1016/j.aml.2008.03.001
[19] Alipour, M. and Baleanu, D. (2013) Approximate Analytical Solution for Nonlinear System of Fractional Differential Equations by Bps Operational Matrices. Advances in Mathematical Physics, 2013, 1-9.
https://doi.org/10.1155/2013/954015
[20] Dhaigude, D.B., Jadhav, N.B. and Nanware, J.A. (2018) Method of Upper Lower Solutions for Nonlinear System of Fractional Differential Equations and Applications. Malaya Journal of Matematik, 6, 467-472.
https://doi.org/10.26637/mjm0603/0001
[21] Shah, K., Abdalla, B., Abdeljawad, T. and Suwan, I. (2023) An Efficient Matrix Method for Coupled Systems of Variable Fractional Order Differential Equations. Thermal Science, 27, 195-210.
https://doi.org/10.2298/tsci23s1195s
[22] Ziada, E.A.A. (2021) Analytical Solution of Nonlinear System of Fractional Differential Equations. Journal of Applied Mathematics and Physics, 9, 2544-2557.
https://doi.org/10.4236/jamp.2021.910164
[23] Wang, X., Long, S. and Liu, A. (2022) Oscillation Theorems for Two Classes of Fractional Neutral Differential Equations. Journal of Applied Mathematics and Physics, 10, 3037-3052.
https://doi.org/10.4236/jamp.2022.1010203
[24] Mu’lla, M.A.M. (2020) Fractional Calculus, Fractional Differential Equations and Applications. Open Access Library Journal, 7, e6244.

Copyright © 2025 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.