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

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-termHAM 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.


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  = 0, 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][5][6][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][5][6][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.

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

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 ℎ = −1 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  = 1, 2, 3, . . ., .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.

Domain Split and Solution by New Approach.
In the new approach, we divide the domain 0 ≤  ≤  into subintervals each represented by   such that For fixed length subintervals   = ,  = 1, 2, 3, . ... The problem in each subinterval takes the form The final solution in each subdomain is thus given by Choosing  = 1, the system of ( 6)-( 9) is solved for three terms such that 0 ≤  ≤ .The numerical values of this solution at the end point of the interval, that is,  = , becomes the initial values for the second subinterval when  = 2, and therefore System of ( 6)-( 8) is solved again for  = 2 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.

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 0 ≤  ≤ 10.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].

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 ISRN Applied Mathematics such problems.The comparison of the obtained results with numerical results is in excellent agreement.