1 Introduction

Sexually transmitted diseases such as HIV are overwhelmingly observed in some populations. Countries are dealing with the growing impact of the epidemics on the youngest and most productive population groups; increasing numbers in children and adolescents; worsening situation among the poor and marginalized populations; a continuous aggravation of the existent health problems (such as tuberculosis); and above all, the diversion of resources from other health, welfare, and educational priorities. It is very important to understand how the transmission process of the infectious diseases works in order to avoid ulterior spread of these epidemics [1]. So mathematical models for transmission dynamics in HIV play an important role in better understanding of epidemiological patterns for disease control as they provide short and long term prediction for HIV and AIDS incidence [2].

The first mathematical model used for the explicit study of a sexually transmitted disease was a one sex model that was constructed by Cooke and Yorke in 1973 [1, 3]. A two sex model developed specifically for gonorrhea was formulated by Lajmanovich and Yorke in 1976 [4]. One STD (sexually transmitted disease) that many people are worried about getting is HIV. Mathematical modeling of the HIV epidemic has been studied by various authors recently [512]. In 1994, Velasco-Hernandez and Hsieh analyzed the HIV epidemic in a male population [13]. In 2004, Bachar and Dorfmatr considered the mathematical model where the population was divided into three sub populations [14]. Expanding [14], Naresh has studied the effect of contact tracing on reducing the spread of HIV/AIDS in a homogeneous population with constant immigration of susceptibles.

Changes in population involved in a HIV transmission model can take place by discrete steps and continuous processes. In discrete models, difference equations reflect the change over the whole time step, whereas in continuous models, differential equations are developed to explore the changes in one variable with a decreasingly small change in another variable [1]. Because HIV population dynamics involves both continuous and discrete time arguments, for this type of problems, a different point of view came up and Buseenberg and Cooke used piecewise constant arguments to construct the mathematical modeling of biological structures in 1983. By taking into account the work of Naresh [2] we have constructed a new mathematical model. We added new terms and took into consideration both discrete time and continuous time. This model is analyzed by using the theory of both differential and difference equations to show the spread of HIV/AIDS in a homogeneous population. Because of the solution of these differential equations established in a certain subinterval, the solutions will be analyzed as a difference equations system. Furthermore, these results will be considered for differential equations, as well. So our mathematical model that is named a differential equation systems with piecewise constant arguments is as follows:

{ d S d t = S ( t ) r 1 ( p 1 α 1 S ( t ) β 1 I 1 ( [ | t | ] ) β 2 I 2 ( [ | t | ] ) ) , d I 1 d t = I 1 ( t ) r 2 ( 1 α 2 I 1 ( t ) + β 1 ( 1 ε 1 ) S ( [ | t | ] ) γ I 2 ( [ | t | ] ) θ I 1 ( [ | t | ] ) d I 1 d t = + β 2 ( 1 ε 2 ) S ( [ | t | ] ) I 2 ( [ | t | ] ) ) , d I 2 d t = I 2 ( t ) r 3 ( 1 α 3 I 2 ( t ) + β 2 ε 2 S ( [ | t | ] ) + γ I 1 ( [ | t | ] ) + θ I 1 ( [ | t | ] ) d I 2 d t = + β 1 ε 1 S ( [ | t | ] ) I 1 ( [ | t | ] ) ) .
(1.1)

In the equations above, t is the time and [|t|] is the exact value of t for t0. The model monitors three populations; susceptibles S(t), HIV positives that do not know they are infected I 1 (t), HIV positives that know they are infected I 2 (t). The susceptibles are composed of individuals that have not contracted the infection but may get infected through contacts (sexual, blood transfusion etc.) with infectives. r 1 is the population growth rate of the susceptible population. The deaths (of natural causes) are given at a rate α 1 . p 1 is the rate of susceptible population per year. The susceptibles are lost from their class following contacts with the infectives I 1 and I 2 at a rate β 1 and β 2 , respectively. I 1 are populations that are HIV positive but do not know it, because disease symptoms have not yet appeared in this class. This population is generated by the HIV infection of susceptibles. r 2 is the population growth rate of the population I 1 . The deaths (of natural causes) are given at a rate α 2 . The population of this class decreases and becomes aware after screening at a rate θ. γ is the rate of individuals in class I 1 that detect the infection by tracing contacts with class  I 2 . Following the contacts of class S and I 1 , class S becomes aware of the infection and this class is detected further which has the rate of ε 1 . And also, following the contacts of class S and I 2 , class S becomes aware of the infection and is detected further with the rate of ε 2 . r 3 is the population growth rate of the population I 2 . The deaths (of natural causes) are given at a rate α 3 .

2 Local and global asymptotic stability analysis

In this section, the local and global behavior of the nonlinear system (1.1) under specific conditions is investigated. To show the consistence of the population classes with the model constructed in Section 2, the data of [2] is used. Examples show the spread of the population over the time.

2.1 Equilibrium point of the model (1.1)

For t[n,n+1] every equation in system (1.1) is a Bernoulli differential equation as follows:

{ d S d t r 1 ( p 1 β 1 I 1 ( n ) β 2 I 2 ( n ) ) S ( t ) = α 1 r 1 S ( t ) 2 , d I 1 d t r 2 ( 1 + β 1 ( 1 ε 1 ) S ( n ) γ I 2 ( n ) θ I 1 ( n ) + β 2 ( 1 ε 2 ) S ( n ) I 2 ( n ) ) I 1 ( t ) = α 2 r 2 I 1 ( t ) 2 , d I 2 d t r 3 ( 1 + β 2 ε 2 S ( n ) + γ I 1 ( n ) + θ I 1 ( n ) + β 1 ε 1 S ( n ) I 1 ( n ) ) I 2 ( t ) = α 3 r 3 I 2 ( t ) 2 .
(2.1)

Solving (2.1) for t[n,n+1) and letting t go to n+1 where n=0,1,2,3, , we obtain a system of difference equations as follows:

{ S ( n + 1 ) = S ( n ) U 1 ( U 1 α 1 S ( n ) ) e r 1 U 1 + α 1 S ( n ) , I 1 ( n + 1 ) = I 1 ( n ) U 2 ( U 2 α 2 I 1 ( n ) ) e r 2 U 2 + α 2 I 1 ( n ) , I 2 ( n + 1 ) = I 2 ( n ) U 3 ( U 3 α 3 I 2 ( n ) ) e r 3 U 3 + α 3 I 2 ( n ) ,
(2.2)

where

U 1 = p 1 β 1 I 1 ( n ) β 2 I 2 ( n ) , U 2 = 1 + β 1 ( 1 ε 1 ) S ( n ) γ I 2 ( n ) θ I 1 ( n ) + β 2 ( 1 ε 2 ) S ( n ) I 2 ( n ) , U 3 = 1 + β 2 ε 2 S ( n ) + γ I 1 ( n ) + θ I 1 ( n ) + β 1 ε 1 S ( n ) I 1 ( n ) .

It is obvious that (2.3) must hold:

{ p 1 β 1 I 1 ( n ) β 2 I 2 ( n ) 0 , 1 + β 1 ( 1 ε 1 ) S ( n ) γ I 2 ( n ) θ I 1 ( n ) + β 2 ( 1 ε 2 ) S ( n ) I 2 ( n ) 0 , 1 + β 2 ε 2 S ( n ) + γ I 1 ( n ) + θ I 1 ( n ) + β 1 ε 1 S ( n ) I 1 ( n ) 0 .
(2.3)

System (2.2) is a system of difference equations. Hence, to explain the global behavior of system (2.1) we must consider the solution of (2.1), that is, the difference equations system (2.2). Firstly, we need to obtain the equilibrium points of this system (2.2), which are also the critical points of system (2.1). We have

{ β 1 I 1 ( n ) + β 2 I 2 ( n ) + α 1 S ( n ) = p 1 , I 1 ( n ) ( α 2 + θ ) + γ I 2 ( n ) β 1 ( 1 ε 1 ) S ( n ) β 2 ( 1 ε 2 ) S ( n ) I 2 ( n ) = 1 , α 3 I 2 ( n ) β 2 ε 2 S ( n ) ( γ + θ ) I 1 ( n ) β 1 ε 1 S ( n ) I 1 ( n ) = 1 .
(2.4)

From (2.4) we can write

I 1 ( n ) ( α 2 + θ ) + γ I 2 ( n ) β 1 ( 1 ε 1 ) S ( n ) β 2 ( 1 ε 2 ) S ( n ) I 2 ( n ) = α 3 I 2 ( n ) β 2 ε 2 S ( n ) ( γ + θ ) I 1 ( n ) β 1 ε 1 S ( n ) I 1 ( n ) .
(2.5)

Simplifying this, we get

( α 2 + 2 θ + γ ) I 1 + ( γ α 3 ) I 2 + ( β 2 ε 2 ( 1 ε 1 ) β 1 ) S + ( β 1 ε 1 I 1 β 2 ( 1 ε 2 ) I 2 ) S = 0 .
(2.6)

Substituting in (2.6) the expression

I 2 (n)= p 1 α 1 S β 1 I 1 β 2
(2.7)

we obtain

( ( β 2 ( α 2 + 2 θ + γ ) β 1 ( γ α 3 ) ) I 1 ( n ) + p 1 ( γ α 3 ) ) + ( β 2 ( β 2 ε 2 β 1 + β 1 ε 1 ) α 1 ( γ α 3 ) + β 2 β 1 ε 1 I 1 ) S ( n ) β 2 ( 1 ε 2 ) ( p 1 α 1 S ( n ) β 1 I 1 ) S ( n ) = 0 .
(2.8)

To find the positive equilibrium point of (2.2), we have some assumptions in view of the demographic data in [2].

  1. (i)

    β 1 =3 β 2 ,

  2. (ii)

    β 2 < α 1 ( α 3 γ ) 3 4 ε 1 ,

  3. (iii)

    ε 1 = ε 2 ,

  4. (iv)

    ε 1 (1 ε 2 ),

  5. (v)

    (1 ε 1 )( α 2 +2θ2γ+3 α 3 )>3( α 3 γ),

  6. (vi)

    α 3 >γ,

  7. (vii)

    ε 1 = ε 2 <0.75,

  8. (viii)

    θ>γ.

Thus, the equilibrium points of system (2.2) are X ¯ =( S ¯ , I ¯ 1 , I ¯ 2 ). Here

S ¯ = β 2 ( 3 4 ε 1 ) α 1 ( 1 ε 1 ) + p 1 α 1 ( 3 p 1 ( α 3 γ ) α 1 ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 ) + α 3 γ β 2 ( 1 ε 1 ) ) ,
(2.9)
I ¯ 1 = p 1 ( α 3 γ ) β 2 ( α 2 + 2 θ 2 γ + 3 α 3 ) ,
(2.10)
I ¯ 2 = α 1 ( α 3 γ ) ( 3 4 ε 1 ) β 2 2 β 2 2 ( 1 ε 1 ) + 3 p 1 ( α 3 γ ) ε 1 β 2 ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 )
(2.11)

and

p 1 > ( α 2 + 2 θ 2 γ + 3 α 3 ) ( α 1 ( α 3 γ ) β 2 2 ( 3 4 ε 1 ) ) β 2 ( ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 ) 3 ( α 3 γ ) ) .
(2.12)

The Jacobian matrix for the equilibrium points is (2.13). This gives the linearizing equations of system (2.2),

J( X ¯ )= ( a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 ) ,
(2.13)

where

a 11 = e r 1 U 1 , a 12 = 3 β 2 ( e r 1 U 1 1 ) α 1 , a 13 = β 2 ( e r 1 U 1 1 ) α 1 , a 21 = ( 3 β 2 ( 1 ε 1 ) + β 2 ( 1 ε 2 ) I 2 ) ( 1 e r 2 U 2 ) α 2 , a 22 = ( θ + α 2 ) e r 2 U 2 θ α 2 , a 23 = ( γ + β 2 ( 1 ε 2 ) S ) ( 1 e r 2 U 2 ) α 2 , a 31 = ( β 2 ε 2 + 3 β 2 ( 1 ε 2 ) I 1 ) ( 1 e r 3 U 3 ) α 3 , a 32 = ( γ + θ + 3 β 2 ε 1 S ) ( 1 e r 3 U 3 ) α 3 , a 33 = e r 3 U 3 .

The characteristic equation is

λ 3 ( a 11 + a 22 + a 33 ) λ 2 ( a 32 a 23 + a 12 a 21 + a 31 a 13 a 11 a 22 a 11 a 33 a 22 a 33 ) λ ( a 11 a 22 a 33 + a 31 a 12 a 23 + a 13 a 21 a 32 a 11 a 32 a 23 a 12 a 21 a 33 a 31 a 13 a 22 ) = 0 .
(2.14)

2.2 Local and global stability of the positive equilibrium

In this part, the local and global stability of system (2.2) will be analyzed. For the proof of Theorem 2.1, Theorem 2.2, and Theorem 2.3, it is assumed that conditions (i)-(viii) hold.

Theorem 2.1 Let X ¯ =( S ¯ , I ¯ 1 , I ¯ 2 ) the positive equilibrium point of system (2.2) and assume that

( α 2 + 2 θ 2 γ + 3 α 3 ) ( α 1 ( α 3 γ ) β 2 2 ( 3 4 ε 1 ) ) β 2 ( ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 ) 3 ( α 3 γ ) ) < p 1 < ( α 2 + 2 θ 2 γ + 3 α 3 ) ( α 1 ( 1 ε 1 ) ( α 2 γ ) + 3 α 1 ε 1 ( α 3 + γ ) 3 ε 1 β 2 2 ( 3 4 ε 1 ) ) 3 β 2 ε 1 ( ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 ) 3 ( α 3 γ ) ) .

Furthermore, suppose that

β 2 < α 1 α 3 θ 3 ( 1 ε 1 ) ( α 2 I ¯ 1 α 3 I ¯ 2 ) .
(2.15)

If

U ¯ 1 > 1 r 1 ln(K),
(2.16)
1 r 2 ln ( 3 ( γ + β 2 ε 1 S ¯ ) + α 2 3 ( γ + β 2 ε 1 S ¯ ) + θ ) < U ¯ 2 < 1 r 2 ln ( θ + α 2 θ ) ,
(2.17)
U ¯ 3 > 1 r 3 ln ( γ + θ + 3 β 2 ε 1 S ¯ + 3 α 3 γ + θ + 3 β 2 ε 1 S ¯ ) ,
(2.18)

where

K= α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) + α 1 α 3 θ α 1 α 2 α 3 + β 2 α 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) + 3 β 2 2 α 3 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) α 1 ( γ + θ + 3 β 2 ε 1 S ) ( γ + β 2 ( 1 ε 2 ) S ) ,

then the positive equilibrium point of system (2.2) is locally asymptotically stable.

Proof To prove Theorem 2.1, we have used the Schur-Cohn criteria (see [15]) to obtain conditions for the local asymptotic stability of the positive equilibrium points of system (2.2). We have

( i ) p 1 = 1 ( a 11 + a 22 + a 33 ) ( a 32 a 23 + a 12 a 21 + a 31 a 13 a 11 a 22 a 11 a 13 a 22 a 33 ) p 1 = ( a 11 a 22 a 33 + a 31 a 12 a 23 + a 13 a 21 a 32 a 11 a 32 a 23 a 12 a 21 a 33 a 31 a 13 a 22 ) p 1 > 0 , ( ii ) ( 1 ) 3 p ( 1 ) = 1 + ( a 11 + a 22 + a 33 ) ( 1 ) 3 p ( 1 ) = ( a 32 a 23 + a 12 a 21 + a 31 a 13 a 11 a 22 a 11 a 33 a 22 a 33 ) ( 1 ) 3 p ( 1 ) = + ( a 11 a 22 a 33 + a 31 a 12 a 23 + a 13 a 21 a 32 ( 1 ) 3 p ( 1 ) = a 11 a 32 a 23 a 12 a 21 a 33 a 31 a 13 a 22 ) ( 1 ) 3 p ( 1 ) > 0 , ( iii ) 1 ( ( a 11 a 22 a 33 + a 31 a 12 a 23 + a 13 a 21 a 32 a 11 a 32 a 23 a 12 a 21 a 33 a 31 a 13 a 22 ) ) 2 > | ( a 32 a 23 + a 12 a 21 + a 31 a 13 a 11 a 22 a 11 a 13 a 22 a 33 ) ( ( a 11 a 22 a 33 + a 31 a 12 a 23 + a 13 a 21 a 32 a 11 a 32 a 23 a 12 a 21 a 33 a 31 a 13 a 22 ) ) ( ( a 11 + a 22 + a 33 ) ) | .

