Next Article in Journal
Lie Symmetries as a Mathematical Methodology to Identify Conservation Laws in Physiological Systems
Previous Article in Journal
Managing Mega-Constellations: A Starlink-Informed Review
Previous Article in Special Issue
Integrability and Exact Wave Solutions of the (3+1)-Dimensional Combined pKP–BKP Equation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Fourier and Shape-Parameter Analysis of Compact Multiquadric RBF–HFD Approximations on Nonuniform Stencils

by
Haifa Bin Jebreen
Mathematics Department, College of Science, King Saud University, Riyadh, Saudi Arabia
Symmetry 2026, 18(7), 1142; https://doi.org/10.3390/sym18071142
Submission received: 7 June 2026 / Revised: 28 June 2026 / Accepted: 1 July 2026 / Published: 4 July 2026

Abstract

This paper develops a compact analytical framework for multiquadric radial basis function–Hermite finite difference (MQ RBF–HFD) approximations on nonuniform meshes. The main contributions are a unified local operator formulation, uniform-grid reductions connected with compact finite difference schemes, and a Fourier and modified-wavenumber analysis for assessing spectral resolution. A local frozen-coefficient Fourier analysis is further introduced to study the effects of mesh nonuniformity and the MQ shape parameter. The shape-parameter dependence is examined through truncation-error constants, conditioning indicators, and Fourier-resolution measures. The MQ RBF–HFD formulas are also compared with PHS-polynomial RBF–FD and RBF–HFD variants, clarifying the relation between explicit shape-dependent compact weights and shape-parameter-free polynomially augmented constructions. Numerical experiments confirm the predicted convergence behavior and demonstrate the accuracy of the proposed compact analysis on small nonuniform stencils.

1. Introduction and Literature Review

The construction of accurate differentiation formulas on nonuniform meshes is one of the classical topics in numerical analysis [1]. Although polynomial finite difference (FD) formulas are simple and efficient on uniform grids, their order of accuracy may decrease substantially when the underlying mesh is irregular [2,3]. For a sufficiently smooth function g, a standard local differentiation formula at a node x i may be written as [4]:
g ( p ) ( x i ) j S i w i j ( p ) g ( x j ) ,
where S i is a local stencil and w i j ( p ) are the corresponding FD weights. On nonuniform grids, the weights in (1) depend on the local spacings, and a small stencil may not provide the desired order of accuracy. Increasing the stencil width is one possible remedy, but it enlarges the local support of the approximation and may reduce the compact character of the resulting discretization; see, for example, the classical discussions in [5].
Radial basis function generated FD (RBF–FD) methods provide a flexible alternative to polynomial FD formulas. In RBF–FD methods, the weights in (1) are obtained by imposing exactness on RBFs rather than only on algebraic polynomials [6]. If ϕ ( r ) is a radial kernel and r = | x x j | , a local RBF interpolant may be written as [7]:
s i ( x ) = j S i λ j ϕ ( | x x j | ) .
In polynomially augmented RBF–FD methods [8], one instead uses
s i ( x ) = j S i λ j ϕ ( | x x j | ) + = 0 d χ p ( x ) ,
where { p } = 0 d is a basis for a polynomial space. The local weights are then computed so that the action of the desired differential operator on s i is reproduced at x i . Since the early development of RBF-FD formulas on irregular node layouts [9], this methodology has become an effective local meshfree approach for approximating differential operators on structured, unstructured, and scattered node sets [10].
A further improvement is obtained by combining RBF-FD ideas with compact or Hermite FD methodology [11]. In compact FD methods, derivative values at neighboring nodes are included in the approximation. Thus, instead of using only function values as in (1), one considers a relation of the form [5]:
g ( p ) ( x i ) j S i a i j ( p ) g ( x j ) + j H i b i j ( p ) g ( p ) ( x j ) ,
where
H i S i \ { x i }
denotes the neighboring nodes at which Hermite derivative information is used. The compact structure (2) is important because it can increase the accuracy and spectral resolution of the approximation without increasing the number of function-value nodes. Classical compact FD formulas are well known for their favorable modified-wavenumber behavior [4]. The RBF counterpart of this idea was developed in the compact RBF–FD framework of Wright and Fornberg [12], where compact FD-type formulas are generated from RBFs on scattered nodes. Further developments and applications of compact RBF-FD and Hermite-type schemes can be found in [13,14].
The present paper is based on the multiquadric (MQ) RBF–Hermite FD (RBF-HFD) weights derived in [15]. In that work, the MQ kernel [16]:
ϕ ( r ) = c 2 + r 2 , c > 0 ,
was used on the three-node nonuniform stencil
{ x i 1 , x i , x i + 1 } = { x i h , x i , x i + ω i + 1 h } , h > 0 ,
to construct compact RBF–HFD formulas for the first and second derivatives. The first-derivative approximation was written in the form
g ( x i ) α i 1 g ( x i 1 ) + α i g ( x i ) + α i + 1 g ( x i + 1 ) + β i 1 g ( x i 1 ) + β i + 1 g ( x i + 1 ) .
while the second-derivative approximation was written as
g ( x i ) λ i 1 g ( x i 1 ) + λ i g ( x i ) + λ i + 1 g ( x i + 1 ) + μ i 1 g ( x i 1 ) + μ i + 1 g ( x i + 1 ) .
Their local truncation errors have the form
g ^ ( x i ) g ( x i ) = C 1 ( c , ω i + 1 ; g ) h 4 + O ( h 5 ) ,
and
g ^ ( x i ) g ( x i ) = C 2 ( c , ω i + 1 ; g ) h 3 + O ( h 4 ) .
Hence, the first-derivative formula is fourth-order accurate, whereas the second-derivative formula is third-order accurate on the compact three-node nonuniform stencil (4).
The purpose of the present paper is to develop a deeper analytical framework around the compact Formulas (5) and (6). The analysis focuses on their unified local operator structure, their uniform-grid specialization, their Fourier and modified-wavenumber behavior [17], their nonuniform frozen-coefficient Fourier symbols, their dependence on the MQ shape parameter, and their comparison with modern PHS-polynomial RBF–FD and RBF–HFD variants.
The Fourier analysis [18] starts from the uniform-grid specialization of (5) and (6). For a Fourier mode
g j = exp ( i j ξ ) , ξ = k h ,
where k is the exact wave number and ξ is the nondimensional wave number, the exact derivatives satisfy
g j = i k g j , g j = k 2 g j .
A numerical differentiation formula defines a modified wave number k p * through
D p g j = ( i k p * ) p g j .
The deviation of k p * from k measures the spectral resolution of the approximation. For the first derivative, we use
E 1 ( ξ ) = k 1 * k 1 ,
whereas for the second derivative we use
E 2 ( ξ ) = ( k 2 * ) 2 k 2 1 .
These quantities make it possible to compare MQ RBF–HFD formulas with classical FD, compact FD, and RBF–FD approximations on the basis of spectral resolution rather than Taylor error alone [19,20].
For nonuniform grids, the coefficients in (5) and (6) vary with the node x i . Therefore, a single global Fourier symbol is no longer available. To handle this case, we use a local frozen-coefficient Fourier analysis. The local mesh ratio and shape ratio are fixed as
ω = ω i + 1 , θ = c h .
For the first derivative, the local frozen symbol has the form
D 1 ( ξ ; ω , θ ) = α ( ω , θ ) e i ξ + α 0 ( ω , θ ) + α + ( ω , θ ) e i ω ξ 1 β ( ω , θ ) e i ξ β + ( ω , θ ) e i ω ξ .
The local modified wave number is then defined by
i k 1 * ( ξ ; ω , θ ) = D 1 ( ξ ; ω , θ ) .
The imaginary part of (8) describes the local dispersive behavior, while the real part describes local dissipation or growth. This local Fourier viewpoint is particularly useful because it shows how the mesh asymmetry ω and the shape ratio θ affect the compact approximation.
The MQ shape parameter c plays an important role in both accuracy and conditioning. If M i ( p ) ( c ) denotes the local Hermite RBF matrix associated with the p-th derivative formula at the node x i , its condition number is denoted by
κ i ( p ) ( c ) = cond M i ( p ) ( c ) .
A useful value of c should balance truncation error, conditioning, and Fourier resolution. This motivates a local selection principle of the form
θ p * = arg min θ [ θ min , θ max ] γ 1 T p ( ω , θ ) + γ 2 log 1 + κ i ( p ) ( ω , θ ) + γ 3 R p ( ω , θ ) , p = 1 , 2 ,
where T p is a truncation-error indicator, κ i ( p ) is the local condition number, R p is a Fourier-resolution indicator, and γ 1 , γ 2 , γ 3 0 are balancing parameters. The criterion (10) is used in this paper as a diagnostic tool for understanding how the shape parameter affects the accuracy and stability of the local compact formulas.
The present paper also compares the MQ RBF–HFD framework with modern PHS-polynomial RBF–FD and RBF–HFD variants. In such methods, one frequently uses the shape-parameter-free polyharmonic spline kernel
ϕ PHS ( r ) = r 2 m + 1 , m = 0 , 1 , 2 , ,
together with a polynomial augmentation of the form
s i ( x ) = j S i λ j ϕ PHS ( | x x j | ) + = 0 d χ x .
The use of PHS kernels with polynomial augmentation has become important in the modern RBF–FD literature because it can avoid direct shape-parameter selection while retaining high-order accuracy [21]. In the present work, the PHS-polynomial variants are not proposed as replacements for the explicit MQ RBF–HFD weights. Rather, they are used as contemporary benchmarks for comparing accuracy, conditioning, and Fourier-resolution behavior.
The main contributions of the paper can be summarized as follows. First, the uniform-grid reductions of these formulas are connected with compact FD approximations. Second, Fourier and modified-wavenumber analysis is used to study the spectral resolution of the uniform formulas. Third, a local frozen-coefficient Fourier analysis is introduced for the genuinely nonuniform case through (8). Fourth, the effect of the MQ shape parameter is examined through the condition number (9) and the selection principle (10). Fifth, the MQ RBF–HFD formulas are compared with PHS-polynomial RBF–FD and RBF–HFD variants based on (11) and (12).
The rest of the paper is organized as follows. Section 2 reviews the three-node MQ RBF–HFD weights. Section 3 introduces a unified compact RBF–HFD operator formulation. Section 4 derives the uniform-grid specialization of the weights. Section 5 presents the Fourier and modified-wavenumber analysis and then extends it to nonuniform stencils through local frozen-coefficient symbols, together with conditioning and shape-parameter indicators. Section 6 compares the MQ RBF–HFD formulas with PHS-polynomial RBF–FD and RBF–HFD variants. Numerical experiments are reported in Section 7. Finally, Section 8 gives the conclusions and discusses possible directions for future work. See Appendix A for clarifications on our notations.

2. Review of the Three-Node MQ RBF–HFD Weights

Let g be a sufficiently differentiable function on an interval Ω R . The MQ RBF used in [15] is (3). For notational compactness in this section, we use
ω = ω i + 1 .
All formulas below are therefore written in terms of ω , while the corresponding mesh ratio in the original stencil is the same quantity ω i + 1 .
Consider (5), if D 1 , i MQHFD g denotes the right-hand side of (5), then
D 1 , i MQHFD g = α i 1 g ( x i 1 ) + α i g ( x i ) + α i + 1 g ( x i + 1 ) + β i 1 g ( x i 1 ) + β i + 1 g ( x i + 1 ) .
The closed-form coefficients are
α i 1 = ω 2 ω 14 c 2 + 31 h 2 ω + 62 h 2 28 c 2 121 h 2 7 c 2 h ( ω + 1 ) 3 ,
α i = ( ω 1 ) 14 ω 31 h 2 c 2 7 h ,
α i + 1 = h 2 ω ( 121 ω 62 ) 31 c 2 + 14 1 ω + 2 7 h ( ω + 1 ) 3 ,
β i 1 = ω 2 7 c 2 31 h 2 ω + 45 h 2 7 c 2 ( ω + 1 ) 2 ,
β i + 1 = h 2 ( 31 45 ω ) ω 7 c 2 7 c 2 ( ω + 1 ) 2 .
The dimensional structure of these weights is
α i 1 , α i , α i + 1 = O ( h 1 ) , β i 1 , β i + 1 = O ( 1 ) .
Thus, the first part of (5) has the usual derivative scaling, while the Hermite part is dimensionless and couples the unknown derivative values at the neighboring nodes.
The local truncation error associated with (5) is
D 1 , i MQHFD g g ( x i ) = ω 2 c 2 g ( 5 ) ( x i ) + 40 g ( 3 ) ( x i ) 120 c 2 h 4 + O ( h 5 ) .
Therefore, the approximation (5) is fourth-order accurate on the three-node nonuniform stencil (4). In particular, if the local mesh ratio ω remains bounded away from zero and infinity, the leading order of the first-derivative error is governed by the factor
C 1 ( c , ω ; g ) = ω 2 c 2 g ( 5 ) ( x i ) + 40 g ( 3 ) ( x i ) 120 c 2 .
The error representation (19) will be used later when the shape-parameter dependence of the method is studied.
The second-derivative RBF–HFD approximation has the analogous procedure. Defining the local second-derivative operator by the right-hand side of (6), we write
D 2 , i MQHFD g = λ i 1 g ( x i 1 ) + λ i g ( x i ) + λ i + 1 g ( x i + 1 ) + μ i 1 g ( x i 1 ) + μ i + 1 g ( x i + 1 ) .
The function-value weights for the second derivative are
λ i 1 = ω P λ , ( ω , c , h ) 98 c 4 h 2 ( ω + 1 ) ( ω 2 + 3 ω + 1 ) 3 ,
λ i = 3 P λ , 0 ( ω , c , h ) 49 c 4 h 2 ( ω 2 + 3 ω + 1 ) 3 ,
λ i + 1 = P λ , + ( ω , c , h ) 98 c 4 h 2 ( ω + 1 ) ( ω 2 + 3 ω + 1 ) 3 .
Here the polynomials in (21)–(23) are
P λ , ( ω , c , h ) = 14 ( 84 c 4 + 285 c 2 h 2 731 h 4 ) + 3 ( 2352 c 4 + 4914 c 2 h 2 14617 h 4 ) ω + ( 12936 c 4 + 3444 c 2 h 2 10685 h 4 ) ω 2 + ( 7056 c 4 21042 c 2 h 2 + 31075 h 4 ) ω 3 + ( 1176 c 4 + 3444 c 2 h 2 37831 h 4 ) ω 4 + ( 14742 c 2 h 2 + 46265 h 4 ) ω 5 + 15 ( 266 c 2 h 2 + 137 h 4 ) ω 6 39686 h 4 ω 7 9744 h 4 ω 8 ,
P λ , 0 ( ω , c , h ) = 7 ( 28 c 4 + 95 c 2 h 2 232 h 4 ) + 3 ( 392 c 4 + 819 c 2 h 2 2232 h 4 ) ω + ( 2156 c 4 + 574 c 2 h 2 270 h 4 ) ω 2 + ( 1176 c 4 3507 c 2 h 2 + 6200 h 4 ) ω 3 + 2 ( 98 c 4 + 287 c 2 h 2 3663 h 4 ) ω 4 + ( 2457 c 2 h 2 + 6200 h 4 ) ω 5 + 5 ( 133 c 2 h 2 54 h 4 ) ω 6 6696 h 4 ω 7 1624 h 4 ω 8 ,
P λ , + ( ω , c , h ) = 42 ( 28 c 4 + 95 c 2 h 2 232 h 4 ) + 2 ( 3528 c 4 + 7371 c 2 h 2 19843 h 4 ) ω + 3 ( 4312 c 4 + 1148 c 2 h 2 + 685 h 4 ) ω 2 + ( 7056 c 4 21042 c 2 h 2 + 46265 h 4 ) ω 3 + ( 1176 c 4 + 3444 c 2 h 2 37831 h 4 ) ω 4 + ( 14742 c 2 h 2 + 31075 h 4 ) ω 5 + 5 ( 798 c 2 h 2 2137 h 4 ) ω 6 43851 h 4 ω 7 10234 h 4 ω 8 .
The Hermite weights in (6) are
μ i 1 = ω P μ , ( ω , c , h ) Q μ ( ω , c ) ,
μ i + 1 = P μ , + ( ω , c , h ) Q μ ( ω , c ) ,
where
Q μ ( ω , c ) = 42 c 2 ( ω + 1 ) ( ω 2 + 3 ω + 1 ) 2 ,
and
P μ , ( ω , c , h ) = 42 c 2 + 397 h 2 + 24 ( 7 c 2 + 53 h 2 ) ω + ( 126 c 2 + 211 h 2 ) ω 2 4 ( 21 c 2 + 379 h 2 ) ω 3 + ( 177 h 2 42 c 2 ) ω 4 + 458 h 2 ω 5 ,
P μ , + ( ω , c , h ) = 42 c 2 + ( 458 h 2 84 c 2 ) ω + 3 ( 42 c 2 + 59 h 2 ) ω 2 + 4 ( 42 c 2 379 h 2 ) ω 3 + ( 42 c 2 + 211 h 2 ) ω 4 + 1272 h 2 ω 5 + 397 h 2 ω 6 .
The dimensional scaling of the second-derivative coefficients is
λ i 1 , λ i , λ i + 1 = O ( h 2 ) , μ i 1 , μ i + 1 = O ( 1 ) .
Therefore, as in the first-derivative case, the compact coupling coefficients are dimensionless, while the function-value coefficients carry the correct differentiation scaling.
The local truncation error for (6) is
D 2 , i MQHFD g g ( x i ) = ω ( 2 ω 3 + 3 ω 2 3 ω 2 ) 30 c 4 ( ω 2 + 3 ω + 1 ) × c 4 g ( 5 ) ( x i ) + 40 c 2 g ( 3 ) ( x i ) + 75 g ( x i ) h 3 + O ( h 4 ) .
Thus, the second-derivative approximation (6) is third-order accurate on a general three-node nonuniform stencil. The corresponding leading error constant is
C 2 ( c , ω ; g ) = ω ( 2 ω 3 + 3 ω 2 3 ω 2 ) 30 c 4 ( ω 2 + 3 ω + 1 ) × c 4 g ( 5 ) ( x i ) + 40 c 2 g ( 3 ) ( x i ) + 75 g ( x i ) .
A useful observation for the later uniform-grid analysis is that
2 ω 3 + 3 ω 2 3 ω 2 = 0 when ω = 1 .
Consequently, the leading term in (32) vanishes on the uniform grid. This cancelation is one reason why the uniform-grid specialization of (6) has particularly favorable compact finite-difference behavior.
The flat-shape limit c + is also important. For the first derivative, (13)–(17) reduce to
α i 1 ( ) = 2 ω 2 ( ω + 2 ) h ( ω + 1 ) 3 , α i ( ) = 2 ( ω 1 ) h ω ,
α i + 1 ( ) = 4 ω + 2 h ω ( ω + 1 ) 3 , β i 1 ( ) = ω 2 ( ω + 1 ) 2 , β i + 1 ( ) = 1 ( ω + 1 ) 2 .
Similarly, the flat-shape limit of the second-derivative weights is
λ i 1 ( ) = 12 ω h 2 ( ω + 1 ) ( ω 2 + 3 ω + 1 ) , λ i ( ) = 12 h 2 ( ω 2 + 3 ω + 1 ) ,
λ i + 1 ( ) = 12 h 2 ( ω + 1 ) ( ω 2 + 3 ω + 1 ) , μ i 1 ( ) = ω ( ω 2 ω 1 ) ( ω + 1 ) ( ω 2 + 3 ω + 1 ) ,
μ i + 1 ( ) = ω 2 + ω 1 ( ω + 1 ) ( ω 2 + 3 ω + 1 ) .
The limiting weights (35) and (36) and (37)–(39) will be used later to connect the RBF–HFD formulas with compact FD formulas. They also provide a convenient reference when studying the influence of the finite shape ratio c / h .
For later analysis, it is useful to introduce the nondimensional shape ratio
θ = c h .
In terms of θ , the first- and second-derivative weights may be written as rational functions of ω and θ with the dimensional scalings displayed in (18) and (31). More precisely, there exist dimensionless functions
A ( 1 ) , A 0 ( 1 ) , A + ( 1 ) , B ( 1 ) , B + ( 1 )
and
A ( 2 ) , A 0 ( 2 ) , A + ( 2 ) , B ( 2 ) , B + ( 2 )
such that
α i 1 = 1 h A ( 1 ) ( ω , θ ) , α i = 1 h A 0 ( 1 ) ( ω , θ ) , α i + 1 = 1 h A + ( 1 ) ( ω , θ ) ,
β i 1 = B ( 1 ) ( ω , θ ) , β i + 1 = B + ( 1 ) ( ω , θ ) ,
and
λ i 1 = 1 h 2 A ( 2 ) ( ω , θ ) , λ i = 1 h 2 A 0 ( 2 ) ( ω , θ ) , λ i + 1 = 1 h 2 A + ( 2 ) ( ω , θ ) ,
μ i 1 = B ( 2 ) ( ω , θ ) , μ i + 1 = B + ( 2 ) ( ω , θ ) .
The dimensionless representation (40)–(43) is central in the following sections. In the Fourier analysis, ω controls the local mesh asymmetry, while θ controls the shape-parameter effect. In the Fourier and conditioning analyses, the same quantities influence the local spectral-resolution indicators, the shape-parameter sensitivity, and the conditioning of the local Hermite systems.

3. Unified Compact RBF–HFD Operator Formulation

In this section, we place the three-node formulas recalled in Section 2 into a unified local operator framework. Let L p denote the p-th derivative operator,
L p g ( x ) = d p g d x p ( x ) , p = 1 , 2 , .
For a given node x i , let
S i = { x i , 0 , x i , 1 , , x i , n i 1 } ,
be a local stencil containing x i . A compact Hermite approximation of L p g ( x i ) uses both function values and neighboring derivative values. We therefore introduce a Hermite subset
H i S i \ { x i } ,
and seek an approximation of the form
L p g ( x i ) x j S i a i j ( p ) g ( x j ) + x j H i b i j ( p ) L p g ( x j ) .
The first sum in (44) contains the usual function-value weights, whereas the second sum contains the Hermite or compact coupling weights. The Formulas (5) and (6) are special cases of (44).
For the MQ kernel (3), the local RBF–Hermite interpolant associated with S i and H i may be written as
s i ( x ) = x S i λ ϕ ( | x x | ) + x ν H i η ν L p , y ϕ ( | x y | ) | y = x ν ,
where L p , y means that the operator L p acts with respect to the variable y. The Hermite interpolation conditions are
s i ( x j ) = g ( x j ) , x j S i ,
and
L p s i ( x j ) = L p g ( x j ) , x j H i .
Equations (46) and (47) determine the interpolation coefficients λ and η ν . To express the construction compactly, define the block matrices
( Φ i ) j = ϕ ( | x j x | ) , x j , x S i ,
( Ψ i ( p ) ) j ν = L p , y ϕ ( | x j y | ) | y = x ν , x j S i , x ν H i ,
( Γ i ( p ) ) μ = L p , x ϕ ( | x x | ) | x = x μ , x μ H i , x S i ,
and
( Θ i ( p ) ) μ ν = L p , x L p , y ϕ ( | x y | ) | x = x μ , y = x ν , x μ , x ν H i .
The local Hermite RBF interpolation matrix is then
M i ( p ) = Φ i Ψ i ( p ) Γ i ( p ) Θ i ( p ) .
If
y i ( p ) = { g ( x j ) } x j S i , { L p g ( x j ) } x j H i T ,
and
c i ( p ) = { λ } x S i , { η ν } x ν H i T ,
then the interpolation conditions can be written as
M i ( p ) c i ( p ) = y i ( p ) .
The desired approximation is obtained by applying L p to (45) at x = x i . Define
d i ( p ) = L p , x ϕ ( | x x | ) | x = x i x S i , L p , x L p , y ϕ ( | x y | ) | x = x i , y = x ν x ν H i T .
Then
L p s i ( x i ) = d i ( p ) T c i ( p ) = d i ( p ) T M i ( p ) 1 y i ( p ) .
Therefore, the local RBF–HFD weight vector is
w i ( p ) = M i ( p ) T d i ( p ) .
Writing
w i ( p ) = { a i j ( p ) } x j S i , { b i j ( p ) } x j H i T ,
one obtains exactly the compact Formula (44). Hence, the local RBF–HFD weights are characterized by the transpose solve
M i ( p ) T w i ( p ) = d i ( p ) .
This representation is useful because it separates the construction of the weights from the later Fourier and conditioning analyses.
We now recover the formulas of Section 2 as special cases. For the three-node stencil (4), we take
S i = { x i 1 , x i , x i + 1 } , H i = { x i 1 , x i + 1 } .
For p = 1 , the general Formula (44) becomes
L 1 g ( x i ) a i , i 1 ( 1 ) g ( x i 1 ) + a i , i ( 1 ) g ( x i ) + a i , i + 1 ( 1 ) g ( x i + 1 ) + b i , i 1 ( 1 ) g ( x i 1 ) + b i , i + 1 ( 1 ) g ( x i + 1 ) .
Comparing (51) with (5), one has
a i , i 1 ( 1 ) = α i 1 , a i , i ( 1 ) = α i , a i , i + 1 ( 1 ) = α i + 1 , b i , i 1 ( 1 ) = β i 1 , b i , i + 1 ( 1 ) = β i + 1 .
Thus, (13)–(17) are precisely the entries of the general weight vector (49) for the case p = 1 .
Similarly, for p = 2 , the general Formula (44) gives
L 2 g ( x i ) a i , i 1 ( 2 ) g ( x i 1 ) + a i , i ( 2 ) g ( x i ) + a i , i + 1 ( 2 ) g ( x i + 1 ) + b i , i 1 ( 2 ) g ( x i 1 ) + b i , i + 1 ( 2 ) g ( x i + 1 ) .
Comparing (52) with (6), one obtains
a i , i 1 ( 2 ) = λ i 1 , a i , i ( 2 ) = λ i , a i , i + 1 ( 2 ) = λ i + 1 , b i , i 1 ( 2 ) = μ i 1 , b i , i + 1 ( 2 ) = μ i + 1 .
Consequently, (21)–(28) are the entries of (49) for the case p = 2 .
The consistency and accuracy of (44) may be interpreted through local moment residuals. Let
δ i j = x j x i , x j S i .
For the monomial ( x x i ) , the exact value of its p-th derivative at x i is
L p ( x x i ) | x = x i = p ! , = p , 0 , p .
The moment residual associated with (44) is therefore defined by
M , i ( p ) = x j S i a i j ( p ) δ i j + x j H i b i j ( p ) L p ( x x i ) | x = x j L p ( x x i ) | x = x i = x j S i a i j ( p ) δ i j + x j H i b i j ( p ) ! ( p ) ! δ i j p p ! δ p , p ,
with the convention that the second sum is zero when < p . Here δ p is the Kronecker delta. Expanding a smooth function g around x i , one obtains
g ( x ) = = 0 L g ( ) ( x i ) ! ( x x i ) + O | x x i | L + 1 .
Substitution of (54) into (44) gives the local error representation
D p , i HFD g L p g ( x i ) = = 0 L g ( ) ( x i ) ! M , i ( p ) + O h i L + 1 p ,
where h i denotes a representative local mesh length. Hence, if
M , i ( p ) = 0 , = 0 , 1 , , L 1 ,
and M L , i ( p ) 0 , then the first nonzero Taylor contribution to the local error is governed by
g ( L ) ( x i ) L ! M L , i ( p ) .
Because M L , i ( p ) = O ( h i L p ) , the local order is L p .
For the first-derivative Formula (5), the moment cancelations imply that the leading nonzero contribution occurs at L = 5 , and since p = 1 , the local order is 5 1 = 4 , in agreement with (19). For the second-derivative Formula (6), the leading nonzero contribution on a general nonuniform stencil also occurs at L = 5 , and since p = 2 , the local order is 5 2 = 3 , in agreement with (32). This moment viewpoint will be useful later when the influence of the mesh ratio ω and the shape ratio θ = c / h is examined.
The compact character of (44) also explains why the three-node RBF–HFD formulas can achieve higher accuracy than standard three-node FD formulas. The derivative data in H i provides additional degrees of freedom. These additional degrees of freedom allow more moment residuals in (53) to vanish without increasing the number of function-value nodes in S i . This is precisely the mechanism by which (5) attains fourth-order accuracy and (6) attains third-order accuracy on the compact stencil (4).

4. Uniform-Grid Specialization of the Weights

The Fourier and modified-wavenumber analysis developed in the next section requires a translation-invariant stencil. Therefore, before studying the spectral behavior of the RBF–HFD formulas, we specialize the nonuniform three-node stencil (4) to the uniform case. Throughout this section, we write
x i 1 = x i h , x i + 1 = x i + h ,
or equivalently
ω i + 1 = 1 .
For compactness, we use the notation
g i = g ( x i ) , g i = g ( x i ) , g i = g ( x i ) .
Since the weights recalled in Section 2 were obtained under the asymptotic assumption c h , it is also convenient to introduce the small dimensionless parameter
ε = h c .
The limit ε = h / c 0 has a simple geometric interpretation. Since the MQ kernel satisfies
ϕ ( r ) = c 2 + r 2 = c + r 2 2 c + O r 4 c 3 , | r | = O ( h ) ,
the variation of ϕ across a local stencil becomes increasingly small when c is large compared with h. Equivalently, the local curvature of the MQ kernel satisfies ϕ ( 0 ) = 1 / c , and hence tends to zero as c + . Thus, the flat-shape limit does not merely represent an algebraic simplification of the weights; it means that, relative to the local mesh spacing, the MQ basis functions become nearly flat. In this regime, the shape-dependent RBF–HFD weights approach the classical compact FD weights, which explains the limiting formulas obtained below. Thus, the flat-shape or large-shape-parameter limit corresponds to
ε 0 .
We first consider the first-derivative Formula (5). Substituting ω i + 1 = 1 into (13)–(17) gives
α i 1 = 1 h 3 4 + ε 2 2 ,
α i = 0 ,
α i + 1 = 1 h 3 4 + ε 2 2 ,
and
β i 1 = β i + 1 = 1 4 + ε 2 2 .
Therefore, the uniform-grid specialization of (5) becomes
g i 3 4 + ε 2 2 g i + 1 g i 1 h 1 4 + ε 2 2 g i 1 + g i + 1 .
Equivalently, after moving the neighboring derivative terms to the left-hand side, one obtains the compact form
ρ 1 ( ε ) g i 1 + g i + ρ 1 ( ε ) g i + 1 = a 1 ( ε ) g i + 1 g i 1 ,
where
ρ 1 ( ε ) = 1 4 + ε 2 2 ,
and
a 1 ( ε ) = 1 h 3 4 + ε 2 2 .
Equations (57) and (58) show that the first-derivative RBF–HFD formula is a perturbation of the classical compact fourth-order first-derivative formula. Indeed, taking ε 0 in (57) gives
1 4 g i 1 + g i + 1 4 g i + 1 = 3 4 h g i + 1 g i 1 .
The Taylor behavior of (57) can be made explicit. Substituting the exact values of g i ± 1 and g i ± 1 into the left- and right-hand sides of (57), and expanding around x i , gives the residual
R 1 , i ( ε ) = ρ 1 ( ε ) g i 1 + g i + ρ 1 ( ε ) g i + 1 a 1 ( ε ) g i + 1 g i 1 = ε 2 3 h 2 g ( 3 ) ( x i ) + 1 120 + ε 2 30 h 4 g ( 5 ) ( x i ) + O ( h 6 ) .
Since ε = h / c , the first term on the right-hand side of (60) is h 4 g ( 3 ) ( x i ) / ( 3 c 2 ) when c is fixed with respect to h. Hence, the residual is of fourth order in the asymptotic regime c h , consistently with the local error Formula (19). In the flat limit ε 0 , (60) reduces to
R 1 , i ( 0 ) = h 4 120 g ( 5 ) ( x i ) + O ( h 6 ) ,
which is the standard fourth-order compact behavior associated with (59).
We next specialize the second-derivative Formula (6). Substituting ω i + 1 = 1 into (21)–(28) gives a symmetric compact formula. The function-value weights satisfy
λ i 1 = λ i + 1 = a 2 ( ε ) ,
and
λ i = 2 a 2 ( ε ) ,
where
a 2 ( ε ) = 1 h 2 6 5 + 2331 2450 ε 2 18159 6125 ε 4 .
The Hermite weights satisfy
μ i 1 = μ i + 1 = ρ 2 ( ε ) ,
where
ρ 2 ( ε ) = 1 10 + 333 700 ε 2 .
Consequently, the uniform-grid specialization of (6) can be written as
g i a 2 ( ε ) g i 1 2 g i + g i + 1 ρ 2 ( ε ) g i 1 + g i + 1 .
Equivalently,
ρ 2 ( ε ) g i 1 + g i + ρ 2 ( ε ) g i + 1 = a 2 ( ε ) g i 1 2 g i + g i + 1 .
In the flat-shape limit ε 0 , (61) reduces to
1 10 g i 1 + g i + 1 10 g i + 1 = 6 5 h 2 g i 1 2 g i + g i + 1 .
Thus, as in the first-derivative case, the uniform RBF–HFD formula reduces in the flat limit to a classical compact FD formula.
The residual of (61) is
R 2 , i ( ε ) = ρ 2 ( ε ) g i 1 + g i + ρ 2 ( ε ) g i + 1 a 2 ( ε ) g i 1 2 g i + g i + 1 = 18159 6125 ε 4 g ( x i ) + 19425 ε 2 + 12106 ε 4 49000 h 2 g ( 4 ) ( x i ) + 1 200 + 1813 49000 ε 2 + 6053 735000 ε 4 h 4 g ( 6 ) ( x i ) + O ( h 6 ) .
Because ε = h / c , the first term in (63) is of order h 4 when c is fixed and nonzero. Thus, the apparent zero-order term in (63) is an artifact of writing the asymptotic coefficients in terms of ε ; in the regime c h , it contributes at fourth order. In the flat limit, (63) becomes
R 2 , i ( 0 ) = h 4 200 g ( 6 ) ( x i ) + O ( h 6 ) .
Therefore, although the general nonuniform second-derivative Formula (6) has the third-order error model (32), the uniform flat-limit Formula (62) has fourth-order compact behavior. This order elevation is consistent with the cancelation (34), which occurs when ω = 1 , [22].
It is useful to summarize the two flat-limit compact formulas that will be used as the principal reference formulas in the Fourier analysis. For the first derivative,
1 4 g i 1 + g i + 1 4 g i + 1 = 3 4 h g i + 1 g i 1 ,
and for the second derivative,
1 10 g i 1 + g i + 1 10 g i + 1 = 6 5 h 2 g i 1 2 g i + g i + 1 .
The perturbed Formulas (57) and (61) describe the influence of the finite ratio h / c , whereas (64) and (65) describe the dominant compact structure in the asymptotic regime c h .

5. Local Fourier Analysis, Conditioning, and Shape-Parameter Indicators

The Fourier analysis in this section is exact for the uniform-grid specialization of the compact RBF–HFD formulas [23,24]. The idea is to freeze the local quantities ω = ω i + 1 , θ = c h , and to study the response of the local formula to the Fourier mode
g ( x i + ζ h ) = exp ( i ζ ξ ) , ξ = k h .
For the stencil (4), this gives
g ( x i 1 ) = e i ξ g ( x i ) , g ( x i + 1 ) = e i ω ξ g ( x i ) .
Using the dimensionless weights introduced in (40) and (41), the local first derivative symbol is defined by
h D 1 ( ξ ; ω , θ ) = A ( 1 ) ( ω , θ ) e i ξ + A 0 ( 1 ) ( ω , θ ) + A + ( 1 ) ( ω , θ ) e i ω ξ 1 B ( 1 ) ( ω , θ ) e i ξ B + ( 1 ) ( ω , θ ) e i ω ξ .
The corresponding local modified wave number is determined from
i k 1 * ( ξ ; ω , θ ) = D 1 ( ξ ; ω , θ ) .
Thus, the imaginary part of D 1 describes the local dispersive behavior, while the real part measures artificial dissipation or growth:
P 1 ( ξ ; ω , θ ) = Im h D 1 ( ξ ; ω , θ ) , A 1 ( ξ ; ω , θ ) = Re h D 1 ( ξ ; ω , θ ) .
For an ideal nondissipative first-derivative approximation, one expects A 1 ( ξ ; ω , θ ) 0 and P 1 ( ξ ; ω , θ ) ξ for the resolved range of wave numbers.
Similarly, using (42) and (43), the local second-derivative symbol is
h 2 D 2 ( ξ ; ω , θ ) = A ( 2 ) ( ω , θ ) e i ξ + A 0 ( 2 ) ( ω , θ ) + A + ( 2 ) ( ω , θ ) e i ω ξ 1 B ( 2 ) ( ω , θ ) e i ξ B + ( 2 ) ( ω , θ ) e i ω ξ .
Since the exact second derivative of the Fourier mode is k 2 g , the local modified second wave number is defined by
k 2 * ( ξ ; ω , θ ) 2 = D 2 ( ξ ; ω , θ ) .
The quantities
R 1 ( ω , θ ) = 0 ξ max h D 1 ( ξ ; ω , θ ) i ξ 1 2 d ξ 1 / 2 ,
and
R 2 ( ω , θ ) = 0 ξ max h 2 D 2 ( ξ ; ω , θ ) ξ 2 1 2 d ξ 1 / 2
will be used as compact measures of the local spectral-resolution error. The upper limit ξ max π is chosen according to the range of wave numbers regarded as numerically resolved. The integrands in (66) and (67) are understood in the limiting sense as ξ 0 .
In the numerical experiments, the upper integration limit in (66) and (67) is chosen as
ξ max = π .
This value is the Nyquist limit for the nondimensional wave number ξ = k h . Therefore, the interval 0 ξ π covers the full range of resolvable Fourier modes on the uniform reference grid. For the local frozen-coefficient analysis on nonuniform stencils, the same interval is used in order to make the spectral-resolution indicators directly comparable with the uniform-grid modified-wavenumber measures. The removable singularity at ξ = 0 is handled by the corresponding Taylor limit of the modified wavenumber.
The same local quantities also enter the conditioning analysis. Let M i ( p ) be the local Hermite RBF interpolation matrix defined in (48). Its condition number is
κ i ( p ) ( ω , θ ) = cond M i ( p ) .
A large value of κ i ( p ) indicates possible sensitivity of the local weights to perturbations, round-off errors, or an unfavorable choice of the shape parameter. On the other hand, the local truncation-error constants in (20) and (33) show that the shape parameter also affects the leading asymptotic error. Hence, a useful choice of θ should not be based only on accuracy, nor only on conditioning.
For this reason, we define the normalized local error indicators
T 1 ( ω , θ ) = C 1 ( c , ω ; g ) , T 2 ( ω , θ ) = C 2 ( c , ω ; g ) ,
where C 1 and C 2 are given by (20) and (33), respectively. Combining truncation error, conditioning, and spectral resolution leads to the local shape-parameter criterion
θ p * = arg min θ [ θ min , θ max ] γ 1 T p ( ω , θ ) + γ 2 log 1 + κ i ( p ) ( ω , θ ) + γ 3 R p ( ω , θ ) , p = 1 , 2 .
Here γ 1 , γ 2 , γ 3 0 are balancing parameters. The first term in (69) controls the asymptotic local error, the second controls the conditioning of the RBF–HFD weights, and the third controls the local Fourier resolution. In the numerical experiments, (69) may be used either as an actual local selection rule or as a diagnostic tool for explaining why some values of θ produce more accurate and stable approximations than others.
The parameters γ 1 , γ 2 , γ 3 in (69) are not universal constants; they express the relative importance assigned to accuracy, conditioning, and spectral resolution. In practice, the three quantities should first be normalized over the admissible interval [ θ min , θ max ] , for example by dividing each one by its minimum or by a representative reference value on that interval. After this normalization, a neutral default choice is
γ 1 = γ 2 = γ 3 = 1 3 .
This choice gives equal weight to the truncation-error, conditioning, and Fourier-resolution indicators. If the closed-form MQ RBF–HFD weights are used, one may choose a slightly larger value of γ 1 or γ 3 when accuracy or spectral resolution is the main objective. On the other hand, if the weights are generated by directly solving the local Hermite systems in finite precision, γ 2 should be increased in order to avoid highly ill-conditioned regimes. A practical double-precision guideline is to restrict the search to values of θ for which
κ i ( p ) ( ω , θ ) u 1 ,
where u is the machine unit round-off. Thus, the criterion (69) is best viewed as a scale-normalized diagnostic rather than as a universal optimization rule.

6. Comparison with PHS-Polynomial RBF–FD and RBF–HFD Variants

The MQ RBF–HFD formulas reviewed in Section 2 have the advantage of providing explicit compact weights on the three-node nonuniform stencil (4). Their coefficients depend on the mesh ratio ω , the local step size h, and the MQ shape parameter c. This dependence is analytically useful, but it also raises the usual shape-parameter issue in RBF methods. For this reason, it is natural to compare the MQ RBF–HFD formulas with modern shape-parameter-free RBF–FD and RBF–HFD constructions based on polyharmonic splines augmented with polynomials [10,25].
The polyharmonic spline kernel is recalled from (11):
ϕ m ( r ) = r 2 m + 1 , m = 0 , 1 , 2 ,
In contrast with the MQ kernel (3), the PHS kernel (70) contains no shape parameter. High-order accuracy is obtained by augmenting the RBF approximation with a polynomial space [26]. On a local stencil S i , let
Π d = span { 1 , x , x 2 , , x d } .
For better local scaling on nonuniform meshes, one may equivalently use the shifted and scaled basis
q ( i ) ( x ) = x x i h i , = 0 , 1 , , d ,
where h i is a representative local spacing around x i . The PHS-polynomial local interpolant is then
s i ( x ) = x j S i λ j ϕ m ( | x x j | ) + = 0 d χ q ( i ) ( x ) .
For the non-Hermite RBF–FD approximation of L p g ( x i ) , the weights w i j ( p ) are determined by requiring exactness of the formula
L p g ( x i ) x j S i w i j ( p ) g ( x j ) ,
on the RBF and polynomial trial functions. The corresponding augmented RBF–FD linear system is
Φ i P i P i T 0 w i ( p ) ν i ( p ) = i ( p ) π i ( p ) ,
where
( Φ i ) j k = ϕ m ( | x j x k | ) , x j , x k S i ,
( P i ) j = q ( i ) ( x j ) , x j S i , = 0 , 1 , , d ,
( i ( p ) ) k = L p , x ϕ m ( | x x k | ) | x = x i , x k S i ,
and
( π i ( p ) ) = L p q ( i ) ( x i ) , = 0 , 1 , , d .
The vector ν i ( p ) contains Lagrange multipliers associated with the polynomial constraints. The polynomial part of (6) enforces exactness on Π d , namely
x j S i w i j ( p ) q ( i ) ( x j ) = L p q ( i ) ( x i ) , = 0 , 1 , , d .
Thus, the order of the PHS-polynomial RBF–FD formula is controlled primarily by the polynomial degree d and the stencil geometry.
A PHS-polynomial RBF–HFD variant is obtained by adding Hermite derivative information in the same spirit as (44). Let H i S i \ { x i } be the Hermite subset. We seek
L p g ( x i ) x j S i a i j ( p ) g ( x j ) + x j H i b i j ( p ) L p g ( x j ) .
The corresponding PHS-polynomial Hermite interpolant is
s i ( x ) = x j S i λ j ϕ m ( | x x j | ) + x ν H i η ν L p , y ϕ m ( | x y | ) | y = x ν + = 0 d χ q ( i ) ( x ) .
Using the notation of Section 3, this gives an augmented Hermite system of the form
M i , PHS ( p ) P i , H ( p ) ( P i , H ( p ) ) T 0 w i , H ( p ) ν i , H ( p ) = d i , PHS ( p ) π i ( p ) .
Here M i , PHS ( p ) is the PHS version of the Hermite matrix (48), w i , H ( p ) contains both the function-value weights and the Hermite weights, and P i , H ( p ) contains the polynomial value and polynomial derivative constraints. More explicitly, the polynomial exactness conditions for (71) are
x j S i a i j ( p ) q ( i ) ( x j ) + x j H i b i j ( p ) L p q ( i ) ( x j ) = L p q ( i ) ( x i ) , = 0 , 1 , , d .
Thus, (74) is the PHS-polynomial analogue of the moment cancelation conditions (55).
The comparison between the MQ RBF–HFD formulas and the PHS-polynomial variants will be based on four quantities. The first is the local truncation behavior. For the MQ formulas, this is described by (19) and (32). For the PHS-polynomial variants, the polynomial exactness relation (74) implies that the error is governed by the first polynomial moment not reproduced by the chosen stencil and degree d. The second quantity is conditioning. For the MQ formulas, the relevant conditioning indicator is (68), whereas for the PHS-polynomial variants we use
κ i , PHS ( p ) = cond M i , PHS ( p ) P i , H ( p ) ( P i , H ( p ) ) T 0 .
The third quantity is the local Fourier resolution. The MQ formulas are measured by (66) and (67); the same definitions can be applied to the PHS-polynomial weights after replacing the MQ coefficients by the corresponding PHS-polynomial coefficients. The fourth quantity is computational cost, which is mainly determined by the size of the local systems (6) and (73).
For a fair comparison with the compact MQ RBF–HFD formulas, the PHS-polynomial RBF–HFD variant is constructed on the same compact Hermite stencil used in (5) and (6), namely
S i = { x i 1 , x i , x i + 1 } , H i = { x i 1 , x i + 1 } .
For this compact Hermite stencil, one has
| S i | = 3 , | H i | = 2 , | S i | + | H i | = 5 .
Therefore, the polynomial degree must satisfy
d + 1 | S i | + | H i | ,
and polynomial exactness up to degree d = 4 is compatible with the three-node Hermite stencil (75).
For an ordinary non-Hermite PHS-polynomial RBF–FD formula, however, the Hermite set is empty. Hence, the compatibility condition becomes
d + 1 | S i | .
Consequently, the same three-node function-value stencil would allow only d 2 . Later in this paper, the PHS-polynomial RBF–FD benchmark is instead computed with d = 4 on the five-point non-Hermite stencil
S i FD = { x i 2 , x i 1 , x i , x i + 1 , x i + 2 } , H i = .
Thus, the PHS-polynomial RBF–HFD row uses the same compact Hermite stencil as the MQ RBF–HFD formula, whereas the PHS-polynomial RBF–FD row uses a five-point non-Hermite stencil in order to make the choice d = 4 well-defined.

7. Numerical Experiments

This section presents numerical experiments designed to verify the theoretical properties of the compact MQ RBF–HFD formulas and to compare them with classical FD, RBF–FD, and PHS-polynomial variants. The experiments are organized so as to test five aspects of the method: local convergence, behavior on nonuniform meshes, modified-wavenumber accuracy, shape-parameter sensitivity, and comparison with PHS-polynomial RBF–FD and RBF–HFD formulas.
All computations are performed on the interval
Ω = [ 0 , 1 ] .
For a given integer N, we denote the computational nodes by
0 = x 0 < x 1 < < x N = 1 .
On uniform grids, x i = i h , where
h = 1 N .
To test the behavior of the formulas on nonuniform meshes, we also use the smoothly perturbed grid
x i = i N + δ N sin 2 π i N , i = 0 , 1 , , N ,
where 0 δ < 1 / ( 2 π ) is chosen so that the nodes remain strictly ordered. The local right-to-left mesh ratio is
ω i + 1 = x i + 1 x i x i x i 1 , i = 1 , 2 , , N 1 .
For the convergence experiments, the MQ shape parameter is kept fixed with respect to the mesh refinement, namely
c = c 0 > 0 .
Consequently,
h c 0 0 as h 0 ,
which is consistent with the asymptotic regime c h used in the derivation of the MQ RBF–HFD weights. Fixed values of θ = c / h are used only in the fixed-grid shape-sensitivity experiments, not as an h-refinement convergence regime.
For a test function g, the pointwise errors for the first and second derivatives are defined by
e 1 , i = D 1 , i MQHFD g g ( x i ) ,
and
e 2 , i = D 2 , i MQHFD g g ( x i ) .
The maximum and discrete L 2 errors are
E ( p ) = max 1 i N 1 e p , i , p = 1 , 2 ,
and
E 2 ( p ) = 1 N 1 i = 1 N 1 e p , i 2 1 / 2 , p = 1 , 2 .
When two successive grid sizes h N and h 2 N are used, the numerical order of convergence is computed by
NOC ( p ) = log 2 E ( p ) ( h N ) E ( p ) ( h 2 N ) , p = 1 , 2 .
Here E ( p ) may denote either E ( p ) or E 2 ( p ) .
The first group of experiments verifies the convergence behavior in the flat-shape refinement regime c = c 0 . We use the smooth test functions
g 1 ( x ) = exp 100 x 1 2 2 + sin ( 2 π x ) ,
and
g 2 ( x ) = sin ( 8 x ) .
The convergence results for g 1 and g 2 are given in Table 1 and Table 2, respectively. Since the perturbation parameter is δ = 0.1 , the mesh is nonuniform but still close to uniform. Therefore, in addition to the fourth-order behavior expected from (19) for the first derivative, the second derivative may also display an almost fourth-order rate because the leading nonuniform third-order term in (32) is weakened near ω = 1 , as explained by the cancelation (34).
The results in Table 2 confirm that the convergence behavior is not specific to the localized Gaussian–trigonometric function g 1 . For the oscillatory smooth function g 2 ( x ) = sin ( 8 x ) , both derivative approximations again exhibit approximately fourth-order convergence. This is consistent with the fourth-order first-derivative error in (19) and with the weakened leading nonuniform second-derivative term in (32) on the mildly perturbed mesh with δ = 0.1 .
The fourth-order behavior observed for E ( 2 ) in Table 1 should therefore be interpreted as a nearly uniform-grid effect rather than as a contradiction of the generic third-order nonuniform error model (32).
The second group of experiments investigates the dependence on the mesh nonuniformity parameter δ in (77). For fixed N and fixed shape parameter c, or equivalently for the corresponding fixed-grid value of θ = c / h , we compute
E ( p ) ( δ , θ ) , 0 δ δ max , p = 1 , 2 .
This test measures how the local mesh ratio ω i + 1 in (78) affects the accuracy of the compact weights. The results should be displayed as plots of
δ E ( 1 ) ( δ , θ ) , δ E ( 2 ) ( δ , θ ) .
They should be interpreted together with the error constants (20) and (33). In particular, the factor multiplying h 3 in (32) contains the polynomial
2 ω 3 + 3 ω 2 3 ω 2 ,
which vanishes at ω = 1 . Therefore, the second-derivative error is expected to be smaller on nearly uniform grids and more sensitive to strong mesh asymmetry.
The third group of experiments concerns the Fourier-resolution properties of the formulas. For the uniform-grid compact formulas derived in Section 4, the numerical modified wave numbers are computed by substituting the Fourier mode (7) into the compact relations. The relative resolution errors are measured by
E 1 num ( ξ ) = k 1 * ( ξ ) k 1 ,
and
E 2 num ( ξ ) = ( k 2 * ( ξ ) ) 2 k 2 1 .
The plots of E 1 num ( ξ ) and E 2 num ( ξ ) are computed over the full resolvable range
0 < ξ ξ max = π ,
where ξ = π is the Nyquist limit.
In this case, one plots the local dispersive and dissipative indicators
P 1 ( ξ ; ω , θ ) = Im h D 1 ( ξ ; ω , θ ) , A 1 ( ξ ; ω , θ ) = Re h D 1 ( ξ ; ω , θ ) ,
for representative values of ω and θ . A desirable first derivative formula should satisfy
P 1 ( ξ ; ω , θ ) ξ , A 1 ( ξ ; ω , θ ) 0 ,
on the resolved range of wave numbers.
The fourth group of experiments studies the shape-parameter sensitivity. For fixed N, δ , and test function g, we compute
E ( p ) ( θ ) , θ min θ θ max , p = 1 , 2 .
At the same time, we compute the local condition indicators
κ i ( p ) ( ω i + 1 , θ ) = cond M i ( p ) , i = 1 , 2 , , N 1 ,
and summarize them through
κ max ( p ) ( θ ) = max 1 i N 1 κ i ( p ) ( ω i + 1 , θ ) .
The purpose is to identify the interval of θ for which the error is small while the local systems remain reasonably conditioned. A useful combined diagnostic is
J p ( θ ) = γ 1 E ( p ) ( θ ) min θ E ( p ) ( θ ) + γ 2 log ( 1 + κ max ( p ) ( θ ) ) min θ log ( 1 + κ max ( p ) ( θ ) ) + γ 3 R p ( ω , θ ) min θ R p ( ω , θ ) .
This is the numerical counterpart of the local criterion (69). The minimizer
θ p * = arg min θ [ θ min , θ max ] J p ( θ )
gives a practical shape-parameter choice balancing accuracy, conditioning, and spectral resolution.
The fifth group of experiments compares the MQ RBF–HFD formulas with PHS-polynomial RBF–FD and PHS-polynomial RBF–HFD variants. For the Hermite methods, MQ RBF–HFD and PHS-polynomial RBF–HFD use the same compact stencil S i = { x i 1 , x i , x i + 1 } and the same Hermite set H i = { x i 1 , x i + 1 } . The non-Hermite PHS-polynomial RBF–FD benchmark uses d = 4 on the five-point stencil S i FD = { x i 2 , x i 1 , x i , x i + 1 , x i + 2 } , while the classical FD and MQ RBF–FD benchmark rows are computed from the corresponding non-Hermite local function-value stencils.
The PHS kernel is (70), and the polynomial degree d is chosen subject to the compatibility condition (76). The comparison is based on the following quantities:
E ( p ) , E 2 ( p ) , NOC ( p ) , κ max ( p ) , R p .
See the results in Table 3.
In Table 3, the single value κ max denotes the maximum condition number over all interior nodes and over the local systems used for the first- and second-derivative approximations.
The condition numbers in Table 3 should be interpreted with some care. For the FD row, κ max corresponds to the local polynomial moment system used to generate the finite difference weights. For the RBF–FD and PHS-polynomial rows, it corresponds to the local linear systems from which the numerical weights are computed. For the MQ RBF–HFD row, however, the reported derivative errors were computed from the explicit analytical Formulas (13)–(17) and (21)–(28), not from a direct double-precision solution of the local Hermite system (50). Thus, the value κ max 1.14 × 10 18 , does not mean that the explicit analytical MQ RBF–HFD weights are unstable in the reported experiment. Rather, it shows that regenerating these weights by solving the unscaled MQ Hermite systems in ordinary double precision may be unreliable. This distinction is important: one practical advantage of the closed-form MQ RBF–HFD weights is that they bypass the most ill-conditioned local linear algebra step. Therefore, if the analytical formulas are not used and the weights are instead obtained from (50), extended precision, suitable scaling, preconditioning, or a less ill-conditioned shape-parameter regime should be employed.
To illustrate the shape-parameter sensitivity, we plot the error curves
θ E ( 1 ) ( θ ) , θ E ( 2 ) ( θ ) ,
for the two smooth test functions g 1 and g 2 . In these tests, the nonuniform mesh (77) is used with δ = 0.1 , and the shape parameter is written in the local form
c = θ h .
The computations are performed for N = 80 and N = 160 , and the results are displayed in Figure 1. The vertical axis is shown on a logarithmic scale in order to reveal the accuracy variation over the whole tested interval of θ .
Figure 1 shows that the accuracy of the MQ RBF–HFD formulas depends noticeably on the shape ratio θ . For both test functions and both grid sizes, the error curves exhibit an interval of favorable values of θ , rather than a single universally optimal choice. Very small values of θ correspond to sharply varying MQ basis functions relative to the local mesh spacing and may increase the local truncation error. Very large values of θ move the method toward the flat-shape regime, where the weights approach their compact FD limits, but the underlying MQ Hermite systems become increasingly ill-conditioned. The observed curves therefore support the use of the combined diagnostic (79) and the selection rule (80), which balance accuracy, conditioning, and Fourier-resolution effects.

8. Conclusions and Future Work

In this paper, the analysis showed that the MQ RBF–HFD weights possess a compact structure that can be interpreted through the general local formulation (44). Their uniform-grid limits recover compact finite-difference-type formulas, while the local Fourier symbols provide insight into the effects of mesh nonuniformity and the shape ratio θ = c / h . The shape-parameter criterion (69) further clarifies the balance between truncation error, conditioning, and spectral resolution.
Future work may extend the present analysis to wider compact Hermite stencils, multidimensional scattered nodes, and irregular domains. Another important direction is the development of adaptive mesh refinement strategies guided by the local truncation-error, conditioning, and Fourier-resolution indicators introduced in this paper. It would also be useful to investigate hybrid MQ–PHS compact formulations, which may combine the explicit accuracy of shape-dependent MQ weights with the robustness of shape-parameter-free PHS-polynomial augmentation. Finally, stabilized implementations based on scaling, preconditioning, or extended precision should be considered for strongly nonuniform meshes and highly ill-conditioned local Hermite systems.

Funding

Ongoing Research Funding program, (ORF-2026-210), King Saud University, Riyadh, Saudi Arabia.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

We are grateful to comments of two referees on an earlier version of this manuscript.

Conflicts of Interest

The author declares no conflicts of interest.

Appendix A

For convenience and to avoid notational ambiguity in the subsequent analysis, the principal symbols and parameters used throughout the paper are summarized in Table A1.
Table A1. Principal symbols and parameters used in the paper.
Table A1. Principal symbols and parameters used in the paper.
SymbolMeaning
Ω Computational interval or spatial domain. In the numerical experiments, Ω = [ 0 , 1 ] .
x i Grid node at which the local differentiation formula is centered.
hLeft local mesh spacing in the three-node stencil { x i h , x i , x i + ω i + 1 h } . On a uniform grid, h = 1 / N .
ω = ω i + 1 Local right-to-left mesh ratio, defined by ω i + 1 = ( x i + 1 x i ) / ( x i x i 1 ) . The case ω = 1 corresponds to a locally uniform stencil.
cMQ shape parameter in the kernel ϕ ( r ) = c 2 + r 2 .
θ = c / h Nondimensional shape ratio used in the local Fourier, conditioning, and shape-parameter analyses.
ε = h / c Inverse shape ratio. The flat-shape limit is ε 0 , equivalently c + for fixed h, or h / c 0 in the refinement regime with fixed c.
ϕ ( r ) Radial basis function. For MQ RBF–HFD formulas, ϕ ( r ) = c 2 + r 2 . For PHS-polynomial variants, ϕ m ( r ) = r 2 m + 1 .
S i Local function-value stencil associated with the node x i . For the compact three-node formulas, S i = { x i 1 , x i , x i + 1 } .
H i Hermite subset containing neighboring nodes where derivative information is used. For the compact three-node formulas, H i = { x i 1 , x i + 1 } .
L p p-th derivative operator, L p g = d p g / d x p .
D p , i MQHFD Local MQ RBF–HFD approximation to L p g ( x i ) .
α i 1 , α i , α i + 1 Function-value weights in the first-derivative MQ RBF–HFD Formula (5).
β i 1 , β i + 1 Hermite derivative weights in the first-derivative MQ RBF–HFD Formula (5).
λ i 1 , λ i , λ i + 1 Function-value weights in the second-derivative MQ RBF–HFD Formula (6).
μ i 1 , μ i + 1 Hermite derivative weights in the second-derivative MQ RBF–HFD Formula (6).
M i ( p ) Local Hermite RBF interpolation matrix associated with the p-th derivative formula.
w i ( p ) Local weight vector satisfying the transpose system ( M i ( p ) ) T w i ( p ) = d i ( p ) .
κ i ( p ) Local condition number of M i ( p ) . The quantity κ max denotes the maximum over the relevant local systems and interior nodes.
k, ξ = k h Exact wave number and nondimensional wave number used in the Fourier analysis.
k p * Modified wave number associated with the numerical approximation of the p-th derivative.
D p ( ξ ; ω , θ ) Local frozen-coefficient Fourier symbol for the p-th derivative formula on a nonuniform stencil.
R p Spectral-resolution indicator used in the shape-parameter selection criterion.
T p Truncation-error indicator used in the shape-parameter selection criterion.
γ 1 , γ 2 , γ 3 Nonnegative balancing parameters weighting truncation error, conditioning, and Fourier-resolution effects in the shape-parameter criterion.
Π d Polynomial space span { 1 , x , x 2 , , x d } used in the PHS-polynomial augmentation.
dPolynomial degree in the PHS-polynomial RBF–FD and RBF–HFD variants.
N, δ Number of subintervals and nonuniform-grid perturbation parameter used in the numerical experiments.

References

  1. Thomée, V. From finite differences to finite elements: A short history of numerical analysis of partial differential equations. J. Comput. Appl. Math. 2001, 128, 1–54. [Google Scholar] [CrossRef]
  2. Boyd, J.P.; Wang, L. Truncated Gaussian RBF differences are always inferior to finite differences of the same stencil width. Commun. Comput. Phys. 2009, 5, 42–60. [Google Scholar] [CrossRef]
  3. Davydov, O.; Oanh, D.T.; Tuong, N.M. Improved stencil selection for meshless finite difference methods in 3D. J. Comput. Appl. Math. 2023, 425, 115031. [Google Scholar] [CrossRef]
  4. Fornberg, B.; Flyer, N. A Primer on Radial Basis Functions with Applications to the Geosciences; SIAM: Philadelphia, PA, USA, 2015. [Google Scholar]
  5. Collatz, L. The Numerical Treatment of Differential Equations, 3rd ed.; Springer: Berlin/Heidelberg, Germany, 1966. [Google Scholar]
  6. Huang, X.W.; Wu, C.S. A meshless finite difference method based on polynomial interpolation. J. Sci. Comput. 2019, 80, 667–691. [Google Scholar] [CrossRef]
  7. Buhmann, M.D. Radial Basis Functions: Theory and Implementations; Cambridge University Press: Cambridge, UK, 2003. [Google Scholar]
  8. Bayona, V.; Moscoso, M.; Kindelan, M. Optimal constant shape parameter for multiquadric based RBF-FD method. J. Comput. Phy. 2011, 230, 7384–7399. [Google Scholar] [CrossRef]
  9. Tolstykh, A.I. On using RBF-based differencing formulas for unstructured and mixed structured–unstructured grid calculations. In Proceedings of the 16th IMACS World Congress, Lausanne, Switzerland, 21–25 August 2000. [Google Scholar]
  10. Liu, Y.; Li, Y.; Liu, T. An RBF-FD method for pricing under the Bates model: Handling stochastic volatility and jump processes. Eng. Anal. Bound. Elem. 2026, 183, 106622. [Google Scholar]
  11. Haghi, M.; Ilati, M.; Dehghan, M. A radial basis function-Hermite finite difference (RBF–HFD) method for the cubic-quintic complex Ginzburg-Landau equation. Comput. Appl. Math. 2023, 42, 115. [Google Scholar]
  12. Wright, G.B.; Fornberg, B. Scattered node compact finite difference-type formulas generated from radial basis functions. J. Comput. Phys. 2006, 212, 99–123. [Google Scholar] [CrossRef]
  13. Chinchapatnam, P.P.; Djidjeli, K.; Nair, P.B.; Tan, M. A compact RBF-FD based meshless method for the incompressible Navier–Stokes equations. Proc. IMechE Part M J. Eng. Marit. Environ. 2009, 223, 275–290. [Google Scholar]
  14. Qiao, J.; Qiao, Y.; He, Y. Stabilized radial basis function finite difference schemes with mass conservation for the Cahn–Hilliard equation on surfaces. Entropy 2025, 27, 1206. [Google Scholar] [CrossRef] [PubMed]
  15. Jebreen, H.B.; Tchier, F. Constructing the weighting coefficients for the RBF-Hermite FD scheme under the multiquadric function on irregular meshes. Phys. Scr. 2021, 96, 074006. [Google Scholar] [CrossRef]
  16. Song, Y. A fourth-order RBF-FD scheme based on integral representations of the multiquadric for high-dimensional Black-Scholes PDEs. Eng. Anal. Bound. Elem. 2026, 185, 106673. [Google Scholar]
  17. Li, J.; Yang, Z. The von Neumann analysis and modified equation approach for finite difference schemes. Appl. Math. Comput. 2013, 225, 610–621. [Google Scholar] [CrossRef]
  18. Flyer, N.; Wright, G.B.; Fornberg, B. Radial basis function-generated finite differences: A mesh-free method for computational geosciences. In Handbook of Geomathematics; Springer: Berlin/Heidelberg, Germany, 2015; pp. 2635–2669. [Google Scholar]
  19. Abbaszadeh, M.; Salec, A.R.B.; Aal-Ezirej, T.A.-K.H. A radial basis function (RBF)-finite difference method for solving improved Boussinesq model with error estimation and description of solitary waves. Numer. Methods Partial. Differ. Equ. 2024, 40, e23077. [Google Scholar]
  20. Liu, T.; Shateyi, S. Efficient fourth-order weights in kernel-type methods without increasing the stencil size with an application in a time-dependent fractional PDE problem. Mathematics 2024, 12, 1121. [Google Scholar]
  21. Liu, Z.; Barfeie, M.; Soleymani, F. Weight calculation and convergence analysis of polyharmonic spline (PHS) with polynomials for different stencils. Calcolo 2024, 61, 22. [Google Scholar] [CrossRef]
  22. Yang, Y.; Soleymani, F.; Barfeie, M.; Tohidi, E. A radial basis function–Hermite finite difference approach to tackle cash-or-nothing and asset-or-nothing options. J. Comput. Appl. Math. 2020, 368, 112523. [Google Scholar]
  23. Fasshauer, G.E. Meshfree Approximation Methods with MATLAB; World Scientific: Singapore, 2007. [Google Scholar]
  24. Larsson, E.; Fornberg, B. A numerical study of some radial basis function based solution methods for elliptic PDEs. Comput. Math. Appl. 2003, 46, 891–902. [Google Scholar] [CrossRef]
  25. Song, Y.; Barfeie, M.; Soleymani, F. Computing compact finite difference formulas under radial basis functions with enhanced applicability. Appl. Numer. Math. 2024, 201, 370–386. [Google Scholar] [CrossRef]
  26. Bayona, V.; Flyer, N.; Fornberg, B.; Barnett, G.A. On the role of polynomials in RBF-FD approximations: II. Numerical solution of elliptic PDEs. J. Comput. Phys. 2017, 332, 257–273. [Google Scholar] [CrossRef]
Figure 1. Shape-parameter sensitivity of the MQ RBF–HFD formulas on the nonuniform mesh (77) with δ = 0.1 . The plots show log 10 E ( 1 ) ( θ ) and log 10 E ( 2 ) ( θ ) for g 1 and g 2 , using N = 80 and N = 160 . The shape parameter is chosen as c = θ h , with 5 θ 250 . Here blue is foe N = 80 and yellow is for N = 160.
Figure 1. Shape-parameter sensitivity of the MQ RBF–HFD formulas on the nonuniform mesh (77) with δ = 0.1 . The plots show log 10 E ( 1 ) ( θ ) and log 10 E ( 2 ) ( θ ) for g 1 and g 2 , using N = 80 and N = 160 . The shape parameter is chosen as c = θ h , with 5 θ 250 . Here blue is foe N = 80 and yellow is for N = 160.
Symmetry 18 01142 g001
Table 1. Convergence history of the MQ RBF–HFD approximation for g 1 on the nonuniform mesh (77) with δ = 0.1 and c = 1 .
Table 1. Convergence history of the MQ RBF–HFD approximation for g 1 on the nonuniform mesh (77) with δ = 0.1 and c = 1 .
N E ( 1 ) NOC ( 1 ) E ( 2 ) NOC ( 2 )
40 9.073 × 10 3 1.958 × 10 1
80 5.967 × 10 4 3.93 1.297 × 10 2 3.92
160 3.900 × 10 5 3.94 8.288 × 10 4 3.97
320 2.460 × 10 6 3.99 5.230 × 10 5 3.99
Table 2. Convergence history of the MQ RBF–HFD approximation for g 2 ( x ) = sin ( 8 x ) on the nonuniform mesh (77) with δ = 0.1 and c = 1 .
Table 2. Convergence history of the MQ RBF–HFD approximation for g 2 ( x ) = sin ( 8 x ) on the nonuniform mesh (77) with δ = 0.1 and c = 1 .
N E ( 1 ) NOC ( 1 ) E ( 2 ) NOC ( 2 )
40 4.172 × 10 5 5.529 × 10 5
80 2.567 × 10 6 4.02 3.139 × 10 6 4.14
160 1.585 × 10 7 4.02 1.908 × 10 7 4.04
320 9.840 × 10 9 4.01 1.191 × 10 8 4.00
Table 3. Comparison of derivative approximations for g 1 on the nonuniform mesh (77) with N = 160 , δ = 0.1 , and c = 1 for the MQ-based formulas.
Table 3. Comparison of derivative approximations for g 1 on the nonuniform mesh (77) with N = 160 , δ = 0.1 , and c = 1 for the MQ-based formulas.
Method E ( 1 ) E ( 2 ) NOC ( 1 ) NOC ( 2 ) κ max
FD 2.664 × 10 2 3.871 × 10 1 1.981.98 3.226 × 10 0
RBF–FD 2.637 × 10 2 3.793 × 10 1 1.981.98 2.996 × 10 9
MQ RBF–HFD 3.900 × 10 5 8.288 × 10 4 3.943.97 1.140 × 10 18
PHS-polynomial RBF–FD 1.635 × 10 4 1.993 × 10 3 3.933.96 2.553 × 10 6
PHS-polynomial RBF–HFD 4.100 × 10 5 8.991 × 10 4 3.943.97 4.272 × 10 14
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.

Share and Cite

MDPI and ACS Style

Jebreen, H.B. Fourier and Shape-Parameter Analysis of Compact Multiquadric RBF–HFD Approximations on Nonuniform Stencils. Symmetry 2026, 18, 1142. https://doi.org/10.3390/sym18071142

AMA Style

Jebreen HB. Fourier and Shape-Parameter Analysis of Compact Multiquadric RBF–HFD Approximations on Nonuniform Stencils. Symmetry. 2026; 18(7):1142. https://doi.org/10.3390/sym18071142

Chicago/Turabian Style

Jebreen, Haifa Bin. 2026. "Fourier and Shape-Parameter Analysis of Compact Multiquadric RBF–HFD Approximations on Nonuniform Stencils" Symmetry 18, no. 7: 1142. https://doi.org/10.3390/sym18071142

APA Style

Jebreen, H. B. (2026). Fourier and Shape-Parameter Analysis of Compact Multiquadric RBF–HFD Approximations on Nonuniform Stencils. Symmetry, 18(7), 1142. https://doi.org/10.3390/sym18071142

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop