1 Introduction

Creating new job opportunities is a priority for any vibrant economy. In the aftermath of the financial crisis government efforts have primarily focused on containing instability and reducing public debt, yet active labour market policies might be needed to promote employment. New vacancies reduce the number of those registered as unemployed, but they conceivably attract as well new migrant workers. International migration can add to the uncertainty in labour market prospects for natives, and easily translates into a sensitive issue for policy makers to review in times of economic instability (Facchini and Mayda 2008; Blanchflower and Shadforth 2009; Hatton 2014). Arguably, a successful policy addressing unemployment and that benefits the economy over time creates employment opportunities for natives, as well as supporting migrants. We hence propose to explore the viability of a labour market policy supporting vacancy creation, where the government acknowledges the simultaneous search for jobs by natives and new immigrants.

We consider unemployment in migrants destinations as a factor in the latters’ decision to move. Unemployment levels influence the potential to match migrants with employment opportunities abroad and it can act as a deterrent to further immigration. The empirical literature on labour mobility finds a weak and ambiguous relationship between unemployment and migration (see for a survey of relevant studies Bauer and Zimmermann 1999; Jean and Jimenez 2011; Angrist and Kugler 2003; Blanchflower and Shadforth 2009; Damette and Fromentin 2013). Yet, Hatton (2014) concludes that during an economic slump the increase in unemployment is typically associated with a decline in immigration. As such, we will accept that migration is declining where unemployment is on the rise, further reflecting the experience during the recent economic crisis.

The complex interaction between migration and unemployment over time motivated a dynamic model capturing developments in aggregate unemployment for an open economy. We build on insights from job search and matching models of unemployment [e.g. Pissarides (2011)] but focus on aggregate flows to and out of unemployment, along with migration and its labour market impact in an open economy. We analyse the fluctuation in unemployment in a continuous time framework, as previously proposed by Shimer (2011) when undertaking empirical tests of US unemployment factors. We explore more closely the dynamic market interaction between unemployment, vacancies, employment and migration, by adding policy intervention to the framework.

Earlier research considering the economic dynamics of migration is rare, but Camacho (2013) models the decisions of inter-regionally mobile skilled workers and analyses the steady state stability of a system informed by the new economic geography framework. The paper provided numerical simulations presenting stability trajectories in the context of different technologies. While also building a dynamic system and undertaking simulation for an open economy, we depart in this paper from the individual choices of migrants and focus instead on the aggregate outcomes in terms of unemployment, with migration a contributing factor.

Our approach is to build a system modelling the dynamics of unemployment and to question the extent to which the policy framework leads to locally stable outcomes. The local stability of our system is analysed theoretically under particular conditions, on the basis of a non-linear dynamic mathematical model with distributed delays. Earlier economic literature modelling delays in a different decision making context observes that lack of lags in information, while conventionally a source of stability, it can also destroy a stable equilibrium (Huang 2008). To test the impact of delays in policy reaction we simulate our system under alternative specifications. We observe a variation in outcomes where migration is built into the policy reaction function and enhances labour market intervention beyond the usual response to local unemployment.

Intervention in reaction to particular events has been previously considered by Nikolopoulos and Tzanetis (2003) who developed a model that looks at housing allocation of homeless families due to a natural disaster. Using concepts from this paper, Misra and Singh (2011) constructed and analysed nonlinear mathematical models for the reduction of unemployment. In Misra and Singh (2013), the model is further described by a nonlinear dynamic system with delay. Their system includes: the number of unemployed, the number of employed, and the number of newly created vacancies through government intervention. There are separations from existing jobs and posts are being occupied by a proportion of those unemployed, who also benefit from policy induced vacancies creation. A time delay is introduced in the rate of creation of new vacancies through policy action and a detailed stability analysis is provided.

Our study is primarily in line with that of Misra and Singh (2011, (2013). The latter started from a macroeconomic perspective in a developing country and observed aggregate matching processes and the interaction between unemployment and policy supported vacancies. We propose to extend the application of this framework to the case where migrants arrive to look for jobs, and can become unemployed or take up employment at destination. Our analysis reflects the circumstances in developed economies that are open to at least some internationally mobile workers. Under conditions similar to the single market operating in the EU there is no direct policy control over migrant numbers and governments just observe the stock of migrants on their territory along with the number of the unemployed. Consequently, any vacancies created through policy intervention will depend on the number of the unemployed observed simultaneously with new migrant labour.

In this paper we consider initially a new state variable to supplement the system described in Misra and Singh (2013), the total number of jobs on the market. This variable captures market responses to unemployment and the implicit downward pressures on wages. Due to the fact that “continuously distributed” delay models are more realistic (Ruan 1996), we also propose to use a distributed time delay in relation to both unemployment and migration. We further focus on the number of immigrants as a variable along with market and policy induced job creation. For the resulting nonlinear mathematical model we use stability theory of differential equations. We prove analytically that under some conditions there is a unique positive equilibrium point. Then, for this equilibrium point, we study the local stability behaviour and we analyse the influence of the distributed time delay on the stability properties. In this way, two different kernels are introduced and a detailed analysis is done with respect to these. For both Dirac and weak kernels we prove that Hopf bifurcation occurs and a family of periodic solutions bifurcates from the equilibrium when the bifurcation parameter passes through a critical value. This critical value of delay is obtained analytically.

The paper is organised as follows. In Sect. 2 the model for unemployment reduction with migration and two kernels is described. An equilibrium analysis is presented in Sect. 3. For different types of kernels a stability analysis is done in Sect. 4. Numerical simulations are carried out in Sect. 5. Finally, concluding remarks are given in Sect. 6 and the Appendix provides technical details.

2 The Mathematical Model

We model unemployment in a continuous time framework, along with a policy of jobs creation. The number of individuals claiming unemployment rises over time under the influence of external factors and we see this number diminish where a proportion of the unemployed find jobs created by recovering markets or through active labour market stimulation. Yet, some of those currently in employment might also be dismissed and job losses increase unemployment, along with the arrival of migrants who cannot find a job at destination. Finally, some of the unemployed can also leave or retire, diminishing the numbers of those in need of support through job creation. The change in unemployment is captured in Eq. (1).

In the modelling process, we consider that all individuals are qualified to do any job. At any time t, the number of unemployed persons, U(t), changes by an autonomous factor \(a_1\). The instantaneous rate of movement from unemployment to employment is jointly proportional to U(t) and the number of available vacancies \(P(t)+V(t)-E(t)\), where P(t) is the total number of jobs on the market, V(t) is the total number of newly created vacancies through government intervention and E(t) is the number of employed individuals.

Migrants are attracted to a particular labour market by a mixture of economic and non-economic factors. Persistently large income differentials between migrants’ typical origins and destination countries mean an ongoing inflow of workers from abroad, ready to enter the labour market of our observed economy. The stock of migrants typically increases, often through the attractiveness of social networks and translating into an autonomous rise of migrant stocks, independent of economic conditions. Yet migrants’ attraction to a labour market is a function of their employability, which depends on the available jobs in the destination economy. Migrants can also benefit from access to newly created vacancies. By entering employment abroad, immigrants become part of the labour force at destination, rising the number of total employed individuals in the economy. Foreign workers can also be expected to register as jobless, ultimately increasing the numbers claiming unemployment benefits. On the other hand, return migration often represents a significant proportion of the initial migrants, diminishing the migrant stock along with natural attrition. Such developments are captured by Eq. (2).

In the model, the number of immigrants that become part of the active labour force at destination at time t is denoted by M(t). It is assumed that migration increases by an autonomous amount \(m_1\). The rate of instantaneous movement of immigrants into employment \(m_2\) is jointly proportional to M(t) and the number of available jobs \(P(t)+V(t)-E(t)\). The proportion of migrants who register as unemployed is \(a_5\) .

The number of individuals in employment rises through the job findings of the unemployed and migrant workers occupying market created jobs and vacancies supported through government intervention. Total employment decreases as a consequence of either retirement or natural loss, along with a number of workers losing jobs, or moving into unemployment.

This is expressed formally in (3), reflecting in the first two factors of the equation the move from unemployment or migration to employment. These are processes complementary to those described in model (1) and (2). The rate at which the employed are separating from their jobs is \(a_4\).

The death rates of the unemployed, employed and immigrants are \(a_3\), \(m_3\) and \(b_1\).

Our system also captures the fact that government supports vacancies creation with the purpose to bring down unemployment and make better use of available human resources. There is no discrimination between natives and migrants in accessing new jobs, whether these are created by the market or through policy intervention. Both unemployment and migrant numbers are observed by the government and these numbers shape future intervention. Vacancies creation takes place with a delay, influenced by the process of making reliable data available, and the time needed for a policy response to be formulated. Equation (4) captures the active labour market policy supporting new vacancies, with different delays in the reaction to observed unemployment or migration.

The distributed time delay is introduced in the terms \(\int _0^{\infty }k_1(d_1,s)U(t-s)ds\) and \(\int _0^{\infty }k_2(d_2,s)M(t-s)ds\), where \(k_1(d_1,s)\) with \(d_1>0\) and \(k_2(d_2,s)\) with \(d_2>0\), are called “kernels” (Bernard et al. 2001). These represent density functions of the delays.

We also consider that there is variation over time in the jobs created by the market, depending on unemployment and implicit wage pressures associated with decreasing unemployment. This is expressed in Eq. (5).

The change over time in the number of jobs created by the market P(t) is proportional to U(t) and we add a jobs depreciation rate of \(c_2\).

In view of the above considerations, the problem of unemployment reduction with migration and distributed delays may be written as follows:

$$\begin{aligned} \dot{U}(t)= & {} a_1-a_2U(t)(P(t)+V(t)-E(t))-a_3U(t)+a_4E(t)+a_5M(t), \end{aligned}$$
(1)
$$\begin{aligned} \dot{M}(t)= & {} m_1-m_2M(t)(P(t)+V(t)-E(t))-(a_5+m_3)M(t), \end{aligned}$$
(2)
$$\begin{aligned} \dot{E}(t)= & {} a_2U(t)(P(t)+V(t)-E(t))+m_2M(t)(P(t)+V(t)-E(t))\nonumber \\&-(b_1+a_4)E(t), \end{aligned}$$
(3)
$$\begin{aligned} \dot{V}(t)= & {} e_1\int _0^{\infty }k_1(d_1,s)U(t-s)ds+e_3\int _0^{\infty }k_2(d_2,s)M(t-s)ds-e_2V(t),\nonumber \\ \end{aligned}$$
(4)
$$\begin{aligned} \dot{P}(t)= & {} c_1U(t)-c_2P(t). \end{aligned}$$
(5)

where \(a_{i},\;i=1,2,3,4,5\), \(b_1\), \(c_i\), \(i=1,2,3\), d, \(d_1\), \(d_2\), \(e_i\), \(i=1,2,3\), \(m_i\), \(i=1,2,3\) are real positive numbers.

In Eq. (4), the functions \(k_1(d_1,s)\), \(k_2(d_2,s)\), are defined by \(k_i(d_i,\cdot ):[0,\infty )\rightarrow \mathbb {R}_+\), \(i=1,2\) and satisfy the conditions:

  1. 1.

    \(k_i(d_i,s)\varDelta s\) represents the probability of the event of occurrence of delay between s and \(s+\varDelta s\). That is, \(k_i(d_i,s)\) satisfies the following:

    $$\begin{aligned}&k_i(d_i,s)\ge 0, \int _0^{\infty }k_i(d_i,s)ds=1,\nonumber \\&\quad \int _0^{\infty }sk_i(d_i,s)ds=\mathcal{E}(d_i), s\in [0,\infty ),d_i>0, i=1,2 \end{aligned}$$
    (6)

    where \(\mathcal{E}(d_i)\) is the expectation of the distributed delay.

  2. 2.

    As the variable s tends to infinity, it is rapidly decreasing or its support is compact.

In what follows, we consider the following types of expressions for \(k_i(d_i,s)\) (Bernard et al. 2001):

  1. 1.

    The weak kernel

    $$\begin{aligned} k(d,s)=de^{-ds}, d>0 \end{aligned}$$
    (7)

    From (6) we have \(\mathcal{{E}}(d)=\displaystyle \frac{1}{d}\).

  2. 2.

    The Dirac kernel

    $$\begin{aligned} k(\tau ,s)=\delta (s-\tau ), \tau >0, \end{aligned}$$
    (8)

    where \(\delta (s-\tau )\) is the Dirac distribution. From (6) we have \(\mathcal{{E}}(\tau )=\tau \).

If \(k_i(d_i,s)\), \(i=1,2\), have the form (7), then Eq. (4) is given by

$$\begin{aligned} \dot{V}(t)=e_1d_1\int _0^{\infty }e^{-d_1s}U(t-s)ds+e_3d_2\int _0^{\infty }e^{-d_2s}M(t-s)ds-e_2V(t). \end{aligned}$$
(9)

If \(k(\tau _i,s)\) are given by (8), then Eq. (4) is given by

$$\begin{aligned} \dot{V}(t)=e_1U(t-\tau _1)+e_3M(t-\tau _2)-e_2V(t). \end{aligned}$$

If \(k_1(d_1,s)\) has the form (7) and \(k_2(\tau _2, s)\) is given by (8), Eq. (4) is given by

$$\begin{aligned} \dot{V}(t)=e_1d_1\int _0^{\infty }e^{-d_1s}U(t-s)ds+e_3M(t-\tau _2)-e_2V(t). \end{aligned}$$
(10)

In the following we analyse the model (1)–(5) using the stability theory of the differential equation with distributed delay. We find the region of attraction given in the form of the following lemma:

Lemma

The set

$$\begin{aligned} \varOmega= & {} \left\{ (U,M,E,V,P):0\le U+M+E\le \displaystyle \frac{a_1+m_1}{\delta },\right. \nonumber \\&\left. 0\le V\le \displaystyle \frac{(e_1+e_3)(a_1+m_1)}{\delta e_2}, 0\le P\le \displaystyle \frac{c_1(a_1+m_1)}{\delta c_2}\right\} \end{aligned}$$
(11)

where \(\delta =\min (a_3,b_1,m_3)\) is a region of attraction for the system (1)–(5) and it attracts all solutions initiating in the interior of the positive octant.

Proof

See Appendix 1.

3 Equilibrium Analysis

The non-negative equilibrium \(E_0(x_{10}\), \(x_{20}\), \(x_{30}\), \(x_{40}\), \(x_{50})\) is obtained by solving the following system:

$$\begin{aligned}&a_1-a_2x_1(x_5+x_4-x_3)-a_3x_1+a_4x_3+a_5x_2=0 \end{aligned}$$
(12)
$$\begin{aligned}&m_1-m_2x_2(x_5+x_4-x_3)-(a_5+m_3)x_2=0\end{aligned}$$
(13)
$$\begin{aligned}&a_2x_1(x_5+x_4-x_3)+m_2x_2(x_5+x_4-x_3)-(b_1+a_4)x_3=0\end{aligned}$$
(14)
$$\begin{aligned}&e_1x_1+e_3x_2-e_2x_4=0\end{aligned}$$
(15)
$$\begin{aligned}&c_1x_1-c_2x_5=0 \end{aligned}$$
(16)

From (12)–(14), we obtain:

$$\begin{aligned} a_1+m_1-a_3x_1-m_3x_2-b_1x_3=0. \end{aligned}$$
(17)

From (15)–(16), we have:

$$\begin{aligned} x_4=\displaystyle \frac{e_1x_1+e_3x_3}{e_2},\quad x_5=\displaystyle \frac{c_1x_1}{c_2},\quad x_3=\displaystyle \frac{a_1+m_1-a_3x_1-m_3x_2}{b_1}. \end{aligned}$$
(18)

From (18), we get:

$$\begin{aligned} x_4+x_5-x_3=\displaystyle \frac{ab_1x_1+bb_1x_2-(a_1+m_1)}{b_1} \end{aligned}$$
(19)

where

$$\begin{aligned} a=\displaystyle \frac{c_1}{c_2}+\displaystyle \frac{e_1}{e_2}+\displaystyle \frac{a_3}{b_1},\quad b=\displaystyle \frac{e_3}{e_2}+\displaystyle \frac{m_3}{b_1}. \end{aligned}$$
(20)

From (19) and (12), we get:

$$\begin{aligned}&H_{\alpha }:=\alpha _{20}x_1^2+\alpha _{11}x_1x_2-\alpha _{10}x_1+\alpha _{01}x_2-\alpha _{00}=0, \end{aligned}$$
(21)
$$\begin{aligned}&H_{\beta }:=\beta _{02}x_2^2+\beta _{11}x_1x_2-\beta _{01}x_2-\beta _{00}=0, \end{aligned}$$
(22)

where

$$\begin{aligned} \begin{aligned} \alpha _{20}&=a_2b_1a, \alpha _{11}=a_2b_1b,\\ \alpha _{10}&=a_2(a_1+m_1)-a_3(b_1+a_4),\\ \alpha _{01}&=a_5b_1-a_4m_3, \alpha _{00}=a_1b_1+a_4(a_1+m_1),\\ \beta _{02}&=m_2b_1b, \beta _{11}=m_2b_1a, \\ \beta _{01}&=m_2(a_1+m_1)-b_1(a_3+a_5),\\ \beta _{00}&=m_1b_1. \end{aligned} \end{aligned}$$
(23)

Equations (21) and (22) represent the equations of two hyperboles. The hyperbole \(H_{\alpha }\) has the center \(C_{\alpha }\small {\left( \displaystyle \frac{\alpha _{01}}{\alpha _{11}}, \displaystyle \frac{\alpha _{11}\alpha _{10}-2\alpha _{20}\alpha _{01}}{\alpha _{11}^2}\right) }\) and the asymptotes \(x_1=\displaystyle \frac{\alpha _{01}}{\alpha _{11}}\) and \(x_2+\small {\displaystyle \frac{\alpha _{11}\alpha _{10}-2\alpha _{20}\alpha _{01}}{\alpha _{11}^2}=-\displaystyle \frac{a}{b}\left( x_1-\displaystyle \frac{\alpha _{01}}{\alpha _{11}}\right) }\).

The hyperbola \(H_{\beta }\) has the center \(C_{\beta }\small {\left( \displaystyle \frac{\beta _{01}}{\beta _{11}},0\right) }\) and the asymptotes \(x_1=0\), \(x_2=-\displaystyle \frac{a}{b}\small {\left( x_1-\displaystyle \frac{\beta _{01}}{\beta _{11}}\right) }\).

A necessary condition, as the hyperboles \(H_{\alpha }\), \(H_{\beta }\) have a common point with positive coordinates, is that the coordinates of the centers are positive and \(\displaystyle \frac{a}{b}>1\). Thus, we have the conditions:

$$\begin{aligned} a>b, b\alpha _{10}>2a\alpha _{01}, m_2a\alpha _{01}<a_2b\beta _{01}. \end{aligned}$$
(24)

Now, we determine the equation which determines the coordinate \(x_{10}\) of the intersection point.

From (21), we get:

$$\begin{aligned} x_2=\displaystyle \frac{\alpha _{00}+\alpha _{10}x_1-\alpha _{20}x_1^2}{\alpha _{11}x_1-\alpha _{01}}. \end{aligned}$$
(25)

From (25), (22), we have:

$$\begin{aligned} \gamma _3x_1^3+\gamma _2x_1^2+\gamma _1x_1+\gamma _0=0 \end{aligned}$$
(26)

with

$$\begin{aligned} \begin{aligned} \gamma _3&=\alpha _{10}\alpha _{11}\beta _{11}-\alpha _{20} \left( \beta _{11}\alpha _{01}+\alpha _{11}\beta _{01}\right) ,\\ \gamma _2&=\alpha _{00}\alpha _{11}\beta _{11}-\beta _{02}\alpha _{10}^2+\alpha _{10}(\beta _{11}\alpha _{01}+ \alpha _{11}\beta _{01})\\&\quad \, +\alpha _{20}\alpha _{01}\beta _{01}+\beta _{00}\alpha _{11}^2,\\ \gamma _1&=-2\beta _{02}\alpha _{00}\alpha _{10}-\alpha _{01}\alpha _{10}\beta _{01}\\&\quad \,+\,\alpha _{00}(\beta _{11}\alpha _{01}+\alpha _{11}\beta _{01})-2\beta _{00}\alpha _{11}\alpha _{01},\\ \gamma _0&=\beta _{00}\alpha _{01}^2-\alpha _{00}(\beta _{02}\alpha _{00}+\beta _{01}\alpha _{01}) \end{aligned} \end{aligned}$$
(27)

Proposition 1

If

$$\begin{aligned} \begin{aligned} a>b, b\alpha _{10}>2a\alpha _{01}, m_2a\alpha _{01}<a_2b\beta _{01}\\ \gamma _{3}>0, \gamma _{2}>0, \gamma _{1}<0, \gamma _0<0, \end{aligned} \end{aligned}$$
(28)

then the non-negative equilibrium \(E_0\) has the coordinates:

$$\begin{aligned} x_{20}= & {} \displaystyle \frac{\alpha _{00}+\alpha _{10}x_{10}-\alpha _{20}x_{10}^2}{\alpha _{11}x_{10}-\alpha _{01}},\nonumber \\ x_{30}= & {} \displaystyle \frac{a_1+m_1-a_3x_{10}-m_3x_{20}}{b_1},\nonumber \\ x_{40}= & {} \displaystyle \frac{e_1x_{10}+e_3x_{20}}{e_2}, x_{50}=\displaystyle \frac{c_1x_{10}}{c_2}, \end{aligned}$$
(29)

where \(x_{10}\) is the positive solution of Eq. (26).

Proof

See Appendix 2.

Using the transformation \(u_1(t)=U(t)-x_{10}\), \(u_2(t)=M(t)-x_{20}\), \(u_3(t)=E(t)-x_{30}\), \(u_4(t)=V(t)-x_{40}\), \(u_5(t)=P(t)-x_{50}\), system (1)–(5) becomes:

$$\begin{aligned} \begin{aligned} \dot{u}_1(t)=&-(\alpha _3+a_3)u_1(t)+a_5u_2(t)+(\alpha _1+a_4)u_3(t)-\alpha _1u_4(t)-\alpha _1u_5(t)\\&-a_2u_1(t)(u_5(t)+u_4(t)-u_3(t)),\\ \dot{u}_2(t)=&-(\alpha _4+a_5+m_3)u_2(t)+\alpha _2u_3(t)-\alpha _2u_4(t)-\alpha _2u_5(t)\\&-m_2u_2(t)(u_5(t)+u_4(t)-u_3(t)),\\ \dot{u}_3(t)&=\,\alpha _3u_1(t)-\alpha _4u_2(t)-(\alpha _1+\alpha _2+b_1+a_4)u_3(t)+(\alpha _1+\alpha _2)u_4(t)\\&\quad +\,(\alpha _1+\alpha _2)u_5(t)+a_2u_1(t)(u_5(t)+u_4(t)\\&\quad -\,u_3(t))+m_2u_2(t)(u_5(t)+u_4(t)-u_3(t)),\\ \dot{u}_4(t)=&\,e_1\int _0^{\infty }k_1(d_1,s)u_1(t-s)ds+e_3\int _0^{\infty }k_2(d_2,s)u_2(t-s)ds-e_2u_4(t),\\ \dot{u}_5(t)=&\,c_1u_1(t)-c_2u_5(t), \end{aligned} \end{aligned}$$
(30)

where

$$\begin{aligned} \begin{aligned} \alpha _1&=a_2x_{10}, \alpha _2=m_2x_{20}, \alpha _3=a_2(x_{50}+x_{40}-x_{30}),\\ \alpha _4&=m_2(x_{50}+x_{40}-x_{30}). \end{aligned} \end{aligned}$$
(31)

The system (30) is given by:

$$\begin{aligned} \dot{u}(t)=Au(t)+\int _0^{\infty }K(d_1,d_2,s)u(t-s)ds+F(u(t)) \end{aligned}$$
(32)

where

$$\begin{aligned} u(t)= & {} (u_1(t),\quad u_2(t),\quad u_3(t),\quad u_4(t),\quad u_5(t))^T, \end{aligned}$$
(33)
$$\begin{aligned} A= & {} \left( \begin{array}{ccccc} a_{11}&{}\quad a_{12}&{}\quad a_{13} &{}\quad -\alpha _1 &{}\quad -\alpha _1\\ 0 &{}\quad a_{22} &{}\quad \alpha _2 &{}\quad -\alpha _2 &{}\quad -\alpha _2\\ \alpha _3 &{}\quad -\alpha _4 &{}\quad 0&{}\quad a_{34} &{}\quad a_{35}\\ 0 &{}\quad 0&{}\quad 0 &{}\quad -e_2 &{}\quad 0\\ c_1 &{}\quad 0 &{}\quad 0 &{}\quad 0 &{}\quad -c_2\\ \end{array} \right) \end{aligned}$$
(34)

where

\(a_{11}=\,-\alpha _3-a_3\), \(a_{12}=a_5\), \(a_{22}=-\alpha _4-a_5-m_3\),

\(a_{13}=\,\alpha _1+a_4\), \(a_{33}=-\alpha _1-\alpha _2-b_1-a_4\), \(a_{34}=\alpha _1+\alpha _2\), \(a_{35}=\alpha _1+\alpha _2\),

$$\begin{aligned} K(d_1,d_2,s)=\left( \begin{array}{ccccc} 0&{}\quad 0 &{}\quad 0 &{}\quad 0 &{}\quad 0\\ 0&{}\quad 0 &{}\quad 0 &{}\quad 0 &{}\quad 0\\ 0&{}\quad 0 &{}\quad 0 &{}\quad 0 &{}\quad 0\\ e_1k_1(d_1,s) &{}\quad e_3k_2(d_2,s) &{}\quad 0 &{}\quad 0 &{}\quad 0\\ 0&{}\quad 0 &{}\quad 0 &{}\quad 0 &{}\quad 0\\ \end{array} \right) \end{aligned}$$
(35)

\(F(u(t))=(F^1(u(t)), F^2(u(t)), F^3(u(t)), 0, 0)^T\) with

$$\begin{aligned} \begin{aligned} F^1(u(t))&=-a_2u_1(t)(u_5(t)+u_4(t)-u_3(t)), \\ F^2(u(t))&=-m_2u_2(t)(u_5(t)+u_4(t)-u_3(t)),\\ F^3(u(t))&=-F^1(u(t))-F^2(u(t)). \end{aligned} \end{aligned}$$
(36)

4 Stability Analysis

In this section, we study the local stability behaviour of the non-negative equilibrium \(E_0\), in both the cases of no distributed delay and distributed delay.

Using the matrices A and \(K(d_1,d_2,s)\) from (34) and (35), the characteristic equation of the linearised system (30) is as follows:

$$\begin{aligned} Q_3(\lambda )+Q_1(\lambda )\int _0^{\infty }k_1(d_1,s)e^{-\lambda s}ds+Q_2(\lambda )\int _0^{\infty }k_2(d_2,s)e^{-\lambda s}ds=0, \end{aligned}$$
(37)

where

$$\begin{aligned} \begin{aligned} Q_3(\lambda )&=\lambda ^5+q_{34}\lambda ^4+q_{33}\lambda ^3+q_{32}\lambda ^2+q_{31}\lambda +q_{30},\\ Q_2(\lambda )&=q_{23}\lambda ^3+q_{22}\lambda ^2+q_{21}\lambda +q_{20},\\ Q_1(\lambda )&=q_{13}\lambda ^3+q_{12}\lambda ^2+q_{11}\lambda +q_{10}, \end{aligned} \end{aligned}$$
(38)

where

$$\begin{aligned} q_{34}= & {} c_2+e_2-a_{11}-a_{22}-a_{33},\nonumber \\ q_{33}= & {} c_1\alpha _{1}+e_2c_2-(c_2+e_2)(a_{11}+a_{22}+a_{33})+a_{22}a_{33}+a_{11}(a_{22}+ a_{33})\nonumber \\&-\,a_{13}\alpha _3+\alpha _2\alpha _4\nonumber \\ q_{32}= & {} e_1e_2\alpha _{1}-c_1(\alpha _1(a_{22}+a_{33})+a_{13}a_{35}-\alpha _2a_{12})- e_2c_2(a_{11}+a_{22}+a_{33})\nonumber \\&+\,(c_2+e_2)(a_{22}a_{33}+a_{11}(a_{22}+a_{33})-a_{13}\alpha _3+\alpha _2\alpha _4)\nonumber \\&-\,a_{11}a_{22}a_{33}-\alpha _2\alpha _3a_{12}+\alpha _3a_{13}a_{22}\nonumber \\&-\,\alpha _2\alpha _4a_{11},\nonumber \\ q_{31}= & {} -e_1e_2(\alpha _1(a_{22}+a_{33})+a_{13}a_{35}-\alpha _2a_{12})+c_1(-a_{12}a_{35}\alpha _2-\alpha _2\alpha _4a_{13}\nonumber \\&+\,\alpha _1a_{22}a_{33}+\alpha _1\alpha _2\alpha _4+a_{13}a_{22}a_{35}-\alpha _2a_{12}a_{33})\nonumber \\&+\,e_2c_2(a_{22}a_{33}+a_{11}(a_{22}+a_{33})-a_{13}\alpha _3\nonumber \\&+\,\alpha _2\alpha _4)+(c_2+e_2)(-a_{11}a_{22}a_{33}-\alpha _2\alpha _3a_{12}+\alpha _3a_{13}a_{22}-\alpha _2\alpha _4a_{11})\nonumber \\ q_{30}= & {} c_1c_2(-a_{12}a_{32}\alpha _2-\alpha _2\alpha _4a_{13}+\alpha _1a_{22}a_{33}+\alpha _1\alpha _2\alpha _4+a_{13}a_{22}a_{35}-\alpha _2a_{12}a_{33})\nonumber \\&+\,e_2c_2(-a_{11}a_{22}a_{33}-\alpha _2\alpha _3a_{12}+\alpha _3a_{13}a_{22}-\alpha _2\alpha _4a_{11}),\nonumber \\ q_{23}= & {} -e_3d_2,\nonumber \\ q_{22}= & {} -e_3c_2\alpha _{2}+e_3\alpha _2(a_{11}+a_{33})+e_3\alpha _2a_{34},\nonumber \\ q_{21}= & {} e_3c_2\alpha _2(a_{11}+a_{33}+\alpha _2a_{34})-e_3\alpha _2a_{11}a_{34}+e_3\alpha _2\alpha _3a_{13}-e_3\alpha _1\alpha _2\alpha _3\nonumber \\&-\,e_2\alpha _2a_{11}a_{33},\nonumber \\ q_{20}= & {} e_3c_1(\alpha _2a_{13}-\alpha _1\alpha _2)(a_{35}-a_{34})+e_3c_2(-\alpha _2a_{11}a_{34}+\alpha _2\alpha _3a_{13}-\alpha _1\alpha _2\alpha _3\nonumber \\&-\,\alpha _2a_{11}a_{33})\nonumber \\ q_{13}= & {} e_1\alpha _1,\nonumber \\ q_{12}= & {} \alpha _1e_1c_2-e_1(\alpha _1(a_{22}+a_{33})+a_{13}a_{34}-\alpha _2a_{12})\nonumber \\ q_{11}= & {} -e_1c_2(\alpha _1(a_{22}+a_{33})+a_{13}a_{34}-\alpha _2a_{12})+e_1(-a_{12}a_{34}\alpha _2-a_{13}\alpha _2\alpha _4\nonumber \\&+\,\alpha _1a_{22}a_{33}+\alpha _1\alpha _2\alpha _4+a_{13}a_{34}a_{22}-\alpha _2a_{12}a_{33})\nonumber \\ q_{10}= & {} e_2c_2(-a_{12}a_{34}\alpha _2-a_{13}\alpha _2\alpha _4+\alpha _1a_{22}a_{33}+\alpha _1\alpha _2\alpha _4+a_{13}a_{34}a_{22}-\alpha _2a_{12}a_{33}).\nonumber \\ \end{aligned}$$
(39)

Proposition 2

If there is no effect of distributed delay, that is when \(\mathcal{E}=0\), the equilibrium point \(E_0\) given by (29) is locally asymptotically stable if and only if the following conditions hold:

$$\begin{aligned} \begin{aligned}&A_1>0, A_5>0, A_1A_2-A_3>0,\\&\quad A_1A_2A_3-A_3^2-A_1^2A_4>0,\\&\quad (A_3A_4-A_2A_5)(A_1A_2-A_3)-(A_1A_4-A_5)^2>0,\\ \end{aligned} \end{aligned}$$
(40)

where \(A_1=q_{34}\), \(A_2=q_{13}+q_{23}+q_{33}\), \(A_3=q_{12}+q_{22}+q_{32}\), \(A_4=q_{11}+q_{21}+q_{31}\), \(A_5=q_{10}+q_{20}+q_{30}\).

Proof

See Appendix 3.

We analyse (37) in the case when the expectation of distributed delay is \(\mathcal{E}_i(d_i)\not =0\), \(d_i>0\), \(i=1,2\), \(d_1=d_2\).

Theorem 1

Suppose that \(q_{30}-q_{20}-q_{01}<0\) and the conditions from (40) hold. Then the characteristic equation

$$\begin{aligned} \begin{aligned}&\lambda ^5 + q_{34}\lambda ^4 + q_{33}\lambda ^3 + q_{32}\lambda ^2 + q_{31}\lambda + q_{30}\\&\quad +(q_{13}+q_{23})\lambda ^3+(q_{12}+q_{22})\lambda ^2+(q_{11}+q_{21})\lambda \\&\quad +(q_{10}+q_{20})\int _0^{\infty }k(d_1,s)e^{-\lambda s}ds=0 \end{aligned} \end{aligned}$$
(41)

has a simple pair of conjugate purely imaginary roots \(\pm i\omega \) with some expectation \(\mathcal{E}_1(d_1)\).

Proof

See Appendix 4.

1. If both kernels are Dirac \(k_i(\tau _i,s)=\delta (s-\tau _i), \tau _i>0\), \(i=1,2\) with \(\tau _1=\tau _2=\tau \), the characteristic Eq. (41) is

$$\begin{aligned} \begin{aligned}&\lambda ^5+q_{34}\lambda ^4+q_{33}\lambda ^3+q_{32}\lambda ^2+q_{31}\lambda +q_{30}\\&\quad +(q_{13}+q_{23})\lambda ^3+(q_{12}+q_{22})\lambda ^2+(q_{11}+q_{21})\lambda +(q_{10}+q_{20})e^{-\lambda \tau }=0. \end{aligned} \end{aligned}$$
(42)

Using the method from Mircea et al. (2011) we have:

Theorem 2

Suppose that the conditions (40) and \(q_{30}-q_{20}-q_{10}<0\) hold. Then, Eq. (42) has a simple pair of conjugate purely imaginary roots \(\pm i\omega _{0}\), where \(\omega _{0}\) is a positive root of Eq. (71). For \(\omega _{0}\), we have:

$$\begin{aligned} \begin{aligned} \tau _0 =&\, \displaystyle \frac{1}{\omega _{0}}arccos \left( \displaystyle \frac{(q_{32}\omega _{0}^2-q_{34}q_{30}\omega _{0}^4)(q_{10}+q_{20}-(q_{11}+q_{22})\omega _{0}^2)}{(q_{10}+q_{20}-(q_{12}+q_{22})\omega _{0}^2)^2 ((q_{11}+q_{21})\omega _{0}-(q_{13}+q_{23})\omega _{0}^3)^2}\right. \\&\left. +\displaystyle \frac{(\omega _{0}^5+q_{33}\omega _{0}^3-q_{31}\omega _{0})((q_{11}+q_{21})\omega _{0}-(q_{12}+q_{23})\omega _{0}^3)}{(q_{10}+q_{20}-(q_{12}+q_{22})\omega _{0}^2)^2+ ((q_{11}+q_{21})\omega _{0}-(q_{13}+q_{23})\omega _{0}^3)^2}+2n\pi \right) ,\\&\qquad n=0,1,2,\ldots \end{aligned} \end{aligned}$$
(43)

Taking into account that \(\int _0^{\infty }k_1(\tau ,s)e^{-\lambda s}ds=e^{-\lambda \tau }\) and using Theorem 1 we obtain Theorem 2.

From Theorem 2, we obtain:

Theorem 3

Suppose the conditions (40) and \(q_{30}-q_{20}-q_{10}<0\) hold. Then, we have:

  1. 1.

    If \(\tau \in [0,\tau _{0})\), then the equilibrium point \(E_0\) is locally asymptotically stable;

  2. 2.

    If the condition

    $$\begin{aligned} \begin{aligned}&Re\left( \displaystyle \frac{(5\lambda ^4+4q_{34}\lambda ^3+3q_{33}\lambda ^2+2q_{32}\lambda +q_{31})e^{\lambda \tau }}{\lambda ((q_{13}+q_{23})\lambda ^3+(q_{12}+q_{22})\lambda ^2+(q_{11}+q_{21})\lambda +q_{10}+q_{20})}\right. \\&\quad +\left. \displaystyle \frac{3(q_{13}+q_{23})\lambda ^2+2(q_{12}+q_{22})\lambda + q_{11}+q_{21}}{\lambda ((q_{13}+q_{23})\lambda ^3+(q_{12}+q_{22})\lambda ^2+(q_{11}+q_{21})\lambda +q_{10}+q_{20})}\right) \bigg |_{\lambda =i\omega _{0},\tau =\tau _{0}}\not =0 \end{aligned} \end{aligned}$$
    (44)

holds, then in (32) the Hopf bifurcation occurs when \(\tau =\tau _{0}\).

Proof

See Appendix 5.

Remark

If Eq. (71) has \(r_0=q_{30}^2-(q_{10}+q_{20})^2>0\) and does not have positive roots, then the equilibrium point \(E_0\) is locally asymptotically stable for all \(\tau \ge 0\).

2. If both kernels are weak \(k_i(d_i,s)=d_ie^{-d_is}\), \(d_1=d_2>0\), then the characteristic equation (41) becomes:

$$\begin{aligned} \lambda ^6+A_1\lambda ^5+A_2\lambda ^4+A_3\lambda ^3+A_4\lambda ^2+A_5\lambda +A_6=0, \end{aligned}$$
(45)

where

$$\begin{aligned} \begin{aligned} A_1&=q_{34}+d_{1}, A_2=q_{33}+d_1q_{34}, \\ A_3&=q_{32}+d_1(q_{13}+q_{23}+q_{33}),\\ A_4&=q_{31}+d_1(q_{12}+q_{22}+q_{32}), \\ A_5&=q_{30}+d_1(q_{11}+q_{21}+q_{31}), A_6=d_1(q_{10}+q_{20}+q_{30}). \end{aligned} \end{aligned}$$
(46)

In what follows we consider:

$$\begin{aligned} \begin{aligned}&D_1(d_1):=A_1A_2-A_3, \\&D_2(d_1):=A_1A_2A_3+A_1A_5-A_3^2-A_4A_1^2,\\&D_3(d_1):=A_1(A_1A_3A_4+A_1A_2A_6+A_4A_5\\&\qquad -A_3A_6-A_1A_4^2-A_5A_2^2)\\&\qquad -(A_3^2A_4+A_5^2-A_1A_4A_5-A_2A_3A_5),\\&D_4(d_1):=A_5D_3(d_1)-A_6 \left| \begin{array}{cccc} A_1&{}\quad 1&{}\quad 0&{}\quad 0\\ A_3&{}\quad A_2&{}\quad A_1&{}\quad 0\\ A_5&{}\quad A_4&{}\quad A_3&{}\quad A_1\\ 0&{}\quad A_6&{}\quad A_5&{}\quad A_3 \end{array}\right| ,\\&D_5(d_1):=A_6D_4(d_1). \end{aligned} \end{aligned}$$
(47)

Proposition 4

If the conditions \(D_1(d_1)>0\), \(D_2(d_1)>0\), \(D_3(d_1)>0\), \(D_4(d_1)>0\), \(D_5(d_1)>0\) hold, for any \(d_1>0\), the equilibrium point \(E_0\) of system (1)–(5) is locally asymptotically stable.

The proof follows using the Routh–Hurwicz criteria for (45).

In what follows we consider the case \(k_1(\tau _1,s)=\delta (s-\tau _1)\), \(k_2(\tau _2,s)=\delta (s-\tau _2)\), with \(\tau _1\not =0\), \(\tau _2\not =0\).

Equation (37) becomes:

$$\begin{aligned} Q_3(\lambda )+Q_1(\lambda )e^{-\lambda \tau _1}+Q_2(\lambda )e^{-\lambda \tau _2}=0, \end{aligned}$$
(48)

where \(Q_1\), \(Q_2\), \(Q_3\) are given by (38).

For analysing Eq. (48) we consider the following subcases:

Case 1. \(\tau _1\not =0\), \(\tau _2=0\)

In this case, eq. (48) becomes:

$$\begin{aligned} Q_3(\lambda )+Q_2(\lambda )+Q_1(\lambda )e^{-\lambda \tau _1}=0. \end{aligned}$$
(49)

Considering \(\lambda =i\omega _1\) in (49) and separating the real and the imaginary parts we have:

$$\begin{aligned} \begin{aligned}&q_{34}\omega _1^4-(q_{22}+q_{32})\omega _1^2+q_{20}+q_{30}\\&\quad =(q_{12}\omega _1^2-q_{10})\mathrm{cos}(\omega _1\tau _1)+ (q_{13}\omega _1^3-q_{11}\omega _1)\mathrm{sin}(\omega _1\tau _1),\\&\omega _1^5-(q_{23}+q_{33})\omega _1^3+(q_{21}+q_{31})\omega _1\\&\quad =(q_{13}\omega _1^3-q_{11}\omega _1)\mathrm{cos}(\omega _1\tau _1)- (q_{12}\omega _1^2-q_{10})\mathrm{sin}(\omega _1\tau _1). \end{aligned} \end{aligned}$$
(50)

From (50), we have:

$$\begin{aligned} \omega _1^{10}+p_8\omega _1^8+p_6\omega _1^6+p_4\omega _1^4+p_2\omega _1^2+p_0=0, \end{aligned}$$
(51)

where

$$\begin{aligned} p_8= & {} q_{34}^2-2(q_{23}+q_{23}).\nonumber \\ p_6= & {} (q_{23}+q_{33})^2+2(q_{21}+q_{31})-2q_{34}(q_{22}+q_{32})-q_{13}^2,\nonumber \\ p_4= & {} (q_{22}+q_{32})^2+2q_{34}(q_{20}+q_{30})-2(q_{23}+q_{33})(q_{21}+q_{31})-q_{12}^2+2q_{13}q_{11},\nonumber \\ p_2= & {} (q_{21}+q_{31})^2-2(q_{22}+q_{32})(q_{20}+q_{30})+2q_{12}q_{10},\nonumber \\ p_0= & {} (q_{20}+q_{30})^2-q_{10}^2. \end{aligned}$$
(52)

Proposition 5

Suppose that the conditions (40) and \(q_{20}+q_{30}-q_{10}<0\) hold. Then, Eq. (49) has a simple pair of conjugate purely imaginary roots \(\pm i\omega _{01}\), where \(\omega _{01}\) is a positive root of Eq. (51). For \(\omega _{01}\) we have:

$$\begin{aligned} \begin{aligned} \tau _{01}=&\displaystyle \frac{1}{\omega _{01}}\left\{ arccos\left[ \left( q_{13}\omega _{01}^2-q_{11}\omega _{01}\right) \left( q_{34}\omega _{01}^3-(q_{22}+q_{32})\omega _{01}^2+q_{20}+q_{30}\right) \right. \right. \\&+\left( q_{12}\omega _{01}^2-q_{10}\right) \left( \omega _{01}^5-(q_{23}+q_{33})\omega _{01}^3+(q_{21}+q_{31})\omega _{01}\right) \left( \left( q_{12}\omega _{01}^2-q_{10}\right) ^2\right. \\&\left. \left. \left. +\left( q_{13}\omega _{01}^3-q_{11}\omega _{01}\right) ^2\right) \right] \right\} +2n\pi , n=0,1,.... \end{aligned} \end{aligned}$$
(53)

From Proposition 5, we obtain:

Proposition 6

Suppose conditions (40) and \(q_{20}+q_{30}-q_{10}<0\) hold. Then, we have:

  1. 1.

    If \(\tau _1\in [0,\tau _{01}]\), then the equilibrium point \(E_0\) is locally asymptotically stable;

  2. 2.

    If the condition

    $$\begin{aligned} \begin{aligned}&Re\left( \displaystyle \frac{(5\lambda ^4+4q_{34}\lambda ^3+3(q_{23}+q_{33})\lambda ^2+2(q_{22}+q_{32})\lambda +q_{21}+q_{31})e^{\lambda \tau _1}}{\lambda (q_{13}\lambda ^3+q_{12}\lambda ^2+q_{11}\lambda +q_{10})}\right. \\&\quad +\left. \displaystyle \frac{3\lambda ^2+2q_{12}\lambda +q_{11}}{\lambda (q_{13}\lambda ^3+q_{12}\lambda ^2+q_{11}\lambda +q_{10})}\right) |_{\lambda =i\omega _{01},\tau _1=\tau _{10}}\not =0 \end{aligned} \end{aligned}$$
    (54)

    holds,

then in (49) the Hopf bifurcation occurs when \(\tau _1=\tau _{01}\).

The proof can be done in a similar way as for Theorem 3.

Case 2. Let \(\tau _1^*\in [0,\tau _{10})\) fixed and \(\tau _2\not =0\). We determine the value \(\tau _{20}>0\), \(\tau _{20}(\tau _1^*)\) so that equation:

$$\begin{aligned} Q_3(\lambda )+Q_1(\lambda )e^{-\lambda \tau _1^*}+Q_2(\lambda )e^{-\lambda \tau _2}=0 \end{aligned}$$
(55)

admits the roots \(\lambda _2(\tau _2)=\pm i\omega _2(\tau _2(\tau _1))\).

We use the following notation:

$$\begin{aligned} A(\omega _2)= & {} \left( q_{34}\omega _2^4-q_{32}\omega _2^2+q_{30}\right) \left( q_{10}-q_{12}\omega _2^2\right) \nonumber \\&-\left( \omega _2^5+q_{33}\omega _2^3-q_{31}\omega _2\right) \left( q_{11}\omega _2-q_{13}\omega _2^3\right) ,\nonumber \\ B(\omega _2)= & {} \left( q_{34}\omega _2^4-q_{32}\omega _2^2+q_{30}\right) \left( q_{11}\omega _2-q_{13}\omega _2^3\right) \nonumber \\&+ \left( \omega _2^5+q_{33}\omega _2^3-q_{1}\omega _2\right) \left( q_{10}-q_{12}\omega _2^2\right) ,\\ C(\omega _2)= & {} \displaystyle \frac{1}{2} \left[ \left( q_{22}\omega _2^2-q_{20}\right) ^2+ \left( q_{23}\omega _2^2-q_{21}\omega _2\right) ^2- \left( q_{34}\omega _2^4-q_{32}\omega _2^2\right) ^2\right. \nonumber \\&\left. -\left( \omega _2^5+q_{23}\omega _2^2-q_{31}\omega _2\right) ^2- \left( q_{10}-q_{12}\omega _2^2\right) ^2-\left( q_{11}\omega _2-q_{13}\omega _2^3\right) ^2\right] \nonumber \end{aligned}$$
(56)
$$\begin{aligned} E_1(\omega _2)= & {} q_{34}\omega _2^4-q_{32}\omega _2^2+q_{30}+ \left( q_{10}-q_{12}\omega _2^2\right) \mathrm{cos}(\omega _2\tau _1^*)\nonumber \\&+\,\left( q_{11}\omega _2-q_{13}\omega _2^3\right) sin(\omega _2\tau _1^*),\\ E_2(\omega _2)= & {} \omega _2^5+q_{33}\omega _2^3-q_{31}\omega _2- \left( q_{11}\omega _2-q_{13}\omega _2^3\right) \mathrm{cos}(\omega _2\tau _1^*)\nonumber \\&+\,\left( q_{11}-q_{12}\omega _2^2\right) sin(\omega _2\tau _1^*).\nonumber \end{aligned}$$
(57)

Proposition 7

Suppose conditions (40) and \(q_{20}+q_{30}-q_{10}<0\) hold. Consider \(\tau _1^*\in [0,\tau _{10})\), where \(\tau _{10}\) is given by (53). Let \(\omega _{20}\) be a positive solution of

$$\begin{aligned} F(\omega _2):=A(\omega _2)\mathrm{cos}(\omega _2\tau _1^*)+B(\omega _2)sin(\omega _2\tau _1^*)-C(\omega _2)=0 \end{aligned}$$
(58)

and \(\tau _{20}\) is given by:

$$\begin{aligned} \begin{aligned} \tau _{20}=&\displaystyle \frac{1}{\omega _{20}}\left[ arccos\left( \displaystyle \frac{E_1(\omega _{20})(q_{22}\omega _{20}^2-q_{20})-E_2(\omega _{20})(q_{23}\omega _{20}^2- q_{21}\omega _{21})}{\left( q_{22}\omega _{20}^2-q_{20}\right) ^2+ \left( q_{23}\omega _{20}^2-q_{21}\omega _{21}\right) ^2}\right) +2n\pi \right] , \\&n=0,1,2,\ldots \end{aligned} \end{aligned}$$
(59)

The value \(\tau _2=\tau _{20}\) is a Hopf bifurcation. For \(\tau _2\in [0,\tau _{20})\) the equilibrium point \(E_0\) is locally asymptotically stable. For \(\tau _2>\tau _{20}\) the equilibrium point \(E_0\) is unstable. If \(\tau _2=\tau _{20}\) the given system has a limit cycle in the neighbourhood of the equilibrium point.

In what follows we study the case \(k_1(d_1,s)=d_1e^{-d_1s}\) and \(k_2(d_1,s)=d_2e^{-d_2s}\), with \(d_1>0\), \(d_2>0\).

Equation (37) becomes:

$$\begin{aligned} Q_3(\lambda )+Q_1(\lambda )\displaystyle \frac{d_1}{\lambda +d_1}+Q_2(\lambda )\displaystyle \frac{d_2}{\lambda +d_2}=0, \end{aligned}$$
(60)

where \(Q_1\), \(Q_2\), \(Q_3\) are given by (38).

From (60) with (38) we obtain the equation:

$$\begin{aligned} \lambda ^7+B_6\lambda ^6+B_5\lambda ^5+b_4\lambda ^4+B_3\lambda ^3+B_2\lambda ^2+B_1\lambda +B_0=0, \end{aligned}$$
(61)

where

$$\begin{aligned} \begin{aligned} B_6&=q_{34}+d_1+d_2, B_5=q_{33}+(d_1+d_2)q_{34}+d_1d_2,\\ B_4&=q_{34}+q_{32}+(d_1+d_2)q_{33}+d_1q_{13}+d_2q_{23},\\ B_3&=q_{31}+q_{32}(d_1+d_2)+d_1d_2(q_{33}+q_{23}+q_{13})+d_1q_{12}+d_2q_{22},\\ B_2&=(d_1+d_2)q_{31}+d_1d_2(q_{12}+q_{22}+q_{32})+d_2q_{21}+q_{11}d_{11},\\ B_1&=(d_1+d_2)q_{30}+d_1d_2(q_{32}+q_{21}+q_{11})+d_1q_{10}+d_2q_{20},\\ B_0&=d_1d_2(q_{30}+q_{20}+q_{10}). \end{aligned} \end{aligned}$$
(62)

We consider:

$$\begin{aligned} \begin{array}{l} D_1=B_1, D_2=B_1B_2-B_0B_3,D_3=\left| \begin{array}{ccc} B_1 &{}\quad B_0 &{}\quad 0\\ B_3 &{}\quad B_2 &{}\quad B_1\\ B_5 &{}\quad B_4 &{}\quad B_3\\ \end{array}\right| \\ D_4=\left| \begin{array}{cccc} B_1 &{}\quad B_0 &{}\quad 0 &{}\quad 0\\ B_3 &{}\quad B_2 &{}\quad B_1 &{}\quad B_0\\ B_5 &{}\quad B_4 &{}\quad B_3 &{}\quad B_2\\ 1 &{}\quad B_6 &{}\quad B_5 &{}\quad B_4\\ \end{array}\right| , D_5=\left| \begin{array}{ccccc} B_1 &{}\quad B_0 &{}\quad 0 &{}\quad 0 &{}\quad 0\\ B_3 &{}\quad B_2 &{}\quad B_1 &{}\quad B_0 &{}\quad 0\\ B_5 &{}\quad B_4 &{}\quad B_3 &{}\quad B_2 &{}\quad B_1\\ 1 &{}\quad B_6 &{}\quad B_5 &{}\quad B_4 &{}\quad B_3\\ 0 &{}\quad 0 &{}\quad 1 &{}\quad B_6 &{}\quad B_5\\ \end{array}\right| ,\\ D_6=\left| \begin{array}{cccccc} B_1 &{}\quad B_0 &{}\quad 0 &{}\quad 0 &{}\quad 0 &{}\quad 0\\ B_3 &{}\quad B_2 &{}\quad B_1 &{}\quad B_0 &{}\quad 0 &{}\quad 0\\ B_5 &{}\quad B_4 &{}\quad B_3 &{}\quad B_2 &{}\quad B_1 &{}\quad B_0\\ 1 &{}\quad B_6 &{}\quad B_5 &{}\quad B_4 &{}\quad B_3 &{}\quad B_2 \\ 0 &{}\quad 0 &{}\quad 1 &{}\quad B_6 &{}\quad B_5 &{}\quad B_4\\ 0 &{}\quad 0 &{}\quad 0 &{}\quad 0 &{}\quad 1 &{}\quad B_0\\ \end{array}\right| . \end{array} \end{aligned}$$
(63)

Proposition 8

If conditions \(D_1>0\), \(D_2>0\), \(D_3>0\), \(D_4>0\), \(D_5>0\), \(D_6>0\) hold for any \(d_i>0\), i=1,2, the equilibrium point \(E_0\) of system (1)–(5) is locally asymptotically stable.

5 Numerical Simulations and Discussions

In the next step we will simulate the outcome of the system choosing parameters informed by the economic literature, and specific delays. We present results where policy responds to both unemployment and migration, illustrating the behaviour of the system introduced theoretically. We further compare an outcome of our system in which we let government disregard migrant numbers in its policy reaction, with the more comprehensive approach in which policy responds to unemployment and migration alike.

For the numerical simulation we consider the following data: \(a_1=500\), \(a_2=0.00004\), \(a_3=0.04\), \(a_4=0.004\), \(a_5=0.1\), \(m_1=300\), \(m_2=0.00002\), \(m_3=0.05\), \(b_1=0.006\), \(c_1=0.08\), \(c_2=0.3\), \(e_1=0.04\), \(e_2=0.008\).

First, we simulate the situation where there are no delays in the system, and both migration and unemployment are factored into the promotion of vacancies.

If there is no delay, the conditions from Proposition 2 hold. Therefore the equilibrium point is locally asymptotically stable. In Figs. 1, 2 and 3, we can visualise the evolution of unemployment, employment, migration, market jobs and vacancies created through government intervention.

Fig. 1
figure 1

The trajectories of unemployment and employment when there is no delay and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 2
figure 2

The trajectories of migration and market jobs when there is no delay and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 3
figure 3

The trajectories of vacancies created through government intervention when there is no delay and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Next, we consider a case where vacancies are supported on the observation by policy makers of unemployment alone, disregarding the fact that migrants can take up some newly created jobs. Under this scenario, with no delays in the system and \(e_3=0\), we present the orbits of unemployment, employment, migration, market jobs and vacancies through government intervention in Figs. 4, 5 and 6.

Fig. 4
figure 4

The trajectories of unemployment and employment when there is no delay and vacancies are supported as policy makers observe unemployment only, \(e_3=0\)

Fig. 5
figure 5

The trajectories of migration and market jobs when there is no delay and vacancies are supported as policy makers observe unemployment only, \(e_3=0\)

Fig. 6
figure 6

The trajectories of vacancies created through government intervention when there is no delay and vacancies are supported as policy makers observe unemployment only, \(e_3=0\)

We would like to make a few interesting observations with respect to the simulated outcomes (over the same time framework), in particular with respect to unemployment. While unemployment declines for a little while in both scenarios, we have a much smaller initial decline in unemployment where migration is ignored in Fig. 4, and a much stronger rise in unemployment over time. The better outcome in unemployment levels in Fig. 1 is sustained through the ongoing action by policy makers where they take migration into account, whereas the government support for new vacancies is gradually reduced in the alternative scenario of Fig. 6. The market addition of a larger number of jobs where government ignores migration in Fig. 5 partly compensates for the lower number of vacancies supported through intervention. Yet, this is not enough to bring unemployment down to the level observed where the government considered migration in its policy formulation (see Fig. 1 vs. Fig. 4). Hence, we can conclude that where unemployment is the main target of policy and migration is part of the system, unemployment levels are much higher should policy ignore the inflow of migrant workers searching jobs along with natives.

We shall concentrate next on the simulation of our model where government responds, with a delay, to both unemployment and migration. If both kernels are Dirac \(k_i(\tau _i,s)=\delta (s-\tau _i)\) with \(\tau _1=\tau _2=\tau \), according to Theorem 3, there exists a Hopf bifurcation for \(\tau _{0}=90\) and a limit cycle. In Fig. 7, 8 and 9 the orbits of unemployment, employment, migration, market jobs and vacancies through government intervention are displayed.

Fig. 7
figure 7

Periodic orbits for unemployment and employment due to Hopf bifurcation emerge when the bifurcation parameter \(\tau \) passes the critical value \(\tau _{0}=90\), both kernels are Dirac and equal, and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 8
figure 8

Periodic orbits for migration and market jobs due to Hopf bifurcation take place when the bifurcation parameter \(\tau \) passes the critical value \(\tau _{0}=90\), when the both kernels are Dirac and equal, and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 9
figure 9

Periodic orbit for vacancies through government intervention due to Hopf bifurcation take place when the bifurcation parameter \(\tau \) passes the critical value \(\tau _{0}=90\), both kernels are Dirac and equal, and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

In the same scenario with both kernels Dirac \(k_i(\tau _i,s)=\delta (s-\tau _i)\), \(\tau _1=\tau _2=\tau \), we simulate the case when vacancies are supported on the observation by policy makers of unemployment alone, \(e_3=0\). In Figs. 10, 11 and 12 we have the orbits of unemployment, employment, migration, market jobs and vacancies through government intervention. They converge to the asymptotically stable equilibrium point. We emphasise that having ignored migration, policy intervention this time around results in a stable outcome.

Fig. 10
figure 10

The trajectories of unemployment and employment, when both kernels are Dirac and equal, and vacancies are supported as policy makers observe unemployment only, \(e_3=0\)

Fig. 11
figure 11

The trajectories of migration and market jobs, when both kernels are Dirac and equal, and vacancies are supported as policy makers observe unemployment only, \(e_3=0\)

Fig. 12
figure 12

The trajectory of vacancies through government intervention, when both kernels are Dirac and equal, and vacancies are supported as policy makers observe unemployment only, \(e_3=0\)

We find that if both kernels are Dirac \(k_1(\tau _1,s)=\delta (s-\tau _1)\), \(k_2(\tau _2,s)=\delta (s-\tau _2)\), due to Proposition 7, then there exists a Hopf bifurcation for \(\tau _{20}=95\), when \(\tau _{10}=90\). If \(\tau _2=\tau _{20}\), there exists a limit cycle. In Figs. 13, 14 and 15 we can notice that the orbits of unemployment, employment, migration, market jobs and vacancies through government intervention all oscillate.

Fig. 13
figure 13

Periodic orbits for unemployment and employment due to Hopf bifurcation take place when \(\tau _{10}=90\) and the bifurcation parameter \(\tau _2\) passes the critical value \(\tau _{20}=95\), when both kernels are Dirac, and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 14
figure 14

Periodic orbits for migration and market jobs due to Hopf bifurcation take place when \(\tau _{10}=90\) and the bifurcation parameter \(\tau _2\) passes the critical value \(\tau _{20}=95\), when both kernels are Dirac, and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 15
figure 15

Periodic orbit for vacancies through government intervention due to Hopf bifurcation take place when \(\tau _{10}=90\) and the bifurcation parameter \(\tau _2\) passes the critical value \(\tau _{20}=95\), when both kernels are Dirac, and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Finally, to further illustrate the system behaviour under an alternative specification we simulate the system with weak kernels in policy responses to both migration and unemployment. If both kernels are weak \(k_1(d_1,s)=d_1e^{-d_1s}\), \(k_2(d_2,s)=d_2e^{-d_2s}\), with \(d_1=0.05\), \(d_2=0.04\), the equilibrium point is locally asymptotically stable due to Proposition 8. Figures 16, 17 and 18 show the orbits of unemployment, employment, migration, market jobs and vacancies through government intervention.

Fig. 16
figure 16

The trajectories of unemployment and employment, when both kernels are weak with \(d_1=0.05\), \(d_2=0.04\) and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 17
figure 17

The trajectories of migration and market jobs, when both kernels are weak with \(d_1=0.05\), \(d_2=0.04\) and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

Fig. 18
figure 18

The trajectories of vacancies through government intervention, when both kernels are weak with \(d_1=0.05\), \(d_2=0.04\) and vacancies are supported as policy makers observe both unemployment and migration, \(e_3=0.5\)

We notice that the numerical simulations in Figs. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 and 15 verify the theoretical findings of Sect. 4.

6 Conclusions

The paper developed and analysed a model for unemployment reduction where ongoing migration takes place. This is described by a nonlinear differential system with distributed time delay. At any time t, we take into account five variables: the number of unemployed individuals, the number of employed individuals, the number of new immigrants, the number of total jobs on the market, and the number of vacancies newly created through government intervention.

For the unique positive equilibrium point we study the local asymptotic stability according to distributed time delays. In absence of delay the equilibrium point is locally asymptotically stable under some conditions of the parameters.

We have tested the significance of taking migration into account when formulating policy to address unemployment. We thus observed the evolution of unemployment, employment, migration, market jobs and government supported vacancies with two alternative policy approaches. In a first instance we have simulated the system in the case where policy aims to reduce unemployment by observing both past values of unemployment and migration. In the second instance policy supports jobs creation by taking into account past unemployment alone. Where migrants are taken into account by the policy, a more significant drop is registered in initial levels of unemployment and a lower level of unemployment results over time. In the second scenario where government ignores migration, unemployment quickly returns to a relatively high value after a small dip.

In the case of Dirac kernels it is proved that there is a Hopf bifurcation and the stable equilibrium becomes unstable as delay crosses some critical values. Yet, where the kernels are equal and government ignores migration, policy intervention results in a stable outcome.

Where both kernels are weak, under some conditions of parameters, the equilibrium point is locally asymptotically stable.

Our theoretical findings are tested in a set of simulations including locally asymptotic stable outcomes and limit cycles.

For the numerical simulations we used Maple 17 and Matlab and the figures obtained verify the theoretical statements.

For the uniform distribution and the strong kernel, a similar analysis will be carried out in a further paper. Also, the direction of the Hopf bifurcation can be analysed. As in Mircea et al. (2011) the stochastic approach will be taken into consideration.