Numerical solution of ordinary differential equations using Newton-Raphson method with Numpy and Autograd: Accuracy, convergence, and performance analysis
Choon Kit Chan (),
Pankaj Dumka (),
Chandrakant Sonawane (),
Subhav Singh () and
Dikshant Varshaney ()
International Journal of Innovative Research and Scientific Studies, 2025, vol. 8, issue 3, 4293-4303
Abstract:
The numerical solution of ordinary differential equations (ODEs) using the Newton-Raphson approach is investigated in this work. The aim is to evaluate, in solving first- and second-order ODEs, the accuracy, convergence, and limits of this approach. This Python-based approach uses Autograd for automatic differentiation and NumPy for effective array operations. Several case studies are analyzed, including various ODE challenges. The efficiency of the approach is assessed by comparing numerical findings with analytical solutions. In many situations, the Newton-Raphson method effectively and highly precisely approximates solutions for different ODEs. Some examples, however, show differences between numerical and analytical answers, suggesting possible problems with error accumulation or inherent constraints of the approach. Problem difficulty, step size, and initial guesses all affect convergence. Although the Newton-Raphson approach solves ODEs numerically quite well, it must be carefully validated against analytical solutions. The performance of the procedure depends on elements particular to the problem that must be taken into account in application. The need for choosing suitable numerical methods for solving ODEs in scientific and technical domains is underlined by this work. The results guide future research and useful implementations by offering an understanding of the strengths and constraints of Newton-Raphson-based solvers.
Keywords: Autograd module; Newton-raphson; Numerical method; Ordinary differential equation; Python programming. (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://ijirss.com/index.php/ijirss/article/view/7504/1599 (application/pdf)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:aac:ijirss:v:8:y:2025:i:3:p:4293-4303:id:7504
Access Statistics for this article
International Journal of Innovative Research and Scientific Studies is currently edited by Natalie Jean
More articles in International Journal of Innovative Research and Scientific Studies from Innovative Research Publishing
Bibliographic data for series maintained by Natalie Jean ().