In the 1890s, hunters had reduced the northern elephant seal to perhaps 20 or so animals. Protected since then, the population has rebounded to well over 100,000. But the seals today have remarkably little genetic variation, because every one of them descends from that tiny group. To understand stories like this, biologists track evolution the way an accountant tracks money: by counting alleles in a population and watching how their frequencies change over generations.
This article covers Topic 8.3: Population Genetics and Hardy-Weinberg in Unit 8, Evolution. The topic asks you to define a gene pool and allele frequency, use the Hardy-Weinberg equations, list the conditions for genetic equilibrium, and describe the mechanisms that cause allele frequencies to change.
By the end, you should be able to:
- Calculate allele frequencies from genotype counts.
- Use the Hardy-Weinberg equations to find genotype frequencies.
- List the five conditions for Hardy-Weinberg equilibrium.
- Describe mutation, gene flow, genetic drift, nonrandom mating, and natural selection as causes of evolution.
Gene Pools and Allele Frequencies
A gene pool is all the alleles of all the genes in a population. The allele frequency is the fraction of the gene pool made up of one allele. In population genetics, evolution is defined as a change in allele frequencies over generations.
Loading the hardy-weinberg calculator…
Worked example 1: A population of 100 plants has 49 AA, 42 Aa, and 9 aa individuals. Find the frequency of allele A.
- Total alleles: each plant has two, so there are 200.
- Count A alleles: each AA plant has two and each Aa plant has one, so \(2(49)+42=140\).
- Frequency of A: \(\frac{140}{200}=0.7\). The frequency of a is \(1-0.7=0.3\).
The Hardy-Weinberg Equations
In 1908, G. H. Hardy and Wilhelm Weinberg independently showed that allele frequencies stay constant from generation to generation unless something acts to change them. For a gene with two alleles, let \(p\) be the frequency of the dominant allele and \(q\) the frequency of the recessive allele.

- Allele equation: \(p+q=1\)
- Genotype equation: \(p^{2}+2pq+q^{2}=1\)
Here \(p^{2}\) is the frequency of homozygous dominant individuals, \(2pq\) is the frequency of heterozygotes, and \(q^{2}\) is the frequency of homozygous recessive individuals.
Worked example 2: In a population at equilibrium, 16 percent of individuals show a recessive trait. Find all three genotype frequencies.
- Recessive phenotype means aa, so \(q^{2}=0.16\).
- Take the square root: \(q=0.4\).
- Find \(p\): \(p=1-0.4=0.6\).
- AA: \(p^{2}=0.36\). Aa: \(2pq=2(0.6)(0.4)=0.48\). aa: \(0.16\).
- Check: \(0.36+0.48+0.16=1\).
Why does this matter? Always start from \(q^{2}\), the homozygous recessive frequency. It is the only genotype you can identify just by looking, because dominant phenotypes include both AA and Aa individuals.
Conditions for Equilibrium
A population stays in Hardy-Weinberg equilibrium only if all five conditions hold:
- No mutations.
- Random mating.
- No natural selection.
- A very large population, so chance events have little effect.
- No gene flow, meaning no migration in or out.

Real populations almost never meet all five. That is the point. Hardy-Weinberg is a baseline, like a control group. When observed frequencies differ from the predicted ones, biologists know evolution is occurring and can look for the cause.
Mechanisms of Evolution

| Mechanism | How It Changes Allele Frequencies | Example |
|---|---|---|
| Mutation | Creates new alleles. | A new allele for antibiotic resistance |
| Gene flow | Moves alleles between populations through migration. | Pollen blown to a distant population |
| Genetic drift | Random changes, strongest in small populations. | Bottleneck in northern elephant seals |
| Nonrandom mating | Individuals choose mates by certain traits. | Peahens choosing males with showy tails |
| Natural selection | Individuals with favorable traits leave more offspring. | Deeper finch beaks during drought |
Genetic drift takes two special forms. In the bottleneck effect, a disaster shrinks a population, and the survivors’ alleles may not represent the original population. In the founder effect, a few individuals start a new population. Some founding communities, for example, show much higher rates of certain rare inherited conditions than the populations they came from.
Why does this matter? Natural selection is the only mechanism that consistently produces adaptations. Drift, gene flow, and mutation change frequencies too, but their changes are not directed toward a better fit with the environment.
Test-Taking Strategies
Mnemonic Devices and Memory Shortcuts
For equilibrium, remember “three nos and two musts”: no mutation, no selection, no migration; mating must be random and the population must be large. Always “start with \(q^{2}\).”
Cross-Topic Connections
- Natural selection as a mechanism is explained in Topic 8.1: Darwin and Natural Selection.
- The same probability logic appears in Topic 6.2: Punnett Squares and Probability.
- Genotypes and alleles are defined in Topic 6.1: Mendelian Genetics.
- New alleles arise from the changes in Topic 6.5: Chromosomes and Mutations.
Common Question Formats
- Calculate \(p\) and \(q\) from genotype counts or from the recessive phenotype frequency.
- Find the percentage of heterozygous carriers.
- Identify which equilibrium condition a scenario violates.
- Name the mechanism of evolution in a scenario.
Frequent Student Mistakes
- Taking the square root of the dominant phenotype frequency to find \(p\).
- Forgetting to double the heterozygote term, \(2pq\).
- Confusing allele frequency with genotype frequency.
Test-Day Shortcuts
Check your work by confirming that \(p+q=1\) and that the three genotype frequencies add to 1. If either sum is off, recheck the square root step.
Time Management Tips
Hardy-Weinberg calculations on Biology unit tests and end-of-course exams take two to three minutes. Mechanism identification items take under a minute.