Fractional HBVMs for FDEs
- FHBVMs are spectrally accurate numerical integrators for fractional differential equations, using polynomial-based approximations and robust memory management.
- They employ Jacobi polynomial expansions and a Runge–Kutta-type formulation to achieve rigorous stability, convergence, and energy conservation.
- MATLAB implementations (fhbvm and fhbvm2) demonstrate superior performance over classical solvers by reducing computational cost and handling multi-order systems efficiently.
Fractional Hamiltonian Boundary Value Methods (FHBVMs) are a class of spectrally accurate, step-by-step numerical integrators for initial value problems (IVPs) of fractional differential equations (FDEs), generalizing the Hamiltonian Boundary Value Methods (HBVMs) to the fractional-order setting. FHBVMs admit an efficient Runge–Kutta-type structure leveraging Jacobi polynomial expansions and are implemented in MATLAB codes such as fhbvm and fhbvm2. These methods efficiently solve both single-order and multi-order FDEs, with rigorous stability and convergence properties and demonstrated superior performance over classical fractional solvers (Brugnano et al., 2024, Brugnano et al., 22 Mar 2025, Brugnano et al., 4 Dec 2025, Brugnano et al., 2024).
1. Problem Class, Fractional Calculus, and Integral Reformulation
FHBVMs target systems of Caputo-type FDEs of the general form
where denotes the Caputo derivative of order , , and is sufficiently smooth. The Caputo derivative admits the integral representation
with the equivalent Volterra–Riemann–Liouville integral form for the solution,
This integral form is critical for the polynomial-based approximation central to FHBVMs (Brugnano et al., 2024, Brugnano et al., 22 Mar 2025, Brugnano et al., 4 Dec 2025, Brugnano et al., 2024).
2. Method Derivation: Jacobi Expansions and Stepwise Discretization
On each interval , the right-hand side is projected onto an orthonormal Jacobi basis for , with weight : The approximate solution then satisfies, after inverting the fractional integral,
where and encodes the initial data (Brugnano et al., 2024, Brugnano et al., 22 Mar 2025, Brugnano et al., 4 Dec 2025).
To close the system, the integrals are computed by Gauss–Jacobi quadrature of order $2k$ at nodes : The FHBVM scheme then yields a nonlinear system for and, consequently, for the stage values .
This construction accommodates the memory effect inherently in FDEs by maintaining history terms, and can be naturally extended to graded meshes for handling initial weak singularity, or mixed graded–uniform meshes for solutions exhibiting both early-time singularity and long-time oscillations (Brugnano et al., 2024, Brugnano et al., 22 Mar 2025, Brugnano et al., 2024).
3. Runge–Kutta Formulation and Theoretical Properties
The FHBVM(k, s) scheme admits a Runge–Kutta-type structure: where , , involves the integrals of Jacobi polynomials at Gauss–Jacobi nodes, and are the quadrature weights. The spectral expansion enables spectral (in ) and geometric (in ) accuracy.
Key properties include:
- Convergence: For sufficiently regular , global error on a uniform mesh is , while, for graded meshes , , with the last graded step (Brugnano et al., 22 Mar 2025).
- Stability: The linear stability function,
with , admits A-stability; the stability region contains the Mittag–Leffler sector , and as , the discrete stability region approaches the continuous one (Brugnano et al., 22 Mar 2025, Brugnano et al., 4 Dec 2025).
- Energy Conservation: For Hamiltonian FDEs with skew-symmetric , FHBVMs inherit discrete Hamiltonian conservation for polynomial of degree up to spectral error (Brugnano et al., 2024, Brugnano et al., 4 Dec 2025).
- Short Memory: Old history vectors can be discarded once their effect decays, reducing memory cost (Brugnano et al., 2024).
4. Mesh Strategies and Implementation: MATLAB Codes fhbvm, fhbvm2
Implementation is provided in MATLAB codes fhbvm (Brugnano et al., 2024, Brugnano et al., 2024) and fhbvm2 (Brugnano et al., 22 Mar 2025), both available at https://people.dimai.unifi.it/brugnano/fhbvm/. The codes perform the following steps:
- Automatically select mesh: uniform, graded (, for ), or mixed graded–uniform (graded for early times, uniform elsewhere).
- Precompute Gauss–Jacobi nodes and weights, Jacobi polynomials, and quadrature integrals and history integrals .
- For each step, assemble memory terms, solve the nonlinear system for using a blended Newton iteration (or simplified Newton/traditional fixed point in multi-order case), recover stage values, and update the solution.
The codes support error estimation via mesh-doubling, memory-efficient storage, and allow the user to specify polynomial degree and quadrature order [], with practical choices , or (Brugnano et al., 2024, Brugnano et al., 2024, Brugnano et al., 22 Mar 2025).
5. Multi-Order Extension: Common Nodes via Multiple Orthogonal Polynomials
For systems with components having different fractional orders (multi-order FDEs), FHBVMs construct a single mesh with common quadrature nodes suitable for all orders. This is achieved using multiple orthogonal polynomials (MOPs): the monic degree- MOP satisfies vanishing moments up to for each Jacobi weight associated with each . The nodes (zeros of ) and corresponding barycentric weights yield quadrature formulas exact for all polynomials up to degree $2s-1$ in each component.
Implementation solves a system for all unknown Fourier coefficients via simplified Newton (for ) or blended iteration (), with precomputation of all relevant matrices (Jacobi and their fractional integrals) (Brugnano et al., 4 Dec 2025).
6. Numerical Performance and Benchmarks
Benchmarking against the MATLAB BDF2-based flmm2 and multi-order predictor–corrector and product-integration schemes, FHBVMs (typical configuration: FHBVM(22,22) or FHBVM(22,20)) yield:
- Spectral accuracy: Up to 16 digits for analytic solutions and smooth , typically within $0.05 – 0.3$ s for scalar/small system problems, even in stiff nonlinear and multi-order settings.
- Reduced nodal mesh size: Orders of magnitude fewer points compared to standard methods for comparable accuracy.
- Robust long-time simulation: Accurate phase portraits for nonlinear, oscillatory, or limit-cycle problems (e.g., fractional Brusselator) and stiff linear systems.
- Superiority in efficiency: Full machine accuracy in fractions of a second versus several seconds or minutes for flmm2 and other classical solvers, especially under mesh grading and for high-order or multi-order systems (Brugnano et al., 2024, Brugnano et al., 4 Dec 2025, Brugnano et al., 2024).
Representative Timings and Accuracies
| Problem Type | FHBVM (CPU / Accuracy) | flmm2/Other (CPU / Accuracy) |
|---|---|---|
| Nonlinear, low | 0.1s / 16 digits | 6–30s / 8–12 digits |
| Stiff linear, small | 0.8s / 10+ digits | 60-85s / 3–5 digits |
| Multi-order Predator–Prey | 22s / 12 digits | 70–600s / 4–5 digits |
7. Practical Guidelines, Extensions, and Outlook
- Parameter Selection: for spectral or near-spectral accuracy; ensures quadrature accuracy (Brugnano et al., 2024).
- Mesh Policy: Use graded mesh () in presence of endpoint singularity; mixed mesh for long-time simulations with oscillations. Allow automatic selection by the code (Brugnano et al., 2024, Brugnano et al., 22 Mar 2025).
- Solver Tolerance: Blended Newton/modified Newton provides robust convergence in $2$–$5$ iterations/step with default tolerance to (Brugnano et al., 2024).
- Short Memory Implementations: Discard very old memory coefficients in large-scale, long-time simulations (Brugnano et al., 2024).
- Extension to multi-order and large-scale systems: Multiple orthogonal polynomial quadrature and block-parallel solvers are available (Brugnano et al., 4 Dec 2025).
Future Directions include adaptive step-size and order selection, fast-memory (e.g., oblivious convolution) techniques, and further extensions to fractional-in-time PDEs (Brugnano et al., 22 Mar 2025).
FHBVMs and their variants thus provide a spectrally-accurate, memory-aware, and Hamiltonian-structure preserving framework for the numerical solution of both single-order and multi-order FDEs, with rigorous theoretical guarantees and demonstrated computational superiority across canonical and challenging fractional problems. MATLAB codes are available at https://people.dimai.unifi.it/brugnano/fhbvm/ (Brugnano et al., 2024, Brugnano et al., 22 Mar 2025, Brugnano et al., 4 Dec 2025, Brugnano et al., 2024).