Skip to content

Preview mode: accounts aren't connected yet, so sign-in is skipped.

7.5 Hardy-Weinberg Equilibrium

The Hardy-Weinberg model describes a population that is not evolving. Two equations let you calculate allele and genotype frequencies, and any difference from the model means something is changing.

A model for a population that is not evolving

The Hardy-Weinberg principle says that allele and genotype frequencies stay constant from one generation to the next if five conditions are met. The population must be very large, so drift is negligible. Mating must be random. There must be no mutation. There must be no gene flow. And there must be no natural selection. A population that meets all five is in Hardy-Weinberg equilibrium.

No real population meets all the conditions perfectly. The value of the model is as a baseline. If the observed frequencies differ from those predicted, then at least one of the conditions is not being met, and the population is evolving. By testing a population against the model, scientists can detect evolution and look for its cause.

The model also shows that sexual reproduction does not by itself change allele frequencies. Meiosis and fertilization reshuffle alleles but keep the same proportions.

The two equations

For a gene with two alleles, let p be the frequency of the dominant allele and q the frequency of the recessive allele. Because they are the only two alleles, p + q = 1. If you know one, you can find the other.

The genotype frequencies are given by the second equation, p squared + 2pq + q squared = 1. Here p squared is the frequency of homozygous dominant individuals, 2pq is the frequency of heterozygotes and q squared is the frequency of homozygous recessive individuals. The equation is just the Punnett square of two heterozygotes extended to the whole population. Both equations are on the exam reference sheet.

A key insight for solving problems is that you can see the recessive phenotype directly. Because the recessive phenotype appears only in the q squared group, you can start from q squared and take the square root to find q. This is how most Hardy-Weinberg problems begin.

The Hardy-Weinberg equation comes from a Punnett square of allele frequencies p and q.
The Hardy-Weinberg equation comes from a Punnett square of allele frequencies p and q.
Diagram: Wikimedia Commons, CC0.

A worked problem

Suppose 1 in 400 people has a recessive condition. The frequency of the recessive phenotype is q squared, which is 1 divided by 400, or 0.0025. Taking the square root gives q equal to 0.05. Then p is 1 minus 0.05, which is 0.95. The frequency of carriers, the heterozygotes, is 2pq, which is 2 times 0.95 times 0.05, or 0.095. About 9.5 percent of the population, or roughly 1 in 10, are carriers.

Notice how many more carriers there are than affected people. Most copies of a rare recessive allele are hidden in heterozygotes, where selection cannot see them. This is why harmful recessive alleles are hard to remove from a population.

Find q squared fromthe recessivephenotypeTake the squareroot to get qFind p equals 1minus qUse 2pq forcarriersCheck that thethree genotypes sumto 1
Steps to solve a Hardy-Weinberg problem.

Using the model to detect evolution

To test a population, measure the actual genotype frequencies, calculate p and q from them, and then use the equation to find the expected frequencies. A chi-square test, as in 5.3, can show whether the difference between the observed and expected values is greater than expected by chance. If it is, then the population is not in equilibrium.

For example, if the observed number of heterozygotes is lower than 2pq predicts, this might suggest nonrandom mating, such as inbreeding. If the frequency of an allele changes from one generation to the next, it may be due to selection, drift or gene flow, and the next step is to find out which.

  • p + q = 1: the two allele frequencies add up to one.
  • p squared + 2pq + q squared = 1: the three genotype frequencies add up to one.
  • q squared: the frequency of the recessive phenotype.
  • 2pq: the frequency of heterozygous carriers.
  • Five conditions: large population, random mating, no mutation, no gene flow, no selection.

Worked example: using the equations in both directions

In a population in equilibrium, 36 percent of the flowers are white, a recessive trait. So q squared is 0.36 and q is 0.6. Then p is 0.4. The frequency of homozygous dominant plants is p squared, which is 0.16. The frequency of heterozygotes is 2pq, which is 2 times 0.4 times 0.6, or 0.48. Check: 0.16 plus 0.48 plus 0.36 equals 1.00.

Now work from the other side. If the frequency of the dominant allele is 0.7, then q is 0.3, p squared is 0.49, 2pq is 0.42 and q squared is 0.09. In a population of 1,000, there would be 90 recessive individuals, 420 heterozygotes and 490 homozygous dominant. If you counted and found 150 recessive individuals instead, you would conclude that the population is not in equilibrium and look for a cause, such as selection or inbreeding. Using the model in both directions, from phenotype to allele and from allele to phenotype, covers almost every question.

Why it matters for the exam

Hardy-Weinberg is one of the most calculation-heavy topics of the course. Always begin with the number that you can see, usually the recessive phenotype, and show each step. Round carefully and state your answer clearly. You may also be asked to explain which condition is violated in a scenario, so know all five.

This topic gives you a tool for studying evolution in the next topics, which look at the evidence for it and at its patterns.

Key takeaways

  • Hardy-Weinberg equilibrium describes a population that is not evolving.
  • It requires a large population, random mating, no mutation, no gene flow and no selection.
  • p + q = 1 gives the allele frequencies.
  • p squared + 2pq + q squared = 1 gives the genotype frequencies.
  • q squared is the frequency of the recessive phenotype.
  • 2pq is the frequency of heterozygotes.
  • A difference from the expected values shows that evolution is occurring.

How this shows up on the exam

  • Calculation: find p, q and genotype frequencies.
  • Multiple choice: identify a violated condition.
  • Short answer: explain how the model is used.
  • Data question: compare observed and expected genotypes.

Common mistakes

  • Saying q squared is the frequency of the recessive allele. It is the frequency of the recessive genotype.
  • Saying 2pq is the carrier frequency of the dominant allele only. It is the frequency of heterozygotes.
  • Saying a real population is perfectly in equilibrium. It is a baseline model.
  • Forgetting to take the square root to get q.

Key terms

  • Hardy-Weinberg equilibrium
  • p
  • q
  • allele frequency
  • genotype frequency
  • heterozygote
  • carrier
  • random mating
  • gene flow
  • mutation
  • equilibrium
  • null model

Check yourself

Topic 7.5 quiz

In a population in Hardy-Weinberg equilibrium, 16 percent of individuals show a recessive trait. What is the frequency of the recessive allele?

Sources