Introduction

The nonlinear evolution equations (NLEEs) provide accurate descriptions and simulations for nonlinear processes that appear in domains including engineering, physics, computational mathematics, chemistry, and biological sciences1,2,3,4. In the field of nonlinear sciences, nonlinearity plays a vital role in the dynamics of waves. A concentrated research effort has been underway in recent years to solve analytical problems for NLEEs, specifically single-wave solutions. Researchers have created a number of methods, including computer algorithms and analytical and numerical methodologies, to effectively answer NLEEs and offer insights into complex processes. Numerous techniques, including the Hirota bilinear method5, the modified generalized Riccati equation mapping approach6, the IME tanh-function method7,8,9, the modified extended direct algebraic method10,11,12, the Lie symmetry analysis approach13, the extended F- expansion method14, Khater’s algorithm15, Hirota’s method16, the \(\left( \frac{G'}{G},\frac{1}{G}\right) -\)expansion method17, and numerous more, have been developed for analyzing this data (see18,19).

Solitons, which are stable, nondispersive wave phenomena that maintain their structure and speed during propagation, are sometimes referred to as solitary wave solutions20,21. These solutions are unique in that they can maintain their original shape even in the face of specific alterations. They may be found in a wide range of physical systems, such as nonlinear optics22 and water waves23. Solitons are particularly significant for understanding and modeling wave behavior since they often do not exhibit singularities24.

The Schrödinger equation was developed by Erwin Schrödinger in 1925 and formally published in 192625. This equation served as the foundation for his further scientific endeavors. Among the extraordinary nonlinear situations that arise from mathematical modeling, the non-linear Schrödinger equation (NLSE) has a prominent place. Differential equations with deterministic models were widely used in the physical sciences to explore natural processes up to the 1950s. It is apparent, however, that the phenomena of the modern world are not deterministic. However, the evolution of nonlinear dispersive waves is significantly influenced by random fluctuations in the NLSE. They can cause departures from the deterministic predictions of the equation because they are caused by noise or errors in the original circumstances or by outside causes. Recent developments in soliton solutions and techniques relevant to stochastic optical communication systems are not covered in the current literature survey. A more thorough context would be provided by including research like Secer et al.’s study on stochastic pure-cubic optical solitons26, Kamel et al.’s analysis of soliton solutions in nonlinear optical media27, and Alkhidhr’s investigation of stochastic solutions for nonlinear Schrödinger equations in optical fiber communications28. Furthermore, the study by Alzahrani et al. on soliton solutions of the stochastic perturbed Schrödinger-Hirota equation29 and recent work in30 on stochastic optical solutions for the (2+1)-dimensional NLSE provide important insights into contemporary approaches. Wavelet-based techniques have shown promise in capturing the dynamics of complex systems with higher-order dispersion and nonlocal interactions. To illustrate its resilience to such complexity, Zhang et al. (2017) created a high-order wavelet integral collocation approach for nonlinear boundary value problems31. Similarly, Gunzburger et al. (2014) highlighted the accuracy and versatility of an adaptive wavelet stochastic collocation approach designed for irregular solutions of stochastic partial differential equations32. These works would highlight the originality of the suggested solutions in the context of stochastic nonlinear Schrödinger equations and offer a more thorough knowledge of wavelet-based techniques if they were included in the literature review31,33,34.

Existing research has looked extensively at deterministic wave equations and their solutions, such as solitons, periodic waves, and localized structures in nonlinear systems. However, most research focuses on idealized systems and ignores the influence of noise. Researchers have investigated how random perturbations impact wave dynamics using stochastic partial differential equations (SPDEs), but extensive analytical and numerical investigations on the equation in this study are lacking. Theoretical and practical benefits of studying these fluctuations include improved prediction and control of wave dynamics in real-world applications, as well as a deeper knowledge of wave statistical behavior in complex systems. Numerous methods have been developed to examine and predict these fluctuations, including numerical simulations and stochastic analysis, which offer important insights into how these fluctuations affect wave propagation35,36. While previous research has focused on deterministic solutions, the impact of stochastic noise on wave propagation for the nonlinear system under consideration in this study is not well known. There is a paucity of systematic research into how varied noise levels affect wave stability, form, and evolution. Furthermore, present numerical models do not give enough information on the transition from deterministic to stochastic wave behaviors under different noise levels.

Motivation and novelty of this study

The need to account for random effects in the analysis, prediction, modeling, and simulation of physical systems is now widely accepted. Random variations throughout time are incorporated into stochastic models37. Thermal fluctuations and spontaneous emissions may be simulated using stochastic NLSE. Many authors examined the existence and uniqueness of stochastic nonlinear stochastic exponential smoothing with additive or multiplicative noise. Stochastic NLSE is also analyzed by numerical methods38,39. SPDEs are expansions of classical partial differential equations that include randomness, generally via stochastic processes such as Wiener noise, to characterize uncertain systems. They are commonly used in physics, finance, and engineering to describe phenomena such as turbulent fluid flow, quantum field fluctuations, and financial market dynamics40,41. To close the gap in the literature, this work incorporates a stochastic factor into the governing wave equation and thoroughly investigates its implications. The paper investigates how varying noise levels affect wave stability, localization, and energy distribution using both analytical and numerical modeling approaches. The process entails solving the SPDE under various noise settings and displaying the results with 3D and 2D charts to identify significant patterns and trends.

Stochastic generalized NLSE description

This research represents a novel search for the exact solutions for the stochastic generalized NLSE. According to42, an overall NLSE affects how light waves propagate by including both fourth-order dispersion effects and Kerr nonlinearity which can be read as:

$$\begin{aligned} \displaystyle i \mathcal {R}_t+\frac{1}{24}\eta _1 \mathcal {R}_{xxxx}+\eta _2 \left| \mathcal {R}\right| ^2 \mathcal {R}=0, \qquad i=\sqrt{-1}. \end{aligned}$$
(1)

As explained in42, the model indicated above has to be improved by adding a new element to take into consideration the impact of weak nonlocality.

$$\begin{aligned} \displaystyle i \mathcal {R}_t+\frac{1}{24}\eta _1 \mathcal {R}_{xxxx}+\eta _2 \left| \mathcal {R}\right| ^2 \mathcal {R}+\eta _3 \mathcal {R} \left( \left| \mathcal {R}\right| ^2\right) _{xx}=0, \end{aligned}$$
(2)

and adding the noise effect, Eq. (2) becomes:

$$\begin{aligned} \displaystyle i \mathcal {R}_t+\frac{1}{24}\eta _1 \mathcal {R}_{xxxx}+\eta _2 \left| \mathcal {R}\right| ^2 \mathcal {R}+\eta _3 \mathcal {R} \left( \left| \mathcal {R}\right| ^2\right) _{xx}+\varrho \mathcal {R} \frac{ dW}{dt}=0, \end{aligned}$$
(3)

where the time and spatial dimensions are represented, respectively, by the variables t and x in this configuration. \(\mathcal {R}(x,t)\) is used to represent the complicated amplitude of the electric field. The 4th-order dispersion is described by the coefficient \(\eta _1\), while the cubic non-linearity coefficient is shown by \(\eta _2\). The consideration of nonlocal effects becomes more crucial when addressing the propagation of tiny wavelengths in various optical transmission sub-materials. In this case, the Kerr nonlinearity is encapsulated by the phrase \(\left| \mathcal {R}\right| ^2 \mathcal {R}\), whereas the influence of 4th-order dispersion is described by the term \(\mathcal {R}_{xxxx}\). Additionally, the presence of weak nonlinearity is indicated by the phrase \(\mathcal {R} \left( \left| \mathcal {R}\right| ^2\right) _{xx}\). In recent times, the aforementioned model has been used to study the localization of optical pulses within guided wave structures, especially when a quasiperiodic linear component is present43. Where W(t) denotes the Wiener process function and \(\frac{ dW}{dt}\) denotes the white noise but \(\varrho\) denotes the white noise intensity. The Wiener process function has the following properties44,45:

  1. i.

    For \(t \ge 0,\ W(t)\) has continuous trajectories.

  2. ii.

    For \(s < t,\ W(t)-W(s)\) has independent increments.

  3. iii.

    \(W(t)-W(s)\) has a normal distribution with variance\(\ = t-s\) and mean\(\ = 0\).

Adding noise to Eq. (2) results in a SPDE with a Wiener process (dW). This adjustment adjusts for random variations in physical systems caused by external disturbances, measurement noise, or inherent system variability. The inclusion of the parameter \(\varrho \mathcal {R}\ dW/dt\) improves the equation’s ability to predict real-world occurrences when perfect deterministic behavior is insufficient. This method is critical for studying the stability and resilience of wave propagation, soliton dynamics, and other nonlinear systems in the presence of randomness. In addition, the updated Eq. () has a wide range of practical applications, including optical fiber communications, where noise represents the effect of amplified spontaneous emission (ASE) on signal integrity. In Bose-Einstein condensates, it represents quantum fluctuations that impact particle interactions. Similarly, in fluid and plasma physics, stochastic concepts assist in understanding wave turbulence and instabilities. By adding noise, researchers may investigate how randomness impacts system evolution, forecast long-term behavior, and devise ways for reducing noise-induced distortions in practical applications.

Thus, the search for soliton solutions in the aforementioned models serves as our primary source of inspiration. We want to do this by utilizing the improved modified extended (IME) tanh function approach, a freshly developed and trustworthy technology. The approach has the potential to resolve unresolved issues from earlier research7,8,46. Finding analytical solutions for a particular generalized nonlinear Schrödinger problem is the primary goal of the improved modified extended tanh-function approach. Simplifying the equation while maintaining its essential features is its main goal. The process of standardization facilitates the identification of precise solutions, providing important information about the behavior of the system that the nonlinear partial differential equation (NLPDE) describes36,47. For the purpose of regulating atmospheric gravity waves, preserving wave stability, and avoiding dispersion, the found solitons are vital to atmospheric study. Understanding the patterns of global air circulation and how they impact weather events requires the preservation of long-range coherent wave structures8.

The success of the suggested approach in solving particular problems and their capacity to yield precise answers define how successful they are compared to existing methods; computing efficiency, generality, and ease of implementation are all significant considerations in this assessment.

The outline of the paper goes like this: The soliton theory and NLSEs history are introduced in general and given a theoretical foundation in “Introduction” section; the suggested model to be studied and its practical applications are briefly described in “Stochastic generalized NLSE description” section; and the main characteristics of the IME tanh function approach are presented in “The IME tanh function approach” section. In “Novel stochastic soliton solutions extraction” section, we will do a thorough symbolic computation using Wolfram Mathematica®, beginning with the non-linear equation itself, to arrive at a few families of exact stochastic solutions. One should establish some constraint conditions in order to prove the existence of some approved solutions. Understanding the physical importance of this non-linear system can be aided by the obtained data. Various of the retrieved solutions are illustrated using 2D, 3D, and contour representations in “Graphical and physical interpretation for the influence of noise onthe extracted solutions” section. A few findings are presented at the end of “Conclusions” section.

The IME tanh function approach

In this section, we present the salient features of the IME tanh function approach, which will be used in this manuscript as well as a comparative analysis with alternative approaches.

Mathematical procedures of the IME tanh function approach

By beginning to think about the subsequent NLPDE9,48:

$$\begin{aligned} \mathcal {K} \left( \Psi , \Psi _t, \Psi _x, \Psi _{xx}, \Psi _{xxx}, \Psi _{tt},\ldots \right) = 0, \end{aligned}$$
(4)

here \(\mathcal {K}\) denotes a polynomial of its argument \(\Psi (x,t)\) in addition to their corresponding partial differentiation.

Algorithm (1): The upcoming transformation shall be applied to convert the NLPDE in Eq. (4) to a non-linear ordinary differential equation (NLODE):

$$\begin{aligned} \Psi (x,t)=\mathcal {Z}(\zeta ), \qquad \zeta =\alpha x-\nu t, \end{aligned}$$
(5)

where \(\mathcal {Z}\) represents the solution, while \(\alpha\) and \(\nu\) are unknown constants which shall be evaluated later on in the work’s procedures. Next, we insert Eq. (5) into Eq. (4). Thus, we are able to construct the required NLODE as described below:

$$\begin{aligned} \mathcal {L} (\mathcal {Z},\ \mathcal {Z}^\prime ,\ \mathcal {Z}^{\prime \prime },\ \mathcal {Z}^{\prime \prime \prime },\ \ldots ) = 0. \end{aligned}$$
(6)

Algorithm (2): The scheme defines the solution’s form of Eq. (6) to be:

$$\begin{aligned} \mathcal {Z}(\zeta )=\sum _{i=0}^{\mathbb {N}} \mathfrak {A}_i \mathcal {G}^i(\zeta ) + \sum _{i=1}^{\mathbb {N}} \mathfrak {B}_i \mathcal {G}^{-i}(\zeta ), \end{aligned}$$
(7)

where \(\mathfrak {A}_i\) and \(\mathfrak {B}_i~ (i= 1, 2,...,{\mathbb {N}})\) represent some constant parameters of the solution equation which will be calculated, supplying the requirement that \(\mathfrak {A}_{\mathbb {N}}\) and \(\mathfrak {B}_{\mathbb {N}}\) cannot both be zero at the same time.

Algorithm (3): The homogeneous balancing principle (HBP) is implemented in Eq. (6) to estimate the positive integer \(\mathbb {N}\). In addition the function \(\mathcal {G}(\zeta )\) fulfils the subsequent requirement:

$$\begin{aligned} \left( \dfrac{d\mathcal {G}}{d\zeta }\right) ^2=\tau _0+\tau _1 \mathcal {G}(\zeta )+\tau _2 \mathcal {G}^2(\zeta )+\tau _3 \mathcal {G}^3(\zeta )+\tau _4 \mathcal {G}^4(\zeta ), \end{aligned}$$
(8)

while \(\tau _l~ ( l=0,1,2,3,4)\) are real-valued constants which will help us in finding possible cases of solutions.

The parameters in the supplied differential equation in (8) are determined based on the wave system’s physical properties, ensuring that the generated solutions match the intended wave patterns. \(\tau _0,\tau _1,\tau _2,\tau _3,\) and \(\tau _4\) determine the kind of wave solution (e.g., solitary waves, periodic waves, or localized structures). Their selection is often influenced by system restrictions, dispersion relations, and stability parameters, which help decide whether the wave retains its shape over time or evolves into a different shape.

Eq. (8) has the following general solutions with different possible values of \(\tau _0,\tau _1,\tau _2,\tau _3\) and \(\tau _4\):

Family 1: When \(\tau _0=~\tau _1=~\tau _3=0\), the following solutions are raised:

$$\begin{aligned} \mathcal {G}(\zeta )=\sqrt{-\frac{\tau _2}{\tau _4}} \text {sech}\left[ \zeta \sqrt{\tau _2}\right] ,~~~~~~~~~~~~~~~~~~~~~~~\quad \tau _2>0,~ \tau _4<0, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=\sqrt{-\frac{\tau _2}{\tau _4}} \sec \left[ \zeta \sqrt{-\tau _2} \right] ,~~~~~~~~~~~~~~~~~~~~~~~~ ~~~\quad \tau _2<0,~ \tau _4>0. \end{aligned}$$

These solutions are localized and describe soliton-like structures. The sech function corresponds to bright solitons, while the sec function represents singular periodic structures. Family 2: When \(\tau _1=\tau _3=0\), the following solutions are raised:

$$\begin{aligned} \mathcal {G}(\zeta )=\sqrt{-\frac{\mu ^2\tau _2 }{\left( 2 \mu ^2-1\right) \tau _4 }}~\text {cn}\left[ \zeta \sqrt{\frac{\tau _2}{2 \mu ^2-1}}~\right] , \tau _2>0,~ \tau _4<0,~\tau _0=\frac{ \mu ^2 \left( 1-\mu ^2\right) \tau _2^2}{4 \left( 2 \mu ^2-1\right) ^2 \tau _4}, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=\sqrt{-\frac{\mu ^2}{ \left( 2-\mu ^2\right) \tau _4}}~\text {dn}\left[ \zeta \sqrt{\frac{\tau _2}{2- \mu ^2}}~\right] ,~~\quad \tau _2>0, ~\tau _4<0,~\tau _0=\frac{ \left( 1-\mu ^2\right) \tau _2^2}{ \left( 2-\mu ^2\right) ^2\tau _4}, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=\sqrt{-\frac{\mu ^2\tau _2 }{ \left( \mu ^2+1\right) \tau _4}}~\text {sn}\left[ \zeta \sqrt{\frac{-\tau _2}{\mu ^2+1}}~\right] ,~~\quad \tau _2<0,~ \tau _4>0,~\tau _0=\frac{\mu ^2\tau _2^2 }{ \left( \mu ^2+1\right) ^2\tau _4}. \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=\epsilon \sqrt{-\dfrac{\tau _2}{2\tau _4}}\text {tanh}\left( \sqrt{-\dfrac{\tau _2}{2}}\ \zeta \right) ,~~~~~~~~~~~~~~~~~~~~~~\quad \quad \tau _2<0,\tau _4>0,\tau _0=\dfrac{\tau _2^2}{4\tau _4}, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=\epsilon \sqrt{\dfrac{\tau _2}{2\tau _4}}\tan \left( \sqrt{\dfrac{\tau _2}{2}}\ \zeta \right) ,~~~~~~~~~~~~~~~~~~~~~~\quad \quad \quad \quad \tau _2>0,\tau _4>0,\tau _0=\dfrac{\tau _2^2}{4\tau _4}, \end{aligned}$$

where \(\mu\) is the modulus of the Jacobi elliptic functions, \(0 \le \mu \le 1\) and \(\epsilon =\pm 1\). These solutions describe periodic and quasi-periodic wave structures, in addition to the dark solitons.

Family 3: When \(\tau _0=\tau _1 = \tau _4 = 0\) the following solution is raised:

$$\mathcal {G}(\zeta )=-\dfrac{\tau _2}{\tau _3}{{\,\textrm{sech}\,}}^2\left( \dfrac{\sqrt{\tau _2}}{2} \ \zeta \right) ,\quad \quad \tau _2>0,$$
$$\mathcal {G}(\zeta )=-\dfrac{\tau _2}{\tau _3}\sec ^2\left( \dfrac{\sqrt{-\tau _2}}{2}\ \zeta \right) ,\quad \quad \tau _2<0.$$

These solutions represent double-hyperbolic solitons or bistable states, often found in nonlinear wave equations with external forcing.

Family 4: When \(\tau _3=~\tau _4=0\), the following solution is raised:

$$\begin{aligned} \mathcal {G}(\zeta )=-\dfrac{\tau _1}{2\tau _2}+\exp \left( \epsilon \sqrt{\tau _2}\ \zeta \right) ,\quad \quad \tau _2>0,\tau _0=\dfrac{\tau _1^2}{4\tau _2}, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=-\dfrac{\tau _1}{2\tau _2}+\dfrac{\epsilon \tau _1}{2\tau _2}\sin \left( \sqrt{-\tau _2}\ \zeta \right) ,\quad \quad \tau _0=0,\tau _2<0, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=-\dfrac{\tau _1}{2\tau _2}+\dfrac{\epsilon \tau _1}{2\tau _2}\sinh \left( 2\sqrt{\tau _2}\ \zeta \right) ,\quad \quad \tau _0=0,\tau _2>0, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=\epsilon \sqrt{-\dfrac{\tau _0}{\tau _2}}\sin \left( \sqrt{-\tau _2}\ \zeta \right) ,\quad \quad \tau _1=0,\tau _0>0,\tau _2<0, \end{aligned}$$
$$\begin{aligned} \mathcal {G}(\zeta )=\epsilon \sqrt{\dfrac{\tau _0}{\tau _2}}\sinh \left( \sqrt{\tau _2}\ \zeta \right) , \quad \quad \tau _1=0,\tau _0>0,\tau _2>0. \end{aligned}$$

These solutions describe exponentially growing and oscillatory modes.

By extending these solutions to stochastic optical models, we gain valuable insights into noise-driven instabilities, soliton interactions, and optical signal processing in nonlinear optical media. Algorithm (4): We can raise a polynomial in \(\mathcal {G}(\zeta )\) by inserting a solution that appears to be stated in Eq. (7) and Eq. (8) into Eq. (6). The process of equalizing the coefficients of \(\mathcal {G}^i(\zeta )\), (\(i=0,\pm 1,\pm 2,...\)), to zero produces a family of non-linear algebraic equations (NLAEs) that may be tackled and solved using Wolfram Mathematica®. Consequently, there are several precise solutions for the traveling wave in Eq. (4) that we may acquire.

A comparative analysis with alternative approaches

In comparison to Hirota’s technique49 and the variational iteration method (VIM)50, the IME tanh-function approach has significant benefits in terms of accuracy, computing efficiency, and wider applicability. The IME tanh-function technique offers a more straightforward and methodical means of obtaining accurate answers with less algebraic complexity than Hirota’s method, which mostly depends on bilinear transformations and necessitates costly symbolic calculations. Similarly, VIM is computationally costly and frequently requires numerous correction functionals and convergence monitoring, even though it iteratively improves approximations and might be useful for nonlinear situations. On the other hand, the IME tanh-function method improves efficiency by achieving faster convergence with fewer repetitions. Furthermore, numerical comparisons show that it retains excellent accuracy, as evidenced by a more stable solution structure and smaller residual errors. Additionally, its versatility encompasses a wider range of nonlinear partial differential equations, such as integrable and non-integrable systems, where conventional approaches could encounter difficulties with singularities or divergence. As a strong substitute for current techniques, the IME tanh-function approach offers a balance between accuracy, efficiency, and broad application.

Novel stochastic soliton solutions extraction

This section makes use of the IME tanh function approach to build every potential solution for Eq. (3). For this aim, we suppose the following wave transformation:

$$\begin{aligned} \mathcal {R}=\mathcal {H}(\zeta )\ e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t \right) }, \qquad \zeta =\alpha x-\nu t, \end{aligned}$$
(9)

where \(\mathcal {H}(\zeta )\) is the amplitude of the complex-enveloped solution, \(\beta\) denotes the wave number, \(\omega\) is the frequency shift, while \(\varrho\) represents the intensity of the white noise W(t).

Using the aforementioned transformation in Eq. (9) and its corresponding derivatives into Eq. (3) and by separating the real and imaginary components, one can find the real part as:

$$\begin{aligned} \displaystyle \alpha ^4 \eta _1 \mathcal {H}^{(4)}+24 \eta _2 \mathcal {H}^3-6 \alpha ^2 \beta ^2 \eta _1 \mathcal {H}''+48 \alpha ^2 \eta _3 \mathcal {H} \left( \mathcal {H} \mathcal {H}''+\left( \mathcal {H}'\right) ^2\right) + \left( \beta ^4 \eta _1+24 \omega +24 \varrho ^2\right) \mathcal {H}=0, \end{aligned}$$
(10)

and the imaginary part as

$$\begin{aligned} \displaystyle \alpha ^3 \beta \eta _1 \mathcal {H}^{(3)}- \left( \alpha \beta ^3 \eta _1+6 \nu \right) \mathcal {H}'=0. \end{aligned}$$
(11)

By integrating Eq. (11) with respect to \(\zeta\) with considering the integration constant to be zero, then plugging what we obtained into Eq. (10), one can find the following ODE:

$$\begin{aligned} \displaystyle \nonumber \alpha ^7 \beta \eta _1^2 \mathcal {H}^{(4)}+\alpha ^2 \mathcal {H}^3 \left( 48 \alpha \beta ^3 \eta _1 \eta _3+24 \alpha \beta \eta _1 \eta _2+288 \eta _3 \nu \right) +48 \alpha ^5 \beta \eta _1 \eta _3 \mathcal {H} \left( \mathcal {H}'\right) ^2 & \\ +\alpha ^2 \left( -5 \alpha \beta ^5 \eta _1^2+24 \alpha \beta \eta _1 \omega +24 \alpha \beta \eta _1 \varrho ^2-36 \beta ^2 \eta _1 \nu \right) \mathcal {H}=0. \end{aligned}$$
(12)

Thus, by applying the HBP presented in Section 3 between \(\mathcal {H}^{(4)}\) and \(\mathcal {H} \left( \mathcal {H}'\right) ^2\), one can find that \(\mathbb {N}=1\). After that, one can build up the form of the exact solution for Eq. (3) as read below:

$$\begin{aligned} \displaystyle \mathcal {H}=\mathfrak {A}_0+\mathfrak {A}_1 \mathcal {G}(\zeta )+\frac{\mathfrak {B}_1}{\mathcal {G}(\zeta )}. \end{aligned}$$
(13)

Eq. (12) yields a polynomial in \(\mathcal {G}(\zeta )\) when the restriction in Eq. (8) is substituted with the solution form in Eq. (13). We have a system of NLAEs when we set the sum of all terms with the same powers to zero. We can solve these equations using Wolfram Mathematica® to create the following situations. The requirement is provided that neither \(\mathfrak {A}_1\) nor \(\mathfrak {B}_1\) be zero simultaneously.

Family (1) : If \(\tau _0=\tau _1 =\tau _3 = 0\), then

Set (1.1) : \(\displaystyle \mathfrak {A}_0= \mathfrak {A}_1= 0,\tau _2= -\frac{2 \alpha \beta ^2+\frac{\alpha \eta _2}{\eta _3}+\frac{12 \nu }{\beta \eta _1}}{2 \alpha ^3},\)

\(\displaystyle \mathfrak {B}_1= \pm \frac{\sqrt{\alpha ^2 \beta ^2 \eta _1^2 \left( 16 \beta ^4 \eta _3^2-4 \beta ^2 \eta _2 \eta _3-\eta _2^2\right) -24 \alpha \beta \eta _3 \eta _1 \left( 4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu \right) -144 \eta _3^2 \nu ^2}}{8 \alpha ^2 \beta \sqrt{3 \eta _1 \eta _3^3 \tau _4}}.\)

Set (1.2) : \(\displaystyle \mathfrak {A}_0=\mathfrak {B}_1= 0,\ \mathfrak {A}_1= \pm \sqrt{\frac{3 \tau _4 \left( \vartheta +\alpha \beta \eta _3 \left( \beta \eta _3 \left( 2 \alpha \left( \omega +\varrho ^2\right) +33 \beta \nu \right) +18 \eta _2 \nu \right) \right) }{\eta _3 \left( 31 \beta ^6 \eta _3^2+36 \beta ^4 \eta _2 \eta _3+9 \beta ^2 \eta _2^2\right) }},\ \)

\(\displaystyle \eta _1= -\frac{216 \eta _3^2 \nu ^2}{\alpha \beta \eta _3 \left( \beta \eta _3 \left( 2 \alpha \left( \omega +\varrho ^2\right) +33 \beta \nu \right) +18 \eta _2 \nu \right) -\vartheta },\ \tau _2= \frac{\alpha \beta ^2 \eta _3^2 \left( 2 \alpha \left( \omega +\varrho ^2\right) -3 \beta \nu \right) -\vartheta }{6 \alpha ^3 \beta \eta _3^2 \nu },\)

where \(\vartheta =\sqrt{\alpha ^2 \beta ^3 \eta _3^3 \left( \beta \eta _3 \left( 4 \alpha ^2 \left( \omega +\varrho ^2\right) ^2+132 \alpha \beta \nu \left( \omega +\varrho ^2\right) -27 \beta ^2 \nu ^2\right) +36 \eta _2 \nu \left( 2 \alpha \left( \omega +\varrho ^2\right) -3 \beta \nu \right) \right) }\).

By considering solution set (1.1), the exact solutions can be obtained as follows:

(1.1,1)If \(\tau _2 >0,\ \tau _4<0\), so:

$$\begin{aligned} \begin{array}{c} {\begin{matrix} & \mathcal {R}_{1.1,1}(x,t)=\left( \pm \frac{\sqrt{\frac{1}{3} \alpha ^2 \beta ^2 \eta _1^2 \left( 16 \beta ^4 \eta _3^2-4 \beta ^2 \eta _2 \eta _3-\eta _2^2\right) -8 \alpha \beta \eta _3 \eta _1 \left( 4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu \right) -48 \eta _3^2 \nu ^2}}{8 \alpha ^2 \beta \sqrt{-\eta _1 \eta _3^3 \tau _2}} \cosh \left[ (\alpha x-\nu t)\sqrt{\tau _2}\right] \right) \\ & \times e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{matrix}} \end{array}\end{aligned}$$
(14)

which represents a hyperbolic solution such that

\(\eta _1 \eta _3^3 (\frac{1}{3} \alpha ^2 \beta ^2 \eta _1^2 \left( 16 \beta ^4 \eta _3^2-4 \beta ^2 \eta _2 \eta _3-\eta _2^2\right) -8 \alpha \beta \eta _3 \eta _1 \left( 4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu \right) -48 \eta _3^2 \nu ^2)<0.\)

(1.1,2) If \(\tau _2 <0,\ \tau _4>0\), so:

$$\begin{aligned} \begin{array}{c} {\begin{matrix} & \mathcal {R}_{1.1,1}(x,t)=\left( \pm \frac{\sqrt{\frac{1}{3} \alpha ^2 \beta ^2 \eta _1^2 \left( 16 \beta ^4 \eta _3^2-4 \beta ^2 \eta _2 \eta _3-\eta _2^2\right) -8 \alpha \beta \eta _3 \eta _1 \left( 4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu \right) -48 \eta _3^2 \nu ^2}}{8 \alpha ^2 \beta \sqrt{-\eta _1 \eta _3^3 \tau _2}} \cos \left[ (\alpha x-\nu t)\sqrt{-\tau _2}\right] \right) \\ & \times e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{matrix}} \end{array}\end{aligned}$$
(15)

which represents a periodic solution such that

\(\eta _1 \eta _3^3 (\frac{1}{3} \alpha ^2 \beta ^2 \eta _1^2 \left( 16 \beta ^4 \eta _3^2-4 \beta ^2 \eta _2 \eta _3-\eta _2^2\right) -8 \alpha \beta \eta _3 \eta _1 \left( 4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu \right) -48 \eta _3^2 \nu ^2)>0.\)

When we consider the solutions set (1.2), we are able to establish the following exact solutions for Eq. (3):

(1.2,1) If \(\tau _2 >0\) and\(\ \tau _4<0\), then:

$$\begin{aligned} \begin{array}{c} {\begin{matrix}&\mathcal {R}_{1.2,1}(x,t)=\left( \pm \sqrt{-\frac{3 \tau _2 \left( \vartheta +\alpha \beta \eta _3 \left( \beta \eta _3 \left( 2 \alpha \left( \omega +\varrho ^2\right) +33 \beta \nu \right) +18 \eta _2 \nu \right) \right) }{\eta _3 \left( 31 \beta ^6 \eta _3^2+36 \beta ^4 \eta _2 \eta _3+9 \beta ^2 \eta _2^2\right) }} \text {sech}\left[ (\alpha x-\nu t)\sqrt{\tau _2}\right] \right) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{matrix}} \end{array}\end{aligned}$$
(16)

which represents a bright soliton solution such that \(\left( \vartheta +\alpha \beta \eta _3 \left( \beta \eta _3 \left( 2 \alpha \left( \omega +\varrho ^2\right) +33 \beta \nu \right) +18 \eta _2 \nu \right) \right) >0\) and \(\eta _3 \left( 31 \beta ^6 \eta _3^2+36 \beta ^4 \eta _2 \eta _3+9 \beta ^2 \eta _2^2\right) <0\). The sech-type solution is a well-known soliton solution in nonlinear optics, appearing in self-focusing optical media such as fiber optics and photonic crystals.

(1.2,2) If \(\tau _2 <0\) and\(\ \tau _4>0\), so:

$$\begin{aligned} \begin{array}{c} {\begin{matrix}&\mathcal {R}_{1.2,2}(x,t)=\left( \pm \sqrt{-\frac{3 \tau _2 \left( \vartheta +\alpha \beta \eta _3 \left( \beta \eta _3 \left( 2 \alpha \left( \omega +\varrho ^2\right) +33 \beta \nu \right) +18 \eta _2 \nu \right) \right) }{\eta _3 \left( 31 \beta ^6 \eta _3^2+36 \beta ^4 \eta _2 \eta _3+9 \beta ^2 \eta _2^2\right) }} \text {sec}\left[ (\alpha x-\nu t)\sqrt{-\tau _2}\right] \right) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{matrix}} \end{array}\end{aligned}$$
(17)

which denotes a singular periodic solution such that \(\left( \vartheta +\alpha \beta \eta _3 \left( \beta \eta _3 \left( 2 \alpha \left( \omega +\varrho ^2\right) +33 \beta \nu \right) +18 \eta _2 \nu \right) \right) >0\) and \(\eta _3 \left( 31 \beta ^6 \eta _3^2+36 \beta ^4 \eta _2 \eta _3+9 \beta ^2 \eta _2^2\right) >0\). The sec-type solution suggests periodic wave behavior, possibly modeling nonlinear wave patterns in optical lattices.

In the presence of stochastic perturbations, these solutions can describe stable pulses that resist dispersion, which is crucial for optical communication systems.

Family (2) : If \(\tau _1 = \tau _3 = \mathfrak {A}_0=0\), then we construct different solutions’ sets as:

Set (2.1) : \(\mathfrak {A}_1= \pm \alpha \sqrt{-\frac{\eta _1 \tau _4}{2 \eta _3}},\ \mathfrak {B}_1= 0,\tau _2= \frac{-\alpha ^2 \beta ^2 \eta _1 \eta _3\mp \sqrt{3 \left( \alpha ^4 \eta _1 \eta _3 \left( -\eta _1 \left( \eta _3 \left( \beta ^4-16 \alpha ^4 \tau _0 \tau _4\right) +4 \beta ^2 \eta _2\right) -32 \eta _3 \left( \omega +\varrho ^2\right) \right) \right) }}{2 \alpha ^4 \eta _1 \eta _3},\)

\(\nu = \pm \frac{\beta \left( \sqrt{3 \left( \alpha ^4 \eta _1 \eta _3 \left( -\eta _1 \left( \eta _3 \left( \beta ^4-16 \alpha ^4 \tau _0 \tau _4\right) +4 \beta ^2 \eta _2\right) -32 \eta _3 \left( \omega +\varrho ^2\right) \right) \right) }-\alpha ^2 \eta _1 \left( 11 \beta ^2 \eta _3+6 \eta _2\right) \right) }{72 \alpha \eta _3}.\)

Set (2.2) : \(\mathfrak {A}_1= 0,\ \mathfrak {B}_1= \pm \alpha \sqrt{-\frac{\eta _1 \tau _0}{2 \eta _3}},\ \tau _2= \frac{-\alpha ^2 \beta ^2 \eta _1 \eta _3\mp \sqrt{3 \left( \alpha ^4 \eta _1 \eta _3 \left( -\eta _1 \left( \eta _3 \left( \beta ^4-16 \alpha ^4 \tau _0 \tau _4\right) +4 \beta ^2 \eta _2\right) -32 \eta _3 \left( \omega +\varrho ^2\right) \right) \right) }}{2 \alpha ^4 \eta _1 \eta _3},\)

\(\nu = \pm \frac{\beta \left( \sqrt{3 \left( \alpha ^4 \eta _1 \eta _3 \left( -\eta _1 \left( \eta _3 \left( \beta ^4-16 \alpha ^4 \tau _0 \tau _4\right) +4 \beta ^2 \eta _2\right) -32 \eta _3 \left( \omega +\varrho ^2\right) \right) \right) }-\alpha ^2 \eta _1 \left( 11 \beta ^2 \eta _3+6 \eta _2\right) \right) }{72 \alpha \eta _3}.\)

Set (2.3) : \(\mathfrak {A}_1= \pm \alpha \sqrt{-\frac{\eta _1 \tau _4}{2 \eta _3}},\ \mathfrak {B}_1= \pm \alpha \sqrt{-\frac{\eta _1 \tau _0}{2 \eta _3}},\)

\(\tau _2= \frac{-\alpha ^2 \eta _1 \eta _3 \left( 36 \alpha ^2 \sqrt{\tau _4 \tau _0}+\beta ^2\right) \mp \sqrt{3 \left( \alpha ^4 \eta _1 \eta _3 \left( \eta _1 \left( \eta _3 \left( 512 \alpha ^4 \tau _0 \tau _4+32 \alpha ^2 \beta ^2 \sqrt{\tau _4 \tau _0}-\beta ^4\right) -4 \beta ^2 \eta _2\right) -32 \eta _3 \left( \omega +\varrho ^2\right) \right) \right) }}{2 \alpha ^4 \eta _1 \eta _3},\)

\(\nu = \pm \frac{\beta \left( \alpha ^2 \eta _1 \left( \eta _3 \left( 48 \alpha ^2 \sqrt{\tau _4 \tau _0}-11 \beta ^2\right) -6 \eta _2\right) +\sqrt{3 \left( \alpha ^4 \eta _1 \eta _3 \left( \eta _1 \left( \eta _3 \left( 512 \alpha ^4 \tau _0 \tau _4+32 \alpha ^2 \beta ^2 \sqrt{\tau _4 \tau _0}-\beta ^4\right) -4 \beta ^2 \eta _2\right) -32 \eta _3 \left( \omega +\varrho ^2\right) \right) \right) }\right) }{72 \alpha \eta _3}\).

When selecting the solutions’ set (2.1), the corresponding exact solutions will be:

(2.1,1) If \(\tau _2 <0,\ \tau _4>0\) and\(\ \tau _0=\frac{\tau _2^2}{4 \tau _4}\), then:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,1}(x,t)=\frac{1}{2} \alpha \sqrt{\frac{\eta _1 \tau _2}{\eta _3}} \tanh \left[ (\alpha x-\nu t)\sqrt{-\frac{\tau _2}{2}}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{aligned}$$
(18)

which is a dark soliton solution provided that \(\eta _1 \eta _3<0\).

(2.1,2) If \(\tau _2>0,\ \tau _4>0\) and\(\ \tau _0=\frac{\tau _2^2}{4 \tau _4}\), then:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,2}(x,t)=\frac{1}{2} \alpha \sqrt{-\frac{\eta _1 \tau _2}{\eta _3}} \tan \left[ (\alpha x-\nu t)\sqrt{\frac{\tau _2}{2}}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{aligned}$$
(19)

which is a singular periodic solution by providing that \(\eta _1 \eta _3<0\).

(2.1,3) If \(\tau _2 >0,\ \tau _4<0,\ \tau _0=\frac{\mu ^2 \left( 1-\mu ^2\right) \tau _2^2}{\left( 2 \mu ^2-1\right) ^2 \tau _4}\), and \(0< \mu \le 1\), then the solution will be a JEF such that \(\eta _1 \eta _3>0\) as:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,3}(x,t)= \pm \alpha \mu \sqrt{-\frac{\eta _1 \tau _2}{2 \eta _3 \left( 1-2 \mu ^2\right) }} \text {cn}(\alpha x -\nu t ) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(20)

The cn function corresponds to periodic wave trains, appearing in nonlinear optical fibers and waveguides. When setting \(\mu =1\), one could find the following bright soliton solution:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,4}(x,t)=\pm \alpha \sqrt{\frac{\eta _1 \tau _2}{2 \eta _3}} \text {sech}[\alpha x-\nu t] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(21)

(2.1,4) If \(\tau _2 >0,\ \tau _4<0,\ \tau _0=\frac{\left( 1-\mu ^2\right) \tau _2^2}{\left( 2-\mu ^2\right) ^2 \tau _4}\), and \(0<m\le 1\), then a JEF solution is found providing that \(\eta _1 \eta _3>0\):

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,5}(x,t)= \pm \alpha \mu \sqrt{\frac{\eta _1}{2 \eta _3 \left( 2-\mu ^2\right) }} \text {dn}(\alpha x -\nu t ) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(22)

The dn function corresponds to periodic wave trains, appearing in nonlinear optical fibers and waveguides. As a particular case, when \(\mu = 1\), a bright soliton solution can be evaluated as:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,6}(x,t)=\pm \alpha \sqrt{\frac{\eta _1}{2 \eta _3}} \text {sech}[\alpha x-\nu t] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(23)

(2.1,5) If \(\tau _2 <0,\ \tau _4>0,\ \tau _0=\frac{\mu ^2 \tau _2^2}{\left( \mu ^2+1\right) ^2 \tau _4}\), and \(0<\mu \le 1\), then a JEF solution is found providing that \(\eta _1 \eta _3<0\):

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,7}(x,t)=\alpha \mu \sqrt{\frac{\eta _1 \tau _2}{2 \eta _3 \left( \mu ^2+1\right) }} \text {sn}(\alpha x -\nu t ) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(24)

The sn-type solution describes breather modes, which arise in stochastic optical solitons where noise influences pulse evolution. A particular case, when \(\mu = 1\), a dark soliton solution is raised:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.1,8}(x,t)=\frac{1}{2} \sqrt{\frac{\eta _1 \tau _2}{\eta _3}} \tanh [\alpha x-\nu t] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(25)

In stochastic optics, these solutions are essential for modeling modulated wave packets, where noise-driven instabilities can induce chaotic wave structures.

Through Set (2.2), the solutions are obtained as follows:

(2.2,1) If \(\tau _2 <0,\ \tau _4>0\) and\(\ \tau _0=\frac{\tau _2^2}{4\tau _4}\), one can obtain a singular soliton solution provided that \(\eta _1 \eta _3<0\):

$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,1}(x,t)=\frac{1}{2} \alpha \sqrt{\frac{\eta _1 \tau _2}{\eta _3}} \coth \left[ (\alpha x-\nu t)\sqrt{-\frac{\tau _2}{2}}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(26)

(2.2,2) If \(\tau _2>0,\ \tau _4>0\) and\(\ \tau _0=\frac{\tau _2^2}{4\tau _4}\), one can construct a singular periodic solution provided that \(\eta _1 \eta _3<0\):

$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,2}(x,t)=\frac{1}{2} \alpha \sqrt{-\frac{\eta _1 \tau _2}{\eta _3}} \cot \left[ (\alpha x-\nu t)\sqrt{\frac{\tau _2}{2}}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(27)

(2.2,3) If \(\tau _2 >0,\ \tau _4<0,\ \tau _0=\frac{\mu ^2 \left( 1-\mu ^2\right) \tau _2^2}{\left( 2 \mu ^2-1\right) ^2 \tau _4},\ \eta _1 \eta _3<0\) and \(0\le \mu < 1\), we construct a JEF solution which reads as:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,3}(x,t)=\pm \alpha \sqrt{-\frac{\eta _1 \left( 1-\mu ^2\right) \tau _2}{2 \eta _3 \left( 1-2 \mu ^2\right) }} \text {nc}(\alpha x -\nu t ) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(28)

