How the Hardy-Weinberg equation is derived
1. Consider a population of sexually reproducing diploid organisms
2. The symbol "p" represents the frequency of the "A" allele
3. The symbol "q" represents the frequency of the "a" allele
4. 100% of the population will have either "AA", "Aa", or "aa" (1 being 100%)
5. If males and females mate at random, the frequency that gametes carrying "A" will combine with gametes carrying "A" will be p²
6. The frequency that male gametes carrying "A" will combine with female gametes carrying "a" will be pq
7. The probability that a male gamete carrying "A" will combine with a female gamete carrying "a" is p
8. The probability that a male gamete carrying "a" will combine with a female gamete carrying "a" is q
9. Therefore, the probability of the "Aa" combination is 2pq