SECTION 1
Historical Context & Motivation
Have you ever wondered why some traits are common in a population while others are rare? For centuries, scientists noticed that certain features — like eye color or blood type — appeared at different rates in different groups of people. But they didn't have a way to put exact numbers on how common each version of a gene was in a whole population.
The idea of tracking genes at the population level grew from the work of several brilliant thinkers. After Gregor Mendel discovered the basic rules of inheritance in the 1860s, scientists began to ask a bigger question: if we know how genes pass from parents to offspring, can we predict how common each gene version will be across an entire population? This question launched the field of population genetics — the study of how genes are distributed and change over time in groups of organisms.
1866 • Mendel's Laws Published
1900 • Mendel Rediscovered
1908 • Hardy-Weinberg Principle
1930s • Modern Synthesis
The central question that all of these breakthroughs address is: How do we measure the genetic composition of a population, and how do we know if it is changing? To answer this, we first need to learn how to compute allele and genotype frequencies — the basic tools of population genetics.
SECTION 2
Core Principles & Definitions
Before we start calculating, let's make sure we understand the key vocabulary. An allele is one version of a gene. For example, a gene for flower color might have a purple allele and a white allele. A genotype is the combination of two alleles an individual carries for a particular gene (one from each parent). When we talk about a whole population, we use frequencies to describe how common each allele or genotype is.
Allele
Genotype
Allele Frequency
Genotype Frequency
Gene Pool
KEY TAKEAWAY
SECTION 3
Visualizing Allele & Genotype Frequencies
Let's look at a concrete example. Imagine a population of 10 organisms. Each organism carries two alleles for a single gene: either A or a. The diagram below shows each individual's genotype and how we count alleles to find frequencies.
In the diagram above, notice that each individual contributes two alleles to the gene pool. A population of 10 organisms has 20 total allele copies. Homozygous individuals (AA or aa) contribute two copies of the same allele, while heterozygous individuals (Aa) contribute one of each. By counting all the A copies and dividing by the total number of alleles, you get the allele frequency for A, which we call p. The same process for a gives us q.
SECTION 4
Mathematical Framework
Now let's formalize the math. For a gene with two alleles (A and a), we define allele frequencies and genotype frequencies with simple formulas.
ALLELE FREQUENCY OF A (DOMINANT)
p = frequency of the A allele. We multiply AA count by 2 because each AA individual carries two A alleles. Aa individuals carry just one A allele.
ALLELE FREQUENCY OF a (RECESSIVE)
q = frequency of the a allele. The same logic applies — count every copy of the a allele and divide by total alleles.
ALLELE FREQUENCY CHECK
Since A and a are the only two alleles for this gene, their frequencies must add up to 1 (100%). If you know one, you can always find the other by subtraction.
GENOTYPE FREQUENCIES
Genotype frequency = (number of individuals with that genotype) ÷ (total individuals). Every individual falls into exactly one genotype category, so these three frequencies must also add up to 1.
Quick Shortcut
SECTION 5
From Allele Frequencies to Genotype Frequencies
One of the most powerful ideas in population genetics is that if a population meets certain conditions (no mutation, no migration, random mating, large population size, and no natural selection), you can predict genotype frequencies directly from allele frequencies. This is the Hardy-Weinberg equation.
HARDY-WEINBERG EQUATION
p² = expected frequency of AA, 2pq = expected frequency of Aa, q² = expected frequency of aa. These are the genotype frequencies you'd expect if the population is in Hardy-Weinberg equilibrium.
The Punnett square above is just like the ones you may have used to predict offspring from a cross — except here, the rows and columns represent all gametes in the entire population instead of two individual parents. Each cell's area represents the expected proportion of that genotype. When you add the two heterozygous (Aa) cells, you get 2pq. This is why the Hardy-Weinberg equation has a '2' in front of pq.
| Genotype | Expected Frequency | Meaning |
|---|---|---|
| AA | p² | Probability of getting an A from each parent |
| Aa | 2pq | Getting A from one parent and a from the other (two ways) |
| aa | q² | Probability of getting an a from each parent |
Hardy-Weinberg expected genotype frequencies
SECTION 6
Worked Example
Let's work through a complete problem step by step. Read carefully and follow along!
Flower Color in a Population of 200 Plants
- 1
Step 1 — Read the Problem
A botanist surveys 200 plants. The gene for flower color has two alleles: R (red, dominant) and r (white, recessive). She counts 98 RR plants, 84 Rr plants, and 18 rr plants. Find the allele frequencies (p and q) and the genotype frequencies. - 2
Step 2 — Compute Genotype Frequencies
Divide each genotype count by the total number of individuals (200).freq(RR) = 98 ÷ 200 = 0.49 | freq(Rr) = 84 ÷ 200 = 0.42 | freq(rr) = 18 ÷ 200 = 0.09 — Check: 0.49 + 0.42 + 0.09 = 1.00 ✓ - 3
Step 3 — Count Alleles for R
Each RR plant contributes 2 R alleles. Each Rr plant contributes 1 R allele. Total R alleles = (2 × 98) + (1 × 84) = 196 + 84 = 280.Total R alleles = 280 - 4
Step 4 — Count Alleles for r
Each rr plant contributes 2 r alleles. Each Rr plant contributes 1 r allele. Total r alleles = (2 × 18) + (1 × 84) = 36 + 84 = 120.Total r alleles = 120 - 5
Step 5 — Compute Allele Frequencies
Total alleles in the gene pool = 2 × 200 = 400. Divide each allele count by 400.p = 280 ÷ 400 = 0.70 | q = 120 ÷ 400 = 0.30 — Check: 0.70 + 0.30 = 1.00 ✓ - 6
Step 6 — Compare to Hardy-Weinberg Expectations
If this population were in Hardy-Weinberg equilibrium, we'd expect: p² = 0.70² = 0.49 (AA), 2pq = 2 × 0.70 × 0.30 = 0.42 (Aa), q² = 0.30² = 0.09 (aa). These match our observed frequencies exactly, suggesting the population is in equilibrium!Expected = Observed → Population is in Hardy-Weinberg equilibrium
SECTION 7
Strengths & Limitations of This Approach
Computing allele and genotype frequencies is a fundamental skill, but it's important to understand both what this approach can tell us and what it can't.
| Strengths | Limitations |
|---|---|
| Provides a numerical snapshot of a population's genetic makeup at a specific time. | Requires knowing every individual's genotype, which isn't always possible (e.g., dominant phenotype could be AA or Aa). |
| Allows comparison between populations or between the same population at different times. | Assumes only two alleles per gene. Many real genes have more than two alleles (like blood type). |
| Can be combined with Hardy-Weinberg to test whether evolution is occurring. | Hardy-Weinberg equilibrium is an ideal model — real populations rarely meet all five conditions perfectly. |
| Simple math — only requires counting and division. | Doesn't explain why frequencies are what they are — just describes them. |
Strengths vs. Limitations of computing allele and genotype frequencies
KEY TAKEAWAY
SECTION 8
Connection to Advanced Concepts
Once you're comfortable computing allele and genotype frequencies, you're ready to explore more advanced ideas in population genetics. The table below shows how the basic frequency calculations connect to bigger topics.
| Basic Concept (This Lesson) | Advanced Extension |
|---|---|
| Computing p and q from genotype counts | Using p and q to predict genotype ratios in the next generation (Hardy-Weinberg predictions) |
| Checking if observed genotype frequencies match Hardy-Weinberg expected values | Chi-square (χ²) statistical tests to formally determine if a population is evolving |
| Two alleles per gene (A and a) | Multiple alleles (e.g., ABO blood type with three alleles: Iᴬ, Iᴮ, and i) |
| Frequencies stay constant (equilibrium) | Modeling how natural selection, mutation, migration, and genetic drift change allele frequencies over generations |
How basic frequency calculations lead to advanced population genetics
As you continue studying genetics, you'll discover that allele frequencies are like the vital signs of a population — just as a doctor monitors heart rate and blood pressure to assess a patient's health, evolutionary biologists track allele frequency changes to detect and measure evolution in action. The simple counting and division you've learned here is the foundation for all of that work.
SECTION 9
Practice Problems
Try these five problems to test your understanding. They increase in difficulty from simple recall to critical thinking.
Question 1: CONCEPTUAL
Show answer
Question 2: BASIC CALCULATION
Show answer
Question 3: INTERMEDIATE
Show answer
Question 4: APPLIED
Show answer
Question 5: CRITICAL THINKING
Show answer
SUMMARY
Lesson Summary
Summary
In this lesson, you learned that every population has a gene pool — the total collection of all allele copies for a given gene. An allele frequency (p or q) tells you what fraction of the gene pool is made up of a particular allele, calculated by counting allele copies and dividing by the total (2 × population size). A genotype frequency tells you what fraction of individuals carry a particular allele combination (AA, Aa, or aa). The key rule is that p + q = 1 for allele frequencies, and all three genotype frequencies also sum to 1.
You also explored the Hardy-Weinberg equation (p² + 2pq + q² = 1), which predicts genotype frequencies from allele frequencies under ideal conditions. By comparing observed genotype frequencies to Hardy-Weinberg expectations, scientists can determine whether evolution is occurring in a population. These frequency calculations are the foundation of population genetics and provide the quantitative tools needed to study how populations change over time.