Punnett squares tell you what offspring to expect from two parents. Hardy-Weinberg equilibrium does the same trick for a whole population: it predicts genotype frequencies from allele frequencies, as long as the population behaves "ideally." It is the baseline you compare real data against.
The Equations And What Each Symbol Means
For a gene with two alleles, let be the frequency of one allele and the frequency of the other. The allele frequencies must account for everything:
The expected genotype frequencies then follow from squaring that sum:
Here is the expected frequency of one homozygote, is the expected frequency of the heterozygote, and is the expected frequency of the other homozygote.
Why Squaring The Allele Frequencies Works
The genotype equation is not a separate rule you memorize. It is just written out. If mating is random, the chance of pulling allele for the first copy is and again for the second copy, so an individual appears with probability . The heterozygote can form two ways (allele from either parent), which is where the factor of in comes from. Expanding reproduces all three terms at once. Seeing it as a squared sum is what keeps allele frequency and genotype frequency from blurring together.
Worked Example: From Allele Frequency To Genotype Frequency
Suppose a gene has two alleles, and , with allele frequency for and for .
First confirm the allele frequencies sum to one:
Then compute the expected genotype frequencies:
These add to , as they must:
So under Hardy-Weinberg assumptions you expect about 49% , 42% , and 9% .
Now Try It With Different Numbers
Take and and work the same three steps: square , double the product , and square . You should land on , , and , which sum to . Then ask the harder question: if real genotype counts came out far from those values, which assumption would you suspect first?
Where Calculations Go Wrong
Confusing allele frequency with genotype frequency
and describe alleles, not the fraction of individuals. The genotype frequencies are , , and . Mixing these up is the single most common error.
Treating the equation as proof of equilibrium
The identity holds algebraically for any two-allele setup. A real population is only in equilibrium if the assumptions are reasonable and observed frequencies match the expected ones closely enough.
Forgetting the model is conditional
The classic model assumes random mating, no selection, no mutation introducing alleles, no migration, and a population large enough that drift is negligible. If any of these fail, the prediction may not hold, and a mismatch is a clue to investigate rather than a finished explanation.
When You Use This
You will meet Hardy-Weinberg in population genetics, evolution, and introductory biology, often when estimating carrier frequencies or checking whether genotype counts match a simple expectation before asking which evolutionary force is at work.
If you want another case to practice, try solving a similar population-genetics problem step by step with GPAI Solver.
Frequently Asked Questions
- What does Hardy-Weinberg equilibrium mean?
- Hardy-Weinberg equilibrium tells you what genotype frequencies to expect from allele frequencies in an ideal population. It says allele frequencies can stay constant across generations and genotype frequencies follow a predictable pattern if a population meets specific conditions. It does not mean the population is perfect or unchanged in every way.
- What do the terms in the Hardy-Weinberg equation mean?
- For a gene with two alleles with frequencies p and q, p plus q equals one. The expected genotype frequencies follow p squared plus 2pq plus q squared equals one. Here p squared is one homozygote's expected frequency, 2pq is the heterozygote's, and q squared is the other homozygote's expected frequency.
- What conditions are required for Hardy-Weinberg equilibrium?
- The classic model assumes random mating, no natural selection, no mutation, and additional idealized conditions. These assumptions rarely all hold exactly in real populations. That is why biologists use the equation as a baseline: if real genotype data differ a lot from the expected values, at least one assumption may not hold.
- Why do biologists use Hardy-Weinberg equilibrium?
- Biologists use it as a baseline for what genotype frequencies should look like under idealized conditions. If real genotype data differ a lot from the expected p squared, 2pq, and q squared values, that signals at least one model assumption may not hold. A common mistake is treating the equation itself as proof of equilibrium.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →