Evolution and Behavioural Ecology in Numbers: F-Statistics and Panmixia, Hardy–Weinberg Tests, Selection and Drift, Life-History Trade-Offs, Hamilton's Rule, Optimal Foraging and Signal Attenuation

Section 2 of the Ecology and Evolution paper names F_ST, panmixia, trade-offs and maximum likelihood, and Section 4 names sensory ecology and social behaviour; the earlier chapters of those sections state them without a worked case. Two populations with allele frequencies 0.8 and 0.2 have F_ST = 0.36 and N_e m = 0.44 migrants per generation; an observed 60:30:10 genotype count against Hardy–Weinberg gives χ² = 4.00 (p = 0.046); a haploid advantage of 5% takes an allele from 1% to 50% in 94 generations; a life table of l = (1, 0.5, 0.2) and m = (0, 3, 4) gives R₀ = 2.3 and r = 0.361 per year; Hamilton's rule rB > C is 1.5 > 1 for full siblings and a benefit of 3; and an optimally foraging animal leaves a patch after 3.01 time units.
Overview

Panmixia, Hardy–Weinberg and F-Statistics

1 min read · 1 part

Panmixia is random mating in one undivided population, and its consequence is the Hardy–Weinberg expectation: genotype frequencies p², 2pq, q² after one generation, with no change in allele frequencies without selection, drift, mutation or migration. A sample of 100 with 60 AA, 30 Aa and 10 aa has p = (120 + 30)/200 = 0.75, so expected counts are 56.25, 37.5 and 6.25 and χ² = Σ(O − E)²/E = 4.00 (1 degree of freedom: 3 classes − 1 − 1 estimated parameter); p = 0.046, so Hardy–Weinberg is rejected at 5% — a heterozygote deficit. The inbreeding coefficient F = 1 − H_obs/H_exp = 1 − 0.30/(2 × 0.75 × 0.25) = 0.20. Wright's F-statistics partition this: F_IS (within-population inbreeding), F_ST (differentiation between populations) and F_IT. F_ST = (H_T − H_S)/H_T. For two populations with p₁ = 0.8 and p₂ = 0.2, p̄ = 0.5, H_T = 2 × 0.5 × 0.5 = 0.50, H_S = (2 × 0.16 + 2 × 0.16)/2 = 0.32, so F_ST = 0.36 — very strong structure (values above 0.25 are 'very great'; human continental populations are about 0.1). The island-model relation F_ST ≈ 1/(4N_em + 1) gives the migration rate: N_em = (1/F_ST − 1)/4 = 0.44 migrants per generation, below the benchmark of one migrant per generation that prevents differentiation by drift. Departures from panmixia — assortative mating, inbreeding, population subdivision (the Wahlund effect: a deficit of heterozygotes when subpopulations are pooled) — all show up as F > 0.

QuantityFormulaValue here
Hardy–Weinberg χ²Σ(O − E)²/E4.00
Inbreeding coefficient1 − H_obs/H_exp0.20
F_ST(H_T − H_S)/H_T0.36
Migrants per generation(1/F_ST − 1)/40.44

Panmixia is random mating in one undivided population, and its consequence is the Hardy–Weinberg expectation: genotype frequencies p², 2pq, q² after one generation, with no change in allele…

Selection and Genetic Drift

1 min read · 1 part

Selection changes allele frequency deterministically. For a haploid allele with relative fitness 1 + s, p′ = p(1 + s)/(1 + sp), and the log-odds ln(p/q) increases by ln(1 + s) every generation, so the time to go from p = 0.01 to p = 0.5 at s = 0.05 is t = [ln(0.5/0.5) − ln(0.01/0.99)]/ln 1.05 = 4.595/0.0488 = 94 generations: a weak advantage takes a long time to start and then moves fast through the middle. For a diploid with additive effect Δp ≈ spq/2... in the general form Δp = pq[p(w₁₁ − w₁₂) + q(w₁₂ − w₂₂)]/w̄, and heterozygote advantage (overdominance) gives a stable polymorphism at p̂ = s₂/(s₁ + s₂) (sickle-cell, with s₁ = 0.2 against the normal homozygote and s₂ = 0.8 against HbSS: p̂ = 0.8). Drift is the random change of frequency in a finite population: the variance per generation is pq/2N (for N = 50, p = 0.5, 0.0025, standard deviation 0.05); the expected heterozygosity decays as H_t = H₀(1 − 1/2N)ᵗ, so after 50 generations in a population of 50 only 61% of the heterozygosity remains. The mean time to fixation of a neutral allele is about 4N_e generations, and the fixation probability of a neutral allele equals its frequency (so a new mutation fixes with probability 1/2N), while a favourable allele fixes with probability about 2s. Drift dominates when N_e s ≪ 1, selection when N_e s ≫ 1. A bottleneck or founder event reduces N_e to the harmonic mean over generations.

QuantityFormulaValue here
Generations, p 0.01 → 0.5, s = 0.05Δ logit/ln(1 + s)94
Drift variance, N = 50pq/2N0.0025
Heterozygosity left after 50 generations(1 − 1/2N)ᵗ61%
Neutral fixation time≈ 4N_egenerations

Selection changes allele frequency deterministically. For a haploid allele with relative fitness 1 + s, p′ = p(1 + s)/(1 + sp), and the log-odds ln(p/q) increases by ln(1 + s) every…

Life-History Trade-Offs and Hamilton's Rule

1 min read

Resources are finite, so investment in one fitness component costs another: current reproduction against survival and future reproduction, number against size of offspring (Lack's clutch size, Smith–Fretwell), growth against reproduction. The life table quantifies fitness: with survivorship lₓ and fecundity mₓ at ages 1, 2, 3 of (1, 0.5, 0.2) and (0, 3, 4), the net reproductive rate is R₀ = Σ lₓmₓ = 1.5 + 0.8 = 2.3 offspring per female per lifetime, the generation time T ≈ Σ x lₓmₓ/R₀ = (3 + 2.4)/2.3 = 2.35 years, and the intrinsic rate of increase r solves the Euler–Lotka equation Σ e^(−rx) lₓmₓ = 1: 1.5e^(−2r) + 0.8e^(−3r) = 1 gives r = 0.361 per year (a quick approximation is r ≈ ln R₀/T = 0.355). Population grows when R₀ > 1 and r > 0; delaying reproduction raises survival to breed but lowers r, and early reproduction wins when juvenile mortality is high (r-selection) while delayed, high investment wins in stable, crowded environments (K-selection). Hamilton's rule: an altruistic act is favoured by kin selection when rB > C, where r is the coefficient of relatedness (0.5 for full siblings and parent–offspring, 0.125 for first cousins), B the fitness benefit to the recipient and C the cost to the actor. For r = 0.5, B = 3 and C = 1: rB = 1.5 > 1, favoured; for first cousins rB = 0.375 < 1, not. In haplodiploid Hymenoptera sisters share 0.75 of their genes, a classic explanation for worker sterility.

QuantityFormulaValue here
Net reproductive rateΣ lₓmₓ2.3
Intrinsic growth rateΣ e^(−rx) lₓmₓ = 10.361 yr⁻¹
Hamilton, full sibs, B = 3, C = 1rB − C1.5 − 1 > 0
Hamilton, first cousinsrB − C0.375 − 1 < 0

Resources are finite, so investment in one fitness component costs another: current reproduction against survival and future reproduction, number against size of offspring (Lack's clutch…

Optimal Foraging and Sensory Ecology

2 min read · 1 part

Behaviour is shaped by selection to maximise a currency such as net energy intake. The marginal value theorem (Charnov) says a forager in a patch with diminishing returns g(t) should leave when the instantaneous gain rate falls to the average rate for the habitat: g′(t) = g(t)/(t* + τ), where τ is the travel time between patches. For g(t) = 10(1 − e^(−0.5t)) and τ = 4: solving 5e^(−0.5t) = 10(1 − e^(−0.5t))/(t + 4) gives t* = 3.01, and the long-run rate is g(t)/(t + τ) = 1.11 units per unit time; longer travel time (a sparser habitat) increases t*, the animals stay longer in each patch. Diet choice adds the prey with the highest profitability (energy/handling time) first and includes a lower-ranked item only if its profitability exceeds the overall rate. Sensory ecology: signals fade with distance; sound from a point source loses 6 dB per doubling of distance (inverse-square law, spherical spreading) in addition to absorption, so a call of 80 dB at 1 m is 80 − 20 log₁₀ 16 = 55.9 dB at 16 m. Signals are shaped by the environment: low-frequency calls travel farther in forest (less scattering), high-contrast colours stand out against the background light in open habitats, and chemical signals persist but are slow and directionless. The Weber–Fechner law says the just-noticeable difference is a constant fraction of the stimulus, ΔI/I = k, which is why sensory systems respond on a logarithmic scale; and the signal detection problem trades false alarms against missed detections.

QuantityFormulaValue here
Optimal patch residenceg′(t) = g(t)/(t* + τ)3.01
Long-run intake rateg(t)/(t + τ)1.11
Call level at 16 m from 80 dB at 1 m80 − 20 log₁₀ d55.9 dB
Weber fractionΔI/I = kconstant
🎯 Hardy–Weinberg, F and Hamilton's rule, worked
With allele frequency p = 0.3 the Hardy–Weinberg genotype frequencies are p² = 0.09, 2pq = 0.42 and q² = 0.49. If the observed heterozygosity is 0.30 the inbreeding coefficient is F = 1 − H_o/H_e = 1 − 0.30/0.42 = 0.286, a deficit of heterozygotes. Hamilton's rule says an altruistic act is favoured when rb > c: for full siblings r = 0.5, so a benefit b = 3 at a cost c = 1 gives 1.5 > 1 and the trait can spread, while for cousins r = 0.125 it cannot.

Behaviour is shaped by selection to maximise a currency such as net energy intake. The marginal value theorem (Charnov) says a forager in a patch with diminishing returns g(t) should leave…

Key takeaways

  • Hardy–Weinberg gives p², 2pq, q²; test with χ² (1 df); F = 1 − H_obs/H_exp; F_ST = (H_T − H_S)/H_T and N_em = (1/F_ST − 1)/4.
  • Selection raises the log-odds of an allele by ln(1 + s) per generation; drift has variance pq/2N and removes heterozygosity as (1 − 1/2N)ᵗ; drift dominates when N_e s ≪ 1.
  • R₀ = Σ lₓmₓ and r from Σ e^(−rx) lₓmₓ = 1; trade-offs arise because resources are finite.
  • Hamilton's rule: altruism spreads when rB > C; r = 0.5 for full siblings and 0.125 for first cousins.
  • The marginal value theorem: leave a patch when its instantaneous gain rate equals the habitat average; sound loses 6 dB per doubling of distance; the Weber fraction is constant.

Practice questions (24)

Attempt each one before opening the answer. Every explanation names the tempting wrong option as well as the right one, because that is where marks are lost.

  1. Two populations have allele frequencies 0.8 and 0.2 at a locus. Using F_ST = (H_T − H_S)/H_T with H = 2pq, the F_ST (two decimals) is:

    Numerical answer — type the value.

    Show answer

    Answer: 0.36

    p̄ = 0.5 gives H_T = 0.5; each subpopulation has H = 2 × 0.8 × 0.2 = 0.32, so H_S = 0.32 and F_ST = (0.5 − 0.32)/0.5 = 0.36.
  2. For F_ST = 0.36 in an island model, the number of migrants per generation N_em = (1/F_ST − 1)/4 (two decimals) is:

    Numerical answer — type the value.

    Show answer

    Answer: 0.44

    1/0.36 = 2.78; minus 1 is 1.78; divided by 4 is 0.44 — fewer than one migrant per generation, so drift is differentiating the populations.
  3. A sample has 60 AA, 30 Aa and 10 aa. The Hardy–Weinberg chi-squared statistic (one decimal) is:

    Numerical answer — type the value.

    Show answer

    Answer: 4.0

    p = 0.75; expected 56.25, 37.5, 6.25; χ² = 0.25 + 1.5 + 2.25 = 4.0, above the 5% critical value 3.84 for 1 df, so Hardy–Weinberg is rejected (heterozygote deficit).
Show the other 21 questions
  1. The Wahlund effect refers to:

    1. Loss of alleles by bottleneck
    2. An excess of heterozygotes from outbreeding
    3. A deficit of heterozygotes when subdivided populations are pooled and analysed as one
    4. Frequency-dependent selection
    Show answer

    Answer: C — A deficit of heterozygotes when subdivided populations are pooled and analysed as one

    Pooling subpopulations with different allele frequencies lowers the observed heterozygosity below the pooled Hardy–Weinberg expectation: F_ST > 0. It is not caused by a bottleneck or by selection.
  2. A haploid allele has a selective advantage s = 0.05. The number of generations for it to rise from frequency 0.01 to 0.5 (nearest integer) is:

    Numerical answer — type the value.

    Show answer

    Answer: 94

    ln(p/q) rises by ln 1.05 = 0.0488 per generation; from ln(0.01/0.99) = −4.595 to 0 needs 4.595/0.0488 ≈ 94 generations.
  3. In a population of N = 50 the proportion of initial heterozygosity remaining after 50 generations of drift, (1 − 1/2N)^t, in per cent (nearest integer) is:

    Numerical answer — type the value.

    Show answer

    Answer: 61

    (1 − 1/100)⁵⁰ = 0.99⁵⁰ = 0.605, so about 61% remains; the approximation e^(−t/2N) = e^(−0.5) = 0.607 gives the same.
  4. A life table has survivorship (1, 0.5, 0.2) and fecundity (0, 3, 4) at ages 1, 2, 3. The net reproductive rate R₀ is:

    Numerical answer — type the value.

    Show answer

    Answer: 2.3

    R₀ = Σ lₓmₓ = 1 × 0 + 0.5 × 3 + 0.2 × 4 = 1.5 + 0.8 = 2.3 offspring per female per lifetime; above 1, so the population grows.
  5. Under Hamilton's rule, altruism toward a first cousin (r = 0.125) with benefit B = 3 and cost C = 1 is:

    1. Not favoured, since rB = 0.375 < C = 1
    2. Neutral
    3. Favoured, since r > 0
    4. Favoured, since B > C
    Show answer

    Answer: A — Not favoured, since rB = 0.375 < C = 1

    The condition is rB > C, not B > C: 0.125 × 3 = 0.375 is below the cost 1. It would be favoured for a full sibling (0.5 × 3 = 1.5 > 1).
  6. A call of 80 dB at 1 m spreads spherically with no absorption. The sound level at 16 m in dB (one decimal) is:

    Numerical answer — type the value.

    Show answer

    Answer: 55.9

    Level = 80 − 20 log₁₀(16) = 80 − 24.1 = 55.9 dB: 6 dB lost for each of four doublings of distance.
  7. Which statements are correct?

    1. Heterozygote advantage maintains a stable polymorphism
    2. Drift is stronger in small populations
    3. According to the marginal value theorem, a longer travel time between patches increases the optimal time spent in each patch
    4. A neutral allele's fixation probability is always zero
    Show answer

    Answer: A — Heterozygote advantage maintains a stable polymorphism; B — Drift is stronger in small populations; C — According to the marginal value theorem, a longer travel time between patches increases the optimal time spent in each patch

    A neutral allele fixes with probability equal to its frequency, not zero. The other three statements are standard results.
  8. An F_ST value of 0 between two populations indicates that:

    1. they are different species
    2. they are completely inbred
    3. they have identical allele frequencies, with no genetic differentiation
    4. they share no alleles at all
    Show answer

    Answer: C — they have identical allele frequencies, with no genetic differentiation

    F_ST measures the share of total genetic variance that lies between populations; 0 means none does. "Share no alleles" is the tempting answer only as the opposite extreme: complete fixation of different alleles gives F_ST = 1.
  9. Genetic drift changes allele frequencies most rapidly in:

    1. small populations
    2. large populations
    3. populations under strong selection only
    4. populations with high migration only
    Show answer

    Answer: A — small populations

    The variance in allele-frequency change from sampling is pq/(2Nₑ) per generation, so drift is strongest when Nₑ is small. Strong selection is the tempting answer because it also changes frequencies fast, but that change is deterministic, not drift.
  10. A population's net reproductive rate R₀ = Σ lₓmₓ is greater than 1. This means the population is:

    1. growing, each individual more than replacing itself per generation
    2. exactly stable
    3. declining
    4. at carrying capacity
    Show answer

    Answer: A — growing, each individual more than replacing itself per generation

    R₀ is the mean number of female offspring produced per female over a lifetime; above 1 the population grows. "Exactly stable" is the tempting answer because R₀ is a single summary number, but stability corresponds to R₀ = 1.
  11. Charnov's marginal value theorem predicts that a forager should leave a depleting food patch when:

    1. its instantaneous rate of gain in the patch falls to the average rate for the whole habitat
    2. it has eaten its first prey item
    3. a fixed time has passed regardless of food
    4. the patch is completely empty
    Show answer

    Answer: A — its instantaneous rate of gain in the patch falls to the average rate for the whole habitat

    Staying beyond the point where the marginal gain rate equals the habitat average lowers overall intake, so the optimal forager leaves before the patch is exhausted. "Completely empty" is the tempting answer because it seems thorough, but the last few items take too long to find to be worth staying for.
  12. In a diploid population of N = 50 individuals, the probability that a single new neutral mutation is eventually fixed by drift is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 0.01

    A new allele starts as one copy among 2N = 100, and for a neutral allele the fixation probability equals its initial frequency, 1/100 = 0.01. Answering 0.02 uses 1/N, forgetting that diploids carry two copies each.
  13. Pacific salmon, which spawn once in a lifetime and then die, are an example of:

    1. neoteny
    2. semelparity
    3. parthenogenesis
    4. iteroparity
    Show answer

    Answer: B — semelparity

    Semelparous organisms put all their reproductive effort into a single breeding event. Iteroparity is the tempting answer because most fish breed repeatedly, but iteroparous species reproduce several times over their lives.
  14. In Wright's island model, raising the number of migrants exchanged per generation (Nm) will:

    1. leave F_ST unchanged
    2. raise F_ST, making populations more different
    3. lower F_ST, making populations more similar
    4. make F_ST negative
    Show answer

    Answer: C — lower F_ST, making populations more similar

    At equilibrium F_ST ≈ 1/(4Nm + 1), so more migrants means less differentiation; even one migrant per generation keeps F_ST near 0.2. Raising F_ST is the tempting answer only if migration is confused with isolation, its opposite.
  15. For a new neutral mutation that does go to fixation, the mean time to fixation is about 4Nₑ generations. For Nₑ = 100, this is about ____ generations.

    Numerical answer — type the value.

    Show answer

    Answer: 400

    4Nₑ = 4 × 100 = 400 generations. Answering 200 uses 2Nₑ, the number of gene copies, rather than the expected fixation time.
  16. A prey item yields 20 J of energy and takes 4 s to handle. Its profitability, in J/s, is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 5

    Profitability = energy/handling time = 20/4 = 5 J/s; optimal diet models rank prey by this ratio. Answering 80 multiplies instead of dividing, and adding search time would give the overall intake rate, not profitability.
  17. A population has an observed heterozygosity of 0.30 at a locus where the Hardy-Weinberg expected heterozygosity is 0.50. Its inbreeding coefficient F_IS is ____.

    Numerical answer — type the value.

    Show answer

    Answer: 0.4

    F = 1 − H_obs/H_exp = 1 − 0.30/0.50 = 0.4, a 40% heterozygote deficit. Answering 0.2 subtracts the heterozygosities (0.50 − 0.30) without scaling by the expected value.
  18. A recessive allele is lethal in homozygotes and starts at q = 0.5 in a randomly mating population. After one generation of selection, its frequency is ____ (three decimal places).

    Numerical answer — type the value.

    Show answer

    Answer: 0.333

    With s = 1 against aa, q′ = q/(1 + q) = 0.5/1.5 = 0.333; check by counting: survivors are AA 0.25 and Aa 0.5, so q′ = 0.25/0.75. Answering 0.25 removes the aa genotype but forgets to renormalise by the survivors.
  19. A population has net reproductive rate R₀ = 2 and generation time T = 3 years. Using r ≈ ln R₀/T, its intrinsic rate of increase, per year, is ____ (three decimal places).

    Numerical answer — type the value.

    Show answer

    Answer: 0.231

    r ≈ ln 2/3 = 0.693/3 = 0.231 per year. Answering 0.667 uses R₀/T, and 0.333 uses (R₀ − 1)/T, neither of which converts generational growth into a continuous rate.
  20. Under the infinite-alleles model, equilibrium heterozygosity is H = θ/(1 + θ) with θ = 4Nₑμ. For Nₑ = 10 000 and μ = 1 × 10⁻⁵ per generation, H is ____ (three decimal places).

    Numerical answer — type the value.

    Show answer

    Answer: 0.286

    θ = 4 × 10⁴ × 10⁻⁵ = 0.4, so H = 0.4/1.4 = 0.286. Answering 0.4 reports θ itself, which approximates H only when θ is very small.
  21. A forager meets prey A (10 J, handling 2 s) and prey B (3 J, handling 2 s), each at 0.1 per second of search. If it takes both, its long-term rate of energy intake, in J/s, is ____ (three decimal places).

    Numerical answer — type the value.

    Show answer

    Answer: 0.929

    Holling's disc equation: E/T = Σλᵢeᵢ/(1 + Σλᵢhᵢ) = (1.0 + 0.3)/(1 + 0.2 + 0.2) = 1.3/1.4 = 0.929 J/s, higher than 0.833 J/s on A alone, consistent with B's profitability (1.5 J/s) exceeding that rate. Omitting the 1 in the denominator gives 3.25 J/s, which ignores search time.