Skip to main content
QUICK REVIEW

[Paper Review] Numerical comparisons between Gauss-Legendre methods and Hamiltonian BVMs defined over Gauss points

Luigi Brugnano, Felice Iavernaro|arXiv (Cornell University)|Feb 14, 2010
Numerical methods for differential equationsMathematics6 citations
TL;DR

This paper introduces Hamiltonian Boundary Value Methods (HBVMs), a class of energy-preserving numerical integrators for polynomial Hamiltonian systems, which generalize Gauss-Legendre collocation methods by enforcing extended collocation conditions to exactly conserve the Hamiltonian. Unlike standard Gauss methods that only preserve quadratic Hamiltonians, HBVMs maintain energy conservation for arbitrary polynomial degrees, as demonstrated by numerical experiments showing machine-precision Hamiltonian invariance even with large stepsizes, while Gauss methods accumulate energy errors that require smaller steps or higher orders to reduce.

ABSTRACT

Hamiltonian Boundary Value Methods are a new class of energy preserving one step methods for the solution of polynomial Hamiltonian dynamical systems. They can be thought of as a generalization of collocation methods in that they may be defined by imposing a suitable set of extended collocation conditions. In particular, in the way they are described in this note, they are related to Gauss collocation methods with the difference that they are able to precisely conserve the Hamiltonian function in the case where this is a polynomial of any high degree in the momenta and in the generalized coordinates. A description of these new formulas is followed by a few test problems showing how, in many relevant situations, the precise conservation of the Hamiltonian is crucial to simulate on a computer the correct behavior of the theoretical solutions.

Motivation & Objective

  • To develop numerical methods that exactly preserve the Hamiltonian function for polynomial Hamiltonian systems, especially when the Hamiltonian is of high degree.
  • To address the limitation of classical Gauss-Legendre collocation methods, which only conserve quadratic Hamiltonians and fail for higher-degree polynomials.
  • To demonstrate that energy preservation is crucial for correctly simulating long-term dynamics, particularly near the boundary of the period annulus.
  • To compare HBVMs with Gauss-Legendre methods in terms of energy conservation accuracy and orbital fidelity over long integration intervals.
  • To validate that HBVMs can locate the boundary of the period annulus with machine precision, while Gauss methods introduce significant energy drift.

Proposed method

  • HBVMs are constructed using a discrete line integral formulation that generalizes the continuous line integral of conservative vector fields.
  • The method enforces extended collocation conditions on a polynomial path in phase space, ensuring the discrete energy integral vanishes exactly.
  • Orthonormal polynomials based on shifted Legendre polynomials are used to define the basis for the discrete solution path.
  • The method is implemented as a BVM with $k$ silent stages and $s$ stages, where $k \geq 2s-1$ ensures exact Hamiltonian conservation for polynomials of degree up to $2k-1$.
  • The solution is advanced by solving a nonlinear system derived from the extended collocation conditions, preserving the Hamiltonian exactly.
  • The method is compared to Gauss-Legendre methods by integrating the same Hamiltonian system with identical stepsize and tolerance, measuring energy error and orbital accuracy.

Experimental results

Research questions

  • RQ1Can a numerical method be designed to exactly conserve the Hamiltonian for polynomial Hamiltonians of arbitrary degree, not just quadratic ones?
  • RQ2How does the energy conservation performance of HBVMs compare to that of Gauss-Legendre methods when integrating systems with high-degree polynomial Hamiltonians?
  • RQ3What impact does energy drift have on the long-term behavior of numerical orbits, particularly near the boundary of the period annulus?
  • RQ4Can HBVMs locate the boundary of the period annulus with machine precision, regardless of stepsize or order?
  • RQ5Does the precise conservation of energy by HBVMs lead to more accurate and stable orbital trajectories than Gauss methods, especially in regions with saddle points?

Key findings

  • HBVMs of order 4, 6, 8, and 10 (with $k=5,8,10,13$ and $s=2,3,4,5$) computed the boundary point of the period annulus with relative energy error $\leq 4.6 \times 10^{-16}$, achieving machine precision.
  • In contrast, Gauss methods (HBVM($s$,$s$)) exhibited relative energy errors of up to $2.15 \times 10^{-2}$ with $h=1$, which decreased only with smaller steps or higher orders.
  • The numerical orbit computed by HBVM(5,2) passed precisely through the saddle point $P_1$, while the Gauss method of the same order produced a visibly irregular orbit due to energy drift.
  • Even small Hamiltonian errors in Gauss methods led to noticeable orbital irregularities near the boundary of the period annulus, as shown in Figure 11.
  • The point $y_0^{(k,s)}$ computed by HBVMs remained identical across all simulations, indicating consistent and accurate boundary detection.
  • HBVMs maintained energy conservation to machine precision regardless of stepsize ($h=1$ or $h=0.5$), while Gauss methods required stepsize reduction to improve accuracy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.