Hardy-Weinberg Practice Problems- Biology Genetics

What You Actually Need to Know About Hardy-Weinberg Practice Problems

Most biology students panic when they see Hardy-Weinberg problems. They're not that hard once you understand the two equations and how to apply them. This guide cuts through the confusion with actual practice problems and clear explanations.

The Two Equations You Must Memorize

p² + 2pq + q² = 1

This is the genotype frequency equation. It tells you what percentage of a population has each genetic combination.

p + q = 1

This is the allele frequency equation. It tells you how common each version of a gene is in the population.

Getting Started: The Basic Method

Here's the approach that works every time:

  1. Identify what information you're given in the problem
  2. Determine which equation to use first
  3. Solve for your unknown variable
  4. Plug your answer into the second equation if needed

Practice Problem 1: Finding Allele Frequencies from Genotype Counts

Problem: In a population of 500 butterflies, 245 are homozygous dominant (MM), 210 are heterozygous (Mm), and 45 are homozygous recessive (mm). Find the allele frequencies for M and m.

Step 1: Count the total alleles. Each individual has 2 alleles, so 500 butterflies × 2 = 1000 total alleles.

Step 2: Count the dominant alleles. Homozygous dominant (MM) gives you 2 × 245 = 490 M alleles. Heterozygous (Mm) gives you 210 M alleles. Total M alleles = 490 + 210 = 700.

Step 3: Calculate p. p = 700/1000 = 0.7

Step 4: Calculate q. q = 1 - p = 1 - 0.7 = 0.3

You can verify this: q² = (0.3)² = 0.09. 0.09 × 500 butterflies = 45 individuals. This matches the problem. ✓

Practice Problem 2: Starting from Recessive Phenotype

Problem: In a population, 16% of individuals show the recessive trait (aa). Assuming Hardy-Weinberg equilibrium, find the frequencies of both alleles and all three genotypes.

Step 1: Use q² = 0.16. This is given directly in the problem.

Step 2: Solve for q. q = √(0.16) = 0.4

Step 3: Solve for p. p = 1 - q = 1 - 0.4 = 0.6

Step 4: Calculate the genotypes:

Check: 0.16 + 0.36 + 0.48 = 1.0 ✓

Practice Problem 3: Heterozygote Frequency Problem

Problem: The frequency of the recessive allele (q) is 0.2. If the population is in Hardy-Weinberg equilibrium, what percentage of individuals are carriers (heterozygous)?

Step 1: You already have q = 0.2

Step 2: Calculate p. p = 1 - 0.2 = 0.8

Step 3: Calculate 2pq. 2pq = 2 × 0.8 × 0.2 = 0.32

32% of the population are carriers. Most people with a recessive allele don't show the trait—this is why genetic counseling matters for traits like cystic fibrosis.

Practice Problem 4: Evolution Detection

Problem: You sample 1,000 individuals and find 900 show the dominant phenotype. The population is recessive for a gene with two alleles. Is this population evolving?

Step 1: You have 900 dominant phenotype. This means 100 must be recessive phenotype (aa).

Step 2: q² = 100/1000 = 0.1

Step 3: q = √(0.1) = 0.316

Step 4: p = 1 - 0.316 = 0.684

Step 5: Expected recessive genotype = q² = 0.1 (already confirmed). Expected dominant genotype = p² + 2pq = (0.684)² + 2(0.684)(0.316) = 0.468 + 0.432 = 0.9

The observed matches expected, so no evolution is occurring. If they didn't match, the population would be evolving.

Hardy-Weinberg Conditions: When Equilibrium Breaks

The Hardy-Weinberg model assumes no evolution. If you see any of these conditions violated, evolution is happening:

Quick Reference Table

Given InformationFirst StepWhat You Solve
q² (recessive genotype frequency)q = √(q²)Then find p, then all genotypes
Allele counts from populationCount total alleles and specific allelesp = count/Total, q = 1-p
Individual counts (AA, Aa, aa)Divide by total populationFind genotype frequencies, then allele frequencies
Just p or just qUse p + q = 1Find the other allele frequency
Heterozygote frequency (2pq)2pq given, solve for p or q if one knownFind missing variable, then all genotypes

Common Mistakes to Avoid

Mistake 1: Confusing genotype and allele frequencies

q² is the frequency of homozygous recessive individuals. q is the frequency of the recessive allele. These are not the same thing.

Mistake 2: Forgetting to take the square root

To find q from q², you need the square root. If q² = 0.25, then q = 0.5. Not 0.25.

Mistake 3: Not verifying your answer

Always check that p² + 2pq + q² = 1. If it doesn't, something went wrong.

Mistake 4: Using phenotype frequencies instead of genotype frequencies

Dominant phenotype includes both p² (homozygous dominant) and 2pq (heterozygotes). You cannot directly use dominant phenotype frequency to find p².

How To Solve Any Hardy-Weinberg Problem

Step 1: Read the problem and extract numbers. Circle or write down: total population size, counts of each phenotype/genotype, or percentages.

Step 2: Decide which equation to start with. If you have q², take the square root. If you have allele counts, divide by total alleles.

Step 3: Solve for the unknown. Get p or q first.

Step 4: Use the second equation to find the other variable.

Step 5: Calculate remaining genotype frequencies using p², 2pq, and q².

Step 6: Verify. All frequencies should sum to 1 (or 100%).

Why This Matters

Hardy-Weinberg isn't just a classroom exercise. It's the baseline for detecting evolution in real populations. When observed genotype frequencies don't match expected frequencies, something is causing evolution—natural selection, genetic drift, mutation, or migration.

Researchers use this math to track changes in disease alleles, monitor endangered populations, and understand how species adapt to environmental changes.

Master these problems and you're not just passing the test. You're learning the foundation of population genetics.