- About this Journal ·
- Abstracting and Indexing ·
- Advance Access ·
- Aims and Scope ·
- Article Processing Charges ·
- Articles in Press ·
- Author Guidelines ·
- Bibliographic Information ·
- Citations to this Journal ·
- Contact Information ·
- Editorial Board ·
- Editorial Workflow ·
- Free eTOC Alerts ·
- Publication Ethics ·
- Reviewers Acknowledgment ·
- Submit a Manuscript ·
- Subscription Information ·
- Table of Contents

ISRN Applied Mathematics

Volume 2013 (2013), Article ID 457072, 4 pages

http://dx.doi.org/10.1155/2013/457072

## A Note on Solutions of the SIR Models of Epidemics Using HAM

^{1}Theoretical Plasma Physics Division, PINSTECH, P.O. Nilore, Islamabad 44000, Pakistan^{2}AS-ICTP, Strada Costiera 11, 34151 Trieste, Italy^{3}Department of Mathematics, The Islamia University of Bahawalpur, Bahawalpur 63100, Pakistan^{4}Department of Mathematics, Faculty of Basic and Applied Sciences, International Islamic University, Islamabad 44000, Pakistan

Received 10 July 2013; Accepted 1 September 2013

Academic Editors: H. Chung, Y.-D. Kwon, and G. Wang

Copyright © 2013 M. Sajid 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

Recently, Awawdeh et al. (2009) discussed the solutions of SIR epidemics model using homotopy analysis method. This comment points out some crucial flaws in (Awawdeh et al. 2009). Particularly, results presented in Figure 1 of the (Awawdeh et al. 2009) do not represent the 20 term solution of the considered problem as stated. The present paper also provides a new approach for solving SIR epidemics model using homotopy analysis method. The new approach is based on dividing the entire domain into subintervals. In each subinterval the three-term HAM solution is sufficient for obtaining accurate and convergent results. The comparison of the obtained solution using new approach is made with the numerical results and found in excellent agreement.

#### 1. Introduction

The authors in [1] have considered the classic SIR epidemic model for the homotopy analysis method (HAM) solution. The constant population in SIR model is divided into susceptible, infectious, and recovered classes [2, 3]. The expressions for the susceptible, infectious, and recovered population presented in [1] for five- and nine-term HAM solutions clearly indicate that, for , the initial population size is 20, 15, and 10, respectively. However, Figure 1 illustrates a different population size. The same analytic expressions for the susceptible, infectious, and recovered populations for the same problem are presented in the literature with Adomian decomposition method [4], variational iteration method [5], homotopy perturbation method [6], and differential transform method [7]. The graphical results in all the studies [4–7] reveal that the results are valid for small values of time and beyond that these analytic expressions fail to give results that can be compared with the existing numerical solutions. However, the authors in [1] obtained same expressions as presented in [4–7], but the graphical results are different from all these studies which are not possible. Thus Figure 1 present in [1] is not found through 20-term HAM solution.

The objective of the present paper is to revisit the HAM solution for the nonlinear initial value problems considered by Awawdeh et al. [1] and to provide a HAM solution which agrees well with the numerical results already obtained for the same problem. For the accurate and convergent HAM solution valid for all ranges of time values, we propose a new approach. In this new approach the whole domain of the problem is divided into subintervals, and the HAM solution is evaluated separately in each subinterval. A three-term HAM approximation in each subinterval is sufficient for an accurate and convergent solution.

#### 2. SIR Model and Solution

The classic SIR epidemic model is given by the following system of nonlinear ordinary differential equations [1]: with initial conditions

##### 2.1. Solution by Homotopy Analysis Method

For the details of the homotopy analysis method for the initial value problems considered in (1)–(2), we refer the readers to [1] and only present the th order deformation equations with which is of interest for us and is given by The final solution is given by in which represents the number of iterations. Awawdeh et al. [1] solved the system of (3) directly to obtain the solution at different orders for . Solutions obtained thus have problems with the accuracy and convergence for large values of even if one evaluates solution for hundred iterations. In the proposed approach for improving the accuracy and rate of convergence instead of directly solving the system of (3), the entire domain of is split into subintervals. The mechanism of the proposed approach is discussed in next subsection.

##### 2.2. Domain Split and Solution by New Approach

In the new approach, we divide the domain into subintervals each represented by such that For fixed length subintervals . The problem in each subinterval takes the form The final solution in each subdomain is thus given by Choosing , the system of (6)–(9) is solved for three terms such that . The numerical values of this solution at the end point of the interval, that is, , becomes the initial values for the second subinterval when , and therefore System of (6)–(8) is solved again for subject to initial conditions (11), and we obtain the initial conditions for the third subinterval. In this manner, the numerical values obtained at the final point of each subinterval are the values at the initial point of the next subinterval. Hence at the th subinterval, the initial values are Following this procedure, the system of (6)–(8) are subsequently solved from one subinterval to the next subinterval. The convergence and accuracy of the obtained solutions are ensured by keeping the length of subinterval small.

#### 3. Results and Discussion

The procedure discussed in Section 2.2 is implemented using the symbolic software Mathematica. The system of (6)–(8) in each subinterval is solved by using the same set of initial values of susceptible, infectious, and recovered population as given in [1]. The Runge-Kutta method is used to solve the initial value problems given in (1)-(2) numerically. The obtained numerical results are shown by bullets in the graphs, the twentieth order HAM solution developed by the standard procedure in [1] is given by the dotted line, and the HAM solution with the new approach is displayed through the solid line in graphs. Figures 1, 2, and 3 present the comparison between the solution given in [1], the numerical solution, and solution with the new approach. Figure 1 elucidate that a twentieth order standard HAM solution (dotted line) is valid for . In this case the chosen values of parameters and are small, and for large values the domain becomes further short for the accurate and convergent solution. Beyond this time, the population is going in the negative direction which is not physically possible. The similar observations are made for the infectious and recovered populations and are presented in Figures 2 and 3. Figure 4 is made to show the comparison of our new approach HAM solution with the numerical solution. It is evident from Figure 4 that the results obtained are in excellent agreement with the numerical solutions. It is important to mention here that Figure 1 given in [1] could not be obtained by the HAM solution presented in [1] and some other solutions are given in Figure 1 of [1].

#### 4. Conclusions

In this paper we present a new approach for solving the SIR epidemic model problem using homotopy analysis method. It is found that this new approach is an effective method for providing numerical and analytic closed form solutions of such problems. The comparison of the obtained results with numerical results is in excellent agreement.

#### Acknowledgments

M. Sajid acknowledges the financial support provided by AS-ICTP. This work is produced during M. Sajid’s visit to AS-ICTP as a Junior Associate.

#### References

- F. Awawdeh, A. Adawi, and Z. Mustafa, “Solutions of the SIR models of epidemics using HAM,”
*Chaos, Solitons and Fractals*, vol. 42, no. 5, pp. 3047–3052, 2009. View at Publisher · View at Google Scholar · View at Scopus - D. W. Jordan and P. Smith,
*Nonlinear Ordinary Differential Equations*, vol. 2 of*Oxford Texts in Applied and Engineering Mathematics*, Oxford University Press, Oxford, UK, 3rd edition, 1999. View at MathSciNet - H. W. Hethcote, “The mathematics of infectious diseases,”
*SIAM Review*, vol. 42, no. 4, pp. 599–653, 2000. View at Publisher · View at Google Scholar · View at MathSciNet - J. Biazar, “Solution of the epidemic model by Adomian decomposition method,”
*Applied Mathematics and Computation*, vol. 173, no. 2, pp. 1101–1106, 2006. View at Publisher · View at Google Scholar · View at MathSciNet - M. Rafei, H. Daniali, and D. D. Ganji, “Variational interation method for solving the epidemic model and the prey and predator problem,”
*Applied Mathematics and Computation*, vol. 186, no. 2, pp. 1701–1709, 2007. View at Publisher · View at Google Scholar · View at MathSciNet - M. Rafei, D. D. Ganji, and H. Daniali, “Solution of the epidemic model by homotopy perturbation method,”
*Applied Mathematics and Computation*, vol. 187, no. 2, pp. 1056–1062, 2007. View at Publisher · View at Google Scholar · View at MathSciNet - A.-M. Batiha and B. Batiha, “A new method for solving epidemic model,”
*Australian Journal of Basic and Applied Sciences*, vol. 5, no. 12, pp. 3122–3126, 2011. View at Google Scholar · View at Scopus