Abstract
In this paper, we apply the pseudospectral method based on the Chebyshev cardinal function to solve the parabolic partial integro-differential equations (PIDEs). Since these equations play a key role in mathematics, physics, and engineering, finding an appropriate solution is important. We use an efficient method to solve PIDEs, especially for the integral part. Unlike when using Chebyshev functions, when using Chebyshev cardinal functions it is no longer necessary to integrate to find expansion coefficients of a given function. This reduces the computation. The convergence analysis is investigated and some numerical examples guarantee our theoretical results. We compare the presented method with others. The results confirm the efficiency and accuracy of the method.
1. Introduction
In this paper, we apply the pseudospectral method based on Chebyshev cardinal functions to solve one-dimensional partial integro-differential equations (PIDEs)
with initial and boundary conditions
where and are constants and the functions and are assumed to be sufficiently smooth on and with , respectively, as prescribed before and such that (1) has a unique solution . In addition, we assume that the kernel function is of diffusion type which is given by
and satisfies the Lipschitz condition as follows
where is referred to as a Lipschitz constant.
In various fields of physics and engineering, systems are often functions of space and time and are described by partial differential equations. But in some cases, such a formulation can not accurately model this system. Because we can not take into account the effect of a past time when the system is a function of a given time. Such systems appear in heat transfer, thermoelasticity and nuclear reactor dynamics. This phenomenon has resulted in the inclusion of an integral term in the basic partial differential equation that leads to a PIDEs [1]. The existence, uniqueness, and asymptotic behavior of the solution of this equation are discussed in [2]. In this paper, we can find the physical situation that leads to Equation (1). A Simple example that refers to a PIDEs is considered by Habetler and Schiffman [3] where the compression of viscoelastic media is studied. For more applications, we refer readers to [4,5,6,7].
Spectral methods are schemes to discretize the PDEs. To this end, they utilize the polynomials to approximate the exact solution. Since any analytic function can be exponentially approximated by polynomials. In contrast to other methods such as finite elements and finite differences, these methods can achieve an infinite degree of accuracy. That’s mean the order of the convergence of the approximate solution is limited only by the regularity of the exact solution. In other words, for numerical simulations, fewer degrees of freedom are necessary to obtain a given accuracy. The Galerkin method is a class of spectral techniques that convert a continuous operator problem to a discrete problem. In other words, this scheme applies the method of variation of parameters to function space by transforming the equation to a weak formulation. To implement this method, we can not compute the integrals analytically. That’s why we can’t use this method in most cases [8,9]. Another method that is closely related to spectral methods is the pseudospectral method. The pseudospectral methods are a special type of numerical method that used scientific computing and applied mathematics to solve partial differential equations. These methods allow the representation of functions on a quadrature grid and cause simplification of the calculations [10,11].
Several techniques have been used to solve one-dimensional partial differential equations, such as the finite difference method, finite element method, and spectral method. In [12], the Legendre-collocation method is used to solve the parabolic Volterra integro-differential equation. For an infinite domain, Dehghan et al. [12] used the algebraic mapping to obtain a finite domain and then they utilized their proposed method. The Legendre multiwavelets collocation method is used to find the numerical solution of PIDEs [13]. To find the approximate solution of PIDEs, Avazzadeh et al. [14] applied the radial basis functions (RBFs) and finite difference method (FDM). To solve nonlinear parabolic PIDEs in one space variable, Douglas and Jones [15] proposed backward difference and Crank-Nicolson type methods. Han et al. [16] approximated the solution of (1) with kernel function of diffusion type and on unbounded spatial domains using artificial boundary method. In [17], a finite difference scheme is considered to solve PIDEs with a weakly singular kernel.
According to the above, considerable attention has been devoted to solving PIDEs numerically. In this paper, we introduce a simple numerical method with high accuracy. To this end, while introducing the Chebyshev cardinal functions, the pseudospectral method applies to obtain the approximate solution of PIDEs (1). Generally, cardinal functions are polynomials of a given degree that vanishes at all interpolation grids except . These bases are also called the shape functions, Lagrange basis, and so on. One of the advantages of using such bases is the reduction of calculations to find the expansion coefficients of a given function. In other words, to find the expansion coefficients based on these bases, there is no need to integrate, and this is due to the cardinality, which makes these bases superior to other functions. Laksetani and Dehghan [18] is used Chebyshev cardinal functions to solve a PDE with an unknown time-dependent coefficient. In [19], these functions are used to solve the fractional differential equation. Heydari [20] described a new direct scheme for solving variable-order fractional optimal control problem via Chebyshev cardinal functions. For more details about the Chebyshev cardinal functions and their applications, we refer the reader to [21,22].
This paper is organized as follows, Section 2 is devoted to a brief introduction to Chebyshev cardinal functions. In Section 3, we presented an efficient and applicable method based on Chebyshev cardinal functions to solve PIDEs (1). In Section 4, the convergence analysis is investigated and we proved that the proposed method is convergence. Section 5 is devoted to some numerical tests to show the ability ad accuracy of the method. Finally, Section 6 contains a few concluding remarks.
2. Chebyshev Cardinal Functions
Given , assume that and where is the first kind Chebyshev function of order on . Recall that the Chebyshev grid is obtained by
To utilize the Chebyshev functions of any arbitrary interval , one can apply the change the variable to obtain the shifted Chebyshev functions, viz
Note that it is easy to show that the grids of shifted Chebyshev function is equal to .
A significant example of the cardinal functions for orthogonal polynomials is the Chebyshev cardinal functions. The cardinal Chebyshev functions of order are defined as
where the subscript x denotes x-differentiation. It is obvious that the functions are polynomials of degree M which satisfy the condition
where is the Kronecker -function.
In view of (9), the cardinal functions are nonzero at one and only one of the points implies that for arbitrary function , the function can be approximated by
Assume that (Sobolev spaces) denotes the space of all functions such that for all , where is a nonnegative integer and D is the derivative operator. Sobolov space is equipped with a norm defined by
There exista a semi-norm that is defined as follows
It follows from [23] that the error of expansion (10) can be bounded by the following lemma.
Lemma 1.
Let denotes shifted Gauss-Chebyshev points where and that can be approximated by via
Then one can prove that
where C is a constant and independent of M.
3. Pseudospectral Method
In this section, we apply the pseudospectral method to solve PIDEs (1) based on Chebyshev cardinal functions. Let us consider the partial integro-differential Equation (1) on the region . We introduce differential operator
and integral operator
Applying these operators, PIDEs (1) can be rewritten in the operator form
Let the solution of (1) is approximated by the polynomial , via
If we define a matrix W of dimension whose -th element is , then Equation (17) becomes the matrix problem
where the vector elements of are the Chebyshev cardinal functions .
Inasmuch as the Chebyshev cardinal functions are polynomial, it is easy to evaluate their derivatives. In view of (17), one can write
where is a vector of dimension whose i-th element is . Similarly we have
where is a vector of dimension whose i-th element is . Suppose that is the operational matrix of derivative whose -th element is . Thus, it follows from that
and
It can easily be shown that is approximated as follows
Thus, by substituting (22) and (23) into the differential part of desired Equation (16), we can approximate the differential operator (14), via
To approximate the integral part, we assume that
where is the operational matrix of integral. It follows from (15) that
If we replace w with , then one can write
Assume that can be approximated by where K is a matrix whose elements depend on t and unknown coefficients W. Replacing into (27), and using the operational matrix of integration I, we get
where -th element of matrix Q is . Substituting (25) and (28) into (16), one can write
The Chebyshev cardinal functions are orthogonal with respect to weighted inner product on
where . This gives rise to equation
Let us rewrite this system as
We Replace the first column of (31) with the initial condition (2) and the first and last rows of (31) with the boundary conditions (3), i.e.,
Using the matrix to vector conversion, this system is changed to a new system by equations with unknowns
where , , and are obtained using the matrix to vector conversion of W, F, and respectively.
4. Convergence Analysis
Because the function is a continuous function on D, the approximate error by comparing the function f with may be bounded, established by the following theorem.
Theorem 1.
Let be a sufficiently smooth function. Thus Chebyshev cardinal approximation to function f can be written as
Proof.
Let denote that polynomial of degree which interpolates to the function f at the zeros of the first kind Chebyshev polynomials. It follows from [25] that
Since the leading coefficient of the first kind Chebyshev functions is , and , . It is possible to write
Since is approximated by Chebyshev cardinal functions and these bases are polynomials, thus one can obtain
where and
□
Theorem 2.
The pseudospectral method for solving PIDEs (1) is convergence.
Proof.
Let denotes the approximate solution of (1) for which . We subtract Equation (1) from
to obtain the following equation
Now, Assume that we can approximate the error function as follows
where E is a matrix whose -th element is . Using this approximation and Lipschitz condition (5), Equation (35) may be written as
where . By dropping the second term in the left to the other side of the inequality and taking norm from both sides, we have
Because are orthogonal functions, we removed from both sides. Multiplying the right side of (38) by , it follows that
and then
So, it is obvious that we shall have
Consequently, we obtain
If f be a sufficiently smooth function, then as . Thus, we have
Therefore, the proposed method is convergent. □
5. Test Problems
Example 1.
Let us dedicate the first example to the case that the desired Equation (1) is of form
with initial and boundary conditions
and also . The exact solution for this example is given by [13]
Table 1 shows a comparison between the proposed method and Legendre multiwavelets collocation method [13]. As you can see, our proposed method gives better results than [13]. According to Table 1, we can see that with fewer bases, we have achieved much better accuracy than the method in [13]. For different values of M, the errors in Table 2 are given with , norms applying pseudospectral method based on Chebyshev cardinal functions. In Figure 1, the approximate solution, and absolute value of error are depicted.
Table 1.
Comparison of the maximum absolute errors at different times for Example 1.
Table 2.
The , errors and CPU time for Example 1.
Figure 1.
Plot of the approximate solution and absolute value of the error for Example 1.
Example 2.
Consider the following PIDEs [14]
with initial and boundary conditions
The exact solution for this example is .
In Table 3, we report the , errors and CPU time for different values of M. These results guarantee our convergence investigation in Section 4. When M increases, the error decreases, and approaches zero. The , errors obtained by presented method are compared with Hermite-Taylor matrix method [26] and radial basis functions [14] in Table 4. According to Table 4, we can see that our presented method is better than Hermite-Taylor matrix method [26] and radial basis functions [14]. Finally, we illustrate the approximate solution and absolute error in Figure 2.
Table 3.
The , errors and CPU time for Example 2.
Table 4.
Comparison of the and errors at different times for Example 2.
Figure 2.
Plot of the approximate solution and absolute value of the error for Example 2.
Example 3.
To show the ability of the proposed method for solving nonlinear PIDEs (1), we consider the following equation.
where
with the boundary and initial conditions
The exact solution for this Example is given by . Thus, we can easily judge the accuracy and convergency of the method.
Figure 3 illustrates the , taking different values for M. To show the order of convergence, we also plotted the linear regression. The slope of this line is equal to the order of convergence . The numerical values with associated error and error are tabulated in Table 5. Finally, we illustrate the approximate solution and absolute error, taking in Figure 4.
Figure 3.
Plot of the and the linear regression for Example 3.
Table 5.
The and errors for Example 3.
Figure 4.
Plot of the approximate solution and absolute value of the error for Example 3.
Example 4.
The last example is dedicated to equation
where
and
Since the closed form of the exact solution to the problem is unavailable, we compute a reference solution by picking a large . The , errors, CPU time and order of convergence are tabulated in Table 6 for different values of M. Figure 5 illustrates the approximate solution and absolute error, taking . Table 7 shows the , errors at the different times, taking different M.
Table 6.
The , errors, CPU time and order of convergence for Example 4.
Figure 5.
Plot of the approximate solution and absolute value of the error for Example 4.
Table 7.
Comparison of the and errors at different times for Example 4.
6. Conclusions
In this paper, an efficient and novel numerical method is applied to solve partial integro-differential equations using the pseudospectral method based on Chebyshev cardinal functions. Due to the simplicity of using cardinal functions, the presented method is good for solving PIDEs. The convergence analysis is investigated and we can show when the number of bases increases, the accuracy is also increased. The presented method was applied to solve some numerical tests and the results guarantee our convergence investigation and application of the proposed method to this problem shows that it performs extremely well in terms of accuracy.
Author Contributions
Conceptualization, F.T. (Fairouz Tchier), and I.D.; methodology, software, F.T. (Fairouz Tchier) and F.T. (Ferdous Tawfiq) and F.B.; validation, formal analysis, F.T. (Fairouz Tchier) and I.D. and L.R.; writing—original draft preparation, investigation, funding acquisition, F.T. (Fairouz Tchier) and F.T. (Ferdous Tawfiq) and L.R.; writing—review and editing, F.T. (Fairouz Tchier) and F.B. All authors have read and agreed to the published version of the manuscript.
Funding
The authors extend their appreciation to the Deanship of Scientific Research at King Saud University for funding this work through Research Group no RG-1440-010.
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
Not applicable.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| PIDEs | Partial integro-differential Equations |
| FDM | Finite difference method |
| RBFs | Radial basis functions |
| PDE | Partial differential equation |
References
- Yanik, E.G.; Fairweather, G. Finite element methods for parabolic and hyperbolic partial integro-differential equations. Nonlinear Anal. 1988, 12, 785–809. [Google Scholar] [CrossRef]
- Engler, H. On some parabolic integro-differential equations—Existence and asymptotics of solutions. Lect. Notes Math. 1983, 1017, 161–167. [Google Scholar]
- Habetlerg, G.T.; Schiffuanr, L. A finite difference method for analyzing the compression of poro-viscoelastic media. Computing 1970, 6, 342–348. [Google Scholar] [CrossRef]
- Abeergel, F.; Tachet, R. A nonlinear partial integro-differential equation from mathematical finance. AIMS 2010, 27, 907–917. [Google Scholar] [CrossRef]
- Pachpatte, B.G. On a nonlinear diffusion system arising in reactor dynamics. J. Math. Anal. Appl. 1983, 94, 501–508. [Google Scholar] [CrossRef]
- Pao, C.V. Bifurcation analysis of a nonlinear diffusion system in reactor dynamics. Appl. Anal. 1979, 9, 107–119. [Google Scholar] [CrossRef]
- Pao, C.V. Solution of a nonlinear integrodifferential system arising in nuclear reactor dynamics. J. Math. Anal. Appl. 1974, 48, 470–492. [Google Scholar] [CrossRef]
- Bernardi, C.; Maday, Y. Spectral methods—Techniques of Scientific Computing, Part 2. In Handbook of Numerical Analysis; Elsevier: Amsterdam, The Netherlands, 1997. [Google Scholar]
- Trefethen, L.N. Spectral Methods in Matlab; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2000. [Google Scholar]
- Shen, J.; Tang, T.; Wang, L.L. Spectral Methods; Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
- Solomonoff, A.; Turkel, E. Global properties of pseudospectral methods. J. Comput. Phys. 1989, 81, 239–276. [Google Scholar] [CrossRef]
- Fakhar-Izadi, F.; Dehghan, M. The spectral methods for parabolic Volterra integro-differential equations. J. Comput. Appl. Math. 2011, 235, 4032–4046. [Google Scholar] [CrossRef]
- Aziz, I.; Khan, I. Numerical Solution of Partial Integrodifferential Equations of Diffusion Type. Math. Prob. Eng. 2017, 2017, 2853679. [Google Scholar] [CrossRef]
- Avazzadeh, Z.; Rizi, Z.B.; Maalek Ghaini, F.M.; Loghmani, G.B. A numerical solution of nonlinear parabolictype Volterra partial integro-differential equations using radial basis functions. Eng. Anal. Bound. Elem. 2012, 36, 881–893. [Google Scholar] [CrossRef]
- Douglas, J.; Jones, B.F. Numerical methods for integro-differential equations of parabolic and hyperbolic types. Numer. Math. 1962, 4, 96–102. [Google Scholar] [CrossRef]
- Han, H.; Zhua, L.; Brunner, H.; Ma, J. The numerical solution of parabolic Volterra integro-differential equations on unbounded spatial domains. Appl. Numer. Math. 2005, 55, 83–99. [Google Scholar] [CrossRef]
- Tang, T. A finite difference scheme for partial integro-differential equations with a weakly singular kernel. Appl. Numer. Math. 1993, 11, 309–319. [Google Scholar] [CrossRef]
- Lakestani, M.; Dehghan, M. The use of Chebyshev cardinal functions for the solution of a partial differential equation with an unknown time-dependent coefficient subject to an extra measurement. J. Comput. Appl. Math. 2010, 235, 669–678. [Google Scholar] [CrossRef][Green Version]
- Sayevand, K.; Arab, H. An efficient extension of the Chebyshev cardinal functions for differential equations with coordinate derivatives of non-integer order. Comput. Methods Differ. Equ. 2018, 6, 339–352. [Google Scholar]
- Heydari, M.H. A new direct method based on the Chebyshev cardinal functions for variable-order fractional optimal control problems. J. Franklin Inst. 2018, 355, 4970–4995. [Google Scholar] [CrossRef]
- Heydari, M.H. Chebyshev cardinal functions for a new class of nonlinear optimal control problems generated by Atangana-Baleanu-Caputo variable-order fractional derivative. Chaos Solitons Fractals 2020, 130, 109401. [Google Scholar] [CrossRef]
- Heydari, M.; Avazzadeh, Z.; Loghmani, G.B. Chebyshev cardinal functions for solving volterra-fredholm integro-differential equations using operational matrices. Iran. J. Sci. Technol. 2012, A1, 13–24. [Google Scholar]
- Canuto, C.; Quarteroni, M.Y.H.A.; Zang, T.A. Spectral Methods Fundamentals In Single Domains; Springer: Berlin, Germany, 2006. [Google Scholar]
- Saad, Y.; Schultz, M.H. GMRES: A generalized minimal residual method for solving nonsymmetric linear systems. SIAM J. Sci. Stat. Comput. 1986, 7, 856–869. [Google Scholar] [CrossRef]
- Dahlquist, G.; Björck, A. Numerical Methods in Scientific Computing; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2008; Volume 1. [Google Scholar]
- Yalçın, E.; Kürkxcxxux, Ö.K.; Sezer, M. Amatched Hermite-Taylor matrixmethod to solve the combined partial integro-differential equations having nonlinearity and delay terms. Comput. Appl. Math. 2020, 39, 280. [Google Scholar] [CrossRef]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. |
© 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).