# Numerical solution of linear integral equations system using the Bernstein collocation method

## Abstract

Since in some application mathematical problems finding the analytical solution is too complicated, in recent years a lot of attention has been devoted by researchers to find the numerical solution of this equations. In this paper, an application of the Bernstein polynomials expansion method is applied to solve linear second kind Fredholm and Volterra integral equations systems. This work reduces the integral equations system to a linear system in generalized case such that the solution of the resulting system yields the unknown Bernstein coefficients of the solutions. Illustrative examples are provided to demonstrate the preciseness and effectiveness of the proposed technique. The results are compared with the exact solution by using computer simulations.

## 1 Introduction

As a matter of fact, it might be said that many phenomena of almost all practical engineering and applied science problems like physical applications, potential theory and electrostatics are reduced to solving integral equations. Since these equations usually cannot be solved explicitly, so it is required to obtain approximate solutions. There are numerous numerical methods which have been focusing on the solution of integral equations. For example, Tricomi in his book , introduced the classical method of successive approximations for integral equations. Variational iteration method  and Adomian decomposition method  were effective and convenient for solving integral equations. Also, the Homotopy analysis method (HAM) was proposed by Liao  and then has been applied in . Taylor expansion approach was presented for solving integral equations by Kanwal and Liu in  and then has been extended in [7, 8]. In addition, Babolian et al.  solved some integral equations systems by using the orthogonal triangular basis functions. Jafari et al.  applied Legendre wavelets method to find numerical solution system of linear integral equations. Moreover, some different valid methods for solving this kind of equations have been developed. First time, the Bernstein polynomials have been used for the solution of some linear and nonlinear differential equations in . Mandal and Bhattacharya  obtained approximate numerical solutions of some classes of integral equations by using Bernstein polynomials. Also, they used these polynomials to approximate solution of linear Volterra integral equations . In addition, Maleknejad et al.  has applied the polynomials for solving Volterra integral equations of the second kind. Furthermore, in  an architecture of artificial neural networks (ANNs) was suggested to approximate solution of linear integral equations systems. For this aim, first the truncations of the Taylor expansions for unknown functions were substituted in the original system. Then the proposed neural network has been applied for adjusting the real coefficients of the given expansions in the resulting system.

In this paper, we are going to propose a new numerical approach to approximate the solutions of linear Fredholm and Volterra integral equations systems of the second kind. This method converts the given systems with unique solutions, into a system of linear algebraic equations in generalized case. To do this, first the Bernstein polynomials of certain degree n of unknown functions are substituted in the given integral equations system. Suppose that the given closed interval $[a,b]$ is partitioned into uniform spacing $(b−a)/n$ and nodes $t i =a+ih$ (for $i=0,…,n$). If we put $t= t i$ (for $i=0,…,n$), the given system of integral equations, yields a linear algebraic system. The solution of the resulting system yields the unknown Bernstein coefficients of the solution functions.

Here is an outline of the paper. Section 2 describes how to find approximate solutions of the given linear integral equations systems by using the proposed approach. In Section 3, the convergence of the method is established for each class of integral equations systems. Finally in Section 4, two numerical examples are provided and the results are compared with the analytical solutions to demonstrate the validity and applicability of the method. Also, a comparison is made with other numerical approaches that were proposed recently for solving the given systems.

## 2 The general method

The basic definition of integral equation is given in [15, 17, 19]. In this section, we intend to use the Bernstein polynomials to get a new numerical method for solving the linear Fredholm and Volterra integral equations systems of the second kind. In other words, it will be described how to apply these polynomials for approximating solutions of the unknowns in the systems.

### 2.1 System of the Fredholm integral equations

In this subdivision, we want to obtain a numerical solution of the linear Fredholm integral equations system of the second kind in the form

$∑ j = 1 m ( A i j ( t ) F j ( t ) ) = f i (t)+ ∑ j = 1 m ( λ i j ∫ a t k i j ( s , t ) F j ( s ) d s ) ,i=1,…,m$
(1)

or

