# Genetic Drift, Gene Flow and Diversity

> Every generation is a sample of the alleles in the generation before: in a small population, that sample can stray widely by chance alone, while migration mixes in alleles from elsewhere, and a population with more genetic variation is more likely to hold individuals that withstand a new pressure. This lesson traces how mutation supplies new alleles, how genetic drift, bottlenecks and founder effects reshape small populations, and how gene flow moves alleles between populations. It reads Peter Buri's 107 replicate fly lines, island-founded brown anoles, and the decline and recovery of Illinois greater prairie chickens. Afterwards you can state a neutral null hypothesis, compute a migration weighted average and a resilience probability, and connect diversity data to evolutionary reasoning.

Course: AP® Biology exam preparation (Unit 7 Natural Selection). Level: grades 7–12. About 27 minutes.
Lesson page (link this one when citing): https://stemhop.com/lessons/ap-drift-gene-flow/
Note: parts of this lesson are still being checked ("Under review").

## What you'll learn

- Explain how mutation, genetic drift, bottlenecks, founder effects and gene flow change allele frequencies, and recognise allele-frequency change as evidence of evolution.
- State a null hypothesis and predict outcomes for replicate small populations under drift alone, separating spread among populations from a directional push on their average.
- Calculate a post-migration allele frequency as a weighted average, and calculate the probability of losing a rare allele or holding at least one resistant individual.
- Connect data on population size, genetic diversity and reproductive success to evolutionary theory, and explain why an allele helpful in one environment can be harmful in another.

**In 1962, about 2,000 greater prairie chickens lived on Illinois grasslands. By 1994, fewer than 50 remained, and fewer of their eggs were hatching.**

Why would a shrinking population hatch fewer eggs? Would protecting more grassland alone fix it? Hold your answer.

> **The one idea.** Every generation is a sample of the **alleles** (versions of a gene) in the generation before. In a small population, that sample can stray widely by chance alone. Alleles can be lost, or one can take over completely, without any allele being better. Migration mixes in alleles from elsewhere. A population with more genetic variation (more different alleles) is more likely to hold individuals that withstand a new pressure.
>
> *Scope:* one gene with two alleles in sexually reproducing organisms, isolating chance and migration first. In nature, chance, migration and natural selection act together. Drift-variance and effective-size formulas go beyond the AP® Biology course.

**Where this sits.** [Variation and Survival](https://stemhop.com/lessons/variation-and-survival/) introduces gene pools. [Drift, Gene Flow and Competing Explanations](https://stemhop.com/lessons/drift-gene-flow-explanations/), [Population Genetics](https://stemhop.com/lessons/population-genetics/) and [Conservation and Restoration](https://stemhop.com/lessons/conservation/) add drift variance, effective size and rescue studies.

## Evolution starts with allele frequencies and mutation

A **population** is all individuals of one species living and breeding in one area, and their alleles form the **gene pool**. The **allele frequency** (written **p**) is the fraction of all gene copies that are one allele.

Changing allele frequencies across generations define **evolution** and give direct evidence of genetic change over time. With no process acting, allele frequencies hold steady (the next lesson, [Hardy-Weinberg](https://stemhop.com/lessons/ap-hardy-weinberg/), builds that baseline); each process below breaks it.

**Natural selection** is differential survival and reproduction of individuals with certain inherited traits. Biologists summarise that success as **fitness**: the relative number of surviving offspring in a given environment.

Random events drive evolution too. Every new allele begins with **mutation**, a random change in DNA. Mutation and migration change which alleles exist; selection and chance change how common each is.

**Misconception check.** “Mutations happen because a population needs them.” No. Mutation occurs at random during DNA copying and repair, never by need. Most mutations are neutral or harmful; rare ones supply variation for selection.

*Figure (AI-generated illustration).* gene poolmutationgene flowmeiosis and fertilisationone generation later Mutation adds alleles, migration brings alleles from elsewhere (gene flow), and sexual reproduction reshuffles them. Analogy limit: real alleles leave when individuals die, fail to breed or move away. Image: a jar of coloured beads stands for a gene pool. One gold bead drops in, a smaller jar pours new beads in, beads pair up, and a right jar shows a changed mix. Five numbered circles mark these parts.

## Drift: a sample, not a copy

Even with equal fitness, no mutations and no migrants, allele frequencies change. Each generation samples the parents’ gametes rather than copying them exactly. **Genetic drift** is a change in allele frequency caused by random sampling, not by any allele being better (a **nonselective** change).

**Misconception check.** “Genetic drift means animals drifting to a new habitat.” No. Movement between populations is migration, and the allele movement it causes is gene flow (covered below). Genetic drift needs no movement: it acts inside one isolated population by chance alone.

Picture scooping beads blindly from a jar: one scoop is a sample, not a copy. Analogy limit: in living populations, chance acts twice: in which allele each gamete carries and in how many offspring each parent leaves.

**Predict.** Two isolated populations start with allele A at p = 0.50; neither allele affects fitness. One has 8 breeding adults (16 gene copies); the other has 500 (1,000 copies). After one generation, can you tell whether allele A will rise or fall in the 8-adult group? Which population is likelier to land far from 0.50?

> **Check your prediction.** Neither direction is predictable, and the 8-adult group is far likelier to stray from 0.50. Equal fitness makes rising and falling equally likely. Sixteen copies easily land off balance by chance, whereas 1,000 copies stay close to 0.50.

Probabilities computed for one generation from p = 0.50 show how size controls scatter (a model with no selection, not field data).

| Breeding adults | Gene copies | Average next p | Chance outside 0.40 to 0.60 | Typical scatter |
| --- | --- | --- | --- | --- |
| 8 | 16 | 0.50 | about 45% | 0.125 (about 8× wider) |
| 500 | 1,000 | 0.50 | under 0.001% | 0.016 |

Nearly half of 8-adult populations land outside 0.40 to 0.60 after one generation; almost no 500-adult populations do. Drift is weaker in large populations, not absent.

One population is one dice roll. To see drift clearly, biologists track **replicate populations**, or **lines**: many populations started at the same frequency under identical conditions. An allele that reaches 0 is **lost**; one that reaches 1.0 is **fixed** (every copy is that allele), and drift can no longer change it.

In a study published in 1956, Peter Buri started 107 lines of fruit flies (*Drosophila melanogaster*), each with two alleles of the *brown* eye-colour gene at p = 0.50. Every generation, each line bred from 16 flies (eight males, eight females), for 19 generations.

Before reading the outcome, apply **AP science practice 3.B, stating a null hypothesis and predicting results**. A **null hypothesis** states that the tested factor has no directional effect, so any change comes from chance.

**Predict 2.** State the null hypothesis for Buri’s 107 lines, and predict what happened after 19 generations to their average frequency and to individual lines.

> **Check your prediction.** Null hypothesis: neither allele gives an advantage, so random sampling causes no directional shift and the average stays near 0.50. Individual lines spread apart by chance, and many lose or fix the allele.

Over 19 generations, the lines fanned out toward 0 and 1. By generation 19, the tracked allele had been lost from 30 lines and fixed in 28. Yet the average frequency across all 107 lines stayed close to 0.50, and Buri found no evidence of selection. Both predictions of the null hypothesis held. Drift alone can make a small population diverge sharply from others of its species.

**Misconception check.** “Genetic drift pushes toward the better allele, or only removes harmful ones.” No. Sampling has no favourite. Buri’s lines fixed either allele while their average stayed put. In small populations, drift can raise a harmful allele or lose a helpful one.

Test this below. Leave `Cost to aa (s)` at 0: that slider adds selection against aa individuals (two copies of allele a). `Breeders per population, Ne` sets how many adults breed each generation (Ne, read “N sub e”; see Going deeper). Keep the starting frequency at 0.50.

1. Run 30 populations at 8 breeders for 50 generations; note losses, fixations and the average.
2. Switch to 200 breeders and compare spread, average and fixations. Click Resample to see single runs wobble.

*Interactive on the lesson page:* Drift and selection: replicate populations

## Bottlenecks and founders

Drift strikes hardest during two sharp events. A **bottleneck** (or **bottleneck effect**) cuts numbers to a few individuals for at least one generation, as after a storm, fire, disease or habitat loss. Survivors hold only a small sample of the earlier gene pool.

A **founder effect** occurs when a small group splits off to start a new population elsewhere, such as birds blown to an island. The new population starts with its founders’ allele frequencies, which can differ sharply from the source.

**Predict 3.** A storm leaves 10 random survivors (20 gene copies) from a large population where a rare allele had frequency 0.05. Is that allele at real risk of vanishing in that one generation? If numbers regrow to 10,000, will regrowth bring a lost allele back?

> **Check your prediction.** Yes, then no. The allele vanishes about 36% of the time in that single generation, and regrowth cannot restore it. Only mutation or gene flow can add a lost allele back.

The product rule for independent events (multiply their chances) gives that 36%. Before the storm, 95% (0.95) of copies are not the rare allele. Across 20 random copies, the chance all 20 miss it is 0.9520 (read “zero point nine five to the power twenty”), or 0.36 (36%).

With 100 survivors (200 copies), the chance is 0.95200, about 0.00004 (under 1 in 25,000). Even random survival drops rare alleles in a severe bottleneck.

**Misconception check.** “Once a bottlenecked population grows back, its genetic diversity comes back too.” No. Numbers are visible; lost alleles are not. A population can rebound from 10 to 10,000 while keeping only the variation from those 10 survivors.

In humans, small founder populations that grew in relative isolation can carry otherwise rare alleles at higher frequencies. Those elevated frequencies reflect population history, not racial categories.

Founder effects and selection also act together. In a Bahamian field study, biologists moved one random male-female pair of brown anoles from one source island onto each of seven small islands. Those small islands had narrower vegetation than the source (see the scientist card).

*Figure (AI-generated illustration).* Seven small Bahamian islands with narrow vegetation, each founded by one random brown anole pair. Founder differences persisted while all seven islands evolved shorter hindlimbs. Schematic, not to scale. Image: a source island on the left with broad shrubs and brown anoles, with gold arrows to seven small islands on the right, each with slender vegetation and one male-female pair. An inset compares a broad branch with a thin twig.

Founder differences persisted, so chance kept the islands distinct. Selection pushed all seven the same way: toward shorter hindlimbs on narrow perches.

## Gene flow moves alleles between populations

**Film transcript: Diversity Is Insurance**

### Film transcript: Diversity Is Insurance

Picture an isolated flock of fewer than fifty greater prairie chickens. More and more of their eggs fail to hatch. Why would they need birds from somewhere else? Habitat loss had stranded Illinois prairie chickens in isolated patches of grassland. During a long field study, their numbers plunged. At the same time, genetic diversity, egg fertility and hatching all dropped. Conservationists could protect and expand the prairie grassland. Suppose they added habitat alone, with no new birds arriving. Would protecting more grassland alone restore those hatching eggs?

No. Grassland helps birds nest and feed, but habitat cannot replace lost alleles. Managers brought in birds from large, genetically diverse populations elsewhere. Egg viability then recovered. Small, isolated populations lose alleles to drift, and here low diversity appears to have impaired reproduction. Incoming alleles were followed by recovery. Still, the study lacked a control. About twenty years later, numbers were falling again. When migrants arrive and breed, their alleles enter the gene pool. That movement of alleles is gene flow. The mixed frequency shifts toward the newcomers according to their share of the breeders. Genetic diversity also acts as insurance against a new threat.

Compare two maize fields. One holds genetically identical clones sharing the exact same alleles. The other holds genetically mixed plants with varied alleles. Now a new rust fungus sweeps both fields. If the uniform clone is susceptible, every single plant fails together. In the mixed field, a few plants may carry resistance and stay standing. Imagine a diverse population where each plant has a small independent chance of resisting. As population size grows, the chance that at least one resists climbs steeply. Diversity raises the odds, though it never guarantees survival. Which alleles help depends on the setting. Dark fur hides mice on dark lava rock, yet stands out on pale sand.

Antibiotic resistance saves bacteria under a drug, yet can slow growth without it. One allele can trade off across places too. Where severe malaria is common, one sickle allele protects against severe disease. Where malaria is absent, it gives no benefit, while two copies cause disease anywhere. Ongoing gene flow also keeps connected populations similar. Unlike drift inside one isolated group, migrants pull gene pools together. Incoming alleles can even mismatch local habitats. Cut off that flow, and isolated groups can diverge into separate species. So here is the idea to keep. Variation lost by chance or by uniformity is hard to get back. Because environments change, genetic diversity raises the odds that a population can meet a new pressure.

From the film

- Protecting more grassland alone does not restore lost alleles: in the Illinois prairie chickens, translocated birds from 1992 were followed by better egg viability, which points to low genetic diversity as one cause of the decline (the study had no control population).
- Gene flow changes a population's allele frequency toward the donor's in proportion to the migrants' share: 0.90 × 0.20 + 0.10 × 0.60 = 0.24, a weighted average, not the simple average 0.40.
- Populations with more alleles are more likely to include individuals that survive a new pressure such as a pathogen: with a 1% chance per individual, 1 − 0.99^n gives 10% at n = 10, 63% at n = 100 and 99% at n = 500 (illustrative model, not field data).
- The sickle-cell allele shows that an allele's value depends on context: one copy protects against severe malaria where malaria is common, gives no benefit where it is absent, and two copies cause sickle-cell disease anywhere.
- Cutting off gene flow lets chance and selection push separate populations apart, which can lead to separate species (a computed example, not field data).

**Migration** is movement of individuals, or gametes such as pollen, between populations. When migrants breed, they cause **gene flow**: alleles moving into or out of a population.

The mixed frequency is a **weighted average**: each group’s frequency counts in proportion to its share of the breeders. Suppose residents carry allele A at 0.20 and immigrants carry it at 0.60, with 10% (0.10) immigrants and 90% (0.90) residents.

1. Resident share: 0.90 × 0.20 = 0.18.
2. Immigrant share: 0.10 × 0.60 = 0.06.
3. Mixed frequency: 0.18 + 0.06 = 0.24.

The answer is 0.24, not the simple average 0.40, because residents supply nine-tenths of breeders.

**Predict 4.** Two small island populations of one bird species drifted apart while isolated. Now a few birds fly between the islands and breed each year. Will the two populations keep diverging into separate species?

> **Check your prediction.** No. Gene flow mixes alleles between the islands each generation, pulling their allele frequencies together. Ongoing gene flow keeps connected populations from diverging into separate species.

Isolation lets drift, mutation and selection pull gene pools apart; [Speciation](https://stemhop.com/lessons/ap-speciation/) follows that split.

| Feature | Genetic drift | Gene flow |
| --- | --- | --- |
| Cause | Random sampling of parents and gametes | Migration and breeding between populations |
| Needs movement? | No (inside one isolated population) | Yes (individuals or gametes move) |
| Between populations | Pulls small isolated populations apart | Pulls connected populations together |
| Restores lost alleles? | No | Yes, if immigrants carry them |

Gene flow is not always helpful: alleles suited to another place can leave a population less suited to its own.

## Why genetic diversity is insurance

Drift, bottlenecks and founder effects shrink **genetic diversity**, the variety of alleles and genotypes in a population. Diversity shapes **resilience**: a population’s ability to withstand or recover from an environmental pressure.

Return to Illinois. Habitat loss had left the prairie chickens in isolated patches of grassland. During a 35-year study, their numbers shrank, and egg fertility, hatching rate and genetic diversity all declined significantly.

**Predict 5.** By 1994, Illinois held fewer than 50 prairie chickens with low hatching and low diversity. Managers could protect more grassland alone, or also bring in birds from large, diverse populations elsewhere. Predict which restores egg viability, and why.

> **Check your prediction.** Bringing in birds from large, diverse populations is what restored egg viability. Grassland helps birds nest and feed, but habitat alone cannot add lost alleles back to an isolated gene pool. Gene flow supplies variation and relieves the decline.

Starting in 1992, managers brought in prairie chickens from large, genetically diverse populations (a **translocation**: moving animals from one population into another), and egg viability recovered.

Apply **AP science practice 6.C, connecting evidence to scientific reasoning**: make a claim, cite the data, then use a biological principle to explain why the data support it.

- **Claim:** Low genetic diversity after isolation appears to have impaired prairie-chicken reproduction, and gene flow was followed by recovered egg viability.
- **Evidence:** As isolated birds fell from about 2,000 (1962) to under 50 (1994), diversity, fertility and hatching dropped significantly; after translocations began in 1992, egg viability recovered.
- **Reasoning:** Small, isolated populations lose alleles to drift, and here that loss came with failing eggs. Habitat cannot replace lost alleles; incoming birds can, and egg viability recovered once they arrived.

The record has limits: it had no control population, and about 20 years after the translocations, a follow-up found bird numbers falling again.

Florida panthers show a similar pattern with a clear limit. In 1995, managers released eight Texas female pumas into southern Florida’s small, inbred population. A 2010 study reported that numbers had about tripled and **heterozygosity** (how often individuals carry two different alleles of a gene) had doubled. Survival and fitness improved, and inbreeding signs declined. With one population and no control, how much came from genes alone remains partly inferred.

Diversity also buffers crops against a new fungal rust or blight (an illustrative model, not field data). In a planting of **clones**, genetically identical plants, every plant shares the same alleles, so all resist or all fail together.

In a diverse population where each individual has a 1% (0.01) chance of resisting, the product rule gives a 0.99n chance that *none* of n individuals resists. The chance *at least one* resists is 1 − 0.99n (read “one minus zero point nine nine to the power n”).

| Population size, n (1% chance each) | Chance none resists (0.99n) | Chance at least one resists (1 − 0.99n) |
| --- | --- | --- |
| 10 | 0.90 | 0.10 (10%) |
| 100 | 0.37 | 0.63 (63%) |
| 500 | 0.01 | 0.99 (99%) |

Odds rise with population size; a clone planting gets all or none. Diversity raises the odds of survival but does not guarantee it.

### Good here, bad there

Whether an allele helps depends on the environment. An allele adaptive in one setting can harm in another.

- **Antibiotic resistance in bacteria:** in a diverse bacterial population, not every cell is susceptible. With the drug present, resistant cells survive and reproduce; without it, resistance can slow growth.
- **Coat colour on rock:** dark fur hides mice on dark lava rock, raising survival there, but stands out on pale sand.
- **Sickle-cell trait and malaria:** where severe malaria is common, one sickle allele protects against severe disease. Where malaria is absent, it gives no benefit. In either place, two copies cause sickle-cell disease.

Because environments change, alleles neutral or costly today can matter later.

## Before the exam

- **Opening puzzle settled:** as Illinois prairie chickens fell to fewer than 50 birds, they lost diversity and fewer eggs hatched. Habitat alone could not replace lost alleles; egg viability recovered after gene flow from translocated birds, though the gain faded.
- **Evolution as allele-frequency change:** random mutation adds new alleles; drift, bottlenecks, founders, gene flow and selection change allele frequencies.
- **Drift vs gene flow:** drift is random sampling inside one population (strongest when small, zero average push, spreads replicates). Gene flow moves alleles between populations, pulling them together and keeping them one species.
- **Diversity and context:** low diversity raises extinction risk, diverse populations are more resilient, and an allele helpful in one environment can harm in another.

## Going deeper

*Beyond the AP® exam.*

### Sixteen flies behaving like nine: effective population size

Buri kept 16 breeding flies per vial, yet his 107 lines drifted as fast as an idealised population of about 9. That genetic size is the **effective population size**, Ne (read “N sub e”), shown on the simulator slider. Unequal offspring numbers, skewed sex ratios or fluctuating size speed drift beyond head counts. Buri wrote that the causes were not known, but that unequal numbers of offspring per fly, down to sterility, were certainly part of it.

### Follow-up on genetic rescue: panthers and guppies

A 2024 follow-up on 1,192 Florida panthers found genetic benefits lasted five generations, while the population stabilised and declined during 2016 to 2020: gene flow cannot remove habitat loss. In Trinidad, after gene flow into two small, isolated guppy streams, both populations grew about tenfold in 29 months, and fish of mixed ancestry recruited more offspring than natives. With no control stream, the cause is partly inferred.

### Where to read further

The field studies above are Westemeier and colleagues (1998), Mussmann and colleagues (2017), Kolbe and colleagues (2012), Johnson and colleagues (2010) and Fitzpatrick and colleagues (2016). See [Drift, Gene Flow and Competing Explanations](https://stemhop.com/lessons/drift-gene-flow-explanations/), [Population Genetics](https://stemhop.com/lessons/population-genetics/) and [Conservation and Restoration](https://stemhop.com/lessons/conservation/).

---

From STEMhop (https://stemhop.com), free lessons by Christopher Deppmann. Lesson text © the authors. Practice questions: https://stemhop.com/lessons/ap-drift-gene-flow/
