Next Article in Journal
Constraint-Aware Hamiltonian Neural Networks: A Comparative Study for Holonomically Constrained Systems
Previous Article in Journal
TRAGIC: An Advanced Transformer–GRU Fusion Model with Self-Attention for Monkeypox Mortality Forecasting
Previous Article in Special Issue
Asymptotic Stability of Time-Varying Nonlinear Cascade Systems with Delay via Lyapunov–Razumikhin Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Impact of Latent Reservoirs, Latent Infection Delays, and Treatments on HIV Dynamics

by
Fawaz K. Alalhareth
1,2,*,
Mohammed I. Albishri
3,
Mohammed H. Alharbi
3 and
Miled El Hajji
3,4
1
Department of Mathematics, College of Arts and Sciences, Najran University, Najran, Saudi Arabia
2
Science and Engineering Research Center, Najran University, Najran, Saudi Arabia
3
Department of Mathematics and Statistics, Faculty of Science, University of Jeddah, P.O. Box 80327, Jeddah 21589, Saudi Arabia
4
ENIT-LAMSIN, Tunis El Manar University, BP. 37, Tunis-Belvédère, Tunis 1002, Tunisia
*
Author to whom correspondence should be addressed.
Mathematics 2026, 14(10), 1675; https://doi.org/10.3390/math14101675
Submission received: 10 April 2026 / Revised: 4 May 2026 / Accepted: 11 May 2026 / Published: 14 May 2026
(This article belongs to the Special Issue Research on Delay Differential Equations and Their Applications)

Abstract

A within-host HIV dynamics model incorporating latent reservoirs, distributed time delays, and a B-cell-mediated humoral immune response is developed and analyzed mathematically. The model includes five compartments: uninfected CD4+ T cells, latently infected cells, actively infected cells, free virions, and B cells. Four distinct distributed delays are introduced to account for the periods between viral entry and the emergence of latently or actively infected cells, reactivation of latently infected cells, and intracellular virion production. For the non-delayed system, the basic reproduction number R 0 is derived using the next-generation matrix method. Using Lyapunov functions and LaSalle’s Invariance Principle, a sharp threshold dynamic is proven: the infection-free equilibrium is globally asymptotically stable (GAS) when R 0 1 , whereas a unique endemic equilibrium is GAS when R 0 > 1 . For the full distributed-delay system, a delay-dependent reproduction number R 0 d is defined. The global asymptotic stability of the infection-free equilibrium is established for R 0 d 1 , and the global asymptotic stability of the endemic equilibrium is established for R 0 d > 1 , using suitably constructed Lyapunov functionals that account for the delay history. Numerical simulations validate the analytical threshold behavior. A sensitivity analysis of R 0 d identifies the most influential parameters for potential intervention. A treatment-dependent reproduction number is derived, and the critical drug efficacy required for viral eradication is determined. The intracellular production delay is shown to act as a critical threshold for infection clearance.

1. Introduction

Human Immunodeficiency Virus (HIV) infection remains a major global health challenge, with approximately 39 million people living with the virus and 1.3 million new infections occurring annually [1]. The within-host dynamics of HIV are extraordinarily complex, involving multiple cell types, viral replication cycles, latent reservoirs, and immune responses. Mathematical modeling has emerged as a powerful tool for unraveling this complexity, providing insights into infection progression, treatment design, and potential eradication strategies.
A major barrier to HIV eradication is the existence of latent reservoirs, i.e., populations of resting CD4+ T cells that harbor an integrated but transcriptionally silent provirus. The definitive identification of this reservoir was provided by Chun et al. [2] and Finzi et al. [3], who demonstrated that latently infected cells have an estimated half-life of approximately 44 months, making viral eradication impossible with current antiretroviral therapy (ART) alone. These cells can persist for decades and reactivate upon treatment interruption, reseeding active infection [4]. Subsequent work by Siliciano and Siliciano [5] quantified that the latent reservoir contains approximately 10 6 to 10 7 cells in infected individuals, with decay rates of only 2–3% per year under suppressive therapy.
The time lag between viral entry and the production of new virions, termed the infection latent delay, was first quantified by Herz et al. [6] using mathematical modeling of clinical data from patients treated with protease inhibitors. They estimated this intracellular delay to be approximately 1–2 days and showed that neglecting it leads to underestimation of key kinetic parameters by up to 50%. Perelson et al. [7] refined these estimates using a more detailed model of HIV-1 dynamics, demonstrating that productively infected cells have a half-life of approximately 1.6 days, while the intracellular phase contributes an additional delay of 0.9 days on average. These findings established that viral dynamics are governed not only by rates of infection and clearance but also by the timing of critical intracellular events.
The introduction of highly active antiretroviral therapy (HAART) in the mid-1990s transformed HIV from a fatal disease to a manageable chronic condition. Hammer et al. [8] showed in a landmark clinical trial that triple-drug therapy (zidovudine, lamivudine, and indinavir) reduced plasma HIV RNA to undetectable levels (<500 copies/mL) in 60–80% of patients, compared to less than 20% with dual therapy. Gulick et al. [9] demonstrated sustained viral suppression for over one year with indinavir-containing regimens, establishing the feasibility of long-term viral control. However, Paterson et al. [10] established that adherence levels below 95% are associated with a significantly increased risk of virologic failure and drug resistance, highlighting the challenges of long-term treatment. More recently, integrase strand transfer inhibitors (INSTIs) such as dolutegravir have achieved even higher efficacy, with Hightower et al. [11] reporting over 99% inhibition of viral integration.
Building on these foundational studies, mathematical modeling has become indispensable for understanding HIV pathogenesis. Herz et al. [6] and Perelson et al. [7] not only quantified viral dynamics but also established the methodological framework for estimating in vivo rate constants from clinical data. Their work revealed that the rapid turnover of HIV in blood (half-life of approximately 6 h) masks a highly dynamic process of continuous viral replication and immune-mediated killing. Since the pioneering models of [7,12], a rich literature [13,14,15,16] has developed, capturing various aspects of HIV pathogenesis through ordinary differential equations (ODEs). These models have been instrumental in quantifying viral turnover, estimating infected cell lifespans, and predicting the effects of antiretroviral therapy [17,18,19,20,21].
The incorporation of immune responses into HIV models has been a major focus of subsequent research. While early models focused primarily on CD4+ T cell dynamics and cytotoxic T lymphocyte (CTL) responses, the role of humoral immunity mediated by B cells has received increasing attention. Murase et al. [22] were among the first to introduce B-cell dynamics into an HIV model, showing that antibody-mediated responses can reduce viral load by up to 2 logs under optimal conditions and that the timing of antibody appearance critically affects infection outcome. Their stability analysis of pathogen–immune interaction dynamics [22] demonstrated that delayed antibody responses can lead to oscillatory behavior and that the strength of B-cell stimulation determines whether infection is cleared or becomes chronic. Subsequent work by Ganusov et al. [23] explored the role of B cells in controlling viral escape mutants, demonstrating that humoral immunity provides a crucial backup when CTL responses are compromised.
Characterizing the duration of latent infection has been approached through different mathematical frameworks. Time delay models use discrete or distributed delays to represent the intracellular phase of viral replication. Nelson and Perelson [24] developed delay differential equation models of HIV-1 infection, estimating that the average delay between infection and viral production ranges from 0.5 to 2 days, with variability depending on cell type and activation state. Culshaw and Ruan [14] analyzed a delay-differential equation model of HIV infection of CD4+ T cells, showing that time delays can destabilize the system and lead to sustained oscillations.
More recently, age-structured models have provided finer resolution of infection dynamics. Rong et al. [25] used infection-age structure to show that the timing of treatment initiation critically affects the decay rate of latently infected cells, with earlier treatment leading to faster reservoir decay. Li et al. [26] extended this approach to include both CTL and antibody immune responses, demonstrating that the combination of age-structure and delayed antibody production can produce complex dynamical behaviors, including Hopf bifurcations and periodic solutions. Their analysis revealed that the delayed antibody response plays a crucial role in determining whether infection progresses to chronicity or is controlled.
The integration of latent reservoirs, time delays, and immune responses remains an active area of research. Recent studies by Prakash et al. [18] have explored bifurcation analysis in models with multiple infections and intracellular delay, while Lv et al. [19] investigated the dynamics of delayed HIV models with both viral and cellular infections. Alalhareth et al. [27] examined global dynamics and optimal control of dual-target HIV models with latent reservoirs, and Almuhashi and El Hajji [28] analyzed the effects of time delays on treatment outcomes.
While our recent works have explored various aspects of HIV dynamics [27,28,29,30,31], the present study introduces several distinct features that have not been previously integrated. First, whereas our previous delay models considered at most two discrete delays [28], the current model incorporates four distinct distributed delays with general probability kernels, capturing variability in (i) the time to establish latent infection, (ii) the time to establish active infection, (iii) delay in reactivation of latently infected cells, and (iv) the intracellular delay in virion production. Second, neither Ref. [27] nor Ref. [28] included any immune compartment; the current model is the first in our series to incorporate a B-cell compartment with stimulation by free virions, capturing the humoral immune response. Third, the extension to distributed delays requires fundamentally different analytical techniques: the Lyapunov functionals constructed in Section 4 incorporate memory terms that account for the entire delay history, generalizing the approach of Korobeinikov [32] beyond the discrete-delay analysis in [28]. Fourth, a novel contribution not present in any of our previous work is the derivation of an explicit expression for the critical intracellular delay τ 4 cr (Section 5.4), identifying pharmacological prolongation of viral maturation as a potential therapeutic strategy. Finally, our systematic sensitivity analysis of the delay parameters themselves ( n i , τ i , F i ) reveals which biological latencies most critically affect infection outcomes, informing where therapeutic interventions might be most effective. These combined features represent a significant advance beyond our recent publications, providing the most integration of latency, distributed delays, and humoral immunity in our research program to date.
Table 1 provides a brief comparison of the previous models [27,28] with the current one.
The remainder of the paper is organized as follows: Section 2 formulates the model; Section 3 analyzes the ODE case; Section 4 extends the analysis to distributed delays; Section 5 presents numerical results; and Section 6 concludes with discussion and future directions.

2. Mathematical Model Derivation

In this section, we formulate a within-host mathematical model to describe the dynamics of HIV infection, incorporating biological features such as latent reservoirs, distributed time delays, and the humoral immune response mediated by B cells. The model is structured as a system of delay differential equations (DDEs) that captures the interactions between uninfected CD4+ T cells, latently infected cells, actively infected cells, free virions, and B cells. Distributed delays are introduced to account for the time lags between viral entry and the emergence of infected cell populations, as well as delays in viral production and B cell activation. The model considers the stimulation of B-cell proliferation in response to viral presence, capturing the activation of the humoral immune response during HIV infection. A complete description of state variables, parameters, delay distributions, and initial conditions is provided, along with fundamental analytical results—such as the boundedness and positivity of solutions—that ensure the model’s biological consistency and mathematical tractability.
The schematic diagram (Figure 1) illustrates the compartmental structure and interaction pathways of the model. It shows the five state variables—uninfected CD4+ T cells ( X u ), latently infected cells ( X l ), actively infected cells ( X i ), free virions ( X v ), and B cells ( X B )—along with the infection routes ( β , α ) , delay stages ( ω 1 , ω 2 , ω 3 , ω 4 ) , and key processes such as latent cell activation ( ν ) , viral production ( r v ) , and B-cell stimulation ( ε ) in response to free virions.
Therefore, the proposed model illustrates the coupled, delay-dependent structure of HIV pathogenesis, emphasizing the roles of latency, delayed viral replication, and the role of B cells in antiviral response. In particular, the mathematical model provides the following key elements:
  • Two routes of infection—latent ( ( 1 α ) β ) and active ( α β )—with distributed delays ( ω 1 , ω 2 ).
  • Latent cells ( X l ) activate at rate ν to become active cells ( X i )—with distributed delay ( ω 3 ).
  • Active cells produce virions after intracellular delay ω 4 .
  • The presence of HIV stimulates the proliferation of B cells at a rate ε X v X B .
For i = 1 , 2 , 3 , 4 , the functions ζ i ( τ ) represent probability density functions for the distributed delays, defined on [ 0 , ω i ] with ω i possibly infinite, satisfying
ζ i ( τ ) > 0 , 0 ω i ζ i ( τ ) d τ = 1 , 0 ω i ζ i ( τ ) e l τ d τ < ( l > 0 ) where Π i ( τ ) = ζ i ( τ ) e n i τ .
We define F i = 0 ω i Π i ( τ ) d τ , satisfying 0 < F i 1 .
Based on the schematic diagram (Figure 1), we consider the following system of delay differential equations that describes the within-host dynamics of HIV infection, taking into account latent reservoirs, distributed delays in infection and viral production, and the immune response mediated by B cells:
X ˙ u ( t ) = Λ u d u X u ( t ) β X u ( t ) X v ( t ) ,
X ˙ l ( t ) = ( 1 α ) β 0 ω 1 Π 1 ( τ ) X u ( t τ ) X v ( t τ ) d τ ( ν + d l ) X l ( t ) ,
X ˙ i ( t ) = α β 0 ω 2 Π 2 ( τ ) X u ( t τ ) X v ( t τ ) d τ + ν 0 ω 3 Π 3 ( τ ) X l ( t τ ) d τ d i X i ( t ) ,
X ˙ v ( t ) = r v 0 ω 4 Π 4 ( τ ) X i ( t τ ) d τ d v X v ( t ) η X v ( t ) X B ( t ) ,
X ˙ B ( t ) = Λ B + ε X v ( t ) X B ( t ) d B X B ( t ) ,
for all t > 0 .
For each delay process i = 1 , , 4 , a probability density function ζ i ( τ ) is introduced, defined on the interval [ 0 , ω i ] with ω i possibly infinite. These density functions satisfy ζ i ( τ ) > 0 and 0 ω i ζ i ( τ ) d τ = 1 . To incorporate both the distribution of the time lag and the decay of infected cells or virions during the delay period, the effective kernel is defined as Π i ( τ ) = ζ i ( τ ) e n i τ , where n i 0 is a decay rate. The total contribution from all past times to a given compartment at time t is then represented by the integral 0 ω i Π i ( τ ) Y ( t τ ) d τ , where Y denotes the relevant variable (e.g., X u X v for infection terms, or X l or X i for activation and production terms). This formulation generalizes discrete delays (obtained when ζ i is a Dirac delta function) and allows for more realistic distributions such as gamma or uniform delays. The net effect of each delay on the infection threshold is summarized by the factor F i = 0 ω i Π i ( τ ) d τ , which satisfies 0 < F i 1 and appears explicitly in the delay-dependent basic reproduction number R 0 d .
The system (1)–(5) is equipped with initial values given by continuous functions on the delay interval [ τ * , 0 ] :
X u ( θ ) = ϕ 1 ( θ ) , X l ( θ ) = ϕ 2 ( θ ) , X i ( θ ) = ϕ 3 ( θ ) , X v ( θ ) = ϕ 4 ( θ ) , X B ( θ ) = ϕ 5 ( θ ) , θ [ τ * , 0 ] ,
where τ * = max { ω 1 , ω 2 , ω 3 , ω 4 } , and ϕ j C ( [ τ * , 0 ] , R + ) . The equations describe the HIV dynamics on t > 0 with initial values given on [ τ * , 0 ] .
Assumption 1 
(Model Assumption). The death rates satisfy: d u d l d i .
This inequality establishes a biologically motivated hierarchy for the natural turnover rates of the T-cell populations. In fact, healthy cells are the most stable, latently infected cells form a persistent reservoir, and actively infected cells are short-lived due to viral cytotoxicity and immune attack.

