The two equations for Hardy-Weinberg equilibrium are:
- p^2 + 2pq + q^2 = 1
- p + q = 1
In these equations, the variables represent:
- p: the frequency of the dominant allele in the population
- q: the frequency of the recessive allele in the population
In the first equation, p^2 represents the frequency of homozygous dominant individuals, q^2 represents the frequency of homozygous recessive individuals, and 2pq represents the frequency of heterozygous individuals. The sum of these frequencies must be equal to 1, as they represent all the possible genotypes in the population.
In the second equation, p + q = 1 represents the fact that the total frequency of all alleles in the population must add up to 1.


