Numerical Solution of Volterra-Fredholm Integral
Numerical Solution of Volterra-Fredholm Integral
S. Nemati
PII: S0377-0427(14)00437-3
DOI: http://dx.doi.org/10.1016/j.cam.2014.09.030
Reference: CAM 9815
Please cite this article as: S. Nemati, Numerical solution of Volterra–Fredholm integral
equations using Legendre collocation method, Journal of Computational and Applied
Mathematics (2014), http://dx.doi.org/10.1016/j.cam.2014.09.030
This is a PDF file of an unedited manuscript that has been accepted for publication. As a
service to our customers we are providing this early version of the manuscript. The manuscript
will undergo copyediting, typesetting, and review of the resulting proof before it is published in
its final form. Please note that during the production process errors may be discovered which
could affect the content, and all legal disclaimers that apply to the journal pertain.
Manuscript
Click here to view linked References
S. Nemati
Department of Mathematics, Faculty of Mathematical Sciences, University of Mazandaran,
Babolsar, Iran
Abstract
1. Introduction
Preprint submitted to Journal of Computational and Applied Mathematics July 30, 2014
10 Over the years, it was found that the spectral methods are a valid method
to obtain approximations for integral equations (see for example, [5–11]). Our
aim in this paper is to propose a method to approximate a class of Volterra-
Fredholm integral equations on the interval [0, l] by using the shifted Legendre
polynomials.
15
2
2. Preliminaries and notations
The well-known Legendre polynomials are defined on the interval [−1, 1] and
can be determined with the aid of the following recurrence formulae:
L0 (x) = 1,
L1 (x) = x,
Lm+1 (x) = m+1 xLm (x)
2m+1
− m+1 Lm−1 (x),
m
m = 1, 2, . . . , −1 ≤ x ≤ 1.
In order to use these polynomials on the interval [0, l] we define the so-called
shifted Legendre polynomials of degree i as follows:
2
ψi (x) = Li ( x − 1), i = 0, 1, 2, · · · .
l
We consider the space L2 [0, l] equipped with the following inner product and
norm: Z l 1
hf, gi = f (x)g(x)dx, kyk2 = hy, yi 2 .
0
The set of shifted Legendre polynomials forms a complete L2 [0, l]-orthogonal
system such that the orthogonality condition is
Z l l , i = j,
2i+1
ψi (x)ψj (x)dx =
0 0, i=
6 j.
A function y(x) ∈ L2 [0, l], may be expressed in terms of shifted Legendre poly-
nomials as
∞
X
y(x) = ci ψi (x),
i=0
where the coefficients ci are given by
Z
2i + 1 l
ci = y(x)ψi (x)dx, i = 0, 1, 2, · · · .
l 0
where the shifted Legendre coefficient vector C and the shifted Legendre vector
ψ(x) are given by
C = [c0 , c1 , . . . , cn ]T , (2)
3
ψ(x) = [ψ0 (x), ψ1 (x), . . . , ψn (x)]T . (3)
3. Numerical solution
Z n
!
l X
+ λ2 k2 (x, t) ci ψi (h(t)) dt. (6)
0 i=0
Suppose that:
Z h(x) Z l
gi (x) = A(x)ψi (x)+B(x)ψi (h(x))−λ1 k1 (x, t)ψi (t)dt−λ2 k2 (x, t)ψi (h(t))dt,
0 0
4
which can be written in the following matrix form:
GT C = F,
where
F = [f (x0 ), f (x1 ), . . . , f (xn )]T ,
and
G = (gij ), i, j = 0, 1, . . . , n,
gij = gi (xj ), i, j = 0, 1, . . . , n.
−1
C = (GT ) F.
4. Error estimate
40 In this section we are concerned with the convergence analysis of the pro-
posed method.
We assume that y(x) is a sufficiently smooth function on [0, l] and pn (x) is
the interpolating polynomial to y at points xi , where xi , i = 0, 1, . . . , n are the
roots of the (n + 1)-degree shifted Chebyshev polynomial in [0, l], then we have
n
y (n+1) (η) Y
y(x) − pn (x) = (x − xi ), η ∈ [0, l],
(n + 1)! i=0
therefore, we obtain
n+1
Mn (l)
|y(x) − pn (x)| ≤ , (9)
22n+1 (n + 1)!
5
(n + 1)-times continuously differentiable functions on the bounded interval [0, l]
and yn (x) = C T ψ(x) be the shifted Legendre polynomials expansion of the
exact solution, y(x), where
C = [c0 , c1 , . . . , cn ]T ,
and
ψ(x) = [ψ0 (x), ψ1 (x), . . . , ψn (x)]T .
Pn
Let ȳn (x) = i=0 c̄i ψi (x) be the approximate solution obtained by the method
proposed in Section 3 and Mn = max0≤x≤l |y (n+1) (x)|, then, there exist real
numbers α and βn such that
n+1
Mn (l)
ky(x) − ȳn (x)k2 ≤ α + βn kC − C̄k2 , (10)
22n+1 (n + 1)!
where
C̄ = [c̄0 , c̄1 , . . . , c̄n ]T ,
and the norm on the right hand side is the usual Euclidian norm for vectors.
Proof. Let Rn [x] be the space of all real-valued polynomials of degree≤ n.
Using the definition, yn (x) and ȳn (x) are in Rn [x] and yn (x) is the best approx-
imation of y(x) in Rn [x]. We can write
ky(x) − ȳn (x)k2 ≤ ky(x) − yn (x)k2 + kyn (x) − ȳn (x)k2 . (11)
Z ! 12
l
2
ky(x) − yn (x)k2 = |y(x) − yn (x)| dx
0
" #2 12
Z l n+1
Mn (l)
≤ dx
0 22n+1 (n + 1)!
√ Mn (l)n+1
= l 2n+1 . (12)
2 (n + 1)!
6
Also, we have
21
Z l "X
n
#2
kyn (x) − ȳn (x)k2 = (ci − c̄i )ψi (x) dx
0 i=0
Z l "X
n
#" n
X
# ! 21
≤ |ci − c̄i | 2
|ψi (x)| 2
dx
0 i=0 i=0
" n
# 21 n Z
! 21
X X l
= |ci − c̄i | 2
|ψi (x)| dx2
i=0 i=0 0
n
! 12
X 1
= kC − C̄k2 l . (13)
i=0
2i + 1
5. Numerical examples
7
Example 5.1. Consider the following Volterra-Fredholm integral equation [13]
Z ex Z 1
(sin x)y(x) + (cos x)y(ex ) = f (x) + ex+t y(t)dt − ex+t y(et )dt,
0 0
x
50 where f (x) = 13 ex −1 + e3 +ex 2 − ee [2 + ex (−2 + ex )] +e2x cos x+x2 sin x.
The exact solution of this equation is y(x) = x2 . Tables 1 and 2 and Figure 1
show the numerical results for this example. In Table 1 the numerical results
for the error δ̄n of the proposed method with n = 2, 3, 4 (Method 1) are dis-
played together with the results obtained by the Taylor collocation method [13]
55 (Method 2), the Taylor polynomial method [10] (Method 3) and the Lagrange
collocation method [12] (Method 4).
8
en HxL
8. ´ 10-15
n=2
6. ´ 10-15
n=3
-15
4. ´ 10
n=4
2. ´ 10-15
x
0.2 0.4 0.6 0.8 1.0
Its exact solution is y(x) = sin x. The numerical results of this example are
displayed in Tables 3, 4 and Figure 2. In Table 3, the error δ̄n of the proposed
method with n = 2, 5, 8, 9 (Method 1) are compared with the results obtained by
the Taylor collocation method [13] (Method 2), the Taylor polynomial method
65 [10] (Method 3) and the Lagrange collocation method [12] (Method 4).
9
Table 4: Numerical results for Example 5.2.
n Mn αn βn kC − C̄k2 Computing time
2 1.00000 5.20833 × 10 −3
1.23828 1.76483 × 10 −2
1.689
5 0.84148 6.78168 × 10 −7
1.37048 7.85257 × 10 −5
4.938
8 1.00000 2.10246 × 10−11 1.44244 3.03147 × 10−7 11.906
9 0.84148 5.25614 × 10 −15
1.46057 5.08242 × 10 −9
15.328
integral equation
Z h(x) Z 1
y(x) = f (x) + k1 (x, t)y(t)dt − k2 (x, t)y(h(t))dt,
0 0
where h(x) = Ln(x + 1), k1 (x, t) = ex+t , k2 (x, t) = ex+h(t) , f (x) = e−x −
ex (h(x) − 1).
70 The exact solution of this problem is y(x) = e−x . The numerical results of this
example are displayed in Tables 5, 6 and Figure 3. In Table 5, the error δ̄n
of the proposed method with n = 2, 5, 8, 9 (Method 1) are compared with the
results obtained by the Taylor collocation method [13] (Method 2), the Taylor
polynomial method [10] (Method 3) and the Lagrange collocation method [12]
75 (Method 4). Figure 3 displays the exact solution and approximate solution with
n = 1, 2.
10
Table 6: Numerical results for Example 5.3.
n Mn αn βn kC − C̄k2 Computing time
2 2.71828 5.20833 × 10 −3
1.23828 9.13839 × 10 −4
3.406
5 2.71828 6.78168 × 10 −7
1.37048 9.06751 × 10 −8
14.313
8 2.71828 2.10246 × 10−11 1.44244 7.71625 × 10−9 33.938
9 2.71828 5.25614 × 10 −15
1.46057 7.71737 × 10 −9
43.985
6. Conclusions
References
95 [2] M.A. Abdou, Fredholm-Volterra integral equation of the first kind and
contact problem, Appl. Math. Comput. 125 (2002) 177–193.
[3] S.A. Isaacson, R.M. Kirby, Numerical solution of linear Volterra integral
equations of the second kind with sharp gradients, J. Comput. Appl. Math.
235 (2011) 4283–4301.
11
100 [4] J. Frankel, A Galerkin solution to regularized Cauchy singular integro-
differential equations, Q. Appl. Math. 24 (1995) 145–258.
[12] K.Y. Wang, Q.S. Wang, Lagrange collocation method for solving Volterra-
Fredholm integral equations, Appl. Math. Comput. 219 (2013) 10434–
10440.
12
[14] L.M. Delves, J.L. Mohamed, Computational Methods for Integral Equa-
tions, Cambridge University Press, Cambridge, 1985.
[15] O. Dickman, Thresholds and traveling waves for the geographical spread
130 of infection, J. Math. Biol. 6 (2) (1978) 109–130.
13
e2 HxL
0.020
0.015
0.010
0.005
x
0.2 0.4 0.6 0.8 1.0
e5 HxL
0.0001
0.00008
0.00006
0.00004
0.00002
x
0.2 0.4 0.6 0.8 1.0
e8 HxL
1.2 ´ 10-8
1. ´ 10-8
8. ´ 10-9
6. ´ 10-9
4. ´ 10-9
2. ´ 10-9
x
0.2 0.4 0.6 0.8 1.0
e9 HxL
8. ´ 10-10
6. ´ 10-10
4. ´ 10-10
2. ´ 10-10
x
0.2 0.4 0.6 0.8 1.0
0.9
y1 @xD
0.8
0.7
y2 @xD
0.6
0.5 y@xD
0.4
x
0.0 0.2 0.4 0.6 0.8 1.0
Figure 3: Plot of the exact solution and approximate solution with n = 1, 2 for Example 5.3.
15