A Graph-Theoretic Framework for the Numerical Solution of Nonlinear Initial Value Problems

Rawaa Khalil Ibrahim
College of Dentistry, University of Diyala, Diyala, Iraq

Abstract

Solving an ODE initial value problem numerically means marching forward in time step by step – and that march is quietly a graph traversal. This paper makes the graph explicit: the time mesh becomes a directed acyclic graph (DAG) whose edges carry the discrete-derivative constraint imposed by f . Acyclicity is exactly why explicit methods like Euler and RK4 solve in a single forward pass no matter how nonlinear f is, while implicit methods correspond to edges with a self-loop that needs Newton iteration to resolve. We formalize RK4 as an augmented stage graph and connect the derivative operator to the graph Laplacian, then put this machinery to new use: Stiffness-Adaptive Graph Rewiring (SAGR) reuses RK4’s own stage evaluations as a free local stiffness indicator and rewires only the edges that need a corrector. On a near-equilibrium nonlinear test, SAGR matches fully implicit accuracy within a few percent at explicit cost, without ever evaluating a Jacobian – though we also report where its un-globalized corrector still breaks down. The base framework is validated on the logistic growth equation, recovering the classical O(h) and O(h4) convergence orders.

Keywords: