WHY do we care? Because it is a null hypothesis. If real genotype numbers match Hardy-Weinberg predictions → the gene is probably not evolving. If they don't match → some force (selection, drift, migration, etc.) is at work, and that deviation is what tells us evolution is happening.
Step 1 — Define the gene pool.
Imagine all the gametes (eggs + sperm) of the whole population dumped into one bucket. A fraction p carry allele A; a fraction q carry allele a.
Why this step? Random mating means offspring are formed by drawing two gametes at random from this bucket — so genotype frequencies become a probability problem.
Step 2 — Draw two gametes independently.
Probability the offspring is:
AA = P(first is A) × P(second is A) = p×p=p2
aa = q×q=q2
Aa = A then a, ora then A = pq+qp=2pq
Why the factor of 2? Because heterozygotes can form two ways — you can get A from mum & a from dad, or the reverse. Miss this and your frequencies won't add to 1.
Step 3 — Check they sum to 1.p2+2pq+q2=(p+q)2=(1)2=1✓Why this step? It's the algebraic guarantee we've covered every possible offspring — nothing is missing.
Step 4 — Show it's stable (the actual "equilibrium").
Compute the allele frequency of A in the offspring generation. Every AA contributes 2 copies of A; every Aa contributes 1:
p′=22p2+2pq=p2+pq=p(p+q)=p(1)=p
So p′=p. The allele frequency did not change. That constancy — generation after generation — is Hardy-Weinberg equilibrium.
Imagine a giant jar of red and blue marbles (red = allele A, blue = allele a). To make a baby, you close your eyes and grab two marbles at random. If nobody adds, removes, repaints, or cheats by picking favourites, then the fraction of red vs blue marbles in the jar stays the same forever. And you can predict exactly how many babies get two reds, two blues, or one of each — just by multiplying the chances. That "nothing changes" jar is Hardy-Weinberg. When the real jar does change, you know someone's been messing with the marbles — that "messing" is evolution.
Dekho, Hardy-Weinberg principle basically ek "kuch nahi badal raha" wali situation hai. Socho ek badi population hai jahan mating random hai, koi mutation nahi, koi bahar se aa-ja nahi raha (migration), aur koi allele dusre pe selection ka pressure nahi daal raha. Aisi ideal condition mein allele frequencies (p aur q) generation se generation same rehti hain — bilkul constant. Isko yaad rakho jaise physics ka "no force, no acceleration" rule.
Formula simple hai: p+q=1 aur p2+2pq+q2=1. Yahan p2 matlab AA (homozygous dominant), q2 matlab aa (homozygous recessive), aur 2pq matlab Aa (heterozygous). Yeh formula hum derive karte hain gene pool se — do gametes randomly uthao, probability multiply karo, bas ho gaya. 2pq mein jo "2" hai woh isliye hai kyunki Aa do tareeke se ban sakta hai (mummy se A + papa se a, ya ulta).
Ab iska asli fayda kya hai? Yeh ek null hypothesis hai. Agar real population ke genotype numbers is formula se match karte hain, matlab woh gene evolve nahi ho raha. Agar match nahi karte, matlab koi na koi force (selection, drift, migration, mutation, ya non-random mating) kaam kar raha hai — aur wahi deviation humein batata hai ki evolution ho raha hai. Exam tip: agar recessive phenotype ka percentage diya ho, woh q2 hota hai, uska square root lo to q milega. Aur factor of 2 kabhi mat bhoolna warna sab galat!