Biological Interpretation of Terms

  • Λ u : Constant recruitment rate of uninfected CD4+ T cells.
  • Λ B : Production rate of B cells.
  • β : Infection rate for both latent and active infections.
  • α : Proportion of infections that directly lead to active infection. The remainder ( 1 α ) leads to latent infection.
  • ν : Activation rate of latently infected cells.
  • r v : Number of virions produced per actively infected cell per unit time.
  • η : Neutralization rate of virions by B cells.
  • ε : Rate of B-cell proliferation stimulated by free virions. This term reflects the activation and expansion of the B-cell population in response to viral antigen, which enhances the humoral immune response.
  • d u , d l , d i , d v , d B : Death rates of uninfected T cells, latently infected cells, actively infected cells, free virions, and B cells, respectively.
  • Delays account for time between infection and appearance of latently/actively infected cells ( ω 1 , ω 2 ) , delay in latent cell reactivation ( ω 3 ) , and intracellular delay in virion production ( ω 4 ) .
A summary of the biological interpretation of all variables and parameters in the distributed-delay HIV model (1)–(5) is given in Table 2.
Remark 1. 
ω 1 and ω 2 describe the time from viral entry into a target cell until the cell becomes either latently infected ( ω 1 ) or actively infected ( ω 2 ). During this period, reverse transcription, integration, and transcriptional silencing (for latency) or activation (for active infection) occur. This is the establishment delay. ω 3 reflects the time from when a latently infected cell receives an activation stimulus (e.g., antigen encounter, cytokine signaling) until it transitions to an actively infected cell that produces virions. This is the reactivation delay. Thus, ω 1 and ω 3 do not double-count latency; rather, latency is the state in between. A latently infected cell exists for a period (with mean residence time 1 / ( ν + d l ) ) before reactivation, and the ω 3 delay represents the intracellular signaling and transcriptional initiation steps after stimulation.
Having established the full distributed-delay model with latent reservoirs and B-cell response, we next turn to a foundational analysis of the system in the absence of delays. This simplification allows us to derive the basic reproduction number and establish global stability properties in a more tractable setting, which will serve as a crucial benchmark for the subsequent analysis of the delayed system.

3. Global Analysis of the HIV Model Without Distributed Delays

Analyzing the non-delayed system first allows us to isolate the intrinsic dynamics of HIV infection from the effects of time lags. The threshold behavior established here provides a baseline against which the impact of distributed delays can be quantified in Section 4. This section presents an analysis of the within-host HIV dynamics model in the absence of distributed delays. By setting all delay terms to zero, system (1)–(5) reduces to a system of ordinary differential equations (ODEs) that captures the fundamental interactions between uninfected CD4+ T cells, latently infected cells, actively infected cells, free virions, and B cells. The simplified model allows for a more tractable examination of the system’s qualitative behavior, including the existence and stability of equilibria. We begin by establishing basic properties such as non-negativity and boundedness of solutions, ensuring the biological well-posedness of the model. Subsequently, the basic reproduction number R 0 is derived using the next-generation matrix method, serving as a critical threshold that dictates the persistence or clearance of the infection. The global asymptotic stability of the infection-free equilibrium is proven for R 0 1 , while the existence and global stability of a unique endemic equilibrium are established for R 0 > 1 . These analytical results provide a foundational understanding of the system’s long-term behavior, which will later be extended to the more complex case incorporating distributed delays.
The HIV model without distributed delays is given hereafter.
X ˙ u ( t ) = Λ u d u X u ( t ) β X u ( t ) X v ( t ) ,
X ˙ l ( t ) = ( 1 α ) β X u ( t ) X v ( t ) ν X l ( t ) d l X l ( t ) ,
X ˙ i ( t ) = α β X u ( t ) X v ( t ) + ν X l ( t ) d i X i ( t ) ,
X ˙ v ( t ) = r v X i ( t ) d v X v ( t ) η X v ( t ) X B ( t ) ,
X ˙ B ( t ) = Λ B + ε X v ( t ) X B ( t ) d B X B ( t ) ,
for all t > 0 with initial condition ( X u 0 , X l 0 , X i 0 , X v 0 , X B 0 ) R + 5 . The equations describe the HIV dynamics on t > 0 with initial values given at t = 0 .

3.1. Basic Properties: Positivity, Boundedness, and Invariant Region

This subsection establishes the fundamental mathematical properties of the ODE system (7)–(11) that ensure its biological plausibility and analytical tractability. We first prove that all state variables, uninfected CD4+ T cells X u ( t ) , latently infected cells X l ( t ) , actively infected cells X i ( t ) , free virions X v ( t ) , and B cells X B ( t ) remain non-negative for all time t 0 given non-negative initial conditions. This positivity property is essential for the model to represent meaningful biological concentrations. Subsequently, we demonstrate that the solutions of the system are ultimately bounded. By constructing appropriate Lyapunov-like functions and differential inequalities, we derive explicit upper bounds for each compartment and identify a positively invariant region Γ in the non-negative orthant R + 5 . This region acts as a global attractor, meaning all trajectories eventually enter and remain within Γ . Establishing these basic properties, positivity, boundedness, and the existence of a compact invariant set, forms the necessary foundation for the equilibrium and stability analysis carried out in the subsequent subsections. Let d = min { d u , d i / 2 , d v , d B } .
Lemma 1. 
Dynamics (7)–(11) admit a positively invariant attractor set given by
Γ = ( X u , X l , X i , X v , X B ) R + 5 ; 0 X u ( t ) , X l ( t ) , X i ( t ) Λ u d + d i η Λ B 2 r v ε d , 0 X v ( t ) 2 r v Λ u d d i + η Λ B ε d , 0 X B ( t ) 2 r v ε Λ u d d i η + Λ B d .
Proof. 
We have
X ˙ u | X u = 0 = Λ u > 0 , X ˙ l | X l = 0 = ( 1 α ) β X u X v 0 , X v , X u 0 , X ˙ i | X i = 0 = α β X u X v + ν X l 0 , X v , X u , X l 0 , X ˙ v | X v = 0 = r v X i 0 , X i 0 , X ˙ B | X B = 0 = Λ B > 0 .
Thus ( X u , X l , X i , X v , X B ) ( t ) R + 5 for all t 0 when ( X u , X l , X i , X v , X B ) ( 0 ) R + 5 . Now, let us show the boundedness of the model’s solution. We we define ψ ( t ) as
ψ = X u + X l + X i + d i 2 r v X v + d i η 2 r v ε X B .
Then, we get
ψ ˙ = X ˙ u + X ˙ l + X ˙ i + d i 2 r v X ˙ v + d i η 2 r v ε X ˙ B = Λ u d u X u β X u X v + ( 1 α ) β X u X v ν X l d l X l + α β X u X v + ν X l d i X i + d i 2 r v r v X i d v X v η X v X B + d i η 2 r v ε Λ B + ε X v X B d B X B = Λ u + d i η Λ B 2 r v ε d u X u d l X l d i 2 X i d i d v 2 r v X v d i η d B 2 r v ε X B Λ u + d i η Λ B 2 r v ε d X u + X l + X i + d i 2 r v X v + d i η 2 r v ε X B = Λ u + d i η Λ B 2 r v ε d ψ ,
Thus,
ψ ( t ) Λ u d + d i η Λ B 2 r v ε d if ψ ( 0 ) Λ u d + d i η Λ B 2 r v ε d .
and hence, 0 ψ ( t ) Λ u d + d i η Λ B 2 r v ε d , for any t 0 .
The non-negativity of solutions implies that 0 X u ( t ) , X l ( t ) , X i ( t ) Λ u d + d i η Λ B 2 r v ε d , 0 X v ( t ) 2 r v d i Λ u d + η Λ B ε d , 0 X B ( t ) 2 r v ε d i η Λ u d + Λ B d if X u ( 0 ) + X l ( 0 ) + X i ( 0 ) + d i 2 r v X v ( 0 ) + d i η 2 r v ε X B ( 0 ) Λ u d + d i η Λ B 2 r v ε d . □

3.2. Threshold Quantification and Equilibrium Analysis: The Basic Reproduction Number and Steady States

This subsection focuses on determining the long-term outcomes of the within-host HIV infection as predicted by the ODE model (7)–(11). The central object of this analysis is the basic reproduction number, denoted R 0 , which serves as a critical epidemiological threshold. R 0 is derived using the next-generation matrix method [33,34], explicitly accounting for both direct infection pathways (via actively infected cells) and the indirect contribution from the latent reservoir. We analytically characterize all possible steady-state solutions (equilibria) of the system. The infection-free equilibrium E 0 , representing the complete clearance of the virus, is shown to always exist. Furthermore, we establish that a unique endemic (chronic) equilibrium E * , corresponding to a persistent infection state, exists if and only if R 0 > 1 . The proof of existence and uniqueness relies on constructing an auxiliary function and applying monotonicity arguments. This threshold condition, R 0 > 1 , precisely delineates the parameter regime where the virus can establish a sustained infection, thereby framing the subsequent stability analysis in Section 3.3. Let us start by defining the matrices F and V as follows: F = 0 0 ( 1 α ) β Λ u d u 0 0 α β Λ u d u 0 0 0 and V = ν + d l 0 0 ν d i 0 0 r v d v + η Λ B d B . Therefore, the spectral radius representing the basic reproduction number is the dominant eigenvalue, given by
R 0 = ρ ( F V 1 ) = Λ u r v β d B ( ν + d l α ) d i d u ( d v d B + η Λ B ) ( ν + d l ) .
Lemma 2. 
  • Dynamics (7)–(11) admits a trivial steady state denoted by E 0 = Λ u d u , 0 , 0 , 0 , Λ B d B .
  • If R 0 > 1 , then dynamics (7)–(11) admits an endemic steady state E * = ( X u * , X l * , X i * , X v * , X B * ) .
Proof. 
Steady states are obtained by setting all equations of dynamics (7)–(11) to zero:
0 = Λ u d u X u β X u X v , 0 = ( 1 α ) β X u X v ν X l d l X l , 0 = α β X u X v + ν X l d i X i , 0 = r v X i d v X v η X v X B , 0 = Λ B + ε X v X B d B X B .
We find that the given model (7)–(11) has two equilibria:
  • Infection-free equilibrium, E 0 = Λ u d u , 0 , 0 , 0 , Λ B d B .
  • Endemic equilibrium, E * = ( X u * , X l * , X i * , X v * , X B * ) , where
    X u * = ( ν + d l ) X l * ( 1 α ) β X v * , X l * = d i ( 1 α ) X i * ( ν + d l α ) , X i * = d v X v * + η X v * X B * r v , X B * = Λ B d B ε X v * ,
    where 0 < X v * < d B ε , which satisfies the following equation: a 1 X v 2 + a 2 X v + a 3 = 0 , where
    a 1 = d i d v β ε ( ν + d l ) , a 2 = d i d u d v ε ( ν + d l ) d i d v β d B ( ν + d l ) d i η Λ B β ( ν + d l ) Λ u r v β ε ( ν + d l α ) , a 3 = Λ u r v β d B ( ν + d l α ) d i d u d v d B ( ν + d l ) d i d u η Λ B ( ν + d l ) .
    We define the quadratic function Φ ( X v ) as Φ ( X v ) = a 1 X v 2 + a 2 X v + a 3 . Since a 1 = d i d v β ε ( ν + d l ) > 0 , Φ is a strictly convex function on R . Furthermore, we have
    Φ ( 0 ) = Λ u r v β d B ( ν + d l α ) d i d u d v d B ( ν + d l ) d i d u η Λ B ( ν + d l ) = d i d u ( ν + d l ) ( η Λ B + d v d B ) ( R 0 1 ) .
    Therefore, Φ ( 0 ) > 0 if R 0 > 1 as well as Φ d B ε < 0 . Since Φ is continuous on 0 , d B ε , the intermediate value theorem ensures the existence of at least one X v * 0 , d B ε such that Φ ( X v * ) = 0 . Since a 1 > 0 , the function Φ is strictly convex, and therefore, it can have at most two real roots. Moreover, its derivative is Φ ( X ) = 2 a 1 X + a 2 , which is strictly increasing on R .
    Assume, for contradiction, that Φ admits two distinct positive roots 0 < X 1 < X 2 . Then, by Rolle’s theorem, there exists c ( X 1 , X 2 ) such that
    Φ ( c ) = 0 .
    Since Φ is strictly increasing, it has exactly one zero, given by X min = a 2 2 a 1 . Thus, Φ decreases on ( , X min ) and increases on ( X min , + ) .
    Now, since Φ ( 0 ) > 0 and Φ d B ε < 0 , the function must be strictly decreasing at least on an interval starting from 0, which implies X min > 0 . Therefore, Φ is strictly decreasing on ( 0 , X min ) and strictly increasing on ( X min , + ) .
    This implies that Φ can cross the horizontal axis at most once in ( 0 , X min ) and at most once in ( X min , + ) . However, since Φ ( 0 ) > 0 and Φ d B ε < 0 , the sign change occurs before reaching the minimum point X min . Hence, the root lies in the strictly decreasing region ( 0 , X min ) . Consequently, Φ can admit only one root in the interval 0 , d B ε . Thus, there exists a unique X v * such that 0 < X v * < d B ε satisfies Φ ( X v * ) = 0 . As a result, we get X u * > 0 , X l * > 0 , X i * > 0 and X B * > 0 .

3.3. Global Stability Analysis of Equilibria

This subsection establishes the global asymptotic stability properties of the equilibria identified in Section 3.2, providing a complete qualitative picture of the system’s long-term dynamics for all possible initial conditions. We employ the method of Lyapunov functions, constructing suitable scalar energy-like functions for each equilibrium [35]. First, for the case R 0 1 , we prove that the infection-free equilibrium E 0 is globally asymptotically stable (GAS). This result implies that regardless of the initial viral load, the infection will be cleared from the host if the basic reproduction number is at or below unity. Conversely, when R 0 > 1 , we demonstrate that the unique endemic equilibrium E * is GAS. This means the system will converge to the chronic infection state for any non-trivial initial condition, confirming the epidemiological threshold established earlier. The proofs leverage the classical LaSalle’s Invariance Principle and careful algebraic manipulations to show the negativity of the Lyapunov derivatives. These global stability results confirm the threshold dynamics governed solely by R 0 , with no possibility of bistability or oscillatory persistence in the non-delayed model.
Define H as the nonnegative function H ( z ) = z 1 ln z that only vanishes at z = 1 .
Theorem 1. 
The trivial equilibrium point E 0 is globally asymptotically stable once R 0 1 .
Proof. 
The proof is based on the Lyapunov function F 0 ( X u , X l , X i , X v , X B ) given by
F 0 = Λ u d u H d u X u Λ u + ν ν + d l α X l + ν + d l ν + d l α X i + d i ( ν + d l ) r v ( ν + d l α ) X v + d i η ( ν + d l ) r v ε ( ν + d l α ) Λ B d B H d B X B Λ B .
and uses LaSalle’s Invariance Principle [36] to prove that E 0 is GAS if R 0 1 . More details are given in Appendix A.1. □
Theorem 2. 
The endemic equilibrium E * is GAS when R 0 > 1 .
Proof. 
The proof is based on the Lyapunov function F * ( X u , X l , X i , X v , X B ) given by
F * = X u * H X u X u * + ν ( ν + d l α ) X l * H X l X l * + ( ν + d l ) ( ν + d l α ) X i * H X i X i * + d i ( ν + d l ) r v ( ν + d l α ) X v * H X v X v * + d i η ( ν + d l ) r v ε ( ν + d l α ) X B * H X B X B * .
and by using LaSalle’s Invariance Principle [36] to prove that E * is GAS if R 0 > 1 . More details are given in Appendix A.2. □
In conclusion, Section 3 has provided a complete analytical framework for the within-host HIV model in the absence of distributed delays. We established the model’s well-posedness by proving the positivity and ultimate boundedness of solutions, confining the dynamics to a biologically relevant invariant region Γ . The critical threshold for infection persistence was precisely quantified through the basic reproduction number R 0 , derived via the next-generation matrix method. Our analysis demonstrated that the system exhibits a sharp threshold dynamic: when R 0 1 , the infection-free equilibrium E 0 is globally asymptotically stable, guaranteeing viral clearance, whereas when R 0 > 1 , a unique endemic equilibrium E * emerges and is globally asymptotically stable, leading to chronic infection. These results, proven using Lyapunov function techniques and LaSalle’s Invariance Principle, establish a solid foundation for understanding the basic interaction dynamics. The insights gained here form a crucial benchmark against which the more complex effects of distributed delays, analyzed in the subsequent section, can be evaluated.

4. Dynamics with Distributed Delays: Incorporating Realistic Time Lags

This section extends the analysis of the within-host HIV model by incorporating distributed time delays, which account for essential biological latencies in the infection process. The model (1)–(5) generalizes the ODE system (7)–(11) by introducing four distinct distributed delays: ω 1 and ω 2 for the time between viral entry and the emergence of latently and actively infected cells, respectively; ω 3 for the intracellular delay in virion production; and ω 4 for the delay in B-cell activation. These delays are modeled using general probability density functions ζ i ( τ ) , making the framework adaptable to various delay distributions (e.g., discrete, gamma-distributed). We begin by establishing the fundamental properties of the delay system, including the non-negativity and ultimate boundedness of solutions, and identify a positively invariant attracting region. Subsequently, we derive the corresponding basic reproduction number R 0 d , which incorporates the delay kernels through integral factors F i . We prove the existence of a unique endemic equilibrium when R 0 d > 1 . The core of this section is dedicated to proving the global asymptotic stability of both the infection-free equilibrium (for R 0 d 1 ) and the endemic equilibrium (for R 0 d > 1 ), employing suitably constructed Lyapunov functionals that explicitly account for the distributed delays. This analysis reveals how time lags quantitatively alter the threshold condition and system dynamics while preserving the qualitative threshold behavior established in the non-delayed case.

4.1. Basic Properties of the Delay System

This subsection establishes the fundamental mathematical properties of the distributed-delay HIV model given by system (1)–(5). Ensuring the biological plausibility and analytical tractability of the model requires proving that its solutions remain nonnegative at all times—reflecting the physical reality of cell and virus concentrations—and that they are ultimately bounded within a biologically feasible region. We demonstrate the nonnegativity of solutions using a recursive argument based on the form of the equations and the nonnegative initial conditions specified in (6). Subsequently, we prove the ultimate boundedness of all state variables by constructing appropriate auxiliary functions and deriving differential inequalities that yield explicit upper bounds. These bounds collectively define a compact, positively invariant set Γ in the nonnegative orthant R + 5 , which acts as a global attractor for the system’s trajectories. Establishing these basic properties—nonnegativity, boundedness, and the existence of an invariant region—forms the essential foundation for all subsequent equilibrium and stability analysis in the presence of distributed delays, guaranteeing that the model is well-posed and that its long-term dynamics are confined to a biologically meaningful domain.
Lemma 3. 
Solutions of model (1)–(5) with the initial states (6) are nonnegative and ultimately bounded. Furthermore, the set
Γ = ( X u , X l , X i , X v , X B ) C + 5 : X u Λ u d u , X l ( 1 α ) Λ u d u , X i α Λ u d u + ν ( 1 α ) Λ u d u 2 , X v r v α Λ u ζ d u + ν r v ( 1 α ) Λ u ζ d u 2 + η Λ B ε ζ , X B ε r v α Λ u η ζ d u + ε r v ν ( 1 α ) Λ u η ζ d u 2 + Λ B ζ
is positively invariant with respect to model (1)–(5).
Proof. 
Let us show the nonnegativity of solutions of model (1)–(5). Clearly, Equations (1) and (5) of model (1)–(5) give
X ˙ u | X u = 0 = Λ u > 0 , X ˙ B | X B = 0 = Λ B > 0 .
Hence, X u ( t ) > 0 and X B ( t ) > 0 for any t 0 . In addition, we have
X l ( t ) = ϕ 2 ( 0 ) e ( ν + d l ) t + ( 1 α ) β 0 t e ( ν + d l ) ( t θ ) 0 ω 1 Π 1 ( τ ) X u ( θ τ ) X v ( θ τ ) d τ d θ 0 , X i ( t ) = ϕ 3 ( 0 ) e d i t + 0 t e d i ( t θ ) α β 0 ω 2 Π 2 ( τ ) X u ( θ τ ) X v ( θ τ ) d τ + ν 0 ω 3 Π 3 ( τ ) X l ( θ τ ) d τ d θ 0 , X v ( t ) = ϕ 4 ( 0 ) e 0 t ( d v + η X B ( x ) ) d x + r v 0 t e θ t ( d v + η X B ( x ) ) d x 0 ω 4 Π 4 ( τ ) X i ( θ τ ) d τ d θ 0 ,
for any t [ 0 , τ * ] . Hence, by recursive argumentation, we obtain ( X l , X i , X v ) ( t ) 0 for any t 0 .
Let us prove the ultimate boundedness of solution ( X u , X l , X i , X v , X B ) . From Equation (1), we have lim sup t X u ( t ) Λ u d u . To prove the ultimate boundedness of X l ( t ) , we define
ψ 1 = ( 1 α ) 0 ω 1 Π 1 ( τ ) X u ( t τ ) d τ + X l .
Then, we get
ψ ˙ 1 = ( 1 α ) Λ u 0 ω 1 Π 1 ( τ ) d τ ( 1 α ) d u 0 ω 1 Π 1 ( τ ) X u ( t τ ) d τ ( ν + d l ) X l ( 1 α ) Λ u F 1 d u ( 1 α ) 0 ω 1 Π 1 ( τ ) X u ( t τ ) d τ + X l ( 1 α ) Λ u d u ψ 1 .
It follows that
lim sup t ψ 1 ( t ) ( 1 α ) Λ u d u ,
and then
lim sup t X l ( t ) ( 1 α ) Λ u d u .
Define
ψ 2 = α 0 ω 2 Π 2 ( τ ) X u ( t τ ) d τ + X i .
Then, we get
ψ ˙ 2 = α Λ u 0 ω 2 Π 2 ( τ ) d τ d u α 0 ω 2 Π 2 ( τ ) X u ( t τ ) d τ + ν 0 ω 3 Π 3 ( τ ) X l ( t τ ) d τ d i X i α Λ u F 2 + ν F 3 ( 1 α ) Λ u d u d u α 0 ω 2 Π 2 ( τ ) X u ( t τ ) d τ + X i α Λ u + ν ( 1 α ) Λ u d u d u ψ 2 .
It follows that
lim sup t ψ 2 ( t ) α Λ u d u + ν ( 1 α ) Λ u d u 2 ,
then
lim sup t X i ( t ) α Λ u d u + ν ( 1 α ) Λ u d u 2 .
Now, let us define
ψ 3 = X v + η ε X B .
Then, we obtain
ψ ˙ 3 = r v 0 ω 4 Π 4 ( τ ) X i ( t τ ) d τ d v X v η X v X B + η ε Λ B + ε X v X B d B X B = r v 0 ω 4 Π 4 ( τ ) X i ( t τ ) d τ d v X v + η Λ B ε η d B ε X B r v 0 ω 4 Π 4 ( τ ) X i ( t τ ) d τ + η Λ B ε d v X v η d B ε X B r v F 4 α Λ u d u + ν ( 1 α ) Λ u d u 2 + η Λ B ε ζ X v + η ε X B r v α Λ u d u + r v ν ( 1 α ) Λ u d u 2 + η Λ B ε ζ ψ 3 ,
where ζ = min { d v , d B } . It follows that
lim sup t ψ 3 ( t ) r v ζ α Λ u d u + ν r v ζ ( 1 α ) Λ u d u 2 + η Λ B ε ζ ,
and thus,
lim sup t X v ( t ) r v ζ α Λ u d u + ν r v ζ ( 1 α ) Λ u d u 2 + η Λ B ε ζ
and
lim sup t X B ( t ) ε η r v ζ α Λ u d u + ν ε η r v ζ ( 1 α ) Λ u d u 2 + Λ B ζ .

4.2. Equilibria and Thresholds

This subsection establishes the existence and uniqueness of equilibrium points for the distributed-delay HIV model (1)–(5) and derives the corresponding basic reproduction number R 0 d . The analysis proceeds by setting the time derivatives in system (1)–(5) to zero and solving the resulting algebraic equations. Two distinct steady states are identified: the infection-free equilibrium E 0 d , which always exists and represents the complete absence of the virus, and an endemic equilibrium E * d , which exists if and only if the basic reproduction number exceeds unity. The threshold R 0 d is derived via the next-generation matrix method [34] applied to the linearized system at the infection-free state. Crucially, R 0 d incorporates the distributed-delay kernels through the integral factors F i = 0 ω i ζ i ( τ ) e n i τ d τ , which quantify the net effect of the time lags on viral transmission and progression. This generalized reproduction number reduces to the non-delay counterpart R 0 when all delays vanish ( F i = 1 ). The existence proof for the endemic equilibrium employs an auxiliary function and monotonicity arguments, demonstrating a unique biologically feasible chronic-infection state when R 0 d > 1 . These results extend the threshold analysis of Section 3 to the more realistic setting with distributed delays, confirming that the qualitative threshold dynamics—characterized by a transcritical bifurcation at R 0 d = 1 —are preserved despite the incorporation of biological latencies [37].
We proceed by calculating the delayed reproduction number R 0 d by deriving it from the linearization of the distributed-delay system around the disease-free equilibrium (DFE), and by showing how the delay kernels lead naturally to the appearance of the factors F i [34,38].
From the model (1)–(5), the disease-free equilibrium is
E 0 d = Λ u d u , 0 , 0 , 0 , Λ B d B .
Let us define the infected variables vector
x ( t ) = X l ( t ) X i ( t ) X v ( t ) .
The dynamics of x ( t ) is obtained from (2)–(4). Linearizing around E 0 d (i.e., replacing X u ( t ) and X B ( t ) by their DFE values), we obtain
X ˙ l ( t ) = ( 1 α ) β Λ u d u 0 ω 1 Π 1 ( τ ) X v ( t τ ) d τ ( ν + d l ) X l ( t ) , X ˙ i ( t ) = α β Λ u d u 0 ω 2 Π 2 ( τ ) X v ( t τ ) d τ + ν 0 ω 3 Π 3 ( τ ) X l ( t τ ) d τ d i X i ( t ) , X ˙ v ( t ) = r v 0 ω 4 Π 4 ( τ ) X i ( t τ ) d τ d v + η Λ B d B X v ( t ) .
The above system is a linear system with distributed delays of convolution type. It can be written abstractly as
x ˙ ( t ) = F ( x t ) V ( x ( t ) ) ,
where F contains the new infection terms (with delays), and V contains transition and removal terms.
Crucially, the delay terms represent the probability that an individual survives the delay period and contributes to infection at time t. Indeed, each kernel has the form
Π i ( τ ) = ζ i ( τ ) e n i τ ,
so that Π i ( τ ) d τ is the probability density that the transition occurs after a delay τ with survival.
To compute the basic reproduction number, we consider exponential solutions of the form e λ t . Substituting X j ( t τ ) = e λ τ X j ( t ) , the delay integrals become Laplace transforms:
0 ω i Π i ( τ ) e λ τ d τ .
At the threshold ( λ = 0 ), these reduce to
F i = 0 ω i Π i ( τ ) d τ .
Thus, at the invasion threshold, each delayed transition contributes a factor F i , which represents the expected survival through the delay period.
Using the above reduction, the linearized system becomes equivalent (at threshold) to the following ODE system:
x ˙ = ( F d V d ) x ,
where
F d = 0 0 ( 1 α ) β Λ u d u F 1 0 0 α β Λ u d u F 2 0 0 0 , V d = ν + d l 0 0 ν F 3 d i 0 0 r v F 4 d v + η Λ B d B .
Here,
  • F d collects new infection terms,
  • V d describes transitions and removals (including delayed transitions weighted by F i ).
