- Research
- Open access
- Published:

# Barycentric Lagrange interpolation method for solving Love’s integral equations

*Boundary Value Problems*
**volume 2023**, Article number: 71 (2023)

## Abstract

In this paper, we present a new simple method for solving two integral equations of Love’s type that have many applications, especially in electrostatic systems. The approach of the solution is based on an innovative technique using matrix algebra for the barycentric Lagrange interpolation. The unknown function is expressed through the product of four matrices. The kernel is interpolated twice, so we get it in the product of five matrices. Additionally, we derive an equivalent linear algebraic system to the solution by substituting the matrix-vector barycentric interpolated unknown function together with the double interpolated kernel into both sides of the integral equation. Thus, there was no need to employ the collocation method. The obtained results converge strongly with the approximate analytical solutions, in addition to being uniformly approximated, continuous, and even, which proves the validity of the solution by the presented method.

## 1 Introduction

For many applied scientific fields, especially in the study of electrostatic systems, it is commonly necessary to solve Love’s integral equations. Many techniques and methods have been published for the solution of this kind of equations [1–4]. Love’s integral equation was numerically solved for a relatively small parameter by Barerra et al. [1]. They took into account a new unknown function based on the unknown function of the integral equation and the exact solution; they employed the product integration approach based on discrete spline quadratic quasi-interpolation. Fu-Rong Lin et al. [2] solved Love’s integral equation for a minimal parameter. They applied a composite Gauss–Legendre quadrature to an alternating integral equation. The coefficient matrix of a corresponding linear system is a nonsymmetric block matrix with Toeplitz blocks. Thus, they transformed the nonsymmetric linear system into a symmetric linear system and introduced a preconditioner, which is a block matrix with circulant blocks. For Boubaker and related polynomials, Gradimir et al. [3] proposed three-term recurrence relations as well as various features, such as zero distribution. These polynomials are used to generate an approximative analytical solution to Love’s integral problem. Pastore [4] described a method for solving a certain Love’s integral equation numerically. Using a stable and convergent technique, he reduced the integral problem to an equivalent set of Fredholm integral equations. Most of the methods mentioned above are tedious, make you feel bored in their calculations, and praise the theories of functional analysis, although the solution to these equations has been proven to be convergent, continuous, even, and stable. There are also many different innovative methods and techniques [5–16] for solving integro-differential equations, Volterra and Fredholm weakly singular integral equations. These methods are suitable for solving Love’s integral equations for any parameter, but they are expensive because they contain singularities in the kernels, and sometimes the unknown functions are also singular near the endpoints of the domain of integration. Jean-Paul Berrut et al. [17] presented the tradition of the barycentric Lagrange interpolation. Nicholas J. Higham [18] proved the stability of the tradition of the barycentric Lagrange interpolation. For the first time, Shoukralla et al. [19–21] developed matrix-vector formulas of the barycentric Lagrange interpolation versions and successfully used these versions of interpolation to solve the second kind Volterra integral problem. In this paper, we use these new versions of interpolation to solve Love’s integral equations, in which the parameter is equal to one. The first step in the solution begins with expressing the unknown function through four matrices. The first matrix is a row matrix that expresses the monomial basis functions, the second is the coefficient matrix of the barycentric functions, the third is a diagonal matrix whose elements represent interpolation weights, and the fourth matrix is a column matrix for the unknown coefficients of the unknown function. For the kernel, it is interpolated twice: the first interpolation for the first variable and the second interpolation for the second variable, but in the order of matrices opposite to the order of the first interpolation. Thus, the kernel is represented by five matrices. One of these matrices is a square matrix whose elements express the functional values of the kernel at the interpolation nodes. This is the most important matrix in the solution procedure. By substituting the unknown interpolation function, and with it the interpolation kernel into both sides of the integral equation, we get an equivalent linear algebraic system to the solution of the integral equation. Thus, we get the unknown function in the form of continuous, uniformly interpolated, and even function. There are two solved cases with equal and opposite potential. The results were extremely accurate. This demonstrates the method’s originality and effectiveness.

## 2 The barycentric matrix-vector interpolate solutions to Love’s integral equations

Consider the following Love’s integral equation:

which describes the electrostatic potential in space, generated by a condenser consisting of two parallel equal circular plates of some radius and separated by a distance. In the case when the potentials of the plates are equal in magnitude and sign, the corresponding integral equation (1) becomes

which occurs in the problem of determining the capacity of circular plate condenser, where \(d = 1\) is the equation’s parameter, \(\tilde{u} ( x )\) is the unknown function to be determined. It is known that the approximate analytic solution of Love’s integral equation found by Love (1912–2001) is continuous, real, and even. The kernel \(k ( x,t ) = k ( x - t ) = \frac{d}{\pi ( d^{2} + ( x - t )^{2} )}\) is called the difference kernel. The presented procedure focuses on finding the matrix-vector barycentric interpolated solution \(u_{n}\) of degree *n* to equation (1), similarly we find for \(\tilde{u}_{n}\) to equation (2).

We assume that the unknown function \(u ( x )\) is given in the form of a tabulated function \(u ( x_{i} ) = u_{i}\), where the \(( n + 1 )\) equidistant distinct node distributions are selected with regards to the variable *x* with a step-size \(h = \frac{b - a}{n}\) to be \(x_{i} = a + ih\), \(i = \overline{0,n}\). Let \(u_{n} ( x )\) be the matrix-vector barycentric Lagrange interpolating polynomial of degree *n* that interpolates \(u ( x )\). Then \(u_{n} ( x )\) takes the form [12]

where \(\mathrm{U} = [ u_{i} ]_{i = 0}^{n}\) is the \(( n + 1 ) \times 1\) unknown coefficient column matrix such that the entries \(u_{i}\) satisfy the interpolation conditions \(u_{n} ( x_{i} ) = u_{i}\) for \(i = \overline{0:n}\), \(\mathrm{D} = \operatorname{diag} \{ \gamma _{i} \}_{i = 0}^{n}\) is a square diagonal matrix whose entries are the weights of the barycentric functions that is defined by \(\gamma _{i} = ( - 1 )^{i} \binom{n}{i}\), \(\mathrm{X} ( x ) = [ x^{i} ]_{i = 0}^{n}\) is the \(1 \times ( n + 1 )\) monomial basis row matrix, and \(\mathrm{C} = [ c_{i} ]_{i = 0}^{n}\) is the \(( n + 1 ) \times ( n + 1 )\) known barycentric Lagrange coefficients matrix with each row containing the coefficients of the barycentric Lagrange function corresponding to the node \(x_{i}\) for \(i = \overline{0:n}\), that is, the coefficients of the polynomials \(c_{i} = \frac{C_{i} ( x )}{\vartheta ( x )}\), where

The kernel \(k ( x,t )\) is now interpolated twice with regard to the two variables *x* and *t* to get the double matrix vector barycentric interpolated formula \(k_{n,n} ( x_{i},t_{j} )\) as follows [12]:

Here, \(\mathrm{K} = [ \gamma _{ij}\delta _{ij} ]_{i,j = 0}^{n}\) is a square known matrix whose entries \(\gamma _{ij}\delta _{ij}\) are defined by

Moreover, we get from (3) and (5)

Hence, the matrix-vector interpolated unknown function \(u_{n} ( t )\) is replaced by \(u ( x )\) of (1) to get

where \(\tilde{\tilde{\mathrm{X}}} ( t ) = \int _{ - 1}^{1} \tilde{\mathrm{X}} ( t )\,dt \). Furthermore, by substituting \(u_{n} ( x )\) and \(u_{n} ( t )\) in both sides of equation (1) and replacing \(k_{n,n} ( x,t )\) from (5) with \(k ( x,t )\) of (1), and after matrix abbreviations, we get

where

Simplifying (9) gives

Consequently, this idea of double substitution allows us to get the following algebraic linear system without applying the collocation method:

Hence, the values to the unknown coefficient column matrix U can be obtained in the form

Substituting U from (13) into (3) yields the barycentric matrix-vector interpolated solution

The solution of equation (2) is similar to the solution of equation with some changes. The barycentric matrix-vector interpolated solution \(\tilde{u}_{n} ( x )\) can be obtained by

## 3 Computational results

We designed a code by applying MATLAB2019a for solving the Love’s integral equation (1). An approximate analytic solution [3] is given by

Table 1 shows the approximate analytic solution and the matrix-vector barycentric interpolated polynomials \(u_{n} ( x_{i} )\) for \(n = 2,3,5,15,20\) at the set of points \(x_{i} = - 1:0.2:1\). The CPU total time was 8.147 sec., 9.905 sec., 10.927 sec., 29.200 sec., and 46.723 sec., respectively. Table 2 shows the absolute errors \(R_{n} ( x_{i} ) = \vert u ( x_{i} ) - u_{n} ( x_{i} ) \vert \). It turns out that the matrix-vector barycentric polynomials and the absolute errors are uniformly distributed and symmetric. Figure 1 shows the graphs of the approximate analytic solution and the obtained interpolated solution for \(n = 2\). Table 3 shows the matrix-vector barycentric interpolated polynomial solutions \(\tilde{u}_{n} ( x_{i} )\) for \(n = 2,3,5,15,20\) at \(x_{i} = - 1:0.2:1\). Figure 2 shows the graphs of the matrix-vector barycentric interpolated polynomial solutions \(\tilde{u}_{n} ( x_{i} )\) for \(n = 2\).

## 4 Conclusions

The interpolated solutions of two Love’s integral equations were found. The solutions were continuous, uniformity interpolated, and even functions. The method of the solutions is based on vector-matrix versions of the barycentric Lagrange interpolation. The unknown function was expressed in four matrices, and the kernel in five matrices. From these five matrices, we only need to compute the square matrix whose elements represent the functional values of the kernel at the interpolation nodes. The fact that there are only a few steps of the solution’s procedure and that only one matrix must be calculated to get the solution is an advantage of the method. The most important advantage of the presented method is that we get a linear algebraic system without using the collocation method. This occurs as an inevitable consequence of substituting the interpolated unknown function into both sides of the integral equation. The obtained results are highly accurate.

## Availability of data and materials

No data were associated with this research.

## References

Barreraa, D., El Mokhtaria, F., Ibáñeza, M.J., Sbibih, D.: A quasi-interpolation product integration based method for solving Love’s integral equation with a very small parameter. Math. Comput. Simul.

**172**, 213–223 (2020)Lin, F.-R., Shi, Y.-J.: Preconditioned conjugate gradient methods for the solution of Love’s integral equation with very small parameter. J. Comput. Appl. Math.

**327**, 295–305 (2018)Milovanovic´ and, G.V., Joksimovic´, D.: Properties of Boubaker polynomials and an application to Love’s integral equation. Appl. Math. Comput.

**224**, 74–87 (2013)Pastore, P.: The numerical treatment of Love’s integral equation having very small parameter. J. Comput. Appl. Math.

**236**(6), 1267–1281 (2011)Kürkçü, Ö.K.: An evolutionary numerical method for solving nonlinear fractional Fredholm–Volterra–Hammerstein integro–differential–delay equations with a functional bound. Int. J. Comput. Math.

**99**(11), 2159–2174 (2022)Kürkçü, Ö.K.: An exclusive spectral computational approach based on quadratic orthoexponential polynomials for solving integro-differential equations with delays on the real line. Appl. Numer. Math.

**184**, 1–17 (2023)Kürkçü, Ö.K., Sezer, M.: A directly convergent numerical method based on orthoexponential polynomials for solving integro-differential-delay equations with variable coefficients and infinite boundary on half-line. J. Comput. Appl. Math.

**386**, 113250 (2021)Shoukralla, E.S., Ahmed, B.M., Sayed, M., Saeed, A.: Interpolation method for solving Volterra integral equations with weakly singular kernel using an advanced barycentric Lagrange formula. Ain Shams Eng. J.

**13**(5), 101743 (2022)Shoukralla, E.S., Ahmed, B.M., Saeed, A., Sayed, M.: The interpolation-Vandermonde method for numerical solutions of weakly singular Volterra integral equations of the second kind. In: Proceedings of Seventh International Congress on Information and Communication Technology: ICICT 2022, London, vol. 1, pp. 607–614. Springer, Singapore (2022)

Shoukralla, E.S., Ahmed, B.M., Saeed, A., Sayed, M.: Vandermonde-interpolation method with Chebyshev nodes for solving Volterra integral equations of the second kind with weakly singular kernels. Eng. Lett.

**30**(4) (2022)Shoukralla, E.S.: Interpolation method for solving weakly singular integral equations of the second kind. Appl. Comput. Math.

**10**(3), 76–85 (2021)Shoukralla, E.S.: Interpolation method for evaluating weakly singular kernels. J. Math. Comput. Sci.

**11**(6), 7487–7510 (2021)Shoukralla, E.S., Saber, N., Sayed, A.Y.: Computational method for solving weakly singular Fredholm integral equations of the second kind using an advanced barycentric Lagrange interpolation formula. Adv. Model. Simul. Eng. Sci.

**8**, 27, 1–22 (2021)Shoukralla, E.S.: A numerical method for solving Fredholm integral equations of the first kind with logarithmic kernels and singular unknown functions. J. Appl. Comput. Math.

**6**, 172 (2020)Shoukralla, E.S.: Application of Chebyshev polynomials of the second kind to the numerical solution of weakly singular Fredholm integral equations of the first kind. IAENG Int. J. Appl. Math.

**51**(1), IJAM_51_1_08 (2021)Shoukralla, E.S., Markos, M.A.: The economized monic Chebyshev polynomials for solving weakly singular Fredholm integral equations of the first kind. Asian-Eur. J. Math.

**12**(1), 1–10 (2019)Berrut, J.-P., Trefethen, L.N.: Barycentric Lagrange interpolation. SIAM Rev.

**46**(3), 501–517 (2004)Higham, N.J.: The numerical stability of barycentric Lagrange interpolation. IMA J. Numer. Anal.

**24**, 547–556 (2004)Shoukralla, E.S., Elgohary, H., Ahmed, B.M.: Barycentric Lagrange interpolation for solving Volterra integral equations of the second kind. J. Phys. Conf. Ser.

**1447**, 012002 (2020)Shoukralla, E.S., Ahmed, B.M.: Numerical solutions of Volterra integral equations of the second kind using Lagrange interpolation via the Vandermonde matrix. Int. J. Phys. Conf. Ser.

**1447**, 012003 (2020)Shoukralla, E.S., Ahmed, B.M.: Multi-techniques method for solving Volterra integral equations of the second kind. In: 14th International Conference on Computer Engineering and Systems (ICCES), pp. 209–213. IEEE, New York (2019)

## Funding

Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB).

## Author information

### Authors and Affiliations

### Contributions

ESS put the idea of research article, presented the method, wrote the research, and revised it. BMA designed the MATLAB code. All authors read and approved the final manuscript.

### Corresponding author

## Ethics declarations

### Ethics approval and consent to participate

Not applicable.

### Competing interests

The authors declare no competing interests.

## Additional information

### Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

**Open Access** This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

## About this article

### Cite this article

Shoukralla, E.S., Ahmed, B.M. Barycentric Lagrange interpolation method for solving Love’s integral equations.
*Bound Value Probl* **2023**, 71 (2023). https://doi.org/10.1186/s13661-023-01758-7

Received:

Accepted:

Published:

DOI: https://doi.org/10.1186/s13661-023-01758-7