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 governed by the Laplace and Poisson equations with nonlinear temperature-dependent internal heat generation, the double pendulum via the principle of least action, and variational treatments of vibrating strings. In addition, quantum mechanical applications are presented through variational solutions of the hydrogen atom, helium atom, and a schematic nuclear model of the silicon nucleus, illustrating the breadth of the framework across classical, quantum, and nuclear physics. The approach aims to enhance conceptual understanding while simultaneously introducing students to modern computational research methodologies.
INI-VPINN: A Variational Physics-Informed Neural Network with Implicit Neumann and Interface Handling for Multi-Material Domains with Geometric Singularities
Beyond Residuals: Energy based solutions of partial differential equations using scientific machine learning
Bauhaus University Weimar(魏玛包豪斯大学);Institute of Structural Mechanics, Bauhaus University Weimar(魏玛包豪斯大学结构力学研究所);Fudan University(复旦大学);Institute of Computational Mechanics and Artificial Intelligence, Fudan University(复旦大学计算力学与人工智能研究所);Tsinghua University(清华大学);Department of Engineering Mechanics, Tsinghua University(清华大学工程力学系)
A Primer on Variational Inference for Physics-Informed Deep Generative Modelling
University of Cambridge(剑桥大学);Imperial College London(伦敦帝国理工学院);London School of Economics and Political Science(伦敦政治经济学院);The Alan Turing Institute(阿兰·图灵研究所)
Variational PINNs with tree-based integration and boundary element data in the modeling of multi-phase architected materials
New York University AD, Department of Mechanical Engineering(纽约大学阿布扎比分校机械工程系);New York University, Department of Mechanical and Aerospace Engineering, Tandon School of Engineering(纽约大学坦登工程学院机械与航空航天工程系)
Physics-Informed Long-Range Coulomb Correction for Machine-learning Hamiltonians
Key Laboratory of Computational Physical Sciences (Ministry of Education)(计算物理科学国家重点实验室(教育部));Institute of Computational Physical Sciences(计算物理科学研究院);State Key Laboratory of Surface Physics(表面物理国家重点实验室);Department of Physics, Fudan University, Shanghai, 200433, China.(复旦大学物理系,上海,200433,中国)
Variational inference in neural functional prior using normalizing flows: Application to differential equation and operator learning problems
基于物理学的深度学习最近已经成为利用观测数据和可用物理定律的有效工具。物理信息神经网络(PINN)和深度算子网络(DeepONets)是两个这样的模型。前者通过自动微分对物理定律进行编码,后者从数据中学习隐藏的物理规律。通常,噪声和有限的观测数据以及神经网络(NN)中的过度参数化会导致深度学习模型预测的不确定性。在[1]中,提出了一种基于{生成对抗网络}(GAN)的贝叶斯框架,作为量化PINN和DeepONets预测中的不确定性的统一模型。具体来说,[1]中提出的方法有两个阶段:(1)先验学习,和(2)后验估计。在第一阶段,使用GANs从规定的函数分布(例如,高斯过程,或从历史数据和可用的物理。在第二阶段,利用Hamilton Monte Carlo(HMC)方法估计GANs的潜在空间中的后验。然而,香草HMC不支持小批量训练,这限制了它在大数据问题中的应用。在目前的工作中,我们建议在变分推理的背景下使用归一化流(NF)模型,这自然能够实现小批量训练,作为HMC在GANs的潜在空间中进行后验估计的替代方案。一系列的数值实验,包括一个非线性微分方程问题和一个100维达西问题,进行了证明,NF与全/小批量训练能够达到类似的精度作为“黄金规则”的HMC。
Addressing the ground state of the deuteron by physics-informed neural networks
Università degli studi di Milano(米兰大学);International Centre for Theory of Quantum Technologies, University of Gdansk(格但斯克大学量子技术理论国际中心);INFN, Sezione di Milano(意大利国家核物理研究所米兰分部)
Bayesian Reasoning for Physics Informed Neural Networks
Institute for Theoretical Physics, University of Wroc aw(沃拉夫大学理论物理研究所);Institute of Low Temperature and Structure Research(低温与结构研究所);Polish Academy of Sciences(波兰科学院)