Hardy-Weinberg Law — Definition, Formula & Example
The Hardy-Weinberg Law is a probability rule from genetics. It says that if a population mates at random and nothing disturbs it, the frequencies of its gene variants and genotypes stay constant from one generation to the next.
Consider a diploid locus with two alleles and at frequencies and . Assume random mating, a very large population, no selection, no mutation, and no migration. Then after one generation the genotype frequencies of , , and are , , and , and they remain fixed in later generations. In probability terms, each genotype is two independent draws from the allele pool, so the number of alleles an individual carries follows a distribution.
Key Formula
Where:
- = Frequency of the dominant allele A in the population
- = Frequency of the recessive allele a, equal to 1 − p
- = Expected frequency of homozygous dominant individuals (AA)
- = Expected frequency of heterozygous carriers (Aa)
- = Expected frequency of homozygous recessive individuals (aa)
Worked Example
Problem: In a population of 2,000 deer, 9% show a recessive coat color, so they have genotype . Assume the population is in Hardy-Weinberg equilibrium. How many deer are expected to be heterozygous carriers ()?
Step 1: Only deer show the recessive trait, so the 9% equals . Take the square root to find .
Step 2: Use to find the frequency of the dominant allele.
Step 3: The carrier frequency is . Multiply it by the population size.
Answer: About 840 deer are expected to be carriers. As a check, are and are , and .
Why It Matters
Genetic counselors use to estimate how many people carry a recessive disorder such as cystic fibrosis, even though carriers show no symptoms. In population genetics courses, the law serves as the null model. You compare observed genotype counts to , , with a chi-squared test, and a significant gap signals selection, inbreeding, or migration.
Common Mistakes
Mistake: Setting equal to the fraction of individuals with the recessive trait, for example writing in the deer problem.
Correction: The recessive phenotype appears only in individuals, so that fraction is , not . Take the square root first: . You also cannot find directly from the dominant phenotype, because it includes both and .
