Biology by Bradford · IB Biology HL · D4.1.13 + D3.2.21

Predict it.
Then test
whether you
were right.

Hardy–Weinberg and the 9:3:3:1 ratio look like two different topics. They are the same move twice: a model that predicts expected numbers, and a statistic that decides whether the real numbers agree.

01 · D4.1.13 · The essentialsHL

Alleles in.
Genotypes out.

Two frequencies

p is the frequency of the dominant allele and q the recessive one. Between them they account for every allele at that locus, so p + q = 1.

Square it

Every zygote is two gametes drawn from that pool, so squaring gives the genotype frequencies: p² + 2pq + q² = 1. The 2 in front of pq is there because a heterozygote can be made two ways round.

Start with q²

Only the recessive phenotype tells you its genotype for certain. Count those, and q² is the only term you can measure directly: every other value comes from it.

EGGS ↓ · SPERM → A (p) a (q) A (p) a (q) AA Aapq Aapq aa AA = p² Aa = 2pq aa = q² the two Aa cells are identical in effect, so they add: pq + pq = 2pq every gamete carries one allele; every zygote is two gametes so squaring p + q = 1 gives the genotype frequencies
Gametes carrying A at frequency p and a at frequency q · combining them at random produces the three genotypes in the proportions p², 2pq and q²
02 · Reading the equations

Two equations,
one route
through them.

Almost every exam question follows the same path: count the recessive phenotype, take the square root, subtract from one, then build whatever the question asked for.

p + q = 1 p² + 2pq + q² = 1 p = frequency of the dominant allele q = frequency of the recessive allele p² = homozygous dominant (AA) q² = homozygous recessive (aa) 2pq = heterozygous (the carriers) start here: q² is the only term you can count directly from the phenotypes both equations must total 1: together they account for every allele and every genotype at that locus
q² → q → p → 2pq · in that order, every time
No selectionAll genotypes must be equally likely to survive and reproduce.
No mutationNo new alleles appearing at the locus.
No migrationNo alleles entering or leaving the gene pool.
Random matingNo preference for a particular genotype as a mate.
Large populationBig enough that chance alone does not shift the frequencies.

Real populations break at least one of these · which is exactly why the model is useful as a comparison

03 · Population bench

Where the
carriers hide.

Drag q, or type in how many individuals show the recessive phenotype and let the bench work backwards. Watch what happens to the carriers as the recessive allele becomes rare.

Work backwards: individuals show the recessive phenotype
Try dragging q down

Set q to something small, 0.02, say, and compare the two ends of the bar. For a rare recessive condition the carriers outnumber the affected individuals by an enormous margin, and that single fact explains why recessive alleles are so hard to eliminate from a population.

04 · D3.2.21 · From prediction to test

Same move,
different model.

Hardy–Weinberg predicts how many of each genotype a population should contain. A dihybrid cross predicts how many of each phenotype a set of offspring should contain. Neither prediction is ever met exactly, so both need the same question asking of them: is the gap too big to be chance?

The model gives you E

Expected number = predicted proportion × total. For Hardy–Weinberg the proportions are p², 2pq and q². For two heterozygous parents they are 9/16, 3/16, 3/16 and 1/16. The arithmetic is identical; only the fractions change.

χ² judges the gap

χ² = Σ (O − E)²/E, with degrees of freedom = classes − 1. For the four phenotype classes of a dihybrid cross that is 3, and the critical value at p = 0.05 is 7.815. Above it, reject the model.

Run the test.

Loaded with the snail data from the problem below. Change any observed count and everything recalculates.

The snail cross

320 offspring from two snails heterozygous for both genes. Expected values come straight from 9:3:3:1 × 320. Work out each (O−E)²/E on paper and check yourself against the last column.

05 · Worked solutions

One problem,
both halves.

Attempt each part on paper before opening the solution. Part b is where the two topics meet.

Problem 1 · Hardy–Weinberg into chi-squared

In a species of snail, dark shell (D) is dominant to light shell (d), and unbanded (U) is dominant to banded (u). The two genes are on different chromosomes.

(a) In a population of 400 snails, 64 have light shells. Calculate the frequency of each allele and the expected number of snails of each genotype.

(b) Two snails heterozygous for both genes are crossed. Of 320 offspring, 171 are dark unbanded, 63 dark banded, 71 light unbanded and 15 light banded. Use a chi-squared test to decide whether these results are consistent with the expected ratio.

a1 · start with q²

Light-shelled snails must be dd, so they are the q² class. q² = 64 ÷ 400 = 0.16.

a2 · take the square root

q = √0.16 = 0.4, and since p + q = 1, p = 1 − 0.4 = 0.6.

a3 · build the genotypes

p² = 0.6² = 0.36 → 0.36 × 400 = 144 DD. 2pq = 2 × 0.6 × 0.4 = 0.48 → 192 Dd. q² = 0.16 → 64 dd. Check: 144 + 192 + 64 = 400. ✓

Note that 192 of the 336 dark snails are carriers: you could never have found that by counting.

b1 · what does the model predict?

Both parents are DdUu, so with unlinked genes the expected phenotype ratio is 9 : 3 : 3 : 1. Expected = ratio × total: 9/16 × 320 = 180, 3/16 × 320 = 60, 3/16 × 320 = 60, 1/16 × 320 = 20.

b2 · hypotheses

H₀: there is no significant difference between the observed and expected numbers. H₁: there is a significant difference.

b3 · the table
Phenotype
O
E
O − E
(O−E)²/E
dark unbanded
171
180
−9
0.450
dark banded
63
60
+3
0.150
light unbanded
71
60
+11
2.017
light banded
15
20
−5
1.250
b4 · sum, df, compare

χ² = 0.450 + 0.150 + 2.017 + 1.250 = 3.87. Four classes, so df = 4 − 1 = 3, and the critical value at p = 0.05 is 7.815. 3.87 is well below it, so p > 0.05.

(a) p = 0.6, q = 0.4 → 144 DD : 192 Dd : 64 dd  ·  (b) χ² = 3.87 < 7.815, fail to reject H₀: the results fit 9:3:3:1
Problem 2 · the same cross, different data

The cross in Problem 1 is repeated with a different pair of snails. This time the 320 offspring are: 205 dark unbanded, 40 dark banded, 55 light unbanded, 20 light banded. Test these results against the expected ratio and explain what they suggest.

Step 1 · the expected values are unchanged

Same cross, same total, so the same prediction: 180 : 60 : 60 : 20. Only the observed numbers have changed.

Step 2 · the table
Phenotype
O
E
O − E
(O−E)²/E
dark unbanded
205
180
+25
3.472
dark banded
40
60
−20
6.667
light unbanded
55
60
−5
0.417
light banded
20
20
0
0.000
Step 3 · compare

χ² = 3.472 + 6.667 + 0.417 + 0.000 = 10.56, with df = 3. This exceeds 7.815, so p < 0.05 and the difference is significant.

Step 4 · interpret it biologically

Reject H₀. The two dominant traits appear together far more often than predicted and the mixed classes are depleted: the signature of gene linkage. A statistical result on its own is not a conclusion; you have to say what the deviation means.

χ² = 10.56 > 7.815: reject H₀; the deviation from 9:3:3:1 suggests the two genes are linked

Both halves of this lesson do the same thing: a model supplies E, and χ² decides whether O is close enough to keep believing the model

06 · The bigger picture

Where this
fits.

Tap a concept to light up how it connects.

modelled by predicts also predicts tested by deviation means Gene pool Hardy–Weinberg Expected numbers Chi-squaredtest 9 : 3 : 3 : 1 cross Something is acting
Overview

Both models exist to be compared against, not to be believed. Hardy–Weinberg describes a population where nothing is happening; 9:3:3:1 describes a cross where the genes are independent. The interesting biology is in the deviations.

Tap any concept to trace its connections · tap the background to reset

07 · Your turn

Fill in
the gaps.

Drag each term into the gap it belongs in. Two terms are traps.

Placed: 0 / 0
The two allele frequencies must add up todrop
The frequency of homozygous recessive individuals isdrop
The frequency of heterozygotes, the carriers, isdrop
To get q from the recessive phenotype you take thedrop
Hardy–Weinberg assumes that mating isdrop
Expected number = total ×drop
Two heterozygous parents predict a phenotype ratio ofdrop
With four phenotype classes the degrees of freedom isdrop
08 · Check yourself

IB-style
multiple choice.

Single best answer, Paper 1 style. A calculator will help on two of them.

Score: 0 / 0