1. Introduction
In order to understand the threshold between the disappearance of disease and epidemic outbreak, mathematical models and numerical simulations are a necessity [
1]. A basic model is given by the Kermack–McKendrick system, which describes the spread of infection within a population in a function of time. The total population is constant, and it is divided into three distinct groups: first, the exposed individuals (susceptible); second, the infected population who can further transmit the disease; and last, the individuals who already had the disease and cannot be infected or infect the others. The Susceptible–Infected–Recovered (SIR) epidemic model was analytically approached by Harko et al. [
2] using the Laplace–Adomian decomposition method, resulting in establishing the exact analytical solution of SIR in a parametric form [
3].
Semendyaeva et al. [
4] evaluated analytically and numerically the SIR model regarding the COVID-19 propagation dynamic. Prodanov [
5] highlighted some computational aspects of the SIR model used for the COVID-19 outbreaks. Furthermore, Pakes [
6] extended the deterministic SIR model, resulting in the possibility of infected individuals becoming susceptible once again.
MacFarlane [
7] developed a dynamic structure theory based on the relationships between the structure of ecosystems, social systems, or physiological functions characterized by several parameters. Motee et al. [
8] investigated the asymptotic stability properties of a class of quasi-polynomial dynamical systems with applications in various biochemical and biological systems. Toledo–Hernandez et al. [
9,
10] studied the behavior of fermentation and thermal hydrolysis reactive systems. Figueiredo et al. [
11] discussed simple examples of biological regulatory networks using a well-developed computational tool, differential dynamic logic
. Liu et al. [
12] designed a new conservative hyperchaotic system and dynamic biogenetic gene algorithms, proposing a novel image encryption algorithm. Cheung et al. [
13] developed an optimization algorithm, a human readable fuzzy rule-based model, for two dynamic biological networks. Daun et al. [
14] reviewed differential equations as a simulation tool in the biological and clinical sciences, including their assumptions, strengths, and weaknesses, based on inference and empirical data analysis. Malchow [
15] approached analytical and numerical investigations of well-known models from population dynamics and chemical physics. Liu et al. [
16] proposed a computationally effective fractional Predictor–Corrector method for a dynamical model of competence induction in a cell with measurement error and noisy data. Gulati et al. [
17] discussed the optimization of the biological control strategies to study global stability analysis using a Lyapunov function. Al-Nassir [
18] examined the dynamic behavior of the fractional-order prey–predator system and its discretization with harvesting on prey species, using the discrete version of the Pontryagin maximum principle. Lampartova et al. [
19] designed a classification of trajectories of explored systems, reflecting persistence, regularity, chaos, intermittency, and transiency. They investigated dynamical properties such as stability, dissipativity, and the stability of feedback interconnections using linear Lyapunov functions. Francis et al. [
20] used the Routh–Hurwitz (RH) criterion and the eigenvalue technique to study the local stabilities of multi-species ecological systems.
The paper is organized in six sections: following the Introduction,
Section 2 presents the Kermack–McKendrick system.
Section 3 is dedicated to the Optimal Homotopy Asymptotic Method.
Section 4 develops semi-analytical solutions via the OHAM technique, while
Section 5 contains the numerical results and validation through comparison with iterative solutions and corresponding exact parametric solutions. The final
Section 6 summarizes the concluding remarks.
2. The Dynamical Kermack–McKendrick System
The epidemic model was first introduced by Kermack et al. [
21], wherein it is considered that the total population is constant (the Hamiltonian of the system), and it is divided into three distinct groups represented by
x,
y, and
z. The dynamical Kermack–McKendrick system is written as [
22]:
where
a is the infection rate,
b is the removal rate of the infected subjects,
denotes the number of individuals who can catch the disease, named the susceptible,
denotes the number of individuals who have the disease and can transmit it, and
denotes the number of individuals who had the disease, cannot be reinfected, and cannot infect other individuals.
The system (
1) is a Hamiltonian mechanical system, having a Hamiltonian–Poisson structure characterized by the constants of motion given by:
with
.
Considering the initial conditions
the exact solution of Equations (
1) and (
3) is written as the intersection of the surfaces:
for
.
The trivial case is neglected.
Taking into account Equation (
2), it is more convenient to consider the transformation
which describes the closed-form solutions of Equations (
1) and (
3). The unknown smooth function
u from Equation (
5) is a solution of the nonlinear initial value problem:
obtained from the second Equation (
1).
In
Section 4 are presented some semi-analytical solutions of Equation (
6) using the OHAM procedure, denoted by
or
.
Taking into consideration Equation (
5), the semi-analytical closed-form solutions of the Equations (
1) and (
3) are
where
is a semi-analytical solution of Equation (
6).
3. The Idea of Optimal Homotopy Asymptotic Method
The OHAM technique is an analytical method to build approximate solutions. The dynamic system is reduced to a second-order nonlinear ordinary differential equation which is solved analytically with the OHAM method.
The nonlinear differential equation is assumed as [
23]:
with the initial condition (for
)
where
is an arbitrary linear operator,
is the corresponding nonlinear operator,
is the unknown smooth function, and
is an operator characterizing the boundary conditions.
The residual function depending on the approximate solution
of Equation (
8) is given by:
For
, an embedding parameter, and
, an unknown function, the homotopic relation has the form:
where
is an auxiliary convergence control function depending on the variable
t and the unknown parameters
,
, …,
; and
denotes the initial approximation function and
denotes the first approximation function, respectively, of the exact solution
.
If
p increases from 0 to 1, then the solution
of Equation (
8) varies from
to the solution
of Equation (
8).
Considering the unknown function
in the form:
and equating the coefficients of
and
, respectively, the following deformation problems are obtained:
- -
The zeroth-order deformation problem
whose solution is the initial approximation function
.
- -
The first-order deformation problem
with solution the first approximation function
.
On the other hand, to obtain
from Equation (
14), the nonlinear operator
is assumed to have the general form:
where
n is a positive integer, and
and
are known elementary functions that depend on
and
.
To compute the function
, we consider the method presented in [
23], and the following form is obtained:
or
with
—linear combination of the functions
,
and the parameters
,
. The summation limit
m is an arbitrary positive integer number.
For
, the first-order analytical approximate solution of Equations (
8) and (
9), taking into account Equation (
12), has the form:
where
is a real linear combination of these functions
.
The unknown parameters , , …, can be optimally computed by means of various methods, such as the weighted residual method, the Kantorowich method, the least square method, the Galerkin method, and the collocation method.
The first-order approximate solution (
18) is well-determined if the convergence control parameters
,
, …,
are known.
Some mathematical notions, such as OHAM sequence, OHAM functions,
-approximate OHAM solutions, and weak
-approximate OHAM solutions, are defined in [
24]. Theorem 1, introduced after these definitions, emphasizes the existence of weak
-approximate OHAM solutions.
4. Semi-Analytical Solutions via OHAM Technique
The applicability of the OHAM method for the nonlinear differential problems given by Equation (
6) is pointed out in this section. This problem has the form of Equation (
8), using the following operators:
where
is unknown parameter at this moment.
The semi-analytical solution of Equation (
6) is constructed using the follow expand series:
Using the linear operator from Equation (
19), the initial approximation function
, the solution of Equation (
13) is
Using Equations (
19)–(
21), a simple computation provides the following expression:
Taking into account Equation (
14), the auxiliary functions could be chosen by the form:
or
and so on.
Combining Equations (
22) and (
23), for
, a simple integration of Equation (
14), by using only one iteration
, yields
where
,
are unknown control convergence parameters at this moment depending on
,
, with
and
. These parameters will be optimally computed.
Thus, the OHAM solution is well determined by Equation (
18) as
with
given by Equation (
21) and
given by Equation (
24), respectively.
5. Numerical Examples and Validation
For highlighting the precision and efficiency of the OHAM technique (using only one iteration), the approximate closed-form solutions are compared both graphically and tabularly with the corresponding iterative method (using six iterations) in this section. Moreover, the iterative method is applied and validated to solve functional equations (as differential equations, the Volterra integral equation, the Fredholm integral equation, nonlinear dynamical 3D system, fractional-order equation, and algebraic equation) whose exact solution is known. After 3, 4 or 5 iterations, it is easy to observe the expansion in power series of the exact solution. The iterative method gives power series solutions, but in the case of the nonlinear problems when the exact solution is unknown, the iterative method is uncertain and inflexible.
The results of the numerical study, computed via the fourth-order Runge–Kutta method, are provided in this section.
The obtained results by OHAM are validated by comparison with the corresponding exact parametric solutions.
The Kermack–McKendrick system studied admits asymptotic solutions independently of the initial conditions as it was proved in [
22].
Firstly, the absolute values of the difference
are examined for the index
in
Table 1 and
Figure 1.
From
Table 1, it can be observed that the magnitude of the absolute values of the difference then decreases, until
, which proves the accuracy of the used method.
For arbitrary values of the initial conditions
,
, and
, the variations of the approximate analytic solutions
,
,
and
are displayed in
Figure 2 and
Figure 3, highlighting the accuracy of the analytical procedure.
The semi-analytic closed-form solutions
and their corresponding numerical solutions are shown in
Table 2,
Table 3 and
Table 4 for different values of the parameter
a and
Figure 2.
Comparisons between the semi-analytic closed-form solutions
and their corresponding numerical solutions are presented in
Table 5,
Table 6 and
Table 7 for
,
, and
and physical parameters
and
, respectively, and
Figure 3.
The variations of the approximate analytic solution
and each of
,
and
have an asymptotic behavior as displayed in
Figure 2 and
Figure 3.
5.1. Effect of the Parameter a
The effect of the parameter
a on the system states
,
and
is shown in
Figure 4,
Figure 5 and
Figure 6. An increase in the infection rate
a leads to an increase in the functions
and
respectively, while the function
slowly decreases with time.
5.2. Effect of the Parameter b
The effect of the parameter
b on the system states
,
and
is shown in
Figure 7,
Figure 8 and
Figure 9. An increase in the removal rate of the infected subjects
b leads to an increase in the function
and a decrease in the function
, respectively, while the variation of the function
is determined by the value of the infection rate
a.
5.3. Effect of the Initial Condition
The effect of the initial condition
on the system states
,
, and
is shown in
Figure 10,
Figure 11 and
Figure 12. An increase in the initial condition
leads to an increase in the functions
,
, and
, respectively, for fixed values of the physical parameters
a and
b.
5.4. Effect of the Initial Condition
The effect of the initial condition
on the system states
,
, and
is shown in
Figure 13,
Figure 14 and
Figure 15. An increase in the initial condition
leads to an increase in the functions
,
respectively, while the function
decreases with time, for fixed values of the physical parameters
a and
b.
5.5. Effect of the Initial Condition
The effect of the initial condition
on the system states
,
and
is shown in
Figure 16,
Figure 17 and
Figure 18. An increase in the initial condition
leads to an increase in the function
, while the functions
and
, respectively, are not influenced for fixed values of the physical parameters
a and
b.
5.6. OHAM Solutions versus Iterative Solutions
The OHAM solutions are validation by comparison with the corresponding iterative solutions using the iterative method [
25].
Integration of the system (
1) over the interval
yields:
The iterative algorithm leads to:
The solutions of Equation (
1), using the iterative algorithm, can be written as:
The iterative solutions
, after 6 iterations and considering the initial conditions
,
, and
(presented in
Table 8), taking into account algorithm (
27), become:
The precision and efficiency of the OHAM method (using just one iteration) compared to the iterative method described in [
25] (using six iterations) are represented in
Table 8 and
Figure 19,
Figure 20 and
Figure 21, respectively, highlighting the accuracy and efficiency of the OHAM technique (using just one iteration) by comparison with the iterative method described in [
25] (using six iterations).
Figure 19,
Figure 20 and
Figure 21 and
Table 8, respectively, present a parallel between the OHAM solutions
,
,
and the corresponding iterative solutions
given in Equation (
28).
The semi-analytical solutions
for different values of the initial conditions
,
, and
and different values of the physical parameters
a and
b are presented in detail in
Appendix A.
5.7. OHAM Solutions versus Exact Parametric Solutions
Harko et al. [
3] established the exact parametric solution of Equation (
1) as:
where the unknown smooth function
(as parameter) is a solution of the nonlinear second-order differential equation:
The exact solution of the above Equation (
30) in explicit form remains an open problem and could be just analytically solved by different analytical methods.
The implicit solution of Equation (
30) in integral representation form is:
with
,
,
,
,
, and
.
A comparison between the OHAM solution with the exact parametric solution [
3] is shown in
Figure 22.
6. Conclusions
An analytical approach, namely OHAM, for solving second-order nonlinear differential equations is adopted using only one iteration. The analytical approximate solutions represent the -approximate OHAM solutions.
Advantages of this analytical method are reflected by comparison between the analytical solutions, numerical results (via the fourth-order Runge–Kutta method) and corresponding iterative solutions (via a known iterative method).
The obtained results are validated by graphically comparing them with the corresponding numerical solutions and by numerical integral values of the square residuals. The corresponding absolute values of the difference between semi-analytical and numerical solutions are tabulated. These comparisons prove the precision of the applied method in the sense that the analytical solutions are approaching the exact solution. The obtained results are in a good agreement with the exact parametric solutions and corresponding numerical results.
The achieved results encourage the study of dynamical systems with similar properties, as epidemic approach to equilibrium, for the future work.