The delayed basic reproduction number is defined as the spectral radius of the next-generation matrix:
R 0 d = ρ ( F d V d 1 ) .
After explicit computation, this yields
R 0 d = Λ u r v β d B F 4 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) d i d u ( d v d B + η Λ B ) ( ν + d l ) .
Each factor F i arises rigorously from the Laplace transform of the delay kernel evaluated at λ = 0 and represents the probability that an individual:
  • Survives the delay,
  • Successfully contributes to the next infection stage.
Thus, the distributed-delay system induces a natural modification of the next-generation matrix, where each infection pathway is weighted by the corresponding survival probability through delays.
The Lemma 4 systematically analyzes the resulting algebraic system, distinguishing between the infection-free and endemic cases. We demonstrate that a unique endemic equilibrium emerges if and only if the delay-dependent reproduction number R 0 d exceeds unity, mirroring the threshold behavior observed in the non-delayed case.
Lemma 4. 
  • Dynamics (1)–(5) admits an infection-free equilibrium E 0 d = Λ u d u , 0 , 0 , 0 , Λ B d B .
  • If R 0 d > 1 , then dynamics (1)–(5) admits a unique endemic equilibrium E * d = X u * , X l * , X i * , X v * , X B * .
Proof. 
Note that for an equilibrium, all time derivatives are zero and state variables are constant. Substituting constants X u , X l , X i , X v , X B into the integral terms gives:
0 ω i Π i ( τ ) X ( t τ ) d τ = X 0 ω i Π i ( τ ) d τ = X F i ,
which holds because X ( t τ ) = X (constant). Thus the equilibrium equations become algebraic and the factors F i appear naturally.
The existence of equilibria for the distributed-delay system is established by solving the steady-state equations derived from setting the time derivatives in (1)–(5) to zero.
0 = Λ u d u X u β X u X v , 0 = ( 1 α ) F 1 β X u X v ν X l d l X l , 0 = α F 2 β X u X v + ν F 3 X l d i X i , 0 = r v F 4 X i d v X v η X v X B , 0 = Λ B + ε X v X B d B X B .
We find that the given model (1)–(5) admits two equilibria:
  • Infection-free equilibrium, E 0 d = Λ u d u , 0 , 0 , 0 , Λ B d B .
  • An endemic equilibrium, E d * = X u * , X l * , X i * , X v * , X B * , where
    X u * = ( ν + d l ) X l * ( 1 α ) F 1 β X v * , X l * = d i F 1 ( 1 α ) X i * α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) , X i * = d v X v * + η X v * X B * r v F 4 , X B * = Λ B d B ε X v * .
    where X v * satisfies the following equation:
    b 2 X v 2 + b 1 X v + b 0 d B ε X v = 0 , X v 0 , d B ε ,
    where
    b 2 = d i d v β ε ( ν + d l ) , b 1 = d i d u d v ε ( ν + d l ) d i d v β d B ( ν + d l ) d i η Λ B β ( ν + d l ) Λ u r v β ε F 4 ( α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) ) , b 0 = Λ u r v β d B F 4 ( α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) ) d i d u d v d B ( ν + d l ) d i d u η Λ B ( ν + d l ) .
    Let us define a function G ( X v ) as G ( X v ) = b 2 X v 2 + b 1 X v + b 0 , X v 0 , d B ε . Function G ( X v ) is continuous on X v 0 , d B ε . Then, we have
    G ( 0 ) = d i d u ( ν + d l ) ( η Λ B + d v d B ) ( R 0 d 1 ) > 0 , if R 0 d > 1 ,
    and G d B ε < 0 . Similarly to the proof of Lemma 2, G ( 0 ) > 0 if R 0 d > 1 as well as G d B ε < 0 . Since G is continuous on 0 , d B ε , the intermediate value theorem ensures the existence of at least one X v * 0 , d B ε such that G ( X v * ) = 0 .
    Since a 1 > 0 , the function G is strictly convex, and therefore it can have at most two real roots. Moreover, its derivative is G ( X ) = 2 a 1 X + a 2 , which is strictly increasing on R .
    Assume, for contradiction, that Φ admits two distinct positive roots 0 < X 1 < X 2 . Then, by Rolle’s theorem, there exists c ( X 1 , X 2 ) such that G ( c ) = 0 . Since G is strictly increasing, it has exactly one zero, given by X min = a 2 2 a 1 . Thus, G decreases on ( , X min ) and increases on ( X min , + ) .
    Now, since G ( 0 ) > 0 and G d B ε < 0 , the function must be strictly decreasing at least on an interval starting from 0, which implies X min > 0 . Therefore, G is strictly decreasing on ( 0 , X min ) and strictly increasing on ( X min , + ) . This implies that G can cross the horizontal axis at most once in ( 0 , X min ) and at most once in ( X min , + ) . However, since
    G ( 0 ) > 0 and G d B ε < 0 ,
    the sign change occurs before reaching the minimum point X min . Hence, the root lies in the strictly decreasing region ( 0 , X min ) . Consequently, G can admit only one root in the interval 0 , d B ε . Thus, there exists a unique X v * such that 0 < X v * < d B ε satisfies G ( X v * ) = 0 . As a result, we get X u * > 0 , X l * > 0 , X i * > 0 and X B * > 0 . This provides the existence and uniqueness of the endemic equilibrium E * d once R 0 d > 1 .

4.3. Global Stability

This subsection is devoted to establishing the global asymptotic stability properties of the equilibria for the distributed-delay HIV model (1)–(5). We construct explicit Lyapunov functionals that incorporate integral terms to account for the distributed delays, thereby extending the Lyapunov function techniques [32] used in the non-delayed case. For the infection-free equilibrium E 0 d , we prove that it is globally asymptotically stable (GAS) whenever R 0 d 1 , implying that the infection will be cleared from the host regardless of the initial viral load if the basic reproduction number is at or below the critical threshold. Conversely, when R 0 d > 1 , we demonstrate that the unique endemic equilibrium E * d is GAS, ensuring convergence to a chronic infection state for all positive initial conditions. The proofs rely on the construction of carefully chosen Lyapunov functionals that include memory terms capturing the delay history, and the application of LaSalle’s Invariance Principle [32] for delay systems. These results confirm that the qualitative threshold behavior—where the dynamics are governed solely by R 0 d —persists even in the presence of distributed delays, with no emergence of bistability or sustained oscillations. The analysis thus provides a foundation for understanding how biological latencies influence the long-term fate of the infection without altering the fundamental eradication-persistence dichotomy.
Let us define the number K = α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) . Note that R 0 d = Λ u r v β d B F 4 K d i d u ( d v d B + η Λ B ) ( ν + d l ) .
Theorem 3. 
The system (1)–(5) is globally asymptotically stable (GAS) around the infection-free equilibrium E 0 d if R 0 d 1 .
Proof. 
The proof is based on the Lyapunov function F 0 d ( X u , X l , X i , X v , X B ) given by
F 0 d = K Λ u d u H d u X u Λ u + ν F 3 X l + ( ν + d l ) X i + d i ( ν + d l ) r v F 4 X v + d i η ( ν + d l ) r v ε F 4 Λ B d B H d B X B Λ B + ν β ( 1 α ) F 3 0 ω 1 Π 1 ( τ ) t τ t X u ( θ ) X v ( θ ) d θ d τ + α β ( ν + d l ) 0 ω 2 Π 2 ( τ ) t τ t X u ( θ ) X v ( θ ) d θ d τ + ν ( ν + d l ) 0 ω 3 Π 3 ( τ ) t τ t X l ( θ ) d θ d τ + d i ( ν + d l ) F 4 0 ω 4 Π 4 ( τ ) t τ t X i ( θ ) d θ d τ .
and by using the Lyapunov–LaSalle asymptotic stability theorem [32] to prove that E 0 d is GAS if R 0 d 1 . More details are given in Appendix B.1. □
Theorem 4. 
The system (1)–(5) is GAS around the endemic equilibrium E d * once R 0 d > 1 .
Proof. 
The proof is based on the Lyapunov function F d * ( X u , X l , X i , X v , X B ) given by
F d * = K X u * H X u X u * + ν F 3 X l * H X l X l * + ( ν + d l ) X i * H X i X i * + d i ( ν + d l ) r v F 4 X v * H X v X v * + d i η ( ν + d l ) r v ε F 4 X B * H X B X B * + ν β ( 1 α ) F 3 X u * X v * 0 ω 1 Π 1 ( τ ) t τ t H X u ( θ ) X v ( θ ) X u * X v * d θ d τ + α β ( ν + d l ) X u * X v * 0 ω 2 Π 2 ( τ ) t τ t H X u ( θ ) X v ( θ ) X u * X v * d θ d τ + ν ( ν + d l ) X l * 0 ω 3 Π 3 ( τ ) t τ t H X l ( θ ) X l * d θ d τ + d i ( ν + d l ) F 4 X i * 0 ω 4 Π 4 ( τ ) t τ t H X i ( θ ) X i * d θ d τ .
and by using the Lyapunov–LaSalle asymptotic stability theorem [32] to prove that E d * is GAS if R 0 d > 1 . More details are given in Appendix B.2. □
In conclusion, Section 4 has successfully extended the analytical framework of the within-host HIV model to incorporate distributed time delays, reflecting essential biological latencies in infection and immune response processes. We established the well-posedness of the delay system by proving the non-negativity and ultimate boundedness of solutions, confining the dynamics to a biologically meaningful invariant region. The generalized basic reproduction number R 0 d was derived, explicitly incorporating delay kernels through integral factors F i , and shown to govern a sharp threshold for infection persistence. Using carefully constructed Lyapunov functionals that account for the delay history, we proved the global asymptotic stability of the infection-free equilibrium when R 0 d 1 and of the endemic equilibrium when R 0 d > 1 . These results demonstrate that although distributed delays quantitatively alter the threshold condition and system dynamics—by reducing R 0 d through the factors F i 1 —they do not change the fundamental qualitative behavior: the system still exhibits a transcritical bifurcation at R 0 d = 1 , with no introduction of bistability or persistent oscillations. This analysis provides a robust theoretical foundation for understanding the impact of biological time lags on HIV dynamics and sets the stage for the numerical exploration of sensitivity, treatment effects, and delay-induced critical thresholds in Section 5.

5. Numerical Results and Discussion

This section presents a numerical investigation of the distributed-delay HIV model to illustrate the analytical results derived in previous sections and to explore the quantitative impact of key biological and pharmacological factors. We begin by specifying the delay structure, choosing the Dirac delta function δ ( τ τ i ) as a particular probability density, which reduces the general distributed-delay system to a discrete-delay model as the one given in [28] with fixed delays τ i and survival probabilities e n i τ i . Using a biologically plausible set of parameter values (Table 3), we perform numerical simulations to validate the stability theorems: first, by selecting parameters such that R 0 d < 1 and demonstrating convergence to the infection-free equilibrium E 0 d ; and second, by increasing infection rates to achieve R 0 d > 1 and showing convergence to the endemic equilibrium E * d . We then conduct a detailed sensitivity analysis of R 0 d , deriving and computing normalized sensitivity indices to rank parameters by their influence on the basic reproduction number. This analysis identifies the most effective targets for intervention. Furthermore, we examine the dynamics under antiretroviral treatment by incorporating an efficacy parameter κ , deriving the treatment-dependent reproduction number R 0 treatment ( κ ) and determining the critical drug efficacy κ cr required for viral eradication. Finally, we investigate the specific impact of the intracellular production delay τ 4 on the threshold condition, computing the critical delay τ 4 cr that suppresses the infection. Together, these numerical explorations bridge the theoretical analysis with practical insights, highlighting how delays, treatment, and parameter variations shape the within-host dynamics of HIV.
By choosing the Dirac delta function δ ( · ) as a specific form of the probability distribution, we define ζ i ( τ ) = δ ( τ τ i ) , i = 1 , , 4 . In case ω i = , i = 1 , , 4 , we get 0 ζ i ( τ ) d τ = 1 , and F i = 0 δ ( τ τ i ) e η i τ d τ = e η i τ i , i = 1 , , 4 . Then,
0 δ ( τ τ 1 ) e n 1 τ X u ( t τ ) X v ( t τ ) d τ = e n 1 τ 1 X u ( t τ 1 ) X v ( t τ 1 ) , 0 δ ( τ τ 2 ) e n 2 τ X u ( t τ ) X v ( t τ ) d τ = e n 2 τ 2 X u ( t τ 2 ) X v ( t τ 2 ) , 0 δ ( τ τ 3 ) e n 3 τ X l ( t τ ) d τ = e n 3 τ 3 X l ( t τ 3 ) , 0 δ ( τ τ 4 ) e n 4 τ X i ( t τ ) d τ = e n 4 τ 4 X i ( t τ 4 ) .
Hence, model (1)–(5) can be written as
X ˙ u ( t ) = Λ u d u X u ( t ) β X u ( t ) X v ( t ) , X ˙ l ( t ) = ( 1 α ) β e n 1 τ 1 X u ( t τ 1 ) X v ( t τ 1 ) ( ν + d l ) X l ( t ) , X ˙ i ( t ) = α β e n 2 τ 2 X u ( t τ 2 ) X v ( t τ 2 ) + ν e n 3 τ 3 X l ( t τ 3 ) d i X i ( t ) , X ˙ v ( t ) = r v e n 4 τ 4 X i ( t τ 4 ) d v X v ( t ) η X v ( t ) X B ( t ) , X ˙ B ( t ) = Λ B + ε X v ( t ) X B ( t ) d B X B ( t ) ,
for all t > 0 where the initial values are picked as constants functions on [ τ * , 0 ] . For simplicity, in all numerical simulations, we choose the delay parameters as τ 1 = τ 2 = τ 3 = τ 4 = 0.1 .
The basic reproduction number of model (12) is given by:
R 0 d = Λ u r v β d B α e n 2 τ 2 ( ν + d l ) + e ( n 1 τ 1 + n 3 τ 3 ) ν ( 1 α ) e n 4 τ 4 d u d i ( d v d B + η Λ B ) ( ν + d l ) .

5.1. Validation of Global Stability

This subsection provides numerical validation of the global stability theorems established in Section 3 and Section 4 by simulating the dynamics of the discrete-delay HIV model given by system (12). Using the baseline parameter values from Table 3 with τ 1 = τ 2 = τ 3 = τ 4 = 0.1 , we select two distinct incidence rates ( β ) to illustrate the threshold behavior governed by the basic reproduction number R 0 d . Note that our aim is qualitative validation of analytical stability results, not quantitative clinical prediction; nonetheless, the parameters lie within physiologically plausible ranges.
First, with infection rate β = 0.0002 , we obtain R 0 d = 0.47 < 1 , confirming that the infection-free equilibrium E 0 d is globally asymptotically stable (GAS). Simulations of all compartment trajectories, uninfected CD4+ T cells, latently infected cells, actively infected cells, free virions, and B cells demonstrate clear convergence to E 0 d = Λ u d u , 0 , 0 , 0 , Λ B d B , as shown in Figure 2. Second, by increasing the infection rate to β = 0.0008 , we obtain R 0 d = 1.89 > 1 , which ensures the existence and global stability of the unique endemic equilibrium E * d . Corresponding simulations (Figure 3) show convergence of all state variables to positive steady-state values, illustrating the establishment of a chronic infection. These numerical results not only corroborate the analytical stability proofs but also visually demonstrate the sharp threshold dynamics: the system transitions from viral clearance to persistent infection precisely as R 0 d crosses unity. The simulations were performed using standard delay differential equation solvers with biologically consistent initial conditions, further confirming the model’s robustness and the practical relevance of the theoretical threshold.
Figure 2 demonstrates convergence of all compartment trajectories to E 0 d = Λ u d u , 0 , 0 , 0 , Λ B d B . This confirms the theoretical result that when R 0 d 1 , the infection is cleared and the system returns to a healthy state regardless of initial viral load. Figure 3 shows trajectories converging to positive steady-state values, illustrating the establishment of a chronic infection. It validates the analytical prediction that a unique endemic equilibrium exists and is globally stable when R 0 d > 1 .
Figure 2. Time series of the model variables for different constant history values (see Table 2). Each color corresponds to one set of initial history values listed in Table 4. For β = 0.0002 , we get R 0 d = 0.47 < 1 , therefore, E 0 d is GAS.
Figure 2. Time series of the model variables for different constant history values (see Table 2). Each color corresponds to one set of initial history values listed in Table 4. For β = 0.0002 , we get R 0 d = 0.47 < 1 , therefore, E 0 d is GAS.
Mathematics 14 01675 g002
Figure 3. Time series of the model variables for different constant history values (see Table 3). Each color corresponds to one set of initial history values listed in Table 5. For β = 0.0008 , we get R 0 d = 1.89 > 1 ; therefore, E * d is GAS.
Figure 3. Time series of the model variables for different constant history values (see Table 3). Each color corresponds to one set of initial history values listed in Table 5. For β = 0.0008 , we get R 0 d = 1.89 > 1 ; therefore, E * d is GAS.
Mathematics 14 01675 g003

5.2. Sensitivity Analysis of R 0 D

To quantify how variations in individual model parameters influence the basic reproduction number R 0 d , we perform a normalized forward sensitivity analysis [48,49]. The normalized sensitivity index (or elasticity) of R 0 d with respect to a parameter p is defined as S p = p R 0 d · R 0 d p .
The analytical expression for R 0 d is R 0 d = Λ u r v β d B F 4 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) d i d u ( d v d B + η Λ B ) ( ν + d l ) , where the delay factors are given by F i = 0 ω i ζ i ( τ ) e n i τ d τ . The partial derivatives of R 0 d with respect to each parameter are computed, and the corresponding sensitivity indices are as follows:
  • Parameters appearing linearly in the numerator:
    S Λ u = 1 , S r v = 1 , S β = 1 .
  • Parameters appearing linearly in the denominator:
    S d u = 1 , S d i = 1 , S d v = d v d B d v d B + η Λ B , S d B = d B η Λ B d v d B + η Λ B , S η = η Λ B d v d B + η Λ B , S Λ B = η Λ B d v d B + η Λ B .
  • Parameters in the activation term:
    S ν = ν ν + d l F 1 F 3 ( 1 α ) α F 2 + F 1 F 3 ν ( 1 α ) ν + d l d l ν + d l , S d l = d l ν + d l 1 + ν ( 1 α ) F 1 F 3 α F 2 ( ν + d l ) + ν ( 1 α ) F 1 F 3 .
  • Parameters in the delay factors F i :
    S n 1 = F 1 F 3 ν ( 1 α ) n 1 τ 1 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) , S τ 1 = F 1 F 3 ν ( 1 α ) n 1 τ 1 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) , S n 2 = α F 2 ( ν + d l ) n 2 τ 2 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) , S τ 2 = α F 2 ( ν + d l ) n 2 τ 2 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) , S n 3 = F 1 F 3 ν ( 1 α ) n 3 τ 3 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) , S τ 3 = F 1 F 3 ν ( 1 α ) n 3 τ 3 α F 2 ( ν + d l ) + F 1 F 3 ν ( 1 α ) , S n 4 = n 4 τ 4 , S τ 4 = n 4 τ 4 .

Numerical Sensitivity Ranking

Using the baseline parameter values from Table 3 with τ 1 = τ 2 = τ 3 = τ 4 = 0.1 , the computed sensitivity indices are as shown below in Figure 4 and Table 6.
The bar chart in Figure 4 displays normalized sensitivity indices ( S p ) for each parameter, quantifying their relative influence on R 0 d . Positive values (e.g., Λ u , r v , β , ν ) indicate that increasing the parameter raises R 0 d , while negative values (e.g., d i , d u , Λ B , η , d l , delay-related parameters) signify a reducing effect. This visualization helps identify priority targets for intervention.

5.3. Treatment Effects

Drugs such as zidovudine (AZT), tenofovir, and emtricitabine inhibit the reverse transcription of viral RNA into DNA, thereby blocking new infections. In our model, this is represented by reducing the infection rate β by a factor ( 1 κ ) , where κ [ 0 , 1 ] represents drug efficacy:
β eff = ( 1 κ ) β .
Clinical studies by Deeks et al. [50] report that RTIs typically achieve 70–90% inhibition of viral replication when used as monotherapy, and 90–95% when combined with other agents. The efficacy parameter κ can be interpreted as the fraction of reverse transcription events that are successfully blocked.
The corresponding basic reproduction number under treatment, R 0 treatment ( κ ) = ( 1 κ ) R 0 d , decreases linearly with increasing drug efficacy, directly linking pharmacological intervention to the infection threshold. We derive the critical drug efficacy κ cr = 1 1 / R 0 d , which represents the minimum treatment effectiveness required to reduce R 0 treatment ( κ ) below unity and ensure viral eradication. Using numerical simulations, we explore how varying κ influences the system’s long-term behavior. Table 7 summarizes the values of R 0 treatment ( κ ) for different efficacies, illustrating the transition from endemic persistence ( κ < κ cr ) to infection clearance ( κ κ cr ). Figure 5 visually demonstrates this transition by plotting compartment trajectories for representative κ values, showing how effective treatment suppresses viral load and enables immune recovery. These results highlight the critical role of treatment adherence and efficacy in achieving undetectable viral loads and provide a quantitative framework for assessing the necessary intervention intensity to shift the system from chronic infection to a disease-free state.
The model in the presence of treatment with an efficacy parameter κ [ 0 , 1 ] is given as follows:
X ˙ u ( t ) = Λ u d u X u ( t ) ( 1 κ ) β X u ( t ) X v ( t ) , X ˙ l ( t ) = ( 1 α ) ( 1 κ ) β e n 1 τ 1 X u ( t τ 1 ) X v ( t τ 1 ) ( ν + d l ) X l ( t ) , X ˙ i ( t ) = α ( 1 κ ) β e n 2 τ 2 X u ( t τ 2 ) X v ( t τ 2 ) + ν e n 3 τ 3 X l ( t τ 3 ) d i X i ( t ) , X ˙ v ( t ) = r v e n 4 τ 4 X i ( t τ 4 ) d v X v ( t ) η X v ( t ) X B ( t ) , X ˙ B ( t ) = Λ B + ε X v ( t ) X B ( t ) d B X B ( t ) ,
for all t > 0 where the initial values are picked as constant functions on [ τ * , 0 ] .
The basic reproduction number in the presence of treatment can be expressed as follows: R 0 treatment ( κ ) = ( 1 κ ) R 0 d R 0 d . The critical drug efficacy necessary for viral eradication is obtained by solving the following inequalities: κ cr = 1 1 R 0 d ensuring R 0 treatment ( κ ) 1 for all κ κ cr .
By using the baseline parameter values from Table 3 and fixing the parameters β = 0.001 and τ 1 = τ 2 = τ 3 = τ 4 = 0.01 , and varying κ , we study the impact of drug efficacy, κ , on the stability of E 0 d . The approximated critical value of κ cr is given by κ cr 0.6734 . If κ cr 0.6734 , then R 0 d ( κ ) 1 , and the global stability of E 0 d . However, if κ cr < 0.6734 , R 0 d ( κ ) exceeds 1, destabilizing E 0 d .
The plots in Figure 5 illustrate how varying levels of antiretroviral therapy affect viral load and immune cell populations. As κ increases, R 0 treatment ( κ ) decreases, leading to suppression of the virus and eventual convergence to the infection-free state when κ κ cr = 0.6734 .

5.4. Delay Impact

This subsection examines the specific influence of the intracellular production delay τ 4 , representing the time between active infection and virion release, on the infection threshold and long-term dynamics. The basic reproduction number R 0 d depends exponentially on τ 4 via the factor e n 4 τ 4 , making this delay a critical modulator of infection persistence. We derive an explicit expression for the critical delay τ 4 cr by solving R 0 d ( τ 4 ) = 1 , yielding
τ 4 cr = max 0 , 1 n 4 ln Λ u r v β d B α e n 2 τ 2 ( ν + d l ) + e n 1 τ 1 n 3 τ 3 ν ( 1 α ) d i d u ( d v d B + η Λ B ) ( ν + d l ) .
If τ 4 τ 4 cr , then R 0 d 1 and the infection-free equilibrium is globally stable; conversely, if τ 4 < τ 4 cr , the endemic equilibrium prevails. Using baseline parameters, we compute τ 4 cr 1.1289 days. Figure 6 illustrates the effect of varying τ 4 on system trajectories, showing how increasing τ 4 progressively suppresses viral load and can eventually lead to infection clearance. This analysis underscores the potential role of delay-inducing therapeutic strategies, such as drugs that prolong the intracellular viral maturation phase, in pushing R 0 d below the critical threshold. It also highlights the sensitivity of the infection outcome to variations in this biological latency, providing insight into how natural or induced delays can fundamentally alter the course of HIV infection.
R 0 d ( τ 4 ) = e n 4 τ 4 Λ u r v β d B α e n 2 τ 2 ( ν + d l ) + e n 1 τ 1 n 3 τ 3 ν ( 1 α ) d i d u ( d v d B + η Λ B ) ( ν + d l ) .
To guarantee that R 0 d ( τ 4 ) 1 , we compute the critical values τ 4 cr as
τ 4 cr = max 0 , 1 n 4 ln Λ u r v β d B α e n 2 τ 2 ( ν + d l ) + e n 1 τ 1 n 3 τ 3 ν ( 1 α ) d i d u ( d v d B + η Λ B ) ( ν + d l ) .
By using the baseline parameter values from Table 3, fixing the parameters β = 0.001 and τ 1 = τ 2 = τ 3 = 0.01 , and varying τ 4 , we study the impact of the time delay, τ 4 , on the stability of E 0 d . The approximated critical value of τ 4 cr is given by τ 4 cr 1.1289 . If τ 4 cr 1.1289 , then R 0 d ( τ 4 ) 1 , and the global stability of E 0 d . However, if τ 4 cr < 1.1289 , R 0 d ( τ 4 ) exceeds 1, destabilizing E 0 d .
Figure 6 and Table 8 show how increasing the intracellular production delay τ 4 reduces viral load and can shift the system from an endemic to an infection-free state when τ 4 τ 4 cr . This highlights the potential therapeutic benefit of prolonging viral maturation.

6. Conclusions

This paper presented a mathematical analysis of a within-host HIV infection model incorporating latent reservoirs, distributed time delays, and a B-cell-mediated immune response. The model, formulated as a system of nonlinear delay differential equations, captures essential biological features: time lags between viral entry and infected cell emergence, latent cell reactivation, intracellular viral production, and B-cell proliferation in response to viral stimulation.
The study established well-posedness by proving non-negativity and boundedness of solutions, identifying a positively invariant region. For the non-delayed system, the basic reproduction number R 0 was derived, and a sharp threshold dynamic was proved using Lyapunov functions and LaSalle’s Invariance Principle: the infection-free equilibrium is globally asymptotically stable (GAS) when R 0 1 , while a unique endemic equilibrium is GAS when R 0 > 1 . These results were extended to the distributed-delay system, yielding a generalized reproduction number R 0 d incorporating delay kernel integrals F i . The same threshold behavior persists: the infection-free equilibrium is GAS when R 0 d 1 , and the endemic equilibrium is GAS when R 0 d > 1 , confirming that distributed delays quantitatively alter the threshold but do not introduce bistability or sustained oscillations.
Numerical simulations validated the analytical results. Sensitivity analysis identified the most influential parameters for intervention, including viral production rate r v , recruitment rates Λ u and Λ B , infection rate β , neutralization rate η , and death rates d u and d i . Treatment effects were explored, showing that drug efficacy κ linearly reduces R 0 d , with critical efficacy κ cr derived for viral eradication. The intracellular delay τ 4 was shown to act as a critical threshold, where increasing τ 4 can suppress R 0 d below unity, highlighting potential delay-inducing therapeutic strategies.
The model has several limitations: linear incidence terms (may not capture all virus–cell and immune nonlinearities); absence of spatial heterogeneity, drug resistance mutations, and CTL dynamics; the need for precise biological forms of delay kernels; and inter-patient variability affecting quantitative generalizability. The B-cell proliferation term assumes purely stimulatory effects without incorporating potential HIV-induced B-cell impairment or exhaustion, representing a baseline scenario for future extension once more detailed biological data become available.
Several future directions emerge: first, incorporating drug-specific mechanisms (reverse transcriptase inhibitors, protease inhibitors) and pharmacokinetics would improve representation of combination ART; second, extending the model to include CTL responses and viral mutation dynamics would allow study of immune escape and long-term treatment failure; third, connecting within-host to between-host transmission dynamics could bridge individual-level pathogenesis to population-level epidemiology; fourth, validating the model with longitudinal clinical data would enable patient-specific parameter estimation; fifth, exploring optimal control strategies based on sensitivity analysis could inform personalized treatment schedules, minimizing viral load while limiting toxicity and resistance; sixth, determining whether the global stability results extend to saturated (Holling type II) or other nonlinear incidence functions—numerical simulations suggest persistence of threshold behavior, but rigorous Lyapunov construction is non-trivial. Seventh, the distributed-delay formulation connects naturally to survival analysis frameworks: delay kernels Π i ( τ ) = ζ i ( τ ) e n i τ can be interpreted as survival-weighted probability densities, and factors F i correspond to cumulative survival probabilities. This opens the door to estimating delay parameters from clinical survival data using inverse Gaussian or other parametric survival models [51,52], with future work combining survival analysis with DDEs. Eighth, while the present analysis proves global stability for positive kernels, bifurcation phenomena may arise under alternative assumptions; a systematic bifurcation analysis is deferred to future work, investigating saturated incidence, gamma-distributed delays, oscillatory kernels, and numerical bifurcation continuation to map stability regions and possible periodic solutions.
In summary, this work provides a mathematical framework for understanding the roles of latency, distributed delays, and immune response in HIV dynamics, underscoring threshold-based approaches for predicting infection outcomes and identifying therapeutic avenues.

Author Contributions

Conceptualization, F.K.A., M.I.A., M.H.A. and M.E.H.; methodology, F.K.A., M.I.A., M.H.A. and M.E.H.; software, F.K.A., M.I.A., M.H.A. and M.E.H.; investigation, F.K.A., M.I.A., M.H.A. and M.E.H.; visualization, F.K.A., M.I.A., M.H.A. and M.E.H.; writing—original draft, F.K.A., M.I.A., M.H.A. and M.E.H.; writing—review and editing, F.K.A., M.I.A., M.H.A. and M.E.H. All authors have read and agreed to the published version of the manuscript.

Funding

This work was funded by the Deanship of Graduate Studies and Scientific Research at Najran University for funding this work under the Najran Research Funding Program, grant code (NU/CPL/SERC/14/2821-1).

Data Availability Statement

The original contributions presented in the study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The authors are thankful to the Deanship of Graduate Studies and Scientific Research at Najran University for funding this work under the Consortium Funding Program grant code (NU/CPL/SERC/14/2821-1). The authors are also grateful to the unknown referees for the many constructive suggestions, which helped to improve the presentation of the paper.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A. Proof of Theorems 1 and 2

Appendix A.1. Proof of Theorem 1

Proof of Theorem 1. 
Assume that R 0 1 , and define the Lyapunov function F 0 ( X u , X l , X i , X v , X B ) as
F 0 = Λ u d u H d u X u Λ u + ν ν + d l α X l + ν + d l ν + d l α X i + d i ( ν + d l ) r v ( ν + d l α ) X v + d i η ( ν + d l ) r v ε ( ν + d l α ) Λ B d B H d B X B Λ B .
Clearly, F 0 ( X u , X l , X i , X v , X B ) > 0 for any X u , X l , X i , X v , X B > 0 , and F 0 ( Λ u d u , 0 , 0 , 0 , Λ B d B ) = 0 . Calculate d F 0 d t along the solutions of model (7)–(11):
d F 0 d t = 1 Λ u d u X u X ˙ u + ν ν + d l α X ˙ l + ν + d l ν + d l α X ˙ i + d i ( ν + d l ) r v ( ν + d l α ) X ˙ v + d i η ( ν + d l ) r v ε ( ν + d l α ) 1 Λ B d B X B X ˙ B .
From Equations (7)–(11) we get
d F 0 d t = 1 Λ u d u X u ( Λ u d u X u β X u X v ) + ν ν + d l α ( 1 α ) β X u X v ν X l d l X l + ν + d l ν + d l α α β X u X v + ν X l d i X i + d i ( ν + d l ) r v ( ν + d l α ) r v X i d v X v η X v X B + d i η ( ν + d l ) r v ε ( ν + d l α ) 1 Λ B d B X B ( Λ B + ε X v X B d B X B ) .
Collecting terms we get
d F 0 d t = 1 Λ u d u X u ( Λ u d u X u ) + β Λ u d u X v d i d v ( ν + d l ) r v ( ν + d l α ) X v + d i η ( ν + d l ) r v ε ( ν + d l α ) 1 Λ B d B X B ( Λ B d B X B ) d i η ( ν + d l ) r v ( ν + d l α ) Λ B d B X v .
Then, we obtain
d F 0 d t = d u X u X u Λ u d u 2 + β Λ u d u X v d i d v ( ν + d l ) r v ( ν + d l α ) X v d B d i η ( ν + d l ) r v ε ( ν + d l α ) X B X B Λ B d B 2 d i η ( ν + d l ) r v ( ν + d l α ) Λ B d B X v = d u X u X u Λ u d u 2 d B d i η ( ν + d l ) r v ε ( ν + d l α ) X B X B Λ B d B 2 + β Λ u d u d i d v ( ν + d l ) r v ( ν + d l α ) d i η ( ν + d l ) r v ( ν + d l α ) Λ B d B X v = d u X u X u Λ u d u 2 d B d i η ( ν + d l ) r v ε ( ν + d l α ) X B X B Λ B d B 2 + d i ( ν + d l ) ( d v d B + η Λ B ) r v d B ( ν + d l α ) ( R 0 1 ) X v .
Hence, d F 0 d t 0 is satisfied if R 0 1 . Furthermore, d F 0 d t = 0 when X u = Λ u d u , X B = Λ B d B , ( R 0 1 ) X v = 0 . Solutions of the system converge to the largest invariant subset [53] of ( X u , X l , X i , X v , X B ) : d F 0 d t = 0 = { E 0 } . Applying LaSalle’s Invariance Principle [36], we get that E 0 is GAS. □

Appendix A.2. Proof of Theorem 2

Proof of Theorem 2. 
We assume R 0 > 1 , so the endemic equilibrium E * = ( X u * , X l * , X i * , X v * , X B * ) exists and is unique. Consider a candidate Lyapunov function F * ( X u , X l , X i , X v , X B ) :
F * = X u * H X u X u * + ν ( ν + d l α ) X l * H X l X l * + ( ν + d l ) ( ν + d l α ) X i * H X i X i * + d i ( ν + d l ) r v ( ν + d l α ) X v * H X v X v * + d i η ( ν + d l ) r v ε ( ν + d l α ) X B * H X B X B * .
By Lemma 2, when R 0 > 1 , the endemic equilibrium E * exists and is unique. Therefore, the Lyapunov function is well-defined.
Calculating d F * d t , we get
d F * d t = 1 X u * X u X ˙ u + ν ( ν + d l α ) 1 X l * X l X ˙ l + ( ν + d l ) ( ν + d l α ) 1 X i * X i X ˙ i + d i ( ν + d l ) r v ( ν + d l α ) 1 X v * X v X ˙ v + d i η ( ν + d l ) r v ε ( ν + d l α ) 1 X B * X B X ˙ B .
From system (7)–(11) we get
d F * d t = 1 X u * X u ( Λ u d u X u β X u X v ) + ν ( ν + d l α ) 1 X l * X l ( 1 α ) β X u X v ν X l d l X l + ( ν + d l ) ( ν + d l α ) 1 X i * X i α β X u X v + ν X l d i X i + d i ( ν + d l ) r v ( ν + d l α ) 1 X v * X v r v X i d v X v η X v X B + d i η ( ν + d l ) r v ε ( ν + d l α ) 1 X B * X B Λ B + ε X v X B d B X B .
Collecting terms:
d F * d t = 1 X u * X u ( Λ u d u X u ) + β X u * X v ν ( 1 α ) ( ν + d l α ) X l * X l β X u X v + ν ( ν + d l ) ( ν + d l α ) X l * α ( ν + d l ) ( ν + d l α ) X i * X i β X u X v ν ( ν + d l ) ( ν + d l α ) X i * X i X l + d i ( ν + d l ) ( ν + d l α ) X i * d i ( ν + d l ) ( ν + d l α ) X v * X v X i d i d v ( ν + d l ) r v ( ν + d l α ) X v + d i η ( ν + d l ) r v ( ν + d l α ) X v * X B + d i η ( ν + d l ) r v ε ( ν + d l α ) 1 X B * X B ( Λ B d B X B ) d i η ( ν + d l ) r v ( ν + d l α ) X v X B * .
Applying the equilibrium conditions,
Λ u = d u X u * + β X u * X v * , ( 1 α ) β X u * X v * = ( ν + d l ) X l * , α β X u * X v * + ν X l * = d i X i * , r v X i * = d v X v * + η X v * X B * , Λ B = ε X v * X B * + d B X B * ,
we obtain
d F * d t = d u ( X u X u * ) 2 X u d B d i η ( ν + d l ) r v ε ( ν + d l α ) ( X B X B * ) 2 X B + 1 X u * X u β X u * X v * + β X u * X v ν ( 1 α ) ( ν + d l α ) X l * X l β X u X v + ν ( ν + d l ) ( ν + d l α ) X l * α ( ν + d l ) ( ν + d l α ) X i * X i β X u X v ν ( ν + d l ) ( ν + d l α ) X i * X i X l + d i ( ν + d l ) ( ν + d l α ) X i * d i ( ν + d l ) ( ν + d l α ) X v * X v X i d i d v ( ν + d l ) r v ( ν + d l α ) X v + d i d v ( ν + d l ) r v ( ν + d l α ) X v * + d i η ( ν + d l ) r v ( ν + d l α ) X v * X B d i η ( ν + d l ) r v ( ν + d l α ) 1 X B * X B X v * X B * d i η ( ν + d l ) r v ( ν + d l α ) X v X B * .
Finally, after simplifications using the equilibrium conditions, we obtain
d F * d t = d u ( X u X u * ) 2 X u d B d i η ( ν + d l ) r v ε ( ν + d l α ) ( X B X B * ) 2 X B + ( ν + d l ) ( ν + d l α ) α β X u * X v * 3 X u * X u X i * X u X v X i X u * X v * X v * X i X v X i * + ν ( ν + d l α ) ( 1 α ) β X u * X v * 4 X u * X u X l * X u X v X l X u * X v * X i * X l X i X l * X v * X i X v X i * .
We obtain that d F * d t 0 . Moreover, d F * d t = 0 if X u = X u * , X l = X l * , X i = X i * , X v = X v * , X B = X B * . Solutions of the model converge to E * . Consequently, LaSalle’s Invariance Principle [36] reveals that E * is GAS. □

Appendix B. Proof of Theorems 3 and 4

Appendix B.1. Proof of Theorem 3

Proof of Theorem 3. 
Define the candidate Lyapunov function F 0 d ( X u , X l , X i , X v , X B ) as
F 0 d = K Λ u d u H d u X u Λ u + ν F 3 X l + ( ν + d l ) X i + d i ( ν + d l ) r v F 4 X v + d i η ( ν + d l ) r v ε F 4 Λ B d B H d B X B Λ B + ν β ( 1 α ) F 3 0 ω 1 Π 1 ( τ ) t τ t X u ( θ ) X v ( θ ) d θ d τ + α β ( ν + d l ) 0 ω 2 Π 2 ( τ ) t τ t X u ( θ ) X v ( θ ) d θ d τ + ν ( ν + d l ) 0 ω 3 Π 3 ( τ ) t τ t X l ( θ ) d θ d τ + d i ( ν + d l ) F 4 0 ω 4 Π 4 ( τ ) t τ t X i ( θ ) d θ d τ .
Obviously, F 0 d ( X u , X l , X i , X v , X B ) > 0 for any X u , X l , X i , X v , X B > 0 , and F 0 d Λ u d u , 0 , 0 , 0 , Λ B d B = 0 .
Let us calculate d F 0 d d t along the solutions of model (1)–(5):
d F 0 d d t = K 1 Λ u d u X u X ˙ u + ν F 3 X ˙ l + ( ν + d l ) X ˙ i + d i ( ν + d l ) r v F 4 X ˙ v + d i η ( ν + d l ) r v ε F 4 1 Λ B d B X B X ˙ B + ν β ( 1 α ) F 3 0 ω 1 Π 1 ( τ ) X u X v X u ( t τ ) X v ( t τ ) d τ + α β ( ν + d l ) 0 ω 2 Π 2 ( τ ) X u X v X u ( t τ ) X v ( t τ ) d τ + ν ( ν + d l ) 0 ω 3 Π 3 ( τ ) X l X l ( t τ ) d τ + d i ( ν + d l ) F 4 0 ω 4 Π 4 ( τ ) X i X i ( t τ ) d τ .
Using Equations (1)–(5), we obtain
d F 0 d d t = K 1 Λ u d u X u ( Λ u d u X u β X u X v ) + ν F 3 ( 1 α ) β 0 ω 1 Π 1 ( τ ) X u ( t τ ) X v ( t τ ) d τ ( ν + d l ) X l + ( ν + d l ) α β 0 ω 2 Π 2 ( τ ) X u ( t τ ) X v ( t τ ) d τ + ν 0 ω 3 Π 3 ( τ ) X l ( t τ ) d τ d i X i + d i ( ν + d l ) r v F 4 r v 0 ω 4 Π 4 ( τ ) X i ( t τ ) d τ d v X v η X v X B + d i η ( ν + d l ) r v ε F 4 1 Λ B d B X B ( Λ B + ε X v X B d B X B ) + ν β ( 1 α ) F 3 0 ω 1 Π 1 ( τ ) X u X v X u ( t τ ) X v ( t τ ) d τ + α β ( ν + d l ) 0 ω 2 Π 2 ( τ ) X u X v X u ( t τ ) X v ( t τ ) d τ + ν ( ν + d l ) 0 ω 3 Π 3 ( τ ) X l X l ( t τ ) d τ + d i ( ν + d l ) F 4 0 ω 4 Π 4 ( τ ) X i X i ( t τ ) d τ .
Collecting terms, we obtain
d F 0 d d t = K d u X u X u Λ u d u 2 d i η ( ν + d l ) r v ε F 4 d B X B X B Λ B d B 2 + K β Λ u d u 1 X v = K d u X u X u Λ u d u 2 d i η ( ν + d l ) r v ε F 4 d B X B X B Λ B d B 2 + d i ( ν + d l ) ( d v d B + η Λ B ) r v d B F 4 ( R 0 d 1 ) X v .
When R 0 d 1 , then d F 0 d d t 0 . Furthermore, d F 0 d d t = 0 when X u = Λ u d u , X B = Λ B d B , and ( R 0 d 1 ) X v = 0 . Solutions of the model (1)–(5) converge to the largest invariant subset of ( X u , X l , X i , X v , X B ) : d F 0 d d t = 0 = { E 0 d } . Applying the Lyapunov-LaSalle asymptotic stability theorem [32], we get that E 0 d is GAS. □

Appendix B.2. Proof of Theorem 4

Proof of Theorem 4. 
Construct F d * ( X u , X l , X i , X v , X B ) :
F d * = K X u * H X u X u * + ν F 3 X l * H X l X l * + ( ν + d l ) X i * H X i X i * + d i ( ν + d l ) r v F 4 X v * H X v X v * + d i η ( ν + d l ) r v ε F 4 X B * H X B X B * + ν β ( 1 α ) F 3 X u * X v * 0 ω 1 Π 1 ( τ ) t τ t H X u ( θ ) X v ( θ ) X u * X v * d θ d τ + α β ( ν + d l ) X u * X v * 0 ω 2 Π 2 ( τ ) t τ t H X u ( θ ) X v ( θ ) X u * X v * d θ d τ + ν ( ν + d l ) X l * 0 ω 3 Π 3 ( τ ) t τ t H X l ( θ ) X l * d θ d τ + d i ( ν + d l ) F 4 X i * 0 ω 4 Π 4 ( τ ) t τ t H X i ( θ ) X i * d θ d τ .
By Lemma 4, when R 0 d > 1 , the endemic equilibrium E d * exists and is unique. Therefore, the Lyapunov function is well-defined.
Take the derivative of F d * along the solution of model (1)–(5):
d F d * d t = K 1 X u * X u ( Λ u d u X u β X u X v ) + ν F 3 1 X l * X l ( 1 α ) β 0 ω 1 Π 1 ( τ ) X u ( t τ ) X v ( t τ ) d τ ( ν + d l ) X l + ( ν + d l ) 1 X i * X i α β 0 ω 2 Π 2 ( τ ) X u ( t τ ) X v ( t τ ) d τ + ν 0 ω 3 Π 3 ( τ ) X l ( t τ ) d τ d i X i + d i ( ν + d l ) r v F 4 1 X v * X v r v 0 ω 4 Π 4 ( τ ) X i ( t τ ) d τ d v X v η X v X B + d i η ( ν + d l ) r v ε F 4 1 X B * X B ( Λ B + ε X v X B d B X B ) + ν β ( 1 α ) F 3 X u * X v * 0 ω 1 Π 1 ( τ ) X u X v X u * X v * X u ( t τ ) X v ( t τ ) X u * X v * + ln X u ( t τ ) X v ( t τ ) X u X v d τ + α β ( ν + d l ) X u * X v * 0 ω 2 Π 2 ( τ ) X u X v X u * X v * X u ( t τ ) X v ( t τ ) X u * X v * + ln X u ( t τ ) X v ( t τ ) X u X v d τ + ν ( ν + d l ) X l * 0 ω 3 Π 3 ( τ ) X l X l * X l ( t τ ) X l * + ln X l ( t τ ) X l d τ + d i ( ν + d l ) F 4 X i * 0 ω 4 Π 4 ( τ ) X i X i * X i ( t τ ) X i * + ln X i ( t τ ) X i d τ .
Summing the terms and using the following equilibrium conditions,
( 1 α ) F 1 β X u * X v * = ( ν + d l ) X l * , α F 2 β X u * X v * + ν F 3 X l * = d i X i * , r v F 4 X i * = d v X v * + η X v * X B * , Λ B = d B X B * ε X v * X B * ,
we obtain
d F d * d t = K d u X u ( X u X u * ) 2 d i η ( ν + d l ) r v ε F 4 Λ B X B X B * ( X B X B * ) 2 K H X u * X u β X u * X v * ν β ( 1 α ) F 3 X u * X v * 0 ω 1 Π 1 ( τ ) H X u ( t τ ) X v ( t τ ) X l * X u * X v * X l d τ α β ( ν + d l ) X u * X v * 0 ω 2 Π 2 ( τ ) H X u ( t τ ) X v ( t τ ) X i * X u * X v * X i d τ ν ( ν + d l ) X l * 0 ω 3 Π 3 ( τ ) H X l ( t τ ) X i * X l * X i d τ d i ( ν + d l ) F 4 X i * 0 ω 4 Π 4 ( τ ) H X i ( t τ ) X v * X i * X v d τ .
Obviously, d F d * d t 0 for any X u , X l , X i , X v , X B > 0 . Moreover, d F d * d t = 0 if X u = X u * , X l = X l * , X i = X i * , X v = X v * , and X B = X B * . Solutions of the model converge to the largest invariant subset of ( X u , X l , X i , X v , X B ) : d F d * d t = 0 where X u = X u * , X l = X l * , X i = X i * , X v = X v * , and X B = X B * . Thus, by the Lyapunov-LaSalle asymptotic stability theorem, E d * is GAS. □

References

  1. UNAIDS. Global HIV & AIDS Statistics—Fact Sheet; UNAIDS: Geneva, Switzerland, 2025. [Google Scholar]
  2. Chun, T.W.; Stuyver, L.; Mizell, S.B.; Ehler, L.A.; Mican, J.A.M.; Baseler, M.; Lloyd, A.L.; Nowak, M.A.; Fauci, A.S. Presence of an inducible HIV-1 latent reservoir during highly active antiretroviral therapy. Proc. Natl. Acad. Sci. USA 1997, 94, 13193–13197. [Google Scholar] [CrossRef]
  3. Finzi, D.; Hermankova, M.; Pierson, T.; Carruth, L.M.; Buck, C.; Chaisson, R.E.; Quinn, T.C.; Chadwick, K.; Margolick, J.; Brookmeyer, R.; et al. Identification of a reservoir for HIV-1 in patients on highly active antiretroviral therapy. Science 1997, 278, 1295–1300. [Google Scholar] [CrossRef]
  4. Chun, T.; Fauci, A. Latent reservoirs of HIV: Obstacles to the eradication of virus. Proc. Natl. Acad. Sci. USA 1999, 96, 10958–10961. [Google Scholar] [CrossRef] [PubMed]
  5. Siliciano, J.M.; Siliciano, R.F. The Latent Reservoir for HIV-1 in Resting CD4+ T Cells: A Barrier to Cure. Curr. Opin. HIV AIDS 2006, 1, 121–128. [Google Scholar] [CrossRef]
  6. Herz, A.; Bonhoeffer, S.; Anderson, R.; May, R.; Nowak, M. Viral dynamics in vivo: Limitations on estimates of intracellular delay and virus decay. Proc. Natl. Acad. Sci. USA 1996, 93, 7247–7251. [Google Scholar] [CrossRef]
  7. Perelson, A.S.; Neumann, A.U.; Markowitz, M.; Leonard, J.M.; Ho, D.D. HIV-1 dynamics in vivo: Virion clearance rate, infected cell life-span, and viral generation time. Science 1996, 271, 1582–1586. [Google Scholar] [CrossRef]
  8. Hammer, S.M.; Squires, K.E.; Hughes, M.D.; Grimes, J.M.; Demeter, L.M.; Currier, J.S.; Fischl, M.A.; Phair, J.P.; Pedneault, L.; Nguyen, B.-Y.; et al. A controlled trial of two nucleoside analogues plus indinavir in persons with human immunodeficiency virus infection and CD4 cell counts of 200 per cubic millimeter or less. N. Engl. J. Med. 1997, 337, 725–733. [Google Scholar] [CrossRef]
  9. Gulick, R.M.; Mellors, J.W.; Havlir, D.; Eron, J.J.; Gonzalez, C.; McMahon, D.; Richman, D.D.; Valentine, F.T.; Jonas, L.; Meibohm, A.; et al. Treatment with indinavir, zidovudine, and lamivudine in adults with human immunodeficiency virus infection and prior antiretroviral therapy. N. Engl. J. Med. 1997, 337, 734–739. [Google Scholar] [CrossRef]
  10. Paterson, D.; Swindells, S.; Mohr, J.; Brender, M.; Vergis, E.N.; Squier, C.; Wagener, M.M.; Singh, N. Adherence to protease inhibitor therapy and outcomes in patients with HIV infection. Ann. Intern. Med. 2000, 133, 21–30. [Google Scholar] [CrossRef]
  11. Hightower, K.; Wang, R.; Deanda, F.; Jones, G.S.; Jobse, B.; Weaver, K.; Shen, Y.; Tomberlin, G.H.; Carter, H.L., III; Broderick, T.; et al. Dolutegravir (S/GSK1349572) exhibits significantly slower dissociation than raltegravir and elvitegravir from wild-type and integrase inhibitor-resistant HIV-1 integrase-DNA complexes. Antimicrob. Agents Chemother. 2011, 55, 4552–4559. [Google Scholar] [CrossRef]
  12. Nowak, M.A.; Bonhoeffer, S.; Hill, A.M.; Boehme, R.; Thomas, H.C.; McDade, H. Viral dynamics in hepatitis B virus infection. Proc. Natl. Acad. Sci. USA 1996, 93, 4398–4402. [Google Scholar] [CrossRef]
  13. Fister, K.R.; Lenhart, S.; McNally, J.S. Optimizing chemotherapy in an HIV model. Electron. J. Differ. Equ. 1998, 32, 1–12. [Google Scholar]
  14. Culshaw, R.V.; Ruan, S. A delay-differential equation model of HIV infection of CD4+ T-cells. Math. Biosci. 2000, 165, 27–39. [Google Scholar] [CrossRef]
  15. Blunu, C.P.; Mushayabasa, S.; Kojouharov, H.; Tchuenche, J.M. Mathematical Analysis of an HIV/AIDS Model: Impact of Educational Programs and Abstinence in Sub-Saharan Africa. J. Math. Model. Algor. 2011, 10, 31–55. [Google Scholar] [CrossRef]
  16. Conway, J.M.; Perelson, A.S. Post-treatment control of HIV infection. Proc. Natl. Acad. Sci. USA 2015, 112, 5467–5472. [Google Scholar] [CrossRef] [PubMed]
  17. Kruize, Z.; Kootstra, N.A. The Role of Macrophages in HIV-1 Persistence and Pathogenesis. Front. Microbiol. 2019, 10, 2828. [Google Scholar] [CrossRef] [PubMed]
  18. Prakash, S.; Umrao, A.; Srivastava, P. Bifurcation and stability analysis of within host HIV dynamics with multiple infections and intracellular delay. Chaos 2025, 35, 013128. [Google Scholar] [CrossRef]
  19. Lv, L.; Yang, J.; Hu, Z.; Fan, D. Dynamics Analysis of a Delayed HIV Model with Latent Reservoir and Both Viral and Cellular Infections. Math. Methods Appl. Sci. 2025, 48, 6063–6080. [Google Scholar] [CrossRef]
  20. Alharbi, M.H. Global investigation for an “SIS” model for COVID-19 epidemic with asymptomatic infection. Math. Biosci. Eng. 2023, 20, 5298–5315. [Google Scholar] [CrossRef] [PubMed]
  21. Nath, B.J.; Dehingia, K.; Sadri, K.; Sarmah, H.K.; Hosseini, K.; Park, C. Optimal control of combined antiretroviral therapies in an HIV infection model with cure rate and fusion effect. Int. J. Biomath. 2023, 16, 2250062. [Google Scholar] [CrossRef]
  22. Murase, A.; Sasaki, T.; Kajiwara, T. Stability analysis of pathogen-immune interaction dynamics. J. Math. Biol. 2005, 51, 247–267. [Google Scholar] [CrossRef]
  23. Ganusov, V.V.; Neher, R.A.; Perelson, A.S. Mathematical modeling of escape of HIV from cytotoxic T lymphocyte responses. J. Stat. Mech. 2013, 2013, P01010. [Google Scholar] [CrossRef]
  24. Nelson, P.W.; Perelson, A.S. Mathematical analysis of delay differential equation models of HIV-1 infection. Math. Biosci. 2002, 179, 73–94. [Google Scholar] [CrossRef] [PubMed]
  25. Rong, L.; Feng, Z.; Perelson, A.S. Mathematical analysis of age-structured HIV-1 dynamics with combination antiretroviral therapy. SIAM 2007, 67, 26. [Google Scholar] [CrossRef]
  26. Li, Y.; Zhang, L.; Zhang, J.; Liu, S.; Peng, Z. Dynamical modeling and data analysis of HIV infection with infection-age, CTLs immune response and delayed antibody immune response. J. Math. Biol. 2025, 91, 57. [Google Scholar] [CrossRef] [PubMed]
  27. Alalhareth, F.K.; Alghamdi, F.K.; Alharbi, M.H.; El Hajji, M. Global Dynamics and Optimal Control of a Dual-Target HIV Model with Latent Reservoirs. Mathematics 2025, 13, 3868. [Google Scholar] [CrossRef]
  28. Almuashi, H.H.; El Hajji, M. Global Dynamics of a Dual-Target HIV Model with Time Delays and Treatment Implications. Mathematics 2026, 14, 6. [Google Scholar] [CrossRef]
  29. El Hajji, M.; Alnjrani, R.M. Periodic Behaviour of HIV Dynamics with Three Infection Routes. Mathematics 2024, 12, 123. [Google Scholar] [CrossRef]
  30. El Hajji, M.; Alnjrani, R.M. Periodic Trajectories for HIV Dynamics in a Seasonal Environment with a General Incidence Rate. Int. J. Anal. Appl. 2023, 21, 96. [Google Scholar] [CrossRef]
  31. Alharbi, M.H. HIV dynamics in a periodic environment with general transmission rates. AIMS Math. 2024, 9, 31393–31413. [Google Scholar] [CrossRef]
  32. Korobeinikov, A. Global properties of basic virus dynamics models. Bull. Math. Biol. 2004, 66, 879–883. [Google Scholar] [CrossRef]
  33. Diekmann, O.; Heesterbeek, J. On the definition and the computation of the basic reproduction ratio R0 in models for infectious diseases in heterogeneous populations. J. Math. Bio. 1990, 28, 365–382. [Google Scholar] [CrossRef]
  34. Van den Driessche, P.; Watmough, J. Reproduction Numbers and Sub-Threshold Endemic Equilibria for Compartmental Models of Disease Transmission. Math. Biosci. 2002, 180, 29–48. [Google Scholar] [CrossRef] [PubMed]
  35. Almuallem, N.A.; El Hajji, M. Global Dynamics of a Multi-Population Water Pollutant Model with Distributed Delays. Mathematics 2026, 14, 20. [Google Scholar] [CrossRef]
  36. Khalil, H. Nonlinear Systems, 2nd ed.; Prentice Hall: Hoboken, NJ, USA, 1996. [Google Scholar]
  37. El Hajji, M.; Al-Faidi, Y.A.; Alharbi, M.H. Modeling dual-colony Nosema transmission in honeybees: The role of distributed delays and antiviral treatment. AIMS Math. 2026, 11, 2645–2681. [Google Scholar] [CrossRef]
  38. Al-arydah, M. Assessing vaccine efficacy for infectious diseases with variable immunity using a mathematical model. Sci. Rep. 2024, 14, 18572. [Google Scholar] [CrossRef]
  39. Perelson, A.S.; Kirschner, D.E.; Boer, R.D. Dynamics of HIV-1 infection of CD4+ T cells. Math. Biosci. 1993, 114, 81–125. [Google Scholar] [CrossRef]
  40. Lin, J.; Xu, R.; Tian, X. Threshold dynamics of an HIV-1 virus model with both virus-to-cell and cell-to-cell transmissions, intracellular delay, and humoral immunity. Appl. Math. Comput. 2017, 315, 516–530. [Google Scholar] [CrossRef]
  41. Hadjiandreou, M.; Conejeros, R.; Vassiliadis, V.S. Towards a long-term model construction for the dynamic simulation of HIV-1 infection. Math. Biosci. Eng. 2007, 4, 489–504. [Google Scholar] [CrossRef]
  42. Hernandez-Vargas, E.A.; Middleton, R.H. Modeling the three stages in HIV infection. J. Theor. Biol. 2013, 320, 33–40. [Google Scholar] [CrossRef]
  43. Szomolay, B.; Lungu, E.M. A mathematical model for the treatment of AIDS-related Kaposi’s sarcoma. J. Biol. Syst. 2014, 22, 495–522. [Google Scholar] [CrossRef]
  44. Sahani, S.K.; Yashi. Effects of eclipse phase and delay on the dynamics of HIV-1 infection. J. Biol. Syst. 2018, 26, 421–454. [Google Scholar] [CrossRef]
  45. Pankavich, S. The effects of latent infection on the dynamics of HIV-1. Differ. Equ. Dyn. Syst. 2016, 24, 281–303. [Google Scholar] [CrossRef]
  46. Elaiw, A.M.; Alhmadi, A.S.; Hobiny, A.D. Dynamics and stability of a within-host HIV-HBV co-infection model with time delays. Front. Appl. Math. Stat. 2025, 11, 1633039. [Google Scholar] [CrossRef]
  47. Elaiw, A.M.; Alhmadi, A.S.; Hobiny, A.D. Analysis of HIV and HBV co-dynamics in vivo. J. Math. Comput. Sci. 2026, 40, 240–272. [Google Scholar] [CrossRef]
  48. Chitnis, N.; Hyman, J.M.; Cushing, J.M. Determining Important Parameters in the Spread of Malaria Through the Sensitivity Analysis of a Mathematical Model. Bull. Math. Biol. 2008, 70, 1272–1296. [Google Scholar] [CrossRef] [PubMed]
  49. Marino, S.; Hogue, I.B.; Ray, C.J.; Kirschner, D.E. A Methodology for Performing Global Uncertainty and Sensitivity Analysis in Systems Biology. J. Theor. Biol. 2008, 254, 178–196. [Google Scholar] [CrossRef] [PubMed]
  50. Deeks, S.; Lewin, S.; Havlir, D. The end of AIDS: HIV infection as a chronic disease. Lancet 2014, 382, 1525–1533. [Google Scholar] [CrossRef]
  51. Zhuang, L.; Ma, Y.; Fang, G.; Xu, A. Modeling two-scale degradation with heterogeneity: A unified random-effects inverse Gaussian framework. In IISE Transactions; Taylor & Francis: Oxfordshire, UK, 2026; pp. 1–16. [Google Scholar] [CrossRef]
  52. Wang, Y.; Li, J.; Zhou, Q.; Wang, W. A unified framework for complex survival data: Accounting for clustering, cure fractions, and competing risks. BMC Med. Res. Methodol. 2026, 26, 105. [Google Scholar] [CrossRef]
  53. Hale, J.K.; Verduyn Lunel, S.M. Introduction to Functional Differential Equations; Springer: New York, NY, YSA, 1993. [Google Scholar] [CrossRef]
Figure 1. Schematic diagram of the HIV within-host model with latent reservoirs, distributed delays, and B cell immune response (system (1)–(5)).
Figure 1. Schematic diagram of the HIV within-host model with latent reservoirs, distributed delays, and B cell immune response (system (1)–(5)).
Mathematics 14 01675 g001
Figure 4. Sensitivity analysis for R 0 d .
Figure 4. Sensitivity analysis for R 0 d .
Mathematics 14 01675 g004
Figure 5. Impact of treatment efficacies κ on the dynamics starting from the same constant initial history values ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) = ( 850 , 120 , 3 , 5 , 250 ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] .
Figure 5. Impact of treatment efficacies κ on the dynamics starting from the same constant initial history values ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) = ( 850 , 120 , 3 , 5 , 250 ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] .
Mathematics 14 01675 g005
Figure 6. Effect of the maturation delay τ 4 on system (7)–(11) starting from the same constant initial history values ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) = ( 850 , 120 , 3 , 2 , 220 ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] .
Figure 6. Effect of the maturation delay τ 4 on system (7)–(11) starting from the same constant initial history values ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) = ( 850 , 120 , 3 , 2 , 220 ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] .
Mathematics 14 01675 g006
Table 1. Comparison of the previous models [27,28] with the current one.
Table 1. Comparison of the previous models [27,28] with the current one.
FeatureCurrent Model[27][28]
Compartments X u , X l , X i , X v , X B X u , X l , X i , X v X u , X l , X i , X v
Immune responseB cells (humoral)NoneNone
Delay structureDistributed (4 delays)NoneDiscrete (2 delays)
Global stability provenYesYesYes
Optimal controlYesYesNo
Table 2. Biological interpretation of all variables and parameters in the distributed-delay HIV model (1)–(5).
Table 2. Biological interpretation of all variables and parameters in the distributed-delay HIV model (1)–(5).
SymbolBiological Meaning (Units Where Applicable)
X u ( t ) Concentration of uninfected CD4+ T cells at time t (cells·mm−3)
X l ( t ) Concentration of latently infected CD4+ T cells at time t (cells·mm−3)
X i ( t ) Concentration of actively infected CD4+ T cells at time t (cells·mm−3)
X v ( t ) Concentration of free HIV virions in plasma/tissue at time t (virions·mm−3)
X B ( t ) Concentration of B cells (humoral immune response) at time t (cells·mm−3)
Λ u Constant recruitment rate of uninfected CD4+ T cells (cells·mm−3·day−1)
Λ B Constant production rate of B cells from bone marrow (cells·mm−3·day−1)
d u Natural death rate of uninfected CD4+ T cells (day−1)
d l Death rate of latently infected CD4+ T cells (day−1)
d i Death rate of actively infected CD4+ T cells (day−1)
d v Clearance rate of free virions (day−1)
d B Natural death rate of B cells (day−1)
β Infection rate (mm3·virions−1·day−1)
α Fraction of infections that directly lead to active infection ( 0 α 1 )
ν Activation rate of latently infected cells into actively infected cells (day−1)
r v Viral production rate (virions·cell−1·day−1)
η Neutralization rate of free virions by B cells (mm3·cells−1·day−1)
ε Proliferation rate of B cells stimulated by free virions (mm3·virions−1·day−1)
ω 1 Time between infection and appearance of latently infected cells (days)
ω 2 Time between infection and appearance of actively infected cells (days)
ω 3 Delay in latent cell reactivation (days)
ω 4 Intracellular delay in virion production from actively infected cells (days)
ζ i ( τ ) Probability density function for distributed delay i, defined on [ 0 , ω i ]
Π i ( τ ) Defined as Π i ( τ ) = ζ i ( τ ) e n i τ , incorporating decay during delay
F i F i = 0 ω i Π i ( τ ) d τ , satisfies 0 < F i 1 ; appears in R 0 d
n i Decay rate in the delay kernel Π i ( τ ) (day−1)
ϕ j ( θ ) Continuous initial history function for variable j on [ τ * , 0 ]
τ max For discrete-delay case, τ max = max { τ 1 , τ 2 , τ 3 , τ 4 } (days)
Table 3. Numerical values of the model parameters that are derived from the cited sources. β and τ i are varied.
Table 3. Numerical values of the model parameters that are derived from the cited sources. β and τ i are varied.
SymbolValueSource
Λ u 10 cells mm−3 day−1[14,39]
d u 0.01 day−1[40,41]
d i 0.4 day−1[39]
r v 38 viruses cells−1 day−1[41,42]
d v 2.4 day−1[14,39,41]
η 0.1 cells−1 mm3 day−1
Λ B 48 cells mm−3 day−1[43]
ε 0.01 viruses−1 mm3 day−1[44]
d B 0.24 day−1[43]
α 0.1[45]
ν 0.01 day−1[45]
d l 0.04 day−1[45]
n i 1 day−1[46,47]
Table 4. Sets of constant initial history values of ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] used for Figure 2.
Table 4. Sets of constant initial history values of ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] used for Figure 2.
VariableSet 1Set 2Set 3Set 4Set 5Set 6
X u ( θ ) 100240380520660800
X l ( θ ) 0.030.060.090.120.150.18
X i ( θ ) 0.10.160.220.280.340.4
X v ( θ ) 0.10.180.260.340.420.5
X B ( θ ) 104478112146180
Table 5. Sets of constant history values of ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] used for Figure 3.
Table 5. Sets of constant history values of ( X u ( θ ) , X l ( θ ) , X i ( θ ) , X v ( θ ) , X B ( θ ) ) for θ [ τ max , 0 ] = [ 0.1 , 0 ] used for Figure 3.
VariableSet 1Set 2Set 3Set 4Set 5Set 6
X u ( θ ) 600640680720760800
X l ( θ ) 160170180190200210
X i ( θ ) 23.24.45.66.88
X v ( θ ) 44.85.66.47.28
X B ( θ ) 255259263267271275
Table 6. Numerical sensitivity indices for R 0 d (baseline parameters).
Table 6. Numerical sensitivity indices for R 0 d (baseline parameters).
Parameter p Λ u r v β ν d B n 2 , τ 2 n 1 , τ 1
Sensitivity Index S p +1+1+1+0.649+0.214−0.015−0.085
Parameter p n 3 , τ 3 d v n 4 , τ 4 d l η Λ B d u d i
Sensitivity Index S p −0.085−0.107−0.1−0.53−0.893−0.893−1−1
Table 7. Impact of treatment efficacies κ on R 0 treatment ( κ ) .
Table 7. Impact of treatment efficacies κ on R 0 treatment ( κ ) .
κ 0.3 0.4 0.6734 0.8 0.9
R 0 treatment ( κ ) 2.1431 1.8369 1 0.6123 0.3062
Table 8. Effect of the maturation delay τ 4 on R 0 d ( τ 4 ) .
Table 8. Effect of the maturation delay τ 4 on R 0 d ( τ 4 ) .
τ 4 0.5 0.7 1.1289 1.4 1.6
R 0 d ( τ 4 ) 1.8756 1.5356 1 0.7626 0.6243
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Alalhareth, F.K.; Albishri, M.I.; Alharbi, M.H.; El Hajji, M. Impact of Latent Reservoirs, Latent Infection Delays, and Treatments on HIV Dynamics. Mathematics 2026, 14, 1675. https://doi.org/10.3390/math14101675

AMA Style

Alalhareth FK, Albishri MI, Alharbi MH, El Hajji M. Impact of Latent Reservoirs, Latent Infection Delays, and Treatments on HIV Dynamics. Mathematics. 2026; 14(10):1675. https://doi.org/10.3390/math14101675

Chicago/Turabian Style

Alalhareth, Fawaz K., Mohammed I. Albishri, Mohammed H. Alharbi, and Miled El Hajji. 2026. "Impact of Latent Reservoirs, Latent Infection Delays, and Treatments on HIV Dynamics" Mathematics 14, no. 10: 1675. https://doi.org/10.3390/math14101675

APA Style

Alalhareth, F. K., Albishri, M. I., Alharbi, M. H., & El Hajji, M. (2026). Impact of Latent Reservoirs, Latent Infection Delays, and Treatments on HIV Dynamics. Mathematics, 14(10), 1675. https://doi.org/10.3390/math14101675

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop