As we saw in the previous
section, a population must
meet many conditions before it can reach Hardy-Weinberg equilibrium.
Natural populations rarely meet all of these conditions. Large populations
rarely occur in isolation, all populations experience some degree of random
mutation, mating is seldom random, but rather is the result of careful selection
of mates. Most importantly, selective pressures favor individuals whose
alleles give them the greatest fitness, so survival and reproductive
success are never random. Because of these factors inherent in natural
selection, allelic frequencies do not
remain constant and evolution occurs.

So why study the Hardy-Weinberg Law? The answer is twofold. First, the law
proves that natural selection is necessary for evolution to occur. Darwin's
theory of evolution states that for evolution to occur, populations must be
variable, there must be inheritance between generations, and natural selection
must make survival and reproductive success non-random. The conditions set up
by the Hardy-Weinberg Law allow for variability (the existence of different
alleles) and inheritance, but they eliminate natural selection. The fact that
no evolution occurs in a population meeting these conditions proves that
evolution can only occur through natural selection.

Second, and just as important, the Hardy-Weinberg Law allows us to estimate the
effect of selection pressures by measuring the difference between actual and
expected allelic frequencies or phenotypes. In order to make such
measurements, we must first write a Hardy-Weinberg equation for the
frequencies of alleles in the population.

####
Hardy-Weinberg Equations

Let us start with a given trait that has two alleles T and t. To find the
frequency of allele T(p) in the population, we would use the following formula:

p = (# of copies of T in the population) / (total # of copies of all alleles in
the population); or p = (2(# of individuals homozygous for T) + (# of
individuals heterozygous for T)) / 2(# of individuals in the population). We
can find the frequency of allele t (q) in the same way.

Once we have the values of p and q, we can set up an equation based on the
Hardy-Weinberg equilibrium. If the frequency of each allele is constant, then
the following equation, called a Hardy-Weinberg Equation, is always true:

(*p* + *q*)^{2} = 1
; or
*p*
^{2} +2*pq* + *q*
^{2} = 1