The Hardy-Weinberg equation is a relatively simple mathematical equation that describes a very important principle of population genetics: the amount of genetic variation in a population will remain the same from generation to generation unless there are factors driving the frequencies of certain alleles (genetic variants) to change.