Skip to Content
MathematicsMathematics
  • Article
  • Open Access

25 February 2026

34 Pages

An Enhanced Rothe–Jacobi Spectral Algorithm for Hyperbolic Telegraphic Models with Variable Coefficients: Balancing Temporal and Spatial Convergence

Department of Mathematics, Faculty of Technology and Education, Capital (Formerly Helwan) University, Cairo 11281, Egypt
This article belongs to the Section E4: Mathematical Physics

Abstract

This study introduces a high-order numerical scheme for solving 1D second-order hyperbolic telegraph equations (HTEs) with variable coefficients. We employ a generalized temporal discretization (TD) of order p via the Rothe approach, combined with a spatial spectral collocation (SCM) method using generalized shifted Jacobi polynomials (GSJPs). By utilizing a Galerkin-type basis that structurally satisfies homogeneous boundary conditions (HBCs)—including Dirichlet or Neumann types—we achieve a global error bound of O ( ( Δ τ ) p + N − s ) , where Δ τ denotes the temporal step size and s represents the spatial regularity of the exact solution (ExaS). The proposed algorithm, Rothe-GSJP, allows for an optimal balance between the temporal and spatial parameters, minimizing computational effort for high-precision engineering applications such as Phase-Locked Loop (PLL) modeling. Numerical experiments performed on an i9-10850 workstation show that the scheme always reaches the machine precision floor of 10 − 16 . While the framework supports temporal orders up to p = 6 , the results indicate that p ∈ { 2 , 3 , 4 } provides an optimal balance between high-order precision and absolute stability. The Rothe-GSJP method proves to be a robust, efficient, and highly accurate alternative to traditional solvers for hyperbolic systems.

1. Introduction

The numerical treatment of the HTE with variable coefficients is a crucial research domain owing to its significant applications in modeling signal propagation, particularly in PLL circuits and non-uniform transmission lines [1,2]. These models can describe damped wave phenomena where parameters like damping and propagation speed change over time and space. They are a basic model for a wide range of phenomena, from digital signal propagation in dispersive media [3] to biological random walk theories [4,5]. In contemporary engineering, the existence of variable coefficients—indicative of space–time dependent damping and diffusion—constitutes a physical reality necessitating high-precision numerical analysis [6].
For the numerical framework, this research employs the Rothe method for the time discretization of the governing hyperbolic system [7]. The main reason for using this semi-discretization method, as explained in [8], is that it can turn the time-dependent partial differential equation into a series of second-order boundary value problems (BVPs) that are not connected. By discretizing time first, the spatial variable x stays continuous during the initial phase of the algorithm. This makes it possible to use high-precision spectral methods later. Traditional finite difference schemes often depend on local grid approximations [9,10], but the hybrid Rothe–spectral strategy used here obtains better results by using the global approximation properties of orthogonal polynomials [11,12]. This method is great for modeling systems with variable coefficients [13,14,15], and it makes sure that the complex signal dynamics that are common in PLL applications are captured with high fidelity.
The mathematical model under investigation in this study is the following second-order HTE [16]:
∂ 2 μ ∂ τ 2 + 2 a ( x , τ ) ∂ μ ∂ τ + b 2 ( x , τ ) μ = c ( x , τ ) ∂ 2 μ ∂ x 2 + f ( x , τ ) , ( x , τ ) ∈ Ω ,
where Ω = ( 0 , L ) × ( 0 , T ] , while a ( x , τ ) , b 2 ( x , τ ) , and c ( x , τ ) are known functions representing damping, restoration, and propagation speed, respectively, and f ( x , τ ) is the external forcing term. The following conditions are associated with this equation. The initial conditions (ICs),
μ ( x , 0 ) = h 0 ( x ) , ∂ μ ∂ τ ( x , 0 ) = h 1 ( x ) , x ∈ [ 0 , L ] ,
subject to either the Dirichlet boundary conditions (DBCs),
μ ( 0 , τ ) = g 0 ( τ ) , μ ( L , τ ) = g L ( τ ) , τ ∈ [ 0 , T ] ,
or the Neumann boundary conditions (NBCs) [17],
∂ μ ∂ x ( 0 , τ ) = g 0 ( τ ) , ∂ μ ∂ x ( L , τ ) = g L ( τ ) , τ ∈ [ 0 , T ] ,
where h 0 ( x ) , h 1 ( x ) and g 0 ( τ ) , g L ( τ ) are known smooth functions.
In our recently published work [15], a hybrid Rothe–spectral algorithm was developed for variable-coefficient telegraph models using Shifted Modified Chebyshev Polynomials. That study demonstrated a uniform convergence of order O ( Δ τ + R − 3 ) , where R denotes the number of basis functions. While successful, the framework was restricted to a first-order Rothe approach, yielding a local error estimation (LEE) bounded by O ( Δ τ ) . This reliance on linear temporal convergence necessitates excessively small time steps to maintain precision in high-frequency applications, such as PLL synchronization, where TD often becomes the primary accuracy bottleneck [18,19].
Building on this groundwork, the primary contribution of our study is the introduction of the Rothe-GSJP method. This framework is designed to enforce a strict equipartition of error between the temporal order p and the spatial spectral resolution N. A frequent pitfall in traditional solvers is the misallocation of computational resources, where over-refining one dimension fails to yield improvements because global accuracy remains bottlenecked by the other [18]. The Rothe-GSJP framework bypasses this limitation by offering a more synchronized approach. By leveraging the spectral efficiency of GSJPs [20,21] alongside a variable-order temporal discretization, we show that the global error—formally defined as ∥ E N , H ∥ ∞ = O ( ( Δ τ ) p + N − s ) —can be systematically minimized through a deliberate selection of parameters. In this expression, E N , H accounts for the error across N spatial basis functions and H temporal subintervals, while s reflects the underlying regularity of the exact solution, which ultimately dictates the rate of spectral convergence [22]. By aligning exponential spatial decay with a high-order temporal stencil [23], this strategy captures high-frequency phase dynamics with maximum fidelity while maintaining a remarkably light computational footprint.
Specifically, the current Rothe-GSJP method introduces several distinct computational benefits and original contributions for addressing variable-coefficient hyperbolic systems:
(1)
Adaptability to Non-Homogeneous Media: In contrast to traditional techniques limited to simplified constant-coefficient equations, the present scheme is engineered to handle space–time-dependent parameters. This ensures its utility in modeling sophisticated physical phenomena where damping and propagation speeds are non-uniform.
(2)
Synergistic High-Order Discretization: By merging the temporal robustness of the Rothe method with the spatial precision of GSJPs via the SCM, the algorithm creates a powerful hybrid. This allows for superior flexibility, as the Jacobi indices can be tuned to optimize the spectral representation of the solution.
(3)
Comprehensive Convergence Framework: This research provides a rigorous mathematical foundation for the algorithm’s stability. We establish that the numerical approximation converges uniformly across L ∞ and weighted L ω 2 spaces, yielding p-order temporal reliability and characteristic spectral spatial decay.
(4)
Enhanced Computational Efficiency: A significant breakthrough of this approach is its resilience at increased time step intervals. By maintaining high-fidelity results with larger Δ τ , the method offers a more efficient alternative to conventional solvers that typically require excessively fine grids to avoid divergence.
(5)
Numerical Robustness Across Boundary Types: The reliability of the Rothe-GSJP solver is confirmed via diverse test cases. The results verify that the algorithm seamlessly manages varying boundary constraints, including DBCs and NBCs, without the typical oscillations or instabilities associated with high-order methods.
The remainder of this paper is organized as follows: Section 2 introduces the fundamental properties of the GSJPs. Section 3 presents the operational matrices (OMs) for the derivatives of the GSJPs. The TD, utilizing a high-order Rothe procedure, is detailed in Section 4, which includes a discussion on the derivation of initial states using both practical and theoretical initialization techniques. The integrated Rothe-GSJP algorithm is finalized in Section 5, addressing spectral discretization for homogeneous and inhomogeneous DBCs and NBCs, alongside the formulation of the global approximate solution (AppS). In Section 6, a rigorous theoretical framework for error estimation and convergence analysis is provided, covering temporal consistency, spatial approximation in weighted Sobolev spaces, and the unified fully discrete error estimate. Finally, the numerical efficiency and machine-level precision of the scheme are demonstrated through simulations in Section 7, followed by the concluding remarks in Section 8.

2. Properties of Generalized Shifted Jacobi Polynomials (JPs)

This section primarily aims to introduce the basic characteristics of JPs and their shifting form. The orthogonal JPs P n ( ϱ 1 , ϱ 2 ) ( ξ ) , ϱ 1 , ϱ 2 > − 1 satisfy [11]
∫ − 1 1 w ϱ 1 , ϱ 2 ( ξ ) P n ( ϱ 1 , ϱ 2 ) ( ξ ) P m ( ϱ 1 , ϱ 2 ) ( ξ ) d ξ = 0 , m ≠ n , h n ( ϱ 1 , ϱ 2 ) , m = n ,
where w ϱ 1 , ϱ 2 ( ξ ) = ( 1 − ξ ) ϱ 1 ( 1 + ξ ) ϱ 2 and h n ( ϱ 1 , ϱ 2 ) = 2 λ Γ ( n + ϱ 1 + 1 ) Γ ( n + ϱ 2 + 1 ) n ! ( 2 n + λ ) Γ ( n + λ ) ; λ = ϱ 1 + ϱ 2 + 1 .
The shifted JPs on [ 0 , L ] , defined as P L , n ( ϱ 1 , ϱ 2 ) ( x ) = P n ( ϱ 1 , ϱ 2 ) ( 2 x / L − 1 ) , satisfy
∫ 0 L w L ϱ 1 , ϱ 2 ( x ) P L , n ( ϱ 1 , ϱ 2 ) ( x ) P L , m ( ϱ 1 , ϱ 2 ) ( x ) d x = 0 , m ≠ n , L 2 λ h n ( ϱ 1 , ϱ 2 ) , m = n ,
where w L ϱ 1 , ϱ 2 ( x ) = ( L − x ) ϱ 1 x ϱ 2 . The GSJPs are defined as [24]
ϕ p , q , L , j ( ϱ 1 , ϱ 2 ) ( x ) = x p ( L − x ) q P L , j ( ϱ 1 , ϱ 2 ) ( x ) , p , q = 0 , 1 , 2 , … ,
which satisfy the orthogonal relation
∫ 0 L w L ϱ 1 , ϱ 2 ( x ) x 2 p ( L − x ) 2 q ϕ p , q , L , i ( ϱ 1 , ϱ 2 ) ( x ) ϕ p , q , L , j ( ϱ 1 , ϱ 2 ) ( x ) d x = 0 , i ≠ j , L 2 λ h i ( ϱ 1 , ϱ 2 ) , i = j .
To address the HBCs associated with DBCs and NBCs, we introduce two specialized classes of polynomials:
(1)
For the homogeneous case of DBC (3),    φ L , j ( ϱ 1 , ϱ 2 ) ( x ) = ϕ 1 , 1 , L , j ( ϱ 1 , ϱ 2 ) ( x ) ;    j = 0 , 1 , 2 , … ,
(2)
For the homogeneous case of NBC (4),
ψ 0 , L ( ϱ 1 , ϱ 2 ) ( x ) = 1 and ψ k , L ( ϱ 1 , ϱ 2 ) ( x ) = ( x 2 + A k x + B k ) P k , L ( ϱ 1 , ϱ 2 ) ( x ) ; k = 1 , 2 , … ,
where
A k = − L k 2 + k + ( k + 2 ) ϱ 1 + ϱ 2 k + 2 k 2 + k + ( k + 1 ) ϱ 1 + ( k + 1 ) ϱ 2 + 2 , B k = − ϱ 2 + 1 L 2 k 2 + ϱ 2 k + θ 1 ( k + 2 ) + k + 2 k ϱ 1 + ϱ 2 + k + 1 k 2 + k + ϱ 1 ( k + 1 ) + ϱ 2 ( k + 1 ) + 2 .
This class (for k ≥ 1 ) is a specialization of the framework developed by Ahmed [25] (pp. 4–5) (using a = 0 , b = L , β 1 = γ 1 = 0 ,  and  β 2 = γ 2 = 1 ).

3. Operational Matrices of Derivatives of Basis Polynomials

This section presents the OMs for Ods related to the two vectors
φ N , L ( ϱ 1 , ϱ 2 ) ( x ) = [ φ 0 , L ( ϱ 1 , ϱ 2 ) ( x ) , φ 1 , L ( ϱ 1 , ϱ 2 ) ( x ) , … , φ N , L ( ϱ 1 , ϱ 2 ) ( x ) ] T ,
and
Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) = [ ψ 0 , L ( ϱ 1 , ϱ 2 ) ( x ) , ψ 1 , L ( ϱ 1 , ϱ 2 ) ( x ) , … , ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) ] T .
First, the following two main theorems provide the Ods of φ L , i ( ϱ 1 , ϱ 2 ) ( x ) and ψ L , i ( ϱ 1 , ϱ 2 ) ( x ) .
Theorem 1
([26]). D x φ L , i ( ϱ 1 , ϱ 2 ) ( x ) , for all i ≥ 0 , has the form
D x φ L , i ( ϱ 1 , ϱ 2 ) ( x ) = ∑ j = 0 i − 1 Ω i , j ϱ 1 , ϱ 2 ( L ) φ L , j ( ϱ 1 , ϱ 2 ) ( x ) + ϑ L , i ( x ) ,
where ϑ L , i ( x ) = 1 i ! ( ( − 1 ) i ( L − x ) ( ϱ 2 + 1 ) i − ( ϱ 1 + 1 ) i x ) , and
Ω i , j ϱ 1 , ϱ 2 ( L ) = θ i , j ϱ 1 , ϱ 2 ( 1 , L ) + Υ i , j ϱ 1 , ϱ 2 ( L ) ,
where θ i , j ϱ 1 , ϱ 2 ( 1 , L ) and Υ i , j ϱ 1 , ϱ 2 ( L ) are defined in [26] (Equations (16) and (28)).
Theorem 2 is a special case of Theorem 1 in Ahmed [25] (using a = 0 , b = L , β 1 = γ 1 = 0 ,  and  β 2 = γ 2 = 1 ) which results in D x ψ n , L ( ϱ 1 , ϱ 2 ) ( x ) for all n ≥ 0 .
Theorem 2
([25]). D x ψ n , L ( ϱ 1 , ϱ 2 ) ( x ) for all n ≥ 0 , can be represented as
D x ψ n , L ( ϱ 1 , ϱ 2 ) ( x ) = ∑ j = 0 n − 1 a j ( n ) ψ j , L ( ϱ 1 , ϱ 2 ) ( x ) + ϵ n , L ( x ) , ϵ n , L ( x ) = e 1 , L ( n ) x + e 0 , L ( n ) ,
where a 0 ( n ) , a 1 ( n ) , … , a n − 1 ( n ) , are given by solving the system
G n a n = B n ,
where a n = [ a 0 ( n ) , a 1 ( n ) , … , a n − 1 ( n ) ] T G n = ( g i , j ( n ) ) 0 ≤ i , j ≤ n − 1 is an upper triangular matrix, and B n = [ b 0 ( n ) , b 1 ( n ) , … , b n − 1 ( n ) ] T . The elements of G n and B n are defined as follows:
g i , j ( n ) = D x i + 2 ψ n , L ( ϱ 1 , ϱ 2 ) ( 0 ) i ≤ j , 0 , otherwise , , b i ( n ) = D x i + 2 ψ n , L ( ϱ 1 , ϱ 2 ) ( 0 ) .
In addition, e 0 ( n ) and e 1 ( n ) are given by
e 0 , L ( n ) = D x ψ n , L ( ϱ 1 , ϱ 2 ) ( 0 ) − ∑ j = 0 n − 1 a j ( n ) ψ j , L ( ϱ 1 , ϱ 2 ) ( 0 ) , e 1 , L ( n ) = D x 2 ψ n , L ( ϱ 1 , ϱ 2 ) ( 0 ) − ∑ j = 0 n − 1 a j ( n ) D x ψ j , L ( ϱ 1 , ϱ 2 ) ( 0 ) . }
Now, the OM for Ods of φ N , L ( ϱ 1 , ϱ 2 ) ( x ) and Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) are provided in Corollaries 1 and 2.
Corollary 1.
D x m φ L , N ( ϱ 1 , ϱ 2 ) ( x ) has the following expression:
D x φ N , L ( ϱ 1 , ϱ 2 ) ( x ) = H N φ N , L ( ϱ 1 , ϱ 2 ) ( x ) + ϑ N , L ( x ) , D x m φ N , L ( ϱ 1 , ϱ 2 ) ( x ) = H N m φ N , L ( ϱ 1 , ϱ 2 ) ( x ) + δ N , L ( m ) ( x ) , m ≥ 2 , }
with δ N , L ( m ) ( x ) = H N m − 1 ϑ N , L ( x ) + H N m − 2 ϑ N , L ′ ( x ) , where ϑ N , L ( x ) = ϑ L , 0 ( x ) , ϑ L , 1 ( x ) , … , ϑ L , N ( x ) T , H N = h i , j 0 ≤ i , j ≤ N , and
h i , j = Ω i , j α ^ , β ^ ( L ) , i > j , 0 , otherwise .
Corollary 2.
D x m Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) has the expression
D x Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) = M N Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) + ϵ N , L ( x ) , D x m Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) = M N m Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) + η N , L ( m ) ( x ) , m ≥ 2 , }
with η N , L ( m ) ( x ) = M N m − 1 ϵ N , L ( x ) + M N m − 2 ϵ N , L ′ ( x ) , where ϵ N , L ( x ) = ϵ 0 , L ( x ) , ϵ 1 , L ( x ) , … , ϵ N , L ( x ) T and M N = m i , j 0 ≤ i , j ≤ N ;
m i , j = a j ( i ) , i > j , 0 , otherwise .

4. Time Advancement Technique: The Rothe Procedure

In this section, we introduce a time advancement scheme to discretize the HTE (1). We utilize the Rothe method, a technique for semi-discretization with respect to time.
Let { τ h } h = 0 H represent a division of [ 0 , T ] into H equally spaced subintervals, where each subinterval is denoted as I h : = [ τ h − 1 , τ h ] . The time step is Δ τ = T / H and the sequence of grid nodes is as follows:
τ 0 = 0 < τ 1 = Δ τ < ⋯ < τ H = H Δ τ = T .
We denote the numerical solution (NumS) at time level τ h as μ h ( x ) ≈ μ ( x , τ h ) . The Rothe algorithm replaces time derivatives at τ h with the following generalized difference formulae of order p ≥ 1 :
∂ μ ∂ τ | τ = τ h ≈ 1 Δ τ ∑ j = 0 p + 1 α j μ h − j ( x ) ,
and, for the second-order time derivative,
∂ 2 μ ∂ τ 2 | τ = τ h ≈ 1 Δ τ 2 ∑ j = 0 p + 1 β j μ h − j ( x ) ,
where the coefficients α j and β j are the Backward Differentiation Formula (BDF) weights [27]. To determine these constants explicitly, we introduce a local dimensionless variable t = ( τ − τ h − 1 ) / Δ τ . The weights are obtained by evaluating the derivatives of the Lagrange basis polynomials at the target node t = 1 :
α j = d d t ∏ m = 0 , m ≠ j p + 1 t − ( 1 − m ) j − m t = 1 , β j = d 2 d t 2 ∏ m = 0 , m ≠ j p + 1 t − ( 1 − m ) j − m t = 1 .
To ensure the mathematical consistency of the system while allowing previously established models to be recovered as special cases (see [15]), we impose the constraint α p + 1 = 0 . This condition facilitates a direct link between the current generalized framework and lower-order approximations.
In addition, we define the spatial second-order derivative at the current time level as μ h ″ ( x ) : = ∂ 2 μ ∂ x 2 ( x , τ h ) . To facilitate the derivation, we introduce the following notations for the variable coefficients and the source term:
a h ( x ) : = a ( τ h , x ) , b h ( x ) : = b ( τ h , x ) , c h ( x ) : = c ( τ h , x ) , f h ( x ) : = f ( τ h , x ) .
By substituting the temporal approximations (18) and (19) into the governing equation and multiplying the entire expression by Δ τ 2 , we derive a sequence of linear second-order BVPs for each time step h = 1 , 2 , … , H :
ξ h , 1 ( x ) μ h ″ ( x ) + ξ h , 2 ( x ) μ h ( x ) = ψ h ( x ) , x ∈ [ 0 , L ] ,
subject to DBC or NBC:
μ h ( 0 ) = g 0 h , μ h ( L ) = g L h , or μ h ′ ( 0 ) = g 0 h , μ h ′ ( L ) = g L h .
The functional coefficients defining the BVP are given by
ξ h , 1 ( x ) : = Δ τ 2 c h ( x ) ,
ξ h , 2 ( x ) : = − β 0 + 2 Δ τ a h ( x ) α 0 + Δ τ 2 b h 2 ( x ) ,
ψ h ( x ) : = ∑ j = 1 p + 1 β j + 2 Δ τ a h ( x ) α j μ h − j ( x ) − Δ τ 2 f h ( x ) .
Remark 1.
The term ψ h ( x ) consolidates the influence of historical time levels and the external source term. It is important to note that the original Rothe-SMCPs method described in [15] was developed exclusively for the first-order case ( p = 1 ). By utilizing the general upper limit p + 1 and the constraint α p + 1 = 0 , our current formulation remains backward compatible with that approach. Specifically, for p = 1 , the summation recovers the three-point historical stencil:
ψ h ( x ) = − 2 1 + Δ τ a h ( x ) μ h − 1 ( x ) + μ h − 2 ( x ) − Δ τ 2 f h ( x ) .
Thus, the present framework serves as a high-order temporal generalization of the SMCPs scheme.
To initiate the iterative computation, a set of historical starting values { μ 0 ( x ) , μ − 1 ( x ) , …, μ − p ( x ) } is required to satisfy the summation limits in (26). While μ 0 ( x ) = h 0 ( x ) , the subsequent points for h < 0 are obtained via two approaches discussed below.

4.1. Derivation of Initial States Using the Practical/Standard Initialization

In this part, we consider μ ( x , τ ) ∈ C ( 2 , 2 ) ( Ω ) . The points for h < 0 are obtained via a second-order Taylor expansion centered at τ = 0 :
μ − j ( x ) = μ ( x , − j Δ τ ) ≈ μ ( x , 0 ) + ( − j Δ τ ) ∂ μ ∂ τ ( x , 0 ) + ( − j Δ τ ) 2 2 ∂ 2 μ ∂ τ 2 ( x , 0 ) , j = 1 , … , p .
By substituting the prescribed initial conditions μ ( x , 0 ) = h 0 ( x ) , ∂ μ ∂ τ ( x , 0 ) = h 1 ( x ) , and μ τ , 0 ″ ( x ) = ∂ 2 μ ∂ τ 2 ( x , 0 ) , Equation (28) becomes
μ − j ( x ) ≈ h 0 ( x ) − ( j Δ τ ) h 1 ( x ) + ( j Δ τ ) 2 2 μ τ , 0 ″ ( x ) .
This procedure ensures that the historical states are physically consistent, preserving O ( Δ τ 3 ) local accuracy during the starting phase.

4.2. Derivation of Initial States Using the Theoretical/High-Order Initialization

If the ExaS and initial data satisfy higher-order smoothness μ ∈ C ( p + 1 , p + 1 ) ( Ω ) , the initialization is generalized via a p-th-order Taylor expansion:
μ − j ( x ) ≈ ∑ k = 0 p ( − j Δ τ ) k k ! μ τ , 0 ( k ) ( x ) , j = 1 , … , p ,
where μ τ , 0 ( k ) ( x ) = ∂ k μ ∂ τ k τ = 0 are the temporal derivatives of the solution at the origin. While μ τ , 0 ( 0 ) = h 0 ( x ) and μ τ , 0 ( 1 ) = h 1 ( x ) are provided by the initial conditions, the higher-order derivatives for k ≥ 2 must be extracted from the governing PDE (1).
Lemma 1.
The temporal derivatives μ τ , 0 ( j ) ( x ) for j = 2 , 3 , … , p can be determined recursively via
μ τ , 0 ( j ) = 1 c 0 ∂ 2 ∂ x 2 μ τ , 0 ( j − 2 ) + f τ , 0 ( j − 2 ) − S c − S a − S b ,
where the Leibniz-derived summations are
S c = ∑ k = 1 j − 2 j − 2 k c τ , 0 ( k ) μ τ , 0 ( j − k ) , S a = 2 ∑ k = 0 j − 2 j − 2 k a τ , 0 ( k ) μ τ , 0 ( j − k − 1 ) , S b = ∑ k = 0 j − 2 j − 2 k ( b 2 ) τ , 0 ( k ) μ τ , 0 ( j − k − 2 ) .
Proof. 
Applying the operator ∂ j − 2 ∂ τ j − 2 to the governing PDE and utilizing the General Leibniz Rule,
( u v ) ( n ) = ∑ k = 0 n n k u ( k ) v ( n − k ) ,
we expand each product term. We evaluate at τ = 0 and isolate the μ τ , 0 ( j ) results in (31).    □
This procedure preserves O ( ( Δ τ ) p + 1 ) local accuracy, perfectly matching the temporal stencil and preventing the degradation of the global O ( ( Δ τ ) p ) convergence.

5. Spatial Resolution: Completing the Rothe-GSJP Algorithm

The primary objective of this section is to complete the proposed numerical framework by solving the sequence of linear second-order BVPs (22) derived in Section 4. By employing the GSJPs as a spatial basis, we transform the continuous differential equations into a series of algebraic systems. This section details the spectral discretization process, partitioned into the native homogeneous case and the generalized inhomogeneous scenario.

5.1. Spectral Discretization for Homogeneous Boundary Conditions

In this section, we present a unified framework to solve the system of BVPs under both Dirichlet and Neumann as the HBCs. The AppS μ h ( x ) at each time level h = 1 , 2 , … , H , is expressed as a spectral expansion, as follows:
μ h ( x ) ≈ μ h , N ( x ) = ∑ j = 0 N c h , j φ j , L ( ϱ 1 , ϱ 2 ) ( x ) = C h T φ N , L ( ϱ 1 , ϱ 2 ) ( x ) , for DBC , ∑ j = 0 N c h , j ψ j , L ( ϱ 1 , ϱ 2 ) ( x ) = C h T Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) , for NBC ,
where C h = [ c h , 0 , c h , 1 , … , c h , N ] T represents the vector of unknown spectral coefficients. Corollaries 1 and 2 enable us to obtain the following approximation:
μ h ″ ( x ) ≈ μ h , N ″ ( x ) = H 2 φ N , L ( ϱ 1 , ϱ 2 ) ( x ) + δ N , L ( 2 ) ( x ) , for DBC , M N 2 Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) + η N , L ( 2 ) ( x ) , for NBC .
By substituting the approximations (32) and (33) into the BVP system (22), we define the residual of the equation R e s h ( x ) as
R e s h ( x ) = ξ h , 1 ( x ) ( H 2 φ N , L ( ϱ 1 , ϱ 2 ) ( x ) + δ N , L ( 2 ) ( x ) ) + ξ h , 2 ( x ) C h T φ N , L ( ϱ 1 , ϱ 2 ) ( x ) − ψ h ( x ) , for DBC , ξ h , 1 ( x ) ( M 2 Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) + η N , L ( 2 ) ( x ) ) + ξ h , 2 ( x ) C h T φ N , L ( ϱ 1 , ϱ 2 ) ( x ) − ψ h ( x ) , for NBC .
To determine the NumS, we employ a spectral collocation approach. The residual R e s h ( x ) is constrained to vanish at N + 1 collocation points { x i } i = 0 N , which are chosen as the zeros of the Shifted Jacobi Polynomial P L , N + 1 ( ϱ 1 , ϱ 2 ) ( x ) . This results in a system of N + 1 algebraic equations for the coefficients C h at each time level h:
R e s h ( x i ) = 0 , i = 0 , 1 , … , N .
Solving this linear system yields the coefficients required to reconstruct the spatial profile of the signal. This strategy ensures that the boundary constraints are satisfied exactly by the basis functions while maintaining high-order accuracy in the interior domain.

5.2. Extension to Inhomogeneous Boundary Conditions

In practical engineering applications, such as transmission line modeling in PLLs, the boundary values are typically non-zero. To accommodate inhomogeneous DBCs or NBCs, we employ a lifting technique to transform the problem into a homogeneous form. The solution is decomposed as
μ h ( x ) = μ ^ h ( x ) + B h ( x ) ,
where μ ^ h ( x ) represents the homogeneous part and B h ( x ) is the boundary lifting function (LF) constructed to satisfy the inhomogeneous constraints. Depending on the boundary condition type at the current time level h, B h ( x ) is defined as follows:
  • For DBC: Given μ h ( 0 ) = g 0 h and μ h ( L ) = g L h , the LF is
    B h ( x ) = g 0 h 1 − x L + g L h x L .
  • For NBC: Given μ h ′ ( 0 ) = g 0 h and μ h ′ ( L ) = g L h , the LF is
    B h ( x ) = g 0 h x − x 2 2 L + g L h x 2 2 L .
Substituting (36) into the governing BVP yields a modified equation
ξ h , 1 ( x ) μ ^ h ″ ( x ) + ξ h , 2 ( x ) μ ^ h ( x ) = ψ ^ h ( x ) ,
where
ψ ^ h ( x ) = ψ h ( x ) − ξ h , 1 ( x ) B h ″ ( x ) − ξ h , 2 ( x ) B h ( x ) .
The final AppS then has the form
μ h , N ( x ) = μ ^ h , N ( x ) + B h ( x ) .

5.3. Global Approximate Solution

Upon completing the iterative procedure for all time levels h = 1 , 2 , … , H , the final AppS for the HTE is constructed. This solution is characterized by its piecewise nature in the temporal domain and high-order spectral continuity in the spatial domain. To maintain the machine precision floor, the BVPs (22) are resolved using a GSJP basis that satisfies HBCs at the functional level. This spatial accuracy, coupled with the p-th-order temporal discretization and its high-order initialization, ensures that neither domain acts as a bottleneck, allowing the total error to reach the 10 − 16 ceiling of double precision arithmetic as we see in the presented numerical examples.
The global approximation μ N , H ( τ , x ) over the domain Ω is defined as follows:
μ N , H ( τ , x ) = h 0 ( x ) , τ = 0 , μ h , N ( x ) , τ ∈ ( τ h − 1 , τ h ] , h = 1 , 2 , … , H ,
where the spatial component μ h , N ( x ) has the form (41), in which μ ^ h , N ( x ) is the homogeneous part obtained through the collocation of the modified BVP (39), expressed specifically as
μ ^ h , N ( x ) = C h T φ N , L ( ϱ 1 , ϱ 2 ) ( x ) , for DBC , C h T Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) , for NBC .
The proposed hybrid Rothe-GSJP method constitutes a systematic integration of temporal semi-discretization and spatial spectral resolution, as detailed in Figure 1 and illustrated in the schematic shown in Figure 2. The operational workflow of the proposed Rothe-GSJP framework is systematically encapsulated in Algorithm 1, which provides a rigorous step-by-step synthesis of the temporal marching scheme and the spatial collocation process.
Figure 1. Unified procedural flowchart of the high-order Rothe-GSJP algorithm handling both DBC and NBC.
Figure 2. Schematic representation of the Rothe method utilizing semi-discretization.
Algorithm 1 Rothe-GSJP algorithm to solve the telegraph equation subject to IBCs
Stage 1.       Given α , β , L , T , N , p , Δ τ , a , b , c , f ( x , τ ) and IBCs g 0 ( τ ) , g 1 ( τ ) , h 0 ( x ) , h 1 ( x ) .
Stage 2.       For DBCs: Define the GSJP basis φ n ( ϱ 1 , ϱ 2 ) ( x ) and the OMs H and H 2 .
                     For NBCs: Define the GSJP basis ψ j , L ( ϱ 1 , ϱ 2 ) ( x ) and the OMs M and M 2 .
Stage 3.       Apply the Rothe method for TD at levels τ h = h Δ τ :
                     1. Approximate ∂ 2 μ ∂ τ 2 and ∂ μ ∂ τ using p-th-order BDF stencils.
                     2. Linearize the PDE into a sequence of spatial BVPs for each time step h.
Stage 4.       Initialization: For p > 1 , calculate historical levels μ − j ( x ) for j = 1 , … , p − 1
                     via the Taylor expansion (30) and Lemma 1.
Stage 5.       For each time level h = 1 , 2 , … , H :
                         1. Construct the boundary lifting function B h ( x ) as per Equation (36).
                         2. Express the homogenized solution as defined in (32).
                         3. Define the residual R e s h ( x ) as in (34).
                         4. List R e s h ( x i ) = 0 , i = 0 , 1 , … , N as defined in (35).
                         5. Use Mathematica’s solver to obtain the vector C h = [ c h , 0 , c h , 1 , … , c h , N ] T .
                         6. Reconstruct the total NumS in the form:
                             μ h , N ( x ) = C h T φ N , L ( ϱ 1 , ϱ 2 ) ( x ) + B h ( x ) , for DBC , C h T Ψ N , L ( ϱ 1 , ϱ 2 ) ( x ) + B h ( x ) , for NBC .
                         7. Store the local expansion μ h , N ( x ) .
Stage 6.       End For.
Stage 7.       Define the global NumS μ N , H ( τ , x ) as defined in (42).
This strategy yields a non-oscillatory reconstruction at the boundaries and captures oscillatory dynamics with spectral fidelity, as shown in Figure 3. The resulting high-order reconstruction ensures a global accuracy of O ( ( Δ τ ) p + N − s ) , where the spatial convergence is governed by the regularity s, as established in Section 6.
Figure 3. Comparison of the numerical approximation μ h , N ( x ) on the domain [ 0 , L ] . The high-fidelity GSJP reconstruction (solid blue line) demonstrates the absence of spurious oscillations and the superior resolution of gradients at the boundaries compared to a low-order approximation (dashed red line). The close agreement with the ExaS (thick gray line) verifies the spectral convergence rate and the stability of the hybrid scheme in capturing high-frequency oscillatory behavior.

6. Error Estimation and Convergence Analysis

In this section, we provide a rigorous theoretical investigation into the convergence properties of the hybrid Rothe-GSJP method. The global discretization error is governed by the interplay between the temporal step size Δ τ and the spatial resolution determined by the number of basis functions N. To ensure mathematical consistency across the different discretization stages, we adopt a hybrid norm strategy: temporal consistency is established in the L ∞ norm to guarantee uniform pointwise stability, while spatial accuracy is analyzed within the framework of weighted Sobolev spaces to leverage the spectral convergence of the GSJP basis.
We assume that the ExaS μ ( τ , x ) possesses sufficient regularity such that μ ∈ C p + 1 ( [ 0 , T ] ; H w L ϱ 1 , ϱ 2 s ( 0 , L ) ) , where s > 2 and p is the order of the BDF scheme. This ensures that the high-order temporal derivatives are bounded in the L ∞ sense and that the spatial derivatives are square integrable with respect to the weight function w L ϱ 1 , ϱ 2 ( x ) . Under these assumptions, we define the global discretization error at any time level τ h as
E g l o b a l , h , N = μ ( τ h , x ) − μ h , N ( x ) .
This error is decomposed into the temporal and spatial components, as follows:
∥ E g l o b a l , h , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ ∥ μ ( τ h , · ) − μ h ( · ) ∥ L w L ϱ 1 , ϱ 2 2 ︸ Temporal Error + ∥ μ h ( · ) − μ h , N ( · ) ∥ L w L ϱ 1 , ϱ 2 2 ︸ Spatial Error .
To facilitate the error analysis, we define the finite-dimensional approximation subspace S N ⊂ L w L ϱ 1 , ϱ 2 2 ( 0 , L ) . Based on the boundary requirements specified in the previous sections, this subspace is spanned by the following set of basis functions:
S N = span Υ j ( x ) j = 0 N , where Υ j ( x ) = φ j , L ( ϱ 1 , ϱ 2 ) ( x ) , for DBC , Ψ j , L ( ϱ 1 , ϱ 2 ) ( x ) , for NBC .
The NumS at any time level h, denoted by μ h , N ( x ) , is the unique element in S N satisfying the collocation equations.
Let P N : L w 2 → S N denote the spatial orthogonal projection operator onto S N , which satisfies the best approximation property:
∥ μ − P N μ ∥ L w 2 = inf v ∈ S N ∥ μ − v ∥ L w 2 .
We define the global error as
E N , H ( τ , x ) = μ ( τ , x ) − μ N , H ( τ , x ) .
At a discrete time level τ h , the spatial error is denoted as
e h , N ( x ) = μ ( τ h , x ) − μ h , N ( x ) .
The accuracy of the reconstruction is evaluated using the L ∞ norm to ensure uniform convergence across the domain:
∥ e h , N ∥ ∞ = max x ∈ [ 0 , L ] | μ ( τ h , x ) − μ h , N ( x ) | .

6.1. Temporal Error Analysis: Pointwise Consistency of the Rothe Scheme

In this subsection, we focus on the errors arising from the TD. We establish the consistency of the p-th-order generalized difference formulae by estimating the local error estimate (LEE) in the infinite norm, which ensures uniform accuracy across the spatial domain.
Lemma 2.
Assume that the ExaS μ ( τ , x ) is sufficiently smooth such that μ ∈ C p + 1 ( [ 0 , T ] ; H w L ϱ 1 , ϱ 2 s ( 0 , L ) ) , where p is the order of the BDF scheme. Further assume that the variable coefficients a , b , c and the source term f are bounded and possess sufficient smoothness on the closed domain Ω. This ensures that the governing HTE remains well-posed and that the high-order BDF stencils satisfy the necessary stability and consistency conditions for long-term integration. Then, the LEE ε h satisfies
∥ ε h ∥ ∞ = O ( ( Δ τ ) p + 1 ) .
Proof. 
The local error estimate ε h ( x ) is defined as the residual obtained by substituting the ExaS μ ( τ , x ) into the semi-discrete BVP system (22). At a fixed time level τ h , the residual is
ε h ( x ) = ∑ j = 0 p + 1 β j μ ( τ h − j , x ) + 2 Δ τ a h ∑ j = 0 p + 1 α j μ ( τ h − j , x ) + Δ τ 2 b h 2 μ ( τ h , x ) − Δ τ 2 c h μ x x ( τ h , x ) − Δ τ 2 f h ( x ) .
We expand μ ( τ h − j , x ) in a Taylor series about the current time level τ h :
μ ( τ h − j , x ) = ∑ k = 0 p + 1 ( − j Δ τ ) k k ! ∂ k μ ( τ h , x ) ∂ τ k + O ( Δ τ p + 2 ) .
Substituting (53) into (52) and rearranging terms by derivative order k, we obtain
ε h ( x ) = ∑ k = 0 p + 1 ( − Δ τ ) k k ! ∑ j = 0 p + 1 j k β j + 2 Δ τ a h ∑ j = 0 p + 1 j k α j ∂ k μ ∂ τ k + Δ τ 2 b h 2 μ − Δ τ 2 c h μ x x − Δ τ 2 f h .
The coefficients α j and β j are BDF weights of order p. According to the consistency conditions for linear multi-step methods [28,29], these weights must satisfy specific algebraic properties to nullify the lower-order terms of the Taylor expansion. These properties are given by
∑ j = 0 p + 1 j k α j = 0 , k = 0 − 1 , k = 1 0 , 2 ≤ k ≤ p , ∑ j = 0 p + 1 j k β j = 0 , k = 0 , 1 2 , k = 2 0 , 3 ≤ k ≤ p .
By applying (55) to (54) for k = 0 , 1 , 2 , we evaluate the following:
  • For k = 0 , ( − Δ τ ) 0 0 ! [ 0 + 2 Δ τ a h ( 0 ) ] μ = 0 .
  • For k = 1 , ( − Δ τ ) 1 1 ! [ 0 + 2 Δ τ a h ( − 1 ) ] μ τ = 2 ( Δ τ ) 2 a h μ τ .
  • For k = 2 , ( − Δ τ ) 2 2 ! [ 2 + 2 Δ τ a h ( 0 ) ] μ τ τ = ( Δ τ ) 2 μ τ τ .
In view of these properties, the terms in (54) for k ≤ p simplify and combine with the remaining spatial and source terms to form the exact governing equation. Since the ExaS satisfies (1), these terms vanish identically:
ε h ( x ) = Δ ( τ ) 2 ∂ 2 μ ∂ τ 2 + 2 a h ∂ μ ∂ τ + b h 2 μ − c h μ x x − f h ︸ = 0 + Remainder Terms .
The first non-vanishing term in the Taylor expansion occurs at k = p + 1 . In view of (55), the local error is governed by
ε h ( x ) = ( − Δ τ ) p + 1 ( p + 1 ) ! ∑ j = 0 p + 1 j p + 1 β j + 2 Δ τ a h ∑ j = 0 p + 1 j p + 1 α j ∂ p + 1 μ ∂ τ p + 1 + O ( Δ τ p + 2 ) .
Since the term involved α j is scaled by an additional Δ τ , it is O ( ( Δ τ ) p + 2 ) . Thus, the leading order of the local error is determined by the β j summation:
ε h ( x ) = ( Δ τ ) p + 1 ( − 1 ) p + 1 ( p + 1 ) ! ∑ j = 0 p + 1 j p + 1 β j ∂ p + 1 μ ∂ τ p + 1 + O ( Δ τ p + 2 ) .
Taking the L ∞ -norm over x ∈ [ 0 , L ] and utilizing the boundedness of the temporal derivatives, we conclude that
∥ ε h ∥ ∞ ≤ C ( Δ τ ) p + 1 = O ( ( Δ τ ) p + 1 ) .
This completes the proof. □
Remark 2.
The consistency established in Lemma 2 relies on the structural stability of the variable coefficients a ( x , τ ) , b 2 ( x , τ ) , and c ( x , τ ) . In physical systems such as PLL modeling, these parameters represent space–time-dependent damping and propagation speeds [2,15]. By assuming these functions are bounded and sufficiently smooth, we ensure that the local truncation error does not experience non-physical amplification during the temporal marching process. This theoretical assumption is numerically validated in Section 7, where the algorithm maintains a stable 10 − 16 precision floor across all test cases.

6.2. Spatial Error Analysis: Spectral Approximation in Weighted Sobolev Spaces

In the following theorem, we utilize the weighted Sobolev space H ω , N s ( 0 , L ) to quantify the regularity of the solution and the accuracy of the approximation. For any s ≥ 0 , the full weighted Sobolev norm ∥ μ ∥ H ω , N s is defined as the square root of the sum of the weighted L 2 -norms of the function and its derivatives up to order s [12]:
∥ μ ∥ H ω , N s = ∑ i = 0 s ∫ 0 L d i μ ( x ) d x i 2 ω L ϱ 1 + i , ϱ 2 + i ( x ) d x 1 / 2 ,
where ω L ϱ 1 + i , ϱ 2 + i ) ( x ) denotes the shifted Jacobi weight function corresponding to the i-th derivative.
Lemma 3
([12]). Let I N be the polynomial interpolation operator at the Jacobi–Gauss-type nodes associated with the weight w L ϱ 1 , ϱ 2 . For any μ ∈ H w L ϱ 1 , ϱ 2 s ( 0 , L ) , the interpolation error is bounded by the projection error as follows:
∥ μ − I N μ ∥ L w L ϱ 1 , ϱ 2 2 ≤ ( 1 + Λ N ) ∥ μ − P N μ ∥ L w L ϱ 1 , ϱ 2 2 ,
where the Lebesgue constant Λ N satisfies the asymptotic growth Λ N ∼ O ( log N ) [30].
Theorem 3.
Let s ∈ Z + be an integer such that s ≥ 2 . Suppose that at any discrete time level h, the semi-discrete solution μ h belongs to the weighted Sobolev space H w L ϱ 1 , ϱ 2 s ( 0 , L ) . The spatial discretization error for the GSJP-based collocation approximation μ h , N satisfies
∥ ε h , N ∥ L w L ϱ 1 , ϱ 2 2 = ∥ μ h − μ h , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ C N − s ∥ μ h ∥ H w L ϱ 1 , ϱ 2 s ,
where C is a positive constant independent of N.
Proof. 
Utilizing the orthogonal projection operator P N onto the subspace S N defined in (46), we apply the triangle inequality to decompose the error as follows:
∥ ε h , N ∥ L w L ϱ 1 , ϱ 2 2 = ∥ μ h − μ h , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ ∥ μ h − P N μ h ∥ L w L ϱ 1 , ϱ 2 2 ︸ Term I + ∥ P N μ h − μ h , N ∥ L w L ϱ 1 , ϱ 2 2 ︸ Term II .
Term I represents the projection error in the weighted Hilbert space. According to the spectral approximation theory for Jacobi-type polynomials in weighted Sobolev spaces (see [12,31]), for μ h ∈ H w L ϱ 1 , ϱ 2 s ( 0 , L ) with s ≥ 2 , there exists a positive constant C 1 independent of N such that
∥ μ h − P N μ h ∥ L w L ϱ 1 , ϱ 2 2 ≤ C 1 N − s ∥ μ h ∥ H w L ϱ 1 , ϱ 2 s .
For Term II, we evaluate the departure of the collocation solution μ h , N from the orthogonal projection. Since μ h , N is the spectral expansion satisfying the collocation conditions at the Jacobi–Gauss-type nodes, it is equivalent to the polynomial interpolant I N μ h . This leads to the following inequality:
∥ P N μ h − μ h , N ∥ L w L ϱ 1 , ϱ 2 2 = ∥ P N μ h − I N μ h ∥ L w L ϱ 1 , ϱ 2 2 ≤ ∥ P N μ h − μ h ∥ L w L ϱ 1 , ϱ 2 2 + ∥ μ h − I N μ h ∥ L w L ϱ 1 , ϱ 2 2 .
By invoking Lemma 3, the interpolation error is bounded by the projection error magnified by the Lebesgue constant Λ N :
∥ μ h − I N μ h ∥ L w L ϱ 1 , ϱ 2 2 ≤ ( 1 + Λ N ) ∥ μ h − P N μ h ∥ L w L ϱ 1 , ϱ 2 2 .
Substituting (66) into (65) leads to the bound for Term II:
∥ P N μ h − μ h , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ ( 2 + Λ N ) ∥ μ h − P N μ h ∥ L w L ϱ 1 , ϱ 2 2 .
Finally, substituting (64) into (67) and the result back into (63), we obtain
∥ ε h , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ C 1 ( 3 + Λ N ) N − s ∥ μ h ∥ H w L ϱ 1 , ϱ 2 s .
Since Λ N ∼ O ( log N ) , the product ( 3 + Λ N ) N − s is asymptotically dominated by the algebraic decay rate N − s . Thus, there exists a consolidated constant C such that
∥ ε h , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ C N − s ∥ μ h ∥ H w L ϱ 1 , ϱ 2 s .
This confirms the spectral convergence of the spatial discretization, completing the proof. □

6.3. Global Convergence: The Unified Fully Discrete Error Estimate

In the preceding subsections, the temporal and spatial discretization errors were investigated in isolation to establish their respective rates of consistency. However, the practical utility of the hybrid Rothe-GSJP method depends on the accumulated global error, where temporal stability and spatial approximation interact simultaneously. The purpose of this subsection is to consolidate the local estimates from Lemma 2 and Theorem 3 into a single, unified convergence theorem. By employing a triangle inequality decomposition within the weighted Hilbert space L w L ϱ 1 , ϱ 2 2 , we demonstrate that the global error E g l o b a l , H , N is bounded by the sum of the p-th-order algebraic decay in time and the spectral decay in space. This analysis provides the theoretical guarantee that the NumS converges to the ExaS of the HTE as the discretization parameters are refined.
Theorem 4.
Let μ ( τ , · ) be the ExaS of the HTE (1) and μ N , H ( τ , · ) be the NumS obtained via the hybrid Rothe-GSJP method. Under the assumption of a p-th-order temporal BDF and spatial regularity s ≥ 2 , the global discretization error at the final time T satisfies
∥ E g l o b a l , H , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ C 1 ( Δ τ ) p + C 2 N − s ∥ μ ∥ H w L ϱ 1 , ϱ 2 s , 1 ≤ p ≤ 6 , s ≥ 2 ,
where C 1 is a constant independent of Δ τ related to the temporal stability of the Rothe scheme, and C 2 is a constant independent of N associated with the spatial spectral accuracy.
Proof. 
Let E g l o b a l , h , N ( · ) = μ ( τ h , · ) − μ h , N ( · ) denote the global error at the h-th time step. By applying the triangle inequality, the total error is decomposed into temporal and spatial components:
∥ E g l o b a l , h , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ ∥ μ ( τ h , · ) − μ h ( · ) ∥ L w L ϱ 1 , ϱ 2 2 ︸ Temporal Error + ∥ μ h ( · ) − μ h , N ( · ) ∥ L w L ϱ 1 , ϱ 2 2 ︸ Spatial Error ,
where μ h is the semi-discrete solution obtained after TD but before spatial approximation.
The temporal error in (71) arises from the accumulation of local truncation errors ε h over H = T / Δ τ time steps. According to Lemma 2, the local truncation error is ∥ ε h ∥ ∞ = O ( ( Δ τ ) p + 1 ) . Since BDF methods of order p ≤ 6 are zero stable for second-order evolution equations [29], the Lax Equivalence Theorem [29] implies that the accumulated global temporal error at any τ h ≤ T satisfies
∥ μ ( τ h , · ) − μ h ( · ) ∥ L w L ϱ 1 , ϱ 2 2 ≤ ∑ j = 1 h ∥ ε j ∥ ≤ C 1 ( Δ τ ) p ,
where C 1 depends on the higher-order temporal derivatives of the ExaS.
The spatial error in (71) accounts for the discretization error at time level h, denoted by ∥ ε h , N ∥ L w L ϱ 1 , ϱ 2 2 . As demonstrated in Theorem 3, the GSJP-based collocation method yields spectral convergence. For μ h ∈ H w L ϱ 1 , ϱ 2 s ( 0 , L ) , the following estimate holds:
∥ μ h ( · ) − μ h , N ( · ) ∥ L w L ϱ 1 , ϱ 2 2 ≤ C 2 N − s ∥ μ h ∥ H w L ϱ 1 , ϱ 2 s .
Substituting (72) and (73) into (71) yields the combined bound. Evaluating the expression at the final time step τ H = T and noting that ∥ μ h ∥ H w s → ∥ μ ∥ H w s as Δ τ → 0 , we obtain
∥ E g l o b a l , H , N ∥ L w L ϱ 1 , ϱ 2 2 ≤ C 1 ( Δ τ ) p + C 2 N − s ∥ μ ∥ H w L ϱ 1 , ϱ 2 s .
Since the stability of the BDF scheme ensures the constants remain bounded over the finite interval [ 0 , T ] , the NumS converges to the ExaS at the predicted rates. This completes the proof. □
Remark 3.
The constraint p ≤ 6 in Theorem 4 is fundamental, as BDF methods are zero stable only within this range. For p > 6 , the schemes are inherently unstable and fail to satisfy the Lax Equivalence Theorem requirements for long-term integration. In the context of the HTE, numerical evidence suggests that p ∈ { 2 , 3 , 4 } provides the most robust balance between high-order temporal precision and a favorable region of absolute stability [29].
Remark 4.
The theoretical bound established in Theorem 4 is derived in the weighted Hilbert space L w L ϱ 1 , ϱ 2 2 , yet the numerical experiments in Section 7 are reported using the L ∞ norm. This transition is justified by two primary factors:
1.
Sobolev Embedding: For a regularity index s > 1 / 2 , the continuous embedding H w s ↪ C [ 0 , L ] ensures that the spectral decay proven in the mean square sense is inherited pointwise across the entire closed interval, such that
∥ E N , H ∥ ∞ ≤ C ∥ E N , H ∥ H w s ≤ O ( ( Δ τ ) p + N − s ) .
2.
Structural Satisfaction of BCs: Because the GSJP basis satisfies the HBCs exactly by construction, the error at the boundaries is structurally zero. Consequently, the L ∞ results in Section 7 rigorously verify the interior reconstruction accuracy and confirm the absence of order reduction or Gibbs oscillations.
This theoretical framework provides the foundation for the high-precision results demonstrated in the following section.

6.4. Summary of Convergence Analysis

In this section, we have rigorously established the convergence properties of the hybrid Rothe-GSJP scheme. The proof is built upon two fundamental pillars: first, Lemma 2 establishes a local temporal truncation error of O ( ( Δ τ ) p + 1 ) ; second, Theorem 3 proves that the spatial discretization, utilizing the GSJP basis, yields spectral convergence O ( N − s ) in weighted Sobolev spaces. By synthesizing these results under the framework of the Lax Equivalence Theorem and ensuring zero stability through the constraint 1 ≤ p ≤ 6 , we arrive at Theorem 4. This theorem provides the unified global bound, as follows:
O ( ( Δ τ ) p + N − s ) , 1 ≤ p ≤ 6 , s ≥ 2 ,
This theoretical foundation guarantees that the Rothe-GSJP method can reach the 10 − 16 machine precision floor, a claim we verify through the numerical experiments in the following section.

7. Numerical Simulations and Discussion

In this section, we present three numerical experiments to validate the theoretical findings established in the preceding sections. The primary objective is to demonstrate the p-th-order temporal convergence and the spectral spatial accuracy of the proposed Rothe-GSJP method across various test cases.
The numerical computations were performed using Mathematica 13.3 on a workstation equipped with an Intel(R) Core(TM) i9-10850 CPU operating at 3.60 GHz, featuring ten cores and 20 logical processors, supported by 64 GB of RAM. This computational environment ensures the high-precision symbolic and numerical evaluation of the BDF weights α j , β j and the GSJP basis functions.
As justified in Remark 4, the performance of the algorithm is assessed primarily through the maximum error L ∞ , which provides the most stringent verification of the method’s ability to reach the machine precision floor. Where relevant for comparative purposes, the standard L 2 norm is also reported. In all cases, the numerical results align with the theoretical global error bound ∥ E N , H ∥ ∞ = O ( ( Δ τ ) p + N − s ) .

7.1. Test Case 7.1

In this initial benchmark, we consider the HTE (1) with the following coefficient functions and non-homogeneous source term as specified in [15] (Test Case 5.1):
a ( x , τ ) = 1 2 , b 2 ( x , τ ) = 1 , c ( x , τ ) = 1 , f ( x , τ ) = 1 − τ + x 2 .
Substituting these parameters into the governing equation for, we obtain
∂ 2 μ ∂ τ 2 + ∂ μ ∂ τ + μ = ∂ 2 μ ∂ x 2 + 1 − τ + x 2 , ( x , τ ) ∈ ( 0 , 1 ] × ( 0 , 1 ) .
This equation comes with the following ICs:
μ ( x , 0 ) = x 2 , ∂ μ ∂ τ ( x , 0 ) = 1 , x ∈ [ 0 , 1 ] ,
and the following DBCs:
μ ( 0 , τ ) = τ , μ ( 1 , τ ) = 1 + τ , τ ∈ [ 0 , 1 ] ,
It is verified that the analytical solution for this case is
μ ( x , τ ) = τ + x 2 .
We employ the second-order BDF ( p = 2 ) for the TD. However, because the ExaS μ ( τ , x ) = τ + x 2 is linear with respect to τ , the second-order temporal derivative is exactly zero. Consequently, any p-th-order approximation for p ≥ 1 would recover the temporal derivatives without a truncation error, rendering the time stepping process symbolically exact.
Applying the TD at time levels τ h = h Δ τ for h = 1 , 2 , … , H , we obtain a sequence of spatial BVPs in the form
μ h ″ ( x ) − μ h ( x ) = τ h − x 2 , μ h ( 0 ) = τ h , μ h ( 1 ) = τ h + 1 ,
where the ExaSs of these BVPs has the form μ h ( x ) = x 2 + τ h . Utilizing the boundary transformation detailed in Section 5.2 leads to
τ h 2 μ ^ h ″ ( x ) − Θ h μ ^ h ( x ) = 2 τ h 2 − Θ h ( x 2 − x ) , μ ^ h ( 0 ) = μ ^ h ( 1 ) = 0 ,
where Θ h = h 2 + h τ h + τ h 2 and μ h ( x ) = μ ^ h ( x ) + B h ( x ) , B h ( x ) = τ h + x . So, μ ^ h ( x ) = x 2 − x .
  • Applying Rothe-GSJP with N = 0 , we obtain
μ ^ h ( x ) = μ ^ h , 0 ( x ) = c h , 0 · φ 1 , 0 ( ϱ 1 , ϱ 2 ) ( x ) = x 2 − x , c h , 0 = − 1 ,
and then
μ h , 0 ( x ) = μ ^ h , 0 ( x ) + B h ( x ) = x 2 + τ h , h = 1 , 2 , … , H ,
which are the ExaSs μ h ( x ) of the BVPs (81), h = 1 , 2 , … , H .
Then, the global approximation μ 0 , H ( τ , x ) over the domain Ω = [ 0 , 1 ] × [ 0 , 1 ] is defined as follows:
μ 0 , H ( x , τ ) = x 2 , τ = 0 , x 2 + τ h , τ ∈ ( τ h − 1 , τ h ] , h = 1 , 2 , … , H .

7.2. Discussion of Test Case 7.1

The primary objective here is to evaluate the performance of the Rothe-GSJP method when the solution of the HTE is a polynomial in both variables. For this case, we employ BDF ( p = 2 ) for TD. Given that the ExaS μ ( τ , x ) = τ + x 2 is linear in τ , the TD error is identically zero, allowing us to isolate the spatial performance of the GSJP-based solver.
A critical advantage of this approach, when compared to the numerical results reported in [15] (Test Case 5.1), is its handling of the modified spatial equation. While traditional solvers—such as those utilizing finite difference or standard collocation—produce numerical approximations that converge as Δ τ → 0 , the Rothe-GSJP method utilizes the boundary lifting technique to map the problem into a sequence of homogeneous spatial BVPs.
In [15], the derived AppSs for this benchmark at various time steps were recovered with high precision, yet they remained numerical approximations containing minute residuals. For instance, the solutions reported at specific time levels were
U 2 , 2 ( x ) = 1.0 x 2 + 1.02191 × 10 − 107 x + 0.2 , U 10 , 2 ( x ) = 1.0 x 2 + 1.48177 × 10 − 106 x + 1.0 ,
where the residuals obtained at τ 2 and τ 10 are 1.02191 × 10 − 107 and 1.48177 × 10 − 106 , respectively, while the residual in the Rothe-GSJP method is zero. To highlight the distinction between these high-precision numerical results and our developed algorithm, a comparative summary is provided in Table 1.
Table 1. Comparative analysis of the Rothe-GSJP method against the Rothe-SMCPs method [15] for Test Case 7.1.
In contrast, the current method identifies the required expansion coefficient exactly as c h , 0 = − 1 for the solution of the modified BVPs (82) at each discrete time level τ h . The resulting expression (83) provides the exact homogeneous part, which combines with the LF B h ( x ) = τ h + x to yield the total solution (84). This result constitutes the exact symbolic solution of the spatial BVPs (81) at the specified time levels. It is worth noting that while traditional spectral methods often require a high number of basis functions to reach high precision, the modified equation approach used in the Rothe-GSJP method reduces the complexity of the residual so significantly that a single basis function ( N = 0 ) captures the entire spatial dynamics identically.

7.3. Test Case 7.2

In this case, we consider the HTE (1) with constant coefficients and a homogeneous source function as specified in [15] (Test Case 5.2):
a ( x , τ ) = 3 , b 2 ( x , τ ) = 3 , c ( x , τ ) = 1 , f ( x , τ ) = 0 .
Then, the governing equation becomes
∂ 2 μ ∂ τ 2 + 6 ∂ μ ∂ τ + 3 μ = ∂ 2 μ ∂ x 2 , ( τ , x ) ∈ ( 0 , 5 ] × ( 0 , 1 ) .
This equation is accompanied by the following ICs:
μ ( x , 0 ) = sinh ( x ) , ∂ μ ∂ τ ( x , 0 ) = − 2 sinh x , x ∈ [ 0 , 1 ] ,
and following the DBCs:
μ ( 0 , τ ) = 0 , μ ( 1 , τ ) = sinh ( 1 ) e − 2 τ , τ ∈ [ 0 , 5 ] .
The analytical ExaS for this case has the form
μ ( x , τ ) = e − 2 τ sinh x .

7.4. Numerical Results for Test Case 7.2

In this subsection, we evaluate the performance of the Roth-GSJP framework for Test Case 7.2 across varying spatial resolutions N and temporal orders p. The investigation is conducted using the GSJP framework, which encompasses Shifted Chebyshev and Legendre bases as special cases by selecting appropriate Jacobi parameters to demonstrate the framework’s versatility. Initially, we examine the L ∞ error at a fixed time step Δ τ = 0.1 to identify the spectral convergence of the spatial discretization and the subsequent temporal accuracy floors. This is followed by a dedicated temporal refinement study at N = 5 , which serves to independently verify the Rate of Convergence (ROC) for each BDF scheme at both the early ( τ = 1 ) and late ( τ = 5 ) time stages.
To verify the temporal accuracy, the empirical ROC is computed using the ratio of L ∞ errors obtained from two successive time step sizes, Δ τ and Δ τ / 2 , as follows:
ROC ≈ log ( Error ( Δ τ ) / Error ( Δ τ / 2 ) ) log ( 2 ) .
The numerical results in Table 2 and Table 3 illustrate that the Roth-GSJP framework achieves rapid spectral spatial convergence, with the L ∞ error reaching a saturation floor by N = 3 or N = 4 across the various GSJPs bases. Once this spatial saturation occurs, the total error is strictly governed by the TD order p, where transitioning from p = 1 to p = 4 reduces the error floor by several orders of magnitude, effectively bypassing the temporal bottlenecks common in lower-order schemes. Furthermore, the consistency between the results at the early ( τ = 1 ) and late ( τ = 5 ) time stages, characterized by stable error floors and expected linear error growth, confirms the long-term stability and robustness of the framework for solving the HTE.
Table 2. L ∞ error and CPU time (s) for Roth-GSJP at τ = 1 , Δ τ = 0.1 across various p , N , and ( ϱ 1 , ϱ 2 ) for Test Case 7.2.
Table 3. L ∞ error and CPU time (s) for Roth-GSJP at τ = 5 , Δ τ = 0.1 across various p , N , and ( ϱ 1 , ϱ 2 ) for Test Case 7.2.
To isolate the temporal convergence properties from the spatial spectral behavior, Table 4 and Table 5 present a refinement study of the time step size Δ τ while maintaining a fixed spatial resolution of N = 5 at the early ( τ = 1 ) and late ( τ = 5 ) time stages, respectively. For each temporal order p ∈ { 1 , 2 , 3 , 4 } , the empirical ROC is calculated by comparing the L ∞ errors as the time step is halved. The results strictly recover the theoretical BDF orders at both time stages, with the p = 4 scheme reaching an L ∞ error of approximately 10 − 16 at Δ τ = 1 / 40 . This dual-verification confirms that the Roth-GSJP framework effectively overcomes the temporal bottlenecks inherent in lower-order schemes and maintains long-term numerical stability while preserving the high efficiency of the Jacobi–spectral spatial discretization.
Table 4. Temporal ROC verification for Roth-GSJP with fixed N = 5 and varying p for Test Case 7.2, measured at the early time stage τ = 1 .
Table 5. Temporal ROC verification for Roth-GSJP with fixed N = 5 and varying p for Test Case 7.2, measured at the late time stage τ = 5 .
Remark 5.
In the temporal refinement results presented in Table 4 and Table 5, it is noteworthy that the Rate of Convergence (ROC) values are strictly integers ( 1.00 , 2.00 , 3.00 , and 4.00 ). This high degree of numerical integrity is attributed to the spectral efficiency of the GSJP basis. By setting N = 5 , the spatial discretization error is reduced to the level of machine precision (≈ 10 − 16 ), effectively isolating the temporal truncation error. Consequently, the total error E t o t a l follows the pure power law of the BDF scheme, O ( ( Δ τ ) p ) , without the typical “order reduction” or pollution from spatial mesh errors often encountered in grid-based methods. This validates that the Roth-GSJP algorithm, implemented on a high-performance workstation using Mathematica’s arbitrary precision arithmetic, perfectly preserves the theoretical convergence orders of the underlying BDF formulae.

7.5. Discussion of Comparisons for Test Case 7.2

To further validate the efficiency and superiority of the Roth-GSJP framework, this subsection presents a comparative analysis with existing numerical methods in the literature. Specifically, we compare our results with the Rothe–Chebyshev collocation algorithm developed by Izadi et al. [15] and the second-order hyperbolic simulations presented by Pandit et al. [16]. While these reference methods provide reliable solutions, they are often constrained by lower-order temporal approximations. By contrasting our high-order BDF ( p = 3 , 4 ) results with these benchmarks, we highlight the framework’s ability to achieve significantly higher precision—reaching the machine precision range—while maintaining comparable or superior computational efficiency.
To demonstrate the structural and computational advantages of the proposed Rothe-GSJP method, we provide the explicit numerical approximations at the first and final time levels ( τ = 0.1 and τ = 5.0 ). Following the setup of the published benchmark in [15] (Test Case 5.2), we set N = 3 and Δ τ = 0.1 . By utilizing the basis φ 1 , 1 , L , j ( ϱ 1 , ϱ 2 ) ( x ) = x ( 1 − x ) P 1 , j ( ϱ 1 , ϱ 2 ) ( x ) with the Shifted Chebyshev parameters ( ϱ 1 = ϱ 2 = − 1 / 2 ), the following degree-5 polynomial approximations are obtained:
At τ = 0.1 ( h = 1 ),
μ 1 , 3 ( x ) = 0.82415122 x + 0.13028811 x 3 + 0.00757011 x 5 .
At τ = 5.0 ( h = 50 ),
μ 50 , 3 ( x ) = 4.5422103 × 10 − 5 x + 7.5412219 × 10 − 6 x 3 + 3.8115204 × 10 − 7 x 5 .
For a rigorous comparative assessment, these results are evaluated against the explicit spatial approximations V 1 , 5 ( x ) (at τ = 0.1 ) and V 50 , 5 ( x ) (at τ = 5.0 ) provided in [15] (Test Case 5.2):
V 1 , 5 ( x ) = − 0.0300271 x 5 + 0.0693512 x 4 + 0.0914657 x 3 + 0.0117727 x 2 + 0.819611 x , V 50 , 5 ( x ) = 1.67986 × 10 − 7 x 5 − 4.98377 × 10 − 8 x 4 + 5.03286 × 10 − 6 x 3 − 7.13663 × 10 − 9 x 2 + 0.0000482102 x .
The exact L ∞ errors for our approximations μ 1 , 3 ( x ) and μ 50 , 3 ( x ) are compared in Table 6 against the errors computed from the solutions V 1 , 5 ( x ) and V 50 , 5 ( x ) .
Table 6. Comparison of Exact L ∞ errors at Δ τ = 0.1 .
The comparison in Table 6 highlights the superior precision of the Roth-GSJP method. While both approaches share a similar error magnitude initially ( τ = 0.1 ), our framework achieves an error of 8.42103 × 10 − 9 by τ = 5.0 —two orders of magnitude lower than the reported 1.31770 × 10 − 6 in [15]. Notably, this is achieved with a lower expansion order ( N = 3 vs. R = 5 ), demonstrating higher computational efficiency. Furthermore, the GSJP basis structurally eliminates numerical artifacts by excluding even-powered terms, ensuring the AppS strictly adheres to the analytical odd parity of the sinh ( x ) behavior.
To demonstrate how the generalized framework addresses the temporal accuracy bottleneck identified in [15], Table 7 summarizes the impact of the temporal order p ∈ { 1 , 2 , 3 , 4 } at the final time τ = 5 .
Table 7. Impact of temporal order p on L ∞ error at τ = 5 for Roth-GSJP ( Δ τ = 0.1 and ϱ 1 = ϱ 2 = − 1 / 2 ).
The results reveal a stark contrast: while the first-order TD in [15] limits accuracy to 10 − 6 , the Roth-GSJP framework achieves 10 − 13 at p = 4 without increasing spatial resolution ( N = 3 ). This confirms that our method provides a significantly more efficient path to high-fidelity solutions by resolving temporal limitations while maintaining zero boundary residuals—a feature absent in the benchmark results.
To highlight the structural and computational advantages of the Roth-GSJP framework, we present a unified comparison against existing benchmarks in Table 8 and Table 9. By fixing the spatial expansion at N = 2 for both comparisons, we contrast our results across the full range of temporal orders p ∈ { 1 , 2 , 3 , 4 } against the best-reported values from the literature. The results demonstrate that while the reference methods utilize traditional TDs—such as the first-order Rothe method in [15] or the second-order Crank–Nicolson scheme in [16]—they remain constrained by spatial and temporal bottlenecks. Even at p = 1 , our framework yields significantly lower error norms than the Haar wavelet-based results in [16], which stay at 10 − 4 despite the second-order temporal scheme. This discrepancy underscores the superior efficiency of the Jacobi–spectral basis. Furthermore, by increasing our temporal order to p = 4 , the Roth-GSJP errors drop to the machine precision floor ( 10 − 16 ), achieving a level of precision that is fundamentally unattainable by the fixed-order schemes presented in the comparative studies.
Table 8. Comparison of L 2 and L ∞ errors between Rothe-SMCPs and Roth-GSJP for Test Case 7.2.
Table 9. Comparison of L 2 and L ∞ errors between HWCNFDM [16] and Roth-GSJP for Test Case 7.2.
The high-fidelity nature of the Roth-GSJP framework is first established by the comparison between the ExaS in Figure 4a and the numerical approximation in Figure 4b. With the parameters set to ( N = 3 , p = 4 , Δ τ = 1 / 128 , ϱ 1 = − 1 / 2 , and ϱ 2 = 1 / 2 ), the two profiles are visually identical, confirming the method’s ability to capture the complex dynamics of the telegraph equation. This precision is further explored in Figure 5, where the absolute error surface in Figure 5a and the corresponding density map in Figure 5b show that the error is distributed uniformly and satisfies the DBCs. Notably, the magnitude of the L ∞ error is on the order of 10 − 16 , indicating that the method effectively reaches the machine precision floor.
Figure 4. Exact and AppSs via the Roth-GSJP method ( N = 3 , p = 4 , Δ τ = 1 / 128 , ϱ 1 = − 1 / 2 , and ϱ 2 = 1 / 2 ) for Test Case 7.2.
Figure 5. Error function and its heat map graphs via the Roth-GSJP method ( N = 3 , p = 4 , Δ τ = 1 / 128 , ϱ 1 = − 1 / 2 , and ϱ 2 = 1 / 2 ) for Test Case 7.2.
The convergence properties driving these results are detailed in Figure 6. The Log 10 ( error ) plots in Figure 6a verify that the temporal convergence adheres to the theoretical O ( ( Δ τ ) p ) rates for all the tested variants ( p = 1 , 2 , 3 , 4 ), where the expansion order is held fixed at N = 3 while the temporal step size Δ τ is varied. This analysis confirms that the p = 4 scheme achieves maximum accuracy as Δ τ is refined. Conversely, Figure 6b demonstrates the spatial spectral convergence by varying the expansion order N while keeping the temporal step size fixed at its finest resolution, Δ τ = 1 / 128 . The figure illustrates a distinct branching effect, revealing that while lower-order temporal schemes reach an early error plateau due to the fixed time step, the combination of high-order TD and the Jacobi–spectral basis allows the p = 4 variant to continue its exponential decay until the limits of double precision arithmetic are reached.
Figure 6. Convergence behavior of the Roth-GSJP method ( ϱ 1 = − 1 / 2 V and ϱ 2 = 1 / 2 ) for Test Case 7.2: (a) Temporal reduction for p = 1 , 2 , 3 , and 4 with fixed N = 3 and varying Δ τ ∈ [ 1 / 128 , 1 / 10 ] ; (b) spatial spectral convergence for varying N across different temporal orders p with a fixed Δ τ = 1 / 128 .

7.6. Test Case 7.3

In this benchmark, we consider the one-dimensional HTE with constant coefficients and a homogeneous right-hand-side function as specified in [17]:
a ( x , τ ) = 6 , b 2 ( x , τ ) = 2 , c ( x , τ ) = 1 , f ( x , τ ) = 4 cos ( τ ) c o s ( x ) .
Substituting these parameters into the general model, the governing equation for ( x , τ ) ∈ ( 0 , 4 ] × ( 0 , 3 ) becomes
∂ 2 μ ∂ τ 2 + 12 ∂ μ ∂ τ + 4 μ = ∂ 2 μ ∂ x 2 + f ( τ , x ) .
This equation is accompanied by the following ICs:
μ ( x , 0 ) = sin x , ∂ μ ∂ τ ( x , 0 ) = 0 , x ∈ [ 0 , 4 ] ,
and the NBCs,
μ x ( 0 , τ ) = cos τ , μ x ( 4 , τ ) = cos τ cos 4 , τ ∈ [ 0 , 3 ] .
The analytical ExaS for this case is verified to be
μ ( x , τ ) = sin x cos τ .

7.7. Numerical Results for Test Case 7.3

This section evaluates the numerical performance of the Roth-GSJP method under NBCs using Test Case 7.3. The spatial domain is defined as x ∈ [ 0 , 4 ] and the temporal domain as τ ∈ [ 0 , 3 ] , with the ExaS. We analyze the stability and accuracy of the scheme by varying the temporal order ( p ∈ { 1 , 2 , 3 , 4 } ), the spatial degree ( N ∈ { 0 , … , 5 } ), and the basis parameters ( ϱ 1 and ϱ 2 ) corresponding to Chebyshev, Legendre, and JPs. The primary objective is to verify that the Neumann-adjusted basis maintains high fidelity and reaches the machine precision floor of approximately 10 − 16 as predicted.
The numerical accuracy and stability of the Roth-GSJP method are comprehensively detailed in Table 10, Table 11, Table 12 and Table 13. A dual convergence pattern is observed: spatial convergence occurs rapidly as the polynomial degree N increases, while the temporal error is governed by the order p. As demonstrated in Table 12 and Table 13, for a fixed spatial resolution ( N = 5 ), the calculated ROC for p = 1 , 2 , 3 , and 4 precisely matches the theoretical values of 1.00 , 2.00 , 3.00 , and 4.00 , respectively. This rigorous alignment confirms that the NBCs do not degrade the temporal accuracy of the scheme. Furthermore, by refining the time step to Δ τ = 1 / 40 with a fourth-order scheme ( p = 4 ), the L ∞ error reaches the machine precision floor of approximately 1.22 × 10 − 16 at τ = 1 and remains remarkably stable at 3.66 × 10 − 16 even at the later stage of τ = 3 . This achievement of the 10 − 16 threshold across different Jacobi bases ( ϱ 1 and ϱ 2 ) underscores the robustness of the Neumann-adjusted basis in eliminating boundary-induced instabilities.
Table 10. L ∞ error and CPU time (s) for Roth-GSJP at τ = 1 , Δ τ = 0.1 across various p , N , and ( ϱ 1 , ϱ 2 ) for Test Case 7.3.
Table 11. L ∞ error and CPU time (s) for Roth-GSJP at τ = 3 , Δ τ = 0.1 across various p , N , and ( ϱ 1 , ϱ 2 ) for Test Case 7.3.
Table 12. Temporal ROC verification for Roth-GSJP ( ϱ 1 = 0 , ϱ 2 = 1 , N = 5 , and p = 1 , 2 , 3 , and 4) for Test Case 7.3, measured at τ = 1 .
Table 13. Temporal ROC verification for Roth-GSJP ( ϱ 1 = 0 , ϱ 2 = 1 , N = 5 , and p = 1 , 2 , 3 , and 4) for Test Case 7.3, measured at τ = 3 .
The visual results for Test Case 7.3 are presented in Figure 7, Figure 8, Figure 9 and Figure 10, providing a spatial and temporal context to the high-precision data found in the tables. The absolute error surface and corresponding heat map in Figure 8 illustrate a uniform error distribution across the domain x ∈ [ 0 , 4 ] , where the absence of localized spikes at the boundaries confirms the high fidelity of the modified basis in satisfying NBCs. The “noisy” texture observed in the heat map is the physical manifestation of the 10 − 16 precision floor achieved on the i9-10850 workstation. Furthermore, the temporal snapshots in Figure 9 demonstrate that the absolute error remains bounded by the machine precision over time, while Figure 10 shows a perfect overlap between the analytical solution and numerical markers, visually corroborating the method’s zero-order agreement.
Figure 7. Exact and AppSs via the Roth-GSJP method ( N = 5 , p = 4 , Δ τ = 1 / 128 , ϱ 1 = 0 , and ϱ 2 = 1 / 2 ) for Test Case 7.3.
Figure 8. Error function and its heat map graphs via the Roth-GSJP method ( N = 5 , p = 4 , Δ τ = 1 / 128 , ϱ 1 = 0 , and ϱ 2 = 1 / 2 ) for Test Case 7.3.
Figure 9. Absolute error snapshots at τ = 1 , 2 , 3 via the Roth-GSJP method ( N = 5 , p = 4 , Δ τ = 1 / 40 , ϱ 1 = 1 , and ϱ 2 = 1 ) for Test Case 7.3.
Figure 10. Comparison between exact and NumSs at τ = 1 , 2 , and 3 via the Roth-GSJP method ( N = 5 , p = 4 , Δ τ = 1 / 40 , ϱ 1 = 1 , and ϱ 2 = 1 ) for Test Case 7.3.

7.8. Discussion of Comparisons for Test Case 7.3

To underscore the robustness of the Roth-GSJP algorithm, a comparative analysis is performed against the results reported in [17]. The comparison is conducted at a refined time step of Δ τ = 0.025 , which remains 25 times larger than the step size ( 0.001 ) utilized in the literature.
The comparative analysis presented in Table 14 demonstrates the extraordinary precision of the Roth-GSJP method. While the existing literature [17] reports errors on the order of 10 − 4 using a high-density temporal grid ( Δ t = 0.001 ), our method achieves an L ∞ error of 1.22 × 10 − 16 at τ = 1 . Furthermore, the robustness of the algorithm is evidenced by its performance with a temporal step that is 25 times larger ( Δ τ = 0.025 ) than that of the method in [17].
Table 14. Comparison of L 2 and L ∞ errors for Test Case 7.3: [17] ( Δ t = 0.001 , h = 0.02 ) vs. Roth-GSJP ( N = 5 , p = 4 , Δ τ = 0.025 , ϱ 1 = 1 , and ϱ 2 = 1 ).
The consistent maintenance of the 10 − 16 precision floor across the entire temporal domain ( τ = 1 , 2 , 3 ) confirms that the used GSJPs basis effectively eliminates the boundary-induced error accumulation often found in traditional numerical schemes. Furthermore, the ability of the proposed scheme to reach these limits despite using a significantly larger temporal step highlights the superior spectral efficiency and stability of the GSJP approach for NBCs.
In conclusion, the investigation of Test Case 7.3 confirms that the Roth-GSJP method is exceptionally robust and efficient for solving the 1D wave equation under NBCs. By employing the used GSJPs basis, we successfully mitigated the instabilities typically associated with derivative boundary constraints, allowing the numerical error to reach and maintain the 10 − 16 machine precision floor across the entire temporal domain. This approach utilizes a temporal step significantly larger than traditional schemes, thereby proving the superior spectral efficiency and long-term stability of the algorithm.
Remark 6.
The consistent achievement of the machine precision floor (≈ 10 − 16 ) across the reported test cases is a direct result of the synergistic use of the Rothe-GSJP framework and the Mathematica 13.3 symbolic engine. As noted earlier, while BDF stencils are restricted to p ≤ 6 due to zero stability requirements, the use of Mathematica significantly enhances the implementation of these high-order schemes by
1. 
High-Order Weight Exactness: The coefficients α j and β j for the preferred stencils ( p = 2 , 3 , and 4) were computed using arbitrary precision arithmetic. This prevents the accumulation of rounding errors that typically degrade the accuracy of multi-step methods in standard floating-point environments.
2. 
Symbolic Basis Evaluation: The GSJP basis functions and their spatial derivatives were handled symbolically. This preserves the structural zero error at the boundaries and ensures that the boundary lifting technique is executed without numerical leakage.
3. 
Global Stability: By combining symbolic coefficient evaluation with a boundary-conforming basis, the method effectively bypasses the ill-conditioning often encountered in high-resolution spectral collocation matrices.
Consequently, the L ∞ results in this section demonstrate that the Rothe-GSJP method reaches the absolute mathematical limits of double precision arithmetic while maintaining the stability profiles dictated by BDF theory.

8. Conclusions

In this work, we developed the Rothe-GSJP method, a numerical framework specifically built to resolve the HTE under non-homogeneous boundary constraints. The approach centers on a strategic coupling: we utilize the Rothe method for temporal semi-discretization and resolve the resulting spatial sub-problems through a GSJP-based expansion. The main advantage of this setup is that the p-th-order temporal accuracy and the spectral spatial convergence are handled independently; increasing the precision of one does not degrade the other. Our findings and the specific advantages of the algorithm are as follows:
  • Structural Exactness: Through the boundary lifting technique and symbolic implementation in Mathematica 13.3, we demonstrated that for polynomial solutions, the method recovers the analytical solution identically with a single basis function ( N = 0 ).
  • Spectral Fidelity: Numerical experiments confirmed the exponential decay of the L ∞ error, reaching the machine precision floor of 10 − 16 with minimal spatial degrees of freedom, consistent with the theoretical results in Remark 4.
  • Absence of Gibbs Phenomena: As illustrated in Figure 3, the GSJP basis structurally satisfies the boundary conditions, ensuring a non-oscillatory reconstruction and superior resolution of steep gradients at the domain boundaries.
  • Temporal Stability and Accuracy: The implementation of BDF stencils confirms that the method is consistent with the theoretical error bounds O ( ( Δ τ ) p + N − s ) . While the framework supports orders up to p = 6 per the zero stability limit, our results highlight that orders p = 2 , 3 , and 4 provide the most robust balance between high-order temporal precision and absolute stability for the telegraph equation.
These results show that the Rothe-GSJP method is a practical alternative to standard mesh-based or spectral solvers, especially when boundary precision and long-term stability are the main requirements. While the current Rothe-GSJP method demonstrates remarkable spectral efficiency for 1D models, several promising avenues for future research remain. First, we intend to adapt this hybrid framework to address multi-dimensional (2D and 3D) hyperbolic systems, which would expand its applicability to more complex problems in physics and biology. Second, future studies will investigate the scalability of the algorithm for parallel computing environments to handle larger-scale engineering simulations. Finally, we plan to validate the framework using real-world case studies and experimental data, particularly in the context of PLL synchronization and non-uniform signal propagation, to further bridge the gap between theoretical high-precision analysis and practical engineering application.

Funding

No funding was received to assist with the preparation of this manuscript.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

No new data were created or analyzed in this study. Data sharing is not applicable to this article.

Conflicts of Interest

The author declares no conflicts of interest.

References

  1. Weston, V.H.; He, S. Wave splitting of the telegraph equation in ℝ3 and its application to inverse scattering. Inverse Probl. 1993, 9, 789–812. [Google Scholar] [CrossRef] [Scilit]
  2. Lock, C.G.J.; Greeff, J.; Joubert, S. Modelling of Telegraph Equations in Transmission Lines; Technical Report; Tshwane University of Technology: Pretoria, South Africa, 2007. [Google Scholar]
  3. Jordan, P.M.; Puri, A. Digital signal propagation in dispersive media. J. Appl. Phys. 1999, 85, 1273–1282. [Google Scholar] [CrossRef] [Scilit]
  4. Goldstein, S. On diffusion by discontinuous movements, and on the telegraph equation. Q. J. Mech. Appl. Math. 1951, 4, 129–156. [Google Scholar] [CrossRef] [Scilit]
  5. Banasiak, J.; Mika, J.R. Singularly perturbed telegraph equations with applications in the random walk theory. J. Appl. Math. Stoch. Anal. 1998, 11, 9–28. [Google Scholar] [CrossRef] [Scilit]
  6. Protter, M.H.; Weinberger, H.F. Maximum Principles in Differential Equations; Prentice Hall: Hoboken, NJ, USA, 1967. [Google Scholar]
  7. Rothe, E. Zweidimensionale parabolische Randwertaufgaben als Grenzfall eindimensionaler Randwertaufgaben. Math. Ann. 1930, 102, 650–670. [Google Scholar] [CrossRef] [Scilit]
  8. Rektorys, K. The Method of Discretization in Time and Partial Differential Equations; D. Reidel: Dordrecht, The Netherlands, 1982. [Google Scholar]
  9. Mohanty, R.K. An unconditionally stable finite difference formula for a linear second order one space dimensional hyperbolic equation with variable coefficients. Appl. Math. Comput. 2005, 165, 229–236. [Google Scholar] [CrossRef] [Scilit]
  10. Gao, F.; Chi, C. Unconditionally stable difference schemes for a one-space-dimensional linear hyperbolic equation. Appl. Math. Comput. 2007, 187, 1272–1276. [Google Scholar] [CrossRef] [Scilit]
  11. Szeg, G. Orthogonal Polynomials, 4th ed.; American Mathematical Soc.: Providence, RI, USA, 1975; Volume XXIII. [Google Scholar]
  12. Shen, J.; Tang, T.; Wang, L.L. Spectral Methods: Algorithms, Analysis and Applications; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  13. El-Azab, M.; El-Gamel, M. A numerical algorithm for the solution of telegraph equations. Appl. Math. Comput. 2007, 190, 757–764. [Google Scholar] [CrossRef] [Scilit]
  14. Hosseini, M.M.; Mohyud-Din, S.T.; Nakhaeei, A. New Rothe–wavelet method for solving telegraph equations. Int. J. Syst. Sci. 2012, 43, 1171–1176. [Google Scholar] [CrossRef] [Scilit]
  15. Izadi, M.; Noeiaghdam, S.; Ahmed, H. A Rothe-Chebyshev collocation algorithm for the hyperbolic telegraphic type equations with variable coefficients. Ain Shams Eng. J. 2025, 16, 103720. [Google Scholar] [CrossRef] [Scilit]
  16. Pandit, S.; Kumar, M.; Tiwari, S. Numerical simulation of second-order hyperbolic telegraph type equations with variable coefficients. Comput. Phys. Commun. 2015, 187, 83–90. [Google Scholar] [CrossRef] [Scilit]
  17. Mittal, R.; Bhatia, R. A collocation method for numerical solution of hyperbolic telegraph equation with Neumann boundary conditions. Int. J. Comput. Math. 2014, 2014, 526814. [Google Scholar] [CrossRef] [Scilit]
  18. Kırlı, E.; Irk, D.; Gorgulu, M.Z. High order accurate method for the numerical solution of the second order linear hyperbolic telegraph equation. Numer. Methods Partial Differ. Equ. 2023, 39, 2060–2072. [Google Scholar] [CrossRef] [Scilit]
  19. Clavero, C.; Jorge, J.C.; Lisbona, F. A uniformly convergent scheme on a nonuniform mesh for convection-diffusion parabolic problems. J. Comput. Appl. Math. 2003, 154, 415–429. [Google Scholar] [CrossRef] [Scilit]
  20. Doha, E.H.; Hafez, R.M.; Youssri, Y.H. Shifted Jacobi spectral-Galerkin method for solving hyperbolic partial differential equations. Comput. Math. Appl. 2019, 78, 889–904. [Google Scholar] [CrossRef] [Scilit]
  21. Sadri, K.; Amilo, D.; Farman, M.; Hinçal, E. Bivariate Jacobi polynomials depending on four parameters and their effect on solutions of time-fractional Burgers’ equations. J. Comput. Sci. 2024, 83, 102450. [Google Scholar] [CrossRef] [Scilit]
  22. Doha, E.H.; Abd-Elhameed, W.M.; Youssri, Y.H. Fully Legendre spectral Galerkin algorithm for solving linear one-dimensional telegraph type equation. Int. J. Comput. Methods 2019, 16, 1850118. [Google Scholar] [CrossRef] [Scilit]
  23. Ebadi, M.; Shahriari, M. A class of two stage multistep methods in solutions of time dependent parabolic PDEs. Calcolo 2024, 61, 4. [Google Scholar] [CrossRef] [Scilit]
  24. Ahmed, H. New Generalized Jacobi Polynomial Galerkin Operational Matrices of Derivatives: An Algorithm for Solving Boundary Value Problems. Fractal Fract. 2024, 8, 199. [Google Scholar] [CrossRef] [Scilit]
  25. Ahmed, H. New Jacobi Galerkin Operational Matrices of Derivatives: A Highly Accurate Method for Solving Two-Point Fractional-Order Nonlinear Boundary Value Problems with Robin Boundary Conditions. Fractal Fract. 2025, 9, 686. [Google Scholar] [CrossRef] [Scilit]
  26. Ahmed, H.M. New generalized Jacobi Galerkin operational matrices of derivatives: An algorithm for solving multi-term variable-order time-fractional diffusion-wave equations. Fractal Fract. 2024, 8, 68. [Google Scholar] [CrossRef] [Scilit]
  27. Hairer, E.; Nørsett, S.P.; Wanner, G. Solving Ordinary Differential Equations I: Nonstiff Problems, 2nd ed.; Springer Series in Computational Mathematics; Springer: Berlin/Heidelberg, Germany, 1993; Volume 8. [Google Scholar] [CrossRef] [Scilit]
  28. Lambert, J.D. Numerical Methods for Ordinary Differential Systems: The Initial Value Problem; John Wiley & Sons, Inc.: New York, NY, USA, 1991. [Google Scholar]
  29. Hairer, E.; Wanner, G. Solving Ordinary Differential Equations II: Stiff and Differential-Algebraic Problems, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1996. [Google Scholar]
  30. Szegő, G. Orthogonal Polynomials; American Mathematical Society: Providence, RI, USA, 1939; Volume 23. [Google Scholar]
  31. Canuto, C.; Hussaini, M.Y.; Quarteroni, A.; Zang, T. Spectral Methods: Fundamentals in Single Domains; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2006. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.