1 Introduction

Biological population dynamics is an important research area in biological mathematics. In biology there are various interactions between different populations, such as competitive relationship, dependency relationship, predation relationship, and so on. Among them, predation relationship is widespread and studied by many scholars [1,2,3].

Generally, an ordinary differential equation system describing the prey–predator model is

$$ \begin{aligned} &\dot{u}(t) = u\phi (u)-\varphi (u,v)v, \\ &\dot{v}(t) =\alpha \varphi (u,v)v-\theta v, \end{aligned} $$
(1.1)

where \(u(t)\) and \(v(t)\) stand for the prey and predator densities. Without predator, the growth law of prey is represented by the function \(\phi (u)\), \(\varphi (u, v)\) is the functional response, α stands for the conversion rate, and θ is the death rate.

The functional response is essential for establishing the predator–prey model. It reflects the predator’s predation ability and can be affected by many factors, such as structure of the habitat structure, hunting ability, prey’s escape ability, and others. In predator–prey models, scholars have used different functional responses to model the interaction of predator and prey; they show that the functional response can enrich the model dynamics [4, 5]. One kind of commonly used functional response functions are Holling type I–III [6], usually called the prey-dependent functional response (with \(\varphi (u,v)\) denoted as \(\varphi (u)\), a function of prey u). Another kind of functional response functions are Beddington–DeAngelis type [7], Crowley–Martin type [8], Hassell–Varley type [9], usually called predator-dependent (with \(\varphi (u,v)\) a function of prey u and predator v).

The Crowley–Martin functional response is of the following form:

$$ g(u,v)=\frac{E v}{(1+Su)(1+B v)}, $$

where E, S, and B stand for the capture rate of predator to prey, the handling time, and the magnitude of interference among predators, respectively. Cao and Jiang [10] studied a reaction–diffusion type predator–prey model with Crowley–Martin functional response, mainly focusing on Turing–Hopf bifurcation. In [11], the authors studied a predator–prey model with delay and Crowley–Martin functional response, mainly considering the stability and Hopf bifurcation. In [12], the authors considered a predator–prey model with Crowley–Martin functional response, mainly studying the flip bifurcation and Neimark–Sacker bifurcation. These works all suggest that the Crowley–Martin functional response can enrich the dynamics of predator–prey models. In this paper, we mainly study a predator–prey model with Crowley–Martin functional response.

To rationally develop the exploitation of biological resources, many scholars have considered predator–prey models with harvesting. The harvesting can be mainly divided into three types: (i) constant harvesting, (ii) proportional harvesting, and (iii) nonlinear-type harvesting (i.e., the harvesting is a nonlinear function). From a biological and economic perspective, more and more scholars recommend Michaelis–Menten type-harvesting [13,14,15,16], which has the following form:

$$ h(E, u) = \frac{QEu}{ \eta E+\beta u}, $$

where Q and E represent the catch ability coefficient and external effort, respectively, and η and β are suitable constants. Constant harvesting and proportional harvesting can be considered as two particular cases of the Michaelis–Menten-type harvesting. In [13], the authors studied the periodic solution of a prey–predator model with harvesting. Yuan et al. [15] studied bifurcation of a delayed predator–prey model with Michaelis–Menten-type prey harvesting. These works suggest that Michaelis–Menten-type harvesting performs well.

Moreover, time delay widely exists in population models. When the predator consumes the prey, it does not immediately increase the density of predator. There exists a gestation delay, and the density of predator increases after some time lag. This type time delay is often studied by scholars [17,18,19,20]. In general, predator–prey models with time delay are much more realistic, and they can exhibit much richer dynamics.

Motivated by these, we studied a diffusive delayed predator–prey model with the following form:

$$ \textstyle\begin{cases} \frac{\partial {u(x,t)}}{\partial {t}}=D_{1} \Delta u +r u (1- \frac{u}{K} )-\frac{E u v}{(1+Su)(1+B v)}, \\ \frac{\partial {v(x,t)}}{\partial {t}}=D_{2}\Delta v +\frac{CE u(t- \tau ) v(t-\tau )}{(1+Su(t-\tau ))(1+B v(t-\tau ))}-Dv-\frac{QEv}{ \eta E+\beta v}, \quad x\in \varOmega , t>0, \\ \frac{\partial {u(x,t)}}{\partial {\nu }}=\frac{\partial {v(x,t)}}{ \partial {\nu }}=0, \quad x\in \partial {\varOmega }, t>0, \\ u(x,t)=u_{1}(x,t)\geq 0,\qquad v(x,t)=v_{1}(x,t)\geq 0, \quad x\in \varOmega , t \in [-\tau ,0], \end{cases} $$
(1.2)

where \(u(x,t)\) and \(v(x,t)\) are the prey and predator densities, respectively, \(D_{1}\) and \(D_{2}\) are for diffusive coefficients, r and K are the growth rate of prey and the carrying capacity, C is the conversion rate of prey, and τ is for the gestation delay of predator. The harvesting term is a Michaelis–Menten-type harvesting on the predator. The main aim of this paper is to study the diffusion-driven Turing instability and delay-induced Hopf bifurcation.

The paper is organized as follows. In Sect. 2, we consider the existence of equilibria of the model. In Sect. 3, we study the stability of the coexisting equilibrium. In Sect. 4, we analyze the property of Hopf bifurcation. In Sect. 5, we give some numerical simulations. Finally, we end the paper with a brief conclusion in Sect. 6.

2 Equilibrium analysis

For convenience, we perform nondimensionalization of model (1.2). Denoting \(\tilde{u}=u/K\), \(\tilde{v}=Ev/r\), and \(\tilde{t}=\mathit{tr}\), system (1.2) becomes (after dropping tildes)

$$ \textstyle\begin{cases} \frac{\partial {u(x,t)}}{\partial {t}}=d_{1} \Delta u +u [1-u- \frac{v}{(1+au)(1+bv)} ], \\ \frac{\partial {v(x,t)}}{\partial {t}}=d_{2}\Delta v + \frac{cu(x,t- \tau )v(x,t-\tau )}{(1+au(x,t-\tau ))(1+bv(x,t-\tau ))}-dv- \frac{v}{e+qv}, \end{cases} $$
(2.1)

where \(d_{1}=\frac{D_{1}}{r}\), \(d_{2}=\frac{D_{2}}{r}\), \(a=SK\), \(b=\frac{Br}{E}\), \(c=\frac{CEK}{r}\), \(d=\frac{D}{r}\), \(e= \frac{\eta r}{Q}\), and \(q=\frac{\beta r^{2}}{QE^{2}}\). We assume that \(\varOmega =(0,l\pi )\), where \(l>0\).

Solving the equation system

$$ \textstyle\begin{cases} u (1-u-\frac{v}{(1+a u)(1+b v)} )=0, \\ v (\frac{c u}{(1+a u)(1+b v)}-d-\frac{1}{e+q v} )=0, \end{cases} $$
(2.2)

we obtain that \((0,0)\), and \((1,0)\) are two boundary equilibria, and the coexisting equilibrium \((u_{*},v_{*})\) satisfies \(v_{*}=\frac{(1-u_{*}) (1+a u_{*})}{1-b+b(1-a) u_{*}+a b u_{*}^{2}}\) and \(h(u_{*})=0\), where

$$\begin{aligned} &h(u) =\beta _{5} u^{5}+\beta _{4} u^{4}+\beta _{3} u^{3}+\beta _{2} u^{2}+ \beta _{1} u+ \beta _{0}, \\ &\beta _{5} =a^{3} b^{3} d q u^{5}, \\ &\beta _{4} =(3-2 a) a^{2} b^{3} d q, \\ &\beta _{3} =a b \bigl(a^{2} b^{2} d q- \bigl(c-3 b^{2} d \bigr) q+a \bigl(b+b d e+d q+2 b d q-6 b^{2} d q \bigr) \bigr), \\ &\beta _{2} =b \bigl(-c q+b^{2} d q+a^{2} \bigl(-d q+3 b^{2} d q-b (1+d e+2 d q) \bigr) \\ &\hphantom{\beta _{2} ={}} {}+a \bigl(-6 b^{2} d q+(c+2 d) q+2 b (1+d e+2 d q) \bigr) \bigr), \\ &\beta _{1} =-2 b^{3} d q+b (c+d) q-c (e+q)+b^{2} \bigl(1+d (e+2 q)\bigr) \\ &\hphantom{\beta _{1} ={}} {}+a \bigl(1+b \bigl(1+d (e-q)\bigr)+3 b^{3} d q+d (e+q)-2 b^{2} \bigl(1+d (e+2 q)\bigr) \bigr), \\ &\beta _{0} = \bigl(-1-b+b^{2} \bigr) \bigl(-1-d \bigl(e+q(1-b)\bigr)\bigr). \end{aligned}$$
(2.3)

We just give a sufficient condition for the existence of coexisting equilibrium \((u_{*},v_{*})\):

$$ a < 1, \qquad b< 1, \quad \mbox{and} \quad c>(1+a) (1+b) \bigl[d+1/(q+e) \bigr]. $$
(2.4)

Theorem 2.1

If the parameters satisfy condition (2.4), then model (2.1) has a coexisting equilibrium \((u_{*},v_{*})\), where \(u_{*}\) is the root of \(h(u_{*})=0\) in the region \((0,1)\), and \(v_{*}=\frac{(1-u_{*}) (1+a u_{*})}{1-b+b(1-a) u_{*}+a b u_{*}^{2}}\).

Proof

By direct calculation we have \(h(0)= (-1-b+b^{2} ) (-1-d (e+q(1-b)))>0\) and \(h(1)=(a+1) (b+1) (1+d (e+q))-c e-c q<0\) under condition (2.4). By the continuity of \(h(u)\) we obtain that \(h(u)=0\) has at least one root \(u_{*}\) in the \((0,1)\). Then \(v_{*}=\frac{(1-u_{*}) (1+a u_{*})}{1-b+b(1-a) u_{*}+a b u_{*}^{2}}>0\). □

3 Stability analysis

Linearize system (2.1) at \((u_{*},v_{*})\):

$$ \begin{pmatrix} \frac{\partial {u}}{\partial {t}} \\ \frac{\partial {v}}{\partial {t}} \end{pmatrix}=\operatorname{diag} \{d_{1},d_{2}\}\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} \\ 0 & -a_{3} \end{pmatrix}, \qquad L_{2}= \begin{pmatrix} 0 & 0 \\ b_{1} & b_{2} \end{pmatrix}, $$

and

$$\begin{aligned}& a_{1}=u_{*} \biggl(\frac{a v_{*}}{(1+a u_{*})^{2} (1+b v_{*})}-1 \biggr), \qquad a_{2}=\frac{u_{*}}{(1+a u_{*}) (1+b v_{*})^{2}}>0, \\& a_{3}=d+ \frac{e}{(e+q v_{*})^{2}}>0, \qquad b_{1}=\frac{c v_{*}}{(1+a u_{*})^{2} (1+b v_{*})}>0, \\& b_{2}= \frac{c u_{*}}{(1+a u_{*}) (1+b v_{*})^{2}}>0. \end{aligned}$$

The characteristic equation is

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

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 b_{2}) e^{-\lambda \tau } =0, \quad n \in \mathbb{N}_{0}\triangleq \mathbb{N}\cup \{0\}, $$
(3.3)

where

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

3.1 The case \(\tau =0\)

When \(\tau =0\), Eq. (3.3) reduces to the equation

$$ \lambda ^{2}- \mathit{tr}_{n}\lambda +\Delta _{n}=0, \quad n \in \mathbb{N}_{0}, $$
(3.4)

where

