Journal of Applied Mathematics

Volume 2014 (2014), Article ID 929580, 10 pages

http://dx.doi.org/10.1155/2014/929580

Research Article

Stability and Hopf Bifurcation of a Computer Virus Model with Infection Delay and Recovery Delay

Haitao Song,¹ Qiaochu Wang,² and Weihua Jiang¹

¹Department of Mathematics, Harbin Institute of Technology, Harbin 150001, China

²School of Architecture, Harbin Institute of Technology, Harbin 150001, China

Received 11 September 2013; Revised 4 January 2014; Accepted 7 January 2014; Published 20 February 2014

Academic Editor: Shan Zhao

Copyright © 2014 Haitao Song et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Abstract.

A computer virus model with infection delay and recovery delay is considered. The sufficient conditions for the global stability of the virus infection equilibrium are established. We show that the time delay can destabilize the virus infection equilibrium and give rise to Hopf bifurcations and stable periodic orbits. By the normal form and center manifold theory, the direction of the Hopf bifurcation and stability of the bifurcating periodic orbits are determined. Numerical simulations are provided to support our theoretical conclusions.

1. Introduction

In recent years, the computer networks have become more and more popular, and people can find many useful things through computer networks. However, computer virus flows and spoils the correct operation of computer. As the computer networks become necessary tools in our daily life, computer virus becomes a major threat [1].

Cohen [2] found that there is high similarity between biological virus and computer virus. By the Kermack and McKendrick SIR epidemic model [3], the computer virus models were proposed in [4–7] which analyzed the spread of computer virus by epidemiological models. The model is as follows:

where , , and denote susceptible, infected, and recovered computers, respectively. Here we assume that all the computers connect to the network. is the rate at which external computers are connected to the network, is the recovery rate of infected computers because of the antivirus ability of the network, is the infection rate, and is the death rate of the classes , , and .

Dong et al. [8] considered the effect of immunization on susceptible state and exposed state by a delayed computer virus model. Zhang et al. [9] studied an impulse model for computer viruses and established the global dynamics of the model. Yang et al. [10] analyzed a computer virus model with graded cure rates and showed that the global dynamics are determined by the basic reproduction number. Then we can understand and control the computer virus propagation using the mathematical models.

Since there is a period of time from virus entering a host to active state [11], there exists an infection delay from infected to infectious computers. Similarly, there is a recovery delay from recovered to susceptible computers. Then the model is

where is the survival probability of the infected computers, is the infection delay, and is the rate at which one recovered computer reverts to the susceptible one. denotes that a recovered computer moves into the susceptible class after time .

Ren et al. [12] obtained that the virus-free equilibrium is globally asymptotically stable when . When , we make a lot of improvement in the results in [12]. Compared to [12], we show that the virus infection equilibrium is always locally asymptotically stable for and , and Hopf bifurcation does not exist. For and , Ren et al. [12] constructed a Lyapunov function by linearized equations of and obtained the sufficient conditions for global stability of the virus infection equilibrium. Obviously, this is inappropriate. Then we construct a suitable Lyapunov function and obtain the sufficient conditions of global stability for the virus infection equilibrium when and . Furthermore, for and , we study the direction of the Hopf bifurcation and stability of the bifurcating periodic orbits by the normal form and center manifold theory, and numerical simulations are given to support the theoretical conclusions.

Then we can control the computer virus propagation using the epidemiological threshold value. There are many research works about epidemiological models; see [13–23] and the references therein. For example, Ma et al. [24] analyzed the global stability of a SIR epidemic model with a time delay. Wang and Zhao [25] obtained the basic reproduction number of reaction-diffusion epidemic models with compartmental structure and considered the influence of spatial heterogeneity and population mobility on disease transmission by a spatial model. The methods used here are Lyapunov functions, normal form, and center manifold theory. There are many research papers using the method of constructing Lyapunov functions [26–33]. In addition, we would like to refer to some excellent articles about stability and bifurcation; see [34–44].

The paper is organized as follows. In Section 2, the existence of equilibria is discussed and characteristic equation is given. In Section 3, we establish the local stability of the virus infection equilibrium for and . In Section 4, for and , we consider the local stability of and existence of local Hopf bifurcation, and the direction of Hopf bifurcation and stability of the bifurcating periodic solutions are considered. In Section 5, for and , global stability of the virus infection equilibrium is obtained. Finally, we finish the paper with conclusions.

2. Preliminaries

The initial conditions are

where and with . We denote by the Banach space of continuous functions mapping the internal into equipped with the sup-norm for .

From the standard theory of functional differential equation [45], for all , there is a unique solution with of the system (2). By the method of [13], under the initial conditions (3), all solutions of system (2) are positive and ultimately bounded in . The feasible region of system (2) is

which is the positively invariant set with respect to system (2).

System (2) always has a virus-free equilibrium with . In addition, system (2) has a virus infection equilibrium . The basic reproduction number is defined [12] as

The virus-free equilibrium always exists. The coordinates of the virus infection equilibrium are given by

Thus, exists in the interior of if and only if .

Let , , and . Then system (2) becomes

The characteristic equation of system (7) at is

3. Local Stability of for and

Consider and ; then (8) becomes

where

Since is a negative real root of (9), all other roots of (9) are given by

If is the purely imaginary root of (11), then substituting into (11) and separating the real and imaginary parts yield

Squaring and adding the two equations lead to

Note that

Therefore, the roots of (13) do not exist. Thus, the virus infection equilibrium of system (2) is locally asymptotically stable for and . Then we obtain the following result.

Theorem 1. Consider system (2). If , then the virus infection equilibrium is locally asymptotically stable for and .

Remark 2. For and , Ren et al. [12] showed that the time delay can destabilize the infected equilibrium leading to Hopf bifurcations. However, we show that the virus infection equilibrium is always locally asymptotically stable for and , and Hopf bifurcation does not exist.

We introduce a set of parameter values: , , , , , and . Consequently, (a) and ; (b) and ; (c) and ; (d) and . Figure 1 shows that the infection equilibrium is locally asymptotically stable.

(a)

(b)

(c)

(d)

Figure 1: In the case of and , numerical simulations for system (2). The initial values are , , and . (a) ; (b) ; (c) ; (d) . Other parameter values are given in the text, and the infection equilibrium is asymptotically stable.

4. Hopf Bifurcation for and

Consider and ; then (8) becomes

where

Obviously, is always a negative real root of (15). Then we consider

If is the purely imaginary root of (17), then substituting into (17) and separating the real and imaginary parts give

Squaring and adding the two equations lead to

Denote

Let

Hence

(1)if , then (20) has no positive real roots;(2)if , since , then (20) has at least one positive real root;(3)if , then (20) has two real roots:

 if , then (20) has a positive real root. If , then all roots of (20) are negative.

Let be the positive real roots such that and . Denote

where is determined by

Define

Therefore, is the first value of when a pair of characteristic roots cross the imaginary axis at .

Let be the root of (15) satisfying and . Differentiating (15) with respect to leads to

From (18), we have

Then

Thus, we obtain the following the result.

Theorem 3. Consider system (2). In the case of and ,

(i)assume that one of the following two conditions holds:

(a).(b) and . Then the virus infection equilibrium is locally asymptotically stable for ;

(ii)in either case,

(a), or(b) and , the virus infection equilibrium is locally asymptotically stable for . Furthermore, if , then system (2) undergoes a Hopf bifurcation at the virus infection equilibrium when .

From the above discussions, the sufficient conditions for the existence of Hopf bifurcation were given for and . Thus, under the conditions of Theorem 3, we will study the direction of the Hopf bifurcation and the stability of the bifurcating periodic orbits by normal form and center manifold theory (see, e.g., [46]).

Fix and let , then is the Hopf bifurcation value, and system (47) is transformed into an FDE in as

where . Denote as

where

Define

where

Then we can denote as

For , we define

Therefore, system (47) becomes

where for . For , define

and a bilinear form

where . Hence, and are adjoint operators. By the above discussions, we know that are eigenvalues of and so they are also eigenvalues of . It can be easily proved that , is an eigenvector of associated with the eigenvalue , and , is an eigenvector of associated with the eigenvalue . Denote

where , .

Following the procedure in [46], we obtain the following coefficients:

where

where

where

Then can be expressed definitely.

From (27), (40), and (41), we have

Then we have the following result.

Theorem 4. Assume that the conditions of Theorem 3 (ii) hold. Then determines the direction of the Hopf bifurcation: if , then the Hopf bifurcation is forward (backward) and the bifurcating periodic orbits exist for and ; determines the stability of bifurcating periodic orbits: the bifurcating orbits are asymptotically stable (unstable) when ; and determines the period of the bifurcating periodic orbits: the period increases (decreases) when .

We introduce a set of parameter values: , , , , and . Consequently, and . We can obtain that the conditions of Theorem 3 hold. When , by direct computation we get , , , , and . By Theorem 3 we know that the stability of the infected equilibrium varies when increases and the infected equilibrium is asymptotically stable for . Figure 2 illustrates the results. By Theorem 4 we know that the direction of the Hopf bifurcation is forward at . And Figure 3 illustrates the bifurcating periodic orbits are asymptotically stable.

Figure 2: Behavior and phase portrait of system (2) with , . The virus infection equilibrium is asymptotically stable.

Figure 3: Behavior and phase portrait of system (2) with , . Hopf bifurcation occurs from the virus infection equilibrium.

5. Global Asymptotic Stability

The following result shows the global stability of the virus-free equilibrium.

Proposition 5 (see [12]). Consider the following.

If , then the virus-free equilibrium of system (2) is globally asymptotically stable for all and .

Next we will prove the global stability of the virus infection equilibrium of system (2). Let , , and . Then system (2) becomes

From system (2) with initial conditions (3), we know that . By the method of constructing Lyapunov function [47], we obtain the following result.

Theorem 6. Consider system (2) with initial conditions (3). Assume that , if

(H ₁), ,

where

holds, then the virus infection equilibrium is globally asymptotically stable for and .

Proof. Define a Lyapunov function

Differentiating along the solution of system (47), we have

Since and , and by Cauchy-Schwartz inequality we obtain

Define

Then

Therefore, from we obtain

Thus, ensures that , and if and only if , , and . Then the only compact invariant set where is the singleton . By LaSalle’s invariance principle [48], if and hold, then is globally asymptotically stable. The proof is completed.

Remark 7. For and , Ren et al. constructed a Lyapunov function by linearized equations [12, equations (37)]. Clearly, this is unreasonable. Thus, we define an appropriate Lyapunov function and obtain the sufficient conditions of global stability for the virus infection equilibrium .

We choose a set of parameter values: , , , , and . Correspondingly, and . It can be verified that the conditions of Theorem 6 are satisfied. For and , we show that the infected equilibrium is globally asymptotically stable in Figure 4. All of the numerical simulations are carried out by MATLAB.

Figure 4: Numerical simulations of system (2) with parameter values: , , , , and , and is globally asymptotically stable.

6. Conclusions

We consider a computer virus model with infection delay and recovery delay. When , the virus-free equilibrium of system (2) is globally asymptotically stable and the virus fades out from the network. When , we obtain that the virus infection equilibrium is always locally asymptotically stable for and ; for and , we establish that the time delay can destabilize the virus infection equilibrium and give rise to Hopf bifurcations and stable periodic orbits. For and , we construct an appropriate Lyapunov function and get that the infection equilibrium is globally asymptotically stable under the sufficient conditions, and the virus finally persists at a constant endemic equilibrium level.

Our results show that we can take measures to make the basic reproduction number to be less than one leading to the extinction of computer virus. We must take some effective measures (such as the installation of antivirus software) to decrease the infection rate and increase recovery rate of the infected computers.

However, our results should be viewed carefully because the model used in this paper is simplified and possibly does not explain all relevant dynamics of computer virus. Then we need more realistic computer virus models to study the real network.

Conflict of Interests

The authors declared that they have no conflict of interests to this work.

Acknowledgments

The authors are grateful to the editor and the anonymous reviewers for their valuable comments and suggestions which greatly improved the paper. This research is supported by the National Natural Science Foundation of China (no. 11371112) and in part by the National Natural Science Foundation of China (no. 11031002) and by the Heilongjiang Provincial Natural Science Foundation (no. A201208).

References

P. J. Denning, Computers under Attack, Addison-Wesley, Reading, Mass, USA, 1990.

F. Cohen, “Computer viruses. Theory and experiments,” Computers and Security, vol. 6, no. 1, pp. 22–35, 1987.

W. O. Kermack and A. G. McKendrick, “Contributions of mathematical theory to epidemics,” Proceedings of the Royal Society A, vol. 141, pp. 94–122, 1933.

J. C. Wierman and D. J. Marchette, “Modeling computer virus prevalence with a susceptible-infected-susceptible model with reintroduction,” Computational Statistics & Data Analysis, vol. 45, no. 1, pp. 3–23, 2004.

J. R. C. Piqueira and V. O. Araujo, “A modified epidemiological model for computer viruses,” Applied Mathematics and Computation, vol. 213, no. 2, pp. 355–360, 2009.

B. K. Mishra and D. Saini, “Mathematical models on computer viruses,” Applied Mathematics and Computation, vol. 187, no. 2, pp. 929–936, 2007.

M. J. Keeling and K. T. D. Eames, “Networks and epidemic models,” Journal of the Royal Society Interface, vol. 2, no. 4, pp. 295–307, 2005.

T. Dong, X. Liao, and H. Li, “Stability and Hopf bifurcation in a computer virus model with multistate antivirus,” Abstract and Applied Analysis, vol. 2012, Article ID 841987, 16 pages, 2012.

C. Zhang, Y. Zhao, and Y. Wu, “An impulse model for computer viruses,” Discrete Dynamics in Nature and Society, vol. 2012, Article ID 260962, 13 pages, 2012.

L.-X. Yang, X. Yang, Q. Zhu, and L. Wen, “A computer virus model with graded cure rates,” Nonlinear Analysis: Real World Applications, vol. 14, no. 1, pp. 414–422, 2013.

Y. B. Kafai, “Understanding virtual epidemics: Children's folk conceptions of a computer virus,” Journal of Science Education and Technology, vol. 17, no. 6, pp. 523–529, 2008.

J. Ren, X. Yang, L.-X. Yang, Y. Xu, and F. Yang, “A delayed computer virus propagation model and its dynamics,” Chaos, Solitons & Fractals, vol. 45, no. 1, pp. 74–79, 2012.

H. R. Thieme and P. van den Driessche, “Global stability in cyclic epidemic models with disease fatalities,” in Differential Equations with Applications to Biology (Halifax, NS, 1997), vol. 21 of Fields Inst. Commun., pp. 459–472, Amer. Math. Soc., Providence, RI, USA, 1999.

G. Li and Z. Jin, “Global stability of a SEIR epidemic model with infectious force in latent, infected and immune period,” Chaos, Solitons & Fractals, vol. 25, no. 5, pp. 1177–1184, 2005.

H. Laarabi, E. H. Labriji, M. Rachik, and A. Kaddar, “Optimal control of an epidemic model with a saturated incidence rate,” Nonlinear Analysis: Modelling and Control, vol. 17, no. 4, pp. 448–459, 2012.

K. Cooke, P. van den Driessche, and X. Zou, “Interaction of maturation delay and nonlinear birth in population and epidemic models,” Journal of Mathematical Biology, vol. 39, no. 4, pp. 332–352, 1999.

S. Ruan and W. Wang, “Dynamical behavior of an epidemic model with a nonlinear incidence rate,” Journal of Differential Equations, vol. 188, no. 1, pp. 135–163, 2003.

D. Mukherjee, “Effect of diffusion on a two-species eco-epidemiological model,” Mathematical and Computer Modelling of Dynamcial Systems, vol. 11, no. 4, pp. 447–457, 2005.

J. F. Moxnes and K. Hausken, “Mathematical modelling of acute virus influenza A infections,” Mathematical and Computer Modelling of Dynamical Systems, vol. 18, no. 5, pp. 521–538, 2012.

L. Liu, J. Wu, and X.-Q. Zhao, “The impact of migrant workers on the tuberculosis transmission: general models and a case study for China,” Mathematical Biosciences and Engineering, vol. 9, no. 4, pp. 785–807, 2012.

Y. Lou and X.-Q. Zhao, “Modelling malaria control by introduction of larvivorous fish,” Bulletin of Mathematical Biology, vol. 73, no. 10, pp. 2384–2407, 2011.

K. A. Pawelek, S. Liu, F. Pahlevani, and L. Rong, “A model of HIV-1 infection with two time delays: mathematical analysis and comparison with patient data,” Mathematical Biosciences, vol. 235, no. 1, pp. 98–109, 2012.

X. Wang, Y. Tao, and X. Song, “Pulse vaccination on SEIR epidemic model with nonlinear incidence rate,” Applied Mathematics and Computation, vol. 210, no. 2, pp. 398–404, 2009.

W. Ma, M. Song, and Y. Takeuchi, “Global stability of an SIR epidemic model with time delay,” Applied Mathematics Letters, vol. 17, no. 10, pp. 1141–1145, 2004.

W. Wang and X.-Q. Zhao, “Basic reproduction numbers for reaction-diffusion epidemic models,” SIAM Journal on Applied Dynamical Systems, vol. 11, no. 4, pp. 1652–1673, 2012.

P. van den Driessche and X. Zou, “Global attractivity in delayed Hopfield neural network models,” SIAM Journal on Applied Mathematics, vol. 58, no. 6, pp. 1878–1890, 1998.

M. Y. Li and H. Shu, “Impact of intracellular delays and target-cell dynamics on in vivo viral infections,” SIAM Journal on Applied Mathematics, vol. 70, no. 7, pp. 2434–2448, 2010.

H. Guo, M. Y. Li, and Z. Shuai, “Global stability of the endemic equilibrium of multigroup SIR epidemic models,” Canadian Applied Mathematics Quarterly, vol. 14, no. 3, pp. 259–284, 2006.

J. Wang, S. Liu, and Y. Takeuchi, “Threshold dynamics in a periodic SVEIR epidemic model,” International Journal of Biomathematics, vol. 4, no. 4, pp. 493–509, 2011.

S. Liu and L. Wang, “Global stability of an HIV-1 model with distributed intracellular delays and a combination therapy,” Mathematical Biosciences and Engineering, vol. 7, no. 3, pp. 675–685, 2010.

G. Huang, Y. Takeuchi, and W. Ma, “Lyapunov functionals for delay differential equations model of viral infections,” SIAM Journal on Applied Mathematics, vol. 70, no. 7, pp. 2693–2708, 2010.

K. Hattaf, A. A. Lashari, Y. Louartassi, and N. Yousfi, “A delayed SIR epidemic model with general incidence rate,” Electronic Journal of Qualitative Theory of Differential Equations, vol. 2013, no. 3, pp. 1–9, 2013.

X. Wang and S. Liu, “Global properties of a delayed SIR epidemic model with multiple parallel infectious stages,” Mathematical Biosciences and Engineering, vol. 9, no. 3, pp. 685–695, 2012.

J. Wei and S. Ruan, “Stability and bifurcation in a neural network model with two delays,” Physica D, vol. 130, no. 3-4, pp. 255–272, 1999.

S. Ruan and J. Wei, “On the zeros of transcendental functions with applications to stability of delay differential equations with two delays,” Dynamics of Continuous, Discrete & Impulsive Systems. Series A, vol. 10, no. 6, pp. 863–874, 2003.

M. Fan and K. Wang, “Periodic solutions of a discrete time nonautonomous ratio-dependent predator-prey system,” Mathematical and Computer Modelling, vol. 35, no. 9-10, pp. 951–961, 2002.

H. Wang and W. Jiang, “Hopf-pitchfork bifurcation in van der Pol's oscillator with nonlinear delayed feedback,” Journal of Mathematical Analysis and Applications, vol. 368, no. 1, pp. 9–18, 2010.

W. Jiang and Y. Yuan, “Bogdanov-Takens singularity in van der Pol's oscillator with delayed feedback,” Physica D, vol. 227, no. 2, pp. 149–161, 2007.

Z. Chen, “Periodic solutions for Nicholson-type delay system with nonlinear density-dependent mortality terms,” Electronic Journal of Qualitative Theory of Differential Equations, vol. 2013, no. 1, pp. 1–10, 2013.

C. Zhang, Y. Zhang, and B. Zheng, “A model in a coupled system of simple neural oscillators with delays,” Journal of Computational and Applied Mathematics, vol. 229, no. 1, pp. 264–273, 2009.

S. Guo, Y. Chen, and J. Wu, “Two-parameter bifurcations in a network of two neurons with multiple delays,” Journal of Differential Equations, vol. 244, no. 2, pp. 444–486, 2008.

B. Niu and J. Wei, “Stability and bifurcation analysis in an amplitude equation with delayed feedback,” Chaos, Solitons & Fractals, vol. 37, no. 5, pp. 1362–1371, 2008.

S. Ma, Q. Lu, and Z. Feng, “Double Hopf bifurcation for van der Pol-Duffing oscillator with parametric delay feedback control,” Journal of Mathematical Analysis and Applications, vol. 338, no. 2, pp. 993–1007, 2008.

Y. Ding, W. Jiang, and P. Yu, “Double Hopf bifurcation in a container crane model with delayed position feedback,” Applied Mathematics and Computation, vol. 219, no. 17, pp. 9270–9281, 2013.

J. Hale and S. Lunel, Functional Differential Equations, vol. 99 of Applied Mathematical Sciences, Springer, New York, NY, USA, 1993.

B. D. Hassard, N. D. Kazarinoff, and Y. H. Wan, Theory and Applications of Hopf Bifurcation, vol. 41 of London Mathematical Society Lecture Note Series, Cambridge University Press, Cambridge, Mass, USA, 1981.

L. Wen and X. Yang, “Global stability of a delayed SIRS model with temporary immunity,” Chaos, Solitons & Fractals, vol. 38, no. 1, pp. 221–226, 2008.

J. P. LaSalle, The Stability of Dynamical Systems, Regional Conference Series in Applied Mathematics, SIAM, Philadelphia, Pa, USA, 1976.