${ ∑ j = 1 m ( A 1 j ( t ) F j ( t ) ) = f 1 ( t ) + ∑ j = 1 m ( λ 1 j ∫ a b k 1 j ( s , t ) F j ( s ) d s ) , ⋮ ∑ j = 1 m ( A i j ( t ) F j ( t ) ) = f i ( t ) + ∑ j = 1 m ( λ i j ∫ a b k i j ( s , t ) F j ( s ) d s ) , ⋮ ∑ j = 1 m ( A m j ( t ) F j ( t ) ) = f m ( t ) + ∑ j = 1 m ( λ m j ∫ a b k m j ( s , t ) F j ( s ) d s ) .$
(2)

Let us consider

$F j , n (t)= ∑ p = 0 n a j , p B n , p (t),$
(3)

where

$a j , p = F j (a+ph)andh=(b−a)/n,$

which are the Bernstein expansions of degree n for the unknown functions $F j (t)$ for $j=1,…,m$. After substituting these polynomials instead of the unknowns in the system (2), we have:

${ ∑ j = 1 m ( A 1 , j ( t ) ∑ p = 0 n a j , p B p , n ( t ) ) = f 1 ( t ) + ∑ j = 1 m ( λ 1 , j ∫ a b k 1 , j ( s , t ) ∑ p = 0 n a j , p B p , n ( s ) d s ) , ⋮ ∑ j = 1 m ( A i , j ( t ) ∑ p = 0 n a j , p B p , n ( t ) ) = f i ( t ) + ∑ j = 1 m ( λ i , j ∫ a b k i , j ( s , t ) ∑ p = 0 n a j , p B p , n ( s ) d s ) , ⋮ ∑ j = 1 m ( A m , j ( t ) ∑ p = 0 n a j , p B p , n ( t ) ) = f m ( t ) + ∑ j = 1 m ( λ m , j ∫ a b k m , j ( s , t ) ∑ p = 0 n a j , p B p , n ( s ) d s ) .$
(4)

In order to find $a j , n$ in Eq. (3), the system (4) is converted to an algebraic system of linear equations by replacing t with $t p =a+p(b−a)/n$ (for $p=0,…,n$). Notice that in this way we can skip the singularity problem. After this work, the system is transformed to the following form:

$∑ j = 1 m ∑ p = 0 n ( A i , j ( t q ) B p , n ( t q ) ) ⋅ a j , p = f i ( t q ) + ∑ j = 1 m ∑ p = 0 n ( λ i , j ∫ a b k i , j ( s , t q ) B p , n ( s ) d s ) ⋅ a j , p , i = 1 , … , m ; q = 0 , … , n .$
(5)

For brevity, we define below symbols as:

$T q , p ( i , j ) = A i , j ( t q ) B p , n ( t q ), R q , p ( i , j ) = λ i j ∫ a b k i j (s, t q ) B p , n (s)ds.$

Now we can write the system (5) in the form

$∑ j = 1 m ∑ p = 0 n T q , p ( i , j ) ⋅ a j , p = f i ( t q )+ ∑ j = 1 m ∑ p = 0 n R q , p ( i , j ) ⋅ a j , p ,i=1,…,m;q=0,…,n.$
(6)

Consequently, the expression (6) can be summarized in a matrix form as follows:

$WY=E+VY,$
(7)

where

$Y = [ a 1 , 0 , … , a 1 , n , … , a i , 0 , … , a i , n , … , a m , 0 , … , a m , n ] T , E = [ f 1 ( t 0 ) , … , f 1 ( t n ) , … , f i ( t 0 ) , … , f i ( t n ) , … , f m ( t 0 ) , … , f m ( t n ) ] T , W = [ W ( 1 , 1 ) ⋯ W ( 1 , m ) ⋮ ⋱ ⋮ W ( m , 1 ) ⋯ W ( m , m ) ] and V = [ V ( 1 , 1 ) ⋯ V ( 1 , m ) ⋮ ⋱ ⋮ V ( m , 1 ) ⋯ V ( m , m ) ] .$

Parochial matrices $W ( i , j )$, $V ( i , j )$ for ($i,j=1,…,m$) are defined with following elements:

$W ( i , j ) =[ W 0 , 0 ( i , j ) ⋯ W 0 , n ( i , j ) ⋮ ⋱ ⋮ W n , 0 ( i , j ) ⋯ W n , n ( i , j ) ], V ( i , j ) =[ V 0 , 0 ( i , j ) ⋯ V 0 , n ( i , j ) ⋮ ⋱ ⋮ V n , 0 ( i , j ) ⋯ V n , n ( i , j ) ],$

where

$W q , p ( i , j ) = T q , p ( i , j ) and V q , p ( i , j ) = R q , p ( i , j ) .$

The resulting generalized linear system can be solved for $a j , p$ for $j=1,…,m$; $p=0,…,n$ by a standard method, and hence $F j (t)$ is obtained.

### 2.2 System of Volterra integral equations

At first, consider again the system of linear Volterra integral equations (1). For numerical solving of the present system, the unknown function $F j (t)$ is approximated by its Bernstein approximation (3). Now we have the following system:

${ ∑ j = 1 m ∑ p = 0 n ( A 1 , j ( t ) B p , n ( t ) ) ⋅ a j , p = f 1 ( t ) + ∑ j = 1 m ∑ p = 0 n ( λ 1 , j ∫ a t k 1 , j ( s , t ) B p , n ( s ) d s ) ⋅ a j , p , ⋮ ∑ j = 1 m ∑ p = 0 n ( A i , j ( t ) B p , n ( t ) ) ⋅ a j , p = f i ( t ) + ∑ j = 1 m ∑ p = 0 n ( λ i , j ∫ a t k i , j ( s , t ) B p , n ( s ) d s ) ⋅ a j , p , ⋮ ∑ j = 1 m ∑ p = 0 n ( A m , j ( t ) B p , n ( t ) ) ⋅ a j , p = f m ( t ) + ∑ j = 1 m ∑ p = 0 n ( λ m , j ∫ a t k m , j ( s , t ) B p , n ( s ) d s ) ⋅ a j , p .$
(8)

Similarly, by replacing the variable t with $t p =a+p(b−a)/n$ for $p=0,…,n$, we obtain the generalized linear system

$∑ j = 1 m ∑ p = 0 n T q , p ( i , j ) ⋅ a j , p = f i ( t q )+ ∑ j = 1 m ∑ p = 0 n R q , p ( i , j ) ⋅ a j , p ,i=1,…,m;q=0,…,n,$
(9)

where

$T q , p ( i , j ) = A i , j ( t q ) B p , n ( t q ), R q , p ( i , j ) = λ i j ∫ a t k i j (s, t q ) B p , n (s)ds.$

Consequently, the expression (6) can be summarized in a matrix form as follows:

$[ W ( 1 , 1 ) ⋯ W ( 1 , m ) ⋮ ⋱ ⋮ W ( m , 1 ) ⋯ W ( m , m ) ][ Y 1 ⋮ Y m ]=[ E 1 ⋮ E m ]+[ V ( 1 , 1 ) ⋯ V ( 1 , m ) ⋮ ⋱ ⋮ V ( m , 1 ) ⋯ V ( m , m ) ][ Y 1 ⋮ Y m ],$

where

$Y i =[ a i , 0 ⋮ a i , n ], E i =[ f i ( t 0 ) ⋮ f i ( t n ) ], W ( i , j ) =[ W 0 , 0 ( i , j ) ⋯ W 0 , n ( i , j ) ⋮ ⋱ ⋮ W n , 0 ( i , j ) ⋯ W n , n ( i , j ) ]$
(10)

and

$V ( i , j ) =[ V 0 , 0 ( i , j ) ⋯ V 0 , n ( i , j ) ⋮ ⋱ ⋮ V n , 0 ( i , j ) ⋯ V n , n ( i , j ) ].$

In the above generalized linear system, the symbols are defined as follows:

$W q , p ( i , j ) = T q , p ( i , j ) and V q , p ( i , j ) = R q , p ( i , j ) .$

## 3 Convergence analysis

In this section, we prove that the present numerical method converges to the exact solutions of the systems (2) and (1).

Theorem 1 Let $F j , n (t)$ for $j=1,…,m$ be the Bernstein polynomials of degree n such that their coefficients have been produced by solving the generalized linear system (7). Then the given polynomials converge to the exact solution of the Fredholm integral equations system (2), when $n→+∞$.

Proof Consider the system (2). Since the series (3) converge to $F j (t)$ for $j=1,…,m$, respectively, then we conclude that:

$∑ j = 1 m ( A i j ( t ) F j , n ( t ) ) = f i (t)+ ∑ j = 1 m ( λ i j ∫ a b k i j ( s , t ) F j , n ( s ) d s ) ,i=1,…,m,$
(11)

and it holds that

$F j (t)= lim n → ∞ F j , n (t).$

We defined the error function $e n (t)$ by subtracting Eqs. (2) and (11) as follows:

$e n (t)= ∑ i = 1 m e i , n (t),$
(12)

where

$e i , n (t)= ∑ j = 1 m A i , j (t) ( F j ( t ) − F j , n ( t , r ) ) − ∑ j = 1 m λ i j ( ∫ a b k i , j ( s , t ) ( F j ( s ) − F j , n ( s ) ) d s ) .$

We must prove that when $n→+∞$, the error function $e n (t)$ tends to zero. Hence, we proceed as follows:

$∥ e n ∥ ≤ ∑ i = 1 m ∥ e i , n ∥ ≤ ∑ i = 1 m ∑ j = 1 m ( ∥ A i , j ( t ) ∥ ⋅ ∥ ( F i ( t ) − F i , n ( t ) ) ∥ ) + ∑ i = 1 m ∑ j = 1 m ( | λ i , j | ∫ a b ∥ k i , j ∥ ⋅ ∥ F j ( s ) − F j , n ( s ) ∥ d s ) .$

Since $∥ k i , j ∥$ and $∥ A j ∥$ are bounded, therefore, $∥ F j (s)− F j , n (s)∥→0$ implies that $∥ e n ∥→0$ and the proof is completed. □

Theorem 2 Suppose that $F j , n (t)$ for $j=1,…,m$ are the Bernstein polynomials of degree n such that their coefficients have been produced by solving the generalized linear system (10). Then the given polynomials converge to the exact solution of the Volterra integral equations system (1), when $n→+∞$.

Proof Consider the system (1). Using a similar procedure as an outline in mentioned Theorem 1, we have the following corollary in which we are refrained from going through proof details. Now the error of the approximation method can be written as

$e n (t)= ∑ i = 1 m e i , n (t),$
(13)

where

$e i , n (t)= ∑ j = 1 m A i , j (t) ( F j ( t ) − F j , n ( t , r ) ) − ∑ j = 1 m λ i j ( ∫ a t k i , j ( s , t ) ( F j ( s ) − F j , n ( s ) ) d s ) .$

Due to Theorem 1, the error function $e n (t)$ must tend to zero, when $n→+∞$. Hence, we proceed as follows:

$∥ e n ∥ ≤ ∑ i = 1 m ∥ e i , n ∥ ≤ ∑ i = 1 m ∑ j = 1 m ( ∥ ( F i ( t ) − F i , n ( t ) ) ∥ ) + ∑ i = 1 m ∑ j = 1 m ( | λ i , j | ∫ a t ∥ k i , j ∥ ( ∥ F j ( s ) − F j , n ( s ) ∥ ) d s ) .$

Since $∥ k i , j ∥$ and $∥ A j ∥$ are bounded, therefore, $∥( F j (s)− F j , n (s))∥→0$ implies that $∥ e n ∥→0$ and the proof follows immediately. The stability and the convergence of Bernstein polynomials is studied in [12, 13]. □

## 4 Numerical examples

In this section, in order to investigate the accuracy of the proposed method, we have chosen three examples of linear integral equations systems of the second kind. Also, to show the efficiency of the present method for our problem, results will be compared with the exact solution. Moreover, the present method is compared with artificial neural network (ANN) method and the trapezoidal quadrature rule (TQR) .

Example 1 Consider the system of linear Fredholm integral equations

${ 2 F 1 ( t ) + 3 F 2 ( t ) = f 1 ( t ) + ∫ 0 1 ( t + s ) F 1 ( s ) d s + ∫ 0 1 t s F 2 ( s ) d s , 3 F 1 ( t ) − 4 F 2 ( t ) = f 2 ( t ) + ∫ 0 1 ( 2 t s − 1 ) F 1 ( s ) d s + ∫ 0 1 ( t − s ) F 2 ( s ) d s$

with

$f 1 ( t ) = 2 e t − 3 t − 2 − t ( e − 1 ) − t ( ln ( 4 ) − 1 ) − 1 , f 2 ( t ) = − 2 t + ln ( 4 ) + 3 e t + 4 t − 2 − t ln ( 2 ) − 2 + e ,$

where the exact solution is $F 1 (t)= e t$ and $F 2 (t)= 1 2 − t$. In this example, we illustrate the use of the present technique to approximate solution of this integral equations system. Using Eq. (7), the coefficients matrices W, V and E are calculated for $n=3$ as following:

$W=[ W ( 1 , 1 ) W ( 1 , 2 ) W ( 2 , 1 ) W ( 2 , 2 ) ],V=[ V ( 1 , 1 ) V ( 1 , 2 ) V ( 2 , 1 ) V ( 2 , 2 ) ],E=[ E 1 E 2 ],$

where

$W ( 1 , 1 ) = [ 2 0 0 0 29 , 630 50 , 000 8 , 889 10 , 000 11 , 110 25 , 000 2 , 120 28 , 610 212 2 , 861 1 , 111 2 , 500 8 , 889 10 , 000 2 , 963 5 , 000 0 0 0 2 ] , W ( 1 , 2 ) = [ 3 0 0 0 8 , 889 10 , 000 13 , 333 10 , 000 6 , 667 10 , 000 1 , 111 10 , 000 1 , 111 10 , 000 6 , 667 10 , 000 13 , 333 10 , 000 8 , 889 10 , 000 0 0 0 3 ] , W ( 2 , 1 ) = [ 3 0 0 0 8 , 889 10 , 000 13 , 333 10 , 000 6 , 667 10 , 000 1 , 111 10 , 000 1 , 111 10 , 000 6 , 667 10 , 000 13 , 333 10 , 000 8 , 889 10 , 000 0 0 0 3 ] , W ( 2 , 2 ) = [ − 4 0 0 0 − 296 250 − 8 , 889 5 , 000 − 8 , 889 10 , 000 − 456 3 , 079 − 456 3 , 079 − 8 , 889 10 , 000 − 8 , 889 5 , 000 − 2 , 963 2 , 500 0 0 0 − 4 ] , V 1 , 1 = [ 21 20 1 10 3 20 1 5 2 15 11 60 7 30 17 60 13 60 4 15 19 60 11 30 3 10 7 20 2 5 9 20 ] , V 1 , 2 = [ 0 0 0 0 1 60 1 30 1 20 1 15 1 30 1 15 1 10 2 15 1 20 1 15 3 20 1 5 ] , E 1 = [ 5 2 3 , 563 1 , 233 2 , 339 625 1 , 333 250 ] , V 2 , 1 = [ − 1 4 − 1 4 − 1 4 − 1 4 − 13 60 − 11 60 − 3 20 − 7 60 − 11 60 − 7 60 − 1 20 1 60 − 3 20 − 1 20 1 20 3 20 ] , V 2 , 2 = [ − 1 20 − 1 10 − 3 20 − 1 5 1 30 − 1 60 − 1 15 − 7 60 7 60 1 15 1 60 − 1 30 1 5 3 20 1 10 1 20 ] , E 2 = [ 7 , 420 2 , 390 1 , 901 635 1 , 097 348 1 , 291 362 ] .$

Now by using the above matrices, the vector solution of the generalized linear system (7) is obtained as follows:

$Y=[ a 1 , 0 a 1 , 1 a 1 , 2 a 1 , 3 a 2 , 0 a 2 , 1 a 2 , 2 a 2 , 3 ]=[ 0.9999 1.3380 1.8181 2.7186 0.5001 0.5918 0.6835 1.0001 ].$

Consequently, the approximate functions $F 1 , 3 (t)$ and $F 2 , 3 (t)$ can be written as follows:

$F 1 , 3 = 2 , 353 8 , 445 t 3 + 272 639 t 2 + 2 , 185 2 , 154 t + 11 , 171 11 , 172 , F 2 , 3 = 9 40 t 3 − 1 345 , 468 , 948 , 216 , 863 t 2 + 2 , 747 9 , 989 t + 1 , 846 3 , 691 .$

Figures 1 and 2 show the accuracy of the solution functions $F 1 , 3 (t)$ and $F 2 , 3 (t)$, respectively. As shown, the difference between the exact solutionand the computed solution is dispensable. Numerical results can be seen in Table 1 and also Table 2 illustrates the absolute values of the errors obtained here and the absolute errors of  for this example.

Trapezoidal rule Moreover, this example is going to show the difference between the present method and the trapezoidal quadrature rule.Consider again Example 1, let the region of integration be subdivided into 4 equal intervals of width $h=0.25$, 5 integration nodes $t i =0.25i$ for $i=0,…,4$. Table 2 illustrates the absolute values of the errors obtained here and the absolute errors of  for this example. It should be noted that the Lagrange basis functions have been used for finding the 4th degree collocation polynomials through the points $( t i , F i , j )$ for $i=0,…,4$; $j=1,2$.

Example 2 Let the system of linear Volterra integral equations

${ ( 3 t − 8 ) F 1 ( t ) + ( − 2 t + 5 ) F 2 ( t ) = f 1 ( t ) + ∫ 0 t ( t + s ) F 1 ( s ) d s + ∫ 0 t t s F 2 ( s ) d s , 4 t F 1 ( t ) + ( t − 5 ) F 2 ( t ) = f 2 ( t ) + ∫ 0 t ( 2 t − s ) F 1 ( s ) d s + ∫ 0 t ( s + s t ) F 2 ( s ) d s , 0≤t≤2,$

with

$f 1 ( t ) = 5 e t − 2 t − 9 sin ( t ) − t 2 e t + 2 t cos ( t ) − t e t + 3 t sin ( t ) , f 2 ( t ) = − 3 t − 4 e t + sin ( t ) − t 2 e t + t cos ( t ) + t e t + 4 t sin ( t ) − 1 .$

The exact solution of the present problem is, $F 1 (t)=sin(t)$ and $F 2 (t)= e t$. Similarly, the present method is applied to approximate solution of the integral equations system. We calculate the coefficients matrices W, V and E by using Eq. (10) for $n=4$ as following:

$W=[ W ( 1 , 1 ) W ( 1 , 2 ) W ( 2 , 1 ) W ( 2 , 2 ) ],V=[ V ( 1 , 1 ) V ( 1 , 2 ) V ( 2 , 1 ) V ( 2 , 2 ) ],E=[ E 1 E 2 ],$

where

$W ( 1 , 1 ) = [ − 8 0 0 0 0 − 10 , 283 5 , 000 − 1 , 670 609 − 835 609 − 188 617 − 127 5 , 000 − 5 16 − 5 4 − 15 8 − 5 4 − 5 16 − 137 10 , 000 − 341 2 , 078 − 773 1 , 047 − 1 , 546 1 , 047 − 1 , 691 1 , 527 0 0 0 0 − 2 ] , E 1 = [ 5 1 , 286 391 3 , 492 1 , 597 − 2 , 093 1 , 250 − 1 , 878 119 ] , W ( 1 , 2 ) = [ 5 0 0 0 0 791 625 27 16 524 621 3 16 39 2 , 500 3 16 3 4 9 8 3 4 3 16 39 5 , 000 469 5 , 000 262 621 524 621 791 1 , 250 0 0 0 0 1 ] , W ( 2 , 1 ) = [ 0 0 0 0 0 791 1 , 250 524 621 262 621 469 5 , 000 39 5 , 000 1 4 1 3 2 1 1 4 117 5 , 000 528 1 , 877 791 625 1 , 577 623 2 , 373 1 , 250 0 0 0 0 8 ] , W ( 2 , 2 ) = [ − 5 0 0 0 0 − 682 479 − 2 , 373 1 , 250 − 1 , 009 1 , 063 − 1 , 099 5 , 211 − 11 625 − 1 4 − 1 − 3 2 − 1 − 1 4 − 137 10 , 000 − 341 2 , 078 − 773 1 , 047 − 1 , 546 1 , 047 − 1 , 691 1 , 527 0 0 0 0 − 3 ] , E 2 = [ − 5 − 4 , 131 607 − 2 , 501 247 − 3 , 999 203 − 15 , 526 353 ] , V 1 , 1 = [ 0 0 0 0 0 737 3 , 433 165 1 , 391 183 5 , 120 43 7 , 680 11 30 , 720 81 160 1 2 27 80 2 15 11 480 932 1 , 273 821 969 891 1 , 024 1701 2 , 560 343 1 , 314 14 15 16 15 6 5 4 3 22 15 ] , V 1 , 2 = [ 0 0 0 0 0 141 4 , 538 132 5 , 843 77 10 , 240 19 15 , 360 1 12 , 288 19 160 7 40 11 80 7 120 1 96 515 2 , 587 343 891 1 , 651 3 , 313 343 803 729 4 , 096 4 15 8 15 4 5 16 15 4 3 ] , V 2 , 1 = [ 0 0 0 0 0 834 3 , 433 781 7 , 680 27 1 , 024 29 7 , 680 7 30 , 720 21 32 19 40 21 80 11 120 7 480 3 , 596 3 , 373 650 703 548 737 243 512 1 , 701 10 , 240 22 15 4 3 6 5 16 15 14 15 ] , V 2 , 2 = [ 0 0 0 0 0 423 4 , 538 347 5 , 120 231 10 , 240 19 5 , 120 1 4 , 096 19 80 7 20 11 40 7 60 1 48 1 , 359 4 , 096 657 1 , 024 1 , 701 2 , 048 729 1 , 024 361 1 , 217 2 5 4 5 6 5 8 5 2 ] .$

Now by using the above matrices, the vector solution of the generalized linear system (10) is obtained as follows:

$Y=[ a 1 , 0 a 1 , 1 a 1 , 2 a 1 , 3 a 1 , 1 a 2 , 0 a 2 , 1 a 2 , 2 a 2 , 3 a 2 , 4 ]=[ 0 0.4976 1.0113 1.1247 0.9062 1.0000 1.4883 2.3751 3.7268 7.3813 ].$

Consequently, the approximate functions $F 1 , 4 (t)$ and $F 2 , 4 (t)$ can be written as follows:

$F 1 , 4 = 108 3 , 565 t 4 − 319 1 , 532 t 3 + 142 5 , 855 t 2 + 613 616 t , F 2 , 4 = 197 1 , 779 t 4 + 352 10 , 621 t 3 + 489 818 t 2 + 1 , 793 1 , 836 t + 1 .$

Similarly, Figures 3 and 4 show the accuracy of the solution functions $F 1 , 4 (t)$ and $F 2 , 4 (t)$, respectively. As shown, the difference between the exact solution and the computed solution is dispensable. Similarly, numerical results can be seen in Table 3.

Trapezoidal rule Suppose that the region of integration is subdivided into 5 equal intervals of width $h=0.4$, 6 integration nodes $t i =0.4i$ for $i=0,…,5$. Table 4 illustrates the absolute values of the errors obtained here and the absolute errors of  for this example. Furthermore, the Lagrange interpolation method has been used to design the interpolation polynomials.

Example 3 Consider

${ ( 2 t 2 + 3 ) F 1 ( t ) = f 1 ( t ) + ∫ 0 t ( t 2 − 2 s ) F 1 ( s ) d s + ∫ 0 t ( s 2 − t ) F 2 ( s ) d s ( 2 t 2 + 3 ) F 1 ( t ) = + ∫ 0 t 2 s F 3 ( s ) d s , ( 1 − 3 t 2 ) F 2 ( t ) = f 2 ( t ) + ∫ 0 t s ( t + 1 ) F 1 ( s ) d s + ∫ 0 t s t ( t 2 + 1 ) F 2 ( s ) d s ( 1 − 3 t 2 ) F 2 ( t ) = + ∫ 0 t ( 2 s 2 + t 3 ) F 3 ( s ) d s , ( 3 t 2 + 6 ) F 3 ( t ) = f 3 ( t ) + ∫ 0 t ( s − t ) F 1 ( s ) d s + ∫ 0 t ( s 2 − t 3 ) F 2 ( s ) d s ( 3 t 2 + 6 ) F 3 ( t ) = + ∫ 0 t ( 2 t s + s 2 ) F 3 ( s ) d s ,$

where

$f 1 ( t ) = − 1 15 ( 6 t 5 + 35 t 4 − 95 t 3 − 270 t 2 − 225 t − 360 ) , f 2 ( t ) = − 1 30 ( 15 t 7 + 10 t 6 − 33 t 5 + 275 t 4 + 115 t 3 − 390 t 2 + 150 ) , f 3 ( t ) = 1 60 ( 40 t 6 − 66 t 5 − 175 t 4 + 250 t 3 + 780 t 2 + 360 t + 360 ) ,$

with the exact solution, $F 1 (t)=5t+8$, $F 2 (t)=2 t 2 −5$ and $F 3 (t)= t 2 +t+1$. Again, we solved this example by this method and the results are given in Table 5. Table 6 illustrates the absolute errors of ANN method and TQR for this example.

As we can see this method will be useful when the exact solution is a polynomial. In other word, the proposed method give the analytical solution for the system, if the exact solution be polynomials of degree n or less than n.

## 5 Conclusions

In some cases, an analytical solution cannot be found for integral equations system, therefore, numerical methods have been applied. In this study, we have worked out a computational method to approximate solution of the Fredholm and Volterra integral equations systems of the second kind. The present course is a method for approximating unknown functions in terms of truncated sequences including Bernstein polynomials. It is clear that to get the best approximating solutions of the given systems, the truncation degree n must be chosen large enough. An interesting feature of this method is finding the analytical solution for given system, if the exact solution be polynomials of degree n or less than n. Additionally, the proposed method has been compared with ANN method  and TQR. The analyzed examples illustrated the ability and reliability of the present method. The obtained solutions, in comparison with exact solutions admit a remarkable accuracy. Extensions to the case of more general systems of integral equations are left for future studies.

## References

1. 1.

Tricomi FG: Integral Equations. Dover, New York; 1982.

2. 2.

Lan X: Variational iteration method for solving integral equations. Comput. Math. Appl. 2007, 54: 1071–1078. 10.1016/j.camwa.2006.12.053

3. 3.

Babolian E, Sadeghi Goghary S, Abbasbandy S: Numerical solution of linear Fredholm fuzzy integral equations of the second kind by Adomian method. Appl. Math. Comput. 2005, 161: 733–744. 10.1016/j.amc.2003.12.071

4. 4.

Liao SJ: Beyond Perturbation: Introduction to the Homotopy Analysis Method. Chapman & Hall/CRC Press, Boca Raton; 2003.

5. 5.

Abbasbandy S: Numerical solution of integral equation: homotopy perturbation method and Adomian’s decomposition method. Appl. Math. Comput. 2006, 173: 493–500. 10.1016/j.amc.2005.04.077

6. 6.

Kanwal RP, Liu KC: A Taylor expansion approach for solving integral equations. Int. J. Math. Educ. Sci. Technol. 1989, 2: 411–414.

7. 7.

Maleknejad K, Aghazadeh N: Numerical solution of Volterra integral equations of the second kind with convolution kernel by using Taylor-series expansion method. Appl. Math. Comput. 2005, 161: 915–922. 10.1016/j.amc.2003.12.075

8. 8.

Nas S, Yalcynbas S, Sezer M: A Taylor polynomial approach for solving high-order linear Fredholm integrodifferential equations. Int. J. Math. Educ. Sci. Technol. 2000, 31: 213–225. 10.1080/002073900287273

9. 9.

Babolian E, Masouri Z, Hatamzadeh-Varmazyar S: A direct method for numerically solving integral equations system using orthogonal triangular functions. Int. J. Ind. Math. 2009, 2: 135–145.

10. 10.

Jafari H, Hosseinzadeh H, Mohamadzadeh S: Numerical solution of system of linear integral equations by using Legendre wavelets. Int. J. Open Probl. Comput. Sci. Math. 2010, 5: 63–71.

11. 11.

Bhatti MI, Bracken P: Solutions of differential equations in a Bernstein polynomial basis. J. Comput. Appl. Math. 2007. doi:10.1016/j.cam.2006.05.002

12. 12.

Farouki RT, Goodman TNT: On the optimal stability of the Bernstein basis. Math. Comput. 1996, 65(216):1553–1566. 10.1090/S0025-5718-96-00759-4

13. 13.

Yousefi SA, Behroozifar M: Operational matrices of Bernstein polynomials and their applications. Int. J. Syst. Sci. 2010, 41(6):709–716. 10.1080/00207720903154783

14. 14.

Bhatta DD, Bhatti MI: Numerical solution of KdV equation using modified Bernstein polynomials. Appl. Math. Comput. 2006, 174: 1255–1268. 10.1016/j.amc.2005.05.049

15. 15.

Mandal BN, Bhattachary S: Numerical solution of some classes of integral equations using Bernstein polynomials. Appl. Math. Comput. 2007, 191: 1707–1716.

16. 16.

Bhattacharya S, Mandal BN: Use of Bernstein polynomials in numerical solution of Volterra integral equations. Appl. Math. Sci. 2008, 6: 1773–1787.

17. 17.

Maleknejad K, Hashemizadeh E, Ezzati R: A new approach to the numerical solution of Volterra integral equations by using Bernstein’s approximation. Commun. Nonlinear Sci. Numer. Simul. 2011, 161: 647–655.

18. 18.

Jafarian A, Measoomy NS: Utilizing feed-back neural network approach for solving linear Fredholm integral equations system. Appl. Math. Model. 2012. doi:10.1016/j.apm.2012.09.029

19. 19.

Hochstadt H: Integral Equations. Wiley, New York; 1973.

## Acknowledgements

We would like to thank the referees for their comments and remarks.

## Author information

Authors

### Corresponding author

Correspondence to Dumitru Baleanu.

### Competing interests

The authors declare that they have no competing interests.

### Authors’ contributions

The authors have equal contributions and they have approved the final version of the manuscript.

## Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

## Rights and permissions

Reprints and Permissions

Jafarian, A., Measoomy Nia, S.A., Golmankhaneh, A.K. et al. Numerical solution of linear integral equations system using the Bernstein collocation method. Adv Differ Equ 2013, 123 (2013). https://doi.org/10.1186/1687-1847-2013-123 