# Hardy Weinberg Equilibrium II: The Equation

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Hardy Weinberg Equilibrium I: Overview

### You're on a roll. Keep up the good work!

Replay
Your next lesson will play in 10 seconds
• 0:06 Hardy-Weinberg Conditions
• 1:34 Allelic Frequency
• 6:00 Genotypic Frequency
• 8:38 Using the Equation
• 10:17 Summary

Want to watch this again later?

Timeline
Autoplay
Autoplay
Create an account to start this course today
Try it free for 5 days!

#### Recommended Lessons and Courses for You

Lesson Transcript
Instructor: Greg Chin
The Hardy-Weinberg equilibrium equation is represented by a polynomial, so we'll have to do some calculations. Don't be intimidated; a few coin tosses can help us make sense of allelic frequencies in a given gene pool.

## Conditions for Hardy-Weinberg Equilibrium

I think our research project is going to be great. I mean, think about it - we have all these great flying hamster traits we've been studying with Adrian. It's going to be really interesting to see how these traits affect the flying hamster populations. Do the coat color, tail color or fire-breath traits improve or hinder the ability of the hamsters to survive and mate?

Recall that flying hamsters are diploid, meaning they have two homologous copies of each gene. We've identified two versions, or alleles, of each gene we're going to study. That means that three different genotypes are possible in any flying hamster population. For instance, at the coat color gene, hamsters can be BB, Bb, or bb. To make our research project easier, let's also only consider traits where the distribution in males and females is equal and generations don't overlap. Hardy-Weinberg equilibrium can be calculated for genes with more than two alleles and where the generations overlap, but the math is much more complicated.

Speaking of math, let's see what the Hardy-Weinberg equilibrium equation looks like: (p^2 + 2pq + q^2 = 1). Oh, boy. It's a polynomial equation. Well, let's push up our sleeves, take a deep breath and see if we can figure out how all these crazy letters are supposed to describe genotypic frequency.

## Allelic Frequency

I think the first thing to try to understand, especially when dealing with a science equation, is the variables. At least the Hardy-Weinberg equation only has two variables, p and q. These stand for the allelic frequency of the two possible alleles for the gene in question.

Let's analyze the coat color gene in the context of the Hardy-Weinberg equation. We can arbitrarily assign p to the dominant brown allele (B) and q to the recessive white allele (b). In this example, our gene pool consists of the B and b alleles, and p and q represent the frequency at which those alleles appear in the population. But, how do we calculate allele frequency?

Allele frequency is basically the proportion the allele occupies in the gene pool. The sum of all of the alleles found in a population is known as the gene pool. To calculate p, we simply need to divide the number of B alleles by the sum of all of the alleles associated with the gene. That is B and b. Similarly, q can be calculated by dividing the number of b alleles by the sum of B + b. But, how can we determine how many B and b alleles are in a population?

Well, we should be able to infer the number of B and b alleles based on the genotype of the organisms in the population, right? Let's see if that works.

Let's examine the coat color gene in a population of 1,000 hamsters. A homozygous dominant brown hamster has two B alleles, so if we saw 360 of them, that would account for 720 B alleles. A heterozygous brown hamster has one B and one b allele, so if we saw 480 of them, that would translate to 480 B and 480 b alleles. A homozygous recessive white hamster has two b alleles, so if we saw 160 white hamsters, they'd contribute 320 b alleles to our calculations. The white hamsters are obviously pretty easy to identify, but the brown ones are a little trickier since some are homozygous and some are heterozygous. Luckily, we can distinguish the homozygotes from the heterozygotes if we genetically type the brown hamsters with a method like DNA sequencing.

Alright, let's plug all those numbers into a frequency formula. The frequency of B is equal to p, and that is equal to 720 + 480 and all that is divided by the gene pool (the sum of) 720 + 480 + 480 + 320. All of that comes out to 0.6. That means that 60% of the alleles in the gene pool are B.

Now that we've got that calculation under our belt, calculating the frequency of b should be a little bit easier now, right? The frequency of b is equal to q, and that's equal to the sum of 480 + 320 divided by the sum of 720 + 480 + 480 + 320. That's all equal to 0.4. That means that 40% of the alleles in the gene pool are b.

Note that the sum of the frequencies of the B and b alleles is one. That makes sense because together they make up 100% of the alleles in the gene pool. Let's restate the relationship between the two frequencies as a new equation that we can use in our population genetic studies, we can say that p + q = 1.

## Genotypic Frequency

Well, that's all fine and dandy, but when you're studying a population of organisms, you're interested in the organisms. The Hardy-Weinberg equation describes the ratio of different genotypes in a population. Before we tackle genotypic frequencies, let's consider a simpler example first.

If we flip two coins, what are the odds that both come up heads? There's a one-in-two chance to get heads, so that means there's a one-in-four chance of getting heads twice in a row. Since flying hamsters are diploid, a hamster with a BB genotype got one B allele from its mom and one B allele from its dad. Just like coin flipping, the chance of getting two B alleles is merely the chance of getting one B allele squared (BË†2). Since we know the frequency of the B allele in the gene pool is p, the chance of getting a homozygous dominant individual is p^2.

Now, consider the chances of getting heads and tails if we flip two coins. Since the chance of getting heads is the same as getting tails, there's still a one-in-four chance of getting one of each. However, since it doesn't matter if we get heads in the first or second coin flip, there's twice as many ways to achieve the desired result, meaning there's a one-in-two chance to get one of each coin.

If we apply this thinking to the heterozygotes in our population, a brown coat heterozygote can receive the B allele from either mom or dad, so there's two ways to make a heterozygote just like there's two ways to get heads and tails. And, since we said the frequency that the B and b alleles occur in the gene pool is p and q, respectively, that means that the proportion of heterozygous individuals in the population can be represented by 2pq.

To unlock this lesson you must be a Study.com Member.

### Register for a free trial

Are you a student or a teacher?
Back

Back

### Earning College Credit

Did you know… We have over 95 college courses that prepare you to earn credit by exam that is accepted by over 2,000 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.