01 / 20

Hardy-Weinberg
Equilibrium

Understand the five conditions required for allele frequencies to remain constant, and learn to apply the equation \( p^2 + 2pq + q^2 = 1 \) to real populations.

AP Biology Population Genetics

What Is a Gene Pool?

A gene pool is the complete set of alleles for every gene in a population. Imagine collecting every copy of a particular gene from every individual: the proportion of each allele version is its allele frequency.

AA AA Aa Aa Aa aa Homozygous dominant Heterozygous Homozygous recessive Population of 6 individuals

Allele Frequencies & Equilibrium

Hardy-Weinberg Equilibrium (HWE) describes a theoretical population where allele and genotype frequencies do not change from generation to generation. It serves as a null model: if real data deviate from HWE predictions, one or more evolutionary forces must be acting.

\( p \)
Frequency of the dominant allele (A)
\( q \)
Frequency of the recessive allele (a)
\( p + q = 1 \)
All alleles for a gene must sum to 1

Why Does HWE Matter?

HWE is the baseline for detecting evolution. Just as physicists study frictionless planes to understand forces, biologists compare populations against HWE to identify which evolutionary mechanisms are at work.

1
Medical genetics: Estimate carrier frequencies for recessive diseases like cystic fibrosis or sickle-cell anemia.
2
Conservation biology: Detect genetic drift or inbreeding in endangered species.
3
Forensic science: Calculate expected genotype frequencies for DNA profiling in criminal investigations.

The Five Conditions for HWE

For allele frequencies to remain constant, all five of the following conditions must be met simultaneously:

1. No Mutation
Alleles are not created, destroyed, or converted into other alleles.
2. No Gene Flow
No immigration or emigration introduces or removes alleles.
3. Random Mating
Individuals pair without regard to genotype (no sexual selection).
4. No Selection
All genotypes have equal survival and reproductive success.
5. Large Population
Population is large enough that random chance (genetic drift) does not alter frequencies.

The HWE Equations

Allele Frequencies
\( p + q = 1 \)
Genotype Frequencies
\( p^2 + 2pq + q^2 = 1 \)
\( p^2 \)
Homozygous AA
\( 2pq \)
Heterozygous Aa
\( q^2 \)
Homozygous aa All three genotype frequencies must sum to 1
Derived from \( (p + q)^2 = 1 \)

Equilibrium vs Evolution

HWE and evolution are opposite states. Understanding when each applies is critical:

HWE (No Evolution) Evolution Occurring
Allele frequencies Constant across generations Changing across generations
Conditions All 5 conditions met One or more conditions violated
Genotype ratios Match \( p^2 : 2pq : q^2 \) Deviate from predicted ratios
Real populations? Almost never perfectly Almost always to some degree
Purpose Null hypothesis / baseline What we actually observe

Violating a Condition

Each violated condition corresponds to a specific evolutionary mechanism:

1
Mutation introduces new alleles or changes existing ones, shifting \( p \) and \( q \).
2
Gene flow (migration) adds or removes alleles, altering population composition.
3
Non-random mating alters genotype patterns. Sexual selection, a key type, directly changes allele frequencies by favoring certain traits.
4
Natural selection favors certain alleles, increasing their frequency over time.
5
Genetic drift causes random fluctuations in allele frequencies, especially in small populations.

How to Apply HWE

1
Identify what you know. You usually start with a frequency of homozygous recessive individuals (\( q^2 \)).
2
Find \( q \). Take the square root: \( q = \sqrt{q^2} \).
3
Find \( p \). Use the allele equation: \( p = 1 - q \).
4
Calculate genotype frequencies. Plug into \( p^2 \), \( 2pq \), and \( q^2 \).
5
Verify. Confirm that \( p^2 + 2pq + q^2 = 1 \).

Example 1: Cystic Fibrosis

About 1 in 2,500 Caucasians is born with cystic fibrosis (autosomal recessive). What fraction of the population are carriers?

1
Given: Frequency of affected individuals \( q^2 = \frac{1}{2500} = 0.0004 \).
2
Find \( q \): \( q = \sqrt{0.0004} = 0.02 \).
3
Find \( p \): \( p = 1 - 0.02 = 0.98 \).
4
Carrier frequency: \( 2pq = 2(0.98)(0.02) = 0.0392 \approx 3.9\% \).

Example 2: Flower Color

In a population of 500 flowers, 20% display the recessive white phenotype. Find all genotype frequencies and the number of heterozygous individuals.

\( q^2 = 0.20 \)
White (aa)
\( q \approx 0.447 \)
\( \sqrt{0.20} \)
\( p \approx 0.553 \)
\( 1 - q \)
\( p^2 \approx 0.306 \)
AA: 153
\( 2pq \approx 0.494 \)
Aa: 247
\( q^2 = 0.200 \)
aa: 100

Example 3: Detecting Selection

A researcher surveys 1,000 beetles and finds: 360 AA, 480 Aa, 160 aa. Is this population in Hardy-Weinberg equilibrium?

1
Observed frequencies: \( f(\text{AA}) = 0.36 \), \( f(\text{Aa}) = 0.48 \), \( f(\text{aa}) = 0.16 \).
2
Calculate allele frequencies: \( p = f(\text{AA}) + \frac{1}{2}f(\text{Aa}) = 0.36 + 0.24 = 0.60 \), \( q = 0.40 \).
3
Expected: \( p^2 = 0.36 \), \( 2pq = 0.48 \), \( q^2 = 0.16 \).
4
Compare: Observed matches expected exactly!

When Observed Deviates from Expected

If observed genotype frequencies do not match HWE predictions, at least one condition is being violated. To identify which:

Excess Homozygotes
Suggests inbreeding or assortative mating (non-random mating).
Shifting Frequencies
Suggests selection, mutation, gene flow, or genetic drift.

Common Mistakes

✕ Confusing \( q \) with \( q^2 \)
Students use the recessive phenotype frequency as \( q \) directly, forgetting to take the square root first.
✕ Forgetting \( p + q = 1 \)
After finding \( q \), they try to calculate \( p \) independently instead of using \( p = 1 - q \).
✕ Assuming Real = Equilibrium
No natural population perfectly meets all five conditions. HWE is a theoretical model, not a description of reality.

Summary of HWE Conditions

Condition If Violated Evolutionary Force
No mutation New alleles appear Mutation
No gene flow Alleles enter/leave Migration
Random mating Genotype ratios shift Sexual selection
No selection Certain alleles favored Natural selection
Large population Random fluctuations Genetic drift

Question 1 of 5

Which of the following is NOT a condition required for Hardy-Weinberg equilibrium?

Question 2 of 5

In a population in HWE, 9% of individuals show the recessive phenotype. What is the frequency of the dominant allele \( p \)?

Question 3 of 5

A researcher finds more homozygous individuals than predicted by HWE. Which condition is most likely being violated?

Question 4 of 5

If \( p = 0.80 \) and \( q = 0.20 \) in a population in HWE, what is the expected frequency of heterozygous individuals?

Question 5 of 5

A small island population of birds experiences a hurricane that kills 70% of the population at random. Which evolutionary force has most likely changed allele frequencies?