Population genetics, allele frequencies, and Hardy-Weinberg equilibrium
Population genetics studies how allele frequencies change in a population over generations. In the Hardy-Weinberg model, p represents the frequency of one allele and q represents the frequency of the other allele, so p + q = 1. If a population is large, mating is random, and there is no mutation, migration, or selection, genotype frequencies remain predictable: p² for AA, 2pq for Aa, and q² for aa. Real populations often depart from that baseline because evolutionary forces alter the gene pool. This simulation focuses on mutation pressure: a recurring change in DNA that can gradually shift p and q, changing the expected genotype frequencies seen in the population.
Plus 148+ other Pro labs covering AP Physics, Biology, Chemistry, Earth Science, and Math — with unlimited simulation time, advanced parameters, and detailed analytics.
Already have an account?
Sign in →This simulation is about population genetics: how the genetic makeup of a whole population changes over time. Instead of following one family, it follows a gene pool, which means all copies of a gene carried by the individuals in a population. The key quantity is allele frequency. If p is the frequency of allele A, then q is the frequency of allele a, and p + q = 1. Hardy-Weinberg equilibrium gives a baseline for a population that is not evolving: genotype frequencies should be p² for AA, 2pq for Aa, and q² for aa. Real populations often move away from that baseline because mutation, natural selection, gene flow, genetic drift, or non-random mating changes the gene pool. This model focuses on mutation pressure, letting students watch p shift across generations and then connect the changing p and q values to expected genotype frequencies.
MisconceptionHardy-Weinberg means every allele frequency should become 50%.
CorrectHardy-Weinberg equilibrium means allele frequencies stay stable, not that they become equal. A population can be in equilibrium at p = 0.80 and q = 0.20 if the conditions for no evolutionary change are met. The equation uses whatever p and q values the population already has, then predicts genotype frequencies from those values.
MisconceptionThe value p² means the same thing as p.
CorrectThe value p is an allele frequency: the fraction of all allele copies that are A. The value p² is a genotype frequency: the expected fraction of individuals with genotype AA under Hardy-Weinberg assumptions. Mixing those up is a common error. The data overlay helps separate allele frequencies, p and q, from genotype frequencies, p², 2pq, and q².
MisconceptionMutation always causes huge changes in one generation.
CorrectMutation pressure is often gradual. In real populations, mutation rates for any one gene are usually very small, so visible changes can require many generations or interaction with selection and drift. This simulation uses larger classroom-scale mutation rates so the direction of change is visible, but students should not treat the slider values as typical real biological rates.
MisconceptionA dominant allele must be the most common allele in a population.
CorrectDominance describes expression in an individual, not frequency in a population. A dominant allele can be rare, and a recessive allele can be common. Population frequency depends on evolutionary forces such as selection, mutation, drift, and gene flow. That is why tracking p and q is more informative than assuming frequency from the allele label.
In Hardy-Weinberg population genetics, p is the frequency of one allele in the whole population gene pool. If p = 0.70, then 70% of the allele copies at that gene position are A. The other allele frequency is q, and q must equal 1 - p. From those two allele frequencies, the model calculates expected genotype frequencies: p² for AA, 2pq for Aa, and q² for aa.
The terms come from combining allele frequencies in a randomly mating population. If the chance of receiving A is p from each side of reproduction, then AA has probability p × p, or p². The mixed genotype can happen in two orders, A then a or a then A, so it is 2pq. The aa genotype is q × q, or q². Together the three genotype frequencies add to 1.
The Mutation Rate slider changes how strongly the model shifts allele frequency p each generation. In this simulation, mutation pressure mostly converts A alleles toward a alleles, with a smaller reverse change. When the rate is 0, p stays stable as a comparison baseline. When the rate increases, p usually decreases over generations and q increases, which changes the expected AA, Aa, and aa genotype frequencies.
No. The visible control set focuses on mutation pressure and the resulting allele-frequency shift. The background lesson references other forces, including natural selection, genetic drift, and gene flow, because those also explain why real populations depart from Hardy-Weinberg equilibrium. For this specific interactive, students should use Mutation Rate, Generations, and Initial Allele Frequency p as the evidence for the modeled change.
This experiment supports MS-LS4-4 and MS-LS4-5 because students use a model to reason about variation in populations and how genetic factors can become more or less common over time. The simulation is not a full natural-selection model, but it gives students a quantitative way to see that populations are described by allele frequencies and that those frequencies can shift across generations.