Abstract
The susceptible–infected–recovered model of computer viruses is investigated as a nonlinear system of ordinary differential equations by using the homotopy analysis method (HAM). The HAM is a flexible method which contains the auxiliary parameters and functions. This method has an important tool to adjust and control the convergence region of obtained solution. The numerical solutions are presented for various iterations, and the residual error functions are applied to show the accuracy of presented method. Several \(\hbar\)-curves are plotted to demonstrate the regions of convergence, and the residual errors are obtained for different values of theses regions.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
Introduction
In recent decades, using the computer systems has led to great changes in many fields of life. These changes are many important and wonderful where we cannot leave applying the computer systems.
Computer viruses are a malicious software program that can be written with different aims. These softwares help the user to enter the victim computer without permission. The virus should never be considered to be harmless and remain in the system. There are several types of viruses that can be categorized according to their source, technique, file type that infects, where they are hiding, the type of damage they enter, the type of operating system or the design on which they are attacking. Several computer viruses such as ILOVEYOU, Melissa, My Doom, Code Red, Sasser have been recognized. Also, in recent years, the Stuxnet virus targeted the Siemens hardware and software industry. Claims and statements allege that the virus was part of spy campaign to hit Iran’s nuclear plant, Natanz. These viruses have been able to infect thousands of computers and have hurt billions dollar in computers around the world.
Thus, scientists start to work on finding methods to analyze, track, model and protect against viruses. Computer viruses are similar to biological viruses, and we can study it in two case, microscopic and macroscopic models. Therefore, many studies have proposed solutions that help us to understand how computer viruses operate. In order to control the growth and reproduction of computer viruses, many dynamical model have been presented [7, 18, 19, 29, 33,34,35, 40, 42]. In this study, the following modified SIR model of computer viruses
is illustrated where the initial conditions are in the following form
In recent years, many applicable methods have been applied to solve the linear and nonlinear problems [13,14,15,16, 27, 28, 31, 39, 41]. Also, many numerical and semi-analytical methods presented to solve the nonlinear epidemiological model (1) such as multi-step homotopy analysis method [17], collocation method with Chebyshev polynomials [32] and variational iteration method [29]. In this paper, the HAM [22,23,24,25,26] is applied to solve the nonlinear system of Eq. (1). This method has many applications to solve various problems arising in the mathematics, physics and engineering [1,2,3,4,5,6, 8,9,10,11,12, 14,15,16, 20, 21, 30, 31, 36,37,38]. The \(\hbar\)-curves are demonstrated to find the region of convergence. It is one of important abilities of HAM that the other methods do not have this ability. In order to show the efficiency and accuracy of presented approach, the residual error functions for different values of \(\hbar , m\) are estimated. Several graphs of error functions are demonstrated to show the capabilities of method. List of functions, variables and initial assumptions of system (1) are presented in Table 1.
Main idea
Let \(L_S, L_I\) and \(L_R\) are the linear operators which are defined in the following form
and for constant values \(c_1, c_2\) and \(c_3\) we obtain
Now, the following homotopy maps can be defined as
where \(q\in [0,1]\) is an embedding parameter, \(\hbar \ne 0\) is a convergence control parameter, \(H_S(t), H_I(t)\) and \(H_R(t)\) are the auxiliary functions, \(L_S, L_I\) and \(L_R\) are the linear operators, and finally \(N_S, N_I\) and \(N_R\) are the nonlinear operators which are defined as follows
According to [22,23,24] the zero-order deformation, equations can be defined as
Now, we can write the Taylor series for \({\tilde{S}}(t;q), {\tilde{I}}(t;q)\) and \({\tilde{R}}(t;q)\) with respect to q in the following form
where
For more analysis, the following vectors are defined
Differentiating Eq. (7) m-times with respect to q, dividing by m! and putting \(q=0\) the mth-order deformation equations can be obtained as follows
where
and
and
By putting \(H_S(t)= H_I(t) = H_R(t) = 1\) and applying the inverse operators \(L_S^{-1}, L_I^{-1}\) and \(L_R^{-1}\), we have
Finally, the mth-order approximate solution of nonlinear system (1) can be obtained as
Numerical illustration
In this section, the numerical results based on the HAM are presented. The approximate solutions for \(m=5, 10, 15\) are obtained in the following form
where \(\hbar\) is the convergence control parameter of the HAM. In order to show the regions of convergence, several \(\hbar\)-curves are demonstrated in Figs. 1, 2 and 3. These regions are the parallel parts of \(\hbar\)-curves with axiom x. The regions of convergence for \(m=5, 10, 15\) and \(t=1\) are presented in Table 2.
In order to show the efficiency and accuracy of presented method, the following residual error functions are applied as follows
and the numerical results for different values of t, m based on the presented convergence regions are obtained in Tables 3, 4 and 5. Also, the norm of residual errors \(E_{m,S}(t), E_{m,I}(t)\) and \(E_{m,R}(t)\) is given in these tables. In Figs. 4, 5 and 6 the residual errors for \(t=1\) and versus \(\hbar\) are demonstrated. By using these figures, the optimal values of convergence control parameter \(\hbar\) can be obtained which are presented in Table 2. Also, in Figs. 7, 8, 9, 10, 11 and 12 the plots of square residual errors
based on the optimal homotopy analysis method (OHAM) are shown. Figure 13 shows the approximate solution for \(m=15\) and \(t \in [0,10]\). In Fig. 14, the phase portraits of \(S-I, S-R, I-R\) and \(S-I-R\) for 15th-order approximation of the HAM and \(\hbar =-\,1\) are shown.
Conclusion
In this study, the modified nonlinear SIR epidemiological model of computer viruses was illustrated and the HAM was applied to solve the presented model. It is important to note that in this method we have some auxiliary parameters and functions. One of these parameters is the convergence control parameter \(\hbar\) which can be applied to adjust and control the convergence region of obtained solutions. Thus, by plotting several \(\hbar\)-curves and finding the regions of convergence, we showed the advantages and abilities of method. The residual errors were applied to show the efficiency and accuracy of method.
References
Abbasbandy, S.: Homotopy analysis method for heat radiation equations. Int. Commun. Heat Mass Transf. 34, 380–387 (2007)
Abbasbandy, S., Jalili, M.: Determination of optimal convergence-control parameter value in homotopy analysis method. Numer. Algor. 64(4), 593–605 (2013)
Abbasbandy, S., Shivanian, E.: Solution of singular linear vibrational BVPs by the homotopy analysis method. J. Numer. Math. Stoch. 1(1), 77–84 (2009)
Abbasbandy, S., Shivanian, E., Vajravelu, K.: Mathematical properties of $\hbar $-curve in the frame work of the homotopy analysis method. Commun. Nonlinear Sci. Numer. Simulat. 16, 4268–4275 (2011)
Abbasbandy, S., Shivanian, E., Vajravelu, K., Kumar, S.: A new approximate analytical technique for dual solutions of nonlinear differential equations arising in mixed convection heat transfer in a porous medium. Int. J. Numer. Methods Heat Fluid Flow 27(2), 486–503 (2017)
Araghi, M.F., Behzadi, S.S.: Numerical solution of nonlinear Volterra–Fredholm integro-differential equations using Homotopy analysis method. J. Appl. Math. Comput. 37(1–2), 1–2 (2011)
Araghi, M.F., Fallahzadeh, A.: Explicit series solution of Boussinesq equation by homotopy analysis method. J. Am. Sci. 8(11), 448–452 (2012)
Ahmad Soltani, L., Shivanian, E., Ezzati, R.: Convection-radiation heat transfer in solar heat exchangers filled with a porous medium: exact and shooting homotopy analysis solution. Appl. Therm. Eng. 103, 537–542 (2016)
Cohen, F.: Computer viruses: theory and experiments. Comput. Secur. 6, 22–35 (1987)
Ellahi, R., Shivanian, E., Abbasbandy, S., Hayat, T.: Numerical study of magnetohydrodynamics generalized Couette flow of Eyring–Powell fluid with heat transfer and slip condition. Int. J. Numer. Methods Heat Fluid Flow 26(5), 1433–1445 (2016)
Ellahi, R., Shivanian, E., Abbasbandy, S., Rahman, S.U., Hayat, T.: Analysis of steady flows in viscous fluid with heat/mass transfer and slip effects. Int. J. Heat Mass Transf. 55(23), 6384–6390 (2012)
Fariborzi Araghi, M.A., Fallahzadeh, A.: On the convergence of the homotopy analysis method for solving the Schrodinger equation. J. Basic Appl. Sci. Res. 2(6), 6076–6083 (2012)
Fariborzi Araghi, M.A., Noeiaghdam, S.: Fibonacci-regularization method for solving Cauchy integral equations of the first kind. Ain Shams Eng J. 8, 363–369 (2017)
Fariborzi Araghi, M., Noeiaghdam, S.: A novel technique based on the homotopy analysis method to solve the first kind Cauchy integral equations arising in the theory of airfoils. J. Interpolat. Approx. Sci. Comput. 1, 1–13 (2016)
Fariborzi Araghi, M.A., Noeiaghdam, S.: Homotopy analysis transform method for solving generalized Abel’s fuzzy integral equations of the first kind. IEEE (2016). https://doi.org/10.1109/CFIS.2015.7391645
Fariborzi Araghi, M.A., Noeiaghdam, S.: Homotopy regularization method to solve the singular Volterra integral equations of the first kind. Jordan J. Math. Stat. 11(1), 1–12 (2018)
Freihat, A.A., Zurigat, M., Handam, A.H.: The multi-step homotopy analysis method for modified epidemiological model for computer viruses. Afr. Mat. 26(3–4), 585–596 (2015)
Han, X., Tan, Q.: Dynamical behavior of computer virus on Internet. Appl. Math. Comput. 217, 2520–2526 (2010)
Kephart, J.O., Hogg, T., Huberman, B.A.: Dynamics of computational ecosystems. Phys. Rev. A 40(1), 404–421 (1998)
Kumar, D., Singh, J., Sushila, J.: Application of homotopy analysis transform method to fractional biological population model. Roman. Rep. Phys. 65, 63–75 (2013)
Kumar, S., Singh, J., Kumar, D., Kapoor, S.: New homotopy analysis transform algorithm to solve Volterra integral equation. Ain Shams Eng J. 5, 243–246 (2014)
Liao, S.J.: The proposed homotopy analysis techniques for the solution of nonlinear problems. Ph.D. Thesis, Shanghai Jiao Tong University, Shanghai (1992) (in English)
Liao, S.J.: Beyond Perturbation: Introduction to Homotopy Analysis Method. CRC Press, Boca Raton (2003)
Liao, S.J.: On the homotopy analysis method for nonlinear problems. Appl. Math. Comput. 147, 499–513 (2004)
Liao, S.J.: Homotopy Analysis Method in Nonlinear Differential Equations. Higher Education Press, Beijing (2012)
Liao, S.J., Tan, Y.: A general approach to obtain series solutions of nonlinear differential equations. Stud. Appl. Math. 119, 297–355 (2007)
Mikaeilvand, N., Noeiaghdam, S.: Mean value theorem for integrals and its application on numerically solving of Fredholm integral equation of second kind with Toeplitz plus Hankel Kernel. Int. J. Ind. Math. 6, 351–360 (2014)
Noeiaghdam, S.: Numerical solution of $N$-th order Fredholm integro-differential equations by integral mean value theorem method. Int. J. Pure Appl. Math. 99(3), 277–287 (2015)
Noeiaghdam, S.: A novel technique to solve the modified epidemiological model of computer viruses. SeMA J. (2018). https://doi.org/10.1007/s40324-018-0163-3
Noeiaghdam, S., Fariborzi Araghi, M.A., Abbasbandy, S.: Finding optimal convergence control parameter in the homotopy analysis method to solve integral equations based on the stochastic arithmetic. Numer Algorithm (2018). https://doi.org/10.1007/s11075-018-0546-7
Noeiaghdam, S., Zarei, E., Barzegar Kelishami, H.: Homotopy analysis transform method for solving Abel’s integral equations of the first kind. Ain Shams Eng J. 7, 483–495 (2016)
Oztürk, Y., Gülsu, M.: Numerical solution of a modified epidemiological model for computer viruses. Appl. Math. Model. 39(23–24), 7600–7610 (2015)
Piqueira, J.R.C., de Vasconcelos, A.A., Gabriel, C.E.C.J., Araujo, V.O.: Dynamic models for computer viruses. Comput. Secur. 27, 355–359 (2008)
Ren, J., Yang, X., Yang, L., Xu, Y., Yang, F.: A delayed computer virus propagation model and its dynamics. Chaos Soliton Fractal 45, 74–79 (2012)
Ren, J., Yang, X., Zhu, Q., Yang, L., Zhang, C.: A novel computer virus model and its dynamics. Nonlinear Anal. Real. 3, 376–384 (2012)
Shaban, M., Shivanian, E., Abbasbandy, S.: Analyzing magneto-hydrodynamic squeezing flow between two parallel disks with suction or injection by a new hybrid method based on the Tau method and the homotopy analysis method. Eur. Phys. J. Plus 128(11), 1–10 (2013)
Shivanian, E., Abbasbandy, S.: Predictor homotopy analysis method: two points second order boundary value problems. Nonlinear Anal. Real World Appl. 15, 89–99 (2014)
Shivanian, E., Alsulami, H.H., Alhuthali, M.S., Abbasbandy, S.: Predictor homotopy analysis method (pham) for nano boundary layer flows with nonlinear navier boundary condition: existence of four solutions. Filomat 28(8), 1687–1697 (2014)
Suleman, M., Lu, D., He, J.H., Farooq, U., Noeiaghdam, S., Chandio, F.A.: Elzaki projected differential transform method for fractional order system of linear and nonlinear fractional partial differential equation. Fractals (2018). https://doi.org/10.1142/S0218348X1850041X
Wierman, J.C., Marchette, D.J.: Modeling computer virus prevalence with a susceptible-infected-susceptible model with reintroduction. Comput. Stat. Data Anal. 45, 3–23 (2004)
Zarei, E., Noeiaghdam, S.: Solving generalized Abel’s integral equations of the first and second kinds via Taylor-collocation method. arXiv:1804.08571
Zhu, Q., Yang, X., Ren, J.: Modeling and analysis of the spread of computer virus. Commun. Nonlinear Sci. Numer. Simul. 17(12), 5117–5124 (2012)
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.
About this article
Cite this article
Noeiaghdam, S., Suleman, M. & Budak, H. Solving a modified nonlinear epidemiological model of computer viruses by homotopy analysis method. Math Sci 12, 211–222 (2018). https://doi.org/10.1007/s40096-018-0261-5
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40096-018-0261-5