From Fermat's Principle to Physics-Informed Neural Networks: A Unified Computational Approach to Variational Physics
Aman Razdan, Aditya Shankar Mazumdar, Amit Tanwar, Pragati Ashdhir

TL;DR
This paper introduces a computational approach to variational physics using neural networks and modern tools, making complex concepts accessible and engaging for undergraduate students across various physics domains.
Contribution
It presents a unified, pedagogically oriented framework integrating neural networks and computational tools to teach variational principles in physics.
Findings
Demonstrates classical variational problems solved with PINNs
Extends the approach to quantum and nuclear physics applications
Enhances conceptual understanding through computational methods
Abstract
Variational principles are a unifying mathematical framework across many areas of physics, yet their instruction at the undergraduate level remains primarily analytical. This work presents a pedagogically oriented and computationally enhanced approach to variational modeling that integrates contemporary tools including gradient descent, automatic differentiation, and Physics-Informed Neural Networks (PINNs). Classical variational problems are reformulated as optimization tasks and implemented using open-source Python libraries such as NumPy, Matplotlib, PyTorch, and JAX. The proposed approach is demonstrated through a progression of problems drawn from standard undergraduate curricula, including the derivation of Snell's law from Fermat's principle, projectile motion with and without viscous drag, simple harmonic motion, nonlinear pendulum with damping, steady-state heat conduction…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning in Materials Science · Model Reduction and Neural Networks · Computational Physics and Python Applications
