1. Introduction
Nowadays, nonlinear models play an important role in the fields of applied science and engineering such as fluid mechanics, ocean, water, marina, propagation of waves and so on. Many analytical and numerical methods used to obtain the solutions of these models have been applied by experts from all over the world. More recently, many important powerful methods have been presented to literature namely the analytical and numerical methods [1,2,3,4], the Darboux transformations [5], the TFM [6, 7], the sine-Gordon expansion method [8,9,10], the -expansion method [11], the (m+1/G) expansion method [12], the Lie group analysis [13], the Jacobi elliptic function method [14,15], the generalized new auxiliary equation method [16], the modified -expansion method [17], the generalized Kudryashov method [18], the auxiliary equation method [19], the generalized exponential rational function method [20], the newly extended direct algebraic technique [21], the generalized bilinear form [22], the Hirota bilinear form [23,24,25], the transformed rational function method [26], the polynomial expansion method [27], the modified simple equation approach [28], the auto-Bäcklund transformation [29], the generalized bilinear operator [30], the extended homoclinic test approach [31], the bilinear forms [32, 33], the extended tanh-function method [34] and so on [35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53].
In this work, by using SGEM and RSGEM, we focus on finding some new travelling wave solutions of the first equation of the KP hierarchy [54] given as
in which the variable x,y,t are independent variables while the function u = u(x,y,t) is a dependent variable. Wazwaz presented to the literature the multiple soliton solutions to literature [54]. Equation (1) is used to model the shallow water waves with weakly nonlinear restoring forces [55].The rest of this article is organized as follows. In section 2, we present some important properties of the SGEM and RSGEM. In section 3, we implement the proposed method to observe the logarithmic properties of the governing model. In section 4, a comprehensive conclusion is presented.
2. General properties of approaches
In this part of the paper, we present the general structures of SGEM and RSGEM as follows.
2.1. General properties of SGEM
Considering the sine-Gordon equation [8,9,10]
where u = u(x,t) and m is a real constant. Applying the wave transformation given as u = u(x,t)= U(ξ), ξ = μ (x − ct) to equation (2) where U = U(ξ) and ξ, is the dimension of the travelling wave and c is the velocity of the travelling wave. By applying some calculations, we reach where K is the integrate constant. Substituting and , then equation (4) is converted to the following equation Putting a = 1 into equation (5) gives Solving equation (6), we obtain the following two important properties as follows where p is the integral constant and nonzero. By considering these two properties, in general cases we can consider the following PDEs asWith the help of u = u(x,t)= U(ξ), ξ = μ (x − ct) into equation (9), we find the following ordinary differential equation
In this equation, we suppose the following trial solution equation defined by Taking equations (7) and (8) into equation (10), we rewrite it as follows We determine the value n via balance principle. Taking the coefficients of sini(ω)cosj(ω) to be all zero, yield a system of equations. Solving this system by software computing program, the values of Ai,Bi,c and μ may be obtained. Then, we can find the wanted solutions for the governing model.2.2. General properties of RSGEM
In this part, we take into account the nonlinear partial differential equation (NPDE) as following [56, 57]
Taking as Ψ = Ψ(x,t) = U(ξ), ξ = μ (x − ct), it is converted as Here . In equation (13), the trial equation for solution function may be considered as Equation (14) may be rewritten with the help of equations (7) and (8) as following in which the values of n,m will be determined later via balance principle. After putting the necessary derivations of equation (15) into equation (13), we obtain an equation of sini(ω)cosj(ω). Taking all these terms to zero yields a system of equations. Solving this system by using some computational programs, gives the values of Ai,Bi,ci,di,μ and c. Via these values of parameters Ai,Bi,ci,di,μ and c in equation (14), we obtain the new travelling wave solutions to equation (12).3. Applications of the schemes
In this part, we apply SGEM and RSGEM to obtain some new analytic solutions to the governing model as follows.
3.1. Application of SGEM
In this subsection, we apply the SGEM to extract some new wave solutions to the equation (1). As a first step for simplicity, we consider the transformation defined as
This transformation converts the equation (1) into the following form Considering the following wave transformation given as we find the following nonlinear differential equation Integrating equation (19) with respect to ξ and getting to the zero of integral constant, we get For simplicity, we take follows which produces With the balance in equation (22), we have This produces the following solution form For the second derivation of equation (24), is obtained where either A2 or B2 may be zero, however, both A2 and B2 cannot be zero, simultaneously. By substituting equations (24) and (25) into equation (22), we extract the following results.Case-1
After selecting as , A1 = 0, , B1 = 0, , , we obtain the dark optical solitary solutions to the equation (17) as
which is k ≠ 0,l ≠ 0 as strain conditions for validity of equation (26).
Fig. 1
3D graphs of imaginary and real part of equation (26)

Fig. 2
Contour graphs of imaginary and real part of equation (26)

