Evolution

Hardy-Weinberg Equilibrium: Population Genetics

Apply the Hardy-Weinberg equation to calculate allele and genotype frequencies. Learn the five conditions for equilibrium and what causes populations to evolve.

V
Vectora Team
STEM Education
8 min read
2025-10-02

What is Hardy-Weinberg Equilibrium?

The Hardy-Weinberg principle states that allele and genotype frequencies in a population remain constant from generation to generation — provided five conditions are met.

p2+2pq+q2=1andp+q=1p^2 + 2pq + q^2 = 1 \quad \text{and} \quad p + q = 1
SymbolMeaning
ppFrequency of dominant allele
qqFrequency of recessive allele
p2p^2Frequency of homozygous dominant
2pq2pqFrequency of heterozygous
q2q^2Frequency of homozygous recessive

Learning Goals:

  1. State the five conditions for Hardy-Weinberg equilibrium.
  2. Calculate allele frequencies from phenotype data.
  3. Identify which conditions are violated in real populations.

Five Conditions

  1. No mutation — Alleles don't change.
  2. Random mating — No mate preference for genotype.
  3. No natural selection — All genotypes equally fit.
  4. Large population — No genetic drift.
  5. No migration — No gene flow in or out.

If any condition is violated, the population evolves (allele frequencies change).


Worked Examples

Example 1: Basic Calculation

In a population of 500, 20 individuals have the recessive phenotype (aa).

  1. q2=20/500=0.04q^2 = 20/500 = 0.04
  2. q=0.04=0.2q = \sqrt{0.04} = 0.2
  3. p=10.2=0.8p = 1 - 0.2 = 0.8
  4. Heterozygous frequency: 2pq=2(0.8)(0.2)=0.32=32%2pq = 2(0.8)(0.2) = 0.32 = 32\%
  5. 160 individuals are carriers (Aa).

Example 2: Cystic Fibrosis

CF affects ~1 in 2500 people. q2=1/2500=0.0004q^2 = 1/2500 = 0.0004q=0.02q = 0.02p=0.98p = 0.98 → Carrier frequency: 2pq=2(0.98)(0.02)=0.03921 in 252pq = 2(0.98)(0.02) = 0.0392 ≈ 1 \text{ in } 25


Common Mistakes

  1. Forgetting to square-rootq2q^2 is the recessive phenotype frequency; qq is the allele frequency. Square root first!
  2. Using phenotype ratios as allele frequencies — Only q2q^2 can be directly observed (recessive phenotype).
  3. Assuming populations are in equilibrium — In reality, no population perfectly meets all five conditions.

Exam Tips

  • Start with the recessive phenotype because it's the only genotype you can identify directly from the phenotype.
  • Show all steps: q2qp2pqp2q^2 → q → p → 2pq → p^2.
  • You must state which HW condition is violated when explaining evolution.