Abstract
This study presents a fourth-order implicit compact finite difference scheme for the Benjamin–Bona–Mahony–Burgers (BBMB) equation, a nonlinear long-wave equation describing the dynamics of various wave phenomena. By employing an order-reduction framework via an auxiliary variable, we construct a compact difference scheme that yields a nonlinear algebraic system with a narrowly banded structure. Because the continuous BBMB model is governed by an underlying conservation law, the proposed numerical method is designed to preserve this structural property in the discrete sense. The discrete conservation, boundedness, and unique solvability of the scheme are firmly established, and an optimal discrete maximum norm error estimate is derived. Finally, comprehensive numerical experiments are conducted to validate both the conservative properties and the theoretical order of accuracy of the proposed scheme.
Keywords:
Benjamin–Bona–Mahony–Burgers equation; nonlinear wave phenomena; compact finite difference scheme; discrete conservation; maximum norm convergence MSC:
65M06
1. Introduction
The Benjamin–Bona–Mahony–Burgers (BBMB) equation, introduced in [1], is a fundamental model for the unidirectional propagation of small-amplitude long waves in nonlinear dispersive media. It arises naturally in a wide range of physical applications, including shallow water wave dynamics [1], internal wave propagation in stratified fluids [2], plasma physics [3], and geophysical fluid mechanics [4]. By combining the Benjamin–Bona–Mahony (BBM) equation with a Burgers-type dissipative term, the BBMB equation provides a more comprehensive physical framework, particularly in regimes where energy dissipation is significant. The governing equation is given by
where is a real-valued function and are physical constants representing dissipation and advection, respectively. For a thorough account of the mathematical theory and physical background of (1), we refer the reader to [2] and the references therein.
The BBM equation was first proposed by Peregrine [5] as a model for the development of an undular bore and was later rigorously studied by Benjamin et al. [1], who established its well-posedness. The existence and uniqueness of solutions were subsequently proved by Avrin and Goldstein [6]. A variety of numerical methods have since been developed for the BBM equation and its generalizations, including Galerkin–Crank–Nicolson fully discrete methods [7], least-squares cubic B-spline finite element methods [8], and finite difference schemes achieving up to fourth-order spatial accuracy [9,10,11,12]. Optimal error estimates and asymptotic analysis for BBMB-type equations were derived in [13]. Regarding related dispersive wave equations, it is also worth mentioning recent advances for the RLW–KdV equation [14], the Fisher–Kolmogorov equation [15], and the Rosenau–KdV–RLW equation [16].
The BBMB equation has attracted considerable attention from both the analytical and computational communities. On the analytical side, exact solutions have been obtained via the Exp-function method [17] and He’s homotopy perturbation and variational iteration methods [18]. Approximate wave solutions and Adomian decomposition approaches were developed in [3]. On the numerical side, Omrani and Ayadi [19] proved the existence, stability, and second-order convergence of a Crank–Nicolson finite difference scheme. Zhang et al. [20] and Che et al. [21] also analyzed second-order accurate difference schemes, while a sixth-order finite difference scheme with stability and convergence analysis was proposed in [22]. A meshless radial basis function approach for the high-dimensional generalization of the BBMB equation was presented in [4]. Error analysis via a quintic B-spline collocation method was carried out in [23]. Spline-based approaches include the cubic B-spline collocation method with Crank–Nicolson time stepping and quasi-linearization, along with an improvised fourth-order accurate variant, both developed by Shallu et al. [24], the quartic B-spline collocation method of Arora et al. [25], and the quartic trigonometric B-spline scheme of Mohammed [26]. These studies connect with broader developments in the numerical analysis of nonlinear PDEs, including enriched finite-element approximations for improved spatial accuracy [27,28], and finite-difference treatments of memory-dependent models arising in other physical applications [29]. Regarding compact finite difference methods, Bayarassou [30] investigated two fourth-order accurate, unconditionally convergent schemes. Zhang and Liu [31] proposed a three-level linearized compact scheme based on order reduction, proving conservative properties, boundedness, unique solvability, and convergence in the maximum norm. Finally, Wang et al. [32] established a fourth-order implicit compact difference scheme for the viscous Burgers equation, demonstrating second-order temporal and fourth-order spatial accuracy alongside rigorous conservation and stability analysis—techniques that directly motivate the present work. The nonhomogeneous BBMB equation incorporating an external forcing function has also received significant attention, where F serves either to model an active external physical source acting directly on the system or as a manufactured source term strategically introduced for convergence verification [7,25,31].
Despite this extensive body of work, a careful inspection of the existing compact fourth-order schemes for the BBMB equation reveals a gap that the present paper aims to fill. To date, the only compact scheme achieving accuracy for the BBMB equation with periodic boundary conditions is the three-level linearized scheme by Zhang and Liu [31]. While their scheme is elegant and thoroughly analyzed, its three-level structure naturally introduces specific computational and algebraic requirements, leaving room for further improvement. First, it requires storing two complete sets of solution arrays and simultaneously at every time step, which doubles the active memory footprint compared with a two-level method—a significant cost on fine spatial grids. Second, it demands a dedicated first-step solver to generate before the main three-level loop can begin, introducing an extra source of implementation complexity and a potential mismatch in the order of the starting approximation. Third, because the scheme is linearized, it does not directly inherit the conservation laws of the continuous problem; the conserved quantity (Theorem 4.1 in [31]) is a two-level averaged invariant , rather than a single-level invariant, which weakens the conservation statement relative to the continuous case.
To the best of our knowledge, a two-level compact finite difference scheme for the BBMB equation that simultaneously (i) achieves fourth-order spatial accuracy via an order-reduction framework, (ii) preserves an invariant in a strict single-level sense, and (iii) requires only a single historical temporal layer, has not yet been reported in the literature. The present work is specifically designed to address this gap. The proposed formulation is nonlinear at each temporal increment, which serves as the essential mechanism that allows it to faithfully replicate the conservation structure of the continuous model. This approach constitutes a deliberate and favorable design trade-off: minimizing the required temporal history and achieving exact conservation at the expense of solving a single nonlinear algebraic system per time step. We emphasize, however, that owing to the specialized block-tridiagonal sparsity structure of this system, the nonlinear iterative solver converges rapidly, requiring minimal computational overhead.
In this study, we focus on the BBMB equation subject to periodic boundary conditions on the finite interval , where denotes the spatial period. The governing partial differential equation is given by
subject to the periodic boundary conditions
and the initial condition
where represents the dissipation coefficient, is the linear advection velocity, and is a given L-periodic function. The initial-boundary value problem (2)–(4) is globally well-posed; see Omrani and Ayadi [19], as well as the references therein.
Building on the compact difference framework of Wang et al. [32], the present work provides several distinct contributions to the numerical analysis of long-wave equations. First, we propose a two-level, nonlinear compact finite difference scheme for (2)–(4), derived via an order-reduction approach, that achieves optimal second-order temporal and fourth-order spatial accuracy. Second, unlike the three-level linearized scheme of Zhang and Liu [31], our formulation preserves the underlying structural invariant in a strict single-level sense. Third, the existence of a discrete solution at each temporal increment is rigorously guaranteed by a variant of Browder’s fixed-point theorem, and its conditional uniqueness is formally established. On the theoretical front, optimal-order error estimates are derived to prove convergence with respect to the discrete -norm. Finally, these theoretical findings are validated by numerical experiments that confirm the predicted convergence rates, long-term invariance properties, and showcase a direct comparative performance analysis against the results of Zhang and Liu [31].
The remainder of the paper is organized as follows. Section 2 collects the notation and foundational auxiliary lemmas used throughout the manuscript. Section 3 details the derivation of the proposed compact difference scheme and systematically establishes its conservation properties, boundedness, and full solvability (encompassing both existence and uniqueness proofs). Section 4 is dedicated to the rigorous derivation of the optimal-order convergence analysis. Finally, comprehensive numerical experiments are presented in Section 5 to validate the theoretical findings.
2. Notations and Lemmas
The following lemma establishes the conservative property of the analytical solution of (2)–(4).
Lemma 1.
Let be the solution of (2)–(4). Define
Then, there holds
Proof.
Differentiating with respect to t gives
Substituting from (2) and integrating by parts yield
where all boundary terms vanish by the periodic condition (3). Hence for all . This completes the proof. □
Remark 1.
As a result of Lemma 1, we have
That is, the quantity is strictly conserved. However, the quantity is bounded above by , and may decrease over time as the term accumulates.
We now introduce the discretization notations to be used throughout. Let and for some positive integers M, N. Define for , for . Set the middle points , , and define
For any grid functions defined on , we introduce the following difference operators [31,33]:
Denote the space of M-periodic grid functions by
For any grid functions , define the discrete inner product, norms, and seminorm:
Moreover, define the nonlinear operator [32]
Lemma 2
([31]). For any grid function , there hold
Lemma 3.
For any grid functions , there hold
Moreover,
The following lemmas are taken from [31,32].
Lemma 4.
Let and . There hold
Lemma 5.
For any satisfying , , the following hold:
Lemma 6.
For any satisfying
there holds
To represent exact values evaluated on for proofs in the subsequent sections, we define the grid functions
where and with .
Remark 2.
To prevent any ambiguity regarding the notation, we establish a clear distinction between continuous analytical functions, exact values at specific grid points, local numerical approximations, and global grid function sets. Table 1 summarizes the notation used throughout this document.
Table 1.
Summary of notation for continuous functions, exact grid values, and numerical approximations.
Note, also, that when the spatial subscript i is dropped, the remaining symbol represents the whole collection of grid values from to . For example, represents , and similar conventions apply to , , and .
By maintaining the convention in Table 1, uppercase letters strictly denote the exact, true analytical solution sampled at specific grid points. Lowercase letters represent either the exact continuous functions, the global grid function defined on discrete domains (such as or ), or—when indexed with subscripts or superscripts—the local discrete numerical approximations generated by our scheme. In all cases involving lowercase symbols, the specific interpretation intended will be entirely clear from the context.
3. Compact Difference Scheme
We assume the exact solution has sufficient regularity; that is, if u is the solution of (2)–(4). Therefore, there exists a constant such that
By letting , the Equations (2) and (3) can be rewritten as
Evaluating (10) at and evaluating (11) at , we obtain the continuous equations
By using Taylor series expansions for the linear terms in (14) and (15), we obtain
For the nonlinear term in (14), we apply Lemma 4 to obtain
Substituting (16)–(19) and (21) into (14), we obtain
Similarly, substituting (20) into (15) yields
By using Taylor series expansions with respect to the spatial variable, we can show that there exists a constant such that
for some . Subsequently, expanding this result with respect to the temporal variable yields
for some .
Therefore, there exists a constant such that following local truncation error bounds hold:
From the initial and boundary conditions (12) and (13), we have
Dropping the local truncation errors and , and replacing the exact values , with the discrete approximations , yields the two-level compact difference scheme:
together with the initial and periodic boundary conditions
In the following subsections, we analyze the mathematical properties of the numerical solutions obtained from the proposed scheme.
3.1. Discrete Conservation Properties
Theorem 1.
Let be the solution of (30)–(34). Define
for . Then, it follows that
Proof.
Taking the discrete inner product of (30) with , we obtain
For the first term of (35), a straightforward expansion reveals that
Next, using (31) and Lemma 3, the second term in (35) expands as
Furthermore, applying Lemma 3 reveals the vanishing profiles for the following terms in (35):
Finally, setting in Lemma 5, the remaining terms in (35) become
Substituting (36)–(42) back into (35) gives, for ,
Multiplying (43) by yields, for ,
By recalling the definition of , (44) collapses directly into
which completes the proof. □
Corollary 1.
Let be the solution of (30)–(34). Assume the initial condition φ in (4) is nontrivial. Set . Then, , and
for .
Proof.
Since by Lemma 5, we have
for nontrivial . Therefore, holds.
We also obtain, from Theorem 1,
Since the summation term is non-negative, this directly yields
By applying Lemma 2 to (48), we find
For the v-bounds, (48) implies that , which gives . Subsequently, further applications of Lemma 2 lead to the following estimates:
which completes the proof. □
3.2. Solvability
To establish the unique solvability of the proposed compact difference scheme, we begin by recalling Browder’s fixed-point theorem. This theorem serves as our primary tool for proving the existence of the numerical solution, after which its uniqueness is verified under a certain condition on the step size .
Theorem 2
(Browder Theorem [34]). Let be a finite-dimensional inner product space with its induced norm , and let be a continuous mapping. Suppose that
Then, there exists a point satisfying such that .
Theorem 3.
There exists a solution to the difference scheme (30)–(34).
Proof.
The initial value is given directly by (32) and (33). The auxiliary variable is obtained from the scheme (31) subject to the periodic boundary condition (34), which forms a linear system whose coefficient matrix is strictly diagonally dominant and hence uniquely solvable. Now, suppose that has already been determined for some k. We then treat as the unknowns, noting that
Setting and , the scheme (30)–(34) leads to the following system:
Define the operator by the left-hand side of (51), where is uniquely determined by (52) and (54). Taking the discrete inner product of with u, and applying Lemma 3 along with Lemma 5 (setting ), we have:
Hence, when . By Theorem 2, there exists satisfying such that .
If , then solving (52) and (54) with gives a homogeneous linear system for whose unique solution is . A parallel argument then reveals that
for any u with for an arbitrary , so Theorem 2 remains applicable.
Once is determined, is uniquely computed from (52) and (54). Setting
completes the proof. □
Theorem 4.
The solution of (30)–(34) is unique provided that .
Proof.
Let and be two distinct sets of solutions. Set and . Then, the error variables u and v satisfy the following error system:
Taking the discrete inner product of (55) with u, and applying Lemma 3 alongside Lemma 5 (with ), we obtain
Utilizing the bilinear properties of and noting that and from Lemma 3, the non-linear forms reduce precisely to
Using (60) and (61), Lemmas 2 and 3, Young’s inequality, and Corollary 1, we have
and
On the other hand, Lemma 5 with gives
From (59) and (64), we have
Incorporating (62) and (63) into (65) yields
which gives
Therefore, if , we get . The scheme (56) ensures that we also get . This completes the proof. □
4. Error Analysis
Let , be the exact grid values satisfying (22), (23) and (27)–(29), and let , be the numerical solution of (30)–(34). Define the errors
Define
We present the optimal order of convergence with respect to the uniform norm below.
Theorem 5.
Let u be an analytical solution of (2)–(4). If , then there exists a constant C depending on such that
Proof.
Subtract (30) and (31) from (22) and (23), and (33) and (34) from (28) and (29) to get the error equations
Taking the inner product of (68) with , we arrive at
Now we estimate each term in (72). First, note that
Using in Lemma 6, we get
By the Cauchy–Schwarz inequality, we get
We also have
Note that
Therefore,
On the other hand, note that
Therefore,
And finally for the last term, we have
Putting (73)–(81) into (72), we get
Using in Lemma 5, Young’s inequality, and Lemma 2, we get
Simplify to get
This gives
which can be simplified further to get
Define
Then we can use Lemma 5 to write (86) as
Using Gronwall’s inequality, when , we get
for some C.
Finally, it follows from Lemma 2, Lemma 5 with , and (88) that
as needed. □
5. Numerical Results
To compute the solution at each time step, we employ Newton’s method to solve for the intermediate vector profile . First, let us recall the discrete solution vectors:
Given and from the current time level, we define the target intermediate variables as , , , and . Once the vectors w and z are successfully computed, the numerical solutions at the next full time level can be evaluated explicitly via:
From (30)–(34), we obtain the following coupled, nonlinear system governing w and z:
By stacking the components into a single block vector , the coupled system (89) and (90) simplifies directly to the root-finding form , where the vector is defined component-wise by:
Starting from an initial guess
Newton’s method yields the successive updates
or equivalently,
where J denotes the Jacobian matrix of the vector . Since each component pair depends exclusively on the neighboring local unknowns , , and , the resulting Jacobian matrix possesses a highly sparse, block tridiagonal structure. This specific sparsity profile allows for significantly reduced computational complexity and rapid execution times, ensuring that solving a nonlinear system at every single time step remains highly efficient. The Newton iterations are terminated once the maximum correction falls below a strict threshold: , where is set uniformly throughout all simulations.
To assess the accuracy of the proposed compact difference scheme, we employ discrete and grid norms to measure the global numerical errors. When the analytical exact solution is available, the spatial and temporal orders of convergence are calculated via
where the global error at the final time level is defined by
When the analytical exact solution is unavailable, we utilize successive mesh refinements to estimate the convergence rates via
where the differences between successive grid refinements are defined respectively by
In the numerical experiments, the temporal accuracy is investigated by refining the time-step size while keeping the spatial grid size h sufficiently small and fixed. Conversely, the spatial accuracy is examined by refining h while keeping fixed.
5.1. Extension to the Nonhomogeneous Equation
To broaden the scope of our numerical investigations, we consider the nonhomogeneous BBMB equation given by the following system:
Here, is a prescribed forcing term whose explicit form depends on the physical problem under consideration, to be specified in the numerical examples as needed.
For the discrete framework, the resulting nonhomogeneous compact difference scheme is formulated as:
subject to the following initial and periodic boundary conditions:
We next clarify the conservative profile associated with the nonhomogeneous scheme. In the homogeneous case considered in Theorem 1, the quantity is exactly conserved. However, when a nonzero forcing term is present, it is no longer expected to remain constant, as the source term continuously contributes work to the physical system. Therefore, the appropriate quantity to monitor is not alone. As a result, we define
where the discrete source components are evaluated at the midpoints:
For the initial time level , the summation terms are empty, which naturally yields:
Taking the discrete inner product of the nonhomogeneous scheme (98) with and following the mathematical steps outlined in the proof of Theorem 1 while accounting for the forcing terms, one obtains:
Consequently, the nonhomogeneous compact difference scheme (98)–(100) exactly preserves the quantity .
5.2. Numerical Experiments
In this subsection, we present several numerical experiments to validate the theoretical conservation properties and convergence rates of the proposed compact difference scheme. In each simulation, we systematically vary the spatial grid size M while fixing the number of time steps N (and vice versa) to isolate and test the spatial and temporal convergence orders. The experimental rates and are calculated using (93) or (94), depending on whether an analytical exact solution is available. We also compute the discrete quantity (or ) at each time level, plot the differences (or ) in accompanying figures, and tabulate their values.
All numerical experiments were executed using MATLAB R2021b (64-bit, maci64) on a MacBook Pro (Apple Inc., Cupertino, CA, USA) equipped with an Apple M3 processor and 18 GB of RAM. The column labeled “CPU time” in the tables reflects the average computational execution time, recorded in seconds, obtained from 10 independent, repeated runs for each grid configuration. The term “Itr” displayed in the tables represents the average number of Newton iterations performed per time step, which is computed explicitly by
where represents the exact number of Newton iterations required to satisfy the stopping criteria () at the k-th time step.
Example 1.
We consider the homogeneous BBMB problem (2) and (3) on the domain with parameter values , subject to the Gaussian initial profile .
Although this Gaussian initial profile is not exactly periodic on the real line, the spatial domain interval is chosen to be sufficiently large such that the values at the boundaries are mathematically negligible. Specifically, at the endpoints we have , which evaluates effectively to zero in double-precision floating-point arithmetic. Consequently, the imposed periodic boundary conditions introduce only a completely negligible mismatch at the boundaries, preserving the integrity of our periodic solver setup.
Since an analytical exact solution is unavailable for this test case, the experimental spatial accuracy is examined through successive mesh refinements at a final time with a fixed and varying . These spatial refinement results are reported in Table 2 and Table 3. The experimental temporal accuracy is subsequently investigated by fixing the spatial mesh at and varying the temporal divisions , with the corresponding errors compiled in Table 4 and Table 5. The evolution of the numerical solution profiles at several distinct time levels is illustrated in Figure 1. To evaluate the conservative behavior of the proposed formulation, the absolute deviation is plotted in Figure 2, while Table 6 records the values of across different time levels.
Table 2.
Spatial errors and convergence orders in the discrete norm for Example 1 at , .
Table 3.
Spatial errors and convergence orders in the discrete norm for Example 1 at , .
Table 4.
Temporal errors and convergence orders in the discrete norm for Example 1 at , .
Table 5.
Temporal errors and convergence orders in the discrete norm for Example 1 at , .
Figure 1.
Numerical solutions at different time levels with , for Example 1.
Figure 2.
Absolute deviation versus time for Example 1, computed with .
Table 6.
Values of at different time levels with for Example 1.
The observed convergence rates presented in Table 2 and Table 3 confirm fourth-order spatial accuracy, while Table 4 and Table 5 establish a clear second-order temporal convergence rate with respect to both the discrete and grid norms. Concurrently, the values of in Table 6 and the trajectories of in Figure 2 demonstrate that the absolute deviation of from its initial state remains bounded near machine precision throughout the execution. This numerical preservation confirms that the quantity remains perfectly invariant, providing strict empirical support for the discrete conservation law established analytically in Theorem 1.
In summary, the comparative results from Example 1 illustrate that the proposed two-level nonlinear compact difference scheme achieves fourth-order spatial and second-order temporal accuracy, generating global errors and convergence characteristics that match or exceed those of the reference three-level linearized scheme. Additionally, the recorded iteration counters reveal that Newton’s method converges efficiently and uniformly, requiring nearly a constant three iterations per time step. When combined with its conservative properties, these numerical results confirm that the proposed algorithm delivers an exceptional balance of rigorous accuracy, geometric invariance, and computational efficiency.
Example 2.
We consider the homogeneous BBMB problem (2) and (3) on the domain with parameter values , subject to the hyperbolic-secant initial profile .
Although this hyperbolic-secant profile is not periodic on the real line, the computational domain is sufficiently large such that the solution values and their derivatives near the endpoints decay sufficiently close to zero. Consequently, any boundary mismatch introduced by the periodic boundary conditions is mathematically negligible, ensuring that our numerical experiments remain accurate.
Since an analytical exact solution is unavailable for this configuration, the spatial accuracy is examined through successive mesh refinements at a final time with a fixed number of temporal increments and varying spatial divisions , as compiled in Table 7 and Table 8. The temporal accuracy is subsequently investigated by fixing the spatial subdivision at and varying the temporal steps , with the corresponding errors reported in Table 9 and Table 10. The numerical solution profiles capturing the wave evolution at different time levels are displayed in Figure 3. To verify the conservative behavior of our scheme, the values of across various time increments are listed in Table 11, while the absolute deviation is plotted as a function of time in Figure 4.
Table 7.
Spatial errors and convergence orders in the discrete norm for Example 2 at , .
Table 8.
Spatial errors and convergence orders in the discrete norm for Example 2 at , .
Table 9.
Temporal errors and convergence orders in the discrete norm for Example 2 at , .
Table 10.
Temporal errors and convergence orders in the discrete norm for Example 2 at , .
Figure 3.
Numerical solution at different time levels with , for Example 2.
Table 11.
Values of at different time levels with for Example 2.
Figure 4.
Absolute deviation versus time for Example 2, computed with .
Similar conclusions can be drawn from the numerical data obtained in Example 2. The proposed two-level nonlinear compact difference scheme consistently achieves fourth-order spatial accuracy and second-order temporal accuracy, producing global numerical errors that are highly comparable to those generated by the reference three-level linearized scheme. Notably, the temporal errors of the proposed formulation are consistently smaller, while the nonlinear solver maintains excellent efficiency—the Newton iteration count remains nearly constant at approximately three iterations per time step. Furthermore, the values of reported in Table 11 and the absolute deviation illustrated in Figure 4 show that the variation of the discrete invariant remains bounded near machine precision. This provides robust empirical verification of the scheme’s rigorous conservative properties. Despite a moderate increase in CPU execution time due to the iterative nature of the nonlinear solver, the distinct reduction in required memory storage achieved by this two-level formulation makes the proposed scheme a highly competitive alternative to existing three-level multi-step frameworks.
Example 3.
We consider the homogeneous BBMB problem (2) and (3) on the strictly periodic domain with parameter values , subject to the sinusoidal initial condition .
Since an analytical exact solution is unavailable for this periodic case, the empirical spatial accuracy is examined through successive mesh refinements at a final time with a fixed number of temporal increments and varying spatial divisions . These spatial refinement results are reported in Table 12 and Table 13. The empirical temporal accuracy is subsequently investigated by fixing the spatial subdivision at and varying the temporal steps , with the corresponding errors compiled in Table 14 and Table 15. The dynamic evolution of the numerical solution profiles at several distinct time levels is presented in Figure 5. To assess the conservative behavior of the proposed formulation, the values of across various time increments are recorded in Table 16, while the absolute deviation is illustrated graphically in Figure 6.
Table 12.
Spatial errors and convergence orders in the discrete norm for Example 3.
Table 13.
Spatial errors and convergence orders in the discrete norm for Example 3.
Table 14.
Temporal errors and convergence orders in the discrete norm for Example 3.
Table 15.
Temporal errors and convergence orders in the discrete norm for Example 3.
Figure 5.
Numerical solution at different time levels with , for Example 3.
Table 16.
Values of at different time levels with for Example 3.
Figure 6.
Absolute deviation versus time for Example 3, computed with .
Consistent with the outcomes observed in Examples 1 and 2, the numerical data presented in Table 12, Table 13, Table 14, Table 15 and Table 16 provide clear confirmation of full fourth-order spatial accuracy and second-order temporal accuracy. Concurrently, the records of across successive time increments demonstrate that this structural invariant remains remarkably stable, directly validating the discrete conservation law established analytically in Theorem 1.
Example 4.
Consider the nonhomogeneous BBMB problem (95)–(97) on the domain with parameter values . The external forcing term is prescribed as
which is chosen deliberately such that the analytical exact solution is given by .
This test case serves as a rigorous accuracy verification for the proposed compact difference scheme applied to a nonhomogeneous framework. Because the analytical exact solution is explicitly available, the experimental spatial convergence order is evaluated directly using the global errors at a final time with N = 20,000; the corresponding numerical errors and convergence orders are reported in Table 17 and Table 18. The experimental temporal convergence order is subsequently examined at by fixing a refined spatial mesh of , with the compiled results presented in Table 19 and Table 20. For visual comparison, both the numerical profiles and the analytical exact solutions at various time intervals are illustrated in Figure 7.
Table 17.
Spatial errors and convergence orders in the discrete norm for Example 4 at , N = 20,000.
Table 18.
Spatial errors and convergence orders in the discrete norm for Example 4 at , N = 20,000.
Table 19.
Temporal errors and convergence orders in the discrete norm for Example 4 at , .
Table 20.
Temporal errors and convergence orders in the discrete norm for Example 4 at , .
Figure 7.
The numerical solution and analytic solution of Example 4 at different times.
The numerical results from Example 4 successfully validate the proposed method within a nonhomogeneous framework containing an external forcing term . The computational outcomes are entirely consistent with the previous homogeneous test cases, demonstrating that the compact difference scheme preserves its optimal fourth-order spatial accuracy and second-order temporal accuracy even in the presence of a source term. Concurrently, the nonlinear Newton solver maintains its characteristic rapid convergence. Furthermore, the deviation illustrated in Figure 8 and the values tabulated in Table 21 remain invariant up to machine precision. These findings conclusively confirm that the rigorous structure-preserving properties of the proposed formulation are fully retained in the nonhomogeneous setting, matching our theoretical expectations.
Figure 8.
Absolute deviation versus time for Example 4, computed with .
Table 21.
The values of at different time levels with for Example 4.
Example 5.
We consider a generalized BBMB equation featuring a nonlinear potential term adapted from [31]:
where the potential function is given by , the physical parameters are set as , and the initial profile is prescribed as .
This final test case illustrates a successful numerical extension of the proposed compact difference scheme to a broader class of BBMB-type equations governed by an additional nonlinear structural potential. To accommodate this extension, the right-hand-side vector and its corresponding block-tridiagonal Jacobian matrix in the Newton algorithm are modified to naturally incorporate the derivative of the potential, .
Since an analytical exact solution is unavailable for this generalized case, the empirical spatial accuracy is examined via successive mesh refinements at a final time with a fixed number of temporal steps and varying spatial divisions; the corresponding numerical errors and convergence orders are listed in Table 22 and Table 23. The empirical temporal accuracy is subsequently tested at by fixing the spatial subdivision at , with the compiled refinement results presented in Table 24 and Table 25. The evolution of the numerical solution profiles at several distinct time levels is illustrated in Figure 9. Furthermore, to investigate the long-term conservative behavior of the scheme within this extended settings framework, the values of at different time levels are listed in Table 26, while the absolute deviation is plotted as a function of time in Figure 10.
Table 22.
Spatial errors and convergence orders in the discrete norm for Example 5 at , .
Table 23.
Spatial errors and convergence orders in the discrete norm for Example 5 at , .
Table 24.
Temporal errors and convergence orders in the discrete norm for Example 5 at , .
Table 25.
Temporal errors and convergence orders in the discrete norm for Example 5 at , .
Figure 9.
Numerical solution at different time levels with , for Example 5.
Table 26.
Values of at different time levels with for Example 5.
Figure 10.
Absolute deviation versus time for Example 5, computed with .
The numerical data compiled in Table 22, Table 23, Table 24, Table 25 and Table 26 demonstrate that the proposed framework can be successfully extended to generalized BBMB equations governed by additional nonlinear potential terms. Despite the structural complexity introduced by the new polynomial nonlinearity , the global numerical behavior remains entirely consistent with the characteristics observed in the previous test cases. Specifically, the compact difference scheme continues to achieve its optimal fourth-order spatial convergence and second-order temporal convergence, while the modified Newton algorithm converges rapidly, requiring only a few iterations per temporal step. Furthermore, the computed values of remain precisely invariant up to machine precision, confirming that the rigorous structure-preserving properties are fully maintained in this more general setting. Consequently, Example 5 provides conclusive evidence of the robustness and reliability of the proposed two-level formulation well beyond the standard BBMB equation.
6. Conclusions
In this study, we have designed, analyzed, and validated a novel two-level, fourth-order structure-preserving compact finite difference scheme for the Benjamin–Bona–Mahony–Burgers (BBMB) equation. By strategically employing an order-reduction framework via the auxiliary variable , we successfully transformed the higher-order governing equation into a coupled low-order system. This formulation maintains a compact narrow stencil bandwidth, which significantly minimizes boundary closure complications and reduces the overall computational stencil size compared to standard fourth-order central difference approximations.
A major theoretical contribution of this work is that the proposed two-level nonlinear scheme exactly preserves the discrete invariant over time, ensuring that the numerical solution faithfully mimics the underlying geometric and physical properties of the continuous model. The existence of the discrete solution at each temporal step was rigorously established utilizing Browder’s fixed-point theorem, and its conditional uniqueness was formally proven. We also derived optimal-order error estimates demonstrating that the scheme achieves convergence with respect to the discrete grid norm. Extensive numerical experiments—encompassing challenging configurations with Gaussian, hyperbolic-secant, and strictly periodic sinusoidal initial profiles, alongside extensions to nonhomogeneous source frameworks and generalized nonlinear potentials—fully confirm the theoretical fourth-order spatial accuracy and second-order temporal accuracy. Crucially, the empirical results confirm that the absolute invariant deviation stays securely bounded near machine precision, underscoring the robust reliability, geometric fidelity, and long-term stability of the proposed framework for simulating complex nonlinear wave phenomena.
Author Contributions
Conceptualization, M.K., N.P. (Nattapol Ploymaklam), N.P. (Natchanan Prabhong), K.B. and S.C.; methodology, N.P. (Nattapol Ploymaklam) and N.P. (Natchanan Prabhong); software, N.P. (Nattapol Ploymaklam), N.P. (Natchanan Prabhong) and K.B.; formal analysis, N.P. (Nattapol Ploymaklam) and N.P. (Natchanan Prabhong); writing—original draft preparation, N.P. (Nattapol Ploymaklam) and N.P. (Natchanan Prabhong); writing—review and editing, M.K., N.P. (Nattapol Ploymaklam), K.B. and S.C.; visualization, N.P. (Nattapol Ploymaklam) and K.B. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by Chiang Mai University and the Fundamental Fund 2026 (214505), Chiang Mai University and also Thailand Science Research and Innovation (TSRI) (FRB690042/0162), and Centre of Excellence in Mathematics, MHESI, Bangkok 10400, Thailand.
Data Availability Statement
The raw data supporting the conclusions of this article will be made available by the authors on request.
Acknowledgments
The authors wish to thank Amiya K. Pani for his valuable suggestion on the early version of the manuscript. The authors are also grateful to the anonymous referees for their careful reading of the manuscript and their useful comments.
Conflicts of Interest
Author Natchanan Prabhong is employed by Fusion Solution Co., Ltd. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
References
- Benjamin, T.B.; Bona, J.L.; Mahony, J.J. Model equations for long waves in nonlinear dispersive systems. Philos. Trans. R. Soc. Lond. Ser. A Math. Phys. Sci. 1972, 272, 47–78. [Google Scholar] [CrossRef] [Scilit]
- Bona, J.L.; Pritchard, W.G.; Scott, L.R. An evaluation of a model equation for water waves. Philos. Trans. R. Soc. Lond. Ser. A Math. Phys. Sci. 1981, 302, 457–510. [Google Scholar] [CrossRef] [Scilit]
- Al-Khaled, K.; Momani, S.; Alawneh, A. Approximate wave solutions for generalized Benjamin–Bona–Mahony–Burgers equations. Appl. Math. Comput. 2005, 171, 281–292. [Google Scholar] [CrossRef] [Scilit]
- Dehghan, M.; Abbaszadeh, M.; Mohebbi, A. The numerical solution of nonlinear high-dimensional generalized Benjamin–Bona–Mahony–Burgers equation via the meshless method of radial basis functions. Comput. Math. Appl. 2014, 68, 212–237. [Google Scholar] [CrossRef] [Scilit]
- Peregrine, D. Calculations of the development of an undular bore. J. Fluid Mech. 1966, 25, 321–330. [Google Scholar] [CrossRef] [Scilit]
- Avrin, J.; Goldstein, J.A. Global existence for the Benjamin-Bona-Mahony equation in arbitrary dimensions. Nonlinear Anal. Theory Methods Appl. 1985, 9, 861–865. [Google Scholar] [CrossRef] [Scilit]
- Omrani, K. The convergence of fully discrete Galerkin approximations for the Benjamin-Bona-Mahony (BBM) equation. Appl. Math. Comput. 2006, 180, 614–621. [Google Scholar] [CrossRef] [Scilit]
- Dag, I.; Özer, M. Approximation of the RLW equation by the least square cubic B-Spline finite element method. Appl. Math. Model. 2001, 25, 221–231. [Google Scholar] [CrossRef] [Scilit]
- Berikelashvili, G.; Mirianashvili, M. On the convergence of difference schemes for generalized Benjamin-Bona-Mahony equation. Numer. Methods Partial Differ. Equ. 2014, 30, 301–320. [Google Scholar] [CrossRef] [Scilit]
- Rashid, A. A three-levels finite difference method for nonlinear regularized long-wave equation. Mem. Differ. Equ. Math. Phys. 2005, 34, 135–146. [Google Scholar]
- Li, S.; Wang, J.; Luo, Y. A fourth-order conservative compact finite difference scheme for the generalized RLW equation. Math. Probl. Eng. 2015, 2015, 960602. [Google Scholar] [CrossRef] [Scilit]
- Achouri, T.; Khiari, N.; Omrani, K. On the convergence of difference schemes for the Benjamin-Bona-Mahony (BBM) equation. Appl. Math. Comput. 2006, 182, 999–1005. [Google Scholar] [CrossRef] [Scilit]
- Kundu, S.; Pani, A.K.; Khebchareon, M. Asymptotic analysis and optimal error estimates for Benjamin–Bona–Mahony–Burgers’ type equations. Numer. Methods Partial Differ. Equ. 2018, 34, 1053–1092. [Google Scholar] [CrossRef] [Scilit]
- Rahmeni, A.; Omrani, K. High-order conservative difference scheme for a model of nonlinear dispersive equations. Comput. Appl. Math. 2018, 37, 4169–4195. [Google Scholar] [CrossRef] [Scilit]
- Ismail, K.; Atouani, N.; Omrani, K. A three-level linearized high-order accuracy difference scheme for the extended Fisher-Kolmogorov equation. Eng. Comput. 2022, 38, 1215–1225. [Google Scholar] [CrossRef] [Scilit]
- Wongsaijai, B.; Poochinapan, K. A three-level average implicit finite difference scheme to solve equation obtained by coupling the Rosenau-KdV equation and the Rosenau-RLW equation. Appl. Math. Comput. 2014, 245, 289–304. [Google Scholar] [CrossRef] [Scilit]
- Ganji, Z.; Ganji, D.; Bararnia, H. Approximate general and explicit solutions of nonlinear BBMB equations by Exp-Function method. Appl. Math. Model. 2009, 33, 1836–1841. [Google Scholar] [CrossRef] [Scilit]
- Tari, H.; Ganji, D. Approximate explicit solutions of nonlinear BBMB equations by He’s methods and comparison with the exact solution. Phys. Lett. A 2007, 367, 95–101. [Google Scholar] [CrossRef] [Scilit]
- Omrani, K.; Ayadi, M. Finite difference discretization of the Benjamin-Bona-Mahony-Burgers (BBMB) equation. Numer. Methods Partial Differ. Equ. 2008, 24, 239–248. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Q.; Liu, L.; Zhang, J. The numerical analysis of two linearized difference schemes for the Benjamin-Bona-Mahony-Burgers equation. Numer. Methods Partial Differ. Equ. 2020, 36, 1790–1810. [Google Scholar] [CrossRef] [Scilit]
- Che, H.t.; Pan, X.t.; Zhang, L.m.; Wang, Y.j. Numerical analysis of a linear-implicit average scheme for generalized Benjamin-Bona-Mahony-Burgers equation. J. Appl. Math. 2012, 2012, 308410. [Google Scholar] [CrossRef] [Scilit]
- Refahi Sheikhani, A.H.; Arabameri, M. An efficient numerical method for solving Benjamin–Bona–Mahony–Burgers equation using difference scheme of sixth order. J. Differ. Equ. Appl. 2020, 26, 487–506. [Google Scholar] [CrossRef] [Scilit]
- Zarebnia, M.; Parvaz, R. Error analysis of the numerical solution of the Benjamin–Bona–Mahony–Burgers equation. Bol. Soc. Parana. Mat. 2020, 38, 177–191. [Google Scholar] [CrossRef] [Scilit]
- Shallu; Kukreja, V. Numerical treatment of Benjamin-Bona-Mahony-Burgers equation with fourth-order improvised B-spline collocation method. J. Ocean Eng. Sci. 2022, 7, 99–111. [Google Scholar] [CrossRef] [Scilit]
- Arora, G.; Mittal, R.C.; Singh, B. Numerical Solution of BBM-Burger Equation with Quartic B-Spline Collocation Method. J. Eng. Sci. Technol. 2014, 9, 104–116. Available online: https://jestec.taylors.edu.my/Special%20Issue%20ICMTEA%202013/ICMTEA%202013_104_116.pdf (accessed on 31 May 2026).
- Mohammed, H. Solution BBM-Burger equation via quartic trigonometric B-spline approach. J. Phys. Conf. Ser. 2021, 1879, 22109. [Google Scholar] [CrossRef] [Scilit]
- Dell’Accio, F.; Guessab, A.; Nudo, F. New quadratic and cubic polynomial enrichments of the Crouzeix–Raviart finite element. Comput. Math. Appl. 2024, 170, 204–212. [Google Scholar] [CrossRef] [Scilit]
- Nudo, F. A general quadratic enrichment of the Crouzeix–Raviart finite element. J. Comput. Appl. Math. 2024, 451, 116112. [Google Scholar] [CrossRef] [Scilit]
- Joshi, H.; Jha, B.K. Modeling the spatiotemporal intracellular calcium dynamics in nerve cell with strong memory effects. Int. J. Nonlinear Sci. Numer. Simul. 2023, 24, 2383–2403. [Google Scholar] [CrossRef] [Scilit]
- Bayarassou, K. Fourth-order accurate difference schemes for solving Benjamin-Bona-Mahony-Burgers (BBMB) equation. Eng. Comput. 2021, 37, 123–138. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Q.; Liu, L. Convergence and stability in maximum norms of linearized fourth-order conservative compact scheme for Benjamin-Bona-Mahony-Burgers equation. J. Sci. Comput. 2021, 87, 59. [Google Scholar] [CrossRef] [Scilit]
- Wang, X.; Zhang, Q.; Sun, Z.z. The pointwise error estimates of two energy-preserving fourth-order compact schemes for viscous Burgers equation. Adv. Comput. Math. 2021, 47, 23. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Q.; Wang, X.; Sun, Z.z. The pointwise estimates of a conservative difference scheme for Burgers’ equation. Numer. Methods Partial Differ. Equ. 2020, 36, 1611–1628. [Google Scholar] [CrossRef] [Scilit]
- Akrivis, G.D. Finite difference discretization of the cubic Schrödinger equation. IMA J. Numer. Anal. 1993, 13, 115–124. [Google Scholar] [CrossRef] [Scilit]
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. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.









