Pure and Applied Mathematics Journal
Volume 4, Issue 3, June 2015, Pages: 96-100

Numerical Study on the Boundary Value Problem by Using a Shooting Method

Md. Mizanur Rahman1,*, Mst. Jesmin Ara2, Md. Nurul Islam1, Md. Shajib Ali1

1Dept. of Mathematics, Faculty of Applied Science and Technology, Islamic University, Kushtia, Bangladesh

2Department of Political Science, National University, Gazipur, Dhaka, Bangladesh

Email address:

(M. M. Rahman)
(M. J. Ara)
(M. N. Islam)
(M. S. Ali)

To cite this article:

Md. Mizanur Rahman, Mst. Jesmin Ara, Md. Nurul Islam, Md. Shajib Ali. Numerical Study on the Boundary Value Problem by Using a Shooting Method. Pure and Applied Mathematics Journal. Vol. 4, No. 3, 2015, pp. 96-100. doi: 10.11648/j.pamj.20150403.16


Abstract: In the present paper, a shooting method for the numerical solution of nonlinear two-point boundary value problems is analyzed. Dirichlet, Neumann, and Sturm- Liouville boundary conditions are considered and numerical results are obtained. Numerical examples to illustrate the method are presented to verify the effectiveness of the proposed derivations. The solutions are obtained by the proposed method have been compared with the analytical solution available in the literature and the numerical simulation is guarantee the desired accuracy. Finally the results have been shown in graphically.

Keywords: Boundary Value Problem, Shooting Method, Numerical Simulation and MATLAB Programming


1. Introduction

There are many linear and nonlinear problems in science and engineering, namely second order differential equations with various types of boundary conditions, are solved either analytically or numerically. Two-point boundary value problems occur in a wide variety of problem such as modeling of chemical reactions, the boundary layer theory in fluid mechanics and heat power transmission. The wide applicability of boundary value problems in engineering and sciences calls for faster and accurate numerical methods. Many authors have attempted to obtain higher accuracy rapidly by using a numerous methods. The shooting method to compute eigen-values of fourth-order two-point boundary value problems studied by D. J. Jones [1].Wang et al [2] investigated application of the shooting method to second order multi point integral boundary value problems. Kwong and Wong [3] have studied the shooting method and non-homogeneous multipoint BVPs of second-order ODE. Abd-Elhameed et al [4] have investigated a new wavelet collection method for solving second-order multipoint boundary value problems using Chebyshev polynomials of the third and fourth kinds. See [5] studied nonlinear two point boundary value problem using two step direct method. Meade et al [6] discussed about the shooting technique for the solution two- point boundary value problems. Rahman et al [7] have studied numerical Solutions for Second Order Boundary Value Problems using Galerkin Method. Fatullayev et al [8] investigated numerical solution of a boundary value problem for a second order Fuzzy differential equation. Granas et al [9] investigated the shooting method for the numerical solution of a class of nonlinear boundary value problems. Cole and Adeboye [10] studied an alternative approach to solutions of nonlinear two point boundary value problems.

Qiao and Li [11] analyzed two kinds of important numerical methods forcalculating periodic solutions. TrungHieu [12] studied remarks on the shooting method for nonlinear two-point boundary value problem. Russell and Shampine [13] discussed numerical methods for singular boundary value problem. Sharma et al [14] studied numerical solution of two point boundary value problems using Galerkin-Finite element method. Hence the main objective of the present study is to solve nonlinear two point boundary value problems (BVP) by using simple and efficient shooting method. This well-known technique is an iterative algorithm which attempts to identify appropriate initial conditions for a related initial value problem that provides the solution to the original boundary value problem.

2. Mathematical Formulation

For a general boundary value problem for a second-order ordinary differential equation, the simple shooting method is stated as follows:

Let,  

(2.1)

be the BVP in question and let x(t,s)denote the solution of the IVP

(2.2)

where is a parameter that can be varied. The IVP (2.2) is solved with different values of s with, e.g., Rung Kutta-4 method until the boundary condition on the right side becomes fulfilled. As mentioned above, the solutionof (2.2) depends on the parameters. Let us define a function

If the BVP (2.1) has a solution, then the function F(s) has a root, which is just the value of the slope giving the solution x(t)of the BVP in question. The zeros of F(s) can be found with, e.g., Newton’s method.

Newton’s method is probably the best known method for finding numerical approximations to the zeroes of a real-valued function. The idea of the method is to use the first few terms of the Taylor series of a function F(s) in the vicinity of a suspected root, i.e.,

 

Whereis the thapproximation of the root. Now if one inserts one obtains

 

As the next approximation to the root we choose the zero of this function, i.e,

(2.3)

The derivative can be calculated using the forward difference formula

 

where  is small. Notice that this procedure can be unstable near a horizontal asymptote.

3. Method of Solution Technique

Consider the boundary value problem for the second-order differential equation of the form

 

(3.1)

Then the two initial value problems is given by

 

(3.2)

 

(3.3)

Then if  is the solution to (3.2) and  is the solution to equation (3.3) the solution to equation (3.1) is

(3.4)

For the nonlinear case, the technique remains the same as that used to obtain a solution to equation (3.1) except that a sequence of initial value problems of the form;

(3.5)

where are real number are now required.

Let  be solution of the initial value problem.

We want to have a sequence so that

(3.6)

One of the choices for is;

 

Choosing the parameter for  to satisfy (3.6) is not easy and can be complicated by the fact that;

 

is a nonlinear equation;

 

(3.7)

The subscript  is dropped inside the functional notation for convenience differentiating equation (3.7) with respect to t and assuming that the order of differentiation of x and t is reversible gives

 

Simplification using  to represent  results in

= 

Finally, the Secant formula in general form is as follows:

 

We can update  using the information from  as follows:

 

For a given accuracy the algorithm terminated if;

.

4. Results and Discussion

In this section, we explain five numerical examples of BVP which are available in the literature. The computations programming language, associated with the examples, are performed by MATLAB [15, 16, 17].

Example 1. Consider the boundary value problem;

,  

 

Solution: Let

= 

Solve a system of two second- order initial value problems:

,  

Let

Solve a system of four first-order initial value problems:

 

Using MATLAB function ode45.m

Example 2.Consider the boundary value problem

 

Solution: Let

 

 

Solve a system of two second-order initial value problems:

 

Let

Solve a system of four first-order initial value problems:

 

Using MATLAB function ode45.m

Example 3. Consider the boundary value problem

 

Solution: Let

 

Solve a system of two second-order initial value problem

 

 

Let .

Solve a system of four first-order initial value problem

 

Using MATLAB function ode45.m

Figure 1. Plot of exact and approximate solution.

Figure 2. Plot of exact and approximate solution.

Figure 3. Plot of exact and approximate solution.

Figure 1, Figure 2 and Figure 3 shows that the approximate solution of Example 1, Example 2 and Example 3 is at the third iteration (shot), because the solution is almost coincident with the exact solution among the three shots.

Example 4.Consider the boundary value problem

 

Solution: Let

 

 

Solve a system of two second-order initial value problems:

 

Let

Solve a system of four first-order initial value problems:

 

Using MATLAB function ode45.m

Figure 4. Plot of exact and approximate solution.

Example 5.Consider the boundary value problem

 

 

Solution: Let

 

 

Solve a system of two second-order initial value problems:

Let .

Solve a system of four first-order initial value problems:

Using MATLAB function ode45.m

Figure 5. Plot of exact and approximate solution.

Figure 4 and Figure 5 shows that the approximate solution of Example 4 and Example 5 is at the first iteration, because this solution is so close to the exact solution among the three shoots.

5. Conclusion

We have developed a Shooting method to solve non-linear two point boundary value problem analytically. The given problems were tested using three iterations of shooting method. In each figure, we represent the comparison between the exact solution and each iteration, which are made in order to solve these problems. The numerical results obtained by the proposed method are in good agreement with the exact solutions.


References

  1. D. J. Jones. "Use of a shooting method to compute Eigen-values of fourth-order two-point boundary value problems" Journal of Computational and Applied Mathematics, vol.47, pp. 395-400,1993.
  2. Huilan Wang, Zigen Ouyang and Liguang Wan, "Application of the shooting method to second – order multi- point integral boundary value problems," A Spinger open Journal ,Article ID 205, 2013 .
  3. Man KamKwong and James S. W. Wong, "The shooting method and non-homogeneous multipoint BVPs of second-order ODE,".Hindawi Publishing Corporation, Article ID 64012, 2007.
  4. W. M. Abd-Elhameed, E. H. Doha and Y. H. Youssri,  "New wavelates collection method for solving second-order multipoint boundary value problems using Chebyshev polynomials of third and fourth kinds," Hindawi Publishing Corporation, Article ID 542839, 2013.
  5. Phang Pei See, Zanariah Abdul Majid and Mohamed Suleiman, "Solving nonlinear two point boundary value problem using two step direct method," Journal of Quality Measurement and Analysis, vol.7, No. 1, pp.129-140, 2011.
  6. Douglas B. Meade, Bala S. Haran and Ralph E. White, "The shooting technique for the solution two-point boundary value problems",1996.
  7. M. M. Rahman, M.A. Hossen, M. Nurul Islamand Md. Shajib Ali, "Numerical Solutions of Second Order Boundary Value Problems by Galerkin Method with Hermite Polynomials," Annals of Pure and Applied Mathematics Vol. 1, No. 2, pp. 138-148, 2012.
  8. AfetGolayogluFatullayev, Emine Can and CananKoroglu, "Investigated numerical solution of a boundary value problem for a second order Fuzzy differential equation,".TWMS J. Pure Appl. Math, vol.4, No. 2, pp.169-176,2013.
  9. A. GranasR. B. Guentherand J. W. Lee, "The shooting method for the numerical solution of a class of nonlinear boundary value problems," SIAM J. Numer. Anal., vol.16, No. 5, pp.828–836, 2006.
  10. A. T. Cole and K. R. Adeboye, "Studied an alternative approach to solutions of nolinear two point boundary value problems," International Journal of  Information and Communication Technology Research, vol.3, No. 4, 2013.
  11. TiantianQiao and Weiguo Li, "Two kinds of important numerical methods forcalculating periodic solutions" Journal of Information and Communication science, vol.1, pp.85-92, 2006.
  12. Nguyen TrungHieu, "Remarks on the shooting method for nonlinear two-point boundary value problem," VNU.JOURNAL OF SCIENCE, Mathematics-Physics, 2003.
  13. R. D. Russell and L. F. Shampine, "Numerical methods for singular boundary value problem," SIAM.J.Numer.Anal., vol.12, No. 1, pp.13-36,2006.
  14. Dinkar Sharma, Ram Jiuari and Sheo Kumar, "Numerical solution of two-point boundary value problems using Galerkin-Finite element method." International Journal of Nonlinear Science, vol.13, No. 2, pp.204-210,2012.
  15. L. F. Shampine, I. Gladwell and S. Thompson. Solving ODEs with MATLAB,2003.
  16. L. F. Shampine, J. Kierzenka and M. W. Reichelt, "Solving boundary value problem for ordinary differential equations in MATLAB with bvp4c," 2000.
  17. Stephen J. Chapman, MATLAB Programming for Engineers, Thomson Learning, 2004.

Article Tools
  Abstract
  PDF(218K)
Follow on us
ADDRESS
Science Publishing Group
548 FASHION AVENUE
NEW YORK, NY 10018
U.S.A.
Tel: (001)347-688-8931