ORIGINAL ARTICLE
A Study of Physics-Informed Neural Networks for Solving Ordinary
and Partial Differential Equations
More details
Hide details
1
Department of Aerospace Engineering, King Fahd University of Petroleum and Minerals, Saudi Arabia
2
Department of Mathematics, King Fahd University of Petroleum and Minerals, Saudi Arabia
3
KFUPM, Interdisciplinary Research Centre for Refining & Advanced Chemicals, Saudi Arabia
These authors had equal contribution to this work
Submission date: 2026-01-23
Final revision date: 2026-05-11
Acceptance date: 2026-08-23
Publication date: 2026-11-22
Corresponding author
Osama Adel Hawladar
Department of Aerospace Engineering, King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia
Journal of Undergraduate Research International 2026;2(3C):57-65
KEYWORDS
TOPICS
ABSTRACT
Physics-informed neural networks (PINNs) have recently emerged as promising alternatives to traditional numerical methods for
solving differential equations by directly incorporating governing physical laws into the learning process. However, standard PINNs
(std-PINNs) often have difficulty handling nonlinear and stiff partial differential equations (PDEs), particularly in terms of stability
and convergence. In this study, we investigate the application of PINNs to solve ordinary differential equations (ODEs) and PDEs,
including the damped harmonic oscillator (an ODE), 1D heat equation (a linear PDE), and 1D and 2D Allen–Cahn equations
(non-linear PDEs). Std-PINNs are first applied to linear problems to evaluate their baseline performance. To address the limitations
of std-PINNs in nonlinear settings, a backward-compatible PINN (bc-PINN) framework is implemented, which decomposes the
temporal domain into smaller segments and enforces solution continuity across these segments. The results reveal that std-PINNs
achieve high accuracy for simple linear problems but fail to capture the dynamics of nonlinear equations, such as the Allen–Cahn
equation. By contrast, bc-PINNs significantly improve prediction accuracy and stability on nonlinear and time-dependent PDEs,
successfully approximating complex solution behaviors. These findings demonstrate the effectiveness of bc-PINNs as a robust
extension of std-PINNs for solving challenging differential equations.