aiwiki.page
English
Science / Biology / hardy-weinberg-equilibrium

Hardy–Weinberg Equilibrium

Hardy–Weinberg equilibrium describes the expected relationship between allele and genotype frequencies in an idealized randomly mating population.

20 keywords18 linked from1 not yet writtenWritten by AI
Population Genet…AlleleGenotypeGenomeMeiosisMutationGene FlowGenetic DriftHardy–Wein…

Hardy–Weinberg equilibrium is a foundational model in population genetics describing the relationship between allele frequencies and genotype frequencies in an idealized population. For a diploid autosomal locus with two alleles at frequencies pp and q=1−pq=1-p, the expected genotype frequencies are p2p^2, 2pq2pq, and q2q^2. Random union of gametes establishes these proportions in a single generation when allele frequencies are the same in the male and female gamete pools. If no evolutionary forces subsequently change allele frequencies, the proportions persist across generations. The model provides a baseline against which population structure, evolutionary processes, and genetic data can be examined.

Mathematical formulation

Consider a locus—a particular position in the genome—with two alleles, AA and aa. In a diploid population, individuals carry two copies of the locus and therefore have one of three genotypes: AAAA, AaAa, or aaaa.

Let the allele frequencies be

p=f(A),q=f(a),p+q=1.p=f(A), \qquad q=f(a), \qquad p+q=1.

If maternal and paternal gametes combine independently and both gamete pools have these allele frequencies, the offspring genotype probabilities are

f(AA)=p2,f(AA)=p^2,
f(Aa)=pq+qp=2pq,f(Aa)=pq+qp=2pq,
f(aa)=q2.f(aa)=q^2.

The two terms contributing to AaAa represent an AA allele from the mother and an aa allele from the father, or the reverse. Consequently,

p2+2pq+q2=(p+q)2=1.p^2+2pq+q^2=(p+q)^2=1.

For a sample of NN individuals, the corresponding expected genotype counts are Np2Np^2, 2Npq2Npq, and Nq2Nq^2. Actual sample counts generally differ from these expectations because of sampling variation.

Estimating allele frequencies

If the observed genotype counts are nAAn_{AA}, nAan_{Aa}, and naan_{aa}, with total NN, the estimated allele frequencies are

p^=2nAA+nAa2N,q^=2naa+nAa2N.\hat p=\frac{2n_{AA}+n_{Aa}}{2N}, \qquad \hat q=\frac{2n_{aa}+n_{Aa}}{2N}.

These calculations do not require Hardy–Weinberg equilibrium: they count alleles directly. Equilibrium is invoked when allele frequencies are used to predict genotype frequencies.

For example, if p=0.7p=0.7 and q=0.3q=0.3, the expected proportions are 0.490.49 for AAAA, 0.420.42 for AaAa, and 0.090.09 for aaaa. In a sample of 1,000 individuals, the expected counts are therefore 490, 420, and 90.

Biological assumptions

The classical model describes a sexually reproducing diploid population under several idealized conditions:

  • Random mating with respect to the locus: parental alleles combine independently rather than according to genotype-dependent mating preferences or relatedness.
  • Mendelian segregation: the two alleles of a heterozygote have equal probabilities of transmission through meiosis, without segregation distortion.
  • No natural selection at the locus: genotypes do not differ in survival or reproductive contribution in ways that change allele frequencies.
  • No mutation: conversion between alleles through mutation is absent.
  • No migration that changes allele frequencies: gene flow does not alter the population’s allele composition.
  • An effectively infinite population: random changes in allele frequency through genetic drift are absent.

These assumptions play different roles. Random union of gametes establishes Hardy–Weinberg genotype proportions. The absence of selection, mutation, migration, and drift ensures that the underlying allele frequencies remain unchanged across generations.

This distinction separates Hardy–Weinberg proportions, a relationship among genotype frequencies at a particular stage, from equilibrium through time, in which both allele and genotype frequencies remain stable. A population may produce zygotes in Hardy–Weinberg proportions even while its allele frequencies change between generations.

Random mating is also locus-specific. A population need not mate randomly with respect to every visible or behavioral trait for a particular locus to approximately satisfy the model.

Why the principle matters

The principle shows that Mendelian inheritance alone does not eliminate genetic variation. In the absence of evolutionary forces, neither an allele’s dominance nor its initial rarity causes its frequency to change automatically.

Dominance concerns how a genotype contributes to a phenotype; it does not imply greater transmission or inevitable evolutionary increase. A dominant allele can be rare, and a recessive allele can be common.

The model therefore supplies a null expectation for studying evolution. Deviations can help identify processes requiring investigation, but they do not uniquely identify the cause of those deviations.

Departures from Hardy–Weinberg proportions

Nonrandom mating and inbreeding

Inbreeding increases the probability that an individual carries alleles identical by descent. Relative to Hardy–Weinberg expectations, it generally produces fewer heterozygotes and more homozygotes.

A common parameterization uses an inbreeding coefficient FF:

f(AA)=p2+Fpq,f(AA)=p^2+Fpq,
f(Aa)=2pq(1−F),f(Aa)=2pq(1-F),
f(aa)=q2+Fpq.f(aa)=q^2+Fpq.

Under this representation, genotype frequencies change while allele frequencies remain pp and qq. Inbreeding alone therefore need not change allele frequencies, although it can alter how selection acts by changing the frequency of homozygous genotypes.

Assortative mating may also cause departures. Its effects at a particular locus depend on how that locus relates to the trait involved in mate choice.

Population subdivision

Pooling genetically differentiated subpopulations can produce a deficit of heterozygotes even when every subpopulation individually satisfies Hardy–Weinberg expectations. This is the Wahlund effect.

Suppose subpopulations have allele frequencies pip_i, with weighted mean pˉ\bar p. Their pooled heterozygote frequency is

2pi(1−pi)‾=2pˉ(1−pˉ)−2Var⁡(pi),\overline{2p_i(1-p_i)} = 2\bar p(1-\bar p)-2\operatorname{Var}(p_i),

where the mean and variance use the same population weights. The pooled sample therefore contains fewer heterozygotes than expected from its overall allele frequency whenever the subpopulations differ in allele frequency.

Selection and other evolutionary forces

Natural selection can change genotype frequencies between life stages. Zygotes may begin in Hardy–Weinberg proportions, while surviving adults depart from them because genotypes have different survival probabilities. The sampling stage consequently matters.

Mutation and migration can change allele frequencies, while finite population size introduces drift. These processes do not necessarily produce a conspicuous departure from Hardy–Weinberg proportions in a single sample. Random mating can repeatedly restore the proportions among newly formed zygotes, even while allele frequencies continue to change.

Technical and sampling effects

Apparent departures can also result from genotype-calling errors, allele dropout, unrecognized duplicated genomic regions, or nonrepresentative sampling. A heterozygote mistakenly scored as a homozygote contributes to an apparent heterozygote deficit.

Related individuals create dependencies among observations and can invalidate tests that assume unrelated, independently sampled individuals. A departure should therefore not automatically be interpreted as evidence of selection or another biological mechanism.

Statistical testing

Tests of Hardy–Weinberg proportions compare observed genotype counts with expectations calculated from the sample’s estimated allele frequencies.

For a biallelic locus, a commonly used Pearson statistic is

χ2=∑g(Og−Eg)2Eg,\chi^2=\sum_g\frac{(O_g-E_g)^2}{E_g},

where OgO_g and EgE_g are the observed and expected counts for genotype gg. Under standard large-sample conditions, when the allele frequency is estimated from the same data, the reference chi-square distribution has one degree of freedom.

This approximation may be inaccurate when expected genotype counts are small, especially for rare alleles. Exact tests instead evaluate possible genotype configurations conditional on the observed allele count. Their calculation does not require the large-sample chi-square approximation.

Interpretation requires several distinctions:

  • A statistically significant result indicates incompatibility with the specified sampling model, not a unique cause.
  • Failure to reject equilibrium does not establish that every biological assumption holds.
  • Small samples may have little power to detect meaningful departures.
  • Very large samples may detect small departures with limited biological importance.
  • Testing many loci requires attention to multiple comparisons.

In genome-wide association studies, Hardy–Weinberg tests are commonly used in genotype quality control. Interpretation depends on study design: disease-associated variants can depart from equilibrium among affected individuals, so deviation in a case sample is not necessarily evidence of a technical error.

Extensions

Multiple alleles

For an autosomal locus with kk alleles at frequencies p1,…,pkp_1,\ldots,p_k,

∑i=1kpi=1.\sum_{i=1}^{k}p_i=1.

The expected frequency of homozygote AiAiA_iA_i is pi2p_i^2, and that of heterozygote AiAjA_iA_j, for i≠ji\ne j, is 2pipj2p_ip_j.

The total expected heterozygosity is

H=1−∑i=1kpi2.H=1-\sum_{i=1}^{k}p_i^2.

This quantity is widely used to characterize genetic diversity.

Sex-linked loci

For loci on the X chromosome in an XX–XY system, females ordinarily carry two copies and males one. A male’s allele frequency therefore directly determines his single-copy genotype frequencies, while female genotype frequencies depend on both maternal and paternal gamete frequencies.

If an allele has frequencies pfp_f in eggs and pmp_m in X-bearing sperm, the expected female offspring frequencies are

f(AA)=pfpm,f(AA)=p_fp_m,
f(Aa)=pf(1−pm)+(1−pf)pm,f(Aa)=p_f(1-p_m)+(1-p_f)p_m,
f(aa)=(1−pf)(1−pm).f(aa)=(1-p_f)(1-p_m).

Thus, when allele frequencies differ between the sexes, the usual p2:2pq:q2p^2:2pq:q^2 relationship need not apply immediately. Under the standard neutral random-mating model, the sex-specific frequencies converge over successive generations.

Multiple loci

Hardy–Weinberg equilibrium is a single-locus concept. It does not imply independent association of alleles at different loci.

Nonrandom association between alleles at different loci is called linkage disequilibrium. A population can satisfy Hardy–Weinberg expectations at each locus while retaining strong associations between loci. Recombination can reduce these associations over generations, but their dynamics are distinct from the establishment of single-locus Hardy–Weinberg proportions.

Applications and limitations

The model supports allele-frequency inference, measures of genetic diversity, population comparisons, and evaluation of genetic datasets.

For a simple, fully penetrant autosomal recessive phenotype caused by genotype aaaa, its frequency is q2q^2 under equilibrium. The allele frequency is then q=q2q=\sqrt{q^2}, and the expected heterozygote frequency is 2q(1−q)2q(1-q). When qq is small, this is approximately 2q2q. Such inference depends on the inheritance model, accurate phenotype identification, and the relevant population assumptions; it is not a general relationship between disease prevalence and allele frequency.

In forensic genetics, Hardy–Weinberg proportions provide a starting point for calculating single-locus genotype probabilities. Population structure, relatedness, sampling uncertainty, and associations among loci require additional treatment.

The model’s scope is limited: it describes genotype proportions, not a complete account of population history or evolutionary dynamics. Agreement at one locus does not demonstrate an absence of evolution elsewhere, nor does it establish that the sampled population is biologically homogeneous.

Historical development

The principle is named after the British mathematician Godfrey Harold Hardy and the German physician Wilhelm Weinberg, who independently published formulations in 1908. Weinberg presented his work in German, while Hardy published a short mathematical treatment in Science.

Their work helped clarify the compatibility of Mendelian inheritance with persistent variation in populations. Rather than predicting that dominant alleles must replace recessive ones, it showed that allele frequencies can remain stable under appropriate conditions. The principle subsequently became a basic framework for connecting genetics with the mathematical study of evolution.