IDEAS home Printed from https://ideas.repec.org/a/aac/ijirss/v8y2025i3p4293-4303id7504.html
   My bibliography  Save this article

Numerical solution of ordinary differential equations using Newton-Raphson method with Numpy and Autograd: Accuracy, convergence, and performance analysis

Author

Listed:
  • Choon Kit Chan
  • Pankaj Dumka
  • Chandrakant Sonawane
  • Subhav Singh
  • Dikshant Varshaney

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.

Suggested Citation

  • Choon Kit Chan & Pankaj Dumka & Chandrakant Sonawane & Subhav Singh & Dikshant Varshaney, 2025. "Numerical solution of ordinary differential equations using Newton-Raphson method with Numpy and Autograd: Accuracy, convergence, and performance analysis," International Journal of Innovative Research and Scientific Studies, Innovative Research Publishing, vol. 8(3), pages 4293-4303.
  • Handle: RePEc:aac:ijirss:v:8:y:2025:i:3:p:4293-4303:id:7504
    as

    Download full text from publisher

    File URL: https://ijirss.com/index.php/ijirss/article/view/7504/1599
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:aac:ijirss:v:8:y:2025:i:3:p:4293-4303:id:7504. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Natalie Jean (email available below). General contact details of provider: https://ijirss.com/index.php/ijirss/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.