Population genetics and evolution

Study allele frequencies, the Hardy–Weinberg principle and the χ² test, genetic drift, the mathematics of selection, speciation and phylogenetic trees at university level.

  • University
  • 25 min
  • 10 questions
  • Lesson 36 of 38

In this lesson you will learn

  • Calculate allele frequencies from genotype counts and apply the Hardy–Weinberg equation
  • Test whether a population is in equilibrium with the χ² test
  • Compare quantitatively the effects of drift, selection, gene flow and mutation
  • Explain the routes to speciation and read a phylogenetic tree correctly

If people with a recessive inherited disease rarely had children in the past, why have these alleles not disappeared from the population? Why are some rare diseases more common on small islands? Population genetics answers such questions: it describes evolution mathematically, as a change in allele frequencies.

The gene pool and the Hardy–Weinberg principle

p = (2·NAA + NAa) / (2N)q = 1 − pp = (2·NAA + NAa) / (2N)q = 1 − p

Where

p, q
frequencies of alleles A and a (their shares of the gene pool)
NAA, NAa
numbers of individuals with each genotype
2N
total number of alleles in N diploid individuals

Imagine the gametes are poured into a common “pool” and combine at random. A sperm carries A with probability p and a with probability q, and so does an egg. Then AA has probability p·p, aa has q·q, and Aa can arise in two ways (A from the father and a from the mother, or the reverse): 2pq. This is the expansion of (p + q)² = 1. If the population is very large, mating is random and there is no mutation, migration or selection, allele frequencies stay the same from generation to generation, and genotype frequencies reach these proportions after one generation of random mating (G. H. Hardy and W. Weinberg, 1908).

p² + 2pq + q² = 1

Where

p²
frequency of AA homozygotes
2pq
frequency of Aa heterozygotes (carriers)
q²
frequency of aa homozygotes

Hardy–Weinberg equilibrium is the state of a population when “nothing happens”; deviations from it are a sign of evolutionary forces at work.

Interactive

Loading simulation…
The x-axis is p (the frequency of allele A). The curves are AA (p²), Aa (2pq) and aa (q²). Heterozygotes peak at 0.5 when p = 0.5. As p approaches 1 (a is rare), the carrier curve stays far above the curve for affected aa individuals.

Example 1: hidden carriers

Problem

In some populations of European descent, cystic fibrosis (a recessive disease) affects about 1 in 2500 newborns. Assuming equilibrium, find the allele frequencies and the share of healthy carriers.

Show solutionHide solution

Solution

q² = 1/2500 = 0.0004 ⇒ q = √0.0004 = 0.02; p = 0.98.
2pq = 2 · 0.98 · 0.02 = 0.0392 ≈ 1/25.
There are about 100 times more carriers than affected people: the allele is hard to “get rid of”, because most of its copies hide in heterozygotes that selection cannot “see”.
χ² = Σ (O − E)² / Eχ² = Σ (O − E)² / E

Where

O, E
observed and expected count for each genotype class
df = 1
degrees of freedom: 3 classes − 1 − 1 (p was estimated from the data); the critical value at the 0.05 level is 3.84

Example 2: is the population in equilibrium?

Problem

A population of 1000 plants contains 600 AA, 200 Aa and 200 aa. Is it in Hardy–Weinberg equilibrium?

Show solutionHide solution

Solution

p = (2 · 600 + 200) ÷ 2000 = 0.7, q = 0.3.
Expected: AA = 0.49 · 1000 = 490, Aa = 0.42 · 1000 = 420, aa = 0.09 · 1000 = 90.
χ² = 110²/490 + 220²/420 + 110²/90 ≈ 24.7 + 115.2 + 134.4 ≈ 274.
274 ≫ 3.84 ⇒ the population is not in equilibrium. There are far fewer heterozygotes than expected — a sign of inbreeding (for example self-pollination) or of a population made of isolated subgroups.

Example 3: an X-linked trait

Problem

Red–green colour blindness is an X-linked recessive trait. In populations of Northern European descent about 8% of men are colour-blind. What percentage of women should be colour-blind, and what percentage carriers?

Show solutionHide solution

Solution

Men have one X, so their phenotype frequency equals the allele frequency directly: q = 0.08.
Women (two X): colour-blind q² = 0.0064 = 0.64%; carriers 2pq = 2 · 0.92 · 0.08 ≈ 14.7%.
X-linked recessive traits appear 1/q = 12.5 times more often in men than in women.

Sign up free to keep reading

