IB Biology HL Natural Selection Paper 1 & 2 ~13 min read

Hardy-Weinberg Principle

This is the only calculation in the topic, and it always starts in the same place: the recessive phenotype. Find that one number and everything else falls out of two short equations.

📚 What you need to know

What the principle actually says

The Hardy-Weinberg principle says that if certain conditions are met, the allele frequencies of a gene within a population will not change from one generation to the next. In other words, the population is in equilibrium and is not evolving.

That may sound useless — why model a population that is not changing? Because it gives you a baseline. Once you can calculate what a non-evolving population should look like, any difference between that prediction and the real data tells you something is going on.

The equation that comes with the principle lets you calculate allele and genotype frequencies within a population, and predict how those frequencies will change in future generations.

The two equations

Assume a trait is controlled by a single gene with only two alleles, B and b. Every individual is then one of three genotypes: homozygous dominant BB, heterozygous Bb, or homozygous recessive bb.

All frequencies here are proportions of 1, not percentages. If every individual were BB, its frequency would be 1; if half were, it would be 0.5.

Allele frequencies p + q = 1

Since there are only two alleles at the locus, their frequencies must total 1. In a population of 100 individuals there are 200 alleles. If 120 of them are the dominant allele, then p = 120 ÷ 200 = 0.6, and q = 1 − 0.6 = 0.4.

Genotype frequencies p2 + 2pq + q2 = 1

Where does the second equation come from? Think about how a zygote is made.

Those are the only three possibilities, so together they must add up to 1.

Where p² + 2pq + q² comes from Every zygote is made from two gametes, so multiply the frequencies togetherMALE GAMETES p q FEMALE GAMETES p q pq pq p² + 2pq + q² = 1 p² homozygous dominant • 2pq heterozygous • q² homozygous recessiveThe two amber cells are the same genotype, which is why it is 2pq Heterozygotes can be made in two different ways, so their frequency is doubled
If you ever forget the equation, draw this grid. It rebuilds itself in about fifteen seconds.

Working through the calculation

Almost every Hardy-Weinberg question gives you the recessive phenotype, because that is the only phenotype whose genotype you can be certain about. Anything showing the dominant phenotype could be BB or Bb, so it tells you nothing on its own.

The route through every question Start at the left with the only genotype you can identify from a phenotype recessive phenotype q recessive allele p dominant allele p² and 2pq genotype frequencies square root 1 − q square itNever start in the middle of the chain Work out what you have been given, then walk along the arrows until you reach what is asked for
Questions can hand you any box in this chain. Identify which one you have been given before you write anything down.

🧩 The method

  1. Find the proportion of individuals showing the recessive phenotype. That is q2.
  2. Take the square root to get q.
  3. Use p = 1 − q to get p.
  4. Square p for the homozygous dominant frequency.
  5. Work out 2pq for the heterozygous frequency.
  6. Check: p2 + 2pq + q2 should come to 1. If it does not, go back.
  7. If the question wants numbers of individuals rather than frequencies, multiply each frequency by the population size at the very end.

Worked examples

WE 1

Find all three genotype frequencies

In a population of beetles, 9% of individuals show the recessive phenotype of a pale shell. Calculate the frequencies of all three genotypes. (4 marks)

Step 1: identify what you have Pale shell is the recessive phenotype, so those individuals must be homozygous recessive. q² = 0.09 Step 2: find q q = √0.09 = 0.30 Step 3: find p p = 1 − 0.30 = 0.70 Step 4: find the genotype frequencies p² = 0.70 × 0.70 = 0.49 and 2pq = 2 × 0.70 × 0.30 = 0.42 Step 5: check 0.49 + 0.42 + 0.09 = 1.00 Homozygous dominant 0.49, heterozygous 0.42, homozygous recessive 0.09 convert the percentage to a proportion before doing anything else — 9% becomes 0.09
WE 2

Turn frequencies into numbers of individuals

A population of 400 plants contains 64 with white flowers, the recessive phenotype. Calculate how many plants are expected to be heterozygous. (4 marks)

Step 1: find q² q² = 64 ÷ 400 = 0.16 Step 2: find q and p q = √0.16 = 0.40, so p = 1 − 0.40 = 0.60 Step 3: find 2pq 2pq = 2 × 0.60 × 0.40 = 0.48 Step 4: convert to individuals 0.48 × 400 = 192 plants Step 5: check p² = 0.36, so 144 + 192 + 64 = 400 ✓ 192 heterozygous plants the marks are for the working, so write every line even if your calculator does it in one go
WE 3

When the data does not fit

A population of 1000 animals contains 560 AA, 280 Aa and 160 aa. The allele frequencies are p = 0.70 and q = 0.30. Compare the observed numbers with those expected under Hardy-Weinberg and suggest an explanation. (4 marks)

Step 1: expected frequencies p² = 0.49, 2pq = 0.42, q² = 0.09 Step 2: expected numbers 490 AA, 420 Aa and 90 aa in a population of 1000. Step 3: compare There are far fewer heterozygotes than expected (280 against 420) and more of both homozygotes. Step 4: suggest why One or more Hardy-Weinberg conditions is not being met — most likely mating is not random, for example if individuals of similar phenotype breed together, or selection is acting against heterozygotes. A poor fit is evidence that something is acting on the population this is what the principle is really for: the mismatch is the interesting result, not the calculation

The seven conditions

For the principle to apply correctly to a population, a series of conditions or assumptions has to be met.

ConditionWhat it means
Organisms are diploidEach individual carries two alleles at the locus
Reproduction is sexual onlyNo asexual reproduction contributing to the next generation
No overlap between generationsParents do not mate with their own offspring
Mating is randomNo mate choice based on phenotype, so no sexual selection
The population is largeSo that genetic drift has a negligible effect
No migration, mutation or selectionNo individuals entering or leaving, no new alleles made, and no natural or artificial selection
Allele frequencies are equal in both sexesThe same p and q apply to males and females

If the genotype frequencies in a real population do not fit the equation, that indicates one or more of these conditions is not being met. The principle is useful for building models and making predictions, but the assumptions listed are very rarely, if ever, all present in nature.

Do not mix these two up. The equations are used to estimate allele and genotype frequencies in a population. The principle suggests there is an equilibrium between allele frequencies, with no change between generations. A question asking for the principle wants the idea, not the algebra.
Begin every question by asking two things on paper: what have I been given, and what am I being asked for? Do I know q2, or do I know p? Am I calculating 2pq, or a number of individuals? Once both ends of the journey are written down, the steps in between are obvious.

💡 Exam tips

⚠ Common mistakes

Up next: Artificial Selection. Everything so far has been the environment doing the choosing. On the last page of this topic, humans take over the job — and the results are faster, stranger, and not always kind to the organism.

Want this explained one-to-one?

Book a free session with an experienced IB Biology tutor and get your trickiest topics made simple.

Book a Free Session →