As a particular case, when \(\mu = 0\), a singular periodic solution is raised below:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,4}(x,t)=\pm \alpha \sqrt{-\frac{\eta _1 \tau _2}{2 \eta _3}} \sec [\alpha x-\nu t] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(29)

(2.2,4) If \(\tau _2 >0,\ \tau _4<0,\ \tau _0=\frac{\left( 1-\mu ^2\right) \tau _2^2}{\left( 2-\mu ^2\right) ^2 \tau _4}\), and \(0<\mu < 1\), then a JEF solution is found providing that \(\eta _1 \eta _3>0\):

$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,5}(x,t)=\frac{ \pm \alpha \tau _2 }{\mu }\sqrt{\frac{\eta _1 \left( 1-\mu ^2\right) }{2 \eta _3 \left( 2-\mu ^2\right) }} \text {nd}(\alpha x -\nu t ) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(30)

(2.2,5) If \(\tau _2 <0,\ \tau _4>0,\ \tau _0=\frac{\mu ^2 \tau _2^2}{\left( \mu ^2+1\right) ^2 \tau _4},\ 0\le \mu \le 1\) and \(\eta _1 \eta _3<0\), then a JEF solution shall be acquired as:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,6}(x,t)=\alpha \sqrt{\frac{\eta _1 \tau _2}{2 \eta _3 \left( \mu ^2+1\right) }} \text {ns}(\alpha x -\nu t ) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) } \end{aligned}$$
(31)

