A Numerical Comparison of Finite Difference and Linear Shooting Methods for a Non-Homogeneous Cauchy-Euler Boundary Value Problem
DOI:
https://doi.org/10.59632/leibniz.v6i02.833Keywords:
Cauchy-Euler equation, Finite Difference Method, Linear Shooting MethodAbstract
This study presents a comparative numerical analysis of the Finite Difference Method (FDM) and the Linear Shooting Method (LSM) for solving a second-order non-homogeneous Cauchy-Euler boundary value problem subject to Dirichlet, Neumann, and Robin boundary conditions. In contrast to previous studies that often employ different differential equations for different numerical experiments, this study uses an identical Cauchy-Euler equation while varying only the boundary conditions. This unified framework enables a more systematic investigation of the influence of boundary conditions on the performance of the numerical methods. Numerical solutions are computed using three mesh sizes, N = 10, N = 20, and N = 50. The accuracy of the methods is assessed by comparing the numerical solutions with the exact solution using Maximum Absolute Error (MaxAE) and Mean Absolute Error (MAE). In addition, graphical comparisons of the exact and numerical solutions, together with their corresponding error distributions, are presented to illustrate the solution behavior under different boundary conditions. The numerical results show that both methods produce accurate approximations with decreasing errors as the mesh is refined. The FDM exhibits approximately second-order convergence and requires less execution time, whereas the LSM achieves a higher convergence order and consistently produces smaller MaxAE and MAE values, indicating superior numerical accuracy.
Downloads
References
Adak, M., & Mandal, A. (2022). Numerical Solution of 2nd Order Boundary Value Problems with Dirichlet, Neumann and Robin Boundary Conditions using FDM. Communications in Mathematics and Applications, 13(2), 529–537. https://doi.org/10.26713/cma.v13i2.1667
Alhassan, C. J., Achema, K. O., & Ogor, M. A. (2023). Exploring Numerical Methods for Solving Boundary Value Problem: A Study of Finite Difference and Shooting Methods with MATLAB Implementation.
Ardiana, D., Rachman, A. M., Nurkarimah, D., & Habibah, U. (2025). Comparison Study between Shooting and Finite Difference Methods for Solving Linear Boundary Value Problem with Dirichlet, Neumann, and Robin Boundary Conditions. Indonesian Journal of Mathematics and Applications, 3(1), 19–37. https://doi.org/10.21776/ub.ijma.2025.003.01.2
Dung, N. D., & Quang, V. V. (2024). Finite Difference Method for Solving Second-Order Boundary Value Problems with High-Order Accuracy. European Journal of Mathematical Analysis, 4, 10. https://doi.org/10.28924/ada/ma.4.10
Edun, I. F., & Akinlabi, G. O. (2021). Application of the Shooting Method for the Solution of Second Order Boundary Value Problems. Journal of Physics: Conference Series, 1734(1).
Gupta, A., & Kaushik, A. (2021). A Higher-Order Accurate Difference Approximation of Singularly Perturbed Reaction-Diffusion Problem using Grid Equidistribution. Ain Shams Engineering Journal, 12(4), 4211–4221. https://doi.org/10.1016/j.asej.2021.04.024
Habibah, U., & Mulyanti, N. A. (2023). Keakurasian Metode Shooting untuk Menyelesaikan Masalah Kondisi Batas pada Persamaan Sturm-Liouville. EduMatSains : Jurnal Pendidikan, Matematika dan Sains, 7(2), 374–382.
Habibah, U., Tuloli, M. H., Rimanada, V., & Ferreira, T. G. (2020). Penyelesaian Numerik Masalah Syarat Batas Robin pada Persamaan Diferensial Cauchy-Euler. MAJAMATH: Jurnal Matematika dan Pendidikan Matematika, 3(1), 32–40. https://doi.org/10.36815/majamath.v3i1.615
Kamelia, S., Muallimah, A., Nurkamila, S., & Habibah, U. (2025). A Comparative Study of Finite Difference, Shooting, and Collocation Methods for Linear Non-Stiff, Stiff, and Nonlinear Two-Point Boundary Value Problems with Dirichlet and Neumann Boundary Conditions. Indonesian Journal of Mathematics and Applications, 3(2), 105–133. https://doi.org/10.21776/ub.ijma.2025.003.02.4
Krishnamohan, D., Dhananjayamurthy, D. B., Thete, R., Phogat, N., Ramalayathil, B., & Kumar, A. K. (2025). Splines And Special Functions to Solve Boundary Value Problems in Differential Equations. In Journal of Information Systems Engineering and Management (Vol. 2025, Number 3).
Markus, S., Ibrahim, I. O., & Abba, B. M. (2018). Comparative Analysis of Linear Two Point Boundary Value Problems via Shooting and Finite Difference Methods. IOSR Journal of Mathematics, 14(1), 49–61. https://doi.org/10.9790/5728-1401014961
Masenge, R. P., & Malaki, S. S. (2020). Finite Difference and Shooting Methods for Two-Point Boundary Value Problems: A Comparative Analysis. In MUST Journal of Research and Development (MJRD) (Vol. 1).
Mukhtarov, O., Çavuşoğlu, S., & Olgar, H. (2019). Numerical Solution of One Boundary Value Problem Using Finite Difference Method. In Turk. J. Math. Comput. Sci (Vol. 11).
Tavangar, A. (2024). Differential Equations.
Wadho, A., Asad, S., Shah, R., Liaquat, &, Panhwer, A. (2025). The Critical Review of Social Sciences Studies a Comparative Analysis of Numerical Methods for Solving Nonlinear Equations: Accuracy, Convergence, and Computational Efficiency the Critical Review of Social. Sciences Studies, 3(4), 2025. https://thecrsss.com/index.php/Journal/about
Yang, W. (2024). Application and Solution Methods of Differential Equations in Physical Modeling.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Muna Afdi Muniroh, Noraniza Bahrotul Ilmi, Sekar Sari

This work is licensed under a Creative Commons Attribution 4.0 International License.













