The
Hardy–Weinberg principle states that within sufficiently large populations, the allele frequencies remain constant from one generation to the next unless the equilibrium is disturbed by
migration, genetic
mutations, or
selection. However, in finite populations, no new alleles are gained from the random sampling of alleles passed to the next generation, but the sampling can cause an existing allele to disappear. Because
random sampling can remove, but not replace, an allele, and because random declines or increases in allele frequency influence expected allele distributions for the next generation, genetic drift drives a population towards genetic uniformity over time. When an allele reaches a frequency of 1 (100%) it is said to be "fixed" in the population and when an allele reaches a frequency of 0 (0%) it is lost. Smaller populations achieve fixation faster, whereas in the limit of an infinite population, fixation is not achieved. Once an allele becomes fixed, genetic drift comes to a halt, and the allele frequency cannot change unless a new allele is introduced in the population via mutation or
gene flow. Thus even while genetic drift is a random, directionless process, it acts to eliminate
genetic variation over time.
Rate of allele frequency change due to drift Assuming genetic drift is the only evolutionary force acting on an allele, after
t generations in many replicated populations, starting with allele frequencies of
p and
q, the variance in allele frequency across those populations is : V_t \approx pq\left(1-\exp\left(-\frac{t}{2N_e} \right)\right)
Time to fixation or loss Assuming genetic drift is the only evolutionary force acting on an allele, at any given time the probability that an allele will eventually become fixed in the population is simply its frequency in the population at that time. For example, if the frequency
p for allele
A is 75% and the frequency
q for allele
B is 25%, then given unlimited time the probability
A will ultimately become fixed in the population is 75% and the probability that
B will become fixed is 25%. The expected number of generations for fixation to occur is
proportional to the population size, such that fixation is predicted to occur much more rapidly in smaller populations. Normally the effective population size, which is smaller than the total population, is used to determine these probabilities. The effective population (
Ne) takes into account factors such as the level of
inbreeding, the stage of the lifecycle in which the population is the smallest, and the fact that some neutral genes are genetically linked to others that are under selection. The effective population size may not be the same for every gene in the same population. One forward-looking formula used for approximating the expected time before a neutral allele becomes fixed through genetic drift, according to the Wright–Fisher model, is : \bar{T}_\text{fixed} = \frac{-4N_e(1-p) \ln (1-p)}{p} where
T is the number of generations,
Ne is the effective population size, and
p is the initial frequency for the given allele. The result is the number of generations
expected to pass before fixation occurs for a given allele in a population with given size (
Ne) and allele frequency (
p). The expected time for the neutral allele to be lost through genetic drift can be calculated as : \bar{T}_\text{fixed} = 4N_e for average number of generations expected before fixation of a neutral mutation, and : \bar{T}_\text{lost} = 2 \left ( \frac{N_e}{N} \right ) \ln (2N) for the average number of generations expected before the loss of a neutral mutation in a population of actual size N.
Time to loss with both drift and mutation The formulae above apply to an allele that is already present in a population, and which is subject to neither mutation nor natural selection. If an allele is lost by mutation much more often than it is gained by mutation, then mutation, as well as drift, may influence the time to loss. If the allele prone to mutational loss begins as fixed in the population, and is lost by mutation at rate m per replication, then the expected time in generations until its loss in a haploid population is given by : \bar{T}_\text{lost} \approx \begin{cases} \dfrac 1 m, \text{ if } mN_e \ll 1\\[8pt] \dfrac{\ln{(mN_e)}+\gamma} m \text{ if } mN_e \gg 1 \end{cases} where \gamma is
Euler's constant. The first approximation represents the waiting time until the first mutant destined for loss, with loss then occurring relatively rapidly by genetic drift, taking time The second approximation represents the time needed for deterministic loss by mutation accumulation. In both cases, the time to fixation is dominated by mutation via the term , and is less affected by the
effective population size. ==Versus natural selection==