1. Introduction
Nonlinear partial differential equations (PDEs) play a fundamental role in the mathematical modeling of a wide rage of physical, chemical, biological and engineering phenomena. Among these equations, the Burgers–Huxley equation (BHE) is of particular interest, as it combines the nonlinear convection term of the Burgers equation with the reaction–diffusion structure of the Huxley equation. This coupling enables the modeling of complex processes such as viscous fluid flow, wave propagation and reaction–diffusion dynamics. Due to the strong nonlinearity of the governing equation, closed-form analytical solutions are rarely available and numerical methods therefore constitute an essential tool for its investigation.
The generalized Burgers–Huxley equation is given by
subject to the initial condition
and the boundary conditions
An exact solution of Equation (
1) is known and is expressed as
where
and the parameters satisfy
,
, and
. This formulation highlights the interaction between convection, diffusion and reaction mechanisms within the Burgers–Huxley framework. Several classical equations arise as special cases of Equation (
1). When
and
, then equation reduces to Huxley equation
which is commonly used to model nerve pulse propagation and pattern formation in biological systems.
Setting
and
yields the Burgers equation
a fundamental model for nonlinear wave propagation in dissipative media. When
,
, and
, the FitzHugh–Nagumo equation is recovered, given by
The classical Burgers–Huxley equation corresponds to the case with and . These reductions illustrate the versatility of the generalized Burgers–Huxley equation in capturing a broad class of nonlinear phenomena.
Since its introduction, Equation (
1) has attracted considerable attention in the literature. Wang et al. [
1] provided one of the earliest investigations of the equation, and numerous numerical methods have been developed for its approximate solution. Spectral and pseudospectral approaches have been employed by Javidi [
2] and Darvishi et al. [
3], while compact finite difference schemes were proposed by Hammad and El-Azab [
4]. Khattak [
5] developed a computational meshless approach to the generalized BHE. Sari and Gurarslan [
6] used a polynomial differential quadrature approach to find the numerical solution of the BH equation. For the numerical solution of the generalized BH equation, Dehghan et al. [
7] developed two numerical techniques based on the interpolating scaling functions and mixed-collocation finite difference schemes. Biazar and Muhammadi [
8] used the differential transform method to solve the BH equation. Using a modified predictor–corrector approach based on a fourth-order time finite difference scheme, Bratsos [
9] solved the generalized BH equation. Zarebnia and Aliniya [
10] solved the BH equation using a mesh-free collocation technique based on sine functions. To solve the BH equation, Batiha et al. [
11] used He’s variational iteration method without using any discretization. The generalized BH equation’s quickly convergent analytical series solution was obtained by Hashim et al. [
12] by the application of the Adomian decomposition method.
Inan and Bahadir [
13] used the implicit exponential finite difference method to achieve a numerical solution of the BH equation. Batiha et al. [
14] employed the New Iterative Method (NIM) to solve the generalized Burgers–Huxley equation, showing that the method yields accurate and rapidly convergent solutions without linearization. Their results confirmed the effectiveness of the NIM in analyzing nonlinear reaction–diffusion models. The Galerkin [
15] method, exponential time differencing scheme [
16], and higher-order finite difference schemes are among the numerical techniques used to obtain the numerical solution of the BH equation.
A standard approach for interpolating or approximating data that is rapid to generate, consistent numerically and able to reproduce data shape with a second degree of continuity when compared to polynomials is the B-spline collocation scheme. In order to discover the numerical solutions of the differential equations, many numerical approaches based on various kinds of B-spline functions have recently been used. A numerical method based on modified cubic B-spline functions was proposed by Mittal and Tripathi [
17] to get approximations for the solutions to the generalized Burgers, Fisher and generalized BH equations. The numerical solution of the BH equation was recently computed by Bukhari et al. [
18] using the local radial basis functions differential collocation method. Dağ, İ., et al. [
19] used cubic B-splines, which are smooth piecewise polynomial functions, to solve Burger’s equation. Lohar [
20] utilized the variable mesh cubic spline technique for the N-wave solution of Burger’s equation. Sahin et al. [
21] used B-spline collocation methods for numerical solutions of Burger’s equation. Abbasbandy et al. [
22] achieved a numerical solution of Burger’s equation by the Adomian Decomposition method.
Inc et al. [
23] investigate new solutions for the fractional-order Burgers–Huxley equation using advanced mathematical approaches. Wen and Chaolu [
24] developed a neural network approach tailored to this equation, and Mohan and Khan [
25] analyzed the generalized Burgers–Huxley equation for existence, uniqueness, and regularity, alongside numerical studies, whereas Wang [
26] applied variational principles to derive an approximate solution. Majeed et al. [
27] used fractional derivatives with B-spline functions to approximate solutions. Loyinmi and Akinfe [
28] introduced the Elzaki transform for efficient solutions, while Kumar, Yadav, and Nagar [
29] demonstrated the application of a Deep Galerkin neural network to solve both the generalized Burgers–Huxley and Huxley equations. Hayat et al. [
30] provide a solution to the time-fractional Burgers–Huxley equation using the Mittag–Leffler function, enhancing understanding of fractional dynamics. Arora et al. [
31] introduce a Hermite spline collocation technique to study various generalized Burgers equations, including Burgers–Huxley and Burgers–Fisher. Verma and Kayenat [
32] develop a Mickens-type nonstandard finite difference scheme for efficiently solving the generalized Burgers–Huxley equation. Sánchez-Pérez et al. [
33] used a non-dimensionality technique to analyze the Burgers–Huxley equation, providing solutions under specific boundary conditions. Mohan [
34] explores mild solutions for the stochastic form of the generalized Burgers–Huxley equation, broadening the scope of its applications. Chin [
35] applies the Galerkin method to analyze solutions of the Burgers–Huxley equation, demonstrating the effectiveness of this approach in numerical methods. Zhong et al. [
36] combine a high-order Haar wavelet scheme with the Runge–Kutta method to solve the generalized Burgers–Huxley and Burgers–Fisher equations. Akram et al. [
37] construct a higher-order numerical approximation for the generalized fractional Burgers–Huxley equation, enhancing solution accuracy. Khan et al. [
38] analyze stationary forms of the generalized Burgers–Huxley equation using conforming, nonconforming, and discontinuous Galerkin methods.
Kuzenov et al. [
39] proposed a nonlinear compact-polynomial numerical scheme for solving elliptic differential equations, demonstrating improved accuracy and stability compared with classical finite difference approaches, and highlighting its effectiveness for achieving high-precision solutions of boundary value problems. Yousif et al. [
40] developed advanced numerical techniques based on logarithmic non-polynomial spline functions for conformable time-fractional differential equations, providing accurate and efficient approximations and extending spline-based methods to fractional-order models.
Motivated by these developments, to solve the generalized Burgers–Huxley equation, this research provides a high-order numerical technique that integrates a third-order finite difference scheme, the method of lines, and fourth-order Runge–Kutta time-stepping. The approach negates the requirement for ghost points (artificial points outside the domain that are frequently used to handle boundaries in finite difference stencils) via biased spatial formulas that remain within the computational domain. The method is evaluated over a wide range of physical parameters, revealing great accuracy, computational effectiveness, and practicality for smooth nonlinear solutions.
The main contributions of this research can be listed as follows. We propose a high-order numerical method that incorporates a third-order finite difference scheme for spatial discretization, a method of lines approach, and fourth-order Runge–Kutta time-stepping. One of the main advantages of our numerical method is that it employs biased spatial difference formulas that stay strictly inside the computational domain, thus avoiding the need for ghost cells (auxiliary points inside the domain, usually needed in finite difference schemes). Our method is rigorously tested for a broad range of physical parameters (, , , ), and it shows outstanding accuracy (with errors as low as for diffusion-dominated problems), efficiency (requiring only operations per time step), and robustness for smooth nonlinear solutions. Detailed stability and convergence analyses are also included, and we derive explicit CFL-type constraints and a global error bound of .
The paper’s structure is as follows: A numerical method for solving the Burgers–Huxley equation based on the third-order approximation and the method of lines is presented in
Section 2. The suggested scheme’s stability and convergence analyses are covered in depth in
Section 3 and
Section 4. We perform a comparative analysis in
Section 5 between our numerical results and the results from some other approaches given in the literature. Finally, the conclusion of our findings as well as the effectiveness of the suggested strategy are discussed.
2. Derivation of the Scheme
Let and define the uniform step size . We partition the spatial interval into M equal subintervals , , where . This generates a rectangular mesh consisting of grid points , where denotes the spatial nodes and denotes discrete time levels. The computational range is , together with boundary lines and and the initial line .
In the method of lines, the spatial derivatives in (
1) are approximated on the spatial grid, resulting in a system of ordinary differential equations (ODEs) in time. We first construct third-order accurate finite difference approximations for the second spatial derivative using the five-point one-sided formula [
41]
Remark 1. The choice of a non-symmetric stencil for the second derivative is motivated by the need to maintain third-order accuracy uniformly across the domain, including near boundaries. While symmetric stencils (e.g., central differences) are natural for interior points, they require special handling at boundaries. The one-sided formulation allows us to develop consistent boundary-adjusted stencils (19) and (24) that preserve the formal order of accuracy without extending the stencil asymmetrically. This approach follows standard practice in high-order finite difference methods.
Since this approximation is not symmetric, the five coefficients
must be determined. Expanding
,
,
and
by Taylor series, we obtain
Equating the coefficients of
for
in (
11) yields the linear system
Substituting (
13) into (
10) gives the third-order approximation
To preserve third-order accuracy near the endpoints, additional approximations are required. We construct boundary-biased six-point formulas which retain the leading error term
. It is convenient to keep the factor
as in (
14).
2.1. Approximation at
Consider the approximation of
at
of the form
Expanding about
yields
Equating coefficients of
for
in (
16) yields
2.2. Approximation at
Next, for the grid point
we consider the six-point approximation
Taylor expansion about
yields
Equating coefficients of
for
in (
21) gives
2.3. Semi-Discrete System (Method of Lines)
Using (
14), (
19) and (
24) for the second spatial derivative together with the central difference approximation for the first derivative,
we obtain the following semi-discrete system of ODEs. For
,
Remark on boundary stencils. The approximations in (
26) and (
27) use only grid points within
, with
and
provided by the boundary conditions (
3). No ghost points or extrapolation are required, as the six-point formulas are constructed to be evaluated at
and
using values at
and
, respectively. The resulting system of ODEs is integrated in time using the classical fourth-order Runge–Kutta method (RK4) method.
3. Stability Analysis
This section presents a stability analysis of the proposed method. Since the generalized Burgers–Huxley Equation (
1) is nonlinear, we first consider a linearized model in order to analyze the stability of the semi-discrete system. This can be achieved either by neglecting the reaction term (i.e., setting
) or, alternatively, by freezing the nonlinear coefficient in the convective term by assuming
so that
. Under this linearization, Equation (
1) reduces to the linear convection–diffusion equation
After substituting the finite difference approximations for the spatial derivatives into Equation (
28), we obtain a linear system of ordinary differential equations which can be written in matrix form
where
is the system matrix arising from the discrete convection and diffusion operators. For convenience,
is written as the sum of two matrices,
Matrix
corresponds to the discretization of the first spatial derivative (central difference), while
represents the discrete second derivative operator based on the third-order formulas. Specifically, we define
and
Here, and correspond to boundary values prescribed by the boundary conditions.
3.1. Stability of RK4 Time Integration
To advance (
29) in time, the classical fourth-order Runge–Kutta (RK4) method is applied. For the linear system (
29), the RK4 iteration takes the form
Here,
denotes the numerical solution vector at the
kth time level. In order to conduct von Neumann stability analysis, we consider a trial solution of the form
where
represents the amplification factor at time step
k,
and
denotes the mode number. Substituting this representation into (
31) yields
Now we substitute the expressions for
,
,
, and
into (
32). Using the linearlity of
, we obtain
After simplification, the RK4 update can be written as the action of a polynomial in
:
Equivalently, (
33) can be expressed in the iteration form
From (
34), we define amplification matrix
as
To ensure stability, we examine the amplification matrix
. Stability is guaranteed if the spactral radius satisfies
where
denotes the spactral radius. Since
is a polynomial in
, its eigenvalues are given by the RK4 stability polynomial evaluated at the eigenvalues of
. In particular, if
is an eigenvalue of
, then the corresponding eigenvalue of
is
Therefore, the RK4 stability requirement can be expressed as
RK4 is an explicit scheme and is not A-stable. Consequently, its stability depends on the step size and on the spectral properties of the system matrix . For stiff problems or when has eigenvalues with large magnitudes, must be chosen to be sufficiently small so that remains inside the stability region of RK4. Despite this limitation, the RK4 method is effective for a wide range of problems, provided that is selected appropriately.
3.2. Explicit Stability Condition in Terms of and h
To derive a usable stability restriction, the eigenvalues of the spatial discretization matrix must be expressed in terms of the grid spacing h. For linearized convection–diffusion, Equation (28), combines the discrete diffusion operator (second derivative) and convection operator (first derivative).
Using the third-order finite difference schemes introduced in
Section 2, the eigenvalues of
can be approximated through Fourier analysis. Substituting a Fourier mode
into the spatial operator leads to the symbol
where
. The real component of
originates from diffusion and remains negative, ensuring dissipative behavior, while the imaginary component is produced by convection.
For stability of the RK4 time integrator, the amplification factor must satisfy
with the RK4 stability polynomial given by
This requirement results in a CFL-type restriction linking the time step to the spatial mesh size h.
In diffusion-dominated regimes (
), the dominant eigenvalues behave like
, as inferred from the leading diffusion term. Since the RK4 stability interval on the negative real axis extends to approximately
, we obtain the parabolic constraint
When convection prevails, the eigenvalues are largely imaginary, with magnitude proportional to
. The RK4 stability boundary along the imaginary axis reaches roughly
, yielding the hyperbolic restriction
For mixed convection–diffusion problems, the time step must satisfy the tighter of the two bounds,
where
denotes the diffusion coefficient,
, and
. All simulations reported in
Section 5 respect this criterion, accounting for the stable behavior observed.
Remark 2. The constants above are approximate and follow from Fourier analysis of the spatial scheme. For nonlinear settings, a slightly smaller time step may be advisable, especially in the presence of strong reaction terms. The experiments in Section 5 demonstrate that the chosen step sizes (e.g., for Example 1 and for Example 2) remain well within these theoretical limits while preserving both stability and accuracy. 3.3. Remark on Nonlinear Stability
The stability study provided above is based on a linearized model obtained by freezing the nonlinear coefficient in the convection term
. While this linearization approach is standard in the analysis of numerical methods for nonlinear PDEs, we acknowledge that it provides only the necessary conditions for the stability of the full nonlinear problem. For sufficiently smooth solutions and small time steps, the behavior of the nonlinear system locally approximates that of the linearized system. This heuristic principle, common in the method of lines literature, suggests that stability of the linearized problem is indicative of stability of the nonlinear problem when solutions remain smooth and step sizes are appropriately constrained. The numerical experiments presented in
Section 5 serve as empirical validation of the method’s stability for the full nonlinear problem across a wide range of parameter values. The consistent agreement with the exact solutions and systematic error reduction observed in
Table 1,
Table 2,
Table 3 and
Table 4 demonstrate that the scheme remains stable for the nonlinear problem under chosen step sizes.
4. Convergence Analysis
The convergence analysis of the classical fourth-order Runge–Kutta (RK4) method for a system of ordinary differential equations aims to demonstrate that the numerical solution converges to the exact solution as the time step
. In the context of the method of lines, the spatial discretization of the Burgers–Huxley equation leads to a system of
ordinary differential equations in time. This section examines the local truncation error (LTE) of the RK4 method and its implications for global convergence. Consider the semi-discrete system obtained after spatial discretization,
where
t is the independent time variable,
represents the numerical solution vector with
and
denotes the
ith component of the right-hand-side function arising from the spatial discretization. Applying the classical RK4 method to the system (
36), the numerical scheme can be written as
where
denotes the numerical solution at time level
. The LTE of the RK4 method measures the error introduced in a single time step when the exact solution is substituted into the numerical scheme. For sufficiently smooth solutions, the LTE of the RK4 method is given by
where
is the fifth derivative of the exact solution with respect to time and
. This expression shows that LTE is of the order
and therefore decreases rapidly as
.
The global error of a numerical method arises from the accumulation of local truncation errors over all time steps. For a one-step method such as RK4, the global error is one order lower than the local truncation error, and hence the RK4 method exhibits fourth-order convergence in time. That is, the global error is proportional to
. To further quantify the LTE, let us consider
If the exact solution is sufficiently smooth and the fifth derivative is bounded, then
P is finite. Using (
38) and (
39), we obtain the bound
which ensures that the LTE tends to zero as
. The fourth-order convergence of the RK4 method implies that decreasing the time step
leads to a rapid reduction in the numerical error, allowing high accuracy to be achieved with relatively few time steps compared to lower-order schemes. The maximum achievable accuracy in our scheme is determined by the spatial error
once the temporal error
is made sufficiently small. In practice, we observed errors as low as
in Example 2 (
Table 2) where smooth solutions and appropriate step sizes allowed the third-order spatial accuracy to dominate. Thus, the accuracy is ultimately limited by machine precision and smoothness of the solution, but our method reliably achieves near-machine-level precision for smooth test cases under appropriate resolution. However, it should be noted that RK4 is an explicit method, and for stiff systems smaller time steps may be required to maintain stability.
Combined Spatial and Temporal Error Analysis
The preceding analysis focused on the temporal discretization error of the RK4 method applied to the semi-discrete system of ODEs. To fully characterize the error of the proposed method, we must also account for the spatial discretization error introduced by the third-order finite difference scheme.
Let
denote the exact solution of the continuous Burgers–Huxley equation, and let
denote the semi-discrete solution satisfying the ODE system obtained after spatial discretization. The local truncation error of the spatial discretization is
, as established by the Taylor series expansions in
Section 2. Consequently, the global spatial error in the semi-discrete solution
at a fixed time
t is also
, provided the semi-discrete system is stable.
Now, let
denote the fully discrete numerical solution at grid point
and time level
. The total error can be decomposed as:
Assuming the stability of both the spatial and temporal discretizations, the overall error of the proposed method is therefore
This theoretical estimate indicates that the scheme is third-order accurate in space and fourth-order accurate in time. In practice, to observe the combined convergence rate, the time step
should be refined proportionally to
so that both error components decrease at a comparable rate. The numerical experiments presented in
Section 5 confirm this expected order of convergence, as the computed solutions exhibit rapid reduction in error with mesh refinement and the error profiles align with the predicted asymptotic behavior.
Remark 3. This analysis shows that the nonlinear convective term introduces an error, the reaction term contributes error bounded by the solution error itself, and the third-order diffusion scheme provides an local truncation error that becomes dominant only in diffusion-dominated cases. In practice, choosing proportional to h ensures that temporal errors do not dominate. The numerical results in Section 5 confirm that the method achieves high accuracy and the expected convergence rates, validating the effectiveness of this approach. 5. Numerical Results
This section presents the numerical results obtained for the generalized Burgers–Huxley equation. Several test examples are considered in order to analyze and assess the accuracy and effectiveness of the proposed numerical scheme for different values of the parameters , , , and . The accuracy of the numerical solutions is evaluated by computing the following error measure:
Note: For numerical comparison, we primarily benchmark our results against [
13]. While other high-order methods exist in the literature (e.g., [
14]), many report error magnitudes similar to those in [
13]—often matching to several decimal places or the same order of the 10th power. Since Ref. [
13] provides comprehensive error data across a wide range of parameters
, matching our test cases, it serves as a consistent and representative benchmark for assessing the accuracy of the proposed scheme.
Example 1. Consider Equation (1) with the parameter values , , and , which reduces to The proposed method is applied to solve the above problem. In
Table 1, the absolute errors computed by the present method are compared with those available in the literature for
and 3. Moreover, the CPU time associated with the present scheme for
is also reported. The comparison is carried out with the implicit exponential finite difference method [
13] and the Adomian decomposition method [
12]. The results demonstrate that the proposed scheme produces smaller absolute errors across all tested parameter values and time levels.
Figure 1 illustrates the space–time profiles of the numerical and exact solutions for
, showing excellent agreement between the two solutions. Furthermore, the distribution of the absolute error in two-dimensional form for
and
is displayed in
Figure 2, confirming the high accuracy of the proposed method.
Example 2. Consider Equation (1) with parameter values , , and , which reduces to the following form: The proposed numerical scheme is applied to solve the above problem. In
Table 2, the absolute errors computed by the present method are compared with those available in the literature for
and 4. Moreover, the CPU time associated with the present scheme for
is also reported. The results demonstrate that the present scheme consistently produces smaller absolute errors over all tested spatial points and time levels.
Figure 3 displays the space–time graphs of the approximate and exact solutions for
, illustrating excellent agreement between the numerical and analytical solutions. In addition, two-dimensional distribution of the absolute error for
and
is shown in
Figure 4, further confirming the accuracy and stability of the proposed method.
Example 3. Consider Equation (1) with parameter values , , and , which reduces to the following form: The proposed numerical scheme is applied to solve the above problem for different values of the reaction parameter
.
Table 3 presents a comparison of the absolute errors obtained using the present method with those reported in [
13] for
and 100. Moreover, the CPU time associated with the present scheme for
is also reported. The results demonstrate that the proposed scheme yields consistently smaller absolute errors over all spatial locations and time levels considered, even as reaction strength increases.
Figure 5 shows the space–time graphs of the approximate and exact solutions for
, indicating excellent agreement between the numerical and analytical solutions. In addition, the two-dimensional distribution of the error for
and
is depicted in
Figure 6, further illustrating the accuracy and robustness of the proposed method.
Example 4. Consider Equation (1) with parameter values , , and , which reduces to the following form: The proposed numerical scheme is applied to solve the above problem for different values of the parameter
.
Table 4 presents a comparison of the absolute errors obtained using the present method with those reported in [
13] for
and
. Moreover, the CPU time associated with the present scheme for
is also reported. The numerical results demonstrate that the present scheme consistently yields smaller absolute errors than the reference method for all spatial locations and time levels considered, even for relatively small values of
.
Figure 7 depicts the space–time profiles of the approximate and exact solutions for
, illustrating excellent agreement between the numerical and analytical solutions. Moreover, the two-dimensional distribution of the absolute error at
for
is shown in
Figure 8, further confirming the accuracy and robustness of the proposed scheme.
Computational Remarks. All simulations were performed in
Mathematica 13.2 on a standard desktop computer. The computational time was measured using the built-in
AbsoluteTiming command, and the CPU times are reported in scientific notation in the corresponding tables. Due to the explicit structure of the proposed scheme, the implementation remains straightforward with low memory requirements, and the overall computational cost scales linearly with the number of spatial grid points
M. The time step
was selected to satisfy the stability restriction derived in
Section 3. For the grid sizes considered in the numerical examples (
), the total CPU time for each simulation was of the order
or
s, demonstrating the practical efficiency of the method for moderate-scale problems.