1 Introduction

The construction of analytic solutions for nonlinear evolution equations (NLEEs) is a key topic in the study of nonlinear phenomena [1,2,3,4,5,6,7]. Analytic solutions can help one to well understand the mechanism of physical phenomena modeled by a nonlinear evolution equation. With the development of soliton theory and computer algebraic system like Maple, much attention has been paid to finding analytic solutions of nonlinear evolution equations, including soliton solutions, periodic wave solutions, shock wave solutions, and so on. Up to now, many powerful methods of searching for exact solutions to NLEEs have been proposed and developed. For example, Biswas and Bhrawy [8] employed the extended Jacobi elliptic function expansion method to study the Zakharov equation and the Davey–Stewartson equation and obtained cnoidal and snoidal wavesolutions. Ma and Lee et al. [9] investigated a \(3+1\) dimensional Jimbo–Miwa equation via a transformed rational function method and obtained exact solutions. Other methods, such as Bäcklund transformation [10, 11], Darboux transformation [12, 13], Hirota bilinear method [14], the inverse scattering transform, the variable separation method [15], the sine–cosine method, the tanh-function method [16], the auxiliary equation method [17], the trial function method [18], etc., were also employed. Based on these methods, a variety of nonlinear equations have been investigated and solved.

Among them, the Hirota method is one of the most effective methods of constructing multiple soliton solutions of NLEEs. It can transform the given nonlinear evolution equations to the corresponding bilinear forms through the dependent variable transformation. Then employing the perturbation expansion method, multi-soliton solutions with exponential function are derived. Also through the bilinear Bäcklund transformation, Lax pairs are obtained. In recent years, the Hirota method has been developed to construct the Wronskian solutions, Pfaffian solutions, and periodic wave solutions by use of the Riemann theta functions [19,20,21,22,23,24]. By means of this method, Tian et al. have investigated the HS equation for shallow water waves and BLMP equation [19]. And Ma, Zhang et al. have constructed periodic wave solutions of (\(2+1\))-dimensional Hirota bilinear equations and Ito equation [20, 21]. The advantage of this method lies in the fact that we obtain the periodic wave solutions in a direct method without algebraic-geometric theory. Furthermore, the soliton solutions can be derived from the periodic wave solutions via asymptotic analysis.

With a motivation to further expand the area of applications of this method, in the present paper, we study the potential Kadomtsev–Petviashvili equation and (\(3+1\))-dimensional potential-YTSF equation to illustrate the efficiency of using the combination of the Hirota method and the Riemann theta function. To the best of our knowledge, these results are up to date and have not been reported.

The rest of the paper is organized as follows. In Sect. 2, the bilinear form of (\(3+1\))-dimensional potential-YTSF equation is given by applying the Hirota bilinear method. In Sect. 3, N-soliton solutions are presented by using the perturbation approach. In Sect. 4, by virtue of the Riemann theta function, periodic wave solutions are derived successfully, and the asymptotic properties of periodic wave solutions show that periodic wave solution degenerate to soliton solution. Finally, the concluding remarks are presented in Sect. 5.

2 Bilinear form for (\(3+1\))-dimensional potential-YTSF equation

In this section, we will give the bilinear form for the (\(3+1\))-dimensional potential-YTSF equation by applying the Hirota direct method and the dependent variable transformation.

A new (\(3+1\))-dimensional nonlinear evolution equation, called the potential YTSF equation, was first introduced by Yu, Toda, Sasa and Fukuyama (YTSF) [25]. The (\(3+1\))-dimensional potential-YTSF equation can be written as

$$ - 4u_{xt} + u_{xxxz} + 3u_{x}u_{xz} + 3u_{xx}u_{z} + 3u_{yy} = 0. $$
(2.1)

Setting \(u = \frac{3}{4}w_{x}\), substituting it into Eq. (2.1) and integrating with respect to x yields

$$ - 4w_{xt} + w_{xxxz} + 3w_{xx}w_{xz} + 3w_{yy} + \lambda = 0, $$
(2.2)

which is transformed into the bilinear representation

$$ \bigl[ - 4D_{x}D_{t} + D_{x}^{3}D_{z} + 3D_{y}^{2}\bigr]F \cdot F + \lambda F^{2} = 0, $$
(2.3)

under the dependent variable transformation \(w = 2\ln F\), where \(\lambda = \lambda (y,z,t)\) is an integration constant; \(D_{x}\), \(D_{y}\) and \(D_{t}\) are the well-known Hirota operators defined by [21]

$$D_{x}^{m}D_{t}^{n}f\cdot g = ( \partial_{x} - \partial_{x'})^{m}( \partial_{t} - \partial_{t'})^{n}f(x,t) \times g \bigl(x',t'\bigr)|_{x' = x,t' = t}. $$

The D-operators have the following nice property when acting on exponential functions:

$$ D_{x}^{m}D_{y}^{s}D_{t}^{n} \exp\xi_{1}\cdot\exp\xi_{2} = ( P_{1} - P_{2})^{m}( Q_{1} - Q_{2})^{s} (\varOmega_{1} - \varOmega_{2})^{n}\exp( \xi_{1} + \xi_{2}), $$
(2.4)

where \(\xi_{i} = P_{i}x + Q_{i}y + \varOmega_{i}t + \xi_{i}^{0}\) (\(i = 1,2\)).

More generally, we get

$$ G(D_{x},D_{y},D_{t})\exp\xi_{1} \cdot \exp\xi_{2} = G(P_{1} - P_{2},Q_{1} - Q_{2},\varOmega_{1} - \varOmega_{2})\exp( \xi_{1} + \xi_{2}). $$
(2.5)

Remark 1

D operates on a product of two functions like the Leibniz rule, except for a crucial sign difference. For example,

$$\begin{aligned} &D_{x}G\cdot F = G_{x}F - GF_{x}, \\ &D_{x}D_{t}G \cdot F = G_{xt}F - G_{x}F_{t} + GF_{xt} - G_{t}F_{x}, \\ &D_{xx}G \cdot F = G_{xx}F - 2G_{x}F_{x} + GF_{xx}. \end{aligned}$$

3 N-soliton solutions for (\(3+1\))-dimensional potential-YTSF equation

In the following, we will give N-soliton solutions for the (\(3+1\))-dimensional potential-YTSF equation by virtue of the Hirota method and the perturbation expansion and truncation technique, as well as property (2.5).

Expanding F into the power series with respect to a small parameter ε gives

$$ F = 1 + \varepsilon f_{1} + \varepsilon^{2}f_{2} + \varepsilon^{3}f_{3} + \cdots. $$
(3.1)

Substituting (3.1) into bilinear equation (2.3) and setting the coefficients of the same power of ε to zero, we obtain the recursion relations for \(f_{i}\).

Single-soliton solution

For \(n = 1\), Eq. (3.1) becomes

$$ f_{1} = \exp(\eta_{1}), \quad \eta_{1} = k_{1}x + l_{1}y + m_{1}z + \omega_{1}t + \eta_{1}^{0}, $$
(3.2)

where \(k_{1}\), \(l_{1}\), \(m_{1}\), \(\omega_{1}\) are arbitrary constants, and \(- 4k_{1}\omega_{1} + k_{1}^{3}m_{1} + 3l_{1}^{2} = 0\) is the dispersion relation.

Substituting (3.2) into bilinear equation (2.3), a single-soliton solution of Eq. (2.1) is given by

$$ u(x,y,z,t) = \frac{3}{2}\bigl[\ln \bigl(1 + e^{\eta_{1}}\bigr) \bigr]_{x}. $$
(3.3)

Two-soliton solution

A two-soliton solution is given by

$$ u(x,y,z,t) = \frac{3}{2}\bigl[\ln \bigl(1 + e^{\eta_{1}} + e^{\eta_{2}} + e^{\eta_{1} + \eta_{2} + A_{12}}\bigr)\bigr]_{x}, $$
(3.4)

where \(- 4k_{i}\omega_{i} + k_{i}^{3}m_{i} + 3l_{i}^{2} = 0\) (\(i = 1,2\)) are the dispersion relations and the phase shift term is

$$e^{A_{12}} = - \frac{4(k_{1} - k_{2})(\omega_{1} - \omega_{2}) - (k_{1} - k_{2})^{3}(m_{1} - m_{2}) - 3(l_{1} - l_{2})^{2}}{4(k_{1} + k_{2})(\omega_{1} + \omega_{2}) - (k_{1} + k_{2})^{3}(m_{1} + m_{2}) - 3(l_{1} + l_{2})^{2}}. $$

N-soliton solution

Now we derive N-soliton solutions as

$$ u(x,y,z,t) = \frac{3}{2}\biggl[\ln \sum_{\mu = 0,1} e^{\sum_{i = 1}^{N} \mu_{i} \eta_{i} + \sum_{i < j}^{(N)} \mu_{i} \mu_{j}A_{ij}} \biggr]_{x},\quad 1 \le i,j \le N, $$
(3.5)

where the phase shift term is

$$e^{A_{ij}} = - \frac{4(k_{i} - k_{j})(\omega_{i} - \omega_{j}) - (k_{i} - k_{j})^{3}(m_{i} - m_{i}) - 3(l_{i} - l_{j})^{2}}{4(k_{i} + k_{j})(\omega_{i} + \omega_{j}) - (k_{i} + k_{j})^{3}(m_{i} + m_{j}) - 3(l_{i} + l_{j})^{2}}. $$

Here \(\sum_{\mu = 0,1}\) means a summation over all possible combinations of \(\mu_{j} = 0,1\) (\(j = 1,2, \ldots,N\)) and \(\sum_{i < j}^{N}\) is a summation over all possible pairs \((i,j)\) (\(i = 1, \ldots,N\), \(j = 1, \ldots,N\)) with the condition that \(i < j\).

4 Periodic wave solutions of two equations

In this section, we will construct periodic wave solutions for the potential Kadomtsev–Petviashvili equation and the (\(3+1\))-dimensional potential-YTSF equation by employing the Hirota method and the Riemann theta function, as well as property (2.5).

4.1 Potential Kadomtsev–Petviashvili equation

The following (\(2+1\))-dimensional potential Kadomtsev–Petviashvili equation [26] is considered:

$$ u_{t} + \frac{3}{4}u_{x}^{2} + \frac{1}{4}u_{xxx} + \frac{3}{4}\partial_{x}^{ - 1}u_{yy} = 0, $$
(4.1)

which is transformed into the bilinear form

$$ \bigl[4D_{x}D_{t} + D_{x}^{4} + 3D_{y}^{2}\bigr]F \cdot F = 0, $$
(4.2)

under the dependent variable transformation \(u = 2(\ln F)_{x}\).

We introduce the Riemann theta function solution of Eq. (4.1) as

$$ F = \sum_{n = - \infty}^{\infty} e^{2\pi in\zeta + \pi in^{2}\tau}, $$
(4.3)

where \(n \in \mathcal {Z}\), \(\tau \in \mathcal {C}\), \(\operatorname{Im}\tau > 0\) and \(\zeta = kx + ly + \omega t\).

Substituting (4.3) into (4.2), we get

$$\begin{aligned} &G(D_{x},D_{y},D_{t})F \cdot F \\ &\quad = G(D_{x},D_{y},D_{t})\sum _{n = - \infty}^{\infty} e^{2\pi in\zeta + \pi in^{2}\tau} \sum _{m = - \infty}^{\infty} e^{2\pi im\zeta + \pi im^{2}\tau} \\ &\quad = \sum _{n = - \infty}^{\infty} \sum_{m = - \infty}^{\infty} G (D_{x},D_{y},D_{t})e^{2\pi in\zeta + \pi in^{2}\tau} e^{2\pi im\zeta + \pi im^{2}\tau} \\ &\quad = \sum_{n = - \infty}^{\infty} \sum _{m = - \infty}^{\infty} G \bigl[2\pi i(n - m)k,2\pi i(n - m)l,2\pi i(n - m)\omega \bigr]e^{2\pi i(n + m)\zeta + \pi i(n^{2} + m^{2})\tau} \\ &\quad = \sum_{p = - \infty}^{\infty} \sum _{n = - \infty}^{\infty} G\bigl[2\pi i(2n - p)k,2\pi i(2n - p)l,2 \pi i(2n - p)\omega \bigr]e^{\pi i(n^{2} + (p - n)^{2})\tau} e^{2\pi ip\zeta} \\ &\quad = \sum _{p = - \infty}^{\infty} \bar{G} (p)e^{2\pi ip\zeta}, \end{aligned}$$

where \(n + m = p\). Noting that

$$\begin{aligned} \bar{G}(p) =& \sum_{n = - \infty}^{\infty} G \bigl(2 \pi i(2n - p)k, 2\pi i(2n - p)l, 2\pi i(2n - p)\omega \bigr]e^{\pi i(n^{2} + (p - n)^{2})\tau} \\ =& \sum_{N = - \infty}^{\infty} G\bigl[2\pi i\bigl(2N - (p - 2)\bigr)k,2\pi i\bigl(2N - (p - 2)\bigr)l,2\pi i \times \bigl(2N - (p - 2) \bigr)\omega )\bigr]\\ &{}\times e^{\pi i((N + 1)^{2} + (p - N - 1)^{2})\tau} \\ =& \sum_{N = - \infty}^{\infty} G \bigl[2\pi i\bigl(2N - (p - 2)\bigr)k,2\pi i\bigl(2N - (p - 2)\bigr)l,2\pi i\bigl(2N - (p - 2)\bigr) \omega )\bigr] \\ &{}\times e^{\pi i(N^{2} + (p - N - 2)^{2})\tau}e^{2\pi i(p - 1)\tau} \\ =& \bar{G}(p - 2)e^{2\pi i(p - 1)\tau}, \end{aligned}$$

which indicates that if \(\bar{G}(0) = \bar{G}(1) = 0\), then

$$ \bar{G}(p) = 0,\quad p \in \mathcal {Z}. $$
(4.4)

Therefore, we may let

$$\begin{aligned} & \bar{G}(0) = \sum_{n = - \infty}^{\infty} \bigl[ - 64\pi^{2}n^{2}k\omega + 256\pi^{4}n^{4}k^{4} - 48\pi^{2}n^{2}l^{2} + \mu \bigr] e^{2\pi in^{2}\tau} = 0, \end{aligned}$$
(4.5)
$$\begin{aligned} & \bar{G}(1) = \sum_{n = - \infty}^{\infty} \bigl[ - 16\pi^{2}(2n - 1)^{2}k\omega + 16 \pi^{4}(2n - 1)^{4}k^{4} - 12\pi^{2}(2n - 1)^{2}l^{2} + \mu \bigr] \\ &\hphantom{ \bar{G}(1) =}{}\times e^{\pi i(n^{2} + (n - 1)^{2})\tau} = 0. \end{aligned}$$
(4.6)

Denote

$$\begin{aligned} &\Delta_{1}(n) = e^{2\pi in^{2}\tau},\qquad \Delta_{2}(n) = e^{\pi i(n^{2} + (n - 1)^{2})\tau}, \\ &A_{11} = - \sum_{n = - \infty}^{\infty} 64 \pi^{2}n^{2}k\Delta_{1}(n),\qquad A_{12} = \sum_{n = - \infty}^{\infty} \Delta_{1} (n), \\ &A_{21} = - \sum_{n = - \infty}^{\infty} 1 6 \pi^{2}(2n - 1)^{2}k\Delta_{2}(n),\qquad A_{22} = \sum_{n = - \infty}^{\infty} \Delta_{2} (n), \\ &B_{1} = - \sum_{n = - \infty}^{\infty} \bigl( 256\pi^{4}n^{4}k^{4} - 48 \pi^{2}n^{2}l^{2}\bigr)\Delta_{1}(n), \\ &B_{2} = - \sum_{n = - \infty}^{\infty} \bigl[16\pi^{4}(2n - 1)^{4}k^{4} - 12 \pi^{2}(2n - 1)^{2}l^{2}\bigr] \Delta_{2}(n). \end{aligned}$$

Then Eqs. (4.5) and (4.6) can be written as

$$A_{11}\omega + A_{12}\mu = B_{1},\qquad A_{21}\omega + A_{22}\mu = B_{2}. $$

By solving this system, we get

$$ \omega = \frac{B_{1}A_{22} - A_{12}B_{2}}{A_{11}A_{22} - A_{12}A_{21}},\qquad \mu = \frac{A_{11}B_{2} - A_{21}B_{1}}{A_{11}A_{22} - A_{12}A_{21}}. $$
(4.7)

Thus the periodic wave solution is given by

$$ u = 2(\ln F)_{x}, $$
(4.8)

where ω and F are determined by Eqs. (4.7) and (4.3), respectively.

Next, we will demonstrate that the soliton solution can be obtained as a limit of a periodic wave solution. From Eq. (4.3), we rewrite F as

$$ F = 1 + \alpha \bigl(e^{2\pi i\zeta} + e^{ - 2\pi i\zeta} \bigr) + \alpha^{4}\bigl(e^{4\pi i\zeta} + e^{ - 4\pi i\zeta} \bigr) + \cdots, $$
(4.9)

where \(\alpha = e^{\pi i\tau} \).

Setting

$$K = 2\pi ik, \qquad L = 2\pi il, \qquad \varOmega = 2\pi i\omega,\qquad \zeta ' = Kx + Ly + \varOmega t + \pi i\tau, $$

we get

$$\begin{aligned} F =& 1 + \alpha \bigl(e^{2\pi i\zeta} + e^{ - 2\pi i\zeta} \bigr) + \alpha^{4}\bigl(e^{4\pi i\zeta} + e^{ - 4\pi i\zeta} \bigr) + \cdots \\ =& 1 + e^{\zeta '} + \alpha^{2}\bigl(e^{ - \zeta '} + e^{2\zeta '}\bigr) + \alpha^{6}\bigl(e^{ - 2\zeta '} + e^{3\zeta '}\bigr) + \cdots \\ \to& 1 + e^{\zeta '},\quad \mbox{as } \alpha \to 0 . \end{aligned}$$
(4.10)

Thus, the periodic wave solution (4.8) turns to the soliton solution

$$ u = 2(\ln F)_{x},\qquad F = 1 + e^{\zeta '},\qquad \zeta ' = Kx + Ly + \varOmega t + \pi i\tau, $$
(4.11)

if we can prove that

$$ \varOmega \to - \frac{K^{3}}{4} - \frac{3L^{2}}{4K}. $$
(4.12)

In fact, it is easy to known that

$$\begin{aligned} &A_{11} = - 128\pi^{2}k\bigl(\alpha^{2} + 4 \alpha^{8} + \cdots \bigr),\qquad A_{12} = 1 + 2\alpha^{2} + 2\alpha^{8} + \cdots, \\ &A_{21} = - 32\pi^{2}k\bigl(\alpha + 9\alpha^{5} + \cdots \bigr),\qquad A_{22} = 2\alpha + 2\alpha^{5} + \cdots, \\ &B_{1} = 2\bigl(256\pi^{4}k^{4} - 48 \pi^{2}l^{2}\bigr)\alpha^{2} + 2\bigl(256 \pi^{4}2^{4}k^{4} - 48\pi^{2}2^{2}l^{2} \bigr)\alpha^{8} + \cdots, \\ &B_{2} = - 2\bigl(16\pi^{4}k^{4} - 12 \pi^{2}l^{2}\bigr)\alpha + 2\bigl(16\pi^{4}3^{4}k^{4} - 12\pi^{2}3^{2}l^{2}\bigr)\alpha^{5} + \cdots, \end{aligned}$$

which lead to

$$\begin{aligned} \begin{aligned} &B_{1}A_{22} - A_{12}B_{2} = 2\bigl(16\pi^{4}k^{4} - 12\pi^{2}l^{2} \bigr)\alpha + o(\alpha ),\\ & A_{11}A_{22} - A_{12}A_{21} = 32\pi^{2}k\alpha + o(\alpha ), \end{aligned} \end{aligned}$$
(4.13)

According to (4.7), we get

$$ \omega \to \pi^{2}k^{3} - \frac{3l^{2}}{4k},\quad \mbox{as } \alpha \to 0 , $$
(4.14)

which is equivalent to

$$\varOmega \to - \frac{K^{3}}{4} - \frac{3L^{2}}{4K},\quad \mbox{as } \alpha \to 0. $$

4.2 (\(3+1\))-dimensional potential-YTSF equation

By a similar analysis process as in Sect. 4.1, we have

$$\begin{aligned} &\bar{G}(0) = \sum_{n = - \infty}^{\infty} \bigl[64 \pi^{2}n^{2}k\omega + 256\pi^{4}n^{4}k^{3}m - 48\pi^{2}n^{2}l^{2} + \lambda \bigr] e^{2\pi in^{2}\tau} = 0, \end{aligned}$$
(4.15)
$$\begin{aligned} &\bar{G}(1) = \sum_{n = - \infty}^{\infty} \bigl[16 \pi^{2}(2n - 1)^{2}k\omega + 16\pi^{4}(2n - 1)^{4}k^{3}m - 12\pi^{2}(2n - 1)^{2}l^{2} + \lambda \bigr] \\ &\hphantom{\bar{G}(1) =}{}\times e^{\pi i(n^{2} + (n - 1)^{2})\tau} = 0. \end{aligned}$$
(4.16)

Denote

$$\begin{aligned} &\Delta_{1}(n) = e^{2\pi in^{2}\tau},\qquad \Delta_{2}(n) = e^{\pi i(n^{2} + (n - 1)^{2})\tau},\\\ & A_{11} = \sum_{n = - \infty}^{\infty} 6 4\pi^{2}n^{2}k\Delta_{1}(n), \qquad A_{12} = \sum_{n = - \infty}^{\infty} \Delta_{1} (n),\\ &A_{21} = \sum _{n = - \infty}^{\infty} 1 6\pi^{2}(2n - 1)^{2}k\Delta_{2}(n),\qquad A_{22} = \sum _{n = - \infty}^{\infty} \Delta_{2} (n), \\ &B_{1} = - \sum_{n = - \infty}^{\infty} \bigl( 256\pi^{4}n^{4}k^{3}m - 48 \pi^{2}n^{2}l^{2}\bigr)\Delta_{1}(n), \\ & B_{2} = - \sum_{n = - \infty}^{\infty} \bigl[16\pi^{4}(2n - 1)^{4}k^{3}m - 12 \pi^{2}(2n - 1)^{2}l^{2}\bigr] \Delta_{2}(n). \end{aligned}$$

Then Eqs. (4.15) and (4.16) can be written as

$$A_{11}\omega + A_{12}\lambda = B_{1},\qquad A_{21}\omega + A_{22}\lambda = B_{2}. $$

By solving the system, we get

$$ \omega = \frac{B_{1}A_{22} - A_{12}B_{2}}{A_{11}A_{22} - A_{12}A_{21}},\qquad \lambda = \frac{A_{11}B_{2} - A_{21}B_{1}}{A_{11}A_{22} - A_{12}A_{21}}. $$
(4.17)

Thus, the periodic wave solution is given by

$$ u = \frac{3}{2}(\ln F)_{x}, $$
(4.18)

where ω and F are determined by Eqs. (4.17) and (4.3), respectively.

From Eq. (4.3), we rewrite F as

$$ F = 1 + \delta \bigl(e^{2\pi i\zeta} + e^{ - 2\pi i\zeta} \bigr) + \delta^{4}\bigl(e^{4\pi i\zeta} + e^{ - 4\pi i\zeta} \bigr) + \cdots, $$
(4.19)

where \(\delta = e^{\pi i\tau} \).

Setting

$$\begin{aligned} &K = 2\pi ik,\qquad L = 2\pi il,\qquad M = 2\pi im, \qquad \varOmega = 2\pi i \omega,\\ & \zeta' = Kx + Ly + Mz + \varOmega t + \pi i\tau, \end{aligned}$$

yields

$$\begin{aligned} F =& 1 + \delta \bigl(e^{2\pi i\zeta} + e^{ - 2\pi i\zeta} \bigr) + \delta^{4}\bigl(e^{4\pi i\zeta} + e^{ - 4\pi i\zeta} \bigr) + \cdots \\ =& 1 + e^{\zeta '} + \delta^{2}\bigl(e^{ - \zeta '} + e^{2\zeta '}\bigr) + \delta^{6}\bigl(e^{ - 2\zeta '} + e^{3\zeta '}\bigr) + \cdots \\ \to& 1 + e^{\zeta '},\quad \mbox{as } \delta \to 0 . \end{aligned}$$
(4.20)

Thus, if we can prove that

$$ \varOmega \to \frac{K^{2}M}{4} + \frac{3L^{2}}{4K},\quad \mbox{as } \delta \to 0, $$
(4.21)

the periodic wave solution (4.18) turns to the soliton solution

$$ u = \frac{3}{2}(\ln F)_{x},\qquad F = 1 + e^{\zeta '}, \qquad \zeta ' = Kx + Ly + Mz + \varOmega t + \pi i\tau. $$
(4.22)

In fact, it is easy to known that

$$\begin{aligned} &A_{11} = 128\pi^{2}k\bigl(\delta^{2} + 4 \delta^{8} + \cdots \bigr), \\ &A_{12} = 1 + 2\delta^{2} + 2\delta^{8} + \cdots, \qquad A_{21} = 32\pi^{2}k\bigl(\delta + 9 \delta^{5} + \cdots \bigr),\qquad A_{22} = 2\delta + 2 \delta^{5} + \cdots, \\ &B_{1} = 2\bigl(256\pi^{4}k^{3}m - 48 \pi^{2}l^{2}\bigr)\delta^{2} + 2\bigl(256 \pi^{4}2^{4}k^{3}m - 48\pi^{2}2^{2}l^{2} \bigr)\delta^{8} + \cdots, \\ &B_{2} = - 2\bigl(16\pi^{4}k^{3}m - 12 \pi^{2}l^{2}\bigr)\delta + 2\bigl(16\pi^{4}3^{4}k^{3}m - 12\pi^{2}3^{2}l^{2}\bigr)\delta^{5} + \cdots, \end{aligned}$$

which lead to

$$\begin{aligned} &B_{1}A_{22} - A_{12}B_{2} = 2\bigl(16 \pi^{4}k^{3}m - 12\pi^{2}l^{2}\bigr) \delta + o(\delta ),\\ & A_{11}A_{22} - A_{12}A_{21} = - 32\pi^{2}k\delta + o(\delta ). \end{aligned}$$

According to (4.17), we get

$$\omega \to - \pi^{2}k^{2}m + \frac{3l^{2}}{4k},\quad \mbox{as } \delta \to 0, $$

which is equivalent to

$$\varOmega \to \frac{K^{2}M}{4} + \frac{3L^{2}}{4K},\quad \mbox{as } \delta \to 0. $$

5 Discussion and conclusion

In the present paper, we investigate the (\(2+1\))-dimensional potential KP equation and (\(3+1\))-dimensional potential-YTSF equation based on the Hirota method and the Riemann theta function. As a result, we obtain the bilinear form and N-soliton solutions of the (\(3+1\))-dimensional potential-YTSF equation under constraint conditions. By virtue of the Hirota method and the Riemann theta function, periodic wave solutions have been presented. And via asymptotic analysis, classical soliton solutions have been derived from their periodic wave solutions. Finally, it is worthwhile to note that the Hirota direct method can be applied to other variable coefficient NLEEs in mathematical physics.