Algorithm Search⌘K

Theoremintro

Hardy-Weinberg principle

Also called Hardy-Weinberg equilibrium, Hardy-Weinberg law.

With random mating, an autosomal locus with equal allele frequencies in both sexes and no selection, mutation, migration or drift (a large population) reaches p^2, 2pq, q^2 in one generation.

The Hardy-Weinberg principle says that random mating turns any set of genotype frequencies at one locus into the proportions p2p^2, 2pq2pq and q2q^2 in one generation, and that these proportions then stay fixed. It holds under a strict list of assumptions: an autosomal locus, equal allele frequencies in the two sexes, no selection, mutation or migration, discrete generations and a population so large that chance plays no part. The "no drift" in the summary stands for this last assumption. The principle is the null model of population genetics: each force of evolution shows itself as a departure from it.

Statement

The setting. One autosomal locus with alleles A1,…,AkA_1, \ldots, A_k in a diploid population. Let PijP_{ij} be the frequency of genotype AiAjA_iA_j among the parents, counted once for each unordered pair, and let

pi=Pii+12∑j≠iPijp_i = P_{ii} + \tfrac12 \sum_{j \ne i} P_{ij}

be the allele frequency of AiA_i. For two alleles AA and aa, write pp and q=1−pq = 1 - p.

The hypotheses.

  1. Random mating. Each offspring has two parents drawn independently from the parent generation, with no regard to genotype. (Random union of gametes from a common pool gives the same result.)
  2. Mendelian transmission. A parent passes each of its two copies to an offspring with probability 1/21/2.
  3. Equal frequencies in the sexes. If the sexes are separate, the genotype frequencies, or at least the allele frequencies, are the same in males and in females.
  4. No selection. All genotypes have the same survival and the same fertility.
  5. No mutation and no migration.
  6. Discrete generations. Parents breed once and do not mate with their offspring.
  7. An infinite population. The frequencies in the offspring generation equal their probabilities. For a finite population, the statements below hold for the expected genotype frequencies of one offspring, and genetic drift adds random error.

The claims.

  • (A) Allele frequencies are constant. The offspring generation has the allele frequencies p1,…,pkp_1, \ldots, p_k of the parents.
  • (B) One generation suffices. The offspring genotype frequencies are
Pii′=pi2,Pij′=2pipj(i<j),P'_{ii} = p_i^2, \qquad P'_{ij} = 2 p_i p_j \quad (i < j),

whatever the parental genotype frequencies were. For two alleles they are p2p^2, 2pq2pq and q2q^2.

  • (C) Equilibrium. Every later generation has the same frequencies. A population in these proportions is in Hardy-Weinberg equilibrium.

In plain words

Think of every parent as a bag that holds two gene copies. A child takes one copy at random from the bag of each parent. Pool all the bags of the population: a copy drawn from a random parent is a given allele with the chance that equals that allele's share of the pool. The two parents are drawn on their own, so the two copies of a child are like two independent draws from the pool. So the share of children with two copies of one kind is the share of that kind times itself, and the share of mixed children is twice the product of the two shares. The pool of the children has the same make-up as the pool of the parents, so the same thing happens again in the next generation. The old mix of genotypes does not matter after one round of random mating.

Proof

Fix one offspring and look at the copy it gets from its first parent. The parent is a random member of the parent generation, so it has genotype AiAiA_iA_i with probability PiiP_{ii} and genotype AiAjA_iA_j (j≠ij \ne i) with probability PijP_{ij}. By hypothesis 2 it passes AiA_i with probability 1 in the first case and 1/21/2 in the second, and never otherwise. By the law of total probability, the transmitted copy is AiA_i with probability

Pii⋅1+∑j≠iPij⋅12=pi.P_{ii} \cdot 1 + \sum_{j \ne i} P_{ij} \cdot \tfrac12 = p_i.

By hypothesis 3 the same holds for the second parent, who comes from the other sex. By hypothesis 1 the two parents are drawn independently, and by hypothesis 2 the segregation in one parent does not depend on the other, so the two transmitted copies are independent. Hence the offspring is AiAiA_iA_i with probability pi⋅pi=pi2p_i \cdot p_i = p_i^2. It is AiAjA_iA_j with i<ji < j when the first copy is AiA_i and the second is AjA_j, or the other way round, with probability 2pipj2 p_i p_j. By hypotheses 4 and 5 no genotype is removed or changed between conception and breeding, and no copies enter from outside. By hypothesis 7 the offspring frequencies equal these probabilities. This proves (B).

For (A), apply the formula for pip_i to the offspring:

pi′=pi2+12∑j≠i2pipj=pi(pi+∑j≠ipj)=pi,p'_i = p_i^2 + \tfrac12 \sum_{j \ne i} 2 p_i p_j = p_i \Big(p_i + \sum_{j \ne i} p_j\Big) = p_i,

because the frequencies sum to 1.

For (C), the offspring generation satisfies all hypotheses again (hypothesis 6 keeps the generations apart, and hypothesis 3 holds for the offspring because both sexes of the offspring are built by the same draw). So the next generation has genotype frequencies pi2p_i^2 and 2pipj2p_ip_j with the same pip_i, and by induction so does every later one. ■\blacksquare

A check by the mating table. Start with half AAAA and half aaaa, so p=1/2p = 1/2 and no heterozygotes. Random pairs are AA×AAAA \times AA with probability 1/41/4 (all offspring AAAA), aa×aaaa \times aa with probability 1/41/4 (all aaaa) and AA×aaAA \times aa in either order with probability 1/21/2 (all AaAa). So the offspring are 1/41/4 AAAA, 1/21/2 AaAa and 1/41/4 aaaa, which is p2p^2, 2pq2pq and q2q^2 with p=1/2p = 1/2.

Consequences

  • Genotype frequencies follow from allele frequencies. Under the hypotheses, a population at one locus is described by k−1k - 1 numbers instead of k(k+1)/2−1k(k+1)/2 - 1. This is why most models of population genetics, from the Wright-Fisher model to the Wright-Fisher diffusion, follow only the allele frequency pp.
  • Rare recessive alleles hide in heterozygotes. With q=0.01q = 0.01, the frequency of affected aaaa individuals is q2=0.0001q^2 = 0.0001 and the frequency of carriers AaAa is 2pq=0.01982pq = 0.0198. The share of the aa copies that sit in heterozygotes is 2pq/(2pq+2q2)=p=0.992pq / (2pq + 2q^2) = p = 0.99. So selection against aaaa removes few copies, which is why mutation-selection balance gives the large frequency u/s\sqrt{u/s} for a recessive.
  • A null hypothesis for data. Observed genotype counts are compared with the expected counts np2n p^2, 2npq2npq and nq2nq^2 by a chi-squared goodness-of-fit test or by the Hardy-Weinberg exact test. In association studies a strong departure in controls often points to a genotyping error.
  • What departures mean. Inbreeding with coefficient FF gives PAA=p2+FpqP_{AA} = p^2 + Fpq, PAa=2pq(1−F)P_{Aa} = 2pq(1 - F) and Paa=q2+FpqP_{aa} = q^2 + Fpq, a deficit of heterozygotes (kinship coefficient, identity by descent). Pooling subpopulations with different pp gives a deficit too (the Wahlund effect): two equal subpopulations with p=0.2p = 0.2 and p=0.8p = 0.8, each in Hardy-Weinberg proportions, have pooled p=0.5p = 0.5 and expected heterozygosity 0.50.5, but the observed heterozygosity is 2⋅0.2⋅0.8=0.322 \cdot 0.2 \cdot 0.8 = 0.32. The deficit 0.180.18 equals 2Var⁡(p)=2⋅0.092 \operatorname{Var}(p) = 2 \cdot 0.09, and the fixation index measures it. Viability selection acts after conception, so adults can depart from the proportions even when zygotes satisfy them.
  • Two loci are different. Each locus reaches Hardy-Weinberg proportions in one generation, but the association between loci does not vanish in one step. The linkage disequilibrium DD decays as D′=(1−r)DD' = (1 - r) D per generation, where rr is the recombination fraction.

Tightness

Each hypothesis is needed for the one-generation claim.

  • Unequal allele frequencies in the sexes. Let the frequency of AA be pmp_m in males and pfp_f in females. The offspring are AAAA with probability pmpfp_m p_f, AaAa with pmqf+qmpfp_m q_f + q_m p_f and aaaa with qmqfq_m q_f. With pˉ=(pm+pf)/2\bar p = (p_m + p_f)/2, the heterozygote frequency exceeds 2pˉqˉ2 \bar p \bar q by (pm−pf)2/2(p_m - p_f)^2 / 2. The offspring of both sexes have the frequency pˉ\bar p, so the next generation is in Hardy-Weinberg proportions: two generations are needed, not one. Example: pm=1p_m = 1 and pf=0p_f = 0 give only AaAa offspring (heterozygosity 1, not 0.5), and the generation after that has 1/41/4, 1/21/2 and 1/41/4 (Ewens 2004, section 2.3).
  • An X-linked locus. A male gets his X from his mother, so pm′=pfp_m' = p_f, and a female gets one X from each parent, so pf′=(pm+pf)/2p_f' = (p_m + p_f)/2. The difference d=pf−pmd = p_f - p_m obeys d′=−d/2d' = -d/2: it halves and changes sign each generation, and only the weighted mean (pm+2pf)/3(p_m + 2 p_f)/3 is constant. From pm=1p_m = 1 and pf=0p_f = 0 the pairs (pm,pf)(p_m, p_f) are (1,0)(1, 0), (0,0.5)(0, 0.5), (0.5,0.25)(0.5, 0.25), (0.25,0.375)(0.25, 0.375) and so on toward (1/3,1/3)(1/3, 1/3). Females reach Hardy-Weinberg proportions only in the limit.
  • A finite population. In a population of NN diploids, pp performs a random walk and the heterozygosity decays by the factor 1−1/(2N)1 - 1/(2N) per generation (genetic drift). In a finite sample there is also a small excess of heterozygotes: given nAn_A copies of AA among 2n2n, random union gives E[nAa]=nAna/(2n−1)\mathbb E[n_{Aa}] = n_A n_a / (2n - 1), a bit more than 2np^q^=nAna/(2n)2n \hat p \hat q = n_A n_a / (2n).
  • Overlapping generations. If parents of different ages mate, the approach is gradual and no single generation step gives the proportions.
  • Non-random mating. Selfing and assortative mating keep a heterozygote deficit for ever; disassortative mating gives an excess.

History

G. H. Hardy, a mathematician, wrote a short letter to Science in 1908 to answer the view, then current among biologists, that a dominant allele should spread until the dominant phenotype makes up three quarters of the population. He showed that random mating keeps any allele frequency, with the genotype proportions p2p^2, 2pq2pq and q2q^2. The physician Wilhelm Weinberg derived the same law in the same year in a paper on the inheritance of human traits. English-language texts long called it Hardy's law; the name Hardy-Weinberg became standard after Curt Stern pointed to Weinberg's paper in 1943. Earlier special cases appear in the work of Castle and of Pearson (Ewens 2004, section 1.2, gives the background).

References

  1. G. H. Hardy, Mendelian proportions in a mixed population, Science 28(706), 1908, pp. 49-50 (the proportions p^2, 2pq, q^2 after one generation of random mating, and their stability)
  2. Weinberg 1908, the same equilibrium, found independently of Hardy
  3. Warren J. Ewens, Mathematical Population Genetics I, Theoretical Introduction, 2nd edition, Springer, 2004, Section 1.2 (the Hardy-Weinberg law, p. 3), Section 2.3 (dioecious populations, p. 44) and Section 2.4 (multiple alleles, p. 49)
  4. John H. Gillespie, Population Genetics, A Concise Guide, 2nd edition, Johns Hopkins University Press, 2004, Section 1.4 (the Hardy-Weinberg law)
  5. Rasmus Nielsen and Montgomery Slatkin, An Introduction to Population Genetics, Theory and Applications, Sinauer, 2013, Chapter 1 (Hardy-Weinberg equilibrium and the departures from it)

Where this leads

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW4 complete
  • a review of the text: no review record reviews/50C79H/text.yaml