The rest of the lesson, the quiz and your notes open with an Educora account. Signing up takes a minute, and your progress is saved on all your devices.

The forces of evolution

ForceEffect on allele frequencies
MutationSource of new alleles; changes frequencies very slowly
Gene flow (migration)Makes populations more alike
Genetic driftRandom change; strong in small populations, reduces diversity
Natural selectionThe only force that produces adaptation
Non-random matingChanges genotype frequencies (inbreeding increases homozygotes) but not allele frequencies

Genetic drift comes from the random “sampling” of gametes in every generation. It is especially strong when a population crashes (bottleneck effect) or when a new population is founded by a few individuals (founder effect): northern elephant seals, hunted down to very small numbers in the 19th century, now have very little genetic diversity, and the Amish community of Pennsylvania, USA, has Ellis–van Creveld syndrome far more often than other populations.

Hₜ = H₀ · (1 − 1/(2N))ᵗqₜ = q₀ / (1 + t·q₀)Hₜ = H₀ · (1 − 1/(2N))ᵗqₜ = q₀ / (1 + t·q₀)

Where

Hₜ, H₀
heterozygosity after t generations and at the start (drift in an ideal population of N)
1/(2N)1/(2N)
also the probability that a new neutral mutation eventually becomes fixed
qₜ
frequency of a lethal recessive allele (s = 1) after t generations

Example 4: drift and selection in numbers

Problem

a) In an isolated population of 50 individuals, what percentage of heterozygosity remains after 20 generations? b) A lethal recessive allele has frequency 0.1. How many generations does it take to fall to 0.05 and to 0.01?

Show solutionHide solution

Solution

a) Hₜ/H₀ = (1 − 1/100)²⁰ = 0.99²⁰ ≈ 0.82 — about 18% of heterozygosity is lost.
b) qₜ = q₀/(1 + t·q₀) ⇒ t = 1/qₜ − 1/q₀.
To 0.05: t = 20 − 10 = 10 generations; to 0.01: t = 100 − 10 = 90 generations.
As the allele becomes rare, selection slows down sharply, because most copies sit in heterozygotes — this answers the question at the start of the lesson.

Selection can be directional (favouring one extreme), stabilising (favouring the average; for example, very low and very high birth weights have been riskier in humans) or disruptive (favouring both extremes). Heterozygote advantage keeps both alleles: in regions with malaria, heterozygous carriers of the HbS allele are more resistant to malaria, so the sickle cell allele stays at a high frequency.

Speciation and phylogenetics

According to E. Mayr's biological species concept, a species is a group of populations that can interbreed and produce fertile offspring and are reproductively isolated from other groups. Isolation can act before the zygote (habitat, breeding time, behaviour, mismatched organs, incompatible gametes) or after it (hybrid inviability or sterility — for example, the mule). In allopatric speciation populations are separated by a geographic barrier; sympatric speciation happens in the same area — in plants often through polyploidy (durum wheat is tetraploid and bread wheat is hexaploid).

A phylogenetic tree is a hypothesis about relationships. Branch points (nodes) represent common ancestors, and a clade is an ancestor together with all its descendants. Trees are built by comparing shared derived characters and DNA sequences, choosing the tree that needs the fewest changes (the principle of parsimony). The molecular clock assumes that mutations accumulate at a roughly constant rate: after two species split, both lineages change independently, so the difference between them grows at a rate of 2 · r · t.

t = K / (2r)t = K / (2r)

Where

t
time since the two species split, years
K
differences between the two sequences (substitutions per site)
r
substitution rate per site per year in each lineage

For example, with K = 0.02 and r = 10⁻⁹: t = 0.02 ÷ (2 · 10⁻⁹) = 10⁷ years = 10 million years. The clock must be calibrated with fossils.

1 / 6

Remember

  • p + q = 1 and p² + 2pq + q² = 1; always start with q = √(aa).
  • Carriers of a rare recessive allele ≈ 2q and far outnumber affected individuals.
  • Equilibrium is tested with χ²: df = 1, critical value 3.84.
  • Drift is random and removes 1/(2N) of heterozygosity each generation; selection produces adaptation but acts slowly against rare recessive alleles.
  • Species arise through reproductive isolation; in a phylogenetic tree shared nodes show relatedness, and the molecular clock gives t = K/(2r).
Spotted a mistake or something inaccurate in this lesson?

Check yourself

10 questions. Every correct answer earns XP.

Question 1 / 10

Question 1 / 10. In a population at equilibrium, 16% of individuals show the recessive phenotype (aa). What is the frequency of heterozygotes?