SECTION 1
Historical Context & Motivation
In the decades following Darwin's publication of On the Origin of Species (1859), biologists faced a persistent conceptual challenge: if natural selection favors certain traits, wouldn't dominant alleles inevitably replace recessive ones in a population? This so-called blending inheritance objection suggested that variation would be diluted over generations, ultimately undermining the raw material upon which selection acts. The rediscovery of Mendel's work in 1900 provided the particulate model of inheritance that could preserve variation, but mathematicians still needed a formal proof that allele frequencies would remain stable in the absence of evolutionary forces.
1859 • Darwin's Natural Selection
1900 • Rediscovery of Mendel
1903 • Yule's Objection
1908 • Hardy & Weinberg
1918–1930s • Modern Synthesis
The central question Hardy and Weinberg answered was deceptively simple: What happens to allele and genotype frequencies in a population when no evolutionary forces are acting? Their answer—that frequencies remain constant indefinitely—provides the critical null model against which biologists measure real evolutionary change. Without this baseline, it would be impossible to determine whether an observed shift in allele frequency reflects natural selection, genetic drift, gene flow, mutation, or nonrandom mating.
SECTION 2
Core Principles & Conditions
The Hardy-Weinberg equilibrium (HWE) states that both allele frequencies and genotype frequencies in a sexually reproducing, diploid population will remain constant from generation to generation, provided five stringent conditions are met. Violation of any one condition introduces an evolutionary mechanism that can shift allele frequencies. In practice, no natural population perfectly satisfies all five conditions, which is precisely the point: deviations from HWE tell us which evolutionary forces are at work.
No Mutation
No Natural Selection
No Gene Flow
Infinitely Large Population
Random Mating
KEY TAKEAWAY
SECTION 3
Visual Explanation: The Gene Pool
The diagram above illustrates the fundamental logic of the Hardy-Weinberg model. Each parent contributes one allele to the offspring, and if mating is random, the probability of any gamete combination is simply the product of the individual allele frequencies. The frequency of the homozygous dominant (AA) genotype equals p², the heterozygous (Aa) genotype equals 2pq (because Aa can arise two ways—A from mother and a from father, or vice versa), and the homozygous recessive (aa) genotype equals q². The critical insight is that if you recalculate allele frequencies from these offspring genotypes, you recover the original p and q values—hence the equilibrium is self-sustaining.
SECTION 4
Mathematical Framework
The Hardy-Weinberg principle is expressed through two complementary equations. The first describes the relationship between allele frequencies, and the second describes the expected genotype frequencies that result from random mating. Together, these equations form the quantitative backbone of population genetics, and the AP Biology exam regularly tests your ability to apply them in both forward (predicting genotypes from alleles) and reverse (inferring allele frequencies from phenotype data) directions.
ALLELE FREQUENCY EQUATION
p = frequency of the dominant allele; q = frequency of the recessive allele. For a locus with only two alleles, these frequencies must sum to 1. If the frequency of allele A is 0.7, then the frequency of allele a is necessarily 0.3.
GENOTYPE FREQUENCY EQUATION
p² = frequency of the homozygous dominant genotype (AA); 2pq = frequency of the heterozygous genotype (Aa); q² = frequency of the homozygous recessive genotype (aa). This is simply the binomial expansion of (p + q)², which represents all possible combinations of two alleles drawn at random from the gene pool.
Deriving Genotype Frequencies from Phenotype Data
In most AP Biology problems, the entry point is the recessive phenotype because it corresponds to a single genotype (aa). If you observe that 16% of a population expresses the recessive phenotype, then q² = 0.16, and q = √0.16 = 0.4. From there, p = 1 − q = 0.6. You can then calculate all three genotype frequencies: p² = 0.36 (AA), 2pq = 0.48 (Aa), and q² = 0.16 (aa). This reverse-engineering approach is the most common problem-solving strategy on the exam.
COMMON PROBLEM-SOLVING STRATEGY
Start with the recessive phenotype frequency (which equals q²), take the square root to find q, then subtract from 1 to find p. This approach works because the recessive phenotype is the only phenotype that maps to a single, unambiguous genotype.
AP Exam Tip
SECTION 5
When Equilibrium Breaks: The Five Evolutionary Forces
The true power of the Hardy-Weinberg model lies not in the equilibrium itself but in identifying departures from equilibrium. Each of the five conditions maps directly to an evolutionary mechanism. When observed genotype frequencies deviate significantly from HWE predictions (often tested via a chi-square goodness-of-fit test), at least one mechanism is at work. The following diagram and table summarize how each violation shifts allele or genotype frequencies.
| HWE Condition Violated | Evolutionary Mechanism | Effect on Allele Frequencies | Biological Example |
|---|---|---|---|
| No mutation | Mutation | Introduces new alleles; very slow change per generation | Sickle-cell allele (HbS) arising by point mutation in β-globin gene |
| No selection | Natural selection | Directional, stabilizing, or disruptive change in allele frequencies | Antibiotic resistance alleles increasing in bacterial populations under drug pressure |
| No gene flow | Gene flow (migration) | Homogenizes allele frequencies between populations | Pollen dispersal between isolated plant populations introducing novel alleles |
| Infinite population | Genetic drift | Random fluctuation; can fix or lose alleles, especially in small populations | Bottleneck effect in cheetahs reducing genetic diversity after population crash |
| Random mating | Nonrandom mating | Alters genotype frequencies only (↑ homozygosity); allele frequencies unchanged | Self-fertilization in certain plant species increasing homozygous genotype proportions |
Summary of HWE violations and their evolutionary consequences
SECTION 6
Worked Example: Cystic Fibrosis in a Population
Cystic fibrosis (CF) is an autosomal recessive disorder caused by mutations in the CFTR gene. In populations of European descent, approximately 1 in 2,500 individuals is born with CF. Using Hardy-Weinberg equations, we can estimate the carrier frequency—a clinically important value for genetic counseling.
Estimating Carrier Frequency for Cystic Fibrosis
- 1
Step 1 — Identify the Known Value
The problem states that 1 in 2,500 individuals expresses the CF phenotype. Because CF is autosomal recessive, only individuals homozygous for the recessive allele (genotype ff) show the disease. Therefore, the frequency of the homozygous recessive genotype is q² = 1/2,500 = 0.0004.q² = 0.0004 - 2
Step 2 — Solve for q
Take the square root of q² to find the frequency of the recessive allele: q = √0.0004 = 0.02. This means 2% of all alleles at this locus in the population are the CF-causing allele.q = 0.02 - 3
Step 3 — Solve for p
Using the allele frequency equation p + q = 1, we find p = 1 − 0.02 = 0.98. The normal CFTR allele has a frequency of 98%.p = 0.98 - 4
Step 4 — Calculate Carrier (Heterozygote) Frequency
Carriers are heterozygous (Ff), so their frequency is 2pq = 2 × 0.98 × 0.02 = 0.0392. Approximately 3.92% of the population—roughly 1 in 25 individuals—carries one copy of the CF allele without showing symptoms.2pq = 0.0392 (≈ 1 in 25) - 5
Step 5 — Verify the Solution
Check: p² + 2pq + q² = (0.98)² + 0.0392 + (0.02)² = 0.9604 + 0.0392 + 0.0004 = 1.0000 ✓. All genotype frequencies sum to 1, confirming our calculations are internally consistent.Sum = 1.0000 ✓
Clinical Significance
SECTION 7
Strengths & Limitations of the Hardy-Weinberg Model
Like all models in biology, the Hardy-Weinberg equilibrium simplifies reality to make it analyzable. Understanding both its utility and its constraints is essential for interpreting population genetic data and for answering free-response questions on the AP Biology exam, which frequently ask you to evaluate the assumptions of a model and explain why deviations occur.
| Strengths | Limitations |
|---|---|
| Provides a clear null hypothesis for detecting evolution in populations | All five conditions are virtually never met simultaneously in natural populations |
| Allows estimation of carrier frequencies for recessive alleles from phenotype data alone | Assumes a simple two-allele, one-locus system; many traits are polygenic or have multiple alleles |
| Establishes the mathematical foundation for all of population genetics | Cannot identify which specific evolutionary force is acting—only that one or more conditions are violated |
| Simple and computationally accessible; requires only basic algebra | Assumes diploid, sexually reproducing organisms; does not apply to haploid or asexual species |
| Applies to any autosomal locus with discrete alleles, making it broadly generalizable | Equilibrium is achieved in one generation of random mating, which may mislead students into thinking populations reach equilibrium instantly despite ongoing evolution |
Comparative analysis of HWE model utility
KEY TAKEAWAY
SECTION 8
Connection to Advanced Population Genetics
The Hardy-Weinberg principle is the starting point for a rich body of theory in population genetics. Once you understand what happens when no evolutionary forces act, the next step is to model what happens when they do. The table below connects HWE to more advanced models you may encounter in college-level genetics or evolutionary biology courses.
| Hardy-Weinberg (Baseline) | Advanced Extension | Key Addition |
|---|---|---|
| Two alleles at one locus | Multi-allele HWE | Extends to 3+ alleles (e.g., ABO blood group with IA, IB, i); all allele frequencies still sum to 1 |
| No selection (all genotypes equally fit) | Selection models | Assigns fitness coefficients (w) to each genotype; Δp depends on selection coefficient (s) and dominance |
| Infinite population | Drift models (Wright-Fisher) | Models stochastic changes in allele frequency as a function of effective population size (Ne) |
| No mutation | Mutation-selection balance | Equilibrium allele frequency determined by balance between mutation rate (μ) and selection coefficient (s) |
| No gene flow | Island model / metapopulations | Models migration rate (m) between subpopulations and its homogenizing effect on allele frequencies |
How HWE connects to advanced population genetics models
For the AP Biology exam, you do not need to solve problems involving selection coefficients or effective population sizes, but understanding that these advanced models build upon the Hardy-Weinberg framework will deepen your conceptual understanding. On free-response questions, demonstrating awareness that HWE is a simplification—and articulating precisely which assumptions are violated in a given scenario—earns full credit and signals mature biological reasoning.
SECTION 9
Practice Problems
Question 1: CONCEPTUAL
- A. Natural selection is favoring homozygous genotypes over heterozygous genotypes.
- B. Genetic drift is causing random fluctuations in genotype frequencies.
- C. Nonrandom mating, such as assortative mating or inbreeding, is occurring.
- D. Gene flow from a neighboring population is introducing new alleles.
Show answer (C)
Question 2: BASIC CALCULATION
- A. 0.24
- B. 0.48
- C. 0.32
- D. 0.60
Show answer (B)
Question 3: INTERMEDIATE
- A. The population is not in Hardy-Weinberg equilibrium, and natural selection is likely acting on this locus.
- B. The population is in Hardy-Weinberg equilibrium; the observed genotype frequencies do not differ significantly from expected frequencies.
- C. The population is evolving because the allele frequencies of M and N are unequal.
- D. The chi-square test is invalid because codominant alleles cannot be analyzed using the Hardy-Weinberg model.
Show answer (B)
Question 4: APPLIED
4 ptsShow answer
Question 5: CRITICAL THINKING
4 ptsShow answer
SUMMARY
Hardy-Weinberg Equilibrium — Summary
Summary
The Hardy-Weinberg equilibrium provides the foundational null model for population genetics. It predicts that in a population satisfying five conditions—no mutation, no natural selection, no gene flow, infinite population size, and random mating—both allele frequencies (p + q = 1) and genotype frequencies (p² + 2pq + q² = 1) remain constant from generation to generation. The typical problem-solving approach begins with the recessive phenotype frequency (which equals q²), takes the square root to find q, then uses p = 1 − q to derive all other values.
Departures from HWE indicate that evolution is occurring. Natural selection, genetic drift, gene flow, and mutation alter allele frequencies directly, while nonrandom mating changes genotype frequencies without affecting allele frequencies. On the AP Biology exam, you should be prepared to calculate expected genotype frequencies, identify violated conditions, explain how specific mechanisms cause deviations, and apply a chi-square goodness-of-fit test to determine whether observed data significantly depart from HWE predictions.