in the population equal one, or, expressed in terms of the symbols p and q, it can be seen that the genotypic probabilities are:
p 2 + 2pq + q 1 = 1
(In mathematical terms p + q = 1 is the mathematical equation of probability and p 2 + 2pq + q 2 = 1 is the binomial expansion of that equation (that is (p + q)2 ).
To summarise, since
p = dominant allele frequency
q = recessive allele frequency
p 2 = homozygous dominant genotype
2pq = heterozygous genotype
q 2 = homozygous recessive genotype
it is possible to calculate all allele and genotype frequencies using the expressions: allele frequency
p + q =1,
and genotype frequency
p 2 + 2pq + q 2 = 1.
Understanding Hardy Weinberg Principle