Abstract

In this paper, with classic Legendre polynomials, a method of particular solutions (MPS, for short) is proposed to solve a kind of second-order differential equations with a variable coefficient on a unit interval. The particular solutions, satisfying the natural Dirichlet boundary conditions, are constructed with orthogonal Legendre polynomials for the variable coefficient case. Meanwhile, we investigate the a-priori error estimates of the MPS approximations. Two a-priori error estimations in - and -norms are shown to depict the convergence order of numerical approximations, respectively. Some numerical examples and convergence rates are provided to validate the merits of our proposed meshless method.

1. Introduction

In the past decades, various numerical methods are designed for solving kinds of differential equations, such as finite element method [13], spectral method [46], shifted Legendre approximation [7, 8], and differential transformation method [9, 10]. To avoid the constraints and workload of region divisions, a new family of computational methods has emerged. The so-called meshless or mesh-free methods have been investigated and used by many researchers. The advantage of meshless methods reads that the interpolation accuracy is not significantly affected by the nodal distribution. And hence meshless methods attract great attentions in various disciplines for treating a large variety of engineering problems. In fact, the MPS is originally proposed with the radial basis functions for solving various kinds of differential equations. Recently, the MPS has been continuously employed to solve various interesting models and proven to be an effective method in numerical simulations. For more details about this numerical scheme, please refer to [1113] and the references cited therein.

To the best of our current knowledge, the meshless schemes, including Kansa method [14], method of fundamental solutions [15], method of particular solutions [16, 17], element-free Galerkin method [18], local point interpolation [19], and boundary knot method [20], are widely used to approximate a large class of partial differential equations in science and engineering fields. As reported in the literatures, the MPS has been applied to solve the Navier-Stokes problem [21], wave propagation problem [22], and time-fractional diffusion problem [23]. Despite the effectiveness of the MPS, there are some disadvantages such as the ill-conditioned collocation matrix, the uncertainty of the shape parameters, and difficulties in deriving the closed-form particular solutions for general differential operators, and for more details, please refer to [12, 17, 2426] and the references cited therein.

In order to overcome these disadvantages, lots of works have been done on efficient numerical schemes for the MPS. And many basis functions have been designed to discretize partial differential equations. Chebyshev polynomials [11, 27], polynomials basis functions [16, 18, 28], and trigonometric functions [29] were employed with their closed-form particular solutions to approximate kinds of models. However, few results about error estimates of the MPS are illustrated in the current literatures.

In this paper, Legendre polynomials are used to design the particular solutions for the MPS. Specially, boundary conditions are naturally imposed, and the corresponding discretized scheme is constructed in a collocation scheme. The closed-form particular solutions for given differential operators with variable coefficients are derived via recursive relationships of Legendre polynomials. Compared with the radial basis functions for the MPS, our proposed scheme provides a simple approach to effectively solve a kind of differential equations with variable coefficients.

Meanwhile, with an orthogonal projector and the Aubin-Nitsche duality argument, we provide rigorous studies on two a-priori error estimates for this numerical method. For sufficiently smooth solutions, the a-priori error estimations show that asymptotic super-exponential convergence orders of the MPS approximations are readily achieved in - and -norms.

The remainder of this paper is organized as follows. Some preliminaries and a brief review of the MPS are presented in Section 2. The numerical procedures of the MPS for solving differential equations with variable coefficients are proposed in Section 3. In Section 4, two a-priori error estimates are given in different norms with rigorous proofs. And three numerical examples are provided with numerical errors and convergence orders to demonstrate the effectiveness of the proposed methods in Section 5. Furthermore, some conclusions and discussions are listed in Section 6. And in the last part, an appendix is given to sketch a rigorous proof for the recalled lemma.

2. Preliminaries

Let us introduce some basic notations which will be used in the sequel. Hereafter, we select a unit interval to show the sketch of the MPS approximations and a-priori error estimates and adopt the standard notation for Sobolev space on . Setting , we denote and . Specially, and denote the norms in and , respectively. We use and to denote different constants in different formulae. For simplicity, we omit subscripts if . Particularly, if , we set

Thereby, the scalar product in and bilinear form in are defined as

We define the following polynomial sets:

2.1. Legendre Polynomials

We denote by the -th degree Legendre polynomial with . Three-term recurrence relationship for Legendre polynomials reads and .

We recall that satisfy and hence there holds

Also, there is an orthogonality

And for , it is obvious that and

2.2. The Method of Particular Solutions

In this subsection, we consider the second-order differential equation with homogeneous Dirichlet boundary condition: and the constraint on will be stated in the sequel.

By (3), we obtain the equivalent weak formulation of (10) reads: finding such that

In view of (9), we design the corresponding particular solutions for (10) as which guarantee .

And then we define as where satisfies the homogeneous Dirichlet boundary conditions in (10). For more details about the completeness of in (13), please refer to [30].

According to (13), the MPS approximation of can be stated as where are the coefficients to be determined. For the sake of convenience, we use to denote the collocations in the interval. And then the corresponding equivalent collocation scheme for (10) reads: finding such that where denotes the Dirac delta distribution on . For readers interested in the collocation approximations, please refer to [31].

3. The Model Problem and Its Approximation Scheme

3.1. The Model Problem with

In the following parts, we focus on . Since there does not exist any positive constant satisfying in , we miss the sufficient conditions for the uniqueness of (10). And hence we have to restate the uniqueness of the solution for (11) with some novel techniques.

Theorem 1. For , there exists a unique weak solution of (11).

Proof. For any , there holds where we used . One directly states the continuation of the bilinear form and also the existence of solutions.
Now we are at the point to investigate the uniqueness of the solution for (10). Obviously, the bilinear form is not elliptic. We have to prove the uniqueness with new techniques. Assuming there exist two solutions and satisfying (10), one readily gets that for all , there almost holds which means where .
Now, we turn to prove that the solution of boundary value problem (18) is zero. And hence we employ integrations by parts to get the unique solution Considering the boundary conditions and properties of function at , we easily declare that and , which means . Then, we readily depict that , which directly verifies the uniqueness of solution of (11).

3.2. The MPS with Legendre Polynomials

Noticing that, one of the challenges of the MPS is how to derive closed-form particular solutions for given differential operators. Although the particular solutions are not unique, it is always a complicated task to find appropriate particular solutions for given differential operators. In general, finding or designing closed-form particular solutions are nontrivial (for more details on this topic, please refer to [32] and the references therein).

It is well-known that the size of globally dense matrices in the MPS grows with the increase of collocation points and will cause bigger condition numbers of resultant matrices. Hence, the crucial task of the MPS is to choose pertinent such that the basis functions are as simple as possible. According to the recursive relationships of Legendre polynomials, we derive efficient basis functions for corresponding particular solutions bit by bit.

With (9), it is direct to state that

And then we have

Hence, the basis functions for the approximations of the right hand term can be set as which satisfy the following identity

One readily gets that the discretized formulation of (11) reads: finding such that

The details about the equivalent weak formulation can be found in [31]. Meanwhile, the existence and uniqueness of the numerical solution in of (24) can be readily proved by the same techniques given in Theorem 1.

4. The A-Priori Error Estimates

In this section, we study a-priori error estimates of the MPS approximations by an orthogonal projector. For any , there holds

In view of orthogonal properties of Legendre polynomials and (20), we get the following identities:

We recall the first derivative orthogonal projector such that

Here, an error estimate for this first derivative orthogonal projector is shown in the following lemma.

Lemma 2 (see [4, 33]). For all , there holds

4.1. The A-Priori Error Estimate in -Norm

The Aubin-Nitsche duality argument is employed to investigate error estimates of the MPS approximations in -norm.

Lemma 3 (See [34, 35]). For bounded interval and , we set as the unique solution of the following homogeneous boundary value problem where stands for the dual product on . Then, and there holds By the above results, we derive the following a-priori error estimate.

Theorem 4. Let and be the solutions of (11) and (15), respectively. Then for all , it holds that

Proof. It follows that Then, the a-priori error estimation in (31) is yielded.

4.2. The A-Priori Error Estimate in -Norm

In this subsection, we give the corresponding error estimate in -norm with a rigorous relationship during and .

Lemma 5. For all , there holds the following estimate

Proof. Since the interval is bounded, one gets that . By the embedding theorems (refer to Chapter 12 in [36]), we know that is embedded in . Furthermore, is a subset of due to the bounded interval . Hence, is embedded in . About the constants within the above estimate, please refer to the Theorem 1.9 in [37] for further details. And a theoretical proof is listed in the appendix, which improves the proof given in [38].

Theorem 6. Let and be the solutions of (11) and (15), respectively. Then, for all , there holds

Proof. It is clear that . Then, where denotes the constant within the Poincaré inequality. One readily gets that the desired result listed in (34) holds.

The above two a-priori error estimations, which are given in - and - norms, show that an asymptotic super-exponential convergence order for the MPS approximations can be achieved for any sufficiently smooth solution.

5. Numerical Results

In the following different kinds of numerical examples, we show the approximation data in tables and figures, which illustrate the efficiency of the MPS for (10). For simplicity, we evenly select distributed nodes as the collocation points.

Example 7. Setting the boundary value problem (10) with we get the analytic solution

Obviously, this analytic solution is sufficient smooth on . The numerical data listed in Table 1 show error estimates of numerical approximations and the first derivatives of numerical solutions versus , respectively. And two a-priori error estimations with - and -norms verify our theoretical analyses. Hence, by the numerical data in the first five columns, we obtain the high accuracy property of the MPS approximations.

The last column depicts the convergent orders, which will validate the high efficiency of the MPS. Since the errors arrive at the machine accuracy, the convergence order, 1.0401 in the last column, has no essential significance. Here, the convergence order is calculated by where the subscripts denote corresponding -th and -th information. It is obvious that for any sufficiently smooth analytic solution, the convergence orders of the MPS can be sharply enhanced by the increased .

For the given right-hand side function in (36), the analytic solutions and the MPS approximations of and are pointwise delineated in Figure 1.

And numerical results of are shown by the semi-logarithmic scale in Figure 2. By the Poincaré inequality, we know that the approximation errors in -norm are naturally consistent with our proposed a-priori error estimates. These figures show the efficiency of the MPS approximations for this example.

Following the above numerical data shown in Table 1 and Figures 1 and 2, it is clear that the numerical errors decrease exponentially with increased . And hence, the convergence and high accuracy of our proposed numerical scheme are demonstrated.

Example 8. We consider the boundary value problem (10) with and the corresponding analytic solution reads

By our proposed MPS schemes, corresponding numerical errors are listed in Table 2. Also convergence orders are given, which depict the finite algebraic convergence properties. Since numerical data of and approach the machine accuracy, which lead to that the last convergence order is unworthy of consideration. And the curves of numerical solution and analytic solution are shown in Figure 3.

Considering the above results and figures, we readily know the sharply approximation properties of the MPS.

Example 9. In this example, we consider the boundary value problem (10) with and the corresponding analytic solution

Since the third derivative of this solution is singular at the boundary points , the convergence order is not exponential. By the MPS schemes, numerical errors of our proposed approximations are listed in Table 3. And the convergence orders are shown in the last column, which depict the finite algebraic convergence properties.

Furthermore, considering accumulations of round-off errors and convergence orders, we show that the MPS approximations perform well for this kind of second-order differential equations.

Here, we present Figure 4 to show the errors of numerical solutions against various by semi-logarithmic scale. The error curve of is around the reference line, whose slope reads . This indicates that our error estimates uniformly predict the numerical errors of the MPS, which is consistent with the regularity of the given solution.

In the light of kinds of classical solutions with different smoothness, we demonstrate that our a-priori error estimates uniformly predict the errors of the MPS approximations. Furthermore, considering accumulations of round-off errors, the current section verifies our theoretical results for the model problems with the proposed MPS approximations.

6. Conclusions

The highlight of this work is that we skillfully employed Legendre polynomials to solve second-order differential equations by the MPS. To investigate the efficiency and accuracy of proposed numerical schemes, we study the errors of corresponding numerical approximations. By orthogonal projector and Aubin-Nitsche duality argument, we obtain the a-priori error estimate in -norm with rigorous analyses. Meanwhile, with the help of relationships between - and -norms on any bounded interval, we readily get corresponding a-priori error estimate in -norm. In the numerical examples, three analytic solutions with different regularity are selected: One is with finite smoothness and others are with infinite regularity. Furthermore, convergence orders and numerical errors are listed to confirm our theoretical results, which also validate the efficiency and high accuracy of the MPS.

The success of dealing with this typical model problem by the MPS will pave the way for solving other more challenging models in science and engineering applications. In our ongoing researches, corresponding further discussions have been listed for the MPS in high dimensional domains, such as how to design the basis functions and corresponding particular solutions based on orthogonal polynomials and how to select collocation points for singular domains. Fortunately, the tensor product of orthogonal polynomials will help us to reformulate the particular solutions and corresponding discretizations. We believe that this method will be applicable for a large amount of partial differential equations and is an efficient numerical scheme in applications.

Appendix

A. The Proof of Lemma 4.3

This appendix follows the proof of both Theorem 7.10 in [39] and (3.9) in [38] and gives a rigorous proof for Lemma 5 on any bounded interval .

Firstly, we proceed from . By the first mean value theorem of integrals, we know that there exists a satisfying

Meanwhile, by the Newton-Leibniz integration formula, we have

One readily gets

Hence, in view of is dense in , then for any , there exists satisfying

Now it is obvious that

By (A.3), one arrives at

Then for and , there holds which means that is a Cauchy sequence in .

Meanwhile, in the light of the completeness of , we know that there exists such that i.e.,

Secondly, we identify the relationship between and . By Minkowski’s inequality and Lebesgue integration, we have then for , there holds i.e.,

Therefore,

Finally, by (A.3), we know that for all , there holds

Then,

With the help of (A.13), we directly get which means

This is the desired result in Lemma 5.

Data Availability

Data available on request from the authors.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Authors’ Contributions

The authors contributed equally to this work.

Acknowledgments

This work is partly supported by Natural Science Foundation of China (Nos. 12271233 and 11926355), and Natural Science Foundation of Shandong Province (Nos. ZR2019YQ05, 2019KJI003, and ZR2018LA008).