Abstract
A collocation method based on linear Legendre multiwavelets is developed for numerical solution of one-dimensional parabolic partial integrodifferential equations of diffusion type. Such equations have numerous applications in many problems in the applied sciences to model dynamical systems. The proposed numerical method is validated by applying it to various benchmark problems from the existing literature. The numerical results confirm the accuracy, efficiency, and robustness of the proposed method.
1. Introduction
In some fields such as nuclear reactor dynamics and thermoelasticity we need to reflect the effect of the memory of the systems in model. If such systems are modeled using partial differential equation, which involves functions at a given space and time, the effect of past history is ignored. Therefore in order to incorporate the memory effect in such systems, an integral term in the basic partial differential equation is introduced and this leads to a partial integrodifferential equation.
Partial integrodifferential equations are used in many problems in the applied sciences to model dynamical systems. The applications of partial integrodifferential equations can be found in financial mathematics [1], biological models, chemical kinetic, aerospace systems, control theory of financial mathematics, and industrial mathematics [2]. In addition to this several phenomena in physics such as study of heat conduction, thermoelastic contact, control theory, fluid dynamics, and viscoelastic mechanics [3] can also be modeled using partial integrodifferential equation.
In this paper, we consider one-dimensional partial integrodifferential equation of diffusion type which is given as follows:subject to initial condition,and Dirichlet boundary conditions,where and is the boundary of . Moreover, the function and kernel function are assumed to be smooth and in this paper we will consider .
We note that partial integrodifferential equation of type (1) arises in several applications including analysis of spacetime-dependent nuclear reactor and blow-up problems [4].
Due to the unavailability of the analytical solution for partial integrodifferential equation, researchers have used numerical methods to find approximate solutions. Numerical solutions of integral equations, integrodifferential equations, and partial integrodifferential equations have been considered by many researchers. Several methods have been introduced including flatness method [5], curve length method [6], Tau method [7], Sobolev gradient method [8], homotopy analysis transform method [9], explicit iterative method [10–13], operational matrix method [14], homotopy analysis method [15], and Sinc collocation method [16].
Wavelets have several applications in approximation theory. A survey of some of the early works can be found in [17, 18]. Wavelets have been used for numerical solutions of integral equations [19], integrodifferential equations [20], fractional diffusion-wave equation [21], ordinary differential equations [22], and partial differential equations [23]. These methods employ various types of wavelets, which include Daubechies [24], Battle-Lemarie [25], and Haar wavelet [26–28].
The rest of the paper is organized as follows. In Section 2, a brief introduction of linear Legendre multiwavelets is given. In Section 3, a solution procedure of the new method is discussed. In Section 4, numerical experiments are presented for validation of the new algorithm. Finally, in Section 5, some conclusions are drawn.
2. The Linear Legendre Multiwavelets
A wavelet is a class of functions constructed from dilation and translation of a single function called the mother wavelet. When the dilation and translation parameters and vary continuously, the following family of continuous wavelets is obtained:whereas if the parameters and are restricted to discrete values and , then we have the following family of discrete wavelets:where the mother wavelet satisfies .
In the present work only discrete wavelet family is considered. A special case where the discrete wavelet family forms an orthonormal basis of has several advantages. This can be obtained by means of multiresolution analysis (MRA) which is defined below.
The increasing sequence of closed subspaces of with scaling function is called MRA if the following conditions are satisfied:(1) is dense in and ,(2) iff ,(3) is a Riesz basis for .
Note that condition (3) implies that the sequence is an orthonormal basis for . In [29], the authors constructed the linear Legendre multiwavelets. The two scaling functions and are chosen as follows:Then, the corresponding mother wavelets for the linear Legendre multiwavelets family are given as follows:The linear Legendre multiwavelet is constructed by translating and dilating the mother wavelet and hence is given byThe family forms an orthonormal basis for and subfamily where , , and is an orthonormal basis for [29]. Thus, any function can be expressed as a linear combination of members of linear Legendre multiwavelets family as follows:whereand denotes the standard inner product of the Hilbert space .
For approximation purposes, the infinite series in (10) is truncated, and we haveThe first four functions are defined earlier through (6) to (8). The next four functions are given as follows:The remaining functions can be constructed in a similar manner.
The representation of linear Legendre multiwavelets described above, that is, : , , involves three parameters. In order to simplify the notations and reduce the parameters, we divide the linear Legendre multiwavelets family into two subfamilies each depending upon a single parameter. The first family will be represented by : and it contains the first scaling function and all other functions which are generated by the mother wavelet . This subfamily can be represented in an alternate way as follows:where , , and . The integer indicates the level of resolution of the wavelet, is the maximum level of resolution, and the integer denotes the translation parameter. The relation between , and is given as .
The second family will be represented by : and it contains the second scaling function and all other functions which are generated by the mother wavelet . The alternate representation of this subfamily is given as follows:where , , and are defined in a similar way as above.
Using this alternate formulation of linear Legendre multiwavelets, the expression of any square integrable function given in (10) can be written in an alternate form for one-dimensional problem asand the truncated expression given in (12) becomeswhere . The coefficients , and , are the linear Legendre multiwavelets coefficients. Similarly the approximation for two-dimensional problem is given as follows:where . The coefficients , , and are the linear Legendre multiwavelets coefficients.
The following collocation points are considered for linear Legendre multiwavelets approximations:For linear Legendre multiwavelets the following notations are introduced:These integrals can be evaluated using the definition of linear Legendre multiwavelets in (15) and (17).
3. Numerical Procedure
In this section, we will first consider numerical integration using quadrature method with linear Legendre multiwavelets basis. After this, the proposed numerical method based on linear Legendre multiwavelets will be developed for partial integrodifferential equations for one-dimensional linear problems (1)–(3). We will be using collocation method and for linear Legendre multiwavelets approximations the collocation points in (21) will be considered.
3.1. Numerical Integration Using Linear Legendre Multiwavelets
Consider the integralSubstituting the approximation of in terms of linear Legendre multiwavelets basis given in (19), we obtainbecauseHence to find the approximate value of the integral we need only to find the value of . For this purpose, we put collocation points in (19) and obtainSolving the above system for , we getHence we obtain the quadrature formula for numerical integration using linear Legendre multiwavelets over the interval as follows:For a general interval , we havewhere
3.2. One-Dimensional Partial Integrodifferential Equation
In this subsection, we will consider the application of the proposed collocation method to one-dimensional partial integrodifferential equation. For such problems the second-order partial derivative is approximated using two-dimensional linear Legendre multiwavelets as follows:Integrating (31) and using the boundary conditions in (3), we get the following expression:In a similar manner the first-order partial derivative is also approximated asIntegrating (33) and using the initial condition in (2) we haveComparing (32) and (34) and using collocation points for and defined in (21), we obtained the following system of equations:Equation (35) represents linear system with unknowns , .
Next we approximate the partial integrodifferential equation given in (1). Applying the numerical integration formula developed in (29), we getSubstituting the values of , , and from (31), (32), and (33) in (36) we haveUsing collocation points for and defined in (21), we have the following system of equations after simplification:Again we obtain an linear system with unknowns , .
Finally these two systems in (35) and (38) can be solved easily by Gauss elimination method. The solution of these two systems gives the values of the unknown coefficients , at the collocation points defined in (21). With these coefficients we approximate which is the solution of the partial integrodifferential equation in (1).
4. Numerical Experiments
In this section, several numerical experiments are performed in order to show the performance of the proposed method. The method is applied to six linear one-dimensional partial integrodifferential equations (Test Problems 1–6).
Test Problem 1. Consider a diffusion problem [30]:subject to the following initial and boundary conditions:as the exact solution of problem (1)–(3), where is given asTwo-dimensional linear Legendre multiwavelets approximation is applied to this test problem and numerical results at different time levels are reported in Table 1. From this table one can easily observe that the maximum absolute errors are decreasing by increasing the number of collocation points. An accuracy of order is obtained by considering number of collocation points. Note that since this is not time marching scheme, therefore the maximum absolute errors are not increased while moving with time. Instead, we observe an oscillating behavior in maximum absolute errors for fixed number of collocation points; for some time steps they are increasing whereas for other time levels they are decreasing.
We have also plotted the graphs of exact and approximate solutions in Figure 1 for comparison. The graph of approximate solution is plotted using collocation points and it is in complete agreement with the graph of exact solution.

Test Problem 2. Consider a linear diffusion equation [30]:subject to initial and boundary conditions:The exact solution of this problem is as follows:where the function is calculated using the above exact solution as follows:The exact solution of this test problem involves trigonometric functions. Numerical results using two-dimensional Haar wavelet in terms of maximum absolute errors at different time levels are reported in Table 2. The table shows a consistent behavior of the proposed method as the maximum absolute errors increase with increase in number of collocation points.
Test Problem 3. In this example [30], we investigate a linear diffusion problem assubject to initial and boundary conditions:with the exact solutionand is defined asWe have applied the proposed method to this linear test problem and the maximum absolute errors at different time levels are shown in Table 3. Once again a very good performance of the proposed method is observed from this table.
Test Problem 4. Consider another linear diffusion equation [30]:subject to the following initial and boundary conditions:The exact solution of the problem is given byand the function is calculated using the exact solution of this test problem given asThe exact solution of this test problem involves hyperbolic functions. Two-dimensional linear Legendre multiwavelets approximation is also applied to this test problem and numerical results at different time levels are reported in Table 4. From this table we also observe that the maximum absolute errors are decreasing by increasing the number of collocation points. An accuracy of order is obtained by considering number of collocation points.
Test Problem 5. We now turn to another example [30] of linear diffusion equation:subject to the following initial and boundary conditions:and the exact solution is as follows:followed by ; that is,This problem is solved using the two-dimensional linear Legendre multiwavelets and the numerical results are depicted in Figure 2. In this figure we have plotted the three-dimensional graphs of the approximate solutions for and using three different numbers of collocation points. Moreover for comparison purpose we have also plotted the exact solution. One can easily observe from the figure that the approximate solution is converging rapidly towards the exact solution by increasing the number of collocation points.

Test Problem 6. As a last example of the diffusion equation [30] for the linear case, we havesubject to initial and boundary conditionsThe exact solution of this two-dimensional partial integrodifferential equation iswhereas the function is calculated using the above exact solution given byThe comparison of the exact and approximate solution at the final time is depicted in Figure 3. This figure shows that the approximate solutions for just number of collocation points are in complete agreement with the exact solution.

5. Conclusion
A new algorithm is proposed for the numerical solution of diffusion partial integrodifferential equation arising in the applied sciences to model dynamical systems. A two-dimensional linear Legendre multiwavelets basis is used for this purpose. The algorithm is established theoretically and, finally, we demonstrate the efficiency and accuracy of the proposed method with linear test problems.
Conflicts of Interest
The authors declare that they have no conflicts of interest.