Abstract

In this article, a numerical method based on the shifted Chebyshev functions for the numerical approximation of the coupled nonlinear variable-order fractional sine-Gordon equations is shown. The variable-order fractional derivative is considered in the sense of Caputo-Prabhakar. To solve the problem, first, we obtain the operational matrix of the Caputo-Prabhakar fractional derivative of shifted Chebyshev polynomials. Then, this matrix and collocation method are used to reduce the solution of the nonlinear coupled variable-order fractional sine-Gordon equations to a system of algebraic equations which is technically simpler for handling. Convergence and error analysis are examined. Finally, some examples are given to test the proposed numerical method to illustrate the accuracy and efficiency of the proposed method.

1. Introduction

The basic and important applications of differential equations with fractional variable order which are considered as a generalization of ordinary differential equations with integer order in various fields of computational science [13], engineering [46], physics [7, 8], and chemistry [9, 10] have attracted significant attention in the literature. One of the important discussions in differential equations is the study of nonlinear partial and nonlinear differential equations that are used in physics and applied mathematics such as the sine-Gordon equation which is a significant nonlinear integrable evolution partial differential system in space-time coordinates [11]. The coupled nonlinear partial differential sine-Gordon equations of integer order on the interval are defined by [12] where symbols and are the ratios of the acoustic velocities of the functions, and the ratios of masses of particles in the “lower” and “upper” parts of the crystal given in the generalized Frenkel-Kontorova dislocation equation [1214] are the defined parameters and , respectively, which are known, and the functions and are unknown and known, respectively. If in Equation (2), is considered, then Equation (2) explains the open states in deoxyribonucleic acid (DNA) [15], and if in Equation (2), is considered, then Equation (2) shows a gap in the spectrum of velocities of solitary waves [12]. This paper focuses on finding approximate solutions based on the Chebyshev function scheme for fractional differential equations of variable orders which are called coupled nonlinear sine-Gordon equations, and these type of equations of fractional variable orders are defined as follows: where is the Caputo-Prabhakar operator. Also, the initial and boundary conditions for problems (3) are considered as follows: where functions and are continuous. The Caputo-Prabhakar operator considered in this article is an extension of the Caputo derivative which is introduced in [16], and it is defined by where and is the Riemann–Liouville integral (RLI). So by putting a function containing the Prabhakar function which is studied in [17], in Equation (9), by developing the RLI kernel with its function, this function is given by [17] where is the Prabhakar function and is defined as follows:

Some applications of the Prabhakar function can be seen in mathematics and physics as a fractional Poisson process [16], Havriliak–Negami relaxation functions [18, 19], irregular case of the dielectric relaxation responses [20], a model of anomalous relaxation in dielectrics of fractional order [21], fractional thermoelasticity [10], telegraph equations [22], thermodynamics [23], and fractal time random [24]. By placing in Equation (3), the coupled nonlinear sine-Gordon equations of fractional variable orders given in (3) change into the classical coupled nonlinear sine-Gordon equations which are defined by Equation (2), and the classical coupled nonlinear sine-Gordon equations have many applications in physics as nonlinear models [25, 26], plasma [27], quantum [28], optics [29], and mathematics [13, 30, 31]. Getting analytic solutions to fractional differential equations in general are not easy; therefore, numerical methods are used to obtain the solutions of this type of equations. For instance, [32] defined a new method based on the linearization formula to find the fuzzy approximate solution of fractional differential equations under uncertainty, a new spectral tau method for solving equations of Kelvin–Voigt equations is proposed in [33], and [34] studied a numerical method based on the Bernstein functions to solve the linear cable equation of variable order. An implicit RBF meshless method [35], spectral method [36], homotopy analysis scheme [37], meshless method [38], collocation and finite difference-collocation methods [39], Ritz–Galerkin method [40], new collocation scheme for solving fractional partial differential equations [41], Sinc-Chebyshev collocation scheme [42], numerical method based on the shifted Chebyshev functions [43], numerical method based on the shifted Legendre functions [44], piecewise integroquadratic spline interpolation and finite difference method [45], wavelet scheme [46], Legendre wavelet method [47], Bernoulli wavelet method [48], and Lagrange multiplier scheme [49] and other methods [5054]. Several methods are presented for solving variable-order fractional equations. For example, Bhrawy and Zaky [55] used the shifted Jacobi polynomials to obtain solution variable-order fractional Schrödinger equations, Bhrawy and Zaky [56] studied the Jacobi–Gauss–Lobatto collocation method to obtain solution variable-order fractional Schrödinger equations, Mahmoud et al. [57] proposed the Jacobi wavelet collocation method to obtain solution variable-order fractional equations, and Zaky et al. [58] proposed the shifted Chebyshev polynomials to obtain solution variable-order fractional equations; in [59], a proper discrete form of fractional Grönwall-type inequality is introduced and other methods such as shifted Jacobi collocation method [60] and shifted Jacobi method [61]. Since this mathematical system which is given in Equation (3), due to the variable-order fractional operators and nonlinearity, is very complex, we need to reduce it by using a highly accurate and efficient expansion scheme. Thus, for this aim, we first extract an operational matrix of variable-order fractional derivatives for the shifted Chebyshev functions, then we use them for extending the unknown solution. In other words, the problem shown in Equation (3) is converted into an algebraic system of equations by exploiting the operational matrix of variable-order derivative. In this paper, we consider a class of coupled nonlinear variable-order fractional sine-Gordon equations. For solving the given equations, operational matrices based on the shifted Chebyshev functions are applied. First, we approximate the unknown function and its derivatives in terms of the shifted Chebyshev functions. Then, by substituting these approximations into the equation and applying the properties of the shifted Chebyshev functions together with the collocation points, the main problem is reduced to a set of nonlinear algebraic equations. By solving this system, the approximate solution is calculated. This article is divided into the following sections. In Section 2, we state the essential definitions and lemmas about fractional derivatives and integrals of the variable order, also in this section are introduced the Chebyshev polynomials and the shifted Chebyshev polynomials. The approximate function is obtained in Section 3. In Section 4, an explanation of the suggested method for obtaining approximate solutions of the equations introduced in (3) is provided and four numerical examples are shown in Section 5.

2. Preliminaries of Fractional Calculus

This section discusses the important topics of fractional derivative and integral of the variable order such as the Prabhakar integral and the Caputo-Prabhakar derivative. The Chebyshev polynomials and the shifted Chebyshev polynomials are introduced in this section.

Definition 1. The Prabhakar integral of variable order is defined by [17, 62] where . Also, for , the Prabhakar integral coincides with the Riemann-Liouville fractional integral of variable order .

Definition 2. The Caputo-Prabhakar derivative of variable-order is defined by [17, 62, 63] where . Here, we consider .

Lemma 3. Let . Then, the following formula based on Definition 1 is established [63]:

Lemma 4. Let . Then the following formula based on the Definition 2 and the Lemma 3 for are established:

Definition 5. The Chebyshev polynomials on are defined as follows [64]: where . The orthogonality manner for Chebyshev polynomials is given by where is a weight function for Chebyshev polynomials. Also, the shifted Chebyshev polynomials on are defined as follows: where . The orthogonality conditions for shifted Chebyshev polynomials are given by where is a weight function.

Lemma 6. Let . Then, the function has a matrix display as follows [64]: where and are defined by Also, Lemma 6 is established for the function .

3. Approximate Function

The approximation functions as on can be developed in shifted Chebyshev polynomials as follows: where , and , . By giving effect Caputo-Prabhakar derivative on Equation (22), we obtain using Lemma 6, then from Equation (24), we have applying Lemma 4 on Equation (25), we have where With a similar process as Equation (26), these results are easily achieved: where

where where

3.1. Description of Convergence

Let be the exact solutions of Equations (3) and be the numerical solutions of Equations (3) which are introduced in (22)–(23), then we show that as, we haveand. For this purpose, we show that the sequences are a Cauchy sequence in Hilbert space . Then, for , we obtain From Bessel’s inequality, we obtain that the series is presented in (33) asandis convergent, then. show that the sequence is a Cauchy sequence in Hilbert space and it converges to say . Now, we show , then where . Then, converges to as . The same process can be considered for the sequence .

3.2. Error Analysis

Suppose that be the exact solutions, respectively. If be the best numerical solution to that . We define which is the error as follows: Then, from Eq. (35), we have:

To get Equation (36), we define

From the multivariable Taylor definition and the Generalized Taylor’s formula in [65, 66], we have where . By using Lemma 4, we have

Then,

According to the definition , we have

From [16, 67, 68], the Prabhakar function is convergent and the convergent boundary for its is considered, then we obtain also from we have

So by placing Equations (42) and (45) into (36), we have where and . With a similar process, the following inequality can be considered for the function that is defined as follows:

4. Description of the Suggested Method

This section describes the suggested method to obtain solutions of the equations considered in (3) with the conditions (6) and (8). Then, we put relations (26)–(30) into Equation (3), and the following results are obtained: where . Considering the formulas and , are known. Then, by substituting functions , and Equations (22) and (23) in the conditions introduced in Equations (6) and (4), we obtain

To find solutions of problems (3) which are , we solve the Equations (49)–(50) corresponding to (51)–(54) in collocation points to obtain functions .

5. Numerical Examples

In this section, we show the numerical results of the suggested method on four examples to illustrate the efficiency and accuracy of our scheme. Here, obtained numerical results of some test problems are shown to illustrate the computational efficiency and applicability of the reported method. All numerical examples are done by applying MATLAB (R2020b) software. Also, the convergence order (-order) of the depicted method is calculated by the following relation:

Here, and show the first and second values of the maximum absolute error (MAE) provided by the proposed method, respectively. Moreover, for are the number of the basis functions used in the first and second implementations, respectively.

Example 7. We consider the following coupled nonlinear variable-order time-fractional sine-Gordon equations: where where and . For this example, the exact solutions to the case where are . The numerical results obtained using the proposed method for are shown in Figure 1. An image of the absolute error for value is shown in Figure 2, and numerical results for absolute error for different values are shown in Tables 1 and 2. Table 3 shows comparison between the maximum absolute error (MAE) given for different values of based on the present and the Chebyshev cardinal function (CCF) technique [69]. In other words, the comparison between our numerical method result and the numerical method result in [69] is done using two different operators, i.e., the Caputo-Prabhakar derivative and the Caputo derivative. From the obtained numerical results in Table 3, we see that the proposed method is an effective and good tool for solving this problem.

Example 8. We consider the following coupled nonlinear variable-order time-fractional sine-Gordon equations: where where . For this example, the exact solutions to the case where are . The numerical results obtained using the proposed method for are shown in Figure 3. An image of the absolute error for value is shown in Figure 4, and numerical results for the absolute error for different values are shown in Tables 4 and 5. The values of the MAE, -order, and CPU time of the presented method are listed in Table 6.

Example 9. We consider the following coupled nonlinear variable-order time-fractional sine-Gordon equations: where where . For this example, the exact solutions to the case where are . The numerical results obtained using the proposed method for are shown in Figure 5. An image of the absolute error for value is shown in Figure 6, and numerical results for absolute error for different values are shown in Tables 7 and 8. The values of the MAE, -order, and CPU time of the presented method are listed in Table 9.

Example 10. We consider the following coupled nonlinear variable-order time-fractional sine-Gordon equations: where where . For this example, the exact solutions to the case where are . The numerical results obtained using the proposed method for are shown in Figure 7. An image of the absolute error for value is shown in Figure 8, and numerical results for absolute error for different values are shown in Tables 1012. Table 12 shows the comparison between the maximum absolute error (MAE) given for different values of based on the present and the Chebyshev cardinal function (CCF) technique [69]. In other words, the comparison between our numerical method result and the numerical method result in [69] is done with using two different operators, i.e., the Caputo-Prabhakar derivative and the Caputo derivative.

6. Conclusion

This paper is focused on a numerical method based on the orthogonal polynomials known as the shifted Chebyshev polynomials of degree. The fractional sine-Gordon equations of variable order which includes a fractional derivative in terms of the Caputo-Prabhakar sense in this paper are studied. Using this numerical method, we obtain the numerical solutions of this type of equations. In this article, the convergence and error analysis for numerical solutions are studied. Some numerical examples are shown for the application of numerical methods.

Data Availability

No data were used to support the study.

Conflicts of Interest

The author declares that he has no conflict of interest.