By setting either \(\mu =0\) or \(\mu =1\), one can build up either a singular periodic solution or a singular soliton solution, respectively as follows:

$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,7}(x,t)=\alpha \sqrt{\frac{\eta _1 \tau _2}{2 \eta _3}} \csc [\alpha x-\nu t] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{aligned}$$
(32)
$$\begin{aligned} \displaystyle \mathcal {R}_{2.2,8}(x,t)=\frac{1}{2} \alpha \sqrt{\frac{\eta _1 \tau _2}{\eta _3}} \coth [\alpha x-\nu t] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(33)

Through Set (2.3), the solutions are obtained as below:

(2.3,1) If \(\tau _2 <0,\ \tau _4>0\) and\(\ \tau _0=\frac{\tau _2^2}{4\tau _4}\), one can establish a singular soliton solution by providing that \(\eta _1 \eta _3<0\):

$$\begin{aligned} \displaystyle \mathcal {R}_{2.3,1}(x,t)=\alpha \sqrt{\frac{\eta _1 \tau _2}{\eta _3}} \text {csch}\left[ (\alpha x-\nu t)\sqrt{-2 \tau _2}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(34)

(2.3,2) If \(\tau _2>0,\ \tau _4>0,\) and \(\ \tau _0=\frac{\tau _2^2}{4\tau _4}\), one can evaluate a singular periodic solution under the condition that \(\eta _1 \eta _3<0\):

$$\begin{aligned} \displaystyle \mathcal {R}_{2.3,1}(x,t)=\alpha \sqrt{-\frac{\eta _1 \tau _2}{\eta _3}} \text {csc}\left[ (\alpha x-\nu t)\sqrt{2 \tau _2}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(35)

Family (3) : If \(\tau _0=\tau _1 = \tau _4 = 0\), then, in this case, we construct a set of solutions as:

$$\mathfrak {A}_0= \pm \frac{\sqrt{\alpha ^2 \beta ^2 \eta _1^2 \left( -16 \beta ^4 \eta _3^2+4 \beta ^2 \eta _2 \eta _3+\eta _2^2\right) +24 \alpha \beta \eta _3 \eta _1 \left( 4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu \right) +144 \eta _3^2 \nu ^2}}{4 \sqrt{6} \sqrt{-\alpha \beta \eta _3^2 \left( \alpha \beta \eta _1 \left( 2 \beta ^2 \eta _3+\eta _2\right) +12 \eta _3 \nu \right) }},$$
$$\mathfrak {B}_1= \pm \frac{\eta _3 \left( \alpha \beta \eta _1 \left( 2 \beta ^2 \eta _3+\eta _2\right) +12 \eta _3 \nu \right) ^2 \sqrt{\frac{1}{6} \alpha ^2 \beta ^2 \eta _1^2 \left( -16 \beta ^4 \eta _3^2+4 \beta ^2 \eta _2 \eta _3+\eta _2^2\right) +4 \alpha \beta \eta _3 \eta _1 \left( 4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu \right) +24 \eta _3^2 \nu ^2}}{4 \alpha ^2 \eta _1 \tau _3 \left( -\alpha \beta \eta _3^2 \left( \alpha \beta \eta _1 \left( 2 \beta ^2 \eta _3+\eta _2\right) +12 \eta _3 \nu \right) \right) ^{3/2}},$$
$$\mathfrak {A}_1= 0,\ \tau _2= -\frac{2 \alpha \beta ^2+\frac{\alpha \eta _2}{\eta _3}+\frac{12 \nu }{\beta \eta _1}}{2 \alpha ^3}.$$

By denoting \(\delta _1=-\alpha \beta \eta _3^2 \left( \alpha \beta \eta _1 \left( 2 \beta ^2 \eta _3+\eta _2\right) +12 \eta _3 \nu \right)\),

\(\delta _2=4 \beta \eta _3 \left( \alpha \left( \omega +\varrho ^2\right) -\beta \nu \right) +\eta _2 \nu\), \(\delta _3=-16 \beta ^4 \eta _3^2+4 \beta ^2 \eta _2 \eta _3+\eta _2^2,\)

and \(\delta _4=\frac{1}{6} \alpha ^2 \beta ^2 \delta _3 \eta _1^2+4 \alpha \beta \delta _2 \eta _3 \eta _1+24 \eta _3^2 \nu ^2\), one could find the following solutions:

(3.1)

$$\begin{aligned} \mathcal {R}_{3.1}(x,t)= \left( \pm \frac{1}{4}\sqrt{\frac{\delta _4}{\delta _1}} \mp \frac{\sqrt{\delta _1 \delta _4} \left( \cosh \left[ (\alpha x-\nu t)\sqrt{\tau _2}\right] +1\right) }{2 \alpha ^4 \beta ^2 \eta _1 \eta _3^3 \tau _2}\right) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{aligned}$$
(36)

which denotes a hyperbolic solution such that \(\delta _1 \delta _4>0\).

(3.2)

$$\begin{aligned} \mathcal {R}_{3.2}(x,t)=\left( \sqrt{\pm \frac{1}{4}\frac{\delta _4}{\delta _1}} \mp \frac{\sqrt{\delta _1 \delta _4} \cos ^2\left[ \frac{1}{2} (\alpha x-\nu t)\sqrt{-\tau _2}\right] }{2 \alpha ^4 \beta ^2 \eta _1 \eta _3^3 \tau _2}\right) e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{aligned}$$
(37)

which denotes a periodic wave solution such that \(\delta _1 \delta _4>0\).

Family (4) : If \(\tau _3 = \tau _4 = 0\), then, in this case, we construct multiple sets of solutions as:

Set (4.1) : \(\displaystyle \mathfrak {A}_0= \mathfrak {A}_1= \tau _1=0,\ \mathfrak {B}_1= \pm \frac{\alpha \sqrt{\tau _0 \left( \eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) +\beta ^4\right) +24 \left( \omega +\varrho ^2\right) \right) }}{\beta \sqrt{6 \eta _2}},\)

