Skip to main content

Theory and Modern Applications

Exponential spline for the numerical solutions of linear Fredholm integro-differential equations

Abstract

In this paper, we introduce a new scheme based on the exponential spline function for solving linear second-order Fredholm integro-differential equations. Our approach consists of reducing the problem to a set of linear equations. We prove the convergence analysis of the method applied to the solution of integro-differential equations. The method is described and illustrated with numerical examples. The results reveal that the method is accurate and easy to apply. Moreover, results are compared with the method in (J. Comput. Appl. Math. 290:633–640, 2015).

1 Introduction

Integro-differential equations have gained a lot of interest in multitude of uses, specifically in sciences related to nature and engineering. Special usages of the integro-differential equations are visible in the mathematical modeling on spatio-temporal development of epidemics [44]. Generally, it is impossible to get an analytical answer for such equations. Because of that, various numerical methods have been devoted to finding the approximate solutions to such equations. The numerical solution of this type of integro-differential equations is discussed by a large number of authors. A few of these solutions are as follows: approximate solution that is obtained by using spline functions [1], Jacobi-spectral method for integro-delay differential equations with weakly singular kernels [25], polynomial spline functions that have free boundary condition for solving the first-order integro-differential equations whose order of derivative is one [34], quartic trigonometric B-spline algorithm for numerical solution of the regularized long wave equation [15], an effective application of differential quadrature method based on modified cubic B-splines to numerical solutions of the KdV equation [3], and the exponential cubic b-spline collocation method for the Kuramoto–Sivashinsky equation in [18].

Recently, many authors have investigated the numerical methods for integral equations. These methods include a cubic spline approximation in \(C^{2}\) to the solution of the Volterra integral equation of the second kind [33], quintic B-spline method [30], Bernstein operational matrix of derivative [4], hybrid of block pulse functions and normalized Bernstein polynomials [5], iterative method [49], sinc-collocation method [48], bivariate splines on nonuniform partitions [36], Jacobi operational matrices for solving delay or advanced integro-differential equations [40], the tau approximation for the Volterra–Hammerstein integral equations [21], b-spline collocation and cubature formulas [12] and [37], wavelet method [6], Walsh function method [35], Chebyshev finite difference method [13], differential transform method [7], Legendre polynomial method [39], an approximating solution, based on Lagrange interpolation and spline functions, to treat functional integral equations of Fredholm type and Volterra type [20], CAS wavelets method [22], an efficient matrix method based on Bell polynomials for solving nonlinear Fredholm-Volterra integral equations [32], collocation methods [10], Taylor polynomial methods [46], and Bernoulli matrix method [9]. Xuhao Li and Patricia J.Y. Wong in [2629] have successfully applied non-polynomial spline to fractional diffusion problems. Besides, non-polynomial splines have also been applied to solve a system of second-order boundary value problems in the mid-knots of the mesh [14]. In addition, Sezer ’s method is discussed by Sezer et al. for approximating different types of integral and differential equations, especially Fredholm integro-differential equation [2]. Some papers have also developed numerical methods based on B-spline collocation method, for example, the extended B-spline collocation method for numerical solutions of Fisher equation in [17], numerical solutions of the Gardner equation by extended form of the cubic b-splines in [24], and in [23] generation of the trigonometric cubic b-spline collocation solutions for the Kuramoto–Sivashinsky (KS) equation.

For second-order impulsive integro-differential equations, periodic boundary value problems are discussed in [47]. Moreover, for second-order impulsive integro-differential equations, a class of three-point boundary value problems in Banach space have been developed in [19]. Yüzbaşi et al. in [5056] used the non-polynomial functions to solve differential equations that have been based on non-polynomial functions set \(\{1,e^{-t},e^{-2t},\ldots\}\).

In this paper, based on the non-polynomial spline basis and quasilinearization method to solve the nonlinear Volterra integral equation [31], we want to use the non-polynomial spline functions to develop a numerical method for the solution of the Fredholm integro-differential equation

