Applied Mathematics
Vol.09 No.05(2018), Article ID:84924,10 pages
10.4236/am.2018.95039

A Logarithmic Finite Difference Method for Troesch’s Problem

M. S. Ismail, K. S. Al-Basyoni

Department of Mathematics, College of Science, King Abdulaziz University, Jeddah, KSA

Copyright © 2018 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: March 26, 2018; Accepted: May 27, 2018; Published: May 30, 2018

ABSTRACT

The aim of this paper is to derive a numerical scheme for Troesch’s problem and to overcome the difficulty which faces the existing numerical methods when considering the Troesch’s problem with large values of λ. A logarithmic finite difference method is derived for solving the Troesch’s problem. The method is very simple and works well for arbitrarily large values of the Troesch’s parameter. To test the proposed method, we have used a wide range of the Troesch’s parameter λ. A comparison with some existing methods is given. The numerical results show the robustness and the superiority of the proposed scheme over most of the existing numerical methods for the Troesch’s problem.

Keywords:

Troesch’s Problem, Logarithmic Finite Difference Method, Inverse Sine Hyperbolic

1. Introduction

Troesch’s problem arises in the investigation of the confinement of plasma column by radiation pressure and is defined by

u = λ sinh ( λ u ) (1)

subject to the boundary conditions

u ( 0 ) = 0 and u ( 1 ) = 1 (2)

The main difficulty associated with Troesch’s problem is the boundary layer near x = 1 . Accordingly, many researchers try to solve this equation numerically, some of these methods are: Sinc-Collocation method [1] , the modified homotopy perturbation technique [2] , a smart nonstandard finite difference for second order nonlinear boundary value problem [3] , the finite element method and discontinuous Galerkin methods [4] [5] , and the shifted Jacobi-Gauss collocation method [6] . A cubic spline collocation method is given in [7] . All of these methods provide a numerical solution of Troesch’s problem for moderate values of λ. Recently, an accurate asymptotic approximation of Troesch’s problem with large values up to λ = 60 is reported in [8] . For more details see [9] [10] .

This paper is devoted to derive a logarithmic finite difference method as a new method to solve the Troesch’s problem for arbitrarily large parameter λ.

The paper remaining of this paper is organized as follows. In Section 2, we derive the numerical scheme as well as a fourth order finite difference scheme. Section 3 is devoted for the numerical results and comparisons with some existing methods. Concluding remarks are given in Section 4.

2. Numerical Method

In order to derive the numerical method for solving Troesch’s, we present the following definition.

Definition: The inverse sine hyperbolic function is defined by

s i n h 1 x = l n ( x + x 2 + 1 ) , x (3)

and its derivative is defined by

d d x ( sinh 1 x ) = 1 1 + x 2 . (4)

By using the previous definition, the Troesch’s problem (1) can be written as

u = 1 λ sinh 1 ( λ u ) = 1 λ ln ( λ u + ( λ u ) 2 + 1 ) , (5)

which is the main point in this paper.

Using uniform mesh including ( n + 1 ) points 0 = x 0 < x 1 < x 2 < < x n = 1 , such that x i = i h , i = 0 , 1 , , n , where h = 1 n , α 1 = λ h 2 . We denote the exact and the numerical solutions respectively by u ( x i ) and U i at the grid point x i . Now by using the second order central finite difference approximation for the second derivative

u ( x i ) 1 h 2 ( U i + 1 2 U i + U i 1 ) (6)

into the Equation (5), this will lead us to the logarithmic finite difference method

ln [ α ( U i + 1 2 U i + U i 1 ) + [ α ( U i + 1 2 U i + U i 1 ) ] 2 + 1 ] λ U i = 0 , i = 1 , 2 , , n 1 (7)

subject to the boundary conditions

U 0 = 0 and U n = 1. (8)

The resulting system in (7) represents a nonlinear tridiagonal system in the unknown solution { U i } i = 1 n 1 . The details of the logarithmic can be given displayed by the following algorithm.

Algorithm 1. Logarithmic method

1) For i = 1 using (7) and the boundary condition U 0 = 0 , we obtain

ln [ α ( U 2 2 U 1 ) + [ α ( U 2 2 U i ) ] 2 + 1 ] λ U 1 = 0 (9)

2) For i = 2 , 3 , , n 2 we use

ln [ α ( U i + 1 2 U i + U i 1 ) + [ α ( U i + 1 2 U i + U i 1 ) ] 2 + 1 ] λ U i = 0 , i = 2 , , n 2 (10)

3) For i = n 1 using (7) and the boundary condition U n = 1 to obtain

ln [ α ( 1 2 U n 1 + U n 2 ) + [ α ( 1 2 U n 1 + U n 2 ) ] 2 + 1 ] λ U n 1 = 0 (11)

Newton’s method is used to solve the nonlinear system which can be described in the following way.

Algorithm 2. Newton’s method

1) For s = 0 , 1 , 2 , .

2) Solve the tridiagonal linear system

J Z = F ( U (s) )

for the unknown vector Z using Crout’s method. The elements of the function F i ( U i ) and the Jacobian matrix J are defined as follows

F i ( U i ) = l n [ α ( U i + 1 2 U i + U i 1 ) + [ α ( U i + 1 2 U i + U i 1 ) ] 2 + 1 ] λ U i = 0, i = 1, , n 1 (12)

and the Jacobian matrix has the tridiagonal structure

J = [ b 1 c 1 a 2 b 2 c 2 a i b i c i a n 2 b n 2 c n 2 a n 1 b n 1 ]

with elements defined by

a i = α [ α ( U i + 1 2 U i + U i 1 ) ] 2 + 1 , i = 2 , 3 , , n 1

b i = λ 2 α [ α ( U i + 1 2 U i + U i 1 ) ] 2 + 1 , i = 1 , 2 , 3 , , n 1

c i = α [ α ( U i + 1 2 U i + U i 1 ) ] 2 + 1 , i = 1 , 2 , 3 , , n 2

3) Update your solution by using

U ( s + 1 ) = U ( s ) Z

4) Repeat steps (1)-(3) till the following condition

| U ( s + 1 ) U ( s ) | ϵ

is satisfied. The constant ϵ is assumed to be small.

The initial guess vector is taken as the linear interpolation between the given boundary conditions, and has the following form

U i ( 0 ) = x i = i h , i = 1 , 2 , , n 1

The previous method is of second order accuracy and it works for wide range values of λ.

A fourth order finite difference method can be used for solving the Troche’s method for limited values of λ. This method can be given as follows.

By using the forth order approximation of the second derivative

u ( x i ) δ 2 1 + 1 12 δ 2 U i , (13)

where δ 2 U i = U i 1 2 U i + U i + 1

Using this approximation and after some manipulation we will end with the following scheme

U i 1 2 U i + U i + 1 = ω [ sinh ( λ U i 1 ) + 10 sinh ( λ U i ) + sinh ( λ U i + 1 ) ] , (14)

for i = 1,2, , n 1, where w = 1 12 λ h 2 , (15)

U 0 = 0 and U n = 1 (16)

The resulting method (14) is of fourth order accuracy. The numerical solution { U i } i = 1 n 1 in this case can be also obtained by solving the nonlinear tridiagonal system. Newton’s method is used to solve this system as we did before.

3. Numerical Results

To test the efficiency of the proposed method, we choose h = 0.0005 and ϵ = 10 12 , for the moderate values of λ = 0.5 , 1 , 5 , 10 . Comparison with some existing methods is given in Tables 1-5. In Figure 1 we display the numerical solution for λ = 3 , 5 , 8 , 10 . The numerical results indicate that the proposed method is highly accurate comparing to the published works.

For large values of λ, we choose h = 0.0001 . In Table 6 and Table 7, we display the numerical solution for λ = 100 , 150 , 200 , 300 , 1000 . To the knowledge of the authors no published work discussed these values of λ before. Again we test our method severely for λ = 10 4 , 10 5 and 106, the method won in this case as well and the results are given in Table 8, these results are given for the first time for such values of λ up to my knowledge. We display the numerical solution for λ = 100,200,1000,10000 in Figures 2-5.

Finally, we tested the fourth order method and make some comparison with the logarithmic method, we have noticed that, the results produced by this method are quite good for the small values of λ only, see Table 9, and the method is handicapped and fail for larger values of λ.

Table 1. Troesch’s problem with λ = 0.5 and h = 0.0005.

Table 2. Troesch’s problem with λ = 1.0 and h = 0.0005.

Table 3. Troesch’s problem with λ = 5.0 and h = 0.0005.

Table 4. Troesch’s problem with λ = 10 and h = 0.0005.

Table 5. Troesch’s problem with λ = 60 and h = 0.0001.

Figure 1. Numerical solution for λ = 3, 5, 8, 10.

Table 6. Numerical solution using the logarithmic method and h = 0.0001.

Table 7. Numerical solution using the logarithmic method and h = 0.0001.

Table 8. Numerical solution using Logarithmic method for large values of λ and h = 0.0001.

Table 9. Comparison of the proposed methods at λ = 0.9 with h = 0.0005.

Figure 2. Numerical solution with λ = 100.

Figure 3. Numerical solution with λ = 200.

Figure 4. Numerical solution with λ = 1000.

Figure 5. Numerical solution with λ = 10,000.

4. Conclusion

In this work, we have derived a logarithmic finite difference method to overcome the difficulty in solving the Troesch’s problem for large values of λ. This progress is very important, since all existing methods were trying to obtain the numerical solution for Troesch’s problem for large values of λ. The logarithmic method which we have derived is able and succeeds to get the numerical solution of Troesch’s problem for λ = 0.5 , 5 , 10 , , 10 6 . To recap things, a new logarithmic finite difference method is derived and can provide the numerical solutions for large values of λ. I think that, to the best of our knowledge, the method and some of the given results are published for the first time.

Cite this paper

Ismail, M.S. and Al-Basyoni, K.S. (2018) A Logarithmic Finite Difference Method for Troesch’s Problem. Applied Mathematics, 9, 550-559. https://doi.org/10.4236/am.2018.95039

References

  1. 1. El-Gamel, M. (2013) Numerical Solution of Troesch’s Problem by Sinc-Collocation Method. Applied Mathematics, 4, 707-712. https://doi.org/10.4236/am.2013.44098

  2. 2. Feng, X., Mei, L. and He, G. (2007) An Efficient Algorithm for Solving Troesch’s Problem. Applied Mathematics and Computation, 189, 500-507. https://doi.org/10.1016/j.amc.2006.11.161

  3. 3. Erdogan, U. and Ozis, T. (2011) A Smart Nonstandard Finite Difference Scheme for Second Order Nonlinear Boundary Value Problems. Journal of Computational Physics, 230, 6464-6474. https://doi.org/10.1016/j.jcp.2011.04.033

  4. 4. Deeba, E., Khuri, S.A. and Xie, S. (2000) An Algorithm for Solving Boundary Value Problems. Journal of Computational Physics, 159, 125-138. https://doi.org/10.1006/jcph.2000.6452

  5. 5. Temimi, H. (2012) A Discontinuous Galerkin Finite Element Method for Solving the Troesch’s Problem. Applied Mathematics and Computation, 219, 521-529. https://doi.org/10.1016/j.amc.2012.06.037

  6. 6. Doha, E.H., Baleanu, D., Bahrawi, A.H. and Hafez, R.M. (2014) A Jacobi Collocation Method for Tresch’s Problem in Plasma Physics. Proceedings of the Romanian Academy Series A, 15, 130-138.

  7. 7. Khuri, S.A. and Sayfy, A. (2011) Troesch’s Problem: A B-Spline Collocation Approach. Mathematical and Computer Modelling, 54, 1907-1918. https://doi.org/10.1016/j.mcm.2011.04.030

  8. 8. Temimi, H. and Kurkcu, H. (2014) An Accurate Asymptotic Approximation and Precise Numerical Solution of Highly Sensitive Troesch’s Problem. Applied Mathematics and Computation, 235, 253-260. https://doi.org/10.1016/j.amc.2014.03.022

  9. 9. El hajaji, A., Hilal, K., El Jalila, G. and El Mhamed, M. (2014) New Numerical Scheme for Solving Troesch’s Problem. Mathematical Theory and Modeling, 4, 65-72.

  10. 10. Scott, M (1975) On the Conversion of Boundary-Value Problems into Stable Initial Value Problems via Several Invariant Imbedding Algorithms. In: Aziz, A.K., Ed., Numerical Solution of Boundary-Value Problems for Ordinary Differential Equations.