Solution:
Key idea: In Hardy–Weinberg equilibrium, p+q=1, and the genotype frequencies are p2 (AA), 2pq (Aa) and q2 (aa). Multiplying a frequency by the population size gives the number of individuals.
Given: Population size N=200 and frequency of allele a, q=0.4.
Step 1 — (i) Find the frequency of allele A.
Since the two allele frequencies add up to 1, we subtract q from 1.
p=1−q
p=1−0.4
p=0.6
Step 2 — (ii) Find the number of homozygous dominant (AA) flies.
The frequency of AA is p2, so we multiply it by the population size.
p2=0.62
p2=0.36
AA flies=0.36×200
AA flies=72
Step 3 — (iii) Find the number of homozygous recessive (aa) flies.
The frequency of aa is q2, so we multiply it by the population size.
q2=0.42
q2=0.16
aa flies=0.16×200
aa flies=32
Step 4 — (iv) Find the number of carrier (Aa) flies.
Carriers are the heterozygotes, with frequency 2pq.
2pq=2×0.6×0.4
2pq=0.48
Aa flies=0.48×200
Aa flies=96
Check: The three groups together should make up the whole population: 72 + 96 + 32 = 200, which agrees.
Therefore, (i) the frequency of allele A is 0.6, (ii) there are 72 homozygous dominant flies, (iii) 32 homozygous recessive flies and (iv) 96 carrier flies.