𧬠Population Genetics
Allele frequencies in a population change over generations through four forces: genetic drift (random sampling), natural selection (fitness differences), mutation, and migration. Without these forces, the Hardy-Weinberg principle predicts equilibrium frequencies: pΒ² + 2pq + qΒ² = 1.
𧬠Hardy-Weinberg Equilibrium
In an infinitely large, randomly mating population with no selection, mutation, or migration, allele frequencies remain constant across generations. If the frequency of allele A is p and allele a is q = 1βp, then genotype frequencies are:
Real populations deviate from H-W due to genetic drift (especially in small populations), natural selection (positive/negative/ balancing), mutation (Aβa conversion), and founder effects after population bottlenecks. The simulation tracks these deviations in real time.