7.5 Hardy-Weinberg equilibrium: calculationsDoing the math the AP way

Way one: you know the fraction with the recessive phenotype. Those individuals are aa, so that fraction is $q^2$. Take the square root to get q, subtract from 1 to get p, and the rest follows. Way two: you know how many individuals have each genotype, so you count alleles directly. Way two works even when the population is not in equilibrium.
?Wait, why can't I start from the dominant phenotype?
- (a) $q^2 = \frac{1}{2500} = 0.0004$, so $q = \sqrt{0.0004} = 0.02$.
Why?
Start from q², the only genotype you can see. - (b) p = 1 − 0.02 = 0.98.
- (c) Carriers are Aa: 2pq = 2(0.98)(0.02) = 0.0392, about 3.9%.
- (d) 1 ÷ 0.0392 ≈ 25.5, so about 1 in 26 people.
Why?
1 in 2,500 affected, but 1 in 26 a carrier: almost 100 carriers per affected person.
Answer: (a) 0.02 (b) 0.98 (c) 0.0392 (d) about 1 in 26.
Stuck? Get a hint
- The affected fraction is q².
- √0.0004 = 0.02.
- Carriers are 2pq.
?Wait, how does a chi-square test work?
| Genotype | Observed (o) | Expected (e) | (o - e)² / e |
|---|---|---|---|
| AA | 150 | 0.7225 × 200 = 144.5 | 0.21 |
| Aa | 40 | 0.255 × 200 = 51.0 | 2.37 |
| aa | 10 | 0.0225 × 200 = 4.5 | 6.72 |
| Total | 200 | 200 | χ² = 9.30 |
- (a) A copies: 2(150) + 40 = 340 of 400 total, so p = 0.85 and q = 0.15.
Why?
$p = \frac{2(\text{AA}) + \text{Aa}}{2N}$. Each AA has 2 copies of A, each Aa has 1. - (b) p² = 0.7225, 2pq = 0.255, q² = 0.0225. Times 200: 144.5 AA, 51.0 Aa, 4.5 aa.
Why?
Keep the decimals; don't round to whole mice. - (c) χ² = 0.21 + 2.37 + 6.72 ≈ 9.30, which is greater than the critical value, so reject the null: not in equilibrium.
Why?
Many answer keys use 2 degrees of freedom here (5.99). Strictly a Hardy-Weinberg test has 1 (3.84), because p came from the same data. 9.30 beats both. - (d) Too few heterozygotes and too many of both homozygotes fits nonrandom mating, like inbreeding.
Why?
Look at which way the data miss. Inbreeding makes homozygotes more common.
Answer: (a) p = 0.85, q = 0.15. (b) 144.5, 51.0, 4.5. (c) χ² ≈ 9.30, reject. (d) A heterozygote shortage, consistent with inbreeding.
Stuck? Get a hint
- Count A copies: 2 per AA and 1 per Aa, out of 400.
- Expected = p², 2pq and q² times 200.
- Add the three (o − e)²/e terms and compare.
I thought about it. Show me
- A16%
- B24%
- C48%
- D64%
Show the answer
C. q² = 0.36, so q = 0.6 and p = 0.4, and 2pq = 0.48. 64% is the trap: that's all red flowers (p² + 2pq).
- AThe population is in equilibrium.
- BAt least one Hardy-Weinberg condition is not being met for this gene.
- CNatural selection is definitely acting on this gene.
- DThe alleles must be codominant.
Show the answer
B. Rejecting the null means at least one condition is broken, but the test can't say which. 'Definitely selection' is the trap: drift, gene flow or nonrandom mating could also do it.
- Recessive phenotype given: q² first, then q, then p = 1 − q.
- Genotype counts given: $p = \frac{2(\text{AA}) + \text{Aa}}{2N}$, in or out of equilibrium.
- Testing equilibrium: expected counts from p², 2pq, q², then chi-square. Rejecting means a condition is broken.
- Nonrandom mating changes genotype frequencies, not p and q.