Professional Documents
Culture Documents
289
Dipartimento di Matematica,
Università degli Studi della Calabria, Italy
∗ E-mail: costabil@unical.it
∗∗ E-mail:longo@mat.unical.it
by MONASH UNIVERSITY on 02/27/16. For personal use only.
A type collocation method for the global solution of the general non linear
second order boundary value problem
00
y (x) = f (x, y(x), y 0 (x)) x ∈ [a, b]
y(a) = ya
y(b) = yb
is proposed. An analysis of the global error and an algorithm for the numerical
calculation are given. Finally, numerical examples and comparisons with other
methods are presented.
1. Introduction
In Ref. 3, after a discussion on the class of methods for numerical integration
of the following non linear two-point boundary value problem:
00 0
y (x) = f (x, y(x), y (x)) x ∈ [a, b]
y(a) = ya (1)
y(b) = yb
Theorem 1.1 (3 ). Let Tk (x) be the Chebyshev polynomial of the first kind
of degree k and
πi
xi = cos , i = 1, ..., n (2)
n+1
August 17, 2009 18:38 WSPC - Proceedings Trim Size: 9in x 6in costabile
290
2 2 i=1
291
where
(
(t+1)(x−1)
2 t≤x
G(x, t) = (x+1)(t−1) (7)
2 x≤t
Let ω0 , ω1 , ..., ωn−1 , ωn ∈ R, then the polynomial
X n−1
ωn + ω0 ωn − ω0
yn (x) = + x+ pn,i (x)ωi (8)
2 2 i=1
00
yn (xi ) = ωi , i = 1, ..., n − 1,
y (−1) = ω0, (9)
n
yn (1) = ωn .
by MONASH UNIVERSITY on 02/27/16. For personal use only.
3. The method
Let us consider the boundary value problem
00 0
y (x) = f (x, y(x), y (x)) x ∈ [−1, 1] , −∞ < y, y 0 < ∞
y(−1) = ya (12)
y(1) = yb
August 17, 2009 18:38 WSPC - Proceedings Trim Size: 9in x 6in costabile
292
4. Global error
For the estimation of the global error
y (s) (x) − yn(s) (x), s = 0, 1, 2,
by putting
n−1
X
Λn = max |li (x)| (15)
−1≤x≤1
i=1
August 17, 2009 18:38 WSPC - Proceedings Trim Size: 9in x 6in costabile
293
and
¯ (n+1) ¯
¯y (ξx )(x − x1 ) · · · (x − xn−1 ) ¯¯
R = max ¯ ¯ (16)
−1≤x,ξx ≤1 (n − 1)! ¯
Theorem 4.1 (3 ). If y ∈ C n+3 ([−1, 1]), L and K are the Lipschitz con-
stants of function f such that 1 − 2Λn K > 0 and 1 − Λn (2K + L) > 0,
then
Applied and Industrial Mathematics in Italy III Downloaded from www.worldscientific.com
° ° cR
° (s) °
°y (x) − yn(s) (x)° ≤ , s = 0, 1, 2, (17)
∞ 1 − Λn (2K + L)
where
by MONASH UNIVERSITY on 02/27/16. For personal use only.
½
1 if s = 0, 2
c= (18)
2 if s = 1.
294
Yn = G(Yn )
where
by MONASH UNIVERSITY on 02/27/16. For personal use only.
G(Z) = AF (Z) − Cn .
For the existence and uniqueness of the solution we provide the following
theorem:
Theorem 5.1 (3 ). If kAk L < 1, then the previous system has a unique
solution that can be calculated with the iterative method
Yn(0) arbitrary,
Yn(ν+1) = G(Yn(ν) ), ν = 1, ...
Now we report certain numerical results for classical test problems and
compare the error committed applying our method, with n = 7, on different
sets of nodes, in particular between Chebyshev nodes of the second kind
(already examined in Ref. 3) with equidistant, Chebyshev of the first kind
and Legendre nodes. We also compare these results with the ones obtained
by applying the Matlab ODE solver bvp4c.
295
(a) Equidistant nodes (b) Legendre nodes (c) Cheb I kind nodes
Applied and Industrial Mathematics in Italy III Downloaded from www.worldscientific.com
00 02 4
y = yy − 2(2x − 1)
y(−1) = 1 with the solution y(x) = x2 .
y(1) = 1
(a) Equidistant nodes (b) Legendre nodes (c) Cheb I kind nodes
For this problem our method applied on Chebyshev second kind nodes
(dotted line) or on one of the other three set of nodes considered (solid
line) requires only 102 function evaluations to obtain an error less than
or equal to the requested tolerance ² = 10−7 . To obtain an error of the
same order (10−7 ) bvp4c (dashed line) requires 337 function evaluations on
a mesh of 19 points.
August 17, 2009 18:38 WSPC - Proceedings Trim Size: 9in x 6in costabile
296
(a) Equidistant nodes (b) Legendre nodes (c) Cheb I kind nodes
In the case of bvp4c (dashed line) 201 function evaluations are needed
for this problem on a mesh of 13 points; our method applied on Chebyshev
second kind nodes (dotted line) or on one of the other three set of nodes
considered (solid line) requires only 132 function evaluations to obtain an
error less than or equal to the requested tolerance ² = 10−4 .
Problem 5.4.
Let us consider the problem
00 2 3
y = −(1 + 0.01y )y + 0.01 cos x
y(−1) = cos(−1) with the solution y(x) = cos(x).
y(1) = cos(1)
In this case bvp4c (dashed line) requires 60 function evaluations on a
mesh of 13 points; our method applied on Chebyshev second kind nodes
(dotted line) or on one of the other three set of nodes considered (solid
line) requires only 7 function evaluations to obtain an error less than or
equal to the requested tolerance ² = 10−6 .
August 17, 2009 18:38 WSPC - Proceedings Trim Size: 9in x 6in costabile
297
(a) Equidistant nodes (b) Legendre nodes (c) Cheb I kind nodes
Applied and Industrial Mathematics in Italy III Downloaded from www.worldscientific.com
References
by MONASH UNIVERSITY on 02/27/16. For personal use only.