$$ \left \{ \textstyle\begin{array}{l} u''(x)+p(x)u'(x)+q(x)u(x)=f(x)+ \int_{a}^{b} k(t,x)u(t) \,dt, \\ u(a)=\alpha,\qquad u(b)=\beta,\qquad t\in I:=[0,1], \end{array}\displaystyle \right . $$
(1)

where \(p(x)\), \(q(x)\), \(k(t,x)\) are known functions and are considered sufficiently smooth, and also \(u(x)\) is an unknown function to be determined. In [45] the existence of solutions has been discussed. In this paper, the basic ideas are developed to establish an algorithm that can be easily implemented and applied to second-order linear Volterra integro-differential equations. The aim of present work is to explore exponential spline interpolation with multiple parameters and devise a method to determine these parameters and also produce the minimum error. The main advantage of our algorithm is that it can be used directly without using assumption or transformation formulae.

The next sections of this paper are organized as follows. In Sect. 2, non-polynomial spline method to solve second-order boundary value problems of Fredholm integro-differential equation is described. In Sect. 3, the convergence of the method is explained. The efficiency of the method by solving some examples and comparison of the numerical solutions with some other existing methods in [11] is shown in Sect. 4. Finally, a short conclusion is given.

2 Exponential spline

Proof of the existence and uniqueness of the non-polynomial interpolation function is presented in [42] and [43] (Sect. 2.3); in addition, the error analysis in non-polynomial interpolation function is proved in [41]. In [41] interpolation function has been presented as the form

$$ Q_{n}(x)=\sum_{i=0}^{n}c_{i}y_{i}(x), $$
(2)

where \(\{y_{0}(x),y_{1}(x),\ldots,y_{n}(x)\}\) are continuous functions which are real-valued and linearly independent on \([a,b]\); moreover \({c_{0},c_{1},\ldots,c_{n}}\) are coefficients which are determined by the interpolation conditions. The following form can be considered as a special item of (2):

$$Q_{n}(x)\in\operatorname{span} \bigl\{ e^{0\lambda x},e^{\lambda x},e^{2\lambda x}, \ldots,,e^{n\lambda x} \bigr\} . $$

Let Ω be a partition of the interval \([a, b]\), defined by the knots \({x_{i}}\), such that \(\varOmega:a=x_{0}< x_{1}<\cdots<x_{n}=b\), with step size \(h=\frac{b-a}{n}\). We denote the exponential spline function that interpolates the values \(u_{0}, u_{1},\ldots,u_{n}\) of the function of \(u(x)\) by \(S_{i}(x,\lambda)\) as follows:

$$ S_{\varOmega}(x,\lambda)=a_{i}e^{\lambda(x-x_{i})}+b_{i}e^{2\lambda (x-x_{i})}+c_{i}e^{3\lambda(x-x_{i})}+d_{i}e^{4\lambda(x-x_{i})}. $$
(3)

The coefficients introduced in equations (3) are real and λ is an arbitrary parameter. To derive expression for the coefficients in equations of (3) in terms of \(u_{i}\), \(u_{i+1}\), \(M_{i}\) and \(M_{i+1}\), we first denote

$$ \left \{ \textstyle\begin{array}{l} {\text{{(a)}}} \left \{ \textstyle\begin{array}{l} S_{\varOmega}(x_{i}, \lambda)=u_{i}, \qquad S_{\varOmega}(x_{i+1}, \lambda)=u_{i+1},\\ S_{\varOmega}^{\prime\prime}(x_{i}, \lambda)=M_{i},\qquad S_{\varOmega}^{\prime\prime}(x_{i+1}, \lambda)=M_{i+1}, \end{array}\displaystyle \right . \\ {{\text{(b)}}} \left \{ \textstyle\begin{array}{l} S_{\varOmega}(x_{i}, \lambda)=u_{i}, \qquad S_{\varOmega}(x_{i+1}, \lambda)=u_{i+1},\\ S_{\varOmega}^{\prime}(x_{i}, \lambda)=m_{i},\qquad S_{\varOmega}^{\prime}(x_{i+1}, \lambda)=m_{i+1}. \end{array}\displaystyle \right . \end{array}\displaystyle \right . $$
(4)

By using algebraic manipulation of (3) and (4)(a), we obtain the following relations:

$$\begin{aligned}& \bar{a}_{i}=e^{-\theta} \bigl(-e^{3\theta} \bigl(-5+7e^{\theta} \bigr)M_{i}+ \bigl(7-5e^{\theta } \bigr)M_{i+1}\\& \phantom{\bar{a}_{i}=}{}+4\lambda^{2} \bigl(e^{3\theta} \bigl(-20+7e^{\theta } \bigr)u_{i}+ \bigl(-7+20e^{2\theta} \bigr)u_{i+1} \bigr) \bigr), \\& \bar{b}_{i}= e^{-2\theta} \bigl(e^{3\theta} \bigl(-8+7e^{\theta}+7e^{2\theta } \bigr)M_{i}+ \bigl(-7-7e^{\theta}+8e^{2\theta} \bigr)M_{i+1}\\& \phantom{\bar{b}_{i}=}{}- \lambda^{2} \bigl(e^{3\theta} \bigl(-128+7e^{\theta}+7e^{2\theta} \bigr)u_{i} + \bigl(-7-7e^{\theta}+128e^{2\theta} \bigr)u_{i+1} \bigr) \bigr), \\& \bar{c}_{i}=e^{-2\theta} \bigl( \bigl(e^{2\theta}+e^{3\theta}-4e^{4\theta } \bigr)M_{i}- \bigl(-4+e^{\theta}+e^{2\theta} \bigr)M_{i+1}\\& \phantom{\bar{c}_{i}=}{}+4\lambda^{2} \bigl(e^{2\theta } \bigl(-4-4e^{\theta}+e^{2\theta} \bigr)u_{i} + \bigl(-1+4e^{\theta}+4e^{2\theta} \bigr)u_{i+1} \bigr) \bigr), \\& \bar{d}_{i}=e^{-2\theta} \bigl(e^{2\theta} \bigl(-3+5e^{\theta } \bigr)M_{i}+ \bigl(-3+5e^{\theta} \bigr)M_{i+1}\\& \phantom{\bar{d}_{i}=}{}-\lambda^{2} \bigl(e^{2\theta} \bigl(-27+5e^{\theta } \bigr)u_{i}+ \bigl(-5+27e^{\theta} \bigr)u_{i+1} \bigr) \bigr), \\& \vartheta=3 \bigl(-1+e^{\theta} \bigr) \bigl(7-18e^{\theta}+7e^{2\theta} \bigr)\lambda^{2}, \\& a_{i}=\frac{\bar{a}_{i}}{\vartheta},\qquad a_{i}=\frac{\bar{b}_{i}}{\vartheta},\qquad c_{i}=\frac{3\bar{c}_{i}}{\vartheta},\qquad d_{i}= \frac{\bar{d}_{i}}{\vartheta}. \end{aligned}$$

To develop the consistency relations between the values of spline and its derivatives at knots, consider the following relation:

$$ \alpha M_{i-1}+2 \beta M_{i}+ \alpha M_{i+1}=\frac{1}{h^{2}}(u_{i+1}-2u_{i}+u_{i-1}), $$
(5)

where

$$\alpha=\frac{1}{(h\lambda)^{2}} \biggl(\frac{\lambda h}{\sinh(\lambda h)}-1 \biggr),\qquad\beta= \frac{1}{(h\lambda)^{2}} \biggl(1-\frac{\coth(\lambda h)}{\lambda} \biggr), $$

and \(\theta=h\lambda\).

Pay attention that exponential spline functions relation (5) will be identical with ordinary spline functions as \(\theta\rightarrow 0\), which \((\alpha, \beta)\rightarrow(\frac{1}{6}, \frac{1}{3})\). Moreover, assuming \(\alpha=\frac{1}{12}\), \(\beta=\frac{5}{12}\), we get the following relation:

$$ M_{i-1}+10 M_{i}+ M_{i+1}= \frac{12}{h^{2}}(u_{i+1}-2u_{i}+u_{i-1}),\quad i=1,2,\ldots,n-1. $$
(6)

By expanding (5) in Taylor series about \(x_{i}\), we obtain the following local truncation error:

$$\begin{aligned} T_{i} =& (2\alpha+2\beta-1)h^{2}u''_{i}+ \frac{1}{12}(12\alpha -1)h^{4}u^{(4)}_{i}+ \frac{1}{360}(30\alpha-1)h^{6}u^{(6)}_{i} \\ &{} +\frac{(56\alpha-1)h^{8}u^{(8)}}{20160}+O \bigl(h^{10} \bigr). \end{aligned}$$
(7)

Similarly, by using (3) and (4)(b), we get

$$ \alpha m_{i-1}+2\beta m_{i}+\alpha m_{i+1}=\frac{\alpha+\beta}{h}(u_{i+1}-u_{i-1}), \quad i=1,2,\ldots,n-1, $$
(8)

and also by expanding (8) in Taylor series about \(x_{i}\), we obtain the following local truncation error:

$$T_{i}= \biggl(\frac{2\alpha-\beta}{3(\alpha+\beta)} \biggr)h^{3}u^{(3)}_{i}+ \biggl(\frac {4\alpha-\beta}{60(\alpha+\beta)} \biggr)h^{5}u^{(5)}_{i}+ \biggl(\frac{6\alpha-\beta }{2520(\alpha+\beta)} \biggr)h^{7}u^{(7)}_{i}+O \bigl(h^{9} \bigr). $$

In the matrix notation, equations (5) and (8) have the following forms:

$$WM=\bar{R}U,\qquad Zm=SU, $$

where W, R, Z, and S are coefficient matrices in (5) and (8). We approximate \(m_{0}=\frac{-3u_{0}+4u_{1}-u_{2}}{2h}\) and \(m_{n}=\frac{3u_{n-2}-4u_{n-1}-u_{n}}{2h}\), and also \(M_{i}\) for \(i=0,n\), by using second-order approximation. From (3) and (4) we have

$$\begin{aligned} S_{i}(x) &=\bigl(e^{\lambda(x-x_{i})}\bigl(5e^{2\theta}M_{i}-7e^{3\theta }M_{i}-5M_{i+1}+7e^{-\theta}M_{i+1}-80e^{2\theta}\lambda^{2}u_{i}+ 28e^{3\theta}\lambda^{2}u_{i} \\&\quad+80\lambda^{2}u_{i+1}-28e^{-\theta}\lambda ^{2}u_{i+1}\bigr)\bigr) \\&\quad/\bigl({3\bigl(-1+e^{\theta}\bigr)\bigl(7-18e^{\theta}+7e^{2\theta}\bigr)\lambda ^{2}}\bigr) \\ &\quad+\bigl(e^{4\lambda(x-x_{i})}\bigl(-3M_{i}+5e^{\theta}M_{i}-5e^{-2\theta }M_{i+1}+3e^{-\theta}M_{i+1}+27\lambda^{2}u_{i}-5e^{\theta}\lambda^{2}u_{i} \\&\quad+ 5e^{-2\theta}\lambda^{2}u_{i+1}-27e^{-\theta}\lambda ^{2}u_{i+1}\bigr)\bigr) \\&\quad/\bigl({3\bigl(-1+e^{\theta}\bigr)\bigl(7-18e^{\theta}+7e^{2\theta}\bigr)\lambda ^{2}}\bigr) \\ &\quad+\bigl(e^{2\lambda(x-x_{i})}\bigl(-8e^{\theta}M_{i}+7e^{2\theta }M_{i}+7e^{3\theta}M_{i}+8M_{i+1}-7e^{-2\theta}M_{i+1}-7e^{-\theta}M_{i+1} \\&\quad+128\lambda^{2}e^{\theta}u_{i}-7e^{2\theta}\lambda ^{2}u_{i}\bigr)\bigr) \\&\quad/\bigl({{3(-1+e^{\theta})(7-18e^{\theta}+7e^{2\theta})\lambda ^{2}}}\bigr) \\ &\quad+\frac{e^{2\lambda(x-x_{i})}(-7\lambda^{2}e^{3\theta}u_{i}-128\lambda ^{2}u_{i+1}+7e^{-2\theta}\lambda^{2}u_{i+1}+ 7e^{-\theta}\lambda^{2}u_{i+1})}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}} \\ &\quad+\bigl(e^{3\lambda(x-x_{i})}\bigl(M_{i}+e^{\theta}M_{i}-4e^{2\theta }M_{i}-M_{i+1}+4e^{-2\theta}M_{i+1}-e^{-\theta}M_{i+1} \\&\quad-16\lambda^{2}u_{i} -16e^{\theta}\lambda^{2}u_{i}\bigr)\bigr) \\&\quad/\bigl({{(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}\bigr) \\ &\quad+\frac{e^{3\lambda(x-x_{i})}(+4\lambda^{2}e^{2\theta}u_{i}+16\lambda ^{2}u_{i+1}+4e^{-2\theta}\lambda^{2}u_{i+1}+ 16e^{-\theta}\lambda^{2}u_{i+1})}{{(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}+O \bigl(h^{4} \bigr). \end{aligned}$$
(9)

To discretize the integro-differential equation of (1) by using equation (4), we obtain

$$\begin{aligned} &u{''}_{i}+p_{i}u{'}_{i}+q_{i}u_{i} \\ &\quad=f_{i}+ \int_{a}^{b}k(t,x)u(t)\,dt \\ &\quad=f_{i}+\sum_{j=0}^{n-1} \int _{t_{j}}^{t_{j+1}}k(t,x_{i})u(t)\,dt, \\ &\quad\approx f_{i}+\sum_{j=0}^{n-1} \int_{t_{j}}^{t_{j+1}}k(t,x_{i})S_{j}(t) \,dt, \\ &\quad=f_{i}+\sum_{j=0}^{n-1} \frac{e^{2\theta}((5-7e^{\theta })M_{j}+\lambda^{2}(-80+28e^{\theta})u_{j})}{{3(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}} \int _{t_{j}}^{t_{j+1}}k(t,x_{i})e^{\lambda(t-t_{j})} \,dt \\ &\qquad{}+\sum_{j=0}^{n-1}\frac{(-5+7e^{-\theta})M_{j+1}+\lambda ^{2}(80-28e^{-\theta})u_{j+1}}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}} \int_{t_{j}}^{t_{j+1}}k(t,x_{i})e^{\lambda(t-t_{j})} \,dt \\ &\qquad{}+\sum_{j=0}^{n-1}\frac{e^{\theta}((-8+7e^{\theta}+7e^{2\theta })M_{j}+\lambda^{2} (128-7e^{\theta}-7e^{2\theta})u_{j})}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}} \int_{t_{j}}^{t_{j+1}}k(t,x_{i})e^{2\lambda (t-t_{j})} \,dt \\ &\qquad{}+\sum_{j=0}^{n-1}\frac{(8-7e^{-\theta}-7e^{-2\theta })M_{j+1}+\lambda^{2}(-128+7e^{-\theta}+7e^{-2\theta })u_{j+1}}{{3(-1+e^{\theta}) (7-18e^{\theta}+7e^{2\theta})\lambda^{2}}} \int _{t_{j}}^{t_{j+1}}k(t,x_{i})e^{2\lambda(t-t_{j})} \,dt \\ &\qquad{}+\sum_{j=0}^{n-1}\frac{(1+e^{\theta}-4e^{2\theta})M_{j}+\lambda ^{2}(-16-16e^{\theta}+4e^{2\theta})u_{j}}{{(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta}) \lambda^{2}}} \int_{t_{j}}^{t_{j+1}}k(t,x_{i})e^{3\lambda(t-t_{j})}\, dt \\ &\qquad{}+\sum_{j=0}^{n-1}\frac{(-1-e^{-\theta}+4e^{-2\theta})M_{j+1}+ \lambda^{2}(+16+16e^{-\theta}-4e^{-2\theta})u_{j+1}}{{(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}\\&\qquad\times \int_{t_{j}}^{t_{j+1}}k(t,x_{i}) e^{3\lambda(t-t_{j})} \,dt \\ &\qquad{}+\sum_{j=0}^{n-1}\frac {(-3+5e^{\theta})M_{j}+\lambda^{2}(27-5e^{\theta})u_{j}}{{3(-1+e^{\theta })(7-18e^{\theta}+ 7e^{2\theta})\lambda^{2}}} \int_{t_{j}}^{t_{j+1}}k(t,x_{i})e^{4\lambda (t-t_{j})} \,dt \\ &\qquad{}+\sum_{j=0}^{n-1}\frac{e^{-\theta }((3-5e^{-\theta})M_{j+1} +\lambda^{2}(-27+5e^{-\theta})u_{j+1})}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}} \int_{t_{j}}^{t_{j+1}}k(t,x_{i})e^{4\lambda (t-t_{j})} \,dt. \end{aligned}$$

We let

$$\left \{ \textstyle\begin{array}{l} a(i,j)=\int_{t_{j}}^{t_{j+1}} k(t,x_{i})e^{\lambda(t-t_{j})}\,dt,\quad \quad b(i,j+1)=\int_{t_{j}}^{t_{j+1}} k(t,x_{i})e^{\lambda(t-t_{j})}\,dt, \\ c(i,j)=\int_{t_{j}}^{t_{j+1}} k(t,x_{i})e^{2\lambda(t-t_{j})}\,dt,\quad\quad d(i,j+1)=\int_{t_{j}}^{t_{j+1}}k(t,x_{i})e^{2\lambda(t-t_{j})}\,dt,\\ e(i,j)=\int_{t_{j}}^{t_{j+1}} k(t,x_{i})e^{3\lambda(t-t_{j})}\,dt,\quad \quad r(i,j+1)=\int_{t_{j}}^{t_{j+1}} k(t,x_{i})e^{3\lambda(t-t_{j})}\,dt,\\ g(i,j)=\int_{t_{j}}^{t_{j+1}} k(t,x_{i})e^{4\lambda(t-t_{j})}\,dt,\quad\quad h(i,j+1)=\int_{t_{j}}^{t_{j+1}} k(t,x_{i})e^{4\lambda(t-t_{j})}\,dt, \end{array}\displaystyle \right . $$

and introduce the following relations:

$$\left \{ \textstyle\begin{array}{l} a(i,n)=0,\qquad b(i,0)=0,\qquad c(i,n)=0,\qquad d(i,0)=0,\\ e(i,n)=0,\qquad r(i,0)=0,\qquad g(i,n)=0,\qquad h(i,0)=0. \end{array}\displaystyle \right . $$

We can write the defined notations in the form of the matrix as follows: \(A=(a_{i,j})\), \(B=(b_{i,j})\), \(C=(c_{i,j})\), \(D=(d_{i,j})\), \(\bar{E}=(e_{i,j})\), \(R=(r_{i,j})\), \(G=(g_{i,j})\), \(H=(h_{i,j})\), \(Q=(q_{i,j})\), \(P=(p_{i,j})\) also if suppose \({M}\approx\hat{M}=( \widehat{M}_{0}, \widehat{M}_{1}, \ldots, \widehat{M}_{n-1}, \widehat{M}_{n})^{T}\), \(U\approx\hat{U} =( \widehat{u}_{0}, \widehat{u}_{1}, \ldots, \widehat{u}_{n-1}, \widehat{u}_{n})^{T}\), \(m\approx\hat{m} =( \widehat{m}_{0}, \widehat{m}_{1}, \ldots, \widehat{m}_{n-1}, \widehat{m}_{n})^{T}\), and \(F=( f_{0}, f_{1}, \ldots, f_{n-1}, f_{n})^{T}\). After substitution, we get

$$\begin{aligned} &\hat{M}+P\hat{m}+Q\hat{U} \\ &\quad=F+\frac{e^{2\theta}(5-7e^{\theta})}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}A\hat{M}+\frac{e^{2\theta}\lambda ^{2}(-80+28e^{\theta})}{{3(-1+e^{\theta})(7-18e^{\theta}+7e^{2\theta })\lambda^{2}}}A\hat{U} \\ &\qquad{}+{\frac{(-5+7e^{-\theta})}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}}B\hat{M}+{\frac{\lambda^{2}(80-28e^{-\theta })}{{3(-1+e^{\theta})(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}B\hat {U} \\ &\qquad{}+{\frac{e^{\theta}(-8+7e^{\theta}+7e^{2\theta})}{{3(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}C\hat{M}+{\frac{e^{\theta }\lambda^{2}(128-7e^{\theta}-7e^{2\theta})}{{3(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}C\hat{U} \\ &\qquad{}+{\frac{e^{\theta}(-8+7e^{\theta}+7e^{2\theta})}{{3(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}D\hat{M}+{\frac{e^{\theta }\lambda^{2}(128-7e^{\theta}-7e^{2\theta})}{{3(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}D\hat{U} \\ &\qquad{}+{\frac{8-7e^{-\theta}-7e^{-2\theta}}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}}\bar{E}\hat{M}+{\frac{\lambda ^{2}(-128+7e^{-\theta}+7e^{-2\theta})}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}}\bar{E}\hat{U} \\ &\qquad{}+{\frac{-1-e^{-\theta}+4e^{-2\theta}}{{(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}}R\hat{M}+{\frac{\lambda^{2}(16+16e^{-\theta }-4e^{-2\theta})}{{(-1+e^{\theta})(7-18e^{\theta}+7e^{2\theta})\lambda ^{2}}}}R\hat{U} \\ &\qquad{}+{\frac{-3+5e^{\theta}}{{3(-1+e^{\theta})(7-18e^{\theta}+7e^{2\theta })\lambda^{2}}}}G\hat{M}+{\frac{\lambda^{2}(27-5e^{\theta })}{{3(-1+e^{\theta})(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}G\hat {U} \\ &\qquad{}+{\frac{e^{-\theta}(3-5e^{-\theta})}{{3(-1+e^{\theta})(7-18e^{\theta }+7e^{2\theta})\lambda^{2}}}}H\hat{M} \\ &\qquad{}+{\frac{e^{-\theta}\lambda^{2}(-27+5e^{-\theta})}{{3(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}H\hat{U}. \end{aligned}$$
(10)

By solving the above system, an approximation solution of equation (1) will be gotten. Now, the \(u_{i}\) function can be approximated by using the exponential spline \(\widehat{S}_{i}\), where

$$\begin{aligned} \widehat{S_{i}}(x) &= \bigl(e^{\lambda(x-x_{i})}\bigl(5e^{2\theta}\widehat{M}_{i}-7e^{3\theta }\widehat{M}_{i}-5\widehat{M}_{i+1}+7e^{-\theta}\widehat {M}_{i+1}-80e^{2\theta}\lambda^{2}\widehat{u}_{i}+28e^{3\theta}\lambda ^{2}\widehat{u}_{i} \\&\quad+80\lambda^{2}\widehat{u}_{i+1}-28e^{-\theta}\lambda ^{2}\widehat{u}_{i+1}\bigr)\bigr) \\&\quad/\bigl({{3\bigl(-1+e^{\theta}\bigr)\bigl(7-18e^{\theta}+7e^{2\theta }\bigr)\lambda^{2}}}\bigr) \\ &\quad+\bigl(e^{4\lambda(x-x_{i})}\bigl(-3\widehat{M}_{i}+5e^{\theta}\widehat {M}_{i}-5e^{-2\theta}\widehat{M}_{i+1}+3e^{-\theta}\widehat {M}_{i+1}+27\lambda^{2}\widehat{u}_{i} \\&\quad-5e^{\theta}\lambda^{2}\widehat {u}_{i}+5e^{-2\theta}\lambda^{2}\widehat{u}_{i+1}-27e^{-\theta}\lambda ^{2}\widehat{u}_{i+1}\bigr)\bigr) \\&\quad/\bigl({{3\bigl(-1+e^{\theta}\bigr)\bigl(7-18e^{\theta}+7e^{2\theta }\bigr)\lambda^{2}}}\bigr) \\ &\quad+\bigl(e^{2\lambda(x-x_{i})}\bigl(-8e^{\theta}\widehat{M}_{i}+7e^{2\theta }\widehat{M}_{i}+7e^{3\theta}\widehat{M}_{i}+8\widehat {M}_{i+1}-7e^{-2\theta}\widehat{M}_{i+1}-7e^{-\theta}\widehat {M}_{i+1} \\&\quad+128\lambda^{2}e^{\theta}\widehat{u}_{i}-7e^{2\theta}\lambda ^{2}\widehat{u}_{i}\bigr)\bigr) \\&\quad/\bigl({{3\bigl(-1+e^{\theta}\bigr)\bigl(7-18e^{\theta}+7e^{2\theta }\bigr)\lambda^{2}}}\bigr) \\ &\quad+\frac{e^{2\lambda(x-x_{i})}(-7\lambda^{2}e^{3\theta}\widehat {u}_{i}-128\lambda^{2}\widehat{u}_{i+1}+7e^{-2\theta}\lambda^{2}\widehat {u}_{i+1}+7e^{-\theta}\lambda^{2}\widehat{u}_{i+1})}{{3(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}} \\ &\quad+\bigl(e^{3\lambda(x-x_{i})}\bigl(\widehat{M}_{i}+e^{\theta}\widehat {M}_{i}-4e^{2\theta}\widehat{M}_{i}-\widehat{M}_{i+1}+4e^{-2\theta }\widehat{M}_{i+1}-e^{-\theta}\widehat{M}_{i+1} \\&\quad-16\lambda^{2}\widehat {u}_{i}-16e^{\theta}\lambda^{2}\widehat{u}_{i}\bigr)\bigr) \\&\quad/\bigl({{\bigl(-1+e^{\theta }\bigr)\bigl(7-18e^{\theta}+7e^{2\theta}\bigr)\lambda^{2}}}\bigr) \\ &\quad+\frac{e^{3\lambda(x-x_{i})}(+4\lambda^{2}e^{2\theta}\widehat {u}_{i}+16\lambda^{2}\widehat{u}_{i+1}+4e^{-2\theta}\lambda^{2}\widehat {u}_{i+1}+16e^{-\theta}\lambda^{2}\widehat{u}_{i+1})}{{(-1+e^{\theta })(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}+O \bigl(h^{4} \bigr). \end{aligned}$$
(11)

In consequence, for all \(i=0(1)n-1\) and \(x\in(x_{i},x_{i+1})\), we get

$$ \bigl\vert S_{i}(x)-\widehat{S_{i}}(x) \bigr\vert \equiv\kappa_{0}h^{4}, $$
(12)

and similarly we get

$$ \bigl\vert S''_{i}(x)- \widehat{S''_{i}}(x) \bigr\vert \equiv \kappa_{1}h^{2}. $$
(13)

See [38].

3 Convergence of the method

In this section the convergence of the method is proved. To do this, we consider equation (10) in a matrix form as follows:

$$\begin{aligned} & \hat{M}+P\hat{m}+Q\hat{U} \\ &\quad=F+\eta{e^{2\theta} \bigl(5-7e^{\theta} \bigr)}A\hat{M}+ \eta{e^{2\theta}\lambda ^{2} \bigl(-80+28e^{\theta} \bigr)}A \hat{U} \\ &\qquad{}+{\eta{ \bigl(-5+7e^{-\theta} \bigr)}}B\hat{M}+{\eta{ \lambda^{2} \bigl(80-28e^{-\theta } \bigr)}}B\hat{U} \\ &\qquad{}+{\eta{e^{\theta} \bigl(-8+7e^{\theta}+7e^{2\theta} \bigr)}}C \hat{M}+{\eta {e^{\theta}\lambda^{2} \bigl(128-7e^{\theta}-7e^{2\theta} \bigr)}}C\hat{U} \\ &\qquad{}+{\eta{e^{\theta} \bigl(-8+7e^{\theta}+7e^{2\theta} \bigr)}}D \hat{M}+{\eta {e^{\theta}\lambda^{2} \bigl(128-7e^{\theta}-7e^{2\theta} \bigr)}}D\hat{U} \\ &\qquad{}+{\eta{ \bigl(8-7e^{-\theta}-7e^{-2\theta} \bigr)}}\bar{E}\hat{M}+{ \eta{\lambda ^{2} \bigl(-128+7e^{-\theta}+7e^{-2\theta} \bigr)}} \bar{E}\hat{U} \\ &\qquad{}+{\eta{ \bigl(-1-e^{-\theta}+4e^{-2\theta} \bigr)}}R\hat{M}+{\eta{ \lambda ^{2} \bigl(16+16e^{-\theta}-4e^{-2\theta} \bigr)}}R \hat{U} \\ &\qquad{}+{\eta{ \bigl(-3+5e^{\theta} \bigr)}}G\hat{M}+{\eta{ \lambda^{2} \bigl(27-5e^{\theta } \bigr)}}G\hat{U} \\ &\qquad{}+{\eta{e^{-\theta} \bigl(3-5e^{-\theta} \bigr)}}H\hat{M}+{ \eta{e^{-\theta}\lambda ^{2} \bigl(-27+5e^{-\theta} \bigr)}}H \hat{U}, \end{aligned}$$
(14)

where

$$\eta=\frac{1}{{{3(-1+e^{\theta})(7-18e^{\theta}+7e^{2\theta})\lambda^{2}}}}. $$

Using (14), we get the following expression:

$$\begin{aligned} &\widehat{M}+P\widehat{m}+Q\widehat{U} \\ &\quad=F+ \eta \bigl( {e^{2\theta} \bigl(5-7e^{\theta} \bigr)}A+{{ \bigl(-5+7e^{-\theta} \bigr)}}B+{{e^{\theta } \bigl(-8+7e^{\theta}+7e^{2\theta} \bigr)}}C \\ &\qquad{}+{\eta{e^{\theta} \bigl(-8+7e^{\theta }+7e^{2\theta} \bigr)}}D \bigr)\widehat{M} \\ &\qquad{}+\eta \bigl({{ \bigl(8-7e^{-\theta}-7e^{-2\theta} \bigr)}}\bar{E}+{{ \bigl(-1-e^{-\theta }+4e^{-2\theta} \bigr)}}R+{{ \bigl(-3+5e^{\theta} \bigr)}}G \\ &\qquad{}+{{e^{-\theta} \bigl(3-5e^{-\theta} \bigr)}}H \bigr) \widehat{M} \\ &\qquad{}+\eta\lambda^{2} \bigl( e^{2\theta} \bigl(-80+28e^{\theta} \bigr)A+{{ \bigl(80-28e^{-\theta} \bigr)}}B+{{e^{\theta } \bigl(128-7e^{\theta}-7e^{2\theta} \bigr)}}C \\ &\qquad{}+e^{\theta} \bigl(128-7e^{\theta }-7e^{2\theta} \bigr)D \bigr) \widehat{U} \\ &\qquad{}+\eta\lambda^{2} \bigl( \bigl(-128+7e^{-\theta}+7e^{-2\theta} \bigr)\bar{E}+{{ \bigl(16+16e^{-\theta }-4e^{-2\theta} \bigr)}}R+{{ \bigl(27-5e^{\theta} \bigr)}}G \\ &\qquad{}+{{e^{-\theta} \bigl(-27+5e^{-\theta } \bigr)}}H \bigr) \widehat{U} \\ &\quad \Rightarrow\quad W^{-1}\bar{R}\widehat{U}+PZ^{-1}S \widehat{U}+Q\widehat {U}=F+H_{1}W^{-1}\bar{R} \widehat{U}+H_{2}\widehat{U}, \end{aligned}$$
(15)

where

$$\begin{aligned}& \begin{aligned} H_{1}&= \eta {e^{2\theta} \bigl(5-7e^{\theta} \bigr)}A+ \eta{{ \bigl(-5+7e^{-\theta } \bigr)}}B+\eta{{e^{\theta} \bigl(-8+7e^{\theta}+7e^{2\theta} \bigr)}}C \\ &\quad+{\eta{e^{\theta} \bigl(-8+7e^{\theta}+7e^{2\theta} \bigr)}}D + \eta{{ \bigl(8-7e^{-\theta}-7e^{-2\theta} \bigr)}}\bar{E} \\ &\quad+\eta{{ \bigl(-1-e^{-\theta}+\eta4e^{-2\theta} \bigr)}}R+\eta{{ \bigl(-3+5e^{\theta } \bigr)}}G+\eta {{e^{-\theta} \bigl(3-5e^{-\theta} \bigr)}}H,\end{aligned} \\& \begin{aligned}H_{2}&=\eta\lambda^{2} \bigl( e^{2\theta} \bigl(-80+28e^{\theta} \bigr)A+\eta {{ \bigl(80-28e^{-\theta} \bigr)}}B \\ &\quad+\eta{{e^{\theta} \bigl(128-7e^{\theta}-7e^{2\theta} \bigr)}}C+ \eta e^{\theta } \bigl(128-7e^{\theta}-7e^{2\theta} \bigr)D \bigr) \\ &\quad+\eta\lambda^{2} \bigl( \bigl(-128+7e^{-\theta}+7e^{-2\theta} \bigr)\bar{E}+\eta {{ \bigl(16+16e^{-\theta}-4e^{-2\theta} \bigr)}}R \\ &\quad+\eta{{ \bigl(27-5e^{\theta} \bigr)}}G+\eta{{e^{-\theta} \bigl(-27+5e^{-\theta} \bigr)}}H \bigr).\end{aligned} \end{aligned}$$

So the exact solution can be written as follows:

$$ Q \bigl[ I- \bigl(-Q^{-1}W^{-1} \bar{R}-Q^{-1}PZ^{-1}S+Q^{-1}H_{1}W^{-1} \bar {R}+Q^{-1}H_{2} \bigr) \bigr]\overline{U}=F+T, $$
(16)

where \(\overline{U}=[u(x_{0}),u(x_{1}),\ldots,u(x_{n})]^{T}\) is the (n+1)-dimensional column vector of the exact solution, the vector of local truncation error is displayed as \(T=[t_{0},t_{2},\ldots,t_{n}]^{T}\). According to (15) and (16), we have

$$ Q \bigl[ I- \bigl(-Q^{-1}W^{-1} \bar{R}-Q^{-1}PZ^{-1}S +Q^{-1}H_{1}W^{-1}\bar {R}+Q^{-1}H_{2} \bigr) \bigr]E=T, $$
(17)

where \(E=(e_{j})\) indicates the column vector of \(e_{i}\), \(i=0,1,2,\ldots,n\), which is \((n+1)\)-dimensional. Since \(A_{n\times n}\) is a diagonally-dominant matrix, then \(|A_{n\times n}|\neq0\). We need the following lemma for analysis of convergence.

Lemma 1

LetNbe an\(n\times n\)matrix with\(\| N \|_{\infty}<1\). So, the matrix\((I-N)\)is invertible. Moreover, \(\|(I-N)^{-1}\|_{\infty}\leq\frac{1}{1-\|N\|_{\infty}}\).

Lemma 2

The matricesWandZare invertible.

Proof

For \(\alpha=\frac{1}{6}\), \(\beta=\frac{1}{3}\) and \(\alpha=\frac{1}{12}\), \(\beta=\frac{5}{12}\), the matrices W and Z are diagonally-dominant matrices, then are invertible. By using the inversion of general tridiagonal matrices [16] and [8], it is easy to prove that \(\|W^{-1}\|_{\infty}\leq1\) for \(\alpha=\frac{1}{12}\), \(\beta=\frac{5}{12}\) and \(\|Z^{-1}\|_{\infty}\leq1\) for \(\alpha=\frac{1}{6}\), \(\beta=\frac{1}{3}\). We need to show that the inverse of \(Q [ I-(-Q^{-1}W^{-1}\bar{R}-Q^{-1}PZ^{-1}S+Q^{-1}H_{1}W^{-1}\bar {R}+Q^{-1}H_{2}) ]\) exists. Now, if Q is a diagonal matrix with the inverse \(Q^{-1}\), we can derive the following lemma. We obtain \(\|Q^{-1}\|_{\infty}\leq\frac{1}{\max|q_{ii}|}=\xi\). □

Lemma 3

The matrix\([ I-(-Q^{-1}W^{-1}\bar{R}-Q^{-1}PZ^{-1}S+Q^{-1}H_{1}W^{-1}\bar {R}+Q^{-1}H_{2}) ]\)is nonsingular, provided

$$\xi \bigl( \eta_{2}h^{2}+ \eta_{1} \eta_{3}h^{2}+\eta_{2}\eta_{5} \Vert k \Vert _{\infty}(b-a)h^{4}+ \Vert k \Vert _{\infty}(b-a)\eta_{6} \bigr) < 1. $$

Proof

Obviously, for \(i=0,1,\ldots,n\), it can be verified as follows:

$$ \left \{ \textstyle\begin{array}{l} \Vert A \Vert _{\infty}= \Vert B \Vert _{\infty}\leq \Vert k \Vert _{\infty}(b-a)(\frac{e^{\theta}-1}{\theta}), \\ \Vert C \Vert _{\infty}= \Vert D \Vert _{\infty}\leq \Vert k \Vert _{\infty}(b-a)(\frac{e^{2\theta }-1}{2\theta}), \\ \Vert E \Vert _{\infty}= \Vert R \Vert _{\infty}\leq \Vert k \Vert _{\infty}(b-a)(\frac{e^{3\theta}-1}{3\theta}), \\ \Vert G \Vert _{\infty}= \Vert H \Vert _{\infty}\leq \Vert k \Vert _{\infty}(b-a)(\frac{e^{4\theta}-1}{4\theta}),\\ \Vert P \Vert _{\infty}=\operatorname{Max} \vert p(x_{i}) \vert \leq\eta_{3},\\ \Vert Q \Vert _{\infty}=\operatorname{Max} \vert q(x_{i}) \vert \leq\eta_{4},\\ \Vert S \Vert _{\infty}\leq\eta_{1}h^{2}, \Vert \bar{R} \Vert _{\infty}\leq\eta _{2}h^{2},\\ \Vert H_{1} \Vert _{\infty} \leq \Vert k \Vert _{\infty}(b-a)h^{2}\eta_{5},\\ \Vert H_{2} \Vert _{\infty} \leq \Vert k \Vert _{\infty}(b-a)\eta_{6}, \end{array}\displaystyle \right . $$
(18)

where

$$\begin{aligned}& \begin{aligned} \eta_{5}&= \biggl\vert \frac{1}{3 (e^{\theta}-1 ) (-18e^{\theta }+7e^{2\theta}+7 )\theta^{2}} \biggr\vert \biggl( \biggl\vert \frac{e^{2 \theta} (5-7e^{\theta} ) (e^{\theta}-1 )}{\theta } \biggr\vert + \biggl\vert \frac{ (7 e^{-\theta}-5 ) (e^{\theta}-1 )}{\theta } \biggr\vert \\ &\quad+ \biggl\vert \frac{e^{\theta} (7 e^{\theta}+7 e^{2 \theta }-8 ) (e^{2 \theta}-1 )}{2 \theta } \biggr\vert + \biggl\vert \frac{e^{\theta} (7 e^{\theta}+7 e^{2 \theta}-8 ) (e^{2 \theta}-1 )}{2 \theta} \biggr\vert \\ &\quad+ \biggl\vert \frac{ (-7 e^{-\theta}-7 e^{-2 \theta}+8 ) (e^{3 \theta }-1 )}{3 \theta} \biggr\vert + \biggl\vert \frac{ (-e^{-\theta}+4 e^{-2 \theta }-1 ) (e^{3 \theta}-1 )}{3 \theta } \biggr\vert \\ &\quad+ \biggl\vert \frac{ (5 e^{\theta}-3 ) (e^{4 \theta }-1 )}{4 \theta} \biggr\vert + \biggl\vert \frac{e^{-\theta} (3-5 e^{-\theta } ) (e^{4 \theta}-1 )}{4 \theta} \biggr\vert \biggr),\end{aligned} \\& \begin{aligned}\eta_{6}&= \biggl\vert \frac{1}{3 (e^{\theta}-1 ) (-18 e^{\theta }+7 e^{2 \theta}+7 )} \biggr\vert \biggl( \biggl\vert \frac{e^{2 \theta} (28 e^{\theta }-80 ) (e^{\theta}-1 )}{\theta} \biggr\vert + \biggl\vert \frac{ (80-28 e^{-\theta} ) (e^{\theta}-1 )}{\theta } \biggr\vert \\ &\quad+\biggl\vert \frac{e^{\theta} (-7 e^{\theta}-7 e^{2 \theta }+128 ) (e^{2 \theta}-1 )}{2 \theta } \biggr\vert + \biggl\vert \frac{e^{\theta} (-7 e^{\theta}-7 e^{2 \theta }+128 ) (e^{2 \theta}-1 )}{2 \theta } \biggr\vert \\ &\quad+\biggl\vert \frac{ (7 e^{-\theta}+7 e^{-2 \theta}-128 ) (e^{3 \theta}-1 )}{3 \theta} \biggr\vert + \biggl\vert \frac{ (16 e^{-\theta }-4 e^{-2 \theta}+16 ) (e^{3 \theta}-1 )}{3 \theta } \biggr\vert \\ &\quad+\biggl\vert \frac{ (27-5 e^{\theta} ) (e^{4 \theta }-1 )}{4 \theta} \biggr\vert + \biggl\vert \frac{e^{-\theta} (5 e^{-\theta }-27 ) (e^{4 \theta}-1 )}{4 \theta} \biggr\vert \biggr).\end{aligned} \end{aligned}$$

By using Lemma 1, we get

$$\begin{gathered} \bigl\Vert Q^{-1} \bigr\Vert \bigl( \bigl\Vert W^{-1} \bigr\Vert \Vert \bar{R} \Vert + \Vert P \Vert \bigl\Vert Z^{-1} \bigr\Vert \Vert S \Vert + \Vert H_{1} \Vert \bigl\Vert W^{-1} \bigr\Vert \Vert \bar{R} \Vert + \Vert H_{2} \Vert \bigr)< 1, \\ \xi \bigl( \eta_{2}h^{2}+ \eta_{1} \eta_{3}h^{2}+\eta_{2}\eta_{5} \Vert k \Vert _{\infty}(b-a)h^{4}+ \Vert k \Vert _{\infty}(b-a)\eta_{6} \bigr) < 1.\end{gathered} $$

 □

Theorem 1

Assume\(f(x) \in C^{4}(I)\), \(k(t,x) \in C^{4}(I \times I)\)in a way that

$$ \xi\bigl( \eta_{2}h^{2}+ \eta_{1} \eta_{3}h^{2}+\eta_{2}\eta_{5}\|k \|_{\infty}(b-a)h^{4}+\|k\| _{\infty}(b-a) \eta_{6}\bigr) < 1. $$

Therefore consider a unique approximating solution and the obtained error\(E:=U-\hat{S}\)satisfies

$$ \|E\|\equiv O\bigl(h^{2}\bigr), $$

where\(\varOmega:=[a,b]\); moreover, α, \(\eta_{l}\)for\(l=1,2,3,4,5,6\)are constants.

Proof

By using equation (17) and Lemma 1, we get

$$ \Vert E \Vert \leq \frac{ \Vert Q^{-1} \Vert \Vert T \Vert }{1- \Vert Q^{-1} \Vert ( \Vert W^{-1} \Vert \Vert \bar{R} \Vert + \Vert P \Vert \Vert Z^{-1} \Vert \Vert S \Vert + \Vert H_{1} \Vert \Vert W^{-1} \Vert \Vert \bar{R} \Vert + \Vert H_{2} \Vert )}. $$
(19)

By substituting \(\|T\|\leq\frac{h^{6}}{240}\phi_{4}\) and (18) in (19), we get

$$\Vert E \Vert \equiv O \bigl(h^{2} \bigr). $$

Therefore, we have

$$ \Vert U-\hat{S} \Vert _{\infty}\leq \zeta_{2}h^{2}. $$
(20)

Therefore, applying (12) and (20) leads to

$$ \| U-\hat{S}\|_{\infty} \leq\|U-S\|_{\infty}+\| S-\hat{S} \|_{\infty} \leq\zeta_{2}h^{2}+\zeta_{0}h^{4} \equiv O\bigl(h^{2}\bigr). $$

Then it may follow \(\|E\|\rightarrow0\) if \(h\rightarrow0\). So, for \((\alpha=\frac{1}{12}, \beta=\frac{5}{12})\) and \((\alpha=\frac{1}{6}, \beta=\frac{1}{3})\), we established the convergence of second-order method because we approximated \(m_{0}\), \(m_{n}\), \(M_{0}\), and \(M_{n}\) by second-order methods. Therefore, α and β do not affect the second order of convergence. □

4 Numerical results

Here, we apply our method for \(\alpha=\frac{1}{12}\), \(\beta=\frac{5}{12}\) on some examples of the second-order boundary value problems of Fredholm integro-differential equation. First, the absolute error is calculated and then compared with the well-known methods in [11]. Note that numerical results are derived by MAPLE 14.

Example 1

As the first example, consider the following boundary value problem:

$$\begin{aligned} u{''}(x)+xu{'}(x)+\pi^{2} u(x) =&f(x)+ \int_{0}^{1}k(t,x)u(t)\,dx, \quad x\in [0,1], \end{aligned}$$

subject to boundary conditions

$$u(0)=u(1)=0, $$

where \(k(t,x)=x+t\), \(f(x)=\pi x\cos(\pi x)-\frac{2x+1}{\pi}\), and \(u(x)=\sin(\pi x)\) is exact solution. The absolute errors are presented in Tables 1 and 2. The convergence ratio (C.R.) is gotten as follows:

$$ \text{C.R.}=\log_{2}\frac{E(h)}{E(\frac{h}{2})}, $$
(21)

where the maximum absolute error is shown by \(E(h)\).

Table 1 \(E(h)\) of Example 1
Table 2 Comparison of solutions obtained by the presented method with the exact solution of Example 1 while \(n=128\)

Example 2

Consider the following boundary value problem [11]:

$$\begin{aligned} u{''}(x) =&f(x)+ \int_{0}^{1}k(t,x)u(t)\,dx, \quad x\in [0,1], \end{aligned}$$

with boundary conditions

$$u(0)=u(1)=0, $$

where \(k(t,x)=e^{xt}\), \(f(x)=2+\frac{x+2+e^{x}(x-2)}{x^{3}}\), and \(u(x)=x(x-1)\) is the exact solution. The absolute errors are presented in Tables 3 and 4.

Table 3 \(E(h)\) of Example 2
Table 4 Comparison of solutions obtained by the presented method with the exact solution of Example 2 while \(n=128\)

Example 3

Consider the following boundary value problem:

$$\begin{aligned} u{''}(x)-u{'}(x) =&f(x)+ \int_{0}^{1}k(t,x)u(t)\,dx, \quad x\in [0,1], \end{aligned}$$

subject to boundary conditions

$$u(0)=u(1)=0, $$

where \(k(t,x)={xt}\), \(f(x)=\frac {1+41x^{3}+31x^{5}-46x^{4}+8x-25x^{2}-13x^{6}+2x^{7}}{(x^{2}-x+1)^{2}}+\frac {121}{120}x-\frac{1}{6}\sqrt{3}\pi x\), and \(u(x)=\ln{(x^{2}-x+1)}-\frac{(x^{2}-x)^{2}}{2}\) is the exact solution. The absolute errors are presented in Tables 5 and 6.

Table 5 \(E(h)\) of Example 3
Table 6 Comparison of solutions obtained by the presented method with the exact solution of Example 3 while \(n=128\)

5 Conclusion

In our knowledge, so far the exponential spline functions have not been yet applied for approximating the second-order integro-differential equations. In this study, according to the exponential method in [31], a suitable method is presented to approximate second-order integro-differential equations. The proposed algorithm is novel for second-order integro-differential equations. The second-order convergence of the proposed method has been derived and the computational outcomes have been found to be conformable with theoretical expectations. Our method shows better accuracy compared to the existing method in [11].

References

  1. Amirfakhrian, M., Shakibi, K.: Solving integro-differential equation by using b-spline interpolation. Int. J. Math. Model. Comput. 3, 237–244 (2013)

    Google Scholar 

  2. Balci, M.A., Sezer, M.: A numerical approach based on exponential polynomials for solving of Fredholm integro-differential-difference equations. New Trends Math. Sci. 3(2), 44–54 (2015)

    MathSciNet  Google Scholar 

  3. Bashan, A.: An effective application of differential quadrature method based on modified cubic B-splines to numerical solutions of the KdV equation. Turk. J. Math. 42, 373–394 (2018)

    Article  MathSciNet  MATH  Google Scholar 

  4. Basirat, B., Shahdadi, M.A.: Numerical solution of nonlinear integro-differential equations with initial conditions by Bernstein operational matrix of derivative. Int. J. Mod. Nonlinear Theory Appl. 2, 141–149 (2013)

    Article  Google Scholar 

  5. Behiry, S.H.: Solution of nonlinear Fredholm integro-differential equations using a hybrid of block pulse functions and normalized Bernstein polynomials. J. Comput. Appl. Math. 260, 258–265 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  6. Behiry, S.H., Hashish, H.: Wavelet methods for the numerical solution of Fredholm integro-differential equations. Int. J. Appl. Math. 11, 27–35 (2002)

    MathSciNet  MATH  Google Scholar 

  7. Behiry, S.H., Mohamed, S.I.: Solving high-order nonlinear Volterra–Fredholm integro-differential equations by differential trasform method. Nat. Sci. 4(8), 581–587 (2012)

    Google Scholar 

  8. Belloura, A., Sbibih, D., Zidna, A.: Two cubic spline methods for solving Fredholm integral equations. Appl. Math. Comput. 276, 1–11 (2016)

    MathSciNet  MATH  Google Scholar 

  9. Bhrawy, A.H., Tohidi, E., Soleymani, F.: A new Bernoulli matrix method for solving high-order linear and nonlinear Fredholm integro-differential equations with piecewise intervals. Appl. Math. Comput. 219, 482–497 (2012)

    MathSciNet  MATH  Google Scholar 

  10. Brunner, H.: On the numerical solution of Volterra–Fredholm integral equation by collocation methods. SIAM J. Numer. Anal. 27, 87–96 (1990)

    Article  MathSciNet  Google Scholar 

  11. Chen, J., Huang, Y., Rong, H., Wu, T., Zeng, T.: A multiscale Galerkin method for second-order boundary value problems of Fredholm integro-differential equation. J. Comput. Appl. Math. 290, 633–640 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  12. Cravero, L., Pittaluga, G., Sacripante, L.: An algorithm for solving linear Volterra integro-differential equations. Numer. Algorithms 60, 101–114 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  13. Dehghan, M., Saadatmandi, A.: Chebyshev finite difference method for Fredholm integro-differential equation. Int. J. Comput. Math. 85, 123–130 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  14. Ding, Q., Wong, P.J.Y.: Mid-knot cubic non-polynomial spline for a system of second-order boundary value problems. Bound. Value Probl. 2018, Article ID 156 (2018)

    Article  MathSciNet  Google Scholar 

  15. Dursun, I., Keskin Yildiz, P., Zorşahin Görgülü, M., Quartic trigonometric B-spline algorithm for numerical solution of the regularized long wave equation. Turk. J. Math. 43, 112–125 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  16. El-Mikkawy, M., Karawia, A.: Inversion of general tridiagonal matrices. Appl. Math. Lett. 19, 715–720 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  17. Ersoy, O., Dag, I.: The extended B-spline collocation method for numerical solutions of Fisher equation. AIP Conf. Proc. 1648, Article ID 370011 (2015)

    Article  Google Scholar 

  18. Ersoy, O., Dag, I.: The exponential cubic b-spline collocation method for the Kuramoto–Sivashinsky equation. Filomat 30(3), 853–861 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  19. Feng, M., Pang, H.: A class of three point boundary value problems for second-order impulsive integro-differential equations in Banach space. Nonlinear Anal. 70, 64–82 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  20. Firouzdor, R., Heidarnejad, K.A., Mollarason, M.Z.: Numerical solution of functional integral equations by using B-splines. J. Linear Topol. Algebra 1, 45–53 (2012)

    MATH  Google Scholar 

  21. Ghoreishi, F., Hadizadeh, M.: Numerical computation of the tau approximation for the Volterra–Hammerstein integral equations. Numer. Algorithms 52, 541–559 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  22. Han, D.F., Shang, X.F.: Numerical solution of integro-differential equations by using CAS wavelet operational matrix of integration. Appl. Math. Comput. 156, 460–466 (2007)

    MathSciNet  MATH  Google Scholar 

  23. Hepson, O.E.: Generation of the trigonometric cubic b-spline collocation solutions fort he Kuramoto–Sivashinsky (KS) equation. AIP Conf. Proc. 1978, Article ID 470099 (2018)

    Article  Google Scholar 

  24. Hepson, O.E., Korkmaz, A., Dag, I.: Numerical solutions of the Gardner equation by extended form of the cubic b-splines. Pramana J. Phys. 91, Article ID 59 (2018)

    Article  Google Scholar 

  25. Ishtiaq, A.: Jacobi-spectral method for integro-delay differential equations with weakly singular kernels. Turk. J. Math. 39, 810–819 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  26. Li, X., Wong, P.J.Y.: A higher order non-polynomial spline method for fractional sub-diffusion problems. J. Comput. Phys. 328, 46–65 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  27. Li, X., Wong, P.J.Y.: An efficient non-polynomial spline method for distributed order fractional sub-diffusion equations. Math. Methods Appl. Sci. 41(13), 4906–4922 (2018)

    Article  MathSciNet  MATH  Google Scholar 

  28. Li, X., Wong, P.J.Y.: Non-polynomial spline approach in two-dimensional fractional sub-diffusion problems. Appl. Math. Comput. 357, 222–242 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  29. Li, X., Wong, P.J.Y.: Numerical solutions of fourth-order fractional sub-diffusion problems via parametric quintic spline. Z. Angew. Math. Mech. 99(5), Article ID e201800094 (2019)

    Article  MathSciNet  Google Scholar 

  30. Mahmoodi, Z., Rashidinia, J., Babolian, E.: B-spline collocation method for linear and nonlinear Fredholm and Volterra integro-differential equations. Appl. Anal. 93, 1787–1802 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  31. Maleknejad, K., Rashidinia, J., Jalilian, H.: Non-polynomial spline basis and quasilinearization method to solve the nonlinear Volterra integral equation. Filomat 32(11), 3947–3956 (2018)

    Article  MathSciNet  Google Scholar 

  32. Mirzaee, F.: Numerical solution of nonlinear Fredholm–Volterra integral equations via Bell polynomials. Comput. Methods Differ. Equ. 5, 88–102 (2017)

    MathSciNet  MATH  Google Scholar 

  33. Netravali, A.N.: Spline approximation to the solution of the Volterra integral equation of the second kind. Math. Comput. 121, 99–106 (1973)

    Article  MathSciNet  MATH  Google Scholar 

  34. Ogunlaran, O.M., Oke, M.O.: A numerical approach for solving first order integro-differential equations. Am. J. Comput. Appl. Math. 3, 214–219 (2013)

    Google Scholar 

  35. Ordokhani, Y.: An application of Walsh functions for Fredholm–Hammerstein integro-differential equations. Int. J. Contemp. Math. Sci. 22, 1055–1063 (2010)

    MathSciNet  MATH  Google Scholar 

  36. Pittaluga, G., Sacripante, L.: A numerical algorithm for cubature by bivariate splines on nonuniform partitions. Numer. Algorithms 28, 273–284 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  37. Pittaluga, G., Sacripante, L.: An algorithm for solving Fredholm integro-differential equations. Numer. Algorithms 50, 114–126 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  38. Rashidinia, J., Maleknejad, Kh., Jalilian, H.: Convergence analysis of non-polynomial spline functions for the Fredholm integral equation. Int. J. Comput. Math. (2019). https://doi.org/10.1080/00207160.2019.1609669

    Article  Google Scholar 

  39. Saadatmandi, A., Dehghan, M.: Numerical solution of high-order linear Fredholm integro-differential-difference equation with variable coefficients. Comput. Math. Appl. 59, 2996–3004 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  40. Sadri, K., Amini, A., Cheng, C.: A new numerical method for delay and advanced integro-differential equations. Numer. Algorithms 77, 381–412 (2018)

    Article  MathSciNet  MATH  Google Scholar 

  41. Singh, P., Joshi, S.D., Patney, R.K., Saha, K.: Some studies on nonpolynomial interpolation and error analysis. Appl. Math. Comput. 244, 809–821 (2014)

    MathSciNet  MATH  Google Scholar 

  42. Sloan, I.H.: Non-polynomial interpolation. J. Approx. Theory 39, 97–117 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  43. Stoer, J., Bulirsch, R.: Introduction to Numerical Analysis, 2nd edn. Springer, Berlin (1992)

    MATH  Google Scholar 

  44. Thiem, H.R.: A model for spatio spread of an epidemic. J. Math. Biol. 4, 337–351 (1977)

    Article  MathSciNet  Google Scholar 

  45. Wang, Z., Liu, L., Wu, Y.: The unique solution of boundary value problems for nonlinear second-order integro-differential equations of mixed type in Banach space. Comput. Math. Appl. 54, 1293–1301 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  46. Yalcinbas, S.: Taylor polynomial solution of nonlinear Volterra–Fredholm integral equations. Appl. Math. Comput. 127, 195–206 (2002)

    MathSciNet  MATH  Google Scholar 

  47. Yang, X., Shen, J.: Periodic boundary value problems for second-order impulsive integro-differential equations. J. Comput. Appl. Math. 209, 176–186 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  48. Yeganeh, S., Ordokhani, Y., Saadatmandi, A.: A sinc-collocation method for second-order boundary value problems of nonlinear integro-differential equation. J. Inf. Comput. Sci. 7, 151–160 (2012)

    Google Scholar 

  49. Yulan, W., Chaolu, T., Jing, P.: New algorithm for second-order boundary value problems of integro-differential equation. J. Comput. Appl. Math. 229, 1–6 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  50. Yüzbaşi, Ş.: An exponential collocation method for the solutions of the HIV infection model of CD4+ T cells. Int. J. Biomath. 9(3), Article ID 1650036 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  51. Yüzbaşi, Ş.: An exponential method to solve linear Fredholm–Volterra integro-differential equations and residual improvement. Turk. J. Math. 42, 2546–2562 (2018)

    Article  MathSciNet  MATH  Google Scholar 

  52. Yüzbaşi, Ş., Karaçayir, M.: An exponential Galerkin method for solutions of HIV infection model of CD4+ T-cells. Comput. Biol. Chem. 67, 205–212 (2017)

    Article  MathSciNet  MATH  Google Scholar 

  53. Yüzbaşi, Ş., Sezer, M.: An exponential approximation for solutions of generalized pantograph-delay differential equations. Appl. Math. Model. 37, 9160–9173 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  54. Yüzbaşi, Ş., Sezer, M.: Exponential collocation method for solutions of singularly perturbed delay differential equations. Abstr. Appl. Anal. 2013, Article ID 493204 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  55. Yüzbaşi, Ş., Sezer, M.: An exponential matrix method for solving systems of linear differential equations. Math. Methods Appl. Sci. 37, 336–348 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  56. Yüzbaşi, Ş., Sezer, M.: An exponential approach for the system of nonlinear delay integro-differential equations describing biological species living together. Neural Comput. Appl. 27, 769–779 (2016)

    Article  Google Scholar 

Download references

Acknowledgements

The authors are grateful to the reviewers for their helpful, valuable comments and suggestions in the improvement of this manuscript.

Availability of data and materials

Not applicable.

Funding

Not applicable.

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed equally to this article. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Reza Jalilian.

Ethics declarations

Competing interests

The authors declare that they have no competing interests.

Additional information

Abbreviations

Not applicable.

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/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Tahernezhad, T., Jalilian, R. Exponential spline for the numerical solutions of linear Fredholm integro-differential equations. Adv Differ Equ 2020, 141 (2020). https://doi.org/10.1186/s13662-020-02591-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s13662-020-02591-3

MSC

Keywords