Fig. 3
2D graphs of imaginary and real part of equation (26)
Case-2
When , A1 = 0, , B1 = 0, , , we obtain the following hyperbolic function solution to the equation (17) as
which is k ≠ 0,l ≠ 0,k4 ≠ l2 as strain conditions for validity of equation (27).
Fig. 4
3D graphs of imaginary and real part of equation (27)

Fig. 5
Contour graphs of imaginary and real part of equation (27)

Fig. 6
2D graphs of imaginary and real part of equation (27)
Case-3
When A0 = 1, A1 = 0, A2 = −1, B1 = 0, B2 = 0, , we thus obtain the logarithmic solution to the equation (17) given as
in where is k ≠ 0,l ≠ 0 and real constants.
Fig. 7
The 3D and contour surfaces of equation (28)
Case-4
If we select as , A1 = 0, A2 = −1, B1 = 0, B2 = 0, we obtain the dark soliton solutions of equation (17) as following
where k ≠ 0,c ≠ 0,27c2 ≠ 64k8 as strain conditions for validity of equation (29).
Fig. 8
The 3D and contour surfaces of equation (29)
Case-5
When we choose other coefficients as , A1 = 0, , B1 = 0, , , we acquire the mixed dark-bright logarithmic function solution to the equation (17) as
which is k ≠ 0,l ≠ 0,k4 ≠ l2 as strain conditions for validity of equation (30).
Fig. 9
3D graphs of imaginary and real part of equation (30)

Fig. 10
Contour graphs of imaginary and real part of equation (30)
3.2. Application of RSGEM
In this subsection of the paper, especially, we take as n = m. Via the balance rule in equation (22) gives n = m = 2. Getting n = m = 2 in equation (14), we write the test function of solution as
When we consider equations (7) and (8), we rewrite equation (31) as following Substituting equation (32) and its second derivative into equation (22), we obtain an equation of sini(w)cosi(w). Getting all coefficients of these terms to zero, we gain a system of equations. Solving this system produces the values of parameters Ai,Bi,c1,d1,k,l and c which results in many entirely new travelling wave solutions to the equation (17).Case-1
When B2 = d2 = 0,k = 1,l = 2,A0 = −c2, , A2 = ic2,B0 = −2c2,B1 = −id1,c1 = 0,c = −5 into equation (31), it yields the following entirely new complex function solution to the governing model as
Selecting suitable values in equation (33), we can observe the simulations of equation (33) via Figures (11,12,13) as follows.Remark-1
Equation (33) contains algebraic independent variables under the natural logarithmic function. This is also used to symbolise the physical meanings of the the first equation of the nonlinear Kadomtsev-Petviashvili hierarchy. In the solution of (33), it may be seen that it contains a specific critical symmetry point. This is one of the new properties of the first equation of the nonlinear Kadomtsev-Petviashvili hierarchy.

Fig. 11
The 3D surfaces of equation (33)

Fig. 12
The contour surface of equation (33)

Fig. 13
The 2D surface of equation (33)
Case-2
If B2 = d2 = 0,k = 1,l = 2, , ,A2 = −ic2,B0 = −2c2,B1 = id1, ,c = −3 into equation (31), it yields the following new complex solution to the governing model as
Various simulations of equation (34) may be seen via Figures (14,15,16) as follows.
Fig. 14
The 3D surfaces of equation (34)

Fig. 15
The contour surface of equation (34)

Fig. 16
The 2D surface of equation (34)
4. Conclusion
In this paper, we have successfully applied SGEM and RSGEM to the first equation of the KP hierarchy. Many new complex, logarithmic and hyperbolic function solutions have been obtained by considering different values of coefficients of solutions by proposed schemes. Parametric conditions for validity of solutions have also been reported. Finally, we have plotted the surfaces of various solutions in 2D, 3D and contour sides by Figures (1–16) with the help of some powerful computation programs. The proposed schemes supply many new coefficients which produce new properties of the model when we compare these results with existing papers. It is observed that the recently developed scheme RSGEM produces more complicated solutions to the governing model. So, it is estimated that the solutions obtained in this paper may be helpful to better understand the deeper properties of the first equation of the KP hierarchy. Moreover, these methods are also applied to the other nonlinear models in the fields of real world problems in wave distributions.
5. Declarations
5.1. Conflict of interest
According to the authors of this paper, there are no conflicts of interest to report regarding the article that is being presented.
5.2. Author’s contributions
S.S-Conceptualization, Methodology, Supervision. A.K.-Formal analysis, Writing-Review and Editing. R.K.S.-Resources, Writing-Original Draft, Methodology, Validation. All authors read and approved the final submitted version of this manuscript.
5.3. Funding
This research did not receive any specific grant from funding agencies in the public, commercial, or not-for profit sectors.
5.4. Acknowledgement
The authors deeply appreciate the anonymous reviewers for their helpful and constructive suggestions, which can help further improve this paper.
5.5. Data availability statement
All data that support the findings of this study are included within the article.
5.6. Using of AI tools
The authors declare that they have not used Artificial Intelligence (AI) tools in the creation of this article.