Hardy-Weinberg principle states that the allele frequencies in a population are stable and remain constant from generation to generation.
This can be expressed by the equation
$p^2 + 2pq + q^2 = 1$ or $(p + q)^2 = 1$
where, p 1 represents frequency of homozygous dominant genotype, $2pq$ represents the frequency of heterozygous genotype and $q^2$ represents the frequency of homozygous recessive genotype.