Evolution of HIV: mechanisms and decisions

HIV evolution follows changes in heritable variation across a viral population. Replication creates variants, while an environment such as drug exposure changes their relative success. Interpreting a sample requires separating when a variant arose from why it became more common.

Variation and selection

A mutation arises during replication without anticipating a future drug. If a resistant variant exists before exposure, selection under treatment can raise its share because it reproduces relatively better than susceptible variants. This is selection on standing variation, not evidence that the drug instructed the mutation.


Greater replication provides more opportunities for variants to arise, increasing mutation supply. Whether a resistance-associated change spreads still depends on its effect on viral function and the treatment environment. A change can carry a fitness cost without treatment yet confer a relative advantage when the relevant drug is present.

Treatment and ancestry

Combination treatment can make escape harder when distinct active drugs impose distinct resistance barriers: a lineage resistant to one may remain susceptible to the other. In a simplified model with statistical independence between resistance statuses, multiply their frequencies to estimate the joint frequency.


Co-inheritance or a shared resistance mechanism may violate that assumption; genetic linkage alone does not establish dependence. Variable exposure and pre-existing resistant lineages also limit the toy calculation.


A phylogenetic tree summarizes sequence relationships under a model, so close samples may share ancestry. Sampling time, within-host diversity, unsampled intermediates, and uncertainty constrain claims of direct transmission. One sequence difference cannot by itself date a mutation or identify who transmitted a lineage. Clinical decisions require evidence beyond these simple models.

Worked example

Imagine equal-volume samples with 12 resistant virions among 600 initially, then 6 among 100 later. The resistant frequency rises from 2% to 6%, a gain of 4 percentage points, even though the absolute abundance in the sampled volume falls from 12 to 6.


Susceptible counts fell from 588 to 94, so the resistant variant became more represented during an overall decline.



A stored HIV sample taken before a patient began a drug already contains a rare variant with a resistance-associated sequence change. After treatment starts, that variant becomes more common among sampled viruses. Which explanation is best supported?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Before a drug, a sample contains 100 resistant and 9,900 susceptible virions. At a matched later sampling point it contains 40 resistant and 160 susceptible virions. Which description is correct?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Two active HIV drugs target different viral functions. A lineage resistant to only one drug remains susceptible to the other. Why can using both together reduce the chance that a resistant lineage dominates, compared with either drug alone?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors