AP Biology · Unit 7 lecture · Part 5 of 12 · 7 min

7.5 Hardy-Weinberg equilibrium: the modelA population that is not evolving

Mrs. Otero
To study a population that's evolving, it helps to know exactly what one that is NOT evolving would look like. Then any difference is a clue. That's the whole point of Hardy-Weinberg.

The Hardy-Weinberg equilibrium is a model of a non-evolving population: its allele and genotype frequencies stay the same, generation after generation. That only happens if five conditions are all met: a large population, no migration, no new mutations, random mating, and no natural selection. Each condition switches off one way that populations change.

Hardy-Weinberg conditionWhat breaks itWhat happens
Large populationA small populationGenetic drift changes allele frequencies by chance
No migrationIndividuals move in or outGene flow adds or removes alleles
No new mutationsMutations occurNew alleles appear
Random matingMates are chosen, or relatives mateGenotype frequencies shift (inbreeding raises homozygotes)
No natural selectionSome genotypes leave more offspringFavored alleles become more common
The five Hardy-Weinberg conditions, and what happens when each one is broken.
?Wait, what's a null hypothesis?
The 'nothing is going on' prediction you test data against. If the data are too different from it, for example by a chi-square test, you reject it. Hardy-Weinberg is the null hypothesis for evolution: 'this gene isn't evolving in this population'.

These conditions are never all met in nature. So why use the model? Because it gives a valuable null hypothesis. If real genotype counts match the predictions, that gene probably isn't evolving much. If they don't, something is acting on it.

The two equations

Take a gene with alleles A and a. Let p be the frequency of A and q the frequency of a. Every copy is one or the other, so $p + q = 1$. That equation is about alleles.

?Wait, how do you combine two independent probabilities?
Multiply them (the product rule, Unit 5). Two coin flips both landing heads: ½ × ½ = ¼.

Now picture all the eggs and sperm in one pool, with random mating. The chance a baby gets A from both parents is $p \times p = p^2$, and aa is $q^2$. A heterozygote can form two ways (A egg with a sperm, or a egg with A sperm), so its frequency is $2pq$. The three genotypes are all the options, so $p^2 + 2pq + q^2 = 1$. That equation is about genotypes.

Sperm: A (p)Sperm: a (q)
Egg: A (p)AA: p × p = p²Aa: p × q = pq
Egg: a (q)aA: q × p = qpaa: q × q = q²
The gamete pool as a Punnett square. The two heterozygote boxes together make 2pq.
00.20.40.60.8100.20.40.60.81q, frequency of allele agenotype frequencyAA: p²Aa: 2pqaa: q²q = 0.1
Genotype frequencies predicted for every q. At q = 0.1, only 1% of individuals are aa, but 18% are carriers.
Pause and think
At q = 0.1, about what fraction of all the a alleles hide in heterozygotes, where selection can't see them?
I thought about it. Show me
About 90%. Per 100 individuals, aa holds 2 × 1 = 2 copies and Aa holds 18 copies: 18 of 20. That's why selection against a rare recessive allele is so slow.
Predict genotype numbers
500 beetles are in Hardy-Weinberg equilibrium, and the frequency of a is 0.3. Calculate the expected number of each genotype.
  1. p = 1 − 0.3 = 0.7.
    Why?
    Find both allele frequencies first.
  2. p² = 0.49, 2pq = 2(0.7)(0.3) = 0.42, q² = 0.09.
    Why?
    Check: 0.49 + 0.42 + 0.09 = 1.
  3. Multiply by 500: 245 AA, 210 Aa, 45 aa.
    Why?
    Check: 245 + 210 + 45 = 500.

Answer: 245 AA, 210 Aa and 45 aa.

Stuck? Get a hint
  1. p = 1 − q.
  2. Square p and q, and find 2pq.
  3. Multiply each by 500.
Check yourself
In a population in Hardy-Weinberg equilibrium, p = 0.6. What is the expected frequency of heterozygotes?
  1. A0.24
  2. B0.36
  3. C0.48
  4. D0.60
Show the answer

C. q = 0.4, and 2pq = 2(0.6)(0.4) = 0.48. 0.24 is the trap (pq without the 2), and 0.36 is p².

Check yourself
Which population is most likely to stay close to Hardy-Weinberg equilibrium for a gene?
  1. AA small island population often hit by storms
  2. BA large, randomly mating population, little migration, and a gene that doesn't affect survival or reproduction
  3. CA population where females choose mates by the trait the gene controls
  4. DA population receiving many migrants every year
Show the answer

B. That one meets the conditions. The others each break one: drift (small, storms), nonrandom mating (mate choice), gene flow (migrants).

  • Hardy-Weinberg conditions: large population, no migration, no new mutations, random mating, no natural selection. Never all met; a valuable null hypothesis.
  • Alleles: p + q = 1. Genotypes: p² + 2pq + q² = 1.
  • When q is small, most copies of a recessive allele hide in heterozygotes.