1 Introduction

Since the relationship of different biological species is very common in nature, many scholars have done a lot of works in this field [14]. In the real world, some biological species can release toxic substances that can affect the growth of other species. These toxic substances can even affect the living environment of human beings, so it is important to study the dynamics of the population models. In [5], Chattopadhyay studied the local and global stability of the interior equilibrium of a two-species competitive system with toxic substances. This work suggests that the toxic substance has the stabilizing effect on the model. In [6], Kar and Chaudhuri considered a two-species competing fish model with harvesting effect and toxic substances. They mainly studied the stability of the interior equilibrium. In addition, reaction–diffusion models arise in a variety of real world problems, such as in physical [7], chemical [8] and biological [9] applications. In [9], Zhang and Zhao proposed a diffusive predator–prey model with the toxic substance of the following form:

$$ \textstyle\begin{cases} \frac{\partial u(t,x)}{\partial t}=D_{1} \Delta u +r u(1-\frac{u}{K})- \frac{m u v}{\alpha + u}, & x\in \Omega , t>0, \\ \frac{\partial {v(t,x)}}{\partial t}=D_{2} \Delta v +\epsilon v(1- \frac{h v}{u})-\beta u v^{2}, & x\in \Omega , t>0, \\ \frac{\partial {u(x,t)}}{\partial {\nu }}= \frac{\partial {v(x,t)}}{\partial {\nu }}=0, & x\in \partial {\Omega }, t>0, \\ u(0,x)=u_{0}(x)\geq 0,\qquad v(0,x)=v_{0}(x)\geq 0, & x\in \Omega . \end{cases} $$
(1.1)

All parameters are positive; u and v denote the densities of prey and predator, respectively; r and ϵ denote the growth rates of prey and predator, respectively; \(D_{1}\) and \(D_{2}\) are diffusion coefficients of prey and predator, respectively; K is the environmental capacity of prey. The functional response is of Holling II-type; β represents the efficiency toxic substance released by prey. They mainly studied the stability of the constant positive steady states and existence of the nonconstant positive steady states.

In the real world, time delay and asymptotic behaviors are widely studied toward the comprehension of growth process for biological species [1013], such as gestation delay, maturation time, capturing time, and so on. Additionally, related analysis of characteristic equations also appear in the description of equilibrium models for other sciences, as, for instance, in civil engineering; see [14]. Differential equations with time delay often cause periodic oscillations, and show more abundant dynamic properties [15, 16]. In [17], the authors studied the Hopf–Hopf bifurcation in a predator–prey with predator cannibalism and time delay. In [18], the authors studied the Hopf–zero bifurcation in a delayed predator–prey model with dormancy of predators. These results all suggest that the time delay can enrich the dynamic properties of the predator–prey models.

Using the following parameters transformation:

$$\begin{aligned}& rt=\overline{t},\qquad \frac{u}{K}=\overline{u}, \qquad \frac{hv}{K}= \overline{v},\qquad d_{1}=\frac{D_{1}}{r},\qquad d_{2}= \frac{D_{2}}{r}, \\& a= \frac{K}{\alpha },\qquad b=\frac{mK}{\alpha hr},\qquad c= \frac{\epsilon }{rK},\qquad s= \frac{\beta K^{3}}{h \epsilon }, \end{aligned}$$

the model (1.1) becomes

$$ \textstyle\begin{cases} \frac{\partial {u}}{\partial {t}}=d_{1} \Delta u +u (1-u)- \frac{b u v}{1+au}, \\ \frac{\partial {v}}{\partial {t}}=d_{2}\Delta v +c v(1- \frac{v}{u}-suv). \end{cases} $$
(1.2)

Based on the model (1.2), we consider the following delay model:

$$ \textstyle\begin{cases} \frac{\partial {u(x,t)}}{\partial {t}}=d_{1} \Delta u +u (1-u(t-\tau ))- \frac{b u v}{1+a u}, & x\in \Omega , t>0, \\ \frac{\partial {v(x,t)}}{\partial {t}}=d_{2}\Delta v +c v(1-\frac{v}{u}-s u v), & x\in \Omega , t>0, \\ \frac{\partial {u(x,t)}}{\partial {\nu }}= \frac{\partial {v(x,t)}}{\partial {\nu }}=0, & x\in \partial {\Omega }, t>0, \\ u(x,t)=u_{1}(x,t)\geq 0,\qquad v(x,t)=v_{1}(x,t)\geq 0, &x\in \Omega , t \in [-\tau ,0]. \end{cases} $$
(1.3)

All parameters are positive; τ is the resource limitation of the prey logistic equation. For convenience, we denote \(\Omega =(0, l\pi )\). The aim of this paper is to study the effect of time delay on the model (1.3). Compare with the model (1.1), whether some new dynamical phenomena occurs.

The organization of this paper is as follows. In Sect. 2, we study the existence of equilibria. In Sect. 3, we analyze the stability of the positive equilibrium, the existence of Hopf bifurcation, and the property of bifurcating periodic solutions. In Sect. 4, we give a numerical simulation. At last, we give a brief conclusion.

2 Existence of equilibria

The equilibria of model (1.3) are the roots of the following equations:

$$ \textstyle\begin{cases} u (1-u)- \frac{b u v}{1+au}=0, \\ c v(1- \frac{v}{u}-suv)=0. \end{cases} $$
(2.1)

Lemma 2.1

For the model (1.3), the following statements are true:

  1. (1)

    The model (1.3) has a boundary equilibrium \((1,0)\).

  2. (2)

    The model (1.3) has at least one positive equilibrium.

  3. (3)

    Under hypothesis \({(\mathbf{H}_{\mathbf{0}})}\), \(0< s< a<1\), the model (1.3) has a unique positive equilibrium.

Proof

Obviously, the model (1.3) has a boundary equilibrium \((1,0)\). Now, we consider the existence of positive equilibrium denoted as \((u_{*},v_{*})\). From the first equation in (2.1), we have \(v_{*}=\frac{(1-u_{*}) (a u_{*}+1)}{b}\). From the second equation in (2.1), we have \(v_{*}=\frac{u_{*}}{s u_{*}^{2}+1}>0\). Then we can obtain that \(u_{*}\) is the positive root of the following equation:

$$ h(u)=a s u^{4}+(1-a) s u^{3}+(a-s)u^{2}+(1+b-a)u-1=0. $$
(2.2)

It is not difficult to obtain that \(h(0)=-1\), \({\lim_{x \to \infty }} h(u)=+\infty \). Thus Eq. (2.2) has at least one positive root, which means that the model (1.3) has at least one positive equilibrium. In addition, by the Descartes’s rule of signs, Eq. (2.2) has a unique positive root under condition \(0< s< a<1\), which means that the model (1.3) has a unique positive equilibrium. □

In the rest of this paper, we denote the positive equilibrium as \((u_{*},v_{*})\), where \(v_{*}=\frac{u_{*}}{s u_{*}^{2}+1}\).

3 Stability analysis

Linearize system (1.3) at \((u_{*},v_{*})\) as follows:

$$ \begin{pmatrix} \frac{\partial {u}}{\partial {t}} \\ \frac{\partial {v}}{\partial {t}} \end{pmatrix}=d\Delta \begin{pmatrix} u(t) \\ v(t) \end{pmatrix} +L_{1} \begin{pmatrix} u(t) \\ v(t) \end{pmatrix} +L_{2} \begin{pmatrix} u(t-\tau ) \\ v(t-\tau ) \end{pmatrix}, $$
(3.1)

where

$$ L_{1}= \begin{pmatrix} a_{1} & -a_{2} \\ c a_{3} & c \end{pmatrix},\qquad L_{2}= \begin{pmatrix} -u_{*} & 0 \\ 0 & 0 \end{pmatrix}, $$

and

