The Hardy-Weinberg equilibrium describes the stable genotype frequencies in a population when certain conditions are met.
If p is the frequency of the dominant allele and q is the frequency of the recessive allele, then the Hardy-Weinberg equilibrium can be expressed as: (p + q)^2 = p^2 + 2pq + q^2
This equilibrium is maintained if: