Theory and Modern Applications

# Numerical solution of certain Cauchy singular integral equations using a collocation scheme

## Abstract

The present study is devoted to developing a computational collocation technique for solving the Cauchy singular integral equation of the second kind (CSIE-2). Although, several studies have investigated the numerical approximation solution of CSIEs, the strong singularity and accuracy of the numerical methods are still two important challenges for these integral equations. In this paper, we focus on the smooth transformation and implementation of Bessel basis polynomials (BBP). The reduction of the CSIEs-2 into a system of algebraic equations with the Gauss–Legendre collocation points simplifies this technique. The technique of performing numerical approximation of the solution is well presented and illustrated in the matrix form. Also, the convergence and error bound associated with the scheme are established. Finally, several experiments show the reliability and numerical efficiency of the proposed scheme in comparison with other methods.

## Introduction

The theory of integral equations is one of the most important topics in applied mathematics and numerical analysis. Also, the singularity of the kernel is an important issue in the classification of integral equations. Applying the nonsingular kernel derivatives, Riemann–Liouville fractional integrals, Riemann–Liouville and Caputo fractional derivatives, and AB derivatives in the study of the behavior of fractional differential models leads to the singular integral equations [15]. Singular integral equations with Cauchy kernels have many applications in a wide variety of physics and engineering fields like airfoils, contact radiations, fracture mechanics, molecular conductions, and elastodynamics [68]. Since it is very difficult to find analytical solutions of integral equations with weak or strong singularity, many researchers have been developing several numerical methods with significant accuracy to solve these equations [911].

Cauchy-type kernel of the singular integral equation is defined by

$$\lambda x(s) + \mu \int_{-1}^{1} \frac{x(t)}{t-s} \,dt = \xi (s),\quad s \in(-1,1),$$
(1)

where $$\xi(s)$$ is a given function, λ, μ are constants, and $$x(s)$$ is an unknown function. The CSIEs have been solved via various numerical techniques such as using orthogonal Legendre polynomial [6], Lagrangian interpolation with Gauss–Jacobi mechanical quadrature [8], spline method [12, 13], Galerkin technique [14], collocation method [1517], application of Jacobi polynomials [18], using Chebyshev polynomials of the second kind [19], quadrature formula [2022], reproducing kernel Hilbert space method [23, 24], and other schemes [2527]. Recently, several types of operational matrix methods with truncated series have been proposed for solving the integral and integro-differential equations (see [16, 28]).

To obtain an approximate solution for the CSIEs-2, it is necessary to eliminate or weaken singularity by applying a smooth transformation. Hence, we use a smooth transformation in this article as well. The main part of this work deals with the use of Legendre polynomial roots as collocation points and the operational matrix approach. The essential focus of the scheme is the use of the numerical method designed based on Bessel basis functions for the CSIEs-2. Determining the theoretical error bound for the two functions of the exact and approximate solutions showed the convergence of the proposed method. The tested functions as the exact and approximate solutions in the numerical examples confirm the accuracy and efficiency of this method.

The rest of this work is outlined as follows: Sect. 2 discusses the Bessel basis polynomials and removing singularity of Eq. (1) by a suitable smooth transformation. In Sect. 3, we present the computational matrix approach for solving CSIEs-2. Error estimation and convergence analysis are given in Sect. 4. Some numerical experiments with graphical results are provided in Sect. 5. Finally, a brief conclusion is given in Sect. 6.

## Preliminaries

### The Bessel polynomials

The Bessel polynomials of the first kind and order i are defined by the truncated series

$$J_{i}(s)=\biggl(\frac{s}{2}\biggr)^{i} \sum_{j=0}^{[[\frac{n-i}{2}]]} \frac{(-1)^{j}s^{2j}}{j!(j+i)!4^{j}},\quad i=0,1,2,\dots,n,$$
(2)

which is convergent absolutely and uniformly in $$[-1,1]$$.

### Construction approximation of Bessel basis function

Let $$s_{k}$$; $$k=0,1,\dots,n$$, for any positive integer n, denote the $$n+1$$ roots of $$p_{n}(s)$$ where $$p_{n}(s)$$ is the Legendre polynomial of order n. On the other hand, assume that $$J_{i}(s)$$ can be expressed by BBF as follows:

$$f(s)=\sum_{i=0}^{\infty}\psi(s) J_{i}(s).$$
(3)

If the infinite series (3) is truncated for $$i=n$$, then the approximation of (3) can be represented in the following form:

$$f(s)=\sum_{i=0}^{\infty}\psi(s) J_{i}(s)\simeq\sum_{i=0}^{n} \psi(s) J_{i}(s).$$
(4)

By the operational matrices, we have

$$f(s)\simeq\Psi^{T}.J(s),$$
(5)

where

$$\Psi= \begin{bmatrix} \psi_{0} \\ \psi_{1} \\ \vdots \\ \psi_{n}\end{bmatrix} \quad \mbox{and}\quad J(s)= \begin{bmatrix} J_{0}(s) \\ J_{1}(s) \\ \vdots \\ J_{n}(s)\end{bmatrix} .$$

### Removing singularity of Eq. (1)

For solving Eq. (1), it is clear that we need to use an equivalent presentation of Eq. (1). We suggest to weaken the singularity of the integral part by the following technique:

$$\int_{-1}^{1}\frac{x(t)}{t-s}\,dt = \int_{-1}^{1} \frac{x(t)-x(s)}{t-s}\,dt+ \int_{-1}^{1}\frac{x(s)}{t-s}\,dt,$$
(6)

where $$\int_{-1}^{1}\frac{x(s)}{t-s}\,dt=x(s) \ln(\frac{1-s}{1+s})$$ [23]. By applying this separation to the right part of the integral term of Eq. (1), the equivalent smooth form of Eq. (1) is as follows:

$$\lambda x(s) + \mu \int_{-1}^{1} \frac{x(t)-x(s)}{t-s} \,dt+\mu x(s) \ln \biggl(\frac{1-s}{1+s}\biggr)= \xi(s),\quad s \in(-1,1),$$
(7)

where $$\frac{x(t)-x(s)}{t-s}=x'(s)$$, when $$t \to s$$. Note that

$$\lim_{s \to{-1,1}}\ln\biggl(\frac{1-s}{1+s}\biggr)=\infty,$$

therefore, for defining Eq. (7) at two endpoints of $$[-1,1]$$, we consider $$x(-1)=x(1)=0$$ and

$$\lim_{s \to{-1,1}}x(s)\ln\biggl(\frac{1-s}{1+s}\biggr)=0.$$

## Description of the method

### Construction of the residual operator

In this section, we extend the collocation scheme for solving the CSIE-2. First, consider the operation form of Eq. (1)

$$\chi(x)=\zeta,$$
(8)

where χ is in the Banach space S. Assume that a sequence of finite dimensional subspace $$S_{n} \subset S$$, $$n\geq1$$, has dimension $$n+1$$. Choose $$S_{n}$$ that has a basis $$J=\{J_{0}(s),J_{1}(s),\dots,J_{n}(s)\}$$ in S. Assume $$x_{n}(s) \in S_{n}$$, which is the best approximate of $$x(s)$$ such that

$$x_{n}(s)=\sum_{i=0}^{n}x_{i} J_{i}(s),\quad s \in[-1,1].$$
(9)

So, we can approximate the unknown function $$x(s)$$ in terms of BBF $$J_{i}(s)$$ as follows:

$$x(s)\simeq\sum_{i=0}^{n}x_{i} J_{i}(s)=X^{T} J(s),$$
(10)

where $$X=[x_{0},x_{1},\dots,x_{n}]^{T}$$ is the unknown coefficients matrix. After applying the smooth transformation, we substitute the main equation Eq. (7) into (1). So, by placing Eq. (7) into (1), the unknown Bessel coefficients $$\{x_{i}\mid i=0,1,\dots,n\}$$ are determined by forcing the equation to be accurate in some sense. However, we conduct it by the operational matrix. The residual function $$\tau_{n}(s)$$ is obtained in approximating Eq. (7) by substituting $$x(s)$$ with $$x_{n}(s)$$

$$\tau_{n}(s)=\lambda\sum_{i=0}^{n}x_{i} J_{i}(s) + \mu \int_{-1}^{1} \sum_{i=0}^{n}x_{i} \frac{J_{i}(t)-J_{i}(s)}{t-s} \,dt+\mu\sum_{i=0}^{n}x_{i} J_{i}(s) \ln\biggl(\frac{1-s}{1+s}\biggr)- \xi(s)$$
(11)

and it can be demonstrated by the operational matrices

$$\tau_{n}(s)=\lambda X^{T} J(s) + \mu X^{T} \tilde{J}(t,s)+\mu X^{T} J(s) \ln\biggl( \frac{1-s}{1+s}\biggr)- \xi(s),$$
(12)

where

$$\tilde{J}(t,s)= \begin{bmatrix} \int_{-1}^{1} \frac{J_{0}(t)-J_{0}(s)}{t-s} \,dt \\ \int_{-1}^{1} \frac{J_{1}(t)-J_{1}(s)}{t-s} \,dt \\ \vdots \\ \int_{-1}^{1}\frac{J_{n}(t)-J_{n}(s)}{t-s} \,dt\end{bmatrix} .$$

The symbolic presentation of (11) is

$$\tau_{n}(s)=\chi \bigl(x_{n}(s) \bigr)- \zeta(s),$$
(13)

or with the Bessel series

$$\tau_{n}(s)=\chi \Biggl(\sum _{i=0}^{n}x_{i} J_{i}(s) \Biggr)- \zeta(s).$$
(14)

### Construction of the operational fundamental matrices

Let us set $$\tau_{n}(s)$$ to be zero approximately, so the unknown Bessel coefficients can be approximated. We peek distinct $$n+1$$ roots of the Gauss–Legendre $$s_{0},s_{1},\dots,s_{n} \in[-1,1]$$, and by using the collocation scheme, we consider the zero value of the residual function for these separate points

$$\tau_{n}(s_{j})=0,\quad j=0,1,\dots,n,$$
(15)

therefore

$$\chi \bigl(x_{n}(s_{j}) \bigr)= \zeta(s_{j})$$
(16)

and

$$\chi \Biggl(\sum_{i=0}^{n}x_{i} J_{i}(s_{j}) \Biggr)=\zeta(s_{j}).$$
(17)

For determining $$\{x_{i}|i=0,1,\dots,n\}$$, we have to solve the system of linear Fredholm integral equations

\begin{aligned} &\lambda\sum _{i=0}^{n}x_{i} J_{i}(s_{j}) + \mu \int_{-1}^{1} \sum_{i=0}^{n}x_{i} \frac{J_{i}(t)-J_{i}(s_{j})}{t-s_{j}} \,dt+\mu \sum_{i=0}^{n}x_{i} J_{i}(s_{j}) \ln\biggl(\frac{1-s_{j}}{1+s_{j}}\biggr)= \xi(s_{j}), \\ &s_{j} \in[-1,1],\quad j=0,\dots,n, \end{aligned}
(18)

or we have to solve the operational matrix equation

$$\lambda X^{T} \bar{J} + \mu X^{T} \bar{ \tilde{J}} + \mu X^{T} \bar {J} L=Z,$$
(19)

where

\begin{aligned} \bar{J}&= \begin{bmatrix} J_{0}(s_{0})&J_{0}(s_{1})& \ldots &J_{0}(s_{n}) \\ J_{1}(s_{0})&J_{1}(s_{1})& \ldots &J_{1}(s_{n}) \\ \vdots&\vdots&\ddots&\vdots \\ J_{n}(s_{0})&J_{n}(s_{1})& \ldots &J_{n}(s_{n}) \end{bmatrix} , \\ \bar{\tilde{J}}&= \begin{bmatrix} \int_{-1}^{1} \frac{J_{0}(t)-J_{0}(s_{0})}{t-s_{0}} \,dt&\int_{-1}^{1} \frac{J_{0}(t)-J_{0}(s_{1})}{t-s_{1}} \,dt& \ldots &\int_{-1}^{1} \frac{J_{0}(t)-J_{0}(s_{n})}{t-s_{n}} \,dt \\ \vdots&\vdots&\ddots&\vdots \\ \int_{-1}^{1} \frac{J_{n}(t)-J_{n}(s_{0})}{t-s_{0}} \,dt&\int_{-1}^{1} \frac{J_{n}(t)-J_{n}(s_{1})}{t-s_{1}} \,dt& \ldots &\int_{-1}^{1} \frac{J_{n}(t)-J_{n}(s_{n})}{t-s_{n}} \,dt \end{bmatrix} , \end{aligned}
(20)

and

\begin{aligned} L= \begin{bmatrix} \ln(\frac{1-s_{0}}{1+s_{0}})&0& \ldots &0 \\ 0&\ln(\frac{1-s_{1}}{1+s_{1}})& \ldots &0 \\ \vdots&\vdots&\ddots&\vdots \\ 0&0& \ldots &\ln(\frac{1-s_{n}}{1+s_{n}})\end{bmatrix} , \qquad Z= \begin{bmatrix} \xi(s_{0})&\xi(s_{1})& \ldots &\xi(s_{n})\end{bmatrix} . \end{aligned}
(21)

Since the integral term of Eq. (18) cannot be solved analytically, we suggest using one of the quadrature rules such as the Gaussian–Legendre formula for approximating the value integrals or the entries of the matrix $$\bar{\tilde{J}}$$ of relation (20). By applying the quadrature rule, Eq. (18) is converted into

\begin{aligned} &\sum_{i=0}^{n}x_{i} \Biggl(\lambda J_{i}(s_{j}) + \mu \Biggl(\sum _{k=1}^{m} \omega_{k} \frac{J_{i}(t_{k})-J_{i}(s_{j})}{t_{k}-s_{j}} \Biggr)+\mu J_{i}(s_{j}) \ln\biggl(\frac{1-s_{j}}{1+s_{j}}\biggr) \Biggr)=\xi(s_{j}), \\ &s_{j} \in[-1,1],\quad j=0,\dots,n, \end{aligned}
(22)

with m Gauss nodes such that $$t_{k}$$ is the kth root of Legendre polynomial $$P_{n+1}(s)$$ and the weight functions are given by $$\omega_{k}=\frac{2}{(1-t_{k})^{2} ( P'_{i}(t_{k}) )^{2}}$$. Using this quadrature rule, the matrix form of Eq. (19) does not change, while $$\bar{\tilde{J}}$$ could be written as

$$\bar{\tilde{J}}= \begin{bmatrix} \sum_{k=1}^{m} \omega_{k} \frac{J_{0}(t_{k})-J_{0}(s_{0})}{t_{k}-s_{0}} &\sum_{k=1}^{m} \omega_{k}\frac{J_{0}(t_{k})-J_{0}(s_{1})}{t_{k}-s_{1}} & \ldots & \sum_{k=1}^{m} \omega_{k} \frac{J_{0}(t_{k})-J_{0}(s_{n})}{t_{k}-s_{n}} \\ \vdots&\vdots&\ddots&\vdots \\ \sum_{k=1}^{m} \omega_{k} \frac{J_{n}(t_{k})-J_{n}(s_{0})}{t_{k}-s_{0}} & \sum_{k=1}^{m} \omega_{k}\frac{J_{n}(t_{k})-J_{n}(s_{1})}{t_{k}-s_{1}} & \ldots & \sum_{k=1}^{m} \omega_{k} \frac{J_{n}(t_{k})-J_{n}(s_{n})}{t_{k}-s_{n}} \end{bmatrix} .$$
(23)

However, the linear equations in relation (22) and matrix equation (19) are the same and are generally written as the following

$$X^{T} (\lambda\bar{J} + \mu\bar{\tilde{J}} + \mu\bar{J} L )=Z.$$
(24)

Note that, by considering $$\lambda\bar{J} + \mu\bar{\tilde{J}} + \mu\bar{J} L=Y$$, we have

$$X^{T} Y=Z.$$
(25)

Using the previously described process, Eq. (7) is changed to matrix equation (25). If $$\mathrm{det} (Y )\neq 0$$, then Eq. (25) has a unique solution, and we can obtain the coefficient matrix by

$$X^{T}=Z Y^{-1}.$$
(26)

After determining the Bessel coefficients $$\{x_{i}\mid i=0,1,\dots,n\}$$ and by substituting $$x_{i}$$, $$i=0,1,\dots,n$$, in Eq. (9), the solution function $$x(s)$$ can be efficiently approximated.

## Error estimation analysis

Here, we explain the convergence analysis and error bound of the approximation solutions of the presented scheme in Sect. 3 for solving Eq. (1).

### Lemma 1

([29])

Suppose that $$s_{0},s_{1},\dots,s_{n}$$are $$n+1$$distinct Legendre roots in $$[-1,1]$$, and n is a positive integer. If we approximate the function $$x(s)\in C^{n+1}[-1,1]$$by BBF $$J(s)$$and $$x(s)$$is a sufficiently smooth function on $$[-1,1]$$, then there exists $$\eta\in(s_{0},s_{n})$$such that

$$x(s)-x_{n}(s)=\frac{x^{(n+1)}}{2^{2n+1}(n+1)!}(s-s_{0}) (s-s_{1}) \dots(s-s_{n}),\quad s \in[-1,1],$$
(27)

where $$x_{n}(s)$$is the approximation of $$x(s)$$by BBF. Now consider

$$M_{1}=\max_{-1\leq\eta\leq1} \bigl\vert x^{(n+1)}(\eta) \bigr\vert \quad \textit{and}\quad M=\max_{-1 \leq s \leq1}{ \Biggl\vert \prod_{i=0}^{n}(s-s_{i}) \Biggr\vert },$$

then

$$\bigl\vert x(s)-x_{n}(s) \bigr\vert \leq \frac{M_{1} M}{2^{2n+1}(n+1)!}.$$
(28)

### Lemma 2

Suppose that $$x(s)$$is a sufficiently smooth function. Let $$\chi_{n}$$, χ and A be linear operators on $$L^{2}[-1,1]$$and defined for $$s \in[-1,1]$$as follows:

$$\chi_{n}\bigl(x(s)\bigr)=\lambda x(s)+ \mu\sum _{k=1}^{m} \frac{\omega_{k} x(t_{k})-\omega_{k} x(s)}{t_{k}-s}+\mu x(s) \ln\biggl( \frac{1-s}{1+s}\biggr),$$
(29)

where $$\omega_{k}$$; $$k=0,1,\dots,m$$, are the weight functions and $$t_{k}$$, $$k=0,1,\dots,m$$, are the abscissas numbers of the Gauss–quadrature. If the Gaussian–quadrature rule is changed into the real–valued integral term, then we have

$$\chi\bigl(x(s)\bigr)=\lambda x(s)+ \mu \int_{-1}^{1} \frac{x(t)- x(s)}{t-s}\, dt + \mu x(s) \ln \biggl(\frac{1-s}{1+s}\biggr),$$
(30)

where $$\chi(x(s))=\zeta(s)$$. On the other hand, we can show Eq. (30) by the equivalent integral equation

$$\chi\bigl(x(s)\bigr)=\lambda x(s)+ \mu \int_{-1}^{1} \frac{x(t)- x(s)}{t-s}\,dt+ \mu \int_{-1}^{1} \frac{x(s)}{t-s}\,dt,$$
(31)

or

$$\chi\bigl(x(s)\bigr)=\lambda x(s)+ \mu \int_{-1}^{1} \frac{x(t)}{t-s}\,dt,$$
(32)

where $$\chi(x)=\zeta$$, and by using linear operator A, we have

$$\chi\bigl(x(s)\bigr)=\lambda x(s)+ \mu A\bigl(x(s)\bigr).$$
(33)

### Theorem 3

Suppose that the unknown function $$x(s)$$is $$n+1$$-times continuously differentiable on the interval $$[-1,1]$$and $$\bar{x}_{n}(s)=\sum_{i=0}^{n} \bar{x}_{i} J_{i}(s)$$is the expansion of the exact solution $$x(s)$$with respect to the basis functions in J. Let $$x_{n}(s)=\sum_{i=0}^{n} x_{i} J_{i}(s)$$be the approximate solution obtained by the purposed scheme in Sect3and $$M_{1}=\max_{s \in[-1,1]} \vert x^{(n+1)}(s) \vert$$, $$M=\max_{-1 \leq s \leq1} \vert \prod_{i=0}^{n}(s-s_{i}) \vert$$, then

$$\bigl\Vert E_{n}(s) \bigr\Vert _{2} \leq(\Omega_{1}+\Omega_{2}) \biggl(\epsilon_{1} \frac{M_{1} M}{2^{2n+1}(n+1)!}+\epsilon_{2} \Vert x-\bar{x} \Vert \biggr).$$
(34)

### Proof

From the notation mentioned in Eqs. (32) and (33), the exact and approximate solutions of Eq. (1) can be written as follows:

$$\begin{gathered} \chi\bigl(x(s)\bigr)=\lambda x(s)+ \mu \int_{-1}^{1} \frac{x(t)}{t-s}\,dt,\\\chi \bigl(x_{n}(s)\bigr)=\lambda x_{n}(s)+ \mu \int_{-1}^{1} \frac{x_{n}(t)}{t-s}\,dt, \\ \chi\bigl(x(s)\bigr)=\lambda x(s)+ \mu A\bigl(x(s)\bigr),\\\chi \bigl(x_{n}(s)\bigr)=\lambda x_{n}(s)+ \mu A \bigl(x_{n}(s)\bigr), \end{gathered}$$
(35)

so

$$\begin{gathered}\frac{1}{\lambda}\chi\bigl(x(s)\bigr)= x(s)+ \frac{\mu}{\lambda} A\bigl(x(s)\bigr),\\\frac{1}{\lambda}\chi\bigl(x_{n}(s)\bigr)= x_{n}(s)+ \frac{\mu}{\lambda} A\bigl(x_{n}(s)\bigr). \end{gathered}$$
(36)

From Eq. (36), we get

$$E_{n}(s)=\frac{1}{\lambda}\chi \bigl(x_{n}(s)-x(s) \bigr)- \frac{\mu}{\lambda} A \bigl(x_{n}(s)-x(s) \bigr).$$
(37)

Since χ and A are bounded, there exist two constants $$\Omega_{1}$$ and $$\Omega_{2}$$ such that

$$\bigl\Vert E_{n}(s) \bigr\Vert _{2}=( \Omega_{1}+\Omega_{2}) \bigl\Vert x_{n}(s)-x(s) \bigr\Vert _{2}.$$

Therefore

\begin{aligned} \bigl\Vert x(s)-x_{n}(s) \bigr\Vert _{2}&= \bigl\Vert x(s)-\bar {x}_{n}(s)+ \bar{x}_{n}(s)-x_{n}(s) \bigr\Vert _{2} \\ &\leq \bigl\Vert x(s)-\bar{x}_{n}(s) \bigr\Vert _{2}+ \bigl\Vert \bar {x}_{n}(s)-x_{n}(s) \bigr\Vert _{2} \\ &\leq \biggl( \int_{-1}^{1} \biggl(\frac{M_{1} M}{2^{2n+1}(n+1)!} \biggr)^{2}\,ds \biggr)^{\frac{1}{2}} \\ &\quad{}+ \Biggl( \int_{-1}^{1} \Biggl(\sum _{i=0}^{n} (\bar{x}_{i}-x_{i}) J_{i}(s) \Biggr)^{2}\,ds \Biggr)^{\frac{1}{2}} \\ &\leq \frac{M_{1} M}{2^{2n+1}(n+1)!} \biggl( \int_{-1}^{1}\,ds \biggr)^{\frac{1}{2}} \\ &\quad{}+ \Biggl( \int_{-1}^{1} \Biggl(\sum _{i=0}^{n} \vert \bar{x}_{i}-x_{i} \vert ^{2} \Biggr)\,ds \Biggr)^{\frac {1}{2}} \Biggl( \sum _{i=0}^{n} \int_{-1}^{1} \bigl\vert J_{i}(s) \bigr\vert ^{2}\,ds \Biggr)^{\frac{1}{2}} \\ &\leq \frac{\sqrt{2}M_{1} M}{2^{2n+1}(n+1)!}+\epsilon_{2} \Vert \bar{x}-x \Vert . \end{aligned}
(38)

Now, we have

$$\bigl\Vert E_{n}(s) \bigr\Vert _{2}\leq( \Omega_{1}+\Omega_{2}) \biggl( \frac{\epsilon_{1}M_{1} M}{2^{2n+1}(n+1)!}+ \epsilon_{2} \Vert \bar{x}-x \Vert \biggr).$$
(39)

□

## Numerical experiments

In order to illustrate the efficiency and accuracy of the scheme presented in Sect. 3, four numerical experiments are presented by testing the functional solutions. By considering the smooth transform and nonuniform collocation points, the following experiments are given for solving the CSIEs-2. These numerical results are computed, compared, and plotted using a program written in Mathematica 12.0. The absolute error $$\vert E_{n}(s) \vert$$ can be defined by $$\vert E_{n}(s) \vert = \vert x(s)-x_{n}(s) \vert$$. Graphs and tables of absolute errors for different values of n are plotted in various examples. By changing the values of m, the error also changes, which is evident in the examples. The absolute errors of two numerical examples can be compared with the results of the well-known method [17].

### Example 1

([17])

Consider the Cauchy singular integral equation Eq. (1) with

$$\int_{-1}^{1} \frac{x(t)}{t-s}\,dt= \frac{4}{3} - 2 s^{2} + \bigl(s - s^{3}\bigr) \ln \bigl((1-s)/(1 + s) \bigr).$$

The exact solution is $$x(s)=-s^{3}+s$$.

This example is solved for values of $$n=3,5,7$$ and $$m=16$$. Since the exact solution is a polynomial of degree 3, then the best value for n is using a Bessel basis polynomial of degree $$n\geq3$$. The results well indicate the high accuracy of the method based on this important polynomial. The graph of the solution functions in Fig. 1, the figures of absolute errors for $$n=3,5,7$$ and $$m=16$$ in Fig. 2, and Table 1 show the efficiency of the current method BBF. In Fig. 2, we can say that by increasing the number of roots of the Legendre polynomials as the collocation points, the maximum absolute error is increased.

### Example 2

Consider the CSIE-2

$$\lambda x(s) + \mu \int_{-1}^{1} \frac{x(t)}{t-s} \,dt = \xi (s),\quad s \in(-1,1),$$

with $$\lambda=\mu=1$$, $$\xi(s)= \sinh(s) - \text{Chi}(-s-1) \sinh( s) + \text{Chi}(1-s) \sinh(s) + \ln(-1 - s) \sinh(s) - \ln(1 - s) \sinh(s) + \ln( \frac{-(-1 + s)}{(1 + s)} \sinh(s) + \cosh(s) \text{Shi}(1-s) + \cosh(s) \text{Shi}(s+1)$$, and the exact solution is $$x(s)=\sinh(s)$$.

Here, we test the performance of the discussed method in Sect. 3 on an example with a non-polynomial exact solution. In this example, we obtained absolute errors for $$n = 3,5,7$$ and $$m=16$$, where we see the difference and improvement of the approximate solutions by increasing n. The exact and approximate solution are plotted in Fig. 3. The obtained absolute errors in this scheme are described in Fig. 4 and Table 2. Here, it is well seen that by increasing n, the obtained absolute error decreases and the approximate solution becomes more accurate.

### Example 3

Consider the CSIE-2 Eq. (1) with

\begin{aligned} \xi(s)&= -\text{Ci}(-s-1) \cos(s)+\text{Ci}(1-s) \cos(s)- \text{Si}(1-s) \sin(s)-\text{Si}(s+1) \sin(s) \\ &\quad{}+\cos(s)+\ln(-s-1) \cos(s)-\ln(1-s) \cos(s)+\ln \biggl(- \frac{s-1}{s+1} \biggr) \cos(s), \end{aligned}

with $$\lambda=\mu=1$$, and the exact solution $$x(s)=\cos(s)$$.

The behaviors of the exact and numerical solution with $$n=10$$ and $$m=10$$ are being compared in Fig. 5. Table 3 and Fig. 6 report the obtained errors for $$n=8,10$$ and $$m=10$$. Note that the computational numerical results improve by adding the value of n.

### Example 4

([17])

Consider the Cauchy singular integral equation Eq. (1) with

$$\int_{-1}^{1} \frac{x(t)}{t-s}\,dt= \frac{1}{3} +\frac{s}{2}+ s^{2} + s^{3} \ln \bigl((1 - s)/s \bigr).$$

The exact solution is $$x(s)=s^{3}$$.

In this example, the exact solution function and the approximate solution function for $$n = 7$$ and $$m=5$$ are plotted in Fig. 7. In this numerical experiment, the exact solution is given by an example of a degree 3 polynomial, therefore the best degree of BBF which can be used is a Bessel polynomial of degree 3 where the corresponding absolute error is plotted in Fig. 8. Clearly, all of the above points indicate the applicability and accuracy of the proposed method.

## Conclusion

This paper deals with a matrix scheme with truncated series to find the numerical solution for the second-type singular integral equation with Cauchy kernel based on the Bessel basis function of the first kind. Using the smooth transform, the proposed scheme leads to converting the CSIE-2 into a system of linear equations and matrix equations. Another part of this work was dedicated to using the roots of Legendre polynomials as the collocation points and applying the Gaussian–Legendre quadrature rule. By increasing the number of collocation points, we obtain the accurate numerical results for CSIEs-2, but we cannot repeat the statement about increasing the value of m because the error of the quadrature rule may reduce the accuracy of the approximate solution. In numerical experiments with an exact solution in a polynomial form, the best number of n for approximate solution is the degree of the corresponding polynomial. Finally, we provided the efficiency and accuracy of the presented scheme by the computational examples. We suggest this method for the CSFIEs by using different smooth transformations and quadrature rules.

## References

1. Doungmo Goufo, E.F., Kumar, S., Mugisha, S.B.: Similarities in a fifth-order evolution equation with and with no singular kernel. Chaos Solitons Fractals 130, 24–26 (2020). https://doi.org/10.1016/j.chaos.2019.109467

2. Ghanbari, B., Kumar, S., Kumar, R.: A study of behaviour for immune and tumor cells in immunogenetic tumour model with non-singular fractional derivative. Chaos Solitons Fractals 133, 1–11 (2020). https://doi.org/10.1016/j.chaos.2020.109619

3. Kumar, S., Kumar, R., Cattani, C., Samet, B.: Chaotic behaviour of fractional predator–prey dynamical system. Chaos Solitons Fractals 135, 109811 (2020). https://doi.org/10.1016/j.chaos.2020.109811

4. Kumar, S., Kumar, R., Agarwal, R.P., Samet, B.: A study of fractional Lotka–Volterra population model using Haar wavelet and Adams–Bashforth–Moulton methods. Math. Methods Appl. Sci. 43, 5564–5578 (2020). https://doi.org/10.1002/mma.6297

5. Veeresha, P., Prakasha, D.G., Kumar, S.: A fractional model for propagation of classical optical solitons by using nonsingular derivative. Math. Methods Appl. Sci. 1–15 (2020). https://doi.org/10.1002/mma.6335

6. Abdou, M.A., Nasr, A.A.: On the numerical treatment of the singular integral equation of the second kind. Appl. Math. Comput. 146, 373–380 (2003). https://doi.org/10.1016/S0096-3003(02)00587-8

7. Hills, D.A., Kelly, P.A., Dai, D.N., Korsunsky, A.M.: Solution of Crack Problems. Springer, Dordrecht (1996)

8. Jin, X., Keer, L.M., Wang, Q.: A practical method for singular integral equations of the second kind. Eng. Fract. Mech. 75, 1005–1014 (2008). https://doi.org/10.1016/j.engfracmech.2007.04.024

9. Kumar, S., Singh, O.P.: Numerical inversion of the Abel integral equation using homotopy perturbation method. Z. Naturforsch. Sect. A J. Phys. Sci. 65, 677–682 (2010). https://doi.org/10.1515/zna-2010-8-908

10. Kumar, S., Singh, O., Dixit, S.: Homotopy perturbation method for solving system of generalized Abel’s integral equations. Appl. Appl. Math. 5, 2009–2024 (2011)

11. Dixit, S., Singh, O.P., Kumar, S.: A stable numerical inversion of generalized Abel’s integral equation. Appl. Numer. Math. 62, 567–579 (2012). https://doi.org/10.1016/j.apnum.2011.12.008

12. Lu, C.: The approximation of Cauchy-type integrals by some kinds of interpolatory splines. J. Approx. Theory 36, 197–212 (1982). https://doi.org/10.1016/0021-9045(82)90040-5

13. Dagnino, C., Santi, E.: Spline product quadrature rules for Cauchy singular integrals. J. Comput. Appl. Math. 33, 133–140 (1990). https://doi.org/10.1016/0377-0427(90)90363-5

14. Golberg, M.A.: Galerkin’s method for operator equations with nonnegative index—with application to Cauchy singular integral equations. J. Math. Anal. Appl. 91, 394–409 (1983). https://doi.org/10.1016/0022-247X(83)90160-9

15. Golberg, M.A.: The convergence of a collocation method for a class of Cauchy singular integral equations. J. Math. Anal. Appl. 100, 500–512 (1984). https://doi.org/10.1016/0022-247X(84)90098-2

16. Seifi, A., Lotfi, T., Allahviranloo, T., Paripour, M.: An effective collocation technique to solve the singular Fredholm integral equations with Cauchy kernel. Adv. Differ. Equ. 2017, 280 (2017). https://doi.org/10.1186/s13662-017-1339-3

17. Liu, D., Zhang, X., Wu, J.: A collocation scheme for a certain Cauchy singular integral equation based on the superconvergence analysis. Appl. Math. Comput. 219, 5198–5209 (2013). https://doi.org/10.1016/j.amc.2012.11.034

18. Karczmarek, P., Pylak, D., Sheshko, M.A.: Application of Jacobi polynomials to approximate solution of a singular integral equation with Cauchy kernel. Appl. Math. Comput. 181, 694–707 (2006). https://doi.org/10.1016/j.amc.2006.01.054

19. Abdulkawi, M., Long, N.M.A.N., Eshkuvatov, Z.K.: A note on the numerical solution for Fredholm integral equation of the second kind with Cauchy kernel. J. Math. Stat. 7, 68–72 (2011). https://doi.org/10.3844/jmssp.2011.68.72

20. Eshkuvatov, Z.K., Nik Long, N.M.A., Abdulkawi, M.: Quadrature formula for approximating the singular integral of Cauchy type with unbounded weight function on the edges. J. Comput. Appl. Math. 233, 334–345 (2009). https://doi.org/10.1016/j.cam.2009.07.034

21. Eshkuvatov, Z.K., Nik Long, N.M.A., Abdulkawi, M.: Numerical evaluation for Cauchy type singular integrals on the interval. J. Comput. Appl. Math. 233, 1995–2001 (2010). https://doi.org/10.1016/j.cam.2009.09.034

22. Diethelm, K.: New error bounds for modified quadrature formulas for Cauchy principal value integrals. J. Comput. Appl. Math. 82, 93–104 (1997). https://doi.org/10.1016/S0377-0427(97)00045-9

23. Beyrami, H., Lotfi, T., Mahdiani, K.: A new efficient method with error analysis for solving the second kind Fredholm integral equation with Cauchy kernel. J. Comput. Appl. Math. 300, 385–399 (2016). https://doi.org/10.1016/j.cam.2016.01.011

24. Yang, L., Chen, Z., Xie, K.: An efficient method for approximate solution of a singular integral equation with Cauchy kernel. J. Comput. Appl. Math. 352, 50–61 (2019). https://doi.org/10.1016/j.cam.2018.11.020

25. Mennouni, A.: A note on solving Cauchy integral equations of the second kind by projection. Appl. Math. Comput. 219, 1108–1113 (2012). https://doi.org/10.1016/j.amc.2012.07.017

26. Panja, M.M., Mandal, B.N.: Solution of second kind integral equation with Cauchy type kernel using Daubechies scale function. J. Comput. Appl. Math. 241, 130–142 (2013). https://doi.org/10.1016/j.cam.2012.09.028

27. Kythe, P., Schäferkotter, M.: Handbook of Computational Methods for Integration. Chapman & Hall, London (2004)

28. Seifi, A., Lotfi, T., Allahviranloo, T.: A new efficient method using Fibonacci polynomials for solving of first-order fuzzy Fredholm–Volterra integro-differential equations. Soft Comput. 23, 9777–9791 (2019). https://doi.org/10.1007/s00500-019-04031-1

29. Nemati, S.: Numerical solution of Volterra–Fredholm integral equations using Legendre collocation method. J. Comput. Appl. Math. 278, 29–36 (2015). https://doi.org/10.1016/j.cam.2014.09.030

### Acknowledgements

The author would like to show his gratitude to the reviewers for their beneficial remarks.

Not applicable.

Not applicable.

## Author information

Authors

### Contributions

The author read and approved the final version of the current paper.

### Corresponding author

Correspondence to Ali Seifi.

## Ethics declarations

### Ethics approval and consent to participate

Author read and approved the final manuscript.

### Competing interests

The author declares that he has no competing interests.

## Rights and permissions

Reprints and Permissions

Seifi, A. Numerical solution of certain Cauchy singular integral equations using a collocation scheme. Adv Differ Equ 2020, 537 (2020). https://doi.org/10.1186/s13662-020-02996-0