Comparison Study between Shooting and Finite Difference Methods for Solving Linear Boundary Value Problem with Dirichlet, Neumann, and Robin Boundary Conditions

Authors

  • Dita Ardiana Department of Mathematics, Brawijaya University, Malang, Indonesia
  • Alifira Meliana Rachman Department of Mathematics, Brawijaya University, Malang, Indonesia
  • Dwi Nurkarimah Department of Mathematics, Brawijaya University, Malang, Indonesia
  • Ummu Habibah Department of Mathematics, Brawijaya University, Malang, Indonesia

DOI:

https://doi.org/10.21776/ub.ijma.2025.003.01.2

Keywords:

Boundary Value Problems, Shooting method, Finite Difference method

Abstract

This study conducts a comparative analysis of the Shooting and Finite Difference methods for solving boundary value problems (BVPs) in ordinary differential equations (ODEs). The findings indicate that the Shooting method offers superior accuracy, particularly for smaller step sizes, whereas the Finite Difference method is more straightforward to implement and exhibits greater computational efficiency. The results further demonstrate that the Shooting method is particularly highly appropriate for problems with Dirichlet boundary conditions, as it achieves the lowest mean absolute error (MAE) across various step sizes. Conversely, the Finite Difference method attains higher computational efficiency for the same problem type but performs less advantageously in cases involving other boundary conditions. In contrast, the Shooting method demonstrates greater efficiency in solving problems with Neumann and Robin boundary conditions. The selection of an appropriate numerical method depends on the specific characteristics of the problem, necessitating a balance between accuracy and computational cost. This study provides a comprehensive evaluation of these numerical approaches to support the selection of the most suitable method for efficiently and accurately solving BVPs.

References

D. Kincaid and W. Cheney, Numerical Analysis: Mathematics of Scientific Computing, (Brooks/Cole Publishing, California, 2009).

W. H. Press, S. A. Teukolsky, W. T. Vetterling, and B. P. Flannery, Numerical Recipes: The Art of Scientific Computing, (Cambridge University Press, New York, 2007).

R. J. LeVeque, Finite Difference Methods for Ordinary and Partial Differential Equations: Steady-State and Time-Dependent Problems, (SIAM, Washington, 2007).

M. A. Arefin, M. A. Nishu, Md N. Dhali, M. H. Uddin, Analysis of Reliable Solutions to the Boundary Value Problems by Using Shooting Method, Mathematical Problems in Engineering, 2022 (2022) 1-9.

L. Zhang, M. M. Bhatti, E. E. Michaelides, M. Marin, and R. Ellahi, Hybrid Nanofluid Flow Towards an Elastic Surface with Tantalum Andnickelnanoparticles, Under the Influence of an Induced Magnetic Field, The European Physical Journal Special Topics, 231 (2021) 521–533.

I. Edun and G. Akinlabi, Application of the Shooting Method for the Solution of Second Order Boundary Value Problems. Journal of Physics: Conference Series, 1734 (2021) 1-10.

M. K. Wong and J. S. W. Wong, The Shooting Method and Nonhomogeneous Multipoint BVPS of Second-Order ODE, Boundary Value Problems, 2007 (2007) 1–16.

H. Wang, Z. Ouyang, and L. Wang, Application of the Shooting Method to Second-Order Multi-Point Integral Boundary-Value Problems, Boundary Value Problems, 2013 (2013) 1-205.

M. A. Arefin, B. Gain, and R. Karim, Accuracy Analysis on Solution of Initial Value Problems of Ordinary Differential Equations for Some Numerical Methods with Different Step Sizes, International Annals of Science, 10 (2021) 118–133.

M. A. Arefin, B. Gain, R. Karim, and S. Hossain, A Comparative Exploration on Different Numerical Methods for Solving Ordinary Differential Equations, J. Mech. Cont. & Math, 15 (2020) 1–11.

M. A. Arefin, N. Islam, B. Islam, and M. Gain, Analysis for the Solution of Initial Value Problem of ODE’s Using Modified Euler Method, International Journal of Mathematics and Soft Computing, 7 (2021) 31–41.

S. Xie, G. Li, S. Yi, and S. Heo, A Compact Finite Difference Method for Solving Burgers’ Equation, Int. J. Numerical. Meth. Fluids, 62 (2020) 747-764.

Z. Liu and Q. Wang, A Non-Standard Finite Difference Method for Space Fractional Advection–Diffusion Equation, Numerical Methods Partial Differential Equation, 37 (2021) 2527–2539.

H. Hasan, T. Yulianto, R. Amalia, and F. Faisol, Penerapan Metode Beda Hingga pada Model Matematika Aliran Banjir dari Persamaan Saint Venant, Zeta Math Journal, 2 (2016) 6-12.

A. S. Bambang, Aplikasi Metode Beda Hingga Skema Eksplisit pada Persamaan Konduksi Panas. Journal Math Educator Nusantara, 1 (2015) 41-46.

Y. Lin, X. Gao and M. Xiao, A High-Order Finite Difference Method for 1D Nonhomogeneous Heat Equations. Numerical Methods Partial Differential Equation, 25 (2009) 327-346.

N. D. Dung and V. V. Quang, Finite Difference Method for Solving Second-Order Boundary Value Problems with High-Order Accuracy, Eur. J. Math. Anal. 4 (2024) 1-10.

C. Ashyralyyev, A. Dural, and Y. Sozen, Finite Difference Method for the Reverse Parabolic Problem, Abstract and Applied Analysis, 2012 (2012).

N. M. Lezani and U. Habibah, Numerical Solution of Burgers Equation using Cubic B-Spline Collocation Method and Neumann Boundary Condition, Indonesian Journal of Mathematics and Applications, 1 (2023) 25–34.

P. Pandey and S. S. A. Jaboob, A Finite Difference Method for a Numerical Solution of Elliptic Boundary Value Problems, Applied Mathematics and Nonlinear Sciences, 3 (2018) 311-320.

N. Ahmad and S. Charan, A Comparative Study of Numerical Solutions of Second Order Ordinary Differential Equations with Boundary Value Problems by Shooting Method & Finite Difference Method, Numerical Solution Of Integral Equation, 4 (2019).

I. Ibrahim and S. Markus, On Shooting and Finite Difference Methods for Non-Linear Two Point Boundary Value Problems, International Journal of Research, 6 (2018) 23-35.

S. M. Filipov, I. D. Gospodinov, and I. Farag’o, Replacing the Finite Difference Methods for Nonlinear Two-Point Boundary Value Problems by Successive Application of the Linear Shooting Method, Journal of Computational and Applied Mathematics, 358 (2019) 46–60.

Q. M. Al-Mdallal, M. I. Syam, and M. Anwar, A Collocation Shooting Method for Solving Fractional Boundary Value Problems, Communications in Nonlinear Science and Numerical Simulation, 15 (2010) 3814–3822.

Downloads

Published

2025-04-10

How to Cite

Comparison Study between Shooting and Finite Difference Methods for Solving Linear Boundary Value Problem with Dirichlet, Neumann, and Robin Boundary Conditions. (2025). Indonesian Journal of Mathematics and Applications, 3(1), 19-37. https://doi.org/10.21776/ub.ijma.2025.003.01.2

Similar Articles

1-10 of 19

You may also start an advanced similarity search for this article.