Professional Documents
Culture Documents
A Chebychev Collocationmethod For Solving Troesch'S Problem: Mohamed El-Gamel & Mona Sameeh
A Chebychev Collocationmethod For Solving Troesch'S Problem: Mohamed El-Gamel & Mona Sameeh
ABSTRACT
This paper presents a study of the performance of the collocation method using Chebychev basis functions for
solving Troesch’s problem. Some numerical experiments are made. Numerical resultsare included to confirm the efficiency
and accuracy of the method and a comparison with the modified homotopy perturbation technique(MHP), the variational
iteration method, B-spline method and the sinc-collocation method are made. It is shown that the chebychev collocation
method yields better results
INTRODUCTION
In this paper, we consider a nonlinear two-point boundary value problem, Troesch’s problem [1, 2, 3], defined by
where µ is a positive constant. This problem arises in an investigation of the confinement of a plasma column by
radiation pressure [4] and also in the theory of gas porous electrodes [5, 6]. This problem has been studied extensively.
Troesch found its numerical solution in [7] using the shooting method, in [8] using the decomposition technique, in [9, 10]
using the variational iteration method, in [11] using a combination of the multipoint shooting method with the continuation
and perturbation technique, in [12] using the quasilinearization method, in [13] using the method of transformation groups,
in [14] the invariant imbedding method, in [15] using the inverse shooting method, in [16] using the modified homotopy
perturbation method, in [17] using the differential transform method and in [18] using sinc-collocation method.
The purpose of this paper is to introduce a novel approach based on Chebychev polynomial for the numerical
solution of the class of nonlinear boundary value problems given in (1)-(2). Chebyshev polynomials have become
increasingly important in numerical analysis. Most commonly used techniques with Chebyshev polynomials have been
examined in [19, 20, 21, 22, 23, 24]and references therein.
The remaining structure of this article is organized as follows: a brief introduction to the Chebchev polynomial is
presented in Section 2. In Section 3, the chebychev approach for the solution of Troesch’s problem is described. The
results are compared with the exact solutions and some existing numerical solutions in Section 4. Finally, in Section 5, a
conclusion is given that briefly summarizes the results.
There are many advantages of using chebyshev polynomials as expansion function presented in that are good
representation of smooth functions, provided that the function expanded by is infinitely differential, the coefficient of
24 Mohamed El-Gamel & Mona Sameeh
chebyshev expansion, approach zero faster than any inverse power in n asn goes to infinity then we need few no of
iteration and less time to get the solution in any application.
The well known Chebyshev polynomials are defined on the interval [−1, 1] and the following definitions are
necessary for this step [25]
Definition 1
Tn = 1, T n ( x k ) = ( − 1) k ,
kπ
x k = cos , k = 0 , 1, K , n (3)
N
( 2 k − 1)π
Tn (t k ) = ( −1) k , t k = cos , k = 1,2,K , n
2n
T0 ( x) = 1, T1 ( x) = x
Tn+1 ( x) = 2 xTn ( x ) − Tn−1 ( x), n f1
In particular, Tn is indeed an algebraic polynomial of degree n with the leading coefficient 2n−1 . Also,
orthogonality
1
dx
∫T
−1
m ( x )T n ( x )
1− x2
= 0, n ≠ m
(4)
π
1 dx , n f 0
∫ −1
T n2 ( x )
2
= 2
1− x π , n = 0
Theorem 1
On the interval [−1, 1], among all polynomials of degree n with leading coefficient an = 1 , the Chebyshev
A Chebychev Collocation Method for Solving Troesch's Problem 25
1
polynomial Tn deviates least from zero, i.e.,
2n−1
Let us assume that the function u (x) and its derivatives have truncated Chebyshev series expansion of the form
N
u( x) = ∑a
r=0
r T r ( x ), −1 ≤ x ≤ 1 (5)
and
N
u (k ) ( x) = ∑a
r =0
(k )
r T r ( x ), k = 1, 2 . (6 )
where Tr (x ) denotes Chebyshev polynomials of the first kind of degree r , ar are unknown Chebyshev
coefficients and N is chosen any positive integer such that N ≥ 2 . Then the function u (x) and its derivatives can be
written in the matrix forms
U =T A
and
U ( k ) = T A( k )
or using the relation between the Chebyshev coefficient matrices A and A(k ) [24],
A( k ) = 2k M k A
U ( k ) = 2k T M k A
where
T0 ( x0 ) T1 ( x0 ) L TN ( x0 )
T (x ) T (x ) L TN ( x1 ) τ
1
T = 0 1 1 1
, A = a0 , a1 ,K, aN
M M O M 2
T0 ( xN ) T1 ( xN ) L TN ( xN )
u ( k ) ( x0 ) u ( x0 )
(k )
u ( x1 ) u ( x1 )
U (k ) = , U =
M M
u (k ) ( x ) u( x )
N N
and
26 Mohamed El-Gamel & Mona Sameeh
0 1/ 2 0 3/2 0 5/2 L m1
0 0 2 0 4 0 L m 2
0 0 0 3 0 5 L m3
M = (7 )
M M M M M M O M
0 0 0 0 0 0 L N
0 0 0 0 0 0 L 0 ( N +1 ) Χ ( N +1 )
where
N
m1 = , m2 = 0, m3 = N if N is odd
2
m1 = 0, m2 = N , m3 = 0 if N is even
The method can be developed for the problem defined in the domain [a, b] .
Definition
2 a+b
Tn* ( x ) = Tn ( y ), y= x−
b−a 2
n
n−1 2
Notice that its leading coefficient is equal to 2
b = a
To obtain the solution in terms of shifted Chebyshev polynomials Tr* ( x) in the form
N
u ( x ) = ∑ a r* Tr* ( x ), a≤x≤b
r =0
Where
2 a + b
Tr* ( x) = Tr x−
b−a 2
b − a a + b iπ
xi = + cos , i = 0, 1,K , N (8)
2 b − a N
k
4
A*( k ) = k *
M A, k = 0, 1, 2.
b−a
where
A Chebychev Collocation Method for Solving Troesch's Problem 27
τ
1
A* = a0* , a1* ,K, a*N
2
To obtain a Chebyshev polynomial solution of equation (1) under general boundary conditions (2), first, we
)
expand sinh ( µ u ) around u
) )
) ) ) sinh ( µ u ) ) cosh ( µ u ) )
sinh ( µ u ) = sinh ( µ u ) + µ cosh ( µ u )(u − u ) + µ 2 (u − u ) 2 + µ 3 (u − u ) 3
2! 3!
)
sinh ( µ u ) )
+ µ4 (u − u ) 4 + K
4!
)
Particularly, if u = 0 , then
u3 u5
sinh ( µ u ) = µ u + µ 3 + µ5 +K
3! 5!
υ 2 j + 1
µ
u "
− µ 2
u − ∑ j = 1 ( 2 j + 1 )!
u 2 j + 1
= 0 (9 )
N
u( x) = ∑a
r =0
*
r T r* ( x ), 0 ≤ x ≤1 (10 )
*
where Tr ( x) = Tr (2 x − 1) presents the shifted Chebyshev polynomials of the first kind of degree r and a r for
r = 0, 1, 2,K, N are the undetermined Chebyshev coefficients and the Chebyshev collocation points in [0, 1] are
1 kπ
xi = 1 + cos , k = 0 , 1, K , N (11 )
2 N
And its derivatives have truncated Chebyshev series expansion of the form
N
u"( x) = ∑a
r =0
*( 2 ) *
r T ( x ),
r 0 ≤ x ≤1 (12 )
Then the solution expressed by (10) and its derivatives can be written in the matrix forms
[u( x)] = T * A
[u ( x)] = 4 T M
" 2 * 2
A
υ −1
uυ ( x0 ) u ( x0 ) 0 K 0 u ( x0 )
υ
u ( x1 ) 0 u ( x1 ) K 0 u ( x1 )
= M M O M M
M
u (x )
υ K u ( x N ) u(x )
N 0 0 N
= (U )υ −1
U
= (T A ) (T A)
*
υ −1
*
where
T * ( x0 ) 0 K 0 A 0 K 0
0 *
T ( x1 ) K 0 0 A K 0
T* = A =
M
,
M M O M
M M O
0 K T * ( xN ) 0 0 K A
0
Substituting x = xi in (9) and applying the collocation to it, we eventually obtain the following theorem
Theorem 1
If the assumed approximate solution of the problem (9) is (10), then the discrete Chebychev system is given
by
υ
µ 2 j +1
u " ( xi ) − µ 2u ( xi ) − ∑ u 2 j +1 ( x i ) = 0 (13 )
j =1 ( 2 j + 1)!
WA = 0 (14 )
where
υ 2 j +1
µ
∑ (T )
2 j
W = 4 2T *M 2
− µ 2T *
− *
A T
j =1 ( 2 j + 1 )!
To get the expansion coefficient ar , r = 0, 1,K, N .in the approximate solution (10) firstly we have to obtain
the boundary conditions from equation (2)
T * (0) A = 0
T * (1) A = 1
then use them to solve the linear system (14), which can be written in the matrix form
~
WA = F (15 )
A Chebychev Collocation Method for Solving Troesch's Problem 29
where
0
0
F =M
0
1
Now we have a nonlinear system of N + 1 equations in N + 1 unknown coefficients. We can obtain the
coefficients in the approximate solution by solving this nonlinear system.
NUMERICAL EXAMPLES
The closed form solution to this problem in terms of the Jacobian elliptic function has been given [3] as
u ' (0)
u( x) =
2
µ
sinh −1
1
[
sc µ x 1 − u ' ( 0 ) ]
2
(16 )
2 4
where u ' (0) , the derivative of u at 0, is given by the expression u ' (0) = 2 1 − m , with m being the solution
of the transcendental equation
sinh ( µ2 )
= sc (µ m )
1− m
where the Jacobian elliptic function sc (µ m )[28, 2]is defined by sc (µ m ) = sin φ where φ and µ are related
cos φ
by the integral
φ
1
µ=∫ dθ
0 1 − m sin2 θ
In Table 1 and Table 2 the numerical solution obtained by Chebychev collocation method is compared with the
exact solution derived fromequation (16) and with the numerical solution obtained by the modified homotopy perturbation
technique (MHP)[16], variation method [29] and sinc-collocation method [18] for the case a µ = 0.5 nd µ = 0 .1
respectively In Table 3, the numerical solution obtained by the Chebychev collocation method for µ = 5 is compared with
the numerical approximation of the exact solutions given by a Fortran code called TWPBVP and the numerical solution
obtained by B-spline collocation method [30] and the numerical solution obtained by sinc-collocation method [18].
Table4, exhibits the numerical solution obtained by the Chebychev method for µ = 3 , µ = 5 , and µ = 7 .
DISCUSSIONS
In this study, we compared the performance of the collocation method using Chebychev bases and other methods
for solving Troesch’s problem. Numerical experiments are presented. The chebychev collocation method is a simple
30 Mohamed El-Gamel & Mona Sameeh
method with high accuracy for solving nonlinear problems. So it may be easily applied by researchers and engineers
familiar with the Chebychev function.
REFERENCES
3. S. Roberts, J. Shipman, On the closed form solution of Troesch's problem, J. Comput. Phys., 21 (1976) 291-304.
4. E. Weibel, On the confinement of a plasma by magnetostaticn fields, Phys. Fluids, 2 (1959) 52-56.
5. D. Gidaspow, B. Baker, A model for discharge of storage batteries, J. Electrochem. Soc., 120 (1973) 1005-1010.
6. V. Markin, A. Chernenko, Y. Chizmadehev, Y. Chirkov, Aspects of the theory of gas porous electrodes, in: V.S.
Bagotskii,Y.B. Vasilev11(Eds.), Fuel Cells: Their Electrochemical Kinetics, Consultants Bureau, New York,
1966, pp. 21-33.
7. B.A. Troesch, A simple approach to a sensitive two-point boundary value problem, J. Comput. Phys., 21 (1976)
279.
8. E. Deeba, S..Khuri, S. Xie, An algorithm for solving boundary value problems, J. Comput. Phys., 159 (2000)
125-138.
9. S.A. Khuri, A numerical algorithm for solving Troesch’s problem, Int. J. Comput. Math., 80 (2003) 493-498.
10. S. Momani, S. Abuasad, Z. Odibat, Variational iteration method for solving nonlinear boundary value problems,
Appl. Math.Comput.,183 (2006) 1351-1358.
11. S. Roberts, J. Shipman, Solution of Troesch’s two-point boundary value problem by a combination of techniques,
J. Comput. Phys., 10(1972) 232-241.
12. Miele, A. Agarwal, J. Tietze, Solution of two-point boundary-value problems with Jacobian matrix characterized
by large positive eigenvalues,J. Comput. Phys., 15 (1974) 117-133.
13. J. Chiou, T. Na, On the solution of Troesch’s nonlinear two-point boundary value problem using an initial value
method, J. Comput.Phys., 19 (1975) 311-316.
14. M. Scott, On the conversion of boundary-value problems into stable initial-value problems via several invariant
imbedding algorithms, in:A.K. Aziz (Ed.), Numerical Solutions of Boundary-Value Problems for Ordinary
Differential Equations, Academic Press, New York, 1975, pp.89-146.
15. J. Snyman, Continuous and discontinuous numerical solutions to the Troesch's problem, J. Comput. Appl. Math.,
5 (1979) 171-175.
16. X. Feng, L. Mei, G. He, An efficient algorithm for solving Troesch’s problem, Appl. Math. Comput.,189 (2007)
500-507.
17. S. Chang, I. Chang, A new algorithm for calculating one-dimensional differential transform of nonlinear
functions, Appl. Math. Comput.195 (2008) 799-808.
A Chebychev Collocation Method for Solving Troesch's Problem 31
18. M. El-Gamel, Numerical solution of Troesch’s problem by sinc-collocation method, Applied Mathematics,4
(2013) 501-508.
19. J. Boyd, Chebyshev and Fourier Spectral Methods, Dover Publications, New York, 2000.
20. Clenshaw, H. Norton, The solution of nonlinear ordinary differential equations in Chebyshev series, Comput. J. 6
(1963) 88-92.
21. L. Fox, I.B. Parker, Chebyshev Polynomials in Numerical Analysis, Oxford University Press, London, 1968.
22. H. Norton, The iterative solution of non-linear ordinary differential equations in Chebyshev series, Comput. J. 7
(1964) 76-5.
23. J. Mason, D.C. Handscomb, Chebyshev Polynomials, CRC Press, Boca Raton, 2003.
24. M. Sezer, M. Kaynak, Chebyshev polynomial solutions of linear differential equations, Int. Math. Educ. Sci.
Technol. 27 (1996) 607-618.
25. T. Rivlin, An Introduction to the Approximation of Functions, Dover Publications, Inc., New York, 1969.
26. M. El-Gamel, M. Sameeh, An efficient technique for finding the eigen values of fourth-order sturm-liouville
problems, Applied Mathematics,3 (2012),920-925.
27. Akyz-Dascio˘glu, H. Cerd¨ik-Yaslan The solution of high-order nonlinear ordinary differential equations by
Chebyshev Series, Appl. Math. Comput. , 217 (2011) 5658-5666.
28. M. Abramowitz, I. Stegun, Handbook of Mathematical Functions, Dover, New York, 1972.
29. Chang, A variational iteration method for solving Troesch’s problem, J. Comput. Appl. Math., 234 (2010) 3043-
3047.
30. S. Khuri, A. Sayfy, Troeschs problem: A B-spline collocation approach, Math. Computer Model., 54 (2011) 1907-
1918.
APPENDICES
x Exact
Chebyshev,N=12 MHP [16] Variational [29] Sinc-Collocation [18]
Solution
0.1 0.08179699 0.08466125 0.08438170 0.10016683 0.08466125
0.2 0.16453087 0.17017132 0.16962076 0.20133869 0.17017132
0.3 0.24916736 0.25739390 0.25659292 0.30454102 0.25739390
0.4 0.33673220 0.34722285 0.34621073 0.41084132 0.34722285
0.5 0.42834716 0.44059983 0.43944227 0.52137347 0.44059983
0.6 0.52527402 0.53853439 0.53733006 0.63736635 0.53853439
0.7 0.62897114 0.64212860 0.64101046 0.76017896 0.64212860
0.8 0.74116837 0.7526080 0.75173354 0.89134491 0.75260809
0.9 0.86397002 0.87136251 0.87088353 1.03263022 0.87136251
Table 4: Exhibits the Numerical Solution Obtained by the Chebychev Method for µ = 3, µ = 5, and µ = 7