← Evolution

Class 12 Biology · 10 worked problems

Study the worked examples below, or retry these problems as a revision test.

Take topic test →

Hardy–Weinberg calculations and their violations

Allele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.

Practise with worked solutions

Problem 1

A population of 1000 snapdragons, with incomplete dominance for flower colour, has 490 red (RR), 420 pink (Rr) and 90 white (rr) plants. Find the allele frequencies and test whether the population is in Hardy–Weinberg proportions.

Worked solution
  1. Choose the ruleWith visible heterozygotes, count alleles directly: p = (2 × RR + Rr) / 2N.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outR alleles = 980 + 420 = 1400 of 2000, so p = 0.7 and q = 0.3. Expected counts are 0.49, 0.42 and 0.09 of 1000, that is 490, 420 and 90.
  4. Resultp = 0.7 and q = 0.3, and the observed counts match equilibrium.
Problem 2

In a population, 16% of people cannot roll their tongue, a trait assumed here to be recessive. What percentage of people are heterozygous rollers?

Worked solution
  1. Choose the ruleq2q^2 is the frequency of the recessive phenotype, and 2pq2pq gives the heterozygotes.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outq2=0.16q^2=0.16, so q=0.4q=0.4 and p=0.6p=0.6, giving 2pq=0.482pq=0.48.
  4. Result48% are heterozygous.
Problem 3

A storm leaves only 10 beetles of a population on an island, and by chance none carries an allele that was at 5% frequency in the large mainland population. Which evolutionary force is at work?

Worked solution
  1. Choose the ruleGenetic drift is a change in allele frequency by chance, strongest in small populations.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outAmong 20 allele copies, the chance that none is the 5% allele is 0.9520≈0.360.95^{20}\approx0.36, so loss is quite likely by sampling alone, whatever the allele's effect.
  4. ResultGenetic drift in a population bottleneck; the allele was lost by chance.
Problem 4

Bacteria exposed to an antibiotic for several weeks are now mostly resistant, although resistant cells were very rare at the start. Did the antibiotic cause the resistance mutations?

Worked solution
  1. Choose the ruleNatural selection acts on variation already present; the antibiotic changes which variants survive.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outRare resistant cells already present survived and multiplied while sensitive cells died, so resistant genotypes rose within a few generations.
  4. ResultNo. It selected resistant mutants that already existed; this is evolution on a short time scale.
Problem 5

In a region where malaria is common, people heterozygous for the sickle-cell allele survive better than either homozygote. Predict how the frequencies of the two alleles behave over generations.

Worked solution
  1. Choose the ruleWhen the heterozygote has the highest fitness, selection keeps both alleles in the population.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outHbS/HbS individuals suffer sickle-cell anaemia and HbA/HbA individuals are more vulnerable to malaria, so neither allele is eliminated.
  4. ResultBoth alleles persist at stable intermediate frequencies, and adult genotype counts depart from Hardy–Weinberg expectations because survival differs.
Problem 6

Follows on from: Find the allele frequencies and test whether the population is in Hardy–Weinberg proportions.

A population of 1000 snapdragons, with incomplete dominance for flower colour, has 490 red (RR), 420 pink (Rr) and 90 white (rr) plants. A sample of 1000 the next season shows 560 red, 280 pink and 160 white. What does this suggest?

Worked solution
  1. Choose the ruleA deficit of heterozygotes with unchanged allele frequencies points to inbreeding rather than to selection.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outp = (1120 + 280) / 2000 = 0.7 is unchanged, but pink plants number 280 against an expected 420, so heterozygotes are too few and homozygotes too many.
  4. ResultAllele frequencies are unchanged but genotypes are not in equilibrium, consistent with non-random mating such as self-pollination.
Problem 7

Follows on from: What percentage of people are heterozygous rollers?

In a population, 16% of people cannot roll their tongue, a trait assumed here to be recessive. What percentage of the tongue rollers are homozygous?

Worked solution
  1. Choose the ruleTo find a fraction within a phenotype class, divide that genotype's frequency by the class total.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outRollers make up 84% of people, of whom the homozygotes are p2=0.36p^2=0.36.
  4. Result0.360.84\frac{0.36}{0.84} ≈ 43% of rollers are homozygous.
Problem 8

Follows on from: Which evolutionary force is at work?

A storm leaves only 10 beetles of a population on an island, and by chance none carries an allele that was at 5% frequency in the large mainland population. Later a few mainland beetles carrying the allele fly in each year. What force now acts?

Worked solution
  1. Choose the ruleGene flow adds alleles to a population and reduces differences between populations.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outIndividuals moving between populations carry their alleles with them.
  4. ResultGene flow reintroduces the allele and makes the two populations more alike.
Problem 9

Follows on from: Did the antibiotic cause the resistance mutations?

Bacteria exposed to an antibiotic for several weeks are now mostly resistant, although resistant cells were very rare at the start. The antibiotic is withdrawn, and resistance slows growth slightly. What should happen?

Worked solution
  1. Choose the ruleFitness depends on the environment, so a trait favoured in one condition can be selected against in another.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outWithout the antibiotic, sensitive cells grow faster and leave more descendants.
  4. ResultResistant cells should decline in frequency over time.
Problem 10

Follows on from: Predict how the frequencies of the two alleles behave over generations.

In a region where malaria is common, people heterozygous for the sickle-cell allele survive better than either homozygote. Malaria is then eradicated from the region. How should the HbS allele frequency change?

Worked solution
  1. Choose the ruleWhen a selective advantage disappears, a harmful allele is gradually removed by selection.
  2. Why it appliesAllele frequencies p and q add to 1, and genotype frequencies at equilibrium are p2p^2, 2pq2pq and q2q^2. Start from the class you can identify. A mismatch between observed and expected counts signals gene flow, drift, mutation, recombination, selection or non-random mating.
  3. Work it outHeterozygotes lose their advantage, while HbS homozygotes still have low fitness.
  4. ResultThe HbS allele should slowly decline.