Solving Inhomogeneous Constant Coefficients Ordinary Differential Equations Using Artificial Neural Networks

preprint OA: closed CC-BY-4.0
🔓 Open OA copy View at publisher

Abstract

Ordinary differential equations are fundamental tools for modeling dynamic systems in science, engineering, and applied mathematics. Solving these equations accurately and efficiently is crucial, particularly in cases where analytical solutions are challenging or impossible to obtain. This paper presents a method for solving inhomogeneous linear ordinary differential equations using an artificial neural network. The network is composed of a single input layer with one neuron, one hidden layer with three neurons, and a single output layer with one neuron. A multiple regression model is employed to determine the weights from the input layer to the hidden layer, while radial basis functions are used to compute the weights from the hidden layer to the output layer. The bias values are chosen within the range of -1 to 1 to optimize learning behavior. A trial solution is constructed as a sum of two parts. One part satisfies the initial condition, and the other part is the output of the network to approximate the function. The neural network is trained to minimize the mean squared error of the residuals obtained by doing the substitution of the trial solution into the given ordinary differential equation. The methodology is tested on first-order and second-order ordinary differential equations to evaluate its accuracy, stability and how its capability can be generalized. The results show that the method can approximate the exact solutions of these ordinary differential equations with high accuracy.

My notes (saved in your browser only)

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2026) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-20T11:00:21.680559+00:00
License: CC-BY-4.0