$$ \textstyle\begin{cases} \mathit{tr}_{n}=a_{1}-a_{3}+b_{2}-\frac{n^{2}}{l^{2}}(d_{1}+d_{2}), \\ \Delta _{n}=a_{2} b_{1}+a_{1} (b_{2}-a_{3})-[(b_{2}-a_{3}) d_{1}+a _{1} d_{2}]\frac{n^{2}}{l^{2}}+d_{1}d_{2}\frac{n^{4}}{l^{4}}, \end{cases} $$
(3.5)

and the eigenvalues are given by

$$ \lambda _{1,2}^{(n)}= \frac{\mathit{tr}_{n}\pm \sqrt{\mathit{tr}^{2}_{n}-4\Delta _{n}}}{2}, \quad n \in \mathbb{N}_{0}. $$
(3.6)

We make the following hypothesis:

$$ (\mathbf{H_{1}})\quad a_{1}-a_{3}+b_{2}< 0, \quad \mbox{and} \quad a_{2} b_{1}+a_{1} (b_{2}-a_{3})>0. $$

When \(d_{1}=d_{2}=0\) and \(\tau =0\), \((u_{*},v_{*})\) is locally asymptotically stable under hypothesis (\(\mathbf{H_{1}}\)).

Divide the parameters into the following three cases:

$$ \begin{aligned} \textbf{Case 1:}\quad& (b_{2}-a_{3}) d_{1}+a_{1} d_{2}\leq 0, \\ \textbf{Case 2:}\quad& (b_{2}-a_{3}) d_{1}+a_{1} d_{2}>0, \quad \mbox{and} \\ &\bigl((b_{2}-a_{3}) d_{1}+a _{1} d_{2}\bigr)^{2}-4d_{1}d_{2} \bigl(a_{2} b_{1}+a_{1} (b_{2}-a_{3}) \bigr)< 0, \\ \textbf{Case 3:}\quad& (b_{2}-a_{3}) d_{1}+a_{1} d_{2}>0, \quad \mbox{and} \\ &\bigl((b_{2}-a_{3}) d_{1}+a _{1} d_{2}\bigr)^{2}-4d_{1}d_{2} \bigl(a_{2} b_{1}+a_{1} (b_{2}-a_{3}) \bigr)>0. \end{aligned} $$
(3.7)

Denote

$$ \mathbb{K}_{1}\triangleq \{k\in \mathbb{N}| \Delta _{k} \leq 0 \}, \qquad \mathbb{K}_{2}\triangleq \{k\in \mathbb{N}| \Delta _{k}< 0 \}, $$

where \(\Delta _{k}\) is defined in (3.5).

Theorem 3.1

Suppose (\(\mathbf{H_{1}}\)) holds and \(\tau =0\).

  1. (1)

    In Case 1 (or Case 2), \((u_{*},v_{*})\) is locally asymptotically stable;

  2. (2)

    In Case 3, if \(\mathbb{K}_{1}= \varnothing \), then \((u_{*},v_{*})\) is locally asymptotically stable;

  3. (3)

    In Case 3, if \(\mathbb{K}_{2} \neq \varnothing \), then \((u_{*},v_{*})\) is Turing unstable.

Proof

Hypothesis (\(\mathbf{H_{1}}\)) implies that \(\mathit{tr}_{0}<0\) and \(\Delta _{0}>0\). For \(n \in \mathbb{N}_{0}\), we have \(\mathit{tr}_{n}<0\). In Case 1 (or Case 2), we have \(\Delta _{n}>0\) for \((n \in \mathbb{N}_{0})\), implying that all eigenvalues of (3.4) have negative real parts. This implies that statement \((1)\) holds. Similarly, statement \((2)\) holds. In Case 3, \(\Delta _{k}<0\) for \(k\in \mathbb{K} _{2}\). Then Eq. (3.4) has a positive real part root. Then statement (3) is true. □

3.2 The case \(\tau \neq 0\)

Next, we study the stability of \((u_{*},v_{*})\) when \(\tau >0\). Letting (\(\omega >0\)) be a solution of Eq. (3.3), we have

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

Then

$$ \textstyle\begin{cases} -\omega ^{2}+B_{n}+C_{n} \cos \omega \tau -\omega b_{2} \sin \omega \tau =0, \\ A_{n} \omega - C_{n} \sin \omega \tau -\omega b_{2} \cos \omega \tau =0, \end{cases} $$

leading to

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

Denoting \(z = \omega ^{2}\), we can change (3.8) to

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

and the roots of (3.9) are

$$ z^{\pm }=\frac{1}{2}\Bigl[-\bigl(A_{n}^{2}-2 B_{n}- b_{2}^{2}\bigr) \pm \sqrt{\bigl(A _{n}^{2}-2 B_{n}- b_{2}^{2} \bigr)^{2}-4\bigl(B_{n}^{2}-C_{n}^{2} \bigr)}\Bigr]. $$

Under condition (1) (or 2) of Theorem (3.1), we have

$$ B_{n}+C_{n}=\Delta _{n}>0. $$

Denote

$$\begin{aligned}& P_{n}=A_{n}^{2}-2 B_{n}- b_{2}^{2}= \biggl(a_{1}-d_{1} \frac{n^{2}}{l ^{2}} \biggr)^{2}+ \biggl(a_{3}+d_{2} \frac{n^{2}}{l^{2}} \biggr)^{2}-b _{2}^{2}, \\& Q_{n}=B_{n}-C_{n}=d_{1} d_{2}\frac{ n^{4}}{l^{4}}+ (b_{2} d _{1}+a_{3} d_{1}-a_{1} d_{2} )\frac{n^{2} }{l^{2}}-(a_{1} a_{3}+a _{2} b_{1}+a_{1} b_{2}). \end{aligned}$$

Define

$$\begin{aligned} &\mathbb{S}_{1}=\{n| Q_{n}< 0, n\in \mathbb{N}_{0} \}, \\ &\mathbb{S}_{2}=\bigl\{ n| Q_{n}>0, P_{n}< 0, P_{n}^{2}-4\bigl(B_{n}^{2}-C_{n} ^{2}\bigr)Q_{n}>0, n\in \mathbb{N}_{0} \bigr\} , \\ &\mathbb{S}_{3}=\bigl\{ n| Q_{n}>0, P_{n}^{2}-4 \bigl(B_{n}^{2}-C_{n}^{2} \bigr)Q_{n}< 0, n \in \mathbb{N}_{0} \bigr\} , \end{aligned}$$

and

$$ \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 \in \mathbb{N}_{0}), \\ &\tau ^{0,\pm }_{n}=\frac{1}{\omega ^{\pm }_{n}} \arccos \frac{(A_{n} b _{2}+C_{n})(\omega ^{\pm }_{n})^{2}-B_{n}C_{n}}{C_{n}^{2}+b_{2}^{2} ( \omega ^{\pm }_{n})^{2}}. \end{aligned} $$
(3.10)

Lemma 3.1

Assume that (\(\mathbf{H_{1}}\)) holds and the parameters satisfy the condition (1) (or 2) of Theorem 3.1.

  1. (1)

    For \(n\in \mathbb{S}_{1}\), Eq. (3.3) has a pair of purely imaginary roots \(\pm i\omega ^{+}_{n}\) at \(\tau ^{j,+}_{n}\), \(j \in \mathbb{N}_{0}\).

  2. (2)

    For \(n\in \mathbb{S}_{2}\), Eq. (3.3) has two pairs of purely imaginary roots \(\pm i\omega ^{\pm }_{n}\) at \(\tau ^{j,\pm }_{n}\), \(j \in \mathbb{N}_{0}\).

  3. (3)

    For \(n\in \mathbb{S}_{3}\), Eq. (3.3) has no purely imaginary root.

Proof

Equation (3.9) has a (two or no) positive root(s) \({z_{n} ^{+}}\) (or \({z_{n}^{\pm }}\)) when \(n\in \mathbb{S}_{1}\) (\(n\in \mathbb{S}_{2}\) or \(n\in \mathbb{S}_{3}\)). Then statements (1), (2), and (3) are true. □

Lemma 3.2

Assume that (\(\mathbf{H_{1}}\)) holds and the parameters satisfy condition (1) (or 2) of Theorem 3.1. Then \(\operatorname{Re}(\frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,+}_{n}}>0\) and \(\operatorname{Re} ( \frac{d \lambda }{d \tau })|_{\tau =\tau ^{j,-}_{n}}<0\) for \(n \in \mathbb{S}_{1}\cup \mathbb{S}_{2}\) and \(j \in \mathbb{N}_{0}\).

Proof

Differentiating Eq. (3.3) with respect to τ, we obtain

$$ \biggl(\frac{d \lambda }{d \tau }\biggr)^{-1}= \frac{2 \lambda +A_{n}-b_{2}e^{- \lambda \tau }}{(C_{n}-\lambda b_{2}) 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}-b_{2}e ^{-\lambda \tau }}{(C_{n}-\lambda b_{2}) e^{-\lambda \tau }}- \frac{ \tau }{\lambda } \biggr]_{\tau =\tau ^{j,\pm }_{n}} \\ &=\biggl[\frac{1}{\varLambda } \omega ^{2} \bigl(2\omega ^{2}+A_{n}^{2}-2 B_{n}-b _{2}^{2} \bigr)\biggr]_{\tau =\tau ^{j,\pm }_{n}} \\ &=\pm \biggl[\frac{1}{\varLambda } \omega ^{2} \sqrt{ \bigl(A_{n}^{2}-2 B_{n}-b _{2}^{2} \bigr)^{2}-4\bigl(B_{n}^{2}-C_{n}^{2} \bigr)}\biggr]_{\tau =\tau ^{j,\pm }_{n}}, \end{aligned}$$

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

From (3.10) we have \(\tau ^{0,\pm }_{n}<\tau ^{j,\pm }_{n}\) \((j\in \mathbb{N})\). For \(n\in \mathbb{S}_{1}\cup \mathbb{S}_{2}\), define \(\tau _{*}=\mbox{min}\{\tau ^{0,\pm }_{n} \mbox{or} \tau ^{0,+} _{n} \mid n \in \mathbb{S}_{1}\cup \mathbb{S}_{2} \}\). By the preceding we obtain the following theorem.

Theorem 3.2

Assume that (\(\mathbf{H_{1}}\)) holds and the parameters satisfy condition (1) (or 2) of Theorem 3.1.

  1. (1)

    \((u_{*},v_{*})\) is locally asymptotically stable for all \(\tau \geq 0\) when \(\mathbb{S}_{1}\cup \mathbb{S}_{2}=\varnothing \).

  2. (2)

    \((u_{*},v_{*})\) is locally asymptotically stable for \(\tau \in [0,\tau _{*})\) when \(\mathbb{S}_{1}\cup \mathbb{S}_{2}\neq \varnothing \).

  3. (3)

    Hopf bifurcation occurs at \((u_{*},v_{*})\) when \(\tau =\tau ^{j,+}_{n}\) \((\tau =\tau ^{j,-}_{n})\), \(j\in \mathbb{N}_{0}\), \(n \in \mathbb{S}_{1}\cup \mathbb{S}_{2}\).

4 Property of Hopf bifurcation

Now, we will study the property of Hopf bifurcation by the method of [21, 22]. 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 system (2.1) is (dropping the tilde)

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

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)\), (4.1) can be rewritten as

$$ \frac{\mathrm{d}U(t)}{\mathrm{d}t}=\tilde{\tau }D\Delta U(t)+L_{ \tilde{\tau }}(U_{t})+F(U_{t}, \varepsilon ), $$
(4.2)

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

$$ L_{\varepsilon }(\varphi )=\varepsilon \begin{pmatrix} a_{1} \varphi _{1}(0)-a_{2} \varphi _{2}(0) \\ -a_{3} \varphi _{2}(0)+b_{1}\varphi _{1}(-1)+ b_{2}\varphi _{2}(-1) \end{pmatrix} $$
(4.3)

and

$$ F(\varphi ,\varepsilon )=\varepsilon D\Delta \varphi +L_{\varepsilon }(\varphi )+f(\varphi ,\varepsilon ) $$
(4.4)

with

$$\begin{aligned}& f(\varphi ,\varepsilon ) =(\tilde{\tau }+\varepsilon ) \bigl(f_{1}( \varphi ,\varepsilon ),f_{2}(\varphi ,\varepsilon )\bigr)^{T}, \\& \begin{aligned} f_{1}(\varphi ,\varepsilon ) &= \bigl(\varphi _{1}(0)+u_{*} \bigr) \biggl(1-\varphi _{1}(0)-u_{*}- \frac{\varphi _{2}(0)+v_{*}}{(1+a ( \varphi _{1}(0)+u_{*}))(1+b (\varphi _{2}(0)+v_{*}))} \biggr) \\ &\quad {} -a_{1} \varphi _{1}(0)+a_{2} \varphi _{2}(0), \end{aligned} \\& \begin{aligned} f_{2}(\varphi ,\varepsilon ) &=\frac{(\varphi _{1}(-1)+u_{*})(\varphi _{2}(-1)+v_{*})}{(1+a(\varphi _{1}(-1)+u_{*}))(1+b(\varphi _{2}(-1)+v _{*}))}-d \bigl(\varphi _{2}(0)+v_{*}\bigr)-\frac{\varphi _{2}(0)+v_{*}}{e+q(\varphi _{2}(0)+v_{*})} \\ & \quad {} +a_{3} \varphi _{2}(0)-b_{1}\varphi _{1}(-1)- b_{2}\varphi _{2}(-1) \end{aligned} \end{aligned}$$

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

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

$$ \frac{\mathrm{d}z(t)}{\mathrm{d}t}=-\tilde{\tau } D\frac{n^{2}}{l^{2}} z(t)+L _{\tilde{\tau }}(z_{t}). $$
(4.5)

By the Riesz representation theorem there exists a \(2\times 2\) matrix function \(\eta ^{n}(s, \tilde{\tau })\) (\(-1\le s \le 0\)) with elements of bounded variation functions such that

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

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

Choose

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

where

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

Define the bilinear paring

$$ \begin{aligned}[b] (\psi ,\varphi ) &=\psi (0) \varphi (0)- \int _{-1}^{0} \int _{\xi =0} ^{s} \psi (\xi -s) \, d\eta ^{n}\, (s, \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} $$
(4.8)

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

Define \(p_{1}(\theta )=(1,\zeta )^{T}e^{i\omega _{n} \tilde{\tau } s} (s \in [-1,0])\) and \(q_{1}(r)=(1,\vartheta )e^{-i\omega _{n} \tilde{\tau } r} (r \in [0,1]) \), where

$$ \zeta =\frac{1}{a_{2}} \biggl(a_{1}-d_{1} \frac{n^{2}}{l^{2}}-i \omega _{n} \biggr), \qquad \vartheta =- \frac{e^{-i \tilde{\tau } \omega _{n}}}{b_{1}} \biggl(a_{1}-d _{1} \frac{n^{2}}{l^{2}}+i \omega _{n} \biggr). $$

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

$$ \varPhi _{1}(s )=\frac{p_{1}(s )+p_{2}(s )}{2}= \begin{pmatrix} \operatorname{Re} (e^{i\omega _{n} \tilde{\tau } s } ) \\ \operatorname{Re} (\zeta e^{i\omega _{n} \tilde{\tau } s } ) \end{pmatrix} , \qquad \varPhi _{2}(s )=\frac{p_{1}(s )-p_{2}(s )}{2i}= \begin{pmatrix} \operatorname{Im} (e^{i\omega _{n} \tilde{\tau } s } ) \\ \operatorname{Im} (\zeta e^{i\omega _{n} \tilde{\tau }s } ) \end{pmatrix} $$

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

$$ \varUpsilon ^{*} _{1}(r)=\frac{q_{1}(r)+q_{2}(r)}{2}= \begin{pmatrix} \operatorname{Re} (e^{-i\omega _{n} \text{$\tilde{\tau }$r} } ) \\ \operatorname{Re} (\vartheta e^{-i\omega _{n} \tilde{\tau } r } ) \end{pmatrix} , \qquad \varUpsilon ^{*} _{2}(r)=\frac{q_{1}(r)-q_{2}(r)}{2i}= \begin{pmatrix} \operatorname{Im} (e^{-i\omega _{n} \text{$\tilde{\tau }$r} } ) \\ \operatorname{Im} (\vartheta e^{-i\omega _{n} \tilde{\tau }r} ) \end{pmatrix} $$

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

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

Define ( ϒ ,Φ)=( ϒ j , Φ k )= ( D 1 D 2 D 3 D 4 ) and construct a new basis ϒ for \(P^{*}\) by

$$ \varUpsilon =(\varUpsilon _{1},\varUpsilon _{2})^{T}= \bigl(\varUpsilon ^{*},\varPhi \bigr)^{-1} \varUpsilon ^{*}. $$

Then \((\varUpsilon ,\varPhi )=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})\), \(v=(v_{1},v_{2})\), \(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. (4.1) in the abstract form

$$ \frac{\mathrm{d}U(t)}{\mathrm{d}t}=A_{\tilde{\tau }} U_{t}+R(U_{t}, \varepsilon ), $$
(4.9)

where

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

The solution is

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

where

$$ \begin{pmatrix} x_{1} \\ x_{2} \end{pmatrix}=\bigl(\varUpsilon ,\langle U_{t},f_{n}\rangle \bigr) $$

and

$$ h(x_{1},x_{2},\varepsilon ) \in P_{S} \mathscr{C}_{1}, \qquad h(0,0,0)=0, \qquad Dh(0,0,0)=0. $$

Then

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

Let \(z=x_{1}-i x_{2}\) and notice that \(p_{1}=\varPhi _{1}+i\varPhi _{2}\). Then

$$ \varPhi \begin{pmatrix} x_{1} \\ x_{2} \end{pmatrix}f_{n}= (\varPhi _{1},\varPhi _{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{i(z-\overline{z})}{2},0\biggr). $$

Equation (4.12) becomes

$$ \begin{aligned}[b] U_{t} &= \frac{1}{2}(p_{1}z+ \overline{p_{1}} \overline{z})f_{n}+ h\biggl(\frac{z+ \overline{z}}{2},\frac{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} $$
(4.13)

where

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

and

$$\begin{aligned}& \dot{z}=i\omega _{n} \tilde{\tau } z +g(z, \overline{z}), \end{aligned}$$
(4.14)
$$\begin{aligned}& g(z,\overline{z})=\bigl(\varUpsilon _{1}(0)-i \varUpsilon _{2}(0)\bigr)\bigl\langle F(U_{t},0),f_{n} \bigr\rangle . \end{aligned}$$
(4.15)

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}$$
(4.16)
$$\begin{aligned}& g(z,\overline{z})=g_{20} \frac{z^{2}}{2}+g_{11} z \overline{z} +g_{02} \frac{\overline{z}^{2}}{2}+\cdots . \end{aligned}$$
(4.17)

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} (\zeta +\overline{\zeta }\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 , \\& \begin{aligned} u_{t}(-1)&=\frac{1}{2}\bigl(z e^{-i\omega _{n} \tilde{\tau }}+\overline{z} e ^{i\omega _{n} \tilde{\tau }}\bigr)\cos \biggl(\frac{n x}{l}\biggr)+W^{(1)}_{20}(-1) \frac{z ^{2}}{2} \\ &\quad {}+W^{(1)}_{11}(-1)z \overline{z}+W^{(1)}_{02}(-1) \frac{ \overline{z}^{2}}{2}+\cdots , \end{aligned} \\& \begin{aligned} v_{t}(-1)&=\frac{1}{2}\bigl(\zeta z e^{-i\omega _{n} \tilde{\tau }}+\overline{ \zeta } \overline{z} e^{i\omega _{n} \tilde{\tau }}\bigr)cos\biggl(\frac{n x}{l}\biggr)+W ^{(2)}_{20}(-1)\frac{z^{2}}{2} \\ &\quad {}+W^{(2)}_{11}(-1)z \overline{z}+W^{(2)} _{02}(-1)\frac{\overline{z}^{2}}{2}+\cdots , \end{aligned} \end{aligned}$$

and

$$\begin{aligned}& \begin{aligned}[b] \overline{F}_{1}(U_{t},0) &=\frac{1}{\tilde{\tau }}F_{1} \\ &=\alpha _{1} u _{t}^{2}(0)+\alpha _{2} u_{t}(0) v_{t}(0)+\alpha _{3} v_{t}^{2}(0) + \alpha _{4} u_{t}^{3}(0) \\ &\quad {}+\alpha _{5} u_{t}^{2}(0) v_{t}(0)+\alpha _{6} u_{t}(0) v_{t}^{2}(0)+ \alpha _{7} v_{t}^{3}(0)+O(4), \end{aligned} \end{aligned}$$
(4.18)
$$\begin{aligned}& \begin{aligned}[b] \overline{F}_{2}(U_{t},0) &=\frac{1}{\tilde{\tau }}F_{2} \\ &=\beta _{1} v _{t}^{2}(0)+\beta _{2} u_{t}^{2}(-1)+\beta _{3} u_{t}(-1)v_{t}(-1)+ \beta _{4} v_{t}^{2}(-1)+\beta _{5} v_{t}^{3}(0) \\ &\quad {}+\beta _{6} u_{t}^{3}(-1)+\beta _{7} u_{t}^{2}(-1)v_{t}(-1)+\beta _{8} u_{t}(-1)v_{t}^{2}(-1)+\beta _{9} v_{t}^{3}(-1)+O(4), \end{aligned} \end{aligned}$$
(4.19)

with

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

Hence

$$\begin{aligned}& \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) \\ &\quad {}+\frac{z^{2}\overline{z}}{2}\biggl(\chi _{1} \cos \frac{nx}{l}+ \chi _{2}\cos ^{3} \frac{nx}{l} \biggr) +\cdots , \end{aligned} \\ &\begin{aligned} \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) \\ &\quad {}+\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} \end{aligned}$$
(4.21)
$$\begin{aligned}& \begin{aligned}[b] \bigl\langle F(U_{t},0),f_{n} \bigr\rangle &=\tilde{\tau }\bigl(\overline{F}_{1}(U_{t},0)f^{1}_{n}+ \overline{F}_{2}(U_{t},0)f^{2}_{n} \bigr) \\ &=\frac{z^{2}}{2}\tilde{\tau } \begin{pmatrix} \chi _{20} \\ \varsigma _{20} \end{pmatrix}\varGamma +z\overline{z}\tilde{\tau } \begin{pmatrix} \chi _{11} \\ \varsigma _{11} \end{pmatrix}\varGamma + \frac{\overline{z}^{2}}{2}\tilde{\tau } \begin{pmatrix} \overline{\chi }_{20} \\ \overline{\varsigma }_{20} \end{pmatrix}\varGamma + \frac{z^{2}\overline{z}}{2}\tilde{\tau } \begin{pmatrix} \kappa _{1} \\ \kappa _{2} \end{pmatrix} +\cdots \end{aligned} \end{aligned}$$
(4.22)

with

$$\begin{aligned} &\varGamma =\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}+\zeta ( \alpha _{2}+\alpha _{3} \zeta )\bigr),\qquad \chi _{11}= \frac{1}{4} \bigl(2 \alpha _{1}+2 \alpha _{3} \overline{\zeta } \zeta +\alpha _{2} (\overline{\zeta } +\zeta )\bigr), \\& \begin{aligned} \chi _{1} &=W_{11}^{(1)}(0) (2 \alpha _{1}+\alpha _{2} \zeta )+W_{11} ^{(2)}(0) (\alpha _{2}+2 \alpha _{3} \zeta ) \\ &\quad {}+ W_{20}^{(1)}(0) \biggl(\alpha _{1}+\frac{ \alpha _{2} \overline{\zeta } }{2}\biggr) +W_{20}^{(2)}(0) \biggl(\alpha _{3} \overline{ \zeta } +\frac{\alpha _{2}}{2}\biggr), \end{aligned} \\& \chi _{2} = \frac{1}{4} \bigl(3 \alpha _{4}+\alpha _{5} (\overline{\zeta } +2 \zeta )+\zeta (2 \alpha _{6} \overline{\zeta } +\alpha _{6} \zeta +3 \alpha _{7} \overline{\zeta } \zeta )\bigr), \\& \varsigma _{20} =\frac{1}{2} e^{-2 i \tilde{\tau } \omega _{n}} \bigl(\beta _{2}+\zeta \bigl(\beta _{3}+ \bigl(e^{2 i \tilde{\tau } \omega _{n}} \beta _{1}+\beta _{4} \bigr) \zeta \bigr) \bigr), \\& \varsigma _{11} =\frac{1}{4} \bigl(2 \beta _{2}+2 ( \beta _{1}+\beta _{4}) \overline{ \zeta } \zeta +\beta _{3} (\overline{\zeta } +\zeta )\bigr), \\& \begin{aligned} \varsigma _{1} & =2 W_{11}^{2}(0) \beta _{1} \zeta +W_{20}^{2}(0) \beta _{1} \overline{\zeta } +e^{-i \tilde{\tau } \omega _{n}} W_{11}^{1}(-1) (2 \beta _{2}+\beta _{3} \zeta ) \\ &\quad {} +e^{-i \tilde{\tilde{\tau }} \omega _{n}} W_{11}^{2}(-1) (\beta _{3}+2 \beta _{4} \zeta )+\frac{1}{2} e^{i \tilde{\tau } \omega _{n}} W_{20}^{1}(-1) (2 \beta _{2}+\beta _{3} \overline{\zeta } ) \\ &\quad {}+ \frac{1}{2} e^{i \tilde{\tau } \omega _{n}} W_{20}^{2}(-1) (\beta _{3}+2 \beta _{4} \overline{\zeta } ), \end{aligned} \\& \varsigma _{2} =\frac{1}{4} e^{-i \tilde{\tau } \omega _{n}} \bigl(3 \beta _{6}+\beta _{7} (\overline{\zeta } +2 \zeta )+\zeta \bigl(3 \bigl(e^{i \tilde{\tau } \omega _{n}} \beta _{5}+\beta _{9} \bigr) \overline{ \zeta } \zeta +\beta _{8} (2 \overline{\zeta } +\zeta ) \bigr) \bigr). \end{aligned}$$

Denote

ϒ 1 (0)i ϒ 2 (0):= ( γ 1 γ 2 ) .

Notice that

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

We have

$$\begin{aligned} &\bigl(\varUpsilon _{1}(0) -i\varUpsilon _{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}) \varGamma \tilde{\tau } +z\overline{z}( \gamma _{1}\chi _{11} + \gamma _{2} \varsigma _{11})\varGamma \tilde{\tau } +\frac{\overline{z}^{2}}{2}( \gamma _{1}\overline{\chi }_{20} + \gamma _{2}\overline{ \varsigma }_{20}) \varGamma \tilde{\tau } \\ &\qquad {}+\frac{z^{2}\overline{z}}{2}\tilde{\tau } [\gamma _{1} \kappa _{1} + \gamma _{2} \kappa _{2} ]+\cdots . \end{aligned}$$
(4.23)

Then by (4.15), (4.17), and (4.23) we have \(g_{20}=g_{11}=g_{02}=0\) for \(n=1,2,3,\ldots \) . If \(n=0\), 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}\), we have \(g_{21}=\tilde{\tau }( \gamma _{1} \kappa _{1} +\gamma _{2} \kappa _{2})\).

From [21] we have

$$\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}$$

and

$$ \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}+W_{11} z \overline{z} +H _{02} \frac{\overline{z}^{2}}{2}+\cdots \\ &=X_{0}F(U_{t},0)-\varPhi \bigl(\varUpsilon ,\bigl\langle X_{0} F(U_{t},0),f_{n}\bigr\rangle \cdot f _{n}\bigr). \end{aligned}$$
(4.24)

Hence we have

$$ \begin{aligned} (2i\omega _{n} \tilde{\tau }- A_{\tilde{\tau }})W_{20}=H_{20}, \qquad -A_{\tilde{\tau }}W_{11}=H_{11}, \qquad (-2i\omega _{n} \tilde{\tau }- A_{\tilde{\tau }})W_{02}=H_{02}, \end{aligned} $$
(4.25)

that is,

$$ \begin{aligned} &W_{20}=(2i\omega _{n} \tilde{\tau }- A_{\tilde{\tau }})^{-1}H_{20}, \qquad W_{11}=-A_{\tilde{\tau }} ^{-1} H_{11}, \\ &W_{02}=(-2i\omega _{n} \tilde{\tau }- A_{\tilde{\tau }})^{-1}H_{02}. \end{aligned} $$
(4.26)

Then

$$\begin{aligned} H(z, \overline{z})&=-\varPhi (0) \varUpsilon (0)\bigl\langle F(U_{t},0),f_{n}\bigr\rangle \cdot f _{n} \\ &=-\biggl(\frac{p_{1}(\theta )+p_{2}(\theta )}{2},\frac{p_{1}(\theta )-p _{2}(\theta )}{2i}\biggr) \begin{pmatrix} \varPhi _{1}(0) \\ \varPhi _{2}(0) \end{pmatrix} \bigl\langle F(U_{t},0),f_{n}\bigr\rangle \cdot f_{n} \\ &=-\frac{1}{2}\bigl[p_{1}(\theta ) \bigl(\varPhi _{1}(0)-i\varPhi _{2}(0)\bigr)+p_{2}(\theta ) \bigl(\varPhi _{1}(0)+i\varPhi _{2}(0)\bigr)\bigr] \bigl\langle F(U_{t},0),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)-\varPhi \bigl(\varUpsilon ,\bigl\langle F(U_{t},0),f_{n}\bigr\rangle \bigr) \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 .
(4.27)

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

$$ \dot{W}_{20}=A_{\tilde{\tau }}W_{20}=2i\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{i}{2i\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^{2i\omega _{n} \tilde{\tau } \theta }, $$

where

$$ E_{1}=\textstyle\begin{cases} W_{20}(0), & n=1,2,3,\ldots , \\ W_{20}(0)-\frac{i}{2i\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 (4.25) we have, 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} +2i \omega _{n} \tilde{\tau } E_{1}-A_{\tilde{\tau }}\biggl(\frac{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{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^{2i\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})=i \omega _{0} p_{1}(0) \cdot f_{0} $$

and

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

we have

$$ 2i\omega _{n} E_{1}-A_{\tilde{\tau }} E_{1}-L_{\tilde{\tau }} E_{1} e ^{2i\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 }E \begin{pmatrix} \chi _{20} \\ \varsigma _{20} \end{pmatrix}\cos ^{2}\biggl(\frac{n x}{l}\biggr), $$

where

$$ E= \begin{pmatrix} 2i \omega _{n} \tilde{\tau }+ d_{1} \frac{n^{2}}{l^{2}} -a_{1} & a_{2} \\ -b_{1} e^{-2i \omega _{n} \tilde{\tau }} & 2i \omega _{n} \tilde{\tau }+ d_{2} \frac{n^{2}}{l^{2}} +a_{3}- b_{2}e^{-2i \omega _{n} \tilde{\tau }} \end{pmatrix}^{-1}. $$

Similarly, from (4.26) we have

$$ -\dot{W}_{11}=\frac{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{i}{2i\omega _{n} \tilde{\tau }}\bigl(p_{1}(\theta ) \overline{g}_{11}-p_{1}(\theta )g_{11} \bigr)+E_{2}. $$

Similarly, we have

$$ E_{2}=\tilde{\tau }E^{*} \begin{pmatrix} \chi _{11} \\ \varsigma _{11} \end{pmatrix} \cos ^{2}\biggl(\frac{n x}{l}\biggr), $$

where

$$ E^{*}= \begin{pmatrix} d_{1} \frac{n^{2}}{l^{2}} -a_{1} & ra_{2} \\ -b_{1} & d_{2} \frac{n^{2}}{l^{2}} -b_{2}+a_{3} \end{pmatrix}^{-1}. $$

Thus we have:

$$ \begin{aligned} &c_{1}(0)= \frac{i}{2\omega _{n} \tilde{\tau }}\biggl(g_{20}g_{11}-2|g_{11}|^{2}- \frac{|g_{02}|^{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)+ \varepsilon _{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} $$
(4.28)

Theorem 4.1

For any critical value \(\tau ^{j,+}_{n}\) (or \(\tau ^{j,-}_{n}\)), the bifurcating periodic solutions exist 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\)).

5 Numerical simulations

To verify our theoretical results, we give some numerical simulations. Fix the following parameters

$$ \begin{aligned} &a=0.4, \qquad b=0.5, \qquad c=2, \qquad d=0.1, \qquad e=2, \\ &q=8, \qquad d_{1} = 0.1, \qquad d_{2} = 0.2, \qquad l = 2. \end{aligned} $$
(5.1)

Then \((u_{*},v_{*})=(0.1606, 1.6143)\) is a unique coexisting equilibrium. Hypothesis (\(\mathbf{H_{1}}\)) is satisfied, and the parameters are in Case 1. By calculation we have \(\tau _{*}=\tau ^{0}_{0} \approx 2.3471\). By Theorem 3.1 we have that \((u_{*},v_{*})\) is stable when \(\tau \in [0,\tau _{*})\), which is shown in Fig. 1; \(\tau =\tau _{*}\) is the critical value. When τ crosses it, the stability of \((u_{*},v_{*})\) changes, and bifurcating solution occurs. By calculation we have

$$ \mu _{2} \approx 22.1033>0, \qquad \beta _{2}\approx -5.1222< 0, \quad \mbox{and} \quad T_{2}\approx 10.1370< 0. $$

Hence the locally asymptotically stable bifurcating periodic solutions appears for \(\tau >2.3471\), which is shown in Fig. 2.

Figure 1
figure 1

When \(\tau =2\), \((0.1606, 1.6143)\) is asymptotically stable

Figure 2
figure 2

When \(\tau =2.5\), \((0.1606, 1.6143)\) is is unstable, and stable bifurcating periodic solutions appear

6 Conclusion

We have studied the impact of delay on the dynamics of a diffusive predator–prey model. In this model the functional response is of Crowley–Martin type, and the harvesting of predator is modeled by Michaelis–Menten-type harvesting. We give a sufficient condition (2.4) for coexisting equilibrium to exist. When time delay \(\tau =0\), the stability of coexisting equilibrium is investigated, and the conditions for stability and Turing instability are given in Theorem 3.1. When time delay τ increases, it can affect the stability of coexisting equilibrium and induce Hopf bifurcation. In addition, the property of Hopf bifurcation is considered, including the direction and stability of bifurcating period solutions. Our results suggest that diffusion and time delay are two factors that should be considered in establishing the predator–prey model, since they can induce the Turing instability and spatially bifurcating period solutions.