Abstract
We apply the polynomial least squares method to obtain approximate analytical solutions for a very general class of nonlinear Fredholm and Volterra integro-differential equations. The method is a relatively simple and straightforward one, but its precision for this type of equations is very high, a fact that is illustrated by the numerical examples presented. The comparison with previous approximations computed for the included test problems emphasizes the method’s simplicity and accuracy.
1. Introduction
Integro-differential equations are important in both pure and applied mathematics, with multiple applications in mechanics, engineering, physics, etc. The behavior and evolution of many physical systems in many fields of science and engineering, including, for example, visco-elasticity, evolutionary problems, fluid dynamics, the dynamics of populations and many others, may be successfully modeled by using integro-differential equations of the Fredholm or Volterra type.
The beginning of the theory of integral equations can be attributed to N. H. Abel (1802–1829), who formulated an integral equation in 1812 by studying a problem of mechanics. Since then, many other great mathematicians, including T. Lalescu (who wrote the world’s first dissertation of integral equations in 1911), A. Cauchy (1789–1857), J. Liouville (1809–1882), V. Volterra (1860–1940), I. Fredholm (1866–1927), D. Hilbert (1862–1943), and E. Picard (1856–1941) have contributed to the field of integral and integro-differential equations. In the 20th century, the theory of integral equations presented a strong development regarding both the perspective of its applications and the actual methods of computation of the solutions. Among the main methods used in the study of integral and integro-differential equations, we mention fixed point methods, variational methods, iterative methods, numerical methods and approximate methods.
The class of equations studied in this paper has the following general expression:
and, depending on the problem, may have attached a set of boundary conditions of the following type:
Here, are constants and we assume that the functions , f, , , , have suitable derivatives on such that the problem consisting of Equation (1) together with the set of conditions of (2) (if present) admits a solution.
We remark that this class of equations evidently includes both Fredholm- and Volterra-type equations, linear and nonlinear equations and, also, both integro-differential and integral equations, so it is a very general class of equations indeed.
While the qualitative properties of integro-differential equations are thoroughly studied ([1,2]), leaving aside a relatively small number of exceptions (mostly test problems, such as the ones included as examples), the exact solution of a nonlinear integro-differential equation of the type (1) cannot be found, and numerical solutions or approximate analytical solutions must be computed. Of these two types of solutions, the approximate analytical ones are usually more useful if any subsequent computation involving the solution must be performed.
Of course, many approximation techniques have been proposed for the computation of analytic approximations of integro-differential Fredholm and Volterra equations, such as, for example, the following: Taylor expansion methods ([3,4]), Tau methods ([5,6]), the homotopy perturbation method ([7]), the Bessel polynomials method ([8]), Legendre methods ([9]), the Bernoulli matrix method ([10]), the Haar wavelet method ([11,12,13]), collocation methods ([14,15]), the Bernstein–Kantorovich operators method ([16]), Cattani’s method ([17]), the variational iteration method ([18]), the Bernstein polynomials-based projection method ([19]), the block pulse functions method ([20,21,22]), the modified decomposition method ([23]), and the differential transform method ([24]).
2. The Polynomial Least Squares Method
Let denote an approximate solution of (1). If we replace the exact solution u of (1) with , then the error corresponding to this replacement can be described by the so-called remainder:
We find approximate polynomial solutions of (1) and (2) on such that satisfies the following conditions:
Definition 1.
Definition 2.
Definition 3.
Let there be the sequence of polynomials , , which satisfy the following conditions:
We can prove the following theorem regarding the convergence of the method.
Theorem 1.
Proof.
We compute a weak -polynomial solution:
The constants are determined by performing the computations included in the following steps:
- If the conditions are included, we compute as the values corresponding to the minimum of the functional (10) and again as functions of by using the initial conditions. If the conditions are not included, then are the values that correspond to the minimum of the functional.
- Using computed at the previous step, we construct the following polynomial:
Considering the relations (8)–(11) and the way the coefficients of are computed, it can be deduced that the following inequality holds:
Hence,
Thus,
Remark 1.
We observe that if is a ε-approximate polynomial solution of (1) and (2), then is also a weak -approximate polynomial solution. However, the reciprocal property is not always true. As a consequence, we deduce that the set of weak approximate solutions of (1) and (2) contains also the approximate solutions of the problem.
As a consequence of the previous Remark, in order to compute -approximate polynomial solutions of the problem (1) and (2) by the polynomial least squares method (from now on denoted as PLSM), we first compute the weak approximate polynomial solutions, . If , then is also a -approximate polynomial solution of the problem.
Remark 2.
Regarding the practical implementation of the method, we wish to make the following remarks:
- Regarding the choice of the degree of the polynomial approximation, in the computations, we usually start with the lowest degree (i.e., first degree polynomial) and compute successively higher degree approximations until the error (see next item) is considered low enough from a practical point of view for the given problem (or, in the case of a test problem, until the error is lower than the error corresponding to the solutions obtained by other methods). Of course, in the case of a test problem when the known solution is a polynomial, one may start directly with the corresponding degree, but this is just a shortcut and by no means necessary when using the method.
- If the exact solutions of the problem are not known, as would be the case of a real-life problem, and as a consequence, the error cannot be computed, then instead of the actual error, we can consider as an estimation of the error the value of the remainder R (4) corresponding to the computed approximation, as mentioned in the previous remark.
- If the problem has an (unknown) exact polynomial solution, it is easy to see if PLSM has found it since the value of the minimum of the functional in this case is actually 0. In this situation, if we keep increasing the degree (even though there is no point in that), from the computation, we obtain that the coefficients of the higher degrees are actually zero.
- Regarding the choice of the optimization method used for the computation of the minimum of the functional (9), if the solution of the problem is a known polynomial (such as in the case of Application 1, Application 3, Application 5 and Application 6) we usually employ the critical (stationary) points method, because in this way, by using PLSM, we can easily find the exact solution. Such problems are relatively simple ones; the expression of the functional (9) is also not very complicated; and indeed, the solutions can usually be computed even by hand (as in the case of this application). In general, no concerns of conditioning or stability arise.However, for a more complicated (real-life) problem, when the solution is not known (or even if the exact solution is known but not polynomial), we would not use the critical points method. In fact, we would not even use a iterative-type method, but rather a heuristic algorithm, such as differential evolution or simulated annealing. In our experience, with this type of problem, even a simple Nelder–Mead-type algorithm works well (as was the case for the following Application 2, Application 4 and Application 7). In fact, Application 4 includes a small comparison of several optimization methods.
- Finally, we remark that in the case when the solution of the problem is not analytic, the convergence of the PLSM solutions will be slower; another basis of functions (wavelets, and piecewise polynomials) should be used to control the approximation levels.
3. Numerical Examples
In this section, we apply PLSM to several well-known test problems, and we compare the solutions obtained by using PLSM with solutions previously computed by means of other methods.
The computations are performed using the Wolfram Mathematica software.
3.1. Application 1: First Order Nonlinear Fredholm Integro-Differential Equation
The first application is an an initial-value problem, including a first-order nonlinear Fredholm integro-differential equation ([7]):
The problem (12) has the exact solution . As the solution is a polynomial, we expect PLSM to be able to compute this exact solution.
Choosing a first order polynomial, , from the initial condition, it follows that , so .
.
It is easy to show that the stationary point is , and this is indeed a minimum of the functional.
We conclude that, as expected, PLSM can find the exact solution of (12).
3.2. Application 2: Second Order Fredholm Integro-Differential Equation
The second application is a problem including a linear second order Fredholm integro-differential equation ([5]):
The problem (13) has the exact solution .
Choosing a fifth degree polynomial of the following type,
from the initial conditions, it follows that and .
Replacing and in we compute the remainder (8) as follows:
We minimize the corresponding functional (10) (whose expression is too large to be presented), and the corresponding values of the constants are as follows:
We compute and by using again the initial conditions obtaining the approximation:
Figure 1 shows the plot of the absolute error corresponding to the above approximation (as the difference in absolute value between the exact solution and the approximation):
Figure 1.
The absolute error of the 5th degree approximation by PLSM for problem (13).
In the same manner, we compute the polynomial approximate solutions of several other degrees, including the following 7th and 9th degree approximations:
- The 7th degree polynomial approximation:
- The 9th degree polynomial approximation:
Table 1 compares the absolute errors of the approximation obtained by using the operational Tau method ([5]) and of the approximations obtained by using PLSM.
Table 1.
Absolute errors of the approximations for problem (13).
We remark that the solution presented in [5] is a piecewise constructed function consisting of 7 polynomials of 5th degree.
As the comparison clearly shows, the PLSM solutions, even though they consist of a single polynomial (and thus, are much easier to work with) offer much better accuracy.
Moreover, Table 1 illustrates the convergence of the method since the error decreases quickly when the degree of the polynomial approximation increases.
3.3. Application 3: Voltera Integro-Differential Equation
We consider a Voltera integro-differential equation together with the initial condition [21]):
The problem (14) has the exact solution .
Choosing the approximate solution as a second degree polynomial, and following the steps described in the PLSM algorithm, the exact solution of the problem is computed.
We remark that the numerical approximation computed in [21] using block-pulse and hybrid functions leads to errors between and .
3.4. Application 4: Nonlinear Volterra Integral Equation
The next application is a nonlinear Volterra integral equation ([11]):
The problem has the exact solution .
Employing the same PLSM steps used in the previous examples, we calculated several approximate polynomial solutions. Regarding the computation of the minimum of the functional (10), we wish to make the following remark: As addressed in Remark 2.2, the method of the computation of the minimum is not specified as a part of the PLSM algorithm. In the previous applications, where the exact solutions were polynomial, it seemed natural to use the critical/stationary points method since this way, it is easy to find the exact solution. However, when the solution is not known (or known but not a polynomial), it could be preferable to use other types of optimization algorithms, such as, for example, heuristic algorithms. In the following, we present several approximations obtained by using different optimization algorithms:
- The 7th degree polynomial approximation, using the stationary points method:
- The 7th degree polynomial approximation, using a differential evolution algorithm:
- The 7th degree polynomial approximation, using a simulated annealing algorithm:
- The 7th degree polynomial approximation, using a Nelder–Mead algorithm:
In Table 2, we present the comparison of the absolute errors of these approximations. Since in the case of this problem (and in fact, also in the case of the other test problems studied), the functional (10) does not have a particularly complicated expression, the influence of the optimization method is not very strong (but it could be significant if the initial problem is a very difficult one).
Table 2.
Absolute errors of the 7th degree approximations for problem (15) corresponding to different optimization methods.
Using PLSM with the Nelder–Mead algorithm, we compute approximations of different degrees. In the comparison, we use the following approximate solutions:
- The 4th degree polynomial approximation:
- The 5th degree polynomial approximation:
- The 6th degree polynomial approximation:
- The 7th degree polynomial approximation:
Equation (15) was previously solved by employing the hybrid Taylor block-pulse functions method ([20]) and by employing a combination of the Newton–Kantorovich and Haar wavelet methods ([11]).
Table 3 presents the comparison of the best absolute errors corresponding to these methods and to the above approximations computed by PLSM. In Figure 2, we present the absolute errors corresponding to several of the above PLSM approximations.
Table 3.
Absolute errors of the approximations for problem (15).
Figure 2.
The absolute errors of the 5th, 6th and 7th degree PLSM approximations for problem (15).
3.5. Application 5: Volterra–Fredholm Integro-Differential Equation
The next example is the Volterra–Fredholm integro-differential equation together with the corresponding condition ([22]):
While the errors of the approximation computed in ([22]) are of the order of , by using PLSM, we can find the exact solution of (16), .
3.6. Application 6: Fourth Order Nonlinear Volterra–Fredholm Integro-Differential Equation
The next example is the nonlinear Volterra–Fredholm integro-differential equation together with the corresponding conditions ([24]):
Using PLSM, we can find again the exact solution, .
3.7. Application 7: Eighth Order Volterra–Fredholm Integro-Differential Equation
The last example is the Volterra–Fredholm integro-differential equation together with the corresponding conditions ([18,19]):
The problem has the exact solution .
Table 4 shows the comparison between our solutions and the solutions computed in [18] by using the variational iteration method (15th degree polynomial) and in [19] by using a projection method based on generalized Bernstein polynomials (15 terms).
Table 4.
Absolute errors of the approximations for problem (18).
4. Conclusions
The paper presents the polynomial least squares method as a simple and straightforward but efficient and accurate method to calculate approximate polynomial solutions for nonlinear integro-differential equations of the Fredholm and Volterra type.
The main advantages of PLSM are as follows:
- The simplicity of the method—the computations involved in PLSM are as straightforward as possible (in fact, in the case of a lower degree polynomial, the computations can be easily carried out by hand; see Application 1).
- The accuracy of the method—this is well illustrated by the applications presented since by using PLSM, we could compute approximations more precisely than the ones computed in previous papers. We remark that, even though we only included a handful of (significant) test problems, we actually tested the method on most of the usual test problems for this type of equation. In all the cases when the solution was a polynomial (which is a frequent case), we could find the exact solution, while in the cases when the solution was not polynomial, most of the time we were able to find approximations that were at least as good (if not better) than the ones computed by other methods.
- The simplicity of the approximation—since the approximations are polynomial, they also have the simplest possible form and thus, any subsequent computation involving the solution can be performed with ease. While it is true that for some approximation methods which work with polynomial approximations the convergence may be very slow, this is not the case here (see, for example, Application 2, Application 4 and Application 7, which are representative for the performance of the method).
We remark that the class of equations presented here is a very general one, including most of the usual integro-differential Fredholm and Volterra problems. However, we also wish to remark that since the method itself is not really dependent on a certain expression of the equation, it could be easily adapted to solve other different types of difficult problems.
Author Contributions
All authors contributed equally. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
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.
References
- Benchohra, M.; Rezoug, N. Existence and attractivity of solutions of semilinear Volterra type integro-differential evolution equations. Surv. Math. Its Appl. 2018, 13, 215–235. [Google Scholar]
- Tunç, C.; Tunç, O. On the stability, integrability and boundedness analyses of systems of integro-differential equations with time-delay retardation. Rev. Real Acad. Cienc. Exactas Físicas Nat. Ser. A. Mat. 2021, 115. [Google Scholar] [CrossRef]
- Maleknejad, K.; Mahmoudi, Y. Taylor polynomial solution of high-order nonlinear Volterra-Fredholm integro-differential equations. Appl. Math. Comput. 2003, 145, 641–653. [Google Scholar] [CrossRef]
- Wang, K.; Wang, Q. Taylor collocation method and convergence analysis for the Volterra–Fredholm integral equations. J. Comput. Appl. Math. 2014, 260, 294–300. [Google Scholar] [CrossRef]
- Hosseini, S.M.; Shahmorad, S. Numerical piecewise approximate solution of Fredholm integro-differential equations by the Tau method. Appl. Math. Model. 2005, 29, 1005–1021. [Google Scholar] [CrossRef]
- Hosseini, S.M.; Shahmorad, S. Tau numerical solution of Fredholm integro-differential equations with arbitrary polynomial bases. Appl. Math. Model. 2003, 27, 145–154. [Google Scholar] [CrossRef]
- Ghasemi, M.; Tavassoli, M.; Babolian, E. Application of He’s homotopy perturbation method to nonlinear integro-differential equations. Appl. Math. Comput. 2007, 188, 538–548. [Google Scholar] [CrossRef]
- Yüzbaşi, Ş.; Sezer, M.; Kemanci, B. Numerical solutions of integro-differential equations and application of a population model with an improved Legendre method. Appl. Math. Model. 2013, 37, 2086–2101. [Google Scholar] [CrossRef]
- Lakestani, M.; Saray, B.N.; Dehghan, M. Numerical solution for the weakly singular Fredholm integro-differential equations using Legendre multiwavelets. J. Comput. Appl. Math. 2011, 235, 3291–3303. [Google Scholar] [CrossRef] [Green Version]
- Bhrawya, A.H.; Tohidic, E.; Soleymanic, F. A new Bernoulli matrix method for solving high-order linear and nonlinear Fredholm integro-differential equations with piecewise intervals. Appl. Math. Comput. 2012, 219, 482–497. [Google Scholar] [CrossRef]
- Sathar, M.H.A.; Rasedee, A.F.N.; Ahmedov, A.A.; Bachok, N. Numerical Solution of Nonlinear Fredholm and Volterra Integrals by Newton-Kantorovich and Haar Wavelets Methods. Symmetry 2020, 12, 2034. [Google Scholar] [CrossRef]
- Amin, R.; Shah, K.; Asif, M.; Khan, I. Efficient numerical technique for solution of delay Volterra-Fredholm integral equations using Haar wavelet. Heliyon 2020, 6, e05108. [Google Scholar] [CrossRef] [PubMed]
- Islam, S.; Aziz, I.; Al-Fhaid, A.S. An improved method based on Haar wavelets for numerical solution of nonlinear integral and integro-differential equations of first and higher orders. J. Comput. Appl. Math. 2014, 260, 449–469. [Google Scholar] [CrossRef]
- Ming, W.; Huanga, C. Collocation methods for Volterra functional integral equations with non-vanishing delays. Appl. Math. Comput. 2017, 296, 198–214. [Google Scholar] [CrossRef]
- Davaeifar, S.; Rashidinia, J. Boubaker polynomials collocation approach for solving systems of nonlinear Volterra–Fredholm integral equations. J. Taibah Univ. Sci. 2017, 11, 1182–1199. [Google Scholar] [CrossRef]
- Buranay, S.C.; Özarslan, M.A.; Falahhesar, S.S. Numerical solution of the Fredholm and Volterra integral equations by using modified Bernstein–Kantorovich operators. Mathematics 2021, 9, 1193. [Google Scholar] [CrossRef]
- Maleknej, K.; Attary, M. An efficient numerical approximation for the linear class of Fredholm integro-differential equations based on Cattani’s method. Commun. Nonlinear Sci. Numer. Simul. 2011, 16, 2672–2679. [Google Scholar] [CrossRef]
- Shang, X.; Han, D. Application of the variational iteration method for solving nth-order integro-differential equations. J. Comput. Appl. Math. 2010, 234, 1442–1447. [Google Scholar] [CrossRef] [Green Version]
- Acar, N.I.; Daşcioglu, A. A projection method for linear Fredholm–Volterra integro-differential equations. J. Taibah Univ. Sci. 2019, 13, 644–650. [Google Scholar] [CrossRef] [Green Version]
- Sabzevari, M. A review on “Numerical solution of nonlinear Volterra-Fredholm integral equations using hybrid of ...” [Alexandria Eng. J. 52 (2013) 551–555]. Alex. Eng. J. 2019, 58, 1099–1102. [Google Scholar] [CrossRef]
- Hosry, A.; Nakad, R.; Bhalekar, S. A hybrid function approach to solving a class of Fredholm and Volterra integro-differential equations. Math. Comput. Appl. 2020, 25, 30. [Google Scholar] [CrossRef]
- Rahmani, L.; Mordad, M. Numerical solution of Volterra-Fredholm integro-differential equation by Block Pulse functions and operational matrices. Gen. Math. Notes 2011, 4, 37–48. [Google Scholar]
- Maturi, D.A.; Simbawa, E.A.M. The modified decomposition method for solving volterra fredholm integro-differential equations using maple. Int. J. GEOMATE 2020, 18, 84–89. [Google Scholar] [CrossRef]
- Behiry, S.; Mohamed, S. Solving high-order nonlinear Volterra-Fredholm integro-differential equations by differential transform method. Nat. Sci. 2012, 4, 581–587. [Google Scholar] [CrossRef] [Green Version]
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 (https://creativecommons.org/licenses/by/4.0/).