Considering (i) and (ii) together, we get

22( a 32 a 23 + a 12 a 21 + a 31 a 13 a 11 a 22 a 11 a 33 a 22 a 33 )>0.
(2.19)

By simplifying (2.17), we obtain

a 32 a 23 + a 12 a 21 + a 31 a 13 <1+ a 11 a 22 + a 11 a 33 + a 22 a 33 .
(2.20)

Computations for (2.18) lead to the inequality

( α 1 ( γ + θ + 3 β 2 ε 1 S ) ( γ + β 2 ( 1 ε 2 ) S ) 3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) ) + ( 3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) ) I 2 + α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) ) e r 1 U 1 + ( α 1 ( γ + θ + 3 β 2 ε 1 S ) ( γ + β 2 ( 1 ε 2 ) S ) + 3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) e r 2 U 2 + ( α 1 ( γ + θ + 3 β 2 ε 1 S ) ( γ + β 2 ( 1 ε 2 ) S ) + α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) ) e r 3 U 3 + α 1 ( γ + θ + 3 β 2 ε 1 S ) ( γ + β 2 ( 1 ε 2 ) S ) ) e r 2 U 2 e r 3 U 3 + ( 3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) ) e r 1 U 1 e r 2 U 2 + ( α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) ) e r 1 U 1 e r 3 U 3 < α 1 α 2 α 3 α 1 α 3 θ e r 1 U 1 α 1 α 3 θ e r 3 U 3 + α 1 α 3 ( θ + α 2 ) e r 2 U 2 e r 3 U 3 + α 1 α 3 ( θ + α 2 ) e r 1 U 1 e r 2 U 2 + α 1 α 2 α 3 e r 1 U 1 e r 3 U 3 ,
(2.21)

where we will have

α 1 α 2 α 3 + α 2 β 2 2 ( ε 1 + 3 ( 1 ε 1 ) I 1 ) >0.
(2.22)

Since ε 1 <1, we will also have

α 1 α 3 (θ+ α 2 )+3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 1 ) I 2 ) >0.
(2.23)

Furthermore, the inequality

(γ+θ+3 β 2 ε 1 S) ( γ + β 2 ( 1 ε 1 ) S ) <(θ+ α 2 ) α 3
(2.24)

holds for

S< α 2 γ 3 β 2 ε 1 < α 3 + γ β 2 ( 1 ε 1 ) ,
(2.25)

where 3 α 3 > α 2 . By considering both (2.9) and (2.25), we get

p 1 < ( α 2 + 2 θ 2 γ + 3 α 3 ) ( α 1 ( 1 ε 1 ) ( α 2 γ ) + 3 α 1 ε 1 ( α 3 + γ ) 3 ε 1 β 2 2 ( 3 4 ε 1 ) ) 3 β 2 ε 1 ( ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 ) 3 ( α 3 γ ) ) .
(2.26)

Taking in view (2.12) and (2.26), we obtain

( α 2 + 2 θ 2 γ + 3 α 3 ) ( α 1 ( α 3 γ ) β 2 2 ( 3 4 ε 1 ) ) β 2 ( ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 ) 3 ( α 3 γ ) ) < p 1 < ( α 2 + 2 θ 2 γ + 3 α 3 ) ( α 1 ( 1 ε 1 ) ( α 2 γ ) + 3 α 1 ε 1 ( α 3 + γ ) 3 ε 1 β 2 2 ( 3 4 ε 1 ) ) 3 β 2 ε 1 ( ( 1 ε 1 ) ( α 2 + 2 θ 2 γ + 3 α 3 ) 3 ( α 3 γ ) ) ,

since θ>γ. Additionally, from (2.21), we will have

α 1 (γ+θ+3 β 2 ε 1 S) ( γ + β 2 ( 1 ε 2 ) S ) <3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 )
(2.27)

and

α 1 (γ+θ+3 β 2 ε 1 S) ( γ + β 2 ( 1 ε 2 ) S ) < α 2 β 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) α 1 α 3 θ.
(2.28)

Taking in view (2.27) and (2.28), we get

3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) > α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) +θ α 1 α 3 .
(2.29)

From (2.29), we get

β 2 2 ( 9 α 3 ( 1 ε 1 ) α 2 ε 1 ) +3 β 2 2 (1 ε 1 )( α 2 I 1 α 3 I 2 )θ α 1 α 3 ,
(2.30)

where 3 α 3 > α 2 and

β 2 > θ α 1 α 3 3 ( 1 ε 1 ) ( α 2 I 1 α 3 I 2 ) .
(2.31)

Finally, from (2.21) we consider

( α 1 ( γ + θ + 3 β 2 ε 1 S ) ( γ + β 2 ( 1 ε 2 ) S ) 3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) ) + ( 3 α 3 β 2 2 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) + α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) ) e r 1 U 1 < α 1 α 2 α 3 α 1 α 3 θ e r 1 U 1 ,
(2.32)

where we obtain

U ¯ 1 > 1 r 1 ln(K),
(2.33)

where

K= α 2 β 2 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) + α 1 α 3 θ α 1 α 2 α 3 + β 2 α 2 ( ε 2 + 3 ( 1 ε 2 ) I 1 ) + 3 β 2 2 α 3 ( 3 ( 1 ε 1 ) + ( 1 ε 2 ) I 2 ) α 1 ( γ + θ + 3 β 2 ε 1 S ) ( γ + β 2 ( 1 ε 2 ) S ) .

Considering the condition (iii), we investigate

1 c 1 2 >| c 2 c 1 c 3 |,
(2.34)

where

c 1 = a 11 a 22 a 33 + a 31 a 12 a 23 + a 13 a 21 a 32 a 11 a 32 a 23 a 12 a 21 a 33 a 31 a 13 + a 22 , c 2 = a 32 a 23 + a 12 a 21 + a 31 a 13 a 11 a 22 a 11 a 33 a 22 a 33 , c 3 = a 11 + a 22 + a 33 ;

(2.34) can be written as

c 1 ( c 1 c 3 ) c 2 < c 1 ( c 1 + c 3 )+ c 2 <1.
(2.35)

In this case, we must only show the condition for the inequality

c 1 ( c 1 + c 3 )+ c 2 <0+1,
(2.36)

where c 1 <0. For

c 2 <1
(2.37)

we must show

a 32 a 23 + a 12 a 21 + a 31 a 13 <1+ a 11 a 22 + a 11 a 33 + a 22 a 33 .
(2.38)

So we must only investigate the conditions for the inequality

a 11 a 22 a 33 + a 31 a 12 a 23 + a 13 a 21 a 32 < a 11 a 32 a 23 + a 12 a 21 a 33 + a 31 a 13 a 22
(2.39)

and

a 11 a 22 a 33 a 31 a 12 a 23 a 13 a 21 a 32 < a 11 a 32 a 23 a 12 a 21 a 33 a 31 a 13 a 22 + a 11 + a 22 + a 33 .
(2.40)

By adding (2.39) and (2.40) side by side we get

a 11 + a 22 + a 33 >0,
(2.41)

which holds for

U ¯ 2 < 1 r 2 ln θ + α 2 θ .
(2.42)

Furthermore, if the following conditions hold, then the inequality (2.39) is available.

If

a 12 a 23 < a 13 a 22 ,
(2.43)

then we obtain

U ¯ 2 > 1 r 2 ln ( 3 ( γ + β 2 ε 1 S ¯ ) + α 2 + θ 3 ( γ + β 2 ε 1 S ¯ ) + θ ) ,
(2.44)

where γ+ β 2 ε 1 S>0.

If

a 13 a 32 < a 12 a 33
(2.45)

we have

U ¯ 3 > 1 r 3 ln ( γ + θ + 3 β 2 ε 1 S + 3 α 3 γ + θ + 3 β 2 ε 1 S ) .
(2.46)

Considering (2.42), (2.44), and (2.46), we obtain

1 r 2 ln ( 3 ( γ + β 2 ε 1 S ) + α 2 3 ( γ + β 2 ε 1 S ) + θ ) < U ¯ 2 < 1 r 2 ln θ + α 2 θ ,
(2.47)

and we get

U ¯ 3 > 1 r 3 ln ( γ + θ + 3 β 2 ε 1 S + 3 α 3 γ + θ + 3 β 2 ε 1 S ) .
(2.48)

For the inequality

a 22 a 33 < a 32 a 23
(2.49)

let us use (2.47) and (2.48). Also, we can write

θ θ + α 2 <exp( r 2 U ¯ 2 )< 3 ( γ + β 2 ε 1 S ) + θ 3 ( γ + β 2 ε 1 S ) + α 2 + θ
(2.50)

and

exp( r 3 U ¯ 3 )< γ + 3 β 2 ε 1 S + θ γ + 3 β 2 ε 1 S + 3 α 3 + θ .
(2.51)

Using (2.50) and (2.51) in the following, we obtain

a 22 a 33 = ( ( θ + α 2 ) exp ( r 2 U ¯ 2 ) θ α 2 ) exp ( r 3 U ¯ 3 ) < ( ( θ + α 2 ) 3 ( γ + β 2 ε 1 S ) + θ 3 ( γ + β 2 ε 1 S ) + α 2 + θ θ α 2 ) ( γ + 3 β 2 ε 1 S + θ γ + 3 β 2 ε 1 S + θ + 3 α 3 ) = 3 ( γ + 3 β 2 ε 1 S + θ ) ( γ + β 2 ε 1 S ) ( 3 ( γ + β 2 ε 1 S ) + α 2 + θ ) ( γ + 3 β 2 ε 1 S + θ + 3 α 3 ) = ( ( γ + θ + 3 β 2 ε 1 S ) ( 1 θ + 3 ( γ + β 2 ε 1 S ) 3 ( γ + β 2 ε 1 S ) + α 2 + θ ) α 3 ) ( ( γ + β 2 ε 1 S ) ( 1 γ + θ + 3 β 2 ε 1 S γ + θ + 3 β 2 ε 1 S + 3 α 3 ) α 2 ) < ( γ + θ + 3 β 2 ε 1 S ) ( 1 exp ( r 3 U ¯ 3 ) ) α 3 ( ( γ + β 2 ( 1 ε 1 ) S ) ( 1 exp ( r 2 U ¯ 2 ) ) α 2 ) = a 32 a 23 .

This completes the proof. □

Theorem 2.2 Let { S ( n ) , I 1 ( n ) , I 2 ( n ) } n = 0 , be a positive solution of system (2.2). The following statements are true.

  1. (i)

    If

    { p 1 β 1 I 1 ( n ) β 2 I 2 ( n ) α 1 S ( n ) > 0 , 1 I 1 ( n ) ( α 2 + θ ) γ I 2 ( n ) β 1 ( 1 ε 1 ) S ( n ) β 2 ( 1 ε 2 ) S ( n ) I 2 ( n ) > 0 , 1 α 3 I 2 ( n ) + β 2 ε 2 + ( γ + θ ) I 1 ( n ) + β 1 ε 1 S ( n ) I 1 ( n ) > 0 ,
    (2.52)

then the solution of system (2.2) increases monotonically.

  1. (ii)

    If

    { p 1 > p 1 β 1 I 1 ( n ) β 2 I 2 ( n ) > α 1 S ( n ) , 1 > 1 + β 1 ( 1 ε 1 ) S ( n ) θ I 1 ( n ) γ I 2 ( n ) + β 2 ( 1 ε 2 ) S ( n ) I 2 ( n ) 1 > α 2 I 1 ( n ) , 1 > 1 + β 2 ε 2 S ( n ) + ( γ + θ ) I 1 ( n ) + β 1 ε 1 S ( n ) I 1 ( n ) > α 3 I 2 ( n ) ,
    (2.53)

then

0<S(n)< p 1 α 1 ,0< I 1 (n)< 1 α 2 and0< I 2 (n)< 1 α 3 .
(2.54)

Proof The proof will be left to the readers. □

Theorem 2.3 Let system (2.2) be written as follows:

F ( S ( t ) , I 1 ( t ) , I 2 ( t ) ) = { S ( t + 1 ) = f ( S ( t ) , I 1 ( t ) , I 2 ( t ) ) , I 1 ( t + 1 ) = g ( S ( t ) , I 1 ( t ) , I 2 ( t ) ) , I 2 ( t + 1 ) = h ( S ( t ) , I 1 ( t ) , I 2 ( t ) ) ,
(2.55)

where the first order partial derivatives of the functions f, g, and h with regard to S(t), I 1 (t), I 2 (t) are continuous in I R + and f,g,h:V R + 3 I R + . If

p 1 β 1 I 1 β 2 I 2 < 2 α 1 3 β 2 r 1
(2.56)

and

1+ β 1 (1 ε 1 )S(n)γ I 2 (n)θ I 1 (n)+ β 2 (1 ε 2 )S(n) I 2 (n)< 2 α 2 r 2 θ ,
(2.57)

then (2.55) has no 2-cycle in I, where α 1 >3 β 2 , α 2 >θ.

Proof Let the initial values be as follows:

{ x ( 0 ) = ( S ( 0 ) , I 1 ( 0 ) , I 2 ( 0 ) ) , x ( 1 ) = ( S ( 1 ) , I 1 ( 1 ) , I 2 ( 1 ) ) V , y ( 0 ) = ( S ( 0 ) , I 1 ( 0 ) , I 2 ( 0 ) ) , y ( 1 ) = ( S ( 1 ) , I 1 ( 1 ) , I 2 ( 1 ) ) V , z ( 0 ) = ( S ( 0 ) , I 1 ( 0 ) , I 2 ( 0 ) ) , z ( 1 ) = ( S ( 1 ) , I 1 ( 1 ) , I 2 ( 1 ) ) V ,
(2.58)
{ f ( f ( S ( 0 ) , I 1 ( 0 ) , I 2 ( 0 ) ) ) = f ( x ( 1 ) ) = x ( 0 ) , g ( g ( S ( 0 ) , I 1 ( 0 ) , I 2 ( 0 ) ) ) = g ( y ( 1 ) ) = y ( 0 ) , h ( h ( S ( 0 ) , I 1 ( 0 ) , I 2 ( 0 ) ) ) = h ( z ( 1 ) ) = x ( 0 ) .
(2.59)

In this case, we must have

x ( 0 ) x ( 1 ) ( 1 + f S ) d S 0 , x ( 0 ) x ( 1 ) ( 1 + f I 1 ) d I 1 0 , x ( 0 ) x ( 1 ) ( 1 + f I 2 ) d I 2 0 ,
(2.60)

to find that S(t+1)=f(S(t), I 1 (t), I 2 (t)) has no 2-cycle in I. In view of Theorem 2.2, the following results can be obtained.

  1. (1)

    f(S(t), I 1 (t), I 2 (t)) has no cycle in I, since for α 1 >3 β 2 we obtain

    1+ f ( x ) S >0,1+ f ( x ) I 1 >0,1+ f ( x ) I 2 >0,
    (2.61)

where

p 1 β 1 I 1 β 2 I 2 < 2 α 1 3 β 2 r 1 < 2 α 1 β 2 r 1 .
(2.62)
  1. (2)

    Similarly, I 1 (t+1)=g(S(t), I 1 (t), I 2 (t)) has no cycle in I, since for α 2 >θ, we get

    1+ g ( x ) S >0,1+ g ( x ) I 1 >0,1+ g ( x ) I 2 >0,
    (2.63)

where

1+ β 1 (1 ε 1 )S(n)γ I 2 (n)θ I 1 (n)+ β 2 (1 ε 2 )S(n) I 2 (n)< 2 α 2 r 2 θ .
(2.64)
  1. (3)

    Finally, I 2 (t+1)=h(S(t), I 1 (t), I 2 (t)) has no cycle in I, since (2.62) and (2.64) hold, and we have

    1+ h ( x ) S >0,1+ h ( x ) I 1 >0,1+ h ( x ) I 2 >0.
    (2.65)

This completes the proof. □

Some additional assumptions of (2.55) are needed to verify global asymptotic stability for the positive equilibrium point x ¯ =( S ¯ , I ¯ 1 , I ¯ 2 ).

Let f, g, h be continuous functions and

  1. i.

    f:A×B×CA,

  2. ii.

    g:A×B×CB,

  3. iii.

    h:A×B×CC.

Corollary 2.1 Let us have a positive equilibrium point of system (2.2). If Theorems 2.1-2.3 hold, then the positive equilibrium point of system (2.2) is globally asymptotically stable.

Example

We considered the health system in India in view of the information of [2]. The unit of parameters is in units of per year:

p 1 = 2 , 000 , γ = 0.00001 , ε 1 = ε 2 = 0.01 , θ = 0.015 , α 1 = 0.0748 , r 1 [ 0.001 , 0.01 ] , α 2 = 0.0919 , r 2 = r 1 , α 3 = 0.092 , r 3 = 0.001 r 1 .

Considering the condition β 2 < α 1 ( α 3 γ ) 3 4 ε 1 , we obtain β 2 =0.048, β 1 =0.144. Initial values are selected as S(0)=10,000, I 1 (0)=5,000, I 2 (0)=1,000 in Figure 1.

Figure 1
figure 1

The graph of populations ( t , populations).

The health system in India has been considered in view of the information of [2]. Figures 1-8 show the variation of classes for different values of the parameters. In Figures 1-8, blue graph denotes susceptible class (S(t)), red graph denotes HIV positives that do not know they are infected ( I 1 (t)), green graph denotes HIV positives that know they are infected. The β 2 value taken in Figure 1 is β 2 =0.048. In Figure 2, we have only changed the variable β 2 =0.3. And also in Figure 3, we have changed β 2 =0.3, β 1 =0.9. In this case, one can say that β 2 is an important parameter for the spread of the populations over the time t. Considering Figure 1, it is seen that after 75 years an important increase of the I 1 class and decrease of the S class will happen for the selected values in system (2.2). When Figures 1 and 2 are compared, one can see that in the same years the I 1 class increases more in Figure 2 and that the S class decreases more in Figure 2. In Figure 3, for β 2 =0.3 and β 1 =0.9 after 25 years an important increase of class I 1 and decrease of class S will happen. In that case it is said that as the value of β 2 (per capita contact rate for susceptibles with unaware infectives ( I 2 )) increases, the I 1 class decreases in earlier years.

Figure 2
figure 2

The graph of populations ( t , populations), β 2 =0.3 , β 1 =0.144 .

Figure 3
figure 3

The graph of populations ( t , populations), β 2 =0.3 , β 1 =0.9 .

In Figures 4-6 the variation of populations for different values of θ and k is shown. It is seen that as infected persons, i.e. the unaware HIV infectives become aware about their infection, detect by a rate θ, we may trace out the other infectives which have had the sexual contacts in the past by contact tracing by a rate γ, which results in the decrease of the number of unaware infectives. It is seen that as the rate of θ and k become zero (see Figure 6) i.e. the infectives who do not know that they are infected will continue maintaining sexual relationships in the community which will ultimately increase the infective populations.

Figure 4
figure 4

The graph of populations ( t , populations), γ=0 .

Figure 5
figure 5

The graph of populations ( t , populations), θ=0 .

Figure 6
figure 6

The graph of populations ( t , populations), γ=0 , θ=0 .

In Figure 1 due to immigration, the susceptible population increases continuously, therefore, infection becomes more endemic and always persists in the population (see also Figure 7). In Figure 8 the distribution of population with time is shown in different classes without immigration. It is seen that in the absence of immigration into the community, the susceptible population decreases continuously as the population is closed, which results in an increase in the infective population first and then it decreases as all infectives will develop AIDS will die out by disease-induced deaths. Thus the total population will be eradicating after some time.

Figure 7
figure 7

The graph of populations ( t , populations), p 1 =4,000 .

Figure 8
figure 8

The graph of populations ( t , populations), p 1 =0 .

Thus, on changing the behavior and increasing the awareness about the HIV infection in the population the infection can be slowed down and may be kept under control.

Discussion

In this paper, a mathematical model with piecewise constant arguments is proposed to investigate the impact of the parameters (e.g. contact tracing, screening) on the spread of HIV in a population with variable size structure. The model is analyzed using Schur-Cohn criteria on difference equations and numerical simulation. The equilibrium point is found to be locally asymptotically stable and globally asymptotically stable under certain conditions. It is observed that if the aware HIV infectives, detected by screening and contact tracing, do not take part in spreading the disease, HIV infection reduces significantly. It is also found that the disease becomes more endemic due to immigration and the endemicity of the disease decreases when the infectives become aware of their infection after screening and contact tracing and do not take part in sexual interaction, whereas it increases in the absence of contact tracing. In the absence of screening and contact tracing, the infected people continue to spread the disease without taking any precaution due to unawareness of their infection.

Finally from the analysis, it may be speculated that the most effective way to reduce the infection rate and prevalence level is to educate the people about the HIV and make them aware of the consequences of practicing non-safe sex or any other kind of risky behavior. If the population presents a positive attitude toward preventive procedures, the disease may tend to vanish, even for relatively small random screening rates.