\(\displaystyle \eta _3= -\frac{3 \beta ^2 \eta _1 \eta _2}{\eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) +\beta ^4\right) +24 \left( \omega +\varrho ^2\right) },\ \nu = \frac{\alpha \left( \eta _1 \left( \alpha ^4 \tau _2^2-5 \beta ^4\right) +24 \left( \omega +\varrho ^2\right) \right) }{36 \beta }.\)

Set (4.2) : \(\displaystyle \mathfrak {A}_0= \pm \frac{\alpha \sqrt{-\tau _2} \sqrt{\eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) -2 \beta ^4\right) -48 \left( \omega +\varrho ^2\right) }}{4 \beta \sqrt{3 \eta _2}},\ \mathfrak {A}_1= 0,\)

\(\displaystyle \mathfrak {B}_1= \pm \frac{\alpha \sqrt{-\tau _0} \sqrt{\eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) -2 \beta ^4\right) -48 \left( \omega +\varrho ^2\right) }}{2 \beta \sqrt{3 \eta _2}},\ \tau _1=\pm 2 \sqrt{\tau _2 \tau _0},\)

\(\displaystyle \eta _3= \frac{6 \beta ^2 \eta _1 \eta _2}{\eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) -2 \beta ^4\right) -48 \left( \omega +\varrho ^2\right) },\ \nu = \frac{\alpha \left( 48 \left( \omega +\varrho ^2\right) -\eta _1 \left( \alpha ^4 \tau _2^2+10 \beta ^4\right) \right) }{72 \beta }.\)

From Set (4.1), one can able to construct the upcoming solutions such that \(\eta _2 (\eta _1 \left( \alpha ^4 \tau _2^2+\alpha ^2 \beta ^2 \tau _2+\beta ^4\right) +\left( \omega +\varrho ^2\right) )>0\):

(4.1,1) If \(\tau _0>0\) and \(\tau _2<0\), then one can find a singular periodic solution, which shall be read as:

$$\begin{aligned} \mathcal {R}_{4.1,1}(x,t)=\frac{2 \alpha }{\beta }\sqrt{-\frac{\eta _1 \left( \alpha ^4 \tau _2^2+\alpha ^2 \beta ^2 \tau _2+\beta ^4\right) +\omega +\varrho ^2}{\eta _2 \tau _2}} \csc \left[ (\alpha x-\nu t)\sqrt{-\tau _2}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }, \end{aligned}$$
(38)

(4.1,2) If \(\tau _0>0\) and \(\tau _2>0\), then one can build up a singular soliton solution as follows:

$$\begin{aligned} \displaystyle \mathcal {R}_{4.1,2}(x,t)=\frac{2 \alpha }{\beta }\sqrt{\frac{\eta _1 \left( \alpha ^4 \tau _2^2+\alpha ^2 \beta ^2 \tau _2+\beta ^4\right) +\omega +\varrho ^2}{\eta _2 \tau _2}} \text {csch}\left[ (\alpha x-\nu t)\sqrt{\tau _2}\right] e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) }. \end{aligned}$$
(39)

From Set (4.2),

$$\begin{aligned} \mathcal {R}_{4.2}(x,t)=\pm \frac{\alpha }{4 \beta } \left( \sqrt{-\frac{\tau _2 \left( \eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) -2 \beta ^4\right) -48 \left( \omega +\varrho ^2\right) \right) }{3 \eta _2}}+\frac{\tau _1 \sqrt{-\frac{\eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) -2 \beta ^4\right) -48 \left( \omega +\varrho ^2\right) }{3 \eta _2 \tau _2}}}{e^{\sqrt{\tau _2} (\alpha x-\nu t)}-\frac{\tau _1}{2 \tau _2}}\right) \end{aligned}$$
$$\begin{aligned} \times e^{i \left( \beta x-\omega t +\varrho W(t) -\varrho ^2 t\right) },\qquad \qquad \end{aligned}$$
(40)

which represents an exponential solution under the conditions that \(e^{\sqrt{\tau _2} (\alpha x-\nu t)}-\frac{\tau _1}{2 \tau _2}\ne 0\) and

\(\eta _2 \left( \eta _1 \left( \alpha ^2 \tau _2 \left( \alpha ^2 \tau _2+\beta ^2\right) -2 \beta ^4\right) -48 \left( \omega +\varrho ^2\right) \right) <0\).

Graphical and physical interpretation for the influence of noise on the extracted solutions

In this part of the article, one can see an explanation of the impact of applying the white noise on some of the resulting solutions. Using MATLAB software, we investigate the effect of adding this noise with different intensities using 3D and 2D graphical representations of the obtained solutions. These graphical representations will show the robustness of the obtained solutions by considering the noise. Figure 1 represents the 3D representations of Eq. (18) with \(\eta _1=2,~\eta _2=2,~\eta _3=-2,~\omega =0,~\beta =0,~\alpha =-2,~\tau _0=-2,~\tau _4=-2\). These plots demonstrate how rising noise intensity (\(\varrho\)) imparts greater unpredictability into wave dynamics. For small values of \(\varrho\), the solution stays smooth, similar to a deterministic wave. As \(\varrho\) grows, the solution becomes more volatile, indicating the impact of random disturbances on the wave’s stability and structure. This phenomenon is important in physical systems such as optical fibers, Bose-Einstein condensates, and fluid turbulence, where noise affects wave propagation. The surface flattens and the signal level drops as the noise intensity rises, according to observations. Utilizing different noise intensities, a 2D graph of Eq. (18) is depicted in Fig. 2. These plots show how the wave solution changes over time with varied noise strengths. The deterministic solution (\(\varrho =0\)) has a smooth transition, but raising \(\varrho\) adds deviations, generating variations around the mean solution. This represents how external disturbances or intrinsic system noise impact wave stability, which can result in diffusion-like spreading, instability, or disruption of the wave profile depending on the noise intensity. With \(\eta _1=-2,~\eta _3=-2,~\omega =0,~\beta =0\), 3D plots of Eq. (21) are displayed in Fig. 3. These visuals demonstrate how increasing noise intensity (\(\varrho\)) affects the wave profile. For smaller \(\varrho\), the wave is reasonably smooth and steady. As \(\varrho\) increases, the wave shows abnormalities and variations, reflecting the impact of random disturbances. Such noise effects in physical systems might reflect external disturbances in fluid dynamics, optical wave propagation, or quantum systems, where random fluctuations affect wave behavior and stability. Higher noise levels result in localized energy concentration or dissipation, which drastically alters the initial wave shape. By applying different noise intensities, a 2D graph of Eq. (21) is depicted in Fig. 4. This graph plots wave amplitude over time for various noise levels. When increasing \(\varrho\), it causes random fluctuations and broadens the wave profile. This illustrates noise-induced dispersion and diffusion effects, which may be observed in real-world applications such as signal transmission in noisy channels, fluid turbulence, and stochastic resonance in nonlinear systems.

Fig. 1
figure 1

3D visualizations of stochastic solution of Eq. (18).

Fig. 2
figure 2

2D plots of stochastic solution of Eq. (18) with different intensities.

Fig. 3
figure 3

3D graphical plots of stochastic solution of Eq. (21).

Fig. 4
figure 4

2D plots of stochastic solution of Eq. (21) with different intensities.

Conclusions

The generalized stochastic nonlinear Schrödinger equation’s exact, soliton solutions are the main topic of this article. Many parameters of the nonlinearity and a parameter linked to weak nonlocality were the characteristics of the equation in addition to the influence of Brownian motion. To solve this difficult problem, we used the tried-and-true method known as the improved modified extended tanh-function methodology. Through the use of this technique along with the proper traveling wave transformations, we were able to develop novel and very effective solitary-wave solutions for this model. We used MATLAB to create both 2D and 3D graphical representations in order to obtain an understanding of the equation’s physical consequences. Deep insights into a variety of facets of the behavior of the equation are provided by these visualizations. By adjusting the parameter values, we were able to reveal several other solutions, such as {dark, bright, singular} solitons, Jacobi elliptic functions, exponential, periodic, and singular periodic solutions. This work incorporates stochastic effects into a nonlinear wave equation, revealing new details on how noise affects wave stability, localization, and energy distribution. Unlike prior deterministic investigations, our results show that increasing noise levels cause major changes in wave dynamics, such as diffusion, instability, and pattern development. In the fields of mathematical science and engineering, our computational research highlights the method’s efficacy and adaptability in handling a broad spectrum of nonlinear issues. The restricted applicability of this approach to a wide range of equations and potential convergence issues may occasionally make it less dependable in yielding accurate solutions. This study’s findings are relevant to stochastic optical communication systems, where understanding noise-induced wave dynamics can improve fiber optic transmission, soliton-based communication, and nonlinear signal processing. The insights also apply to laser dynamics, quantum optics, and nonlinear photonics, aiding in the development of robust communication protocols and enhanced noise management techniques.