01 / 20
\(p\)
\(q\)
\(2pq\)

Hardy-Weinberg
Equilibrium

Understand the null model of population genetics: when allele and genotype frequencies remain constant across generations, and what forces cause them to change.

College Biology

What is a Gene Pool?

A gene pool is the complete set of all alleles for every gene in a population. Each individual contributes two alleles per gene to the pool. Population genetics studies how these allele frequencies change: or remain stable: over time.

Population Gene Pool
\(A\)
\(a\)
\(A\)
\(a\)
\(A\)
\(A\)
\(a\)
\(A\)
= Dominant allele (\(A\))
= Recessive allele (\(a\))

Allele vs Genotype Frequencies

Allele Frequency
How common a single allele is in the gene pool. Represented as \( p \) for the dominant allele and \( q \) for the recessive allele, where \( p + q = 1 \).
Genotype Frequency
How common a genotype combination is among individuals. The three genotypes are AA, Aa, and aa, and their frequencies must sum to 1.

Why Does HWE Matter?

Hardy-Weinberg Equilibrium serves as the null hypothesis of population genetics. Just as Newton's first law describes what happens without net force, HWE describes what happens to allele frequencies without evolutionary forces.

1
Baseline for comparison: By knowing what frequencies look like without evolution, we can detect when evolution is occurring.
2
Medical genetics: Predict carrier frequencies for genetic diseases (e.g., cystic fibrosis) in a population.
3
Conservation biology: Assess whether small populations are losing genetic diversity due to drift or inbreeding.

The Five Conditions for Equilibrium

HWE holds only when all five conditions are satisfied simultaneously. Violating any one condition means evolution can occur:

1. No Mutation
No new alleles are created or existing ones changed.
2. Random Mating
Mate choice is not influenced by genotype.
3. No Selection
All genotypes have equal fitness and survival.
4. Infinite Population
No genetic drift: the population is infinitely large.
5. No Gene Flow
No migration of alleles into or out of the population.

The Hardy-Weinberg Equations

Allele Frequency
\( p + q = 1 \)
Genotype Frequency
\( p^2 + 2pq + q^2 = 1 \)
\( p^2 \) = freq of AA
\( 2pq \) = freq of Aa
\( q^2 \) = freq of aa
\( p \) = dominant allele freq
\( q \) = recessive allele freq

Population Punnett Square

The Hardy-Weinberg equation is derived from a population-level Punnett square. Each parent randomly contributes an allele with probability \( p \) or \( q \):

Sperm: A (\( p \)) Sperm: a (\( q \))
Egg: A (\( p \)) AA = \( p^2 \) Aa = \( pq \)
Egg: a (\( q \)) Aa = \( pq \) aa = \( q^2 \)

Equilibrium vs Evolution

Feature HW Equilibrium Evolution Occurring
Allele frequencies Constant across generations Changing over time
Genotype frequencies Match \( p^2 + 2pq + q^2 \) Deviate from predicted values
Five conditions All met One or more violated
Natural selection Absent Differential survival/reproduction
Population size Effectively infinite Small enough for drift

How to Apply the HWE Equations

1
Identify the known value. Usually you are given the frequency of the recessive phenotype (homozygous recessive), which equals \( q^2 \).
2
Take the square root to find \( q \). For example, if \( q^2 = 0.09 \), then \( q = 0.3 \).
3
Calculate \( p \) using \( p = 1 - q \). Continuing: \( p = 1 - 0.3 = 0.7 \).
4
Compute all genotype frequencies: \( p^2 \) (homozygous dominant), \( 2pq \) (heterozygous), \( q^2 \) (homozygous recessive).
5
Verify: Confirm that \( p^2 + 2pq + q^2 = 1 \). If it does not, recheck your calculations.

Example 1: Cystic Fibrosis

Cystic fibrosis (CF) is an autosomal recessive disorder. In the US, approximately 1 in 2,500 Caucasian newborns has CF. What fraction of the population are carriers?

1
Given: frequency of affected individuals (aa) = \( 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 (Aa): \( 2pq = 2(0.98)(0.02) = 0.0392 \approx 3.9\% \)

Example 2: Flower Color

In a population of snapdragons with complete dominance, 36% of flowers are white (recessive phenotype). Find all allele and genotype frequencies.

\( q^2 = 0.36 \)
\( q = 0.6 \)
\( p = 0.4 \)
AA: \( p^2 = 0.16 \)
Aa: \( 2pq = 0.48 \)
aa: \( q^2 = 0.36 \)

Example 3: Testing for Equilibrium

A population of 1,000 individuals is genotyped at a single locus: 400 AA, 400 Aa, and 200 aa. Is this population in HWE?

1
Calculate allele frequencies from observed data: \( p = \frac{2(400) + 400}{2(1000)} = \frac{1200}{2000} = 0.6 \), \( q = 1 - 0.6 = 0.4 \)
2
Calculate expected genotype counts: AA: \( p^2 \times 1000 = 0.36 \times 1000 = 360 \), Aa: \( 2pq \times 1000 = 0.48 \times 1000 = 480 \), aa: \( q^2 \times 1000 = 0.16 \times 1000 = 160 \)
3
Compare observed vs expected: AA: 400 vs 360, Aa: 400 vs 480, aa: 200 vs 160. There is an excess of homozygotes and deficit of heterozygotes.

Forces That Disrupt Equilibrium

Natural Selection
Differential survival or reproduction based on phenotype shifts allele frequencies directionally.
Genetic Drift
Random sampling in small populations causes allele frequencies to fluctuate unpredictably.
Gene Flow
Migration of individuals between populations introduces or removes alleles from the gene pool.
Mutation
Creates new alleles or converts existing ones, slowly altering allele frequencies over time.
Non-Random Mating
Sexual selection, inbreeding, or assortative mating alters genotype ratios without changing allele frequencies.

Allele vs Genotype Changes

Not all evolutionary forces affect allele and genotype frequencies in the same way. This distinction is crucial for interpreting HWE departures:

Force Allele Freq Change? Genotype Freq Change?
Natural selection Yes Yes
Genetic drift Yes Yes
Gene flow Yes Yes
Mutation Yes Yes
Non-random mating No Yes

Common Mistakes

✕ Confusing \( q \) with \( q^2 \)
Students often use the recessive phenotype frequency directly as \( q \). Remember: phenotype frequency = \( q^2 \). You must take the square root to get \( q \).
✕ Forgetting the "2" in \( 2pq \)
The heterozygote frequency is \( 2pq \), not \( pq \). There are two ways to be a heterozygote (inheriting \(A\) from the mother and \(a\) from the father, or vice-versa).
✕ Assuming HWE Without Checking
The equations only apply when the population is in equilibrium. If any of the five conditions are violated, calculated predictions will be inaccurate.

Question 1 of 5

In a population in Hardy-Weinberg equilibrium, the frequency of the recessive allele is \( q = 0.3 \). What is the expected frequency of heterozygous individuals?

Question 2 of 5

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

Question 3 of 5

In a population of 10,000 individuals, 100 show the recessive phenotype. Assuming HWE, approximately how many individuals are carriers (heterozygous)?

Question 4 of 5

A researcher observes that a population has more homozygotes and fewer heterozygotes than predicted by HWE. Which evolutionary force is the most likely explanation?

Question 5 of 5

If \( p = 0.8 \) and \( q = 0.2 \) in a population in HWE, what is the frequency of the homozygous dominant genotype?