1. Introduction
Nonlinear differential equations (DEs) are vital since they can represent complicated real-world phenomena in numerous fields of science and engineering branches. Complex systems can be better understood by studying nonlinear DEs, which, in contrast to linear ones, can display a wide range of behaviors. These behaviors include multistability, chaos, and bifurcations. Many models in different disciplines, such as electrodynamics, neuroscience, epidemiology, mechanical engineering, fluid dynamics, and economics, can be modeled using nonlinear DEs; see, for example, [
1,
2,
3]. Since most of these models lack exact solutions, numerical methods are crucial in treating these nonlinear DEs. For example, the authors of [
4] followed a numerical approach for treating the Black–Scholes model. The authors of [
5] used a collocation approach to solve the Fitzhugh–Nagumo nonlinear DEs in neuroscience. Another numerical approach was followed in [
6] to solve the nonlinear equations of Emden–Fowler models. Nonlinear thermal diffusion problems were handled in [
7]. In [
8], a numerical scheme for solving a stochastic nonlinear advection-diffusion dynamical model was handled. In [
9], the authors employed Petrov-Galerkin methods for treating some linear and nonlinear partial DEs. The authors of [
10] used a specific difference scheme for some nonlinear fractional DEs. The authors of [
11] a collocation procedure for treating the nonlinear fractional FitzHugh–Nagumo equation.
An important nonlinear partial differential equation that describes the motion of solitons (individual waves) in shallow water and other systems is the Korteweg–de Vries (KdV) equation. Over the years, the KdV equation has undergone several revisions to account for non-local interactions, dissipation effects, higher-order terms, and various physical phenomena. Many scientific fields have used these modifications; nonlinear optics, fluid dynamics, and plasma physics are just a few examples. The following are a few notable variations of the KdV equation and the several scientific domains that have used them: the standard KdV equations, the modified KdV equation, the generalized KdV equation, the KdV–Burgers equation, and the KdV–Kawahara equation. Furthermore, regarding some applications of some specific problems of the KdV-type equations, we mention three of these problems and their applications.
The Caudrey–Dodd–Gibbon problem. This problem has applications in shallow water waves, nonlinear optics, and plasma physics; see [
12].
The Sawada–Kotera problem has applications in hydrodynamics, elasticity, plasma physics, and soliton theory; see [
13].
The Kaup-Kuperschmidt problem has applications in fluid mechanics, biological wave propagation, plasma physics, and quantum field theory; see [
14].
Numerous contributions have focused on their handling due to the significance of the various KdV-type equations. For example, in [
15], analytical and numerical solutions for the fifth-order KdV equation were presented. In [
16], some hyperelliptic solutions of certain modified KdV equations were proposed. A numerical study for the stochastic KdV equation was presented in [
17]. To treat the generalized Kawahara equation, an operational matrix approach was proposed in [
18]. The authors of [
19] followed a finite difference approach to handle the fractional KdV equation. Two algorithms were presented in [
20] to treat the nonlinear time-fractional Lax’s KdV equation. Another numerical approach was given in [
21] for approximating the modified KdV equation. A computational approach was used to handle a higher-order KdV equation in [
22]. The time-fractional KdV equation was investigated numerically in [
23]. In [
24], the method of lines was proposed to solve the KdV equation. A Bernstein polynomial basis was employed in [
25] to treat the KdV-type equations.
Special functions are fundamental in the scientific, mathematical, and engineering fields. For examples of the usage of these polynomials in signal processing, quantum mechanics, and physics, one can consult [
26,
27]. These functions have the potential to solve several types of DEs. For example, the authors of [
28] numerically treated the fractional Rayleigh-Stokes problem using certain orthogonal combinations of Chebyshev polynomials. The shifted Fibonacci polynomials were utilized in [
29] to treat the fractional Burgers equation. In [
30], the authors used Vieta–Fibonacci polynomials to treat certain two-dimensional problems. Other two-dimensional FDEs were handled using Vieta Lucas polynomials in [
31]. The authors of [
32] used Changhee polynomials to treat a high-dimensional chaotic Lorenz system. In [
33], some FDEs were treated using shifted Chebyshev polynomials.
Horadam sequences, named after the mathematician Alwyn Horadam, who initially developed them in the 1960s, generalize several well-known polynomials, such as Fibonacci, Lucas, Pell, and Pell Lucas polynomials. Many authors investigated Horadam sequences of polynomials. For example, the authors in [
34] investigated some generalized Horadam polynomials and numbers. Some identities regarding Horadam sequences were developed in [
35]. Some subclasses of bi-univalent functions associated with the Horadam polynomials were given in [
36]. In [
37], some characterizations of periodic generalized Horadam sequences were introduced. An application to specific Horadam sequences in coding theory was presented in [
38].
Spectral methods are becoming essential in the applied sciences; see, for instance [
39,
40], for some of their applications in fields like engineering and fluid dynamics. These methods involve approximating differential and integral equation solutions by expansions of various special functions. The three spectral techniques most frequently employed are the collocation, tau, and Galerkin methods. The type of differential equation and the boundary conditions it governs determine which spectral method is suitable. The three spectral approaches use different trial and test functions. The Galerkin approach selects all basis function members to satisfy the underlying conditions imposed by a specific differential equation, treating the test and trial functions as equivalent. (For a few references, see [
41,
42,
43].) The tau method is easier than the Galerkin method in application since there are no restrictions on selecting the trial and test functions; see, for example, [
44,
45,
46]. The collocation method is the most popular spectral method because it works well with nonlinear DEs and can be used with all kinds of DEs, no matter what the underlying conditions are; see, for example, [
47,
48,
49,
50].
We comment here that the motivations for our work are as follows:
KdV-type equations are among the most important problems encountered in applied sciences, which motivates us to investigate them using a new approach.
Several spectral approaches were followed to solve KdV-type equations with various orthogonal polynomials as basis functions. The basis functions used in this article are a family of polynomials that are not orthogonal. This article will motivate us to apply these polynomials to other problems in the applied sciences.
To the best of our knowledge, the specific Horadam sequence of polynomials used in this paper was not previously used in numerical analysis, which provides a compelling reason to introduce and utilize them.
Furthermore, the work’s novelty is due to the following points:
We have developed novel simplified formulas for the new sequence of polynomials, including their high-order derivatives and operational matrices of derivatives.
This paper presents a new comprehensive study on the convergence analysis of the used Horadam expansion.
The main objectives of this paper can be listed in the following items:
- (a)
Introducing a class of shifted Horadam polynomials and developing new essential formulas concerned with them.
- (b)
Developing operational matrices of derivatives of the introduced shifted polynomials.
- (c)
Analyzing a collocation procedure for solving the nonlinear fifth-order KdV equations.
- (d)
Investigating the convergence analysis of the proposed Horadam expansion.
- (e)
Verifying our numerical algorithm by presenting some illustrative examples.
This paper is structured as follows:
Section 2 gives an overview of Horadam polynomials, their representation, and some particular polynomials of them.
Section 3 introduces certain shifted Horadam polynomials and develops some theoretical formulas that will be used to design our numerical algorithm.
Section 4 presents a collocation approach for treating the nonlinear fifth-order KdV-type equations.
Section 5 discusses the convergence and error analysis of the proposed expansion in more detail.
Section 6 presents some illustrative examples and comparisons. Finally, some discussions are given in
Section 7.
2. An Overview of Horadam Polynomials and Some Particular Polynomials
Horadam presented a set of generalized polynomials in his seminal work [
51]. These polynomials may be generated using the following recursive formula:
The polynomials
can be written in the following Binet’s form:
The above sequence of polynomials generalizes some well-known polynomials, such as Fibonacci, Pell, Lucas, and Pell–Lucas polynomials.
The standard Fibonacci polynomials can be generated with the following recursive formula:
The standard Fibonacci polynomials, which are special ones of Horadam polynomials, have several extensions. The generalized Fibonacci polynomials are one example of such a generalization; they are derived using the following recursive formula:
It is worth noting here that for every
k,
is of degree
k. These polynomials involve many celebrated sequences, such as Fibonacci, Pell, Fermat, and Chebyshev polynomials of the second kind. More precisely, we have the following expressions:
Recently, the authors of [
29] have developed some new formulas for the shifted Fibonacci polynomials, defined as
In addition; they used these polynomials to solve the fractional Burgers’ equation. This paper will introduce specific polynomials of the shifted generalized Fibonacci polynomials, defined as
Note that for every
,
is of degree
m.
The following formula is used to generate these polynomials:
The following section introduces fundamental formulas concerning the introduced polynomials .
4. A Collocation Approach for the Nonlinear Fifth-Order KdV-Type Partial DEs
Consider the following nonlinear fifth-order KdV-type partial differential equation [
53,
54]:
governed by the following initial and boundary conditions:
where
are arbitrary constants.
Now, consider the following space:
Consequently, it can be assumed that any function
can be represented as
where
is the vector defined in (
34), and
is the matrix of unknowns, whose order is
.
Now, we can write the residual
of Equation (
36) as
Thanks to Corollary 5 along with the expansion (
41), the following expressions for the terms
and
, can be obtained:
By virtue of the expressions (
43)–(
47), the residual
can be written in the following form:
Now, to obtain the expansion coefficients
, we apply the spectral collocation method by forcing the residual
to be zero at some collocation points
, as follows:
Moreover, the initial and boundary conditions (
37)–(
39) imply the following equations:
The
nonlinear system of equations formed by the equations in (
50)–(
55) and (
49) may be solved with the use of a numerical solver, such as Newton’s iterative technique, and thus the approximate solution given by (
41) can be found.