Population Genetics - Complete Interactive Lesson
Part 1: Allele Frequencies & Hardy-Weinberg Equilibrium
Population Genetics — Deep Dive
Part 1 of 4 — Allele Frequencies & Hardy-Weinberg Equilibrium
From Individuals to Populations
Population genetics tracks allele frequencies in a gene pool rather than the genotypes of single crosses. For a two-allele gene:
Counting alleles directly (when you know genotype counts): each individual carries 2 alleles, so in a population of individuals with , , :
Homozygotes contribute two copies, heterozygotes one — a step MCAT questions love to test.
The Hardy-Weinberg Principle
If a population meets five conditions, allele frequencies do not change across generations, and genotype frequencies are locked to allele frequencies:
| Genotype | Frequency |
|---|---|
The Five Conditions (know them cold)
- No mutation
- No natural selection (equal survival and reproduction across genotypes)
- Random mating (no assortative mating, no inbreeding)
- No gene flow (no migration in or out)
- Very large population (no genetic drift)
Violating any one of these is what we MEAN by evolution at the population level: a change in allele frequencies over generations.
The Standard Solving Recipe
Almost every H-W problem is solved in the same order:
- Start from the ONE quantity you can trust: the frequency of the recessive phenotype equals (recessive phenotype = one genotype). You cannot start from the dominant phenotype — it lumps and together.
- Compute whatever is asked: carriers , homozygous dominant , etc.
Sanity Checks
- When is small, carriers () vastly outnumber affected individuals (). Example: → affected , carriers — a 200-fold difference.
- Heterozygosity is maximized at , where .
- One generation of random mating is enough to establish H-W genotype proportions at an autosomal locus, given the allele frequencies.
Worked Example — From Phenotype Counts to Carrier Frequency
Problem 1. In a population of 10,000 people in Hardy-Weinberg equilibrium, 36 have an autosomal recessive condition.
- (a) What is ?
- (b) What are and ?
- (c) How many people are expected to be carriers?
- (d) How close does the fast estimate come?
(a) Recessive phenotype gives . The affected class is the one pure genotype: .
(b) Square root, then subtract. With from (a): , so .
(c) Carrier frequency and count. With and from (b): , so carriers people.
(d) Fast MCAT approximation. With from (b), is small and , so , about 1200 carriers. The exact 1128 is close; on a timed exam, gets you to the right answer choice.
Problem 2. A question instead says that 84% of a Hardy-Weinberg population shows the dominant phenotype.
- (a) What fraction shows the recessive phenotype, and what is ?
- (b) What are and ?
- (c) Why is the wrong first step?
(a) Subtract from 1. The recessive phenotype is , so .
(b) Square root, then subtract. With from (a): and .
(c) The dominant class is mixed. The 84% lumps () with (), so it is not the square of any allele frequency. Never take ; start from the recessive class.
Hardy-Weinberg Basics 🎯
Key Takeaways — Part 1
- The H-W equation. , and at equilibrium the genotypes are .
- Five H-W conditions. No mutation, no selection, random mating, no gene flow and a very large population.
- The solving recipe. Recessive phenotype , then , , then whatever is asked.
- Rare alleles hide in carriers. Carriers dwarf the affected; peaks at 0.5 when .
Common traps
- Rooting the dominant phenotype. It lumps with ; subtract it from 1 first, then square-root .
- Counting homozygotes once. Each homozygote carries two copies: .
- Genotype as allele frequency. 50 aa out of 200 is a genotype frequency (0.25); comes from counting copies.
- Allele as carrier frequency. Affected 1 in 2,500 gives , but carriers are .
Part 2: Breaking Equilibrium: Drift, Founder Effects & Gene Flow
Population Genetics — Deep Dive
Part 2 of 4 — Breaking Equilibrium: Drift, Founder Effects & Gene Flow
Genetic Drift: Chance, Not Fitness
Genetic drift is random generation-to-generation change in allele frequencies, caused by sampling error in which gametes happen to form the next generation. Key properties:
- Strength scales inversely with population size: dramatic in small populations, negligible in huge ones
- Direction is random — drift is not adaptive and can fix harmful alleles or eliminate beneficial ones
- Given time, drift drives every allele to fixation (frequency 1) or loss (frequency 0); a neutral allele's chance of eventual fixation equals its current frequency
- Drift always reduces heterozygosity within a population while making isolated populations diverge from each other
Two Named Drift Scenarios
Bottleneck effect: a catastrophe (disease, hunting, natural disaster) randomly kills most of the population. The survivors' allele frequencies — determined by luck, not fitness — become the new gene pool. Example: northern elephant seals, hunted to about 20 individuals, retain very low genetic diversity even after rebounding to over 100,000.
Founder effect: a small group leaves to establish a new population. The founders carry only a subset of the source population's variation, and any allele over-represented among them (by chance) becomes common in the descendants. Examples: Ellis-van Creveld syndrome in the Old Order Amish; Tay-Sachs and other alleles in historically small, endogamous populations.
Both are drift; the difference is HOW the small sample arises (survivors vs. emigrants).
Gene Flow (Migration)
Movement of alleles between populations via migrating, breeding individuals:
- Homogenizes populations — makes allele frequencies more similar, opposing divergence by drift or local selection
- Can introduce new alleles (acts a bit like mutation from the receiving population's perspective)
- One generation of migration at rate shifts the recipient's allele frequency toward the donor's:
Mutation
The ultimate SOURCE of all new alleles, but per-locus mutation rates (roughly to per gamete per generation) are too small to change frequencies much on their own. Mutation supplies variation; selection and drift determine its fate.
<!-- yield:low -->Effective Population Size (concept level)
The effective population size is the size of an idealized population that would drift as much as the real one. Unequal sex ratios, variance in offspring number, and past bottlenecks all make smaller than the census count — often much smaller. Conservation passages use to explain why a species with thousands of individuals can still be drifting rapidly.
<!-- /yield -->Worked Example — Reading a Drift Experiment
Problem 1. A researcher founds 100 fly populations of 20 and 100 of 500, all at frequency 0.5 for a neutral allele . After 19 generations the small populations have scattered widely, many already fixed (1) or lost (0); the large ones stay near 0.5.
- (a) Why do the small populations scatter while the large ones stay near 0.5?
- (b) Why does a population that reaches 0 or 1 stay there?
- (c) What fraction of the small populations should ultimately fix ?
- (d) What is happening to heterozygosity within each small population?
- (e) What happens to the spread across populations, and how would selection look instead?
(a) Drift and size. With 20 breeding flies, each generation is a small random sample of gametes, so allele frequencies take large random steps: genetic drift. A sample of 500 flies is a far better copy of the parent gene pool, so those populations take tiny steps.
(b) Absorbing states. Once a population hits 0 or 1, it stays: there is no mutation in the experiment, so a lost allele cannot return and a fixed one has no rival. Fixation and loss are absorbing states.
(c) Fixation probability. For a neutral allele, the probability of eventual fixation equals its starting frequency, , so in time about half the small populations fix it and half lose it. Had it started at 0.1, only about 10 of 100 would fix.
(d) Within: variation falls. WITHIN each small population, heterozygosity falls generation after generation, heading toward zero, because drift removes variation.
(e) Between: populations diverge. ACROSS populations, the variance in allele frequency grows as each drifts its own way. Selection would instead push the replicates in the SAME direction; this contrast is how MCAT data separate drift from selection.
Worked Example — Gene Flow Toward a Donor Population
Problem 2. A resident population has . Each generation, 20% of its breeders are migrants from a large neighbouring population with .
- (a) What is the resident after one generation?
- (b) What is it after a second generation?
- (c) How does the gap to the donor change each generation, and what does that show?
(a) One generation.
(b) Two generations. Starting from from (a):
(c) The gap shrinks. The gap to the donor goes , shrinking by a factor of each generation. Gene flow homogenizes: the resident's frequency closes in on the donor's.
Drift, Founder & Bottleneck 🎯
Key Takeaways — Part 2
- Drift is sampling error. Random allele-frequency change, strong in small populations, directionless and non-adaptive.
- Fixation or loss. Drift ends in fixation or loss, eroding heterozygosity within populations and scattering them apart.
- Bottleneck vs. founder effect. Both are drift: random survivors of a crash (elephant seals) or a small emigrant group (Amish).
- Gene flow homogenizes. pulls populations toward each other.
Common traps
- Drift as adaptation. Drift is random: it can fix harmful alleles or lose beneficial ones, so it is not selection.
- Even odds of fixation. A neutral allele fixes with probability equal to its frequency: 0.2 at 0.2, and 0.5 only at 0.5.
- Drift data read as selection. Drift scatters replicates both ways and weakens with size; selection shifts them all one way.
- Mutation as a fast force. Mutation supplies every new allele but is far too slow to shift allele frequencies on its own.
Low-yield extras
- Effective population size is the size of an idealized population that drifts as much as the real one; unequal sex ratios, offspring-number variance, and past bottlenecks push it far below the census count
Part 3: Selection in Populations: Fitness, Selection Modes & Balancing Selection
Population Genetics — Deep Dive
Part 3 of 4 — Selection in Populations: Fitness, Selection Modes & Balancing Selection
Fitness Made Quantitative
Relative fitness scores each genotype's reproductive output against the best genotype (which gets ). The selection coefficient measures the reproductive penalty. If aa individuals leave 70 offspring for every 100 left by AA, then and . A lethal or sterile genotype has , .
Selection changes allele frequencies by weighting each genotype's contribution to the next gene pool by its fitness — it is Hardy-Weinberg with the "no selection" condition deliberately broken.
Three Modes of Selection on a Quantitative Trait
| Mode | Favored phenotypes | Mean | Variance |
|---|---|---|---|
| Directional | One extreme | Shifts | Usually decreases |
| Stabilizing | Intermediate | Unchanged | Decreases |
| Disruptive | Both extremes | Unchanged | Increases (can become bimodal) |
The population-genetic signature to memorize: directional moves the mean; stabilizing and disruptive move the variance (down and up, respectively).
Balancing Selection: Keeping Both Alleles
Heterozygote advantage (overdominance) maintains a stable polymorphism because the fittest genotype, Aa, cannot breed true — every generation of matings regenerates both homozygotes.
Classic case: sickle cell. Where malaria is endemic, HbA/HbS heterozygotes resist severe malaria, outreproducing both HbA/HbA (malaria-susceptible) and HbS/HbS (sickle cell disease). Selection therefore holds HbS at high frequency in malaria regions and lets it decay where malaria is absent — allele frequency maps mirror malaria maps.
Heterozygote disadvantage (underdominance) is unstable: whichever allele is rarer spends more of its time in low-fitness heterozygotes, so it is driven out. The population tips toward fixing whichever allele starts on the favored side of an unstable equilibrium (the more common allele when the two homozygotes are equally fit).
Negative frequency-dependent selection gives a genotype higher fitness when it is RARE (predators overlook uncommon prey morphs; rare self-incompatibility alleles in plants find more compatible mates). It actively protects polymorphism, pushing frequencies back toward an interior equilibrium.
Inbreeding: Mating, Not Selection
Inbreeding (mating between relatives) redistributes genotypes — heterozygotes become rarer and both homozygote classes become more common — but by itself it does not change allele frequencies. It is not evolution at the allele level; it changes WHO carries the alleles. Inbreeding depression follows because rare deleterious recessives are suddenly exposed as homozygotes.
<!-- yield:low -->The inbreeding coefficient is the probability that an individual's two alleles are identical by descent. Heterozygosity falls from to , with the deficit split equally between the two homozygote classes.
<!-- /yield -->Why Rare Recessives Resist Selection
Selection can only "see" a recessive allele in aa homozygotes. When is small, only of the population is exposed while the fraction hides in unaffected carriers. At , carriers outnumber affected individuals by about 200 to 1 — so even a lethal recessive declines very slowly, and eugenic "removal of the affected" is mathematically futile. Selection against a dominant deleterious allele, by contrast, is fast: every copy is exposed.
Worked Example — One Generation of Selection Against aa
Problem 1. A large, randomly mating insect population has , . A new pesticide kills half of all aa individuals before reproduction (, , so ).
- (a) What are the genotype frequencies at birth?
- (b) What is the mean fitness ?
- (c) What is in the next generation?
(a) Genotypes at birth (H-W).
(b) Weight each genotype by fitness. With the frequencies from (a):
(c) New frequency of a. Each surviving Aa contributes one a allele of its two; each surviving aa contributes two of two. With from (b):
One generation of strong selection moves from 0.40 only to about 0.35.
Problem 2. Now suppose aa is lethal () and .
- (a) What fraction of the population is affected, and what fraction carries the allele unseen?
- (b) What share of all a copies sits in aa individuals?
- (c) How far does fall in one generation?
(a) Affected vs. carriers. Selection can remove only the aa class, of the population, while carries the allele unseen: about 400 carriers per affected person.
(b) Exposed copies. The share of all a copies sitting in aa individuals is , just 0.5%.
(c) One generation. Even a lethal removes only about 0.5% of the allele's copies per generation: falls from 0.00500 to about 0.00498. Rare recessives are nearly immortal in the gene pool.
<!-- yield:low -->The general recursion for a recessive lethal is (here ), which gives after generations: halving a rare lethal's frequency takes about generations (about 200 generations at ).
<!-- /yield -->Problem 3. In a malaria zone, suppose , (malaria deaths), (sickle cell disease).
- (a) Why can neither allele be eliminated?
- (b) Where does the S allele settle?
(a) Heterozygote advantage. Whichever allele becomes rare sits almost entirely in the fittest genotype, AS, so selection pushes it back up; matings also keep regenerating both homozygotes.
(b) The balance point. The homozygote penalties are and . S settles where they balance, near 0.1 to 0.2, despite SS being severely harmful.
<!-- yield:low -->The equilibrium is .
<!-- /yield -->Selection & Balancing Polymorphism 🎯
Key Takeaways — Part 3
- Relative fitness. is scaled to the best genotype (), and the selection coefficient is .
- Three selection modes. Directional shifts the mean; stabilizing shrinks the variance; disruptive inflates it toward bimodality.
- Balancing selection. Heterozygote advantage (sickle cell where malaria is endemic) and rare-type advantage keep both alleles.
- Rare recessives resist selection. Hidden in carriers (), a rare lethal loses only about the fraction of its copies per generation.
Common traps
- Fitness vs. selection coefficient. aa leaving 60 offspring per 100 has but ; do not swap them.
- Inbreeding changing allele frequencies. It turns heterozygotes into homozygotes; moves only if selection then acts on the exposed recessives.
- Underdominance as balancing. Heterozygote disadvantage is unstable: it fixes one allele (usually the more common one) rather than preserving both.
- HbS kept by mutation or drift. Mutation is far too slow and drift weak in large populations; heterozygote advantage holds HbS.
Low-yield extras
- The inbreeding coefficient (probability two alleles are identical by descent) lowers heterozygosity to ; a recessive lethal follows , so halving a rare lethal takes about generations
Part 4: MCAT Integration: X-Linked, Multi-Allele & Passage-Style H-W
Population Genetics — Deep Dive
Part 4 of 4 — MCAT Integration: X-Linked, Multi-Allele & Passage-Style H-W
X-Linked Hardy-Weinberg
Males are hemizygous: one X means one allele, so a male's phenotype directly reports his genotype.
| Group | Frequency (X-linked recessive, allele freq q) |
|---|---|
| Affected males | |
| Affected females | |
| Carrier females |
Two exam-ready consequences:
- The frequency of affected MALES equals the allele frequency itself — the fastest way to read from a passage.
- The male-to-female ratio of an X-linked recessive condition is , so the rarer the allele, the more male-biased the condition. Color blindness at gives a ratio of .
Multiple Alleles: ABO Blood Groups
With three alleles ( at frequency , at , at ): , and genotypes expand as
| Blood type | Genotypes | Frequency |
|---|---|---|
| A | ||
| B | ||
| AB | ||
| O |
Solving order: type O is the only pure class, so start with , then use type A (or B) plus to extract (or ).
Testing H-W Fit: Chi-Square Logic
- From OBSERVED genotype counts, compute allele frequencies by allele counting.
- Use those frequencies to compute EXPECTED H-W counts (, , ).
- over the three genotype classes.
- Degrees of freedom = (number of classes) − (number of independent allele frequencies estimated) − 1 = for a biallelic locus — NOT 2, because was estimated from the same data.
- Compare to the critical value (3.84 at df = 1, 5% level): larger means the population deviates from H-W.
Diagnosing WHICH Assumption Broke
The chi-square only says "not H-W" — the pattern of deviation names the culprit:
- Heterozygote deficit (too few Aa): inbreeding or positive assortative mating; OR unrecognized population substructure — pooling two subpopulations with different allele frequencies produces a heterozygote shortfall even if each subpopulation is itself in H-W.
- This pooling artifact is named the Wahlund effect.
- Heterozygote excess: overdominant selection acting before sampling, or negative assortative mating.
- Allele frequencies shifting across generations (genotypes still fitting H-W within each generation): selection, drift, or migration — use population size and directionality across replicates to separate them.
Combining H-W with Pedigrees
Passages love hybrid problems: get the CARRIER probability of an outside partner from population data (, or the shortcut for rare alleles), get the family member's carrier probability from Mendelian logic (e.g., an unaffected sibling of an affected child is a carrier with probability ), then multiply: risk of an affected child .
Worked Example — X-Linked Color Blindness, Both Sexes
Problem 1. In a large population, 8% of males are red-green color blind (X-linked recessive).
- (a) What fraction of females is color blind?
- (b) What fraction of females are carriers?
- (c) What is the male-to-female ratio of the condition?
- (d) What is the probability that a random woman's first son is color blind?
- (e) What did (a)–(d) assume, and how might a passage break it?
(a) Males read out the allele frequency. Hemizygous males give directly, so . Color-blind females need two copies: .
(b) Carrier females. With and from (a): . Nearly 15% of women carry the allele, but only 0.64% express it.
(c) Sex ratio of the condition. : twelve to thirteen affected males for every affected female, the hallmark of X-linked recessive inheritance at the population level.
(d) A random woman's son. A son inherits one of his mother's two X chromosomes at random, so his chance of the allele equals its frequency among female X chromosomes: . Check: affected mothers plus carriers gives .
(e) Assumption check. The calculation assumed equal allele frequencies in the two sexes and mating at random with respect to color vision. A passage may break this on purpose (a founder population, assortative mating), then ask why the observed female frequency exceeds .
Worked Example — Pedigree Meets Population
Problem 2. An autosomal recessive disease affects 1 in 900 people. An unaffected woman whose brother is affected (both parents unaffected) has a child with an unrelated man from the general population.
- (a) What is , and what is the man's carrier risk?
- (b) What is the woman's carrier risk?
- (c) What is the chance their child is affected?
(a) The outsider: population data. , so . His carrier risk is (exactly ).
(b) The relative: Mendel. Her parents are obligate carriers (). She is unaffected, so she is one of the three non- outcomes, and two of those are : carrier risk .
(c) Multiply. Both must be carriers, then the child must be : with from (b) and from (a), risk .
Passage-Style Hardy-Weinberg 🎯
Key Takeaways — Part 4
- X-linked recessive. Males , affected females , carriers , ratio ; a random woman's son is affected with probability .
- ABO with three alleles. ; start from type O (), the only single-genotype class; AB .
- Chi-square fit test. Expected counts come from allele-counted frequencies; , critical 3.84 at df .
- Hybrid pedigree risk. Outsider carrier , unaffected sib of an affected child ; multiply both by .
Common traps
- Squaring for males. Hemizygous males show the allele frequency itself, ; only affected females need .
- Two degrees of freedom. Estimating from the same data costs one more: df for two alleles, not 2.
- Misreading H-W deviations. Too few Aa means nonrandom mating or pooling, not overdominance (an excess); shifting means selection, drift or migration.
- One-third for the sib. An unaffected sib of an affected child is a carrier with probability ; is the chance of AA.
Low-yield extras
- The heterozygote deficit from pooling subpopulations is named the Wahlund effect