6m left·0%
Reading Time: 6 min
Last Updated: March 26, 2026
Main Ideas: 5
Reading Time: 6 min
Last Updated: March 26, 2026
Main Ideas: 5

Topic 7.5 Notes – Hardy–Weinberg Equilibrium

Verified for 2027 AP® Biology Exam
Read aloud
Hardy-Weinberg equilibrium is a mathematical model that describes what happens to allele and genotype frequencies in a population that is not evolving. It gives you a baseline expectation for how genes should behave if no evolutionary forces are acting. You use it to detect when evolution is actually happening.

1. What Hardy-Weinberg Equilibrium Is

Hardy-Weinberg equilibrium (HWE) describes a population where:

  • Allele frequencies stay constant from one generation to the next.
  • Genotype frequencies follow a predictable pattern based on those allele frequencies.

It’s a model of a non-evolving population. That matters because in AP Bio, evolution is defined very specifically as:

Evolution = change in allele frequencies over time.

So if allele frequencies do not change, the population is not evolving at that gene.

HWE works as a null hypothesis:

  • If observed genotype frequencies match HWE predictions → no evidence of evolution.
  • If they differ → something is disrupting equilibrium.

You are basically asking: Is this population behaving like it’s not evolving?

2. The Five Conditions Required for Hardy-Weinberg Equilibrium

All five conditions must be met for equilibrium. In real life, they never are perfectly met. That’s why evolution happens.

1. Large population size

Prevents genetic drift.
In small populations, allele frequencies can change just by chance.

2. No migration

Also called no gene flow.
If individuals enter or leave, they bring or remove alleles.

3. No mutations

Mutation creates new alleles.
New alleles change allele frequencies.

4. Random mating

Individuals mate without preference for genotype or phenotype.
If mating is nonrandom, genotype frequencies shift.

5. No natural selection

All genotypes have equal survival and reproductive success.
If one genotype leaves more offspring, its alleles increase.

Here’s a clean way to see how each condition connects to evolution:

HWE ConditionIf Violated, What Happens?Evolutionary Force
Large populationRandom allele shiftsGenetic drift
No migrationAlleles move between populationsGene flow
No mutationNew alleles appearMutation
Random matingGenotype ratios shiftNonrandom mating
No selectionSome alleles favoredNatural selection

Any violation can cause allele frequencies to change.

3. The Hardy-Weinberg Equations

These equations let you predict genotype frequencies from allele frequencies.

Allele Frequency Equation

p+q=1 p + q = 1

  • pp = frequency of one allele
  • qq = frequency of the other allele
  • Only works for two alleles at one gene

Genotype Frequency Equation

p2+2pq+q2=1 p^{2} + 2pq + q^{2} = 1

  • p2p^{2} = homozygous dominant
  • 2pq2pq = heterozygous
  • q2q^{2} = homozygous recessive

These represent proportions of the whole population.

You can picture this as a Punnett square built from allele frequencies:

Study guide illustration

Hardy-Weinberg equations shown as a Punnett square

The sides are labeled pp and qq, and the four boxes give you pppp, pqpq, pqpq, and qqqq. When you combine the two heterozygous boxes, you get 2pq2pq.

The key idea is that allele frequencies determine genotype frequencies in a predictable way.

4. How to Solve Hardy-Weinberg Problems

On tests, you are usually given phenotype data.

Let’s walk through the logic.

Step 1: Identify the recessive phenotype

Only the recessive phenotype guarantees genotype (aa).
So its frequency = q2q^{2}.

Step 2: Solve for qq

q=q2 q = \sqrt{q^{2}}

Step 3: Solve for pp

p=1−q p = 1 - q

Step 4: Find genotype frequencies

  • Homozygous dominant = p2p^{2}
  • Heterozygous = 2pq2pq
  • Homozygous recessive = q2q^{2}

Step 5: Compare expected vs observed

If expected genotype frequencies do not match actual data, at least one HWE condition is violated.

A common AP move is giving you observed counts and asking whether evolution is occurring. That question is really asking whether the data fit HWE predictions.

5. When and Why Allele Frequencies Change

If allele frequencies change, evolution is happening.

Here’s how each force disrupts equilibrium:

  • Genetic drift
    Random changes, strongest in small populations.
  • Gene flow
    Migration moves alleles between populations, often reducing differences between them.
  • Mutation
    Introduces new alleles into the gene pool.
  • Natural selection
    Increases frequency of alleles that improve survival or reproduction.
  • Nonrandom mating
    Changes genotype frequencies immediately. By itself it may not change allele frequencies, but it can set the stage for selection to act.

Hardy-Weinberg gives you the mathematical expectation for stability. Real populations almost always deviate, and those deviations are evidence of evolution.

Key Takeaways

Evolution is defined as a change in allele frequencies over time.
If allele frequencies stay constant, the population is in Hardy–Weinberg equilibrium.
The five required conditions are large population, no mutation, no migration, random mating, and no natural selection.
Use q2q^{2} for the recessive phenotype first, then find qq, then pp, then 2pq2pq and p2p^{2}.
If observed genotype frequencies differ from p2+2pq+q2p^{2} + 2pq + q^{2} expectations, at least one evolutionary force is acting.

AP® is a trademark registered by the College Board, which is not affiliated with, and does not endorse this website.

Notes

1 credit used · 5/5 remaining