Mistake Master
Home Unit 7 · Natural Selection 7.1·7.2·7.3·7.4·7.5·7.6·7.7·7.8·7.9·7.10·7.11·7.12·7.13 Lesson
Skill Check 0 / 10 complete

Hardy-Weinberg Equilibrium

Hardy-Weinberg is the null model of population genetics: it describes what allele and genotype frequencies look like in a population that is not evolving. That stillness is not free — it holds only when five specific conditions are met (no mutation, random mating, no gene flow, a population large enough to escape drift, and no selection). Those conditions are not an arbitrary checklist; each one names something that would disturb the equilibrium. Four of them — mutation, gene flow, drift, and selection — block the forces that change allele frequencies. The fifth, random mating, does different work: nonrandom mating reshuffles genotypes without, on its own, moving $p$ or $q$ at all. When the conditions hold, two equations describe the population: $$p+q=1$$ tracks the allele frequencies, and $$p^2+2pq+q^2=1$$ tracks the genotype frequencies — $p^2$ homozygous dominant, $2pq$ heterozygous, $q^2$ homozygous recessive. In practice you count recessive individuals to get $q^2$, take its square root for $q$, then use $p = 1 - q$. And the real payoff is the flip side: when a population’s observed frequencies drift away from these predictions, that deviation is the signal that at least one condition is broken — and your next job is to find out which one.

Overview of Topic 7.5: Hardy-Weinberg equilibrium — a model of a non-evolving population held constant by five conditions (no mutation, random mating, no gene flow, a large population so no genetic drift, and no natural selection); allele frequencies are tracked by p + q = 1 and genotype frequencies by p squared plus 2pq plus q squared equals 1, where p squared is homozygous dominant, 2pq is heterozygous, and q squared is homozygous recessive; you find q from the square root of q squared and then p from 1 minus q; a population whose observed frequencies deviate from these predictions has at least one broken condition, and only mutation, gene flow, drift, and selection change allele frequencies, while nonrandom mating rearranges genotypes without changing p or q. Topic 7.5 infographicAdd bio7.5.svg to /bio/ to display
§1

The one big idea: Hardy-Weinberg is the picture of a population that is NOT evolving.

The single idea to hold onto is that Hardy-Weinberg describes a population that is not evolving. Evolution means a change in allele frequencies across generations; Hardy-Weinberg is the baseline where those frequencies stay constant forever. It is a null model — a “nothing is happening” reference point — and it exists so you have something to compare a real population against.

That stillness is not automatic. A population holds at equilibrium only while five conditions are all met: no mutation, random mating, no gene flow (migration), a population large enough that genetic drift is negligible, and no natural selection. Four of these — no mutation, no gene flow, no drift, no selection — shut off the only things that can shift allele frequencies. The fifth, random mating, is doing a different job: it is what licenses the $p^2/2pq/q^2$ shuffle. Nonrandom mating rearranges which genotypes get built without, by itself, changing $p$ or $q$ one bit. Shut all five off and both levels hold steady — the alleles because nothing is pushing them, the genotypes because random mating keeps rebuilding them in the same proportions. The conditions are not a random list to memorize; each one names something specific that would disturb the picture.

When the conditions hold, two equations pin down the numbers. $$p+q=1$$ says the two allele frequencies add to one, and $$p^2+2pq+q^2=1$$ says the three genotype frequencies add to one. Keep those two jobs separate — $p$ and $q$ count alleles; $p^2$, $2pq$, and $q^2$ count genotypes — and the whole topic clicks into place. The real payoff comes later: if a population’s observed frequencies do not match what these equations predict, that mismatch tells you at least one condition is violated — which is a lead, not a verdict.

§2

Working a Hardy-Weinberg problem, step by step.

Most Hardy-Weinberg questions give you one number — usually the fraction of recessive individuals — and ask you to rebuild the rest. Walk the steps in order and the reason for each move is clear. The trick is knowing which quantity is an allele frequency and which is a genotype frequency, and never mixing them up.

  1. Start from the recessive genotype to get $q^2$. Only one genotype is visible with certainty: the homozygous recessive one ($aa$), because that is the only way the recessive phenotype shows. Its frequency is $q^2$. So if 16% of a population shows the recessive trait, then $q^2 = 0.16$.
  2. Take the square root to find $q$. $q$ is the frequency of the recessive allele, and $q^2$ is the frequency of the recessive genotype. Undo the square: $q = \sqrt{q^2}$. From $q^2 = 0.16$, you get $q = 0.4$. This is the step students skip — do not report $q^2$ as if it were $q$.
  3. Use $p + q = 1$ to find $p$. There are only two alleles, so their frequencies must sum to one. Rearrange to $p = 1 - q$. With $q = 0.4$, you get $p = 0.6$. Never square anything here — $p$ and $q$ are allele frequencies and add to 1.
  4. Build the genotype frequencies with $p^2 + 2pq + q^2 = 1$. Now assemble the three genotypes: homozygous dominant is $p^2 = 0.36$, heterozygous is $2pq = 2(0.6)(0.4) = 0.48$, and homozygous recessive is $q^2 = 0.16$. They add to $1.00$, which is your check that the arithmetic is sound.
  5. Answer what was actually asked. “Carriers” means the heterozygotes, $2pq$ — not $q$. “Dominant phenotype” means $p^2 + 2pq$, because both genotypes show it. Read the question for whether it wants an allele frequency ($p$ or $q$) or a genotype frequency ($p^2$, $2pq$, $q^2$), and give that one.

The through-line: recessive genotype gives $q^2$, its root gives the allele frequency $q$, subtraction gives $p$, and the squared terms rebuild the genotypes. All of it assumes the population is at equilibrium — that the five conditions hold — which is exactly why the equations are allowed to work.

§3

The terms you'll meet.

Quick reference card. For each term, read what it is and where students most often trip — the recurring theme is keeping allele frequencies ($p$, $q$) separate from genotype frequencies ($p^2$, $2pq$, $q^2$), and remembering that the model describes a population that is not evolving.

$p$ and $q$
Allele frequencies
The frequencies of the dominant ($p$) and recessive ($q$) alleles. They count alleles, not organisms, and they must satisfy $p + q = 1$. These are never squared.
$p^2,\ 2pq,\ q^2$
Genotype frequencies
Fractions of the population that are homozygous dominant ($p^2$), heterozygous ($2pq$), and homozygous recessive ($q^2$). They count organisms and sum to one: $p^2 + 2pq + q^2 = 1$.
$q^2$
Your entry point
The frequency of the recessive phenotype — the only genotype you can read off directly. Take its square root to recover the recessive allele frequency $q$, then get $p$.
$2pq$
Heterozygotes / carriers
The fraction of the population carrying one copy of each allele. "Carrier" questions want this genotype frequency, not the allele frequency $q$ — a classic mix-up.
equilibrium
No change = not evolving
The state in which allele and genotype frequencies stay constant across generations. It holds only while all five conditions are met; a deviation signals that at least one condition is violated — not, by itself, that allele frequencies are changing.
the 5 conditions
What keeps it still
No mutation, random mating, no gene flow, large population (no drift), and no selection. Four of them block the forces that change allele frequencies (mutation, gene flow, drift, selection); random mating is what keeps genotypes in p², 2pq, q² proportions.
§4

Why the conditions aren't arbitrary — and why p and q aren't interchangeable.

Two things trip up almost everyone on Hardy-Weinberg. The first is treating the five conditions as a random list of trivia to memorize. The second is sliding between allele frequencies and genotype frequencies as if $p$ and $q$ could stand in for $p^2$, $2pq$, or $q^2$. Get these two straight and the rest is arithmetic.

Each condition blocks something specific — but they are not all blocking the same kind of thing. Evolution is a change in allele frequencies, and only four things can change them: mutation (creates new alleles), gene flow (adds or removes alleles by migration), genetic drift (random loss in small populations), and natural selection (non-random survival and reproduction). The fifth condition, random mating, sits in its own category. Non-random mating — inbreeding, assortative mating — changes which genotypes get built out of the same allele pool. An inbred population can have far fewer heterozygotes than $2pq$ predicts while $p$ and $q$ sit at exactly the values they had last generation. Genotypes move; alleles do not. So the conditions are not arbitrary — but four of them define “nothing is changing the alleles” and one defines “the genotypes are being shuffled fairly.”

$p$ and $q$ are allele frequencies; $p^2$, $2pq$, $q^2$ are genotype frequencies. $p$ and $q$ count how common each allele is and must add to one: $p + q = 1$. The squared expression, $p^2 + 2pq + q^2 = 1$, distributes those alleles into genotypes under random mating. Mixing the two levels is the single most common error — for example, reporting $q$ when the question asked for the recessive phenotype ($q^2$), or reporting $q$ for the fraction of carriers ($2pq$).

The recessive genotype is your only direct read. You cannot see $p$ or $q$ directly, and you cannot separate homozygous dominants ($p^2$) from heterozygotes ($2pq$) by eye — both show the dominant phenotype. What you can count is the recessive phenotype, which equals $q^2$. That is why every calculation starts there: from $q^2$ take the square root for $q$, then $p = 1 - q$, then rebuild $p^2$ and $2pq$.

Deviation from Hardy-Weinberg is the whole point. The model matters less as a description of real life — almost no population meets all five conditions — and more as a ruler. When observed genotype frequencies differ from the $p^2/2pq/q^2$ prediction, you know at least one condition is broken — and that is exactly as far as the deviation carries you. To say the population is evolving, you have to name the culprit: mutation, gene flow, drift, or selection moves the alleles, but non-random mating alone leaves $p$ and $q$ untouched while still wrecking the genotype prediction. A deviation is a lead to chase, not a conclusion. Keep four ideas straight — the conditions are specific, not arbitrary; alleles versus genotypes; $q^2$ is your entry point; and deviation flags a broken condition you still have to identify — and Hardy-Weinberg stops feeling like a formula to memorize.

§5

5 mistakes that cost real points.

Pitfall · 01

“The five conditions are just a random list to memorize.”

This is the “conditions are arbitrary” error (code U7-BIO10). Students treat no-mutation, random-mating, no-gene-flow, large-population, and no-selection as five unrelated facts to cram. They are not. Four of them — no mutation, no gene flow, large population, no selection — shut off the only forces that can change allele frequencies, which is exactly what evolution is. The fifth, random mating, is what keeps the genotypes distributed as $p^2$, $2pq$, and $q^2$; break it and the genotype counts skew even though $p$ and $q$ hold still. Turn all five off and both levels sit motionless.

Fix. For each condition, say exactly what it protects. Mutation, gene flow, drift, and selection — those four move the alleles. Random mating protects the genotype proportions. If you cannot say which level a violation would disturb, you have memorized it without understanding it.

Pitfall · 02

“The recessive allele frequency $q$ equals the fraction showing the recessive trait.”

This is the classic $p$/$q$ misapplication (code U7-BIO11). The fraction of the population with the recessive phenotype is a genotype frequency, $q^2$ — not the allele frequency $q$. If 9% of a population is recessive, that is $q^2 = 0.09$, so $q = \sqrt{0.09} = 0.3$, not $0.09$. Skipping the square root inflates the recessive allele frequency every time.

Fix. When you read “show the recessive trait,” write $q^2$, then take the square root to get $q$. Allele frequencies ($p$, $q$) are never the raw phenotype count.

Pitfall · 03

“The number of carriers is just $q$.”

Another $p$/$q$ mix-up (code U7-BIO11). “Carriers” are heterozygotes — one dominant and one recessive allele — so their frequency is the genotype term $2pq$, not the allele frequency $q$. With $p = 0.6$ and $q = 0.4$, carriers make up $2(0.6)(0.4) = 0.48$ of the population, wildly different from $0.4$. Reporting $q$ for carriers confuses an allele frequency with a genotype frequency.

Fix. Translate “carrier” as “heterozygote” and reach for $2pq$. Reserve $q$ for the recessive allele, never for a group of organisms.

Pitfall · 04

“If a population is at Hardy-Weinberg equilibrium, it must be a healthy, evolving population.”

This misreads what equilibrium means (code U7-BIO10). Equilibrium is the opposite of evolving: at equilibrium the allele frequencies do not change from generation to generation. The model is a null baseline, not a description of a thriving population. Its real usefulness is as a ruler — when observed genotype frequencies deviate from the $p^2/2pq/q^2$ prediction, you know some condition is broken, and then you go find out which.

Fix. Read “at Hardy-Weinberg equilibrium” as “not evolving — frequencies constant.” Treat a deviation as evidence that an assumption failed — then identify it. If the culprit is mutation, gene flow, drift, or selection, the alleles are moving and the population is evolving. If it is non-random mating alone, the genotypes are skewed but $p$ and $q$ have not budged.

Pitfall · 05

“$p + q = 1$ and $p^2 + 2pq + q^2 = 1$ are two ways of saying the same thing.”

They are related but track different levels (code U7-BIO11). $p + q = 1$ is a statement about alleles; $p^2 + 2pq + q^2 = 1$ is a statement about genotypes — it is what you get when random mating distributes those alleles into pairs. Blurring them leads to errors like adding $p$ and $q^2$ together, or forgetting the $2pq$ heterozygote term entirely. Each equation must sum to one on its own level.

Fix. Label every quantity before you combine it: is it an allele frequency ($p$, $q$) or a genotype frequency ($p^2$, $2pq$, $q^2$)? Only add terms that live on the same level.

§6

Skill Check.

Ten scenarios. Pick the chips that match your answer, then check. A scenario marks complete the first time every part is right. Progress saves on this device.

0 of 10 scenarios complete