$$ a_{1}= \frac{a b u_{*}^{2}}{(a u_{*}+1)^{2} (s u_{*}^{2}+1 )}>0 ,\qquad a_{2}=\frac{b u_{*}}{a u_{*}+1}>0,\qquad a_{3}= \frac{1-s u_{*}^{2}}{ (s u_{*}^{2}+1 )^{2}}. $$
(3.2)

The characteristic equation of (3.1) is

$$ \det \bigl(\lambda I-M_{n}-L_{1}-L_{2}e^{-\lambda \tau } \bigr)=0, $$
(3.3)

where \(I=\operatorname{diag}\{1,1\}\) and \(M_{n}=-n^{2}/l^{2}\operatorname{diag}\{d_{1},d_{2}\}\), \(n \in \mathbb{N}_{0}\). Then, we have

$$ \lambda ^{2}+ \lambda A_{n} +B_{n} +(C_{n}+\lambda u_{*}) e^{-\lambda \tau } =0,\quad n \in \mathbb{N}_{0}\triangleq \{0\} \cup \mathbb{N}, $$
(3.4)

where

$$ \begin{aligned} &A_{n}=(d_{1}+d_{2}) \frac{n^{2}}{l^{2}} -(a_{1} +c), \\ &B_{n}=d_{1} d_{2}\frac{n^{4}}{l^{4}} -(a_{1} d_{2}+c d_{1}) \frac{n^{2}}{l^{2}}+c (a_{1}+a_{2} a_{3} ), \\ &C_{n}=d_{2} u_{*} \frac{n^{2}}{l^{2}}-c u_{*}. \end{aligned} $$

3.1 The case of \(\tau =0\)

When \(\tau =0\), the characteristic Eq. (1.3) reduces to the following equation:

$$ \lambda ^{2}- T_{n}\lambda +D_{n}=0,\quad n \in \mathbb{N}_{0}, $$
(3.5)

where

$$ \begin{aligned} &T_{n} =-A_{n}-u_{*}=-(d_{1}+d_{2}) \frac{n^{2}}{l^{2}} +c- \tilde{c}, \\ &D_{n} =B_{n}+C_{n}=d_{1} d_{2}\frac{n^{4}}{l^{4}} - (c d_{1}- \tilde{c} d_{2} )\frac{n^{2}}{l^{2}}+c (a_{2} a_{3}- \tilde{c}), \\ &\tilde{c} \triangleq u_{*}-a_{1}= \frac{u_{*} (2 a u_{*}+1-a)}{a u_{*}+1} \end{aligned} $$
(3.6)

for \(n \in \mathbb{N}_{0}\). The eigenvalues are given by

$$ \lambda _{1,2}^{(n)}=\frac{T_{n}\pm \sqrt{T_{n}^{2}-4 D_{n}}}{2},\quad n \in \mathbb{N}_{0}. $$
(3.7)

We consider the following hypotheses:

$$ \begin{aligned} {(\mathbf{H}_{\mathbf{1}})}&\quad 0< c< \tilde{c}, \\ {(\mathbf{H}_{\mathbf{2}})}&\quad 0< c\leq \frac{d_{2}}{d_{1}}\tilde{c},\qquad 0< b< \frac{2 (1-u_{*})^{2} (a u_{*}+1)^{2}}{u_{*} (a u_{*}^{2}+1 )}. \end{aligned} $$
(3.8)

By direct calculation, we can get the following remark.

Remark 3.1

Hypothesis \({(\mathbf{H}_{\mathbf{0}})}\) is a sufficient condition for \(\tilde{c}>0\). If Hypothesis \({(\mathbf{H}_{\mathbf{1}})}\) holds, then \(T_{n}<0\) for \(n \in \mathbb{N}_{0}\). If Hypothesis \({(\mathbf{H}_{\mathbf{2}})}\) holds, then \(D_{n}>0\) for \(n \in \mathbb{N}_{0}\).

Theorem 3.1

When \(\tau =0\), the equilibrium \((u_{*},v_{*})\) is locally asymptotically stable under Hypotheses \({(\mathbf{H}_{\mathbf{1}})}\) and \({(\mathbf{H}_{\mathbf{2}})}\).

Proof

When \(\tau =0\), by Remark 3.1, we have \(T_{n}<0\) and \(D_{n}>0\) for \(n \in \mathbb{N}_{0}\) under Hypotheses \({(\mathbf{H}_{\mathbf{1}})}\) and \({(\mathbf{H}_{\mathbf{2}})}\). Then the eigenvalues (3.7) all have negative real parts, which can guarantee the statement in Theorem 3.1. □

3.2 The case of \(\tau >0\)

To study the stability of \(E_{*}(u_{*},v_{*})\) when \(\tau >0\), we suppose \({{(\mathbf{H}_{\mathbf{1}})}}\) and \({(\mathbf{H}_{\mathbf{2}})}\) hold. Let iω (\(\omega >0\)) be a solution of Eq. (3.4). We have

$$ - \omega ^{2}+{\mathrm{i}}\omega A_{n}+B_{n}+(C_{n}+{ \mathrm{i}}\omega u_{*}) (\cos \omega \tau - {\mathrm{i}} \sin \omega \tau ) =0. $$

Then we have

$$ \textstyle\begin{cases} -\omega ^{2}+B_{n}+C_{n} \cos \omega \tau +\omega u_{*} \sin \omega \tau =0, \\ A_{n} \omega - C_{n} \sin \omega \tau +\omega u_{*} \cos \omega \tau =0, \end{cases} $$
(3.9)

leading to

$$ \omega ^{4}+\bigl(A_{n}^{2}-2 B_{n}- u_{*}^{2}\bigr) \omega ^{2}+B_{n}^{2}-C_{n}^{2}=0. $$
(3.10)

Denote \(z = \omega ^{2}\). Then (3.10) can be changed into

$$ z^{2}+\bigl(A_{n}^{2}-2 B_{n}- u_{*}^{2}\bigr)z+B_{n}^{2}-C_{n}^{2}=0, $$
(3.11)

and the roots of (3.11) are

$$ z_{n}^{\pm }=\frac{1}{2}\bigl[- \bigl(A_{n}^{2}-2 B_{n}- u_{*}^{2}\bigr) \pm \sqrt{\bigl(A_{n}^{2}-2 B_{n}- u_{*}^{2}\bigr)^{2}-4 \bigl(B_{n}^{2}-C_{n}^{2}\bigr)} \bigr]. $$

By direct computation,

$$\begin{aligned}& A_{n}^{2}-2 B_{n}- u_{*}^{2}= \bigl(d_{1}^{2}+d_{2}^{2} \bigr)\frac{n^{4}}{l^{4}}-2 (a_{1} d_{1}+c d_{2} ) \frac{n^{2}}{l^{2}}-c(2 a_{2} a_{3}-c)- \bigl(u_{*}^{2}-a_{1}^{2} \bigr), \\& B_{n}-C_{n}=d_{1} d_{2} \frac{ n^{4}}{l^{4}}- \bigl[c d_{1}+\bigl(d_{2} (a_{1}+u_{*})\bigr) \bigr]\frac{n^{2} }{l^{2}}+c(a_{1}+a_{2} a_{3}+u_{*}), \\& B_{n}+C_{n}=d_{1} d_{2} \frac{n^{4}}{l^{4}} - (c d_{1}-\tilde{c} d_{2} ) \frac{n^{2}}{l^{2}}+c (a_{2} a_{3}-\tilde{c})=D_{n}>0. \end{aligned}$$

Fix parameters a, b, c, s, define

$$ \mathcal{D}=\{k\in \mathbb{N}_{0} \mid \mbox{Eq. (3.11) has positive roots with } n = k\}. $$
(3.12)

Under \({{(\mathbf{H}_{\mathbf{1}})}}\) and \({(\mathbf{H}_{\mathbf{2}})}\), we can obtain

$$ A_{0}^{2}-2 B_{0}- u_{*}^{2}< 0,\qquad B_{0}-C_{0}>0, $$

and

$$ \bigl(A_{0}^{2}-2 B_{0}- u_{*}^{2}\bigr)^{2}-4\bigl(B_{0}^{2}-C_{0}^{2} \bigr)=2 c^{2} \bigl(u_{*}^{2}-a_{1}^{2} \bigr)+ \bigl(a_{1}^{2}-u_{*}^{2} \bigr)^{2}+4 a_{2} a_{3} c \bigl(u_{*}^{2}-(a_{1}+c)^{2} \bigr)+c^{4}>0. $$

This means that Eq. (3.11) has at least a pair of positive roots \(z_{0}^{\pm }\). Then \(\mathcal{D}\neq \emptyset \).

For \(n\in \mathcal{D}\), if \(z^{+}>0\), then Eq. (3.4) has a pair of purely imaginary roots \(\pm {\mathrm{i}}\omega ^{+}_{n}\) at \(\tau ^{j,+}_{n}\), \(j \in \mathbb{N}_{0}\). If \(z^{-}>0\), then Eq. (3.4) has a pair of purely imaginary roots \(\pm {\mathrm{i}}\omega ^{-}_{n}\) at \(\tau ^{j,-}_{n}\), \(j \in \mathbb{N}_{0}\), where

$$ \begin{aligned} &\omega ^{\pm }_{n}= \sqrt{z_{n}^{\pm }}, \qquad \tau ^{j,\pm }_{n}= \tau ^{0,\pm }_{n}+ \frac{2j\pi }{\omega ^{\pm }_{n}}\quad (j=0,1,2,\dots ), \\ &\tau ^{0,\pm }_{n}= \textstyle\begin{cases} \frac{1}{\omega ^{\pm }_{n}} \arccos(V_{\cos }), & V_{\sin }\geq 0, \\ \frac{1}{\omega ^{\pm }_{n}} [2 \pi - \arccos(V_{\cos }) ], & V_{\sin }< 0, \end{cases}\displaystyle \\ &V_{\cos }= \frac{(C_{n}-u_{*}A_{n})(\omega ^{\pm }_{n})^{2}-B_{n}C_{n}}{C_{n}^{2}+u_{*}^{2} (\omega ^{\pm }_{n})^{2}}, \qquad V_{ \sin }= \frac{\omega ^{\pm }_{n}[A_{n} C_{n}-B_{n} u_{*}+u_{*} (\omega ^{\pm }_{n})^{2}]}{C_{n}^{2}+u_{*}^{2} (\omega ^{\pm }_{n})^{2}}. \end{aligned} $$
(3.13)

From (3.13), we have \(\tau ^{0,\pm }_{n}<\tau ^{j,\pm }_{n}\) \((j\in \mathbb{N})\). For \(k\in \mathcal{D}\), define the smallest τ so that the stability will change, \(\tau _{*}=\min\{\tau ^{0,\pm }_{k} \mbox{ or } \tau ^{0,+}_{k} \mid k \in \mathcal{D} \}\).

Lemma 3.1

Suppose \({{(\mathbf{H}_{\mathbf{1}})}}\) (or \({(\mathbf{H}_{\mathbf{2}})}\)) holds. If \((A_{n}^{2}-2 B_{n}- u_{*}^{2})^{2}-4(B_{n}^{2}-C_{n}^{2})>0\), then \(\operatorname{Re}(\frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,+}_{n}}>0\), \(\operatorname{Re} ( \frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,-}_{n}}<0\) for \(\tau \in \mathcal{D}\) and \(j \in \mathbb{N}_{0}\).

Proof

Differentiating two sides of (3.4) with respect τ, we have

$$ \biggl(\frac{d \lambda }{d \tau }\biggr)^{-1}= \frac{2 \lambda +A_{n}+u_{*}e^{-\lambda \tau }}{\lambda (C_{n}+\lambda u_{*}) e^{-\lambda \tau }}- \frac{\tau }{\lambda }. $$

Then

$$ \begin{aligned} \biggl[\operatorname{Re}\biggl(\frac{d \lambda }{d \tau } \biggr)^{-1}\biggr]_{\tau =\tau ^{j, \pm }_{n}}&=\operatorname{Re}\biggl[ \frac{2 \lambda +A_{n}+u_{*}e^{-\lambda \tau }}{\lambda (C_{n} +\lambda u_{*}) e^{-\lambda \tau }}- \frac{\tau }{\lambda }\biggr]_{\tau =\tau ^{j,\pm }_{n}} \\ &=\biggl[\frac{1}{\Lambda } \bigl(2\omega ^{2}+A_{n}^{2}-2 B_{n}-u_{*}^{2} \bigr)\biggr]_{ \tau =\tau ^{j,\pm }_{n}} \\ &=\pm \biggl[\frac{1}{\Lambda } \sqrt{\bigl(A_{n}^{2}-2 B_{n}-u_{*}^{2}\bigr)^{2}-4 \bigl(B_{n}^{2}-C_{n}^{2} \bigr)}\biggr]_{\tau =\tau ^{j,\pm }_{n}}, \end{aligned} $$

where \(\Lambda =\omega ^{2} u_{*}^{2} +C^{2}_{n} >0\). Therefore \(\operatorname{Re}(\frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,+}_{n}}>0\), \(\operatorname{Re} ( \frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,-}_{n}}<0\). □

Theorem 3.2

Suppose \({{(\mathbf{H}_{\mathbf{1}})}}\) and \({(\mathbf{H}_{\mathbf{2}})}\) hold. For system (1.3), the following statements are true:

  1. (1)

    \(E_{*}(u_{*},v_{*})\) is locally asymptotically stable for \(\tau \in [0,\tau _{*})\), and unstable for \(\tau \in [\tau _{*},\tau _{*}+\epsilon )\) with some ϵ.

  2. (2)

    System (1.3) undergoes a Hopf bifurcation at the equilibrium \(E_{*}(u_{*},v_{*})\) when \(\tau =\tau ^{j,+}_{n}\) (or \(\tau =\tau ^{j,-}_{n}\)), \(j\in \mathbb{N}_{0}\), \(n \in \mathcal{D}\), where \(\tau ^{j,\pm }_{n}\) is defined in (3.13).

Remark 3.2

From Lemma (3.1), we obtain \(\operatorname{Re}(\frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,+}_{n}}>0\), \(\operatorname{Re} ( \frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,-}_{n}}<0\) for \(\tau \in \mathcal{D}\) and \(j \in \mathbb{N}_{0}\), then the stability switch may exist.

3.3 Properties of Hopf bifurcation

Now, we will study the property of Hopf bifurcation by the method exploited in [19, 20]. For a critical value \(\tau ^{j,+}_{n}\) (or \(\tau ^{j,-}_{n}\)), we denote it as τ̃. Let \(\tilde{u}(x,t)=u(x,\tau t)-u_{*}\) and \(\tilde{v}(x,t)=v(x,\tau t)-v_{*}\). Then the system (1.3) is (dropping the tilde)

$$ \textstyle\begin{cases} \frac{\partial {u}}{\partial {t}}=\tau [d_{1} \Delta u + (u+u_{*} ) (1-u(t-1)-u_{*}- \frac{b (u+u_{*} ) (v+v_{*} )}{1+a (u+u_{*} )} ) ], \\ \frac{\partial {v}}{\partial {t}}=\tau [d_{2} \Delta v +c (v+v_{*} ) (1-\frac{v+v_{*}}{u+u_{*}} -s (u+u_{*} ) (v+v_{*} ) ) ]. \end{cases} $$
(3.14)

Denote \(\tau =\tilde{\tau }+\varepsilon \), and \(U=(u(x,t),v(x,t))^{T}\). In the phase space \(\mathscr{C}_{1}:=C([-1,0],X)\), (3.14) can be rewritten as

$$ \frac{dU(t)}{dt}=\tilde{\tau }D\Delta U(t)+L_{ \tilde{\tau }}(U_{t})+F(U_{t}, \varepsilon ), $$
(3.15)

where \(L_{\varepsilon }(\varphi )\) and \(F(\varphi ,\varepsilon )\) are

$$\begin{aligned}& L_{\varepsilon }(\phi )=\varepsilon \begin{pmatrix} a_{1} \phi _{1}(0)-a_{2} \phi _{2}(0)-u_{*}\phi _{1}(-1) \\ c a_{3}\phi _{1}(0)+c\phi _{2}(0) \end{pmatrix}, \end{aligned}$$
(3.16)
$$\begin{aligned}& F(\phi ,\varepsilon )=\varepsilon D\Delta \phi +L_{\varepsilon }(\phi )+f( \phi ,\varepsilon ), \end{aligned}$$
(3.17)

with

$$\begin{aligned}& f(\phi ,\varepsilon )=(\tilde{\tau }+\varepsilon ) \bigl(F_{1}( \phi ,\varepsilon ),F_{2}(\phi ,\varepsilon )\bigr)^{T}, \\& \begin{aligned} F_{1}(\phi ,\varepsilon )={}& \bigl(\phi _{1}(0)+u_{*} \bigr) \biggl(1- \phi _{1}(-1)-u_{*}- \frac{b (\phi _{1}(0)+u_{*} ) (\phi _{2}(0)+v_{*} )}{1+a (\phi _{1}(0)+u_{*} )} \biggr) \\ &{} -a_{1} \phi _{1}(0)+a_{2} \phi _{2}(0)+u_{*}\phi _{1}(-1), \end{aligned} \\& \begin{aligned} F_{2}(\phi ,\varepsilon )={}&c \bigl(\phi _{2}(0)+v_{*} \bigr) \biggl(1- \frac{\phi _{2}(0)+v_{*}}{\phi _{1}(0)+u_{*}} -s \bigl(\phi _{1}(0)+u_{*} \bigr) \bigl(\phi _{2}(0)+v_{*} \bigr) \biggr) \\ &{}-c a_{3}\phi _{1}(0)-c \phi _{2}(0). \end{aligned} \end{aligned}$$

respectively, for \(\phi =(\phi _{1}, \phi _{2})^{T} \in \mathscr{C}_{1}\).

Consider the linear equation

$$ \frac{dU(t)}{dt}=\tilde{\tau } D \Delta U(t)+L_{\tilde{\tau }}(U_{t}). $$
(3.18)

We know that \(\Lambda _{n}:=\{{\mathrm{i}}\omega _{n} \tilde{\tau },-{\mathrm{i}}\omega _{n} \tilde{\tau }\}\) are characteristic roots of

$$ \frac{dz(t)}{dt}=-\tilde{\tau } D\frac{n^{2}}{l^{2}} z(t)+L_{ \tilde{\tau }}(z_{t}). $$
(3.19)

Choose

$$ \eta ^{n}(\sigma , \tau )= \textstyle\begin{cases} \tau E, & \sigma =0, \\ 0, & \sigma \in (-1,0), \\ - \tau F, & \sigma =-1, \end{cases} $$
(3.20)

where

$$ E= \begin{pmatrix} a_{1}-d_{1}\frac{n^{2}}{l^{2}} & -a_{2} \\ c a_{3} & c-d_{2}\frac{n^{2}}{l^{2}} \end{pmatrix},\qquad F= \begin{pmatrix} -u_{*} & 0 \\ 0 & 0 \end{pmatrix} . $$
(3.21)

Then

$$ -\tilde{\tau } D\frac{n^{2}}{l^{2}} \phi (0)+L_{\tilde{\tau }}(\phi )= \int _{-1}^{0}d \eta ^{n}(\sigma , \tau ) \phi (\sigma ) $$

for \(\phi \in C([-1,0],\mathbb{R}^{2})\).

Define the bilinear paring

$$ \begin{aligned} (\psi ,\varphi )_{0}&= \psi (0) \varphi (0)- \int _{-1}^{0} \int _{\xi =0}^{\sigma } \psi (\xi -\sigma )\, d\eta ^{n}(\sigma , \tilde{\tau }) \varphi (\xi )\, d \xi \\ &=\psi (0) \varphi (0)+ \tilde{\tau } \int _{-1}^{0} \psi (\xi +1) F \varphi (\xi )\, d \xi \end{aligned} $$
(3.22)

for \(\varphi \in C([-1,0],\mathbb{R}^{2})\), \(\psi \in C([0,1],\mathbb{R}^{2})\); \(A(\tilde{\tau })\) has a pair of simple purely imaginary eigenvalues \(\pm {\mathrm{i}}\omega _{n} \tilde{\tau }\), and they are also eigenvalues of \(A^{*}\).

Define \(p_{1}(\sigma )=(1,\xi )^{T}e^{{\mathrm{i}}\omega _{n} \tilde{\tau } \sigma }\) (\(\sigma \in [-1,0]\)), \(q_{1}(r)=(1,\eta )e^{-{\mathrm{i}}\omega _{n} \tilde{\tau } r}\) (\(r \in [0,1]\)), where

$$ \xi =\frac{c a_{3}}{-c+d_{2} n^{2}/l^{2}+{\mathrm{i}}\omega },\qquad \eta = \frac{a_{2}}{c-d_{2} n^{2}/l^{2}+{\mathrm{i}}\omega }. $$

Let \(\Phi =(\Phi _{1},\Phi _{2})\) and \(\Psi ^{*}=(\Psi ^{*}_{1},\Psi ^{*}_{2})^{T}\) with

$$\begin{aligned}& \Phi _{1}(\sigma )= \frac{p_{1}(\sigma )+p_{2}(\sigma )}{2}= \begin{pmatrix} \operatorname{Re} (e^{{\mathrm{i}}\omega _{n} \tilde{\tau } \sigma } ) \\ \operatorname{Re} (\xi \mathrm{e}^{{\mathrm{i}}\omega _{n} \tilde{\tau } \sigma } ) \end{pmatrix} , \\& \Phi _{2}(\sigma )= \frac{p_{1}(\sigma )-p_{2}(\sigma )}{2{\mathrm{i}}}= \begin{pmatrix} \operatorname{Im} (e^{{\mathrm{i}}\omega _{n} \tilde{\tau } \sigma } ) \\ \operatorname{Im} (\xi \mathrm{e}^{{\mathrm{i}}\omega _{n} \tilde{\tau }\sigma } ) \end{pmatrix} \end{aligned}$$

for \(\sigma \in [-1,0]\), and

$$\begin{aligned}& \Psi ^{*} _{1}(r)= \frac{q_{1}(r)+q_{2}(r)}{2}= \begin{pmatrix} \operatorname{Re} (e^{-{\mathrm{i}}\omega _{n} \tilde{\tau }\mathrm{r} } ) \\ \operatorname{Re} (\eta \mathrm{e}^{-{\mathrm{i}}\omega _{n} \tilde{\tau } \mathrm{r} } ) \end{pmatrix} , \\& \Psi ^{*} _{2}(r)= \frac{q_{1}(r)-q_{2}(r)}{2{\mathrm{i}}}= \begin{pmatrix} \operatorname{Im} (e^{-{\mathrm{i}}\omega _{n} \tilde{\tau }\mathrm{r} } ) \\ \operatorname{Im} (\eta \mathrm{e}^{-{\mathrm{i}}\omega _{n} \tilde{\tau }\mathrm{r} } ) \end{pmatrix} \end{aligned}$$

for \(r \in [0,1]\). Then we can compute by (3.22)

$$ D^{*}_{1}:=\bigl(\Psi ^{*} _{1},\Phi _{1}\bigr)_{0},\qquad D^{*}_{2}:=\bigl(\Psi ^{*} _{1}, \Phi _{2}\bigr)_{0},\qquad D^{*}_{3}:=\bigl(\Psi ^{*} _{2},\Phi _{1}\bigr)_{0},\qquad D^{*}_{4}:=\bigl( \Psi ^{*} _{2},\Phi _{2}\bigr)_{0}. $$

Define ( Ψ ,Φ)=( Ψ j , Φ k )=( D 1 D 2 D 3 D 4 ) and \(\Psi =(\Psi _{1},\Psi _{2})^{T}=(\Psi ^{*},\Phi )^{-1}\Psi ^{*} \). Then \((\Psi ,\Phi )_{0}=I_{2}\). In addition, define \(f_{n}:=(\beta ^{1}_{n},\beta ^{2}_{n})\), where

$$ \beta ^{1}_{n}= \begin{pmatrix} \cos \frac{n}{l}x \\ 0 \end{pmatrix},\qquad \beta ^{2}_{n}= \begin{pmatrix} 0 \\ \cos \frac{n}{l}x \end{pmatrix}. $$

We also define

$$ c\cdot f_{n}=c_{1} \beta ^{1}_{n}+c_{2} \beta ^{2}_{n}, \quad \mbox{for } c=(c_{1},c_{2})^{T} \in \mathscr{C}_{1} $$

and

$$ \langle u,v\rangle :=\frac{1}{l\pi } \int _{0}^{l\pi }u_{1} \overline{v_{1}}\, dx+ \frac{1}{l\pi } \int _{0}^{l\pi }u_{2} \overline{v_{2}}\, dx $$

for \(u=(u_{1},u_{2})^{T}\), \(v=(v_{1},v_{2})^{T}\), \(u,v\in X\) and \(\langle \varphi ,f_{0}\rangle =(\langle \varphi ,f^{1}_{0}\rangle , \langle \varphi ,f^{2}_{0}\rangle )^{T}\).

Rewrite Eq. (3.14) as

$$ \frac{dU(t)}{dt}=A_{\tilde{\tau }} U_{t}+R(U_{t}, \varepsilon ), $$
(3.23)

where

$$ R(U_{t},\varepsilon )= \textstyle\begin{cases} 0, & \theta \in [-1,0); \\ F(U_{t},\varepsilon ), & \theta =0. \end{cases} $$
(3.24)

The solution is

$$ U_{t}=\Phi \begin{pmatrix} x_{1} \\ x_{2} \end{pmatrix}f_{n}+h(x_{1},x_{2}, \varepsilon ), $$
(3.25)

where ( x 1 x 2 )=(Ψ, U t , f n ), and \(h(x_{1},x_{2},\varepsilon ) \in P_{S} \mathscr{C}_{1}\), \(h(0,0,0)=0\), \(Dh(0,0,0)=0 \). Then

$$ U_{t}=\Phi \begin{pmatrix} x_{1}(t) \\ x_{2}(t) \end{pmatrix}f_{n}+h(x_{1},x_{2},0). $$
(3.26)

Let \(z=x_{1}-{\mathrm{i}} x_{2}\). Then

$$ \Phi \begin{pmatrix} x_{1} \\ x_{2} \end{pmatrix}f_{n}= (\Phi _{1},\Phi _{2}) \begin{pmatrix} \frac{z+\overline{z}}{2} \\ \frac{i(z-\overline{z})}{2} \end{pmatrix}f_{n} = \frac{1}{2}(p_{1}z+ \overline{p_{1}} \overline{z})f_{n}, $$

and

$$ h(x_{1},x_{2},0)=h\biggl(\frac{z+\overline{z}}{2}, \frac{{\mathrm{i}}(z-\overline{z})}{2},0\biggr). $$

Equation (3.26) is

$$ \begin{aligned} U_{t}&= \frac{1}{2}(p_{1}z+ \overline{p_{1}} \overline{z})f_{n}+ h\biggl(\frac{z+\overline{z}}{2}, \frac{{\mathrm{i}}(z-\overline{z})}{2},0\biggr) \\ &=\frac{1}{2}(p_{1}z+ \overline{p_{1}} \overline{z})f_{n}+ W(z, \overline{z}), \end{aligned} $$
(3.27)

where

$$ W(z,\overline{z})=h\biggl(\frac{z+\overline{z}}{2}, \frac{{\mathrm{i}}(z-\overline{z})}{2},0\biggr). $$

From [19], z satisfies

$$ \dot{z}={\mathrm{i}}\omega _{n} \tilde{\tau } z +g(z, \overline{z}), $$
(3.28)

where

$$ g(z,\overline{z})=\bigl(\Psi _{1}(0)-{\mathrm{i}}\Psi _{2}(0)\bigr)\bigl\langle F(U_{t},0),f_{n}\bigr\rangle . $$
(3.29)

Let

$$\begin{aligned}& W(z,\overline{z})=W_{20} \frac{z^{2}}{2}+W_{11} z \overline{z} +W_{02} \frac{\overline{z}^{2}}{2}+\cdots , \end{aligned}$$
(3.30)
$$\begin{aligned}& g(z,\overline{z})=g_{20} \frac{z^{2}}{2}+g_{11} z \overline{z} +g_{02} \frac{\overline{z}^{2}}{2}+g_{21} \frac{z^{2}\overline{z}}{2}+\cdots , \end{aligned}$$
(3.31)

then

$$\begin{aligned}& u_{t}(0)=\frac{1}{2} (z+\overline{z})\cos \biggl( \frac{n x}{l} \biggr)+W^{(1)}_{20}(0) \frac{z^{2}}{2}+W^{(1)}_{11}(0) z \overline{z}+W^{(1)}_{02}(0) \frac{\overline{z}^{2}}{2}+\cdots , \\& v_{t}(0)=\frac{1}{2} (\xi +\overline{\xi }\overline{z}) \cos \biggl( \frac{n x}{l} \biggr)+W^{(2)}_{20}(0) \frac{z^{2}}{2}+W^{(2)}_{11}(0) z \overline{z}+W^{(2)}_{02}(0) \frac{\overline{z}^{2}}{2}+\cdots , \\& u_{t}(-1)=\frac{1}{2}\bigl(z e^{-{\mathrm{i}}\omega _{n} \tilde{\tau }}+ \overline{z} e^{{\mathrm{i}}\omega _{n} \tilde{\tau }}\bigr)\cos \biggl(\frac{n x}{l} \biggr)+W^{(1)}_{20}(-1) \frac{z^{2}}{2}+W^{(1)}_{11}(-1)z \overline{z} \\& \hphantom{u_{t}(-1)={}}{}+W^{(1)}_{02}(-1) \frac{\overline{z}^{2}}{2}+\cdots, \end{aligned}$$

and

$$\begin{aligned}& \begin{aligned} \overline{F}_{1}(U_{t},0)={}& \frac{1}{\tilde{\tau }}F_{1}=-u_{t}(0)u_{t}(-1)+ \alpha _{1} u_{t}^{2}(0)+\alpha _{2} u_{t}(0) v_{t}(0)+\alpha _{3} u_{t}^{3}(0) \\ &{} +\alpha _{4} u_{t}^{2}(0) v_{t}(0)+O(4), \end{aligned} \end{aligned}$$
(3.32)
$$\begin{aligned}& \begin{aligned} \overline{F}_{2}(U_{t},0)={}& \frac{1}{\tilde{\tau }}F_{2}= \beta _{1} u_{t}^{2}(0)+\beta _{2} u_{t}(0)v_{t}(0)+ \beta _{3} v_{t}^{2}(0)+ \beta _{4} u_{t}^{3}(0)+\beta _{5} u_{t}^{2}(0)v_{t}(0) \\ &{}+\beta _{6} u_{t}(0)v_{t}^{2}(0)+O(4), \end{aligned} \end{aligned}$$
(3.33)

with

$$ \begin{aligned} &\alpha _{1}= \frac{a b v_{*}}{(a u_{*}+1)^{3}},\qquad \alpha _{2}=-\frac{b}{(a u_{*}+1)^{2}}, \\ &\alpha _{3}=- \frac{a^{2} b v_{*}}{(a u_{*}+1)^{4}},\qquad \alpha _{4}= \frac{a b}{(a u_{*}+1)^{3}}, \\ &\beta _{1}=-\frac{c v_{*}^{2}}{u_{*}^{3}},\qquad \beta _{2}=- \frac{2 c v_{*} (s u_{*}^{2}-1 )}{u_{*}^{2}}, \qquad \beta _{3}=- \frac{c (s u_{*}^{2}+1 )}{u_{*}}, \\ &\beta _{4}=\frac{c v_{*}^{2}}{u_{*}^{4}},\qquad \beta _{5}=- \frac{2 c v_{*}}{u_{*}^{3}},\qquad \beta _{6}=- \frac{c (s u_{*}^{2}-1 )}{u_{*}^{2}}. \end{aligned} $$
(3.34)

Hence,

$$\begin{aligned}& \begin{aligned} \overline{F}_{1}(U_{t},0)={}& \cos ^{2}\biggl(\frac{n x}{l}\biggr) \biggl( \frac{z^{2}}{2}\chi _{20} +z\overline{z}\chi _{11} + \frac{\overline{z}^{2}}{2}\overline{\chi }_{20}\biggr) \\ &{}+ \frac{z^{2}\overline{z}}{2}\biggl(\chi _{1} \cos \frac{nx}{l}+\chi _{2} \cos ^{3} \frac{nx}{l}\biggr) +\cdots , \\ \overline{F}_{2}(U_{t},0)={}&\cos ^{2}\biggl( \frac{n x}{l}\biggr) \biggl(\frac{z^{2}}{2} \varsigma _{20} +z\overline{z}\varsigma _{11} + \frac{\overline{z}^{2}}{2}\overline{\varsigma }_{20}\biggr) \\ &{}+ \frac{z^{2}\overline{z}}{2}\biggl(\varsigma _{1} \cos \frac{nx}{l}+ \varsigma _{2}\cos ^{3} \frac{nx}{l}\biggr) + \cdots , \end{aligned} \end{aligned}$$
(3.35)
$$\begin{aligned}& \begin{aligned} \bigl\langle F(U_{t},0),f_{n}\bigr\rangle &= \tilde{\tau }\bigl(\bigl\langle \overline{F}_{1}(U_{t},0),f^{1}_{n}\bigr\rangle ,\bigl\langle \overline{F}_{2}(U_{t},0),f^{2}_{n}\bigr\rangle \bigr)^{T} \\ &=\frac{z^{2}}{2}\tilde{\tau } \begin{pmatrix} \chi _{20} \\ \varsigma _{20} \end{pmatrix}\Gamma +z \overline{z}\tilde{\tau } \begin{pmatrix} \chi _{11} \\ \varsigma _{11} \end{pmatrix}\Gamma +\frac{\overline{z}^{2}}{2} \tilde{\tau } \begin{pmatrix} \overline{\chi }_{20} \\ \overline{\varsigma }_{20} \end{pmatrix}\Gamma +\frac{z^{2}\overline{z}}{2}\tilde{\tau } \begin{pmatrix} \kappa _{1} \\ \kappa _{2} \end{pmatrix} +\cdots \end{aligned} \end{aligned}$$
(3.36)

with

$$\begin{aligned}& \Gamma =\frac{1}{l\pi } \int _{0}^{l\pi }\cos ^{3}\biggl( \frac{n x}{l}\biggr)\,dx, \\& \kappa _{1}=\frac{\chi _{1}}{l\pi } \int _{0}^{l\pi }\cos ^{2}\biggl( \frac{n x}{l}\biggr)\,dx +\frac{\chi _{2}}{l\pi } \int _{0}^{l\pi }\cos ^{4}\biggl( \frac{n x}{l}\biggr)\,dx, \\& \kappa _{2}=\frac{\varsigma _{1}}{l\pi } \int _{0}^{l\pi }\cos ^{2}\biggl( \frac{n x}{l}\biggr)\,dx+\frac{\varsigma _{2}}{l\pi } \int _{0}^{l\pi }\cos ^{4}\biggl( \frac{n x}{l}\biggr)\,dx, \end{aligned}$$

and

$$\begin{aligned}& \chi _{20}= \frac{1}{2} \bigl( \alpha _{1}+\xi \alpha _{2}-e^{-{ \mathrm{i}} \tilde{\tau } \omega _{n}} \bigr),\qquad \chi _{11}= -\frac{1}{4} \bigl(e^{-{\mathrm{i}} \tilde{\tau } \omega _{n}}+e^{{\mathrm{i}} \tilde{\tau } \omega _{n}}- \bigl(2 \alpha _{1}+\alpha _{2} (\overline{\xi }+ \xi ) \bigr) \bigr), \\& \begin{aligned} \chi _{1}={}& W_{11}^{(1)}(0) \bigl(2 \alpha _{1}+\alpha _{2} \xi -e^{-{\mathrm{i}} \tilde{\tau } \omega _{n}} \bigr)+W_{11}^{(2)}(0)\alpha _{2} -W_{11}^{(1)}(-1)- \frac{1}{2}W_{20}^{(1)}(-1) \\ &{} + W_{20}^{(1)}(0) \biggl(\frac{1}{2} \bigl(2 \alpha _{1}+\alpha _{2} \overline{\xi } -e^{{\mathrm{i}} \tilde{\tau } \omega _{n}} \bigr)\biggr) +W_{20}^{(2)}(0) \frac{\alpha _{2}}{2}, \end{aligned} \\& \chi _{2}= \frac{1}{4} \bigl(3 \alpha _{3}+ \alpha _{4} (\overline{\xi } +2 \xi )\bigr),\qquad \varsigma _{20}=\frac{1}{2} \bigl(\beta _{1}+\xi (\beta _{2}+ \beta _{3} \xi )\bigr), \\& \varsigma _{11}= \frac{1}{4} \bigl(2 \beta _{1}+\beta _{2} \bigl(W_{11}^{(1)}(0) +\xi \bigr)+2 \beta _{3} W_{11}^{(1)}(0) \xi \bigr), \\& \varsigma _{2}= \frac{1}{4} \bigl(3 \beta _{4}+\beta _{5} ( \overline{\xi }+2 \xi )+\beta _{6} \xi ( 2\overline{\xi } +\xi )\bigr), \\& \begin{aligned} \varsigma _{1}={}& W_{11}^{(1)}(0) (2\beta _{1}+\beta _{2} \xi )+ W_{11}^{(2)}(0) (\beta _{2}+2 \beta _{3} \xi ) \\ &{}+W_{20}^{(1)}(0) \biggl(\beta _{1}+\frac{\beta _{2} \overline{\xi }}{2} \biggr)+ W_{20}^{(2)}(0) \biggl( \frac{\beta _{2}}{2}+\beta _{3} \overline{\xi }\biggr). \end{aligned} \end{aligned}$$

Denote

$$ \Psi _{1}(0)-{\mathrm{i}}\Psi _{2}(0):=(\gamma _{1} \gamma _{2}). $$

Notice that

$$ \Gamma =\frac{1}{l\pi } \int _{0}^{l\pi }\cos ^{3} \frac{n x}{l}\,dx=0,\quad n=1,2,3, \dots , $$

and we have

$$ \begin{aligned} &\bigl(\Psi _{1}(0)-{ \mathrm{i}}\Psi _{2}(0)\bigr)\bigl\langle F(U_{t},0),f_{n}\bigr\rangle \\ &\quad =\frac{z^{2}}{2} (\gamma _{1}\chi _{20} + \gamma _{2}\varsigma _{20}) \Gamma \tilde{\tau } +z\overline{z}( \gamma _{1}\chi _{11} + \gamma _{2} \varsigma _{11})\Gamma \tilde{\tau } +\frac{\overline{z}^{2}}{2}( \gamma _{1}\overline{\chi }_{20} + \gamma _{2} \overline{\varsigma }_{20}) \Gamma \tilde{\tau } \\ &\qquad {}+\frac{z^{2}\overline{z}}{2}\tilde{\tau } [\gamma _{1} \kappa _{1} + \gamma _{2} \kappa _{2} ]+\cdots . \end{aligned} $$
(3.37)

Then by (3.29), (3.31) and (3.37), we have \(g_{20}=g_{11}=g_{02}=0\), for \(n=1,2,3,\dots \).

If \(n=0\), \(\Gamma =\frac{1}{l\pi } \int _{0}^{l\pi }\cos ^{3}\frac{n x}{l}\,dx=1\), then we have

$$ g_{20}=\gamma _{1}\tilde{\tau } \chi _{20} + \gamma _{2}\tilde{\tau } \varsigma _{20},\qquad g_{11}=\gamma _{1}\tilde{\tau }\chi _{11}+ \gamma _{2}\tilde{\tau }\varsigma _{11},\qquad g_{02}=\gamma _{1} \tilde{\tau }\overline{\chi }_{20} + \gamma _{2}\tilde{\tau } \overline{\varsigma }_{20}. $$

And for \(n\in \mathbb{N}_{0}\), \(g_{21}=\tilde{\tau }( \gamma _{1} \kappa _{1} +\gamma _{2} \kappa _{2})\). Next, we just need to compute \(W_{11}(\theta ):=(W_{11}^{(1)}(\theta ), W_{11}^{(2)}(\theta ))^{T}\) and \(W_{20}(\theta ):=(W_{20}^{(1)}(\theta ),W_{20}^{(2)}(\theta ))^{T}\).

By (3.30), we can obtain

$$\begin{aligned}& \dot{W}(z,\overline{z})=W_{20}z\dot{z}+W_{11}\dot{z} \overline{z} +W_{11} z \dot{\overline{z}} +W_{02} \overline{z} \dot{\overline{z}}+\cdots , \\& A_{\tilde{\tau }} W(z,\overline{z})=A_{\tilde{\tau }} W_{20} \frac{z^{2}}{2}+A_{\tilde{\tau }} W_{11} z \overline{z} + A_{ \tilde{\tau }} W_{02} \frac{\overline{z}^{2}}{2}+\cdots . \end{aligned}$$

From [19], we have

$$ \dot{W}(z,\overline{z})= A_{\tilde{\tau }} W+H(z,\overline{z}), $$

where

$$ \begin{aligned} H(z,\overline{z})&=H_{20} \frac{z^{2}}{2}+H_{11} z \overline{z} +H_{02} \frac{\overline{z}^{2}}{2}+\cdots \\ &=F(U_{t},0)-\Phi \bigl(\Psi ,\bigl\langle F(U_{t},0),f_{n}\bigr\rangle \bigr)_{0} \cdot f_{n}. \end{aligned} $$
(3.38)

Hence, we have

$$ (2{\mathrm{i}}\omega _{n} \tilde{\tau }- A_{\tilde{\tau }})W_{20}=H_{20},\qquad -A_{\tilde{\tau }}W_{11}=H_{11}, \qquad (-2{\mathrm{i}}\omega _{n} \tilde{\tau }- A_{\tilde{\tau }})W_{02}=H_{02}, $$
(3.39)

that is,

$$ W_{20}=(2{\mathrm{i}} \omega _{n} \tilde{\tau }- A_{ \tilde{\tau }})^{-1}H_{20},\qquad W_{11}=-A_{\tilde{\tau }} ^{-1} H_{11},\qquad W_{02}=(-2{ \mathrm{i}}\omega _{n} \tilde{\tau }- A_{\tilde{\tau }})^{-1}H_{02}. $$
(3.40)

For \(-1\leq \theta < 0\), we have

$$\begin{aligned} H(z, \overline{z})&=-\Phi (\theta ) \Psi (\theta )\bigl\langle F(U_{t}, \theta ),f_{n}\bigr\rangle \cdot f_{n} \\ & = -\biggl(\frac{p_{1}(\theta )+p_{2}(\theta )}{2}, \frac{p_{1}(\theta ) -p_{2}(\theta )}{2{\mathrm{i}}}\biggr) \begin{pmatrix} \Phi _{1}(\theta ) \\ \Phi _{2}(\theta ) \end{pmatrix} \bigl\langle F(U_{t},\theta ),f_{n}\bigr\rangle \cdot f_{n} \\ & = -\frac{1}{2}\bigl[p_{1}(\theta ) \bigl(\Phi _{1}(\theta )-{\mathrm{i}}\Phi _{2}( \theta ) \bigr)+p_{2}(\theta ) \bigl(\Phi _{1}(\theta )+{ \mathrm{i}}\Phi _{2}(\theta )\bigr)\bigr] \bigl\langle F(U_{t},\theta ),f_{n}\bigr\rangle \cdot f_{n} \\ &= -\frac{1}{2}\biggl[\bigl(p_{1}(\theta )g_{20}+p_{2}(\theta )\overline{g}_{02}\bigr) \frac{z^{2}}{2} + \bigl(p_{1}(\theta )g_{11}+p_{2}( \theta )\overline{g}_{11}\bigr)z \overline{z} \\ &\quad {}+ \bigl(p_{1}( \theta )g_{02}+p_{2}(\theta )\overline{g}_{20} \bigr) \frac{\overline{z}^{2}}{2}\biggr]+\cdots . \end{aligned}$$

Therefore,

$$\begin{aligned}& H_{20}(\theta )= \textstyle\begin{cases} 0, & n\in \mathbb{N}, \\ -\frac{1}{2}(p_{1}(\theta )g_{20}+p_{2}(\theta )\overline{g}_{02}) \cdot f_{0}, & n=0, \end{cases}\displaystyle \\& H_{11}(\theta )= \textstyle\begin{cases} 0, & n\in \mathbb{N}, \\ -\frac{1}{2}(p_{1}(\theta )g_{11}+p_{2}(\theta )\overline{g}_{11}) \cdot f_{0}, & n=0, \end{cases}\displaystyle \\& H_{02}(\theta )= \textstyle\begin{cases} 0, & n\in \mathbb{N}, \\ -\frac{1}{2}(p_{1}(\theta )g_{02}+p_{2}(\theta )\overline{g}_{20}) \cdot f_{0}, & n=0, \end{cases}\displaystyle \end{aligned}$$

and

$$ H(z,\overline{z}) (0)=F(U_{t},0)-\Phi \bigl(\Psi ,\bigl\langle F(U_{t},0),f_{n}\bigr\rangle \bigr)_{0} \cdot f_{n}, $$

where

H 20 ( 0 ) = { τ ˜ ( χ 20 ς 20 ) cos 2 ( n x l ) , n N , τ ˜ ( χ 20 ς 20 ) 1 2 ( p 1 ( 0 ) g 20 + p 2 ( 0 ) g 02 ) f 0 , n = 0 , H 11 ( 0 ) = { τ ˜ ( χ 11 ς 11 ) cos 2 ( n x l ) , n N , τ ˜ ( χ 11 ς 11 ) 1 2 ( p 1 ( 0 ) g 11 + p 2 ( 0 ) g 11 ) f 0 , n = 0 .
(3.41)

By the definition of \(A_{\tilde{\tau }}\) and (3.39), we have

$$ \dot{W}_{20}=A_{\tilde{\tau }}W_{20}=2{\mathrm{i}} \omega _{n} \tilde{\tau } W_{20}+ \frac{1}{2} \bigl(p_{1}(\theta )g_{20}+p_{2}(\theta ) \overline{g}_{02}\bigr) \cdot f_{n},\quad -1\le \theta < 0. $$

That is,

$$ W_{20}(\theta )=\frac{{\mathrm{i}}}{2{\mathrm{i}}\omega _{n} \tilde{\tau }}\biggl(g_{20} p_{1}(\theta )+\frac{\overline{g}_{02}}{3}p_{2}(\theta ) \biggr)\cdot f_{n} +E_{1} e^{2{\mathrm{i}}\omega _{n} \tilde{\tau } \theta }, $$

where

$$ E_{1}= \textstyle\begin{cases} W_{20}(0), & n=1,2,3,\dots , \\ W_{20}(0)-\frac{{\mathrm{i}}}{2{\mathrm{i}}\omega _{n} \tilde{\tau }}(g_{20} p_{1}( \theta )+\frac{\overline{g}_{02}}{3}p_{2}(\theta ))\cdot f_{0}, & n=0. \end{cases} $$

By the definition of \(A_{\tilde{\tau }}\) and (3.39), we have that for \(-1\le \theta <0\),

$$\begin{aligned}& -\biggl(g_{20}p_{1}(0)+ \frac{\overline{g}_{02}}{3}p_{2}(0)\biggr) \cdot f_{0} +2{ \mathrm{i}}\omega _{n} \tilde{\tau } E_{1}-A_{\tilde{\tau }} \biggl( \frac{{\mathrm{i}}}{2\omega _{n} \tilde{\tau }} \biggl(g_{20}p_{1}(0)+ \frac{\overline{g}_{02}}{3}p_{2}(0)\biggr) \cdot f_{0}\biggr) \\& \qquad {}-A_{\tilde{\tau }} E_{1}-L_{\tilde{\tau }}\biggl( \frac{{\mathrm{i}}}{2\omega _{n} \tilde{\tau }} \biggl(g_{20} p_{1}(0)+ \frac{\overline{g}_{02}}{3} p_{2}(0)\biggr) \cdot f_{n}+ E_{1} e^{2{\mathrm{i}} \omega _{n} \tilde{\tau } \theta }\biggr) \\& \quad =\tilde{\tau } \begin{pmatrix} \chi _{20} \\ \varsigma _{20} \end{pmatrix}-\frac{1}{2} \bigl(p_{1}(0)g_{20}+p_{2}(0) \overline{g}_{02}\bigr) \cdot f_{0}. \end{aligned}$$

As

$$ A_{\tilde{\tau }} p_{1}(0)+L_{\tilde{\tau }}(p_{1} \cdot f_{0})={\mathrm{i}} \omega _{0} p_{1}(0) \cdot f_{0} $$

and

$$ A_{\tilde{\tau }} p_{2}(0)+L_{\tilde{\tau }}(p_{2} \cdot f_{0})=-{\mathrm{i}} \omega _{0} p_{2}(0) \cdot f_{0}, $$

we have

$$ 2{\mathrm{i}}\omega _{n} E_{1}-A_{\tilde{\tau }} E_{1}-L_{ \tilde{\tau }} E_{1} e^{2{\mathrm{i}}\omega _{n}} =\tilde{\tau } \begin{pmatrix} \chi _{20} \\ \varsigma _{20} \end{pmatrix}\cos ^{2}\biggl(\frac{n x}{l}\biggr), \quad n \in \mathbb{N}_{0}. $$

That is,

$$ E_{1}=\tilde{\tau } \begin{pmatrix} 2{\mathrm{i}} \omega _{n} \tilde{\tau }+ d_{1} \frac{n^{2}}{l^{2}} -a_{1}+u_{*}e^{-2{ \mathrm{i}} \omega _{n} \tilde{\tau }} & a_{2} \\ -c a_{3} & 2{\mathrm{i}} \omega _{n} \tilde{\tau }+ d_{2} \frac{n^{2}}{l^{2}} -c\end{pmatrix}^{-1} \begin{pmatrix} \chi _{20} \\ \varsigma _{20} \end{pmatrix}\cos ^{2}\biggl(\frac{n x}{l}\biggr). $$

Similarly, from (3.40), we have

$$ -\dot{W}_{11}=\frac{{\mathrm{i}}}{2\omega _{n} \tilde{\tau }}\bigl(p_{1}(\theta )g_{11}+p_{2}( \theta )\overline{g}_{11} \bigr)\cdot f_{n}, \quad -1\le \theta < 0. $$

That is,

$$ W_{11}(\theta )=\frac{{\mathrm{i}}}{2{\mathrm{i}}\omega _{n} \tilde{\tau }}\bigl(p_{1}( \theta ) \overline{g}_{11}-p_{1}(\theta )g_{11}\bigr)+E_{2}. $$

Then, we have

$$ E_{2}=\tilde{\tau } \begin{pmatrix} d_{1} \frac{n^{2}}{l^{2}} -a_{1}+u_{*} & a_{2} \\ -c a_{3} & d_{2} \frac{n^{2}}{l^{2}} -c \end{pmatrix}^{-1} \begin{pmatrix} \chi _{11} \\ \varsigma _{11} \end{pmatrix} \cos ^{2}\biggl(\frac{n x}{l}\biggr). $$

Thus, we can obtain

$$ \begin{aligned} &c_{1}(0)= \frac{{\mathrm{i}}}{2\omega _{n} \tilde{\tau }}\biggl(g_{20}g_{11}-2 \vert g_{11} \vert ^{2}- \frac{ \vert g_{02} \vert ^{2}}{3}\biggr) + \frac{1}{2}g_{21}, \qquad \mu _{2}=- \frac{\operatorname{Re}(c_{1}(0))}{\operatorname{Re}(\lambda ' (\tau ^{j}_{n}))}, \\ &T_{2}=-\frac{1}{\omega _{n} \tilde{\tau }}\bigl[\operatorname{Im} \bigl(c_{1}(0)\bigr)+\mu _{2} \operatorname{Im}\bigl( \lambda '\bigl(\tau ^{j}_{n}\bigr)\bigr) \bigr],\qquad \beta _{2}= 2 \operatorname{Re}\bigl(c_{1}(0) \bigr). \end{aligned} $$
(3.42)

Theorem 3.3

For any critical value \(\tau ^{j,\pm }_{n}\), the bifurcating periodic solutions exists for \(\tau >\tau ^{j,\pm }_{n}\) (or \(\tau <\tau ^{j,\pm }_{n}\)) when \(\mu _{2}>0\) (or \(\mu _{2}<0\)), and are orbitally asymptotically stable (or unstable) when \(\beta _{2}<0\) (or \(\beta _{2}>0\)).

4 A numerical simulation

In this section, we give a numerical simulation done with Matlab. The numerical simulation of the systems is implemented by finite-difference methods. In the model (1.3), we fix the following parameters:

$$ s=1,\qquad a=2.5,\qquad b=3,\qquad d_{1}=0.5,\qquad d_{2}=1, \qquad c=0.1,\qquad l=2. $$

The model (1.3) has a unique positive equilibrium \((u_{*},v_{*})\approx (0.4691, 0.3845)\). By direct computation, we have \(\mathcal{D}=\{0,1 \}\neq \emptyset \), and \(\tau _{*} \approx 2.0053\). By Theorem 3.2, we know that \((u_{*},v_{*})\) is locally asymptotically stable when \(\tau \in [0,\tau _{*})\) (shown in Fig. 1). Hopf bifurcation occurs when \(\tau =\tau _{*}\). By Theorem 3.3, we have

$$ \mu _{2} \approx 0.6816>0,\qquad \beta _{2}\approx -0.0942< 0,\quad \mbox{and}\quad T_{2} \approx 7.0182>0. $$

Hence, the locally asymptotically stable bifurcating periodic solutions exists for \(\tau >2.0053\), and the periods of bifurcating periodic solutions increase (shown in Fig. 2).

Figure 1
figure 1

Numerical simulations of system (1.3) for \(\tau =1.5\)

Figure 2
figure 2

Numerical simulations of system (1.3) for \(\tau =2.1\)

5 Conclusion

In this paper, we considered a delayed diffusive predator–prey model with toxic substances released by prey. We mainly analyzed the effect of the time delay on the stability of the positive equilibrium, and time delay induced Hopf bifurcation. We gave some parameters that determine the properties of Hopf bifurcation, namely bifurcation direction and the stability of the bifurcating periodic solution. Compared with the model (1.1), time delay is an important factor in relationship between prey and predator, since it may affect the stability of the positive equilibrium and induce Hopf bifurcation.