AP Biology · Topic 5.3 · Reading guide, about 7 min

Punnett squares, probability, pedigrees and chi-square

Mendel's two laws, Punnett squares, the product and sum rules, reading pedigrees, and using chi-square to test a predicted ratio.

In one minute

Mendelian genetics treats each gene as a pair of alleles that split up when gametes form and pair up again at fertilization. From that one idea you can build Punnett squares, calculate the chance of any offspring genotype, trace a trait through a family tree, and test whether real counts match what you predicted.

This is the toolkit for the rest of Unit 5. Every later pattern, from linked genes to traits shaped by the environment, is spotted by comparing data with what simple Mendelian rules predict.

Key terms

Allele
One version of a gene. A diploid organism carries two alleles for each autosomal gene, one from each parent.
Genotype and phenotype
The genotype is the pair of alleles an organism has (for example Bb); the phenotype is the trait you can observe or measure (for example black fur).
Homozygous and heterozygous
Homozygous means both alleles are the same (BB or bb). Heterozygous means the two alleles differ (Bb).
Dominant and recessive
A dominant allele shows its effect in a heterozygote. A recessive allele shows its effect only when no dominant allele is present (bb).
Test cross
Crossing an individual with the dominant phenotype to a homozygous recessive one, so the offspring reveal whether the first parent is homozygous or heterozygous.
Product rule
For independent events, multiply the separate chances to get the chance that both occur.
Sum rule
For mutually exclusive outcomes, the chance that one or the other happens is the sum of their separate chances.
Null hypothesis
In a chi-square test, the claim that observed counts differ from the predicted ratio only by random chance.

Mendel's two laws and where they come from

Under the law of segregation, a gene's two alleles part ways during gamete formation, so each gamete carries only one. A plant with genotype Tt makes half its gametes with T and half with t. The physical reason is meiosis: homologous chromosomes, each carrying one allele, are pulled apart in anaphase I.

The law of independent assortment says that alleles of different genes sort into gametes without influencing each other, as long as the genes sit on different chromosomes. A TtRr plant makes TR, Tr, tR and tr gametes in equal numbers because each homologous pair lines up at metaphase I in a random orientation, independent of the other pairs.

Fertilization joins one haploid gamete from each parent, restoring the diploid number and two alleles per gene. In a Punnett square, each box is one possible egg meeting one possible sperm.

Punnett squares and the standard crosses

In a monohybrid cross between two heterozygotes (Tt x Tt), each parent gives T or t with equal chance. The four boxes are TT, Tt, tT and tt, a 1 : 2 : 1 genotype ratio. With complete dominance TT and Tt look alike, so the phenotype ratio is 3 : 1.

A dihybrid cross (TtRr x TtRr) tracks two genes on different chromosomes. Each parent makes four gamete types, giving 16 boxes and a 9 : 3 : 3 : 1 phenotype ratio: 9 with both dominant traits, 3 and 3 with one each, and 1 with both recessive traits.

A test cross tells a breeder whether a tall plant is TT or Tt. Cross it with a short tt plant. If every offspring is tall, the parent was probably TT. If about half are short, it must be Tt, since each short offspring got a t from it.

Probability: multiply for and, add for or

Squares get unwieldy past two genes, so use probability. The product rule handles "and": multiply the chances of independent events. The sum rule handles "or": add the chances of outcomes that cannot both happen.

For a multigene problem, treat each gene as its own separate cross, find each probability, and multiply. Take AaBbCc x AaBbCc and ask for offspring that show the dominant A and B traits but are cc. From Aa x Aa, the chance of A_ (AA or Aa) is 3/4. From Bb x Bb, the chance of B_ is also 3/4. From Cc x Cc, cc is 1/4. Multiply: 3/4 x 3/4 x 1/4 = 9/64.

The sum rule shows up whenever an outcome can arise in more than one way. In TtRr x TtRr, ask for offspring that show exactly one dominant trait. That can happen as T_ rr (3/4 x 1/4 = 3/16) or as tt R_ (1/4 x 3/4 = 3/16). One offspring cannot be both, so add them: 3/16 + 3/16 = 6/16 = 3/8. Each child is an independent event, so earlier children never change the odds for the next one.

Reading a pedigree

A pedigree is a family tree for one trait. Squares are males, circles are females, filled shapes show the trait, a horizontal line joins parents, and a vertical line leads to their children.

An autosomal recessive trait often skips generations and can show up in the child of parents who are both unaffected, which proves both parents are carriers (Aa). An autosomal dominant trait tends to show in every generation, and each affected person usually has an affected parent. The clearest clue for dominance is two affected parents having an unaffected child: both must be Aa, and the child is aa.

Pedigree questions often stack probabilities. If two unaffected parents have one affected child, an unaffected sibling of that child is not 3/4 likely to be a carrier but 2/3, because you already know the sibling is not aa. Only the AA, Aa and aA outcomes remain, and two of those three carry the allele.

Telling autosomal recessive from autosomal dominant inheritance in a pedigree
Clue in the pedigreeAutosomal recessiveAutosomal dominant
Two unaffected parents have an affected childPossible: both parents are carriers (Aa)Not possible: unaffected parents are both aa
Two affected parents have an unaffected childNot possible: both parents are aa, so every child is aaPossible: both parents are Aa and the child is aa
How often the trait appearsOften skips one or more generationsUsually appears in every generation
Genotype of an affected personAlways aaAA or Aa (usually Aa)
Genotype of an unaffected personAA or AaAlways aa

Chi-square: does the data fit the prediction

Real counts never match a ratio exactly. The chi-square test asks whether the gap could be chance. State the null hypothesis (the counts fit the predicted ratio), find expected counts from the total, then compute chi-square = sum of (observed - expected)^2 / expected over all classes. Use counts, never percentages.

Example: a hypothetical cross of two heterozygous plants predicts 3 purple : 1 white. Of 400 offspring, 284 are purple and 116 white. Expected counts are 300 and 100. The terms are (284 - 300)^2 / 300 = 256/300 = 0.85 and (116 - 100)^2 / 100 = 256/100 = 2.56, so chi-square is about 3.41.

Degrees of freedom = 2 classes - 1 = 1. With p = 0.05 as the threshold, the table gives critical values of 3.84 for 1 df, 5.99 for 2, 7.81 for 3 and 9.49 for 4. Since 3.41 is below 3.84, we fail to reject the null hypothesis: chance could explain the gap. That does not prove the 3 : 1 model. A value above the critical value would mean rejecting the null and looking for another cause, such as linkage.

How it connects

  • Back to 5.1 and 5.2: segregation and independent assortment are the visible results of homologs separating and lining up randomly during meiosis I.
  • Forward to 5.4: when a chi-square test rejects a Mendelian ratio, the cause is often linkage, sex linkage or a different dominance pattern.
  • Forward to 7.5: the same multiply-and-add probability logic gives p^2, 2pq and q^2 in a population at equilibrium.

Common mistakes

  • Plugging percentages into chi-square. The formula needs actual counts, and you divide by the expected count rather than the observed count.
  • Using the number of classes as degrees of freedom. Testing a 9 : 3 : 3 : 1 ratio involves four classes and therefore 3 degrees of freedom.
  • Saying the hypothesis is proven. A small chi-square means you fail to reject the null hypothesis, not that the model is confirmed.
  • Confusing a 3/4 phenotype chance with a genotype chance. In Aa x Aa, 3/4 is the chance of the dominant phenotype; aa is 1/4 and Aa is 1/2.

How it shows up on the exam

  • Multiple-choice probability questions that give a multigene cross and ask for the chance of one genotype or phenotype.
  • Pedigrees where you decide whether a trait is dominant or recessive and assign genotypes to marked individuals.
  • A data table of offspring counts with a predicted ratio, asking you to calculate chi-square, choose the degrees of freedom and state a conclusion about the null hypothesis.
  • Short written answers that ask you to justify an inheritance pattern or propose a cross that would identify an unknown genotype.

Check yourself

  1. Which event in meiosis explains the law of independent assortment, and why does it apply only to genes on different chromosomes?
  2. What is the chance that AaBbCc x aaBbCc produces an aa bb Cc offspring?
  3. Why does the expected count, and not the observed count, go in the denominator of the chi-square formula?
  4. If chi-square is 8.4 for a test with three phenotype classes, what do you conclude at p = 0.05?

Worked problems

Worked example Medium

In a fictional beetle, genes A, B and C are on different chromosomes, and each shows complete dominance. Beetles with genotypes Aa Bb Cc and Aa bb Cc are crossed. What is the probability that an offspring is aa bb cc?

  1. 1/64
  2. 1/32Answer
  3. 1/16
  4. 3/32

How to solve it

  1. Split the cross into one gene at a time.
  2. Aa x Aa gives aa with chance 1/4. Bb x bb gives bb with chance 1/2. Cc x Cc gives cc with chance 1/4.
  3. The genes are on different chromosomes, so multiply: 1/4 x 1/2 x 1/4 = 1/32.

Why each choice is right or wrong

  • A. Incorrect. 1/64 treats Bb x bb as if it gave bb with chance 1/4, as a Bb x Bb cross would; here it is 1/2.
  • B. Correct. aa has chance 1/4, bb has chance 1/2 and cc has chance 1/4, and the genes assort independently, so 1/4 x 1/2 x 1/4 = 1/32.
  • C. Incorrect. 1/16 leaves out one gene's factor, for example multiplying only the 1/4 for aa and the 1/4 for cc.
  • D. Incorrect. 3/32 brings in a 3/4, which is the chance of a dominant phenotype, not of a recessive genotype.

Worked example Hard

In a fictional squash, yellow fruit (Y) is dominant to green (y), and round fruit (R) is dominant to long (r). A student crossed two plants heterozygous for both genes (Yy Rr), predicted a 9 : 3 : 3 : 1 ratio, and counted 320 offspring. Critical chi-square values at p = 0.05 are 3.84 (df 1), 5.99 (df 2), 7.81 (df 3) and 9.49 (df 4).

Fruit phenotypes among 320 offspring of two Yy Rr squash plants

PhenotypeObserved count
Yellow, round170
Yellow, long70
Green, round52
Green, long28

Which statement correctly reports the chi-square test?

  1. χ² ≈ 6.49 with 3 degrees of freedom; it is below 7.81, so the 9 : 3 : 3 : 1 hypothesis is not rejectedAnswer
  2. χ² ≈ 6.49 with 4 degrees of freedom; it is below 9.49, so the 9 : 3 : 3 : 1 hypothesis is not rejected
  3. χ² ≈ 6.49 with 2 degrees of freedom; it is above 5.99, so the 9 : 3 : 3 : 1 hypothesis is rejected
  4. χ² ≈ 0.76 with 3 degrees of freedom; it is below 7.81, so the 9 : 3 : 3 : 1 hypothesis is not rejected

How to solve it

  1. Expected counts: 9/16, 3/16, 3/16 and 1/16 of 320 are 180, 60, 60 and 20.
  2. Terms (o − e)² / e: 100/180 = 0.556, 100/60 = 1.667, 64/60 = 1.067, 64/20 = 3.200. The sum is χ² ≈ 6.49.
  3. df = 4 classes − 1 = 3, so the critical value is 7.81. Since 6.49 < 7.81, the 9 : 3 : 3 : 1 hypothesis is not rejected.

Why each choice is right or wrong

  • A. Correct. Expected counts are 180, 60, 60 and 20; the terms 0.556 + 1.667 + 1.067 + 3.200 sum to about 6.49, below 7.81 for df 3, so the deviation could be chance.
  • B. Incorrect. The value 6.49 is right, but df is the number of classes minus 1, so 4 classes give df 3, not 4.
  • C. Incorrect. With 4 classes df is 3, not 2, so the critical value is 7.81, and 6.49 falls below it.
  • D. Incorrect. 0.76 comes from dividing the plain differences by e without squaring them; squaring gives 100/180 + 100/60 + 64/60 + 64/20, about 6.49.

Short example In one example

In a fictional rodent, black fur (B) is dominant to brown (b). A black female mated with a brown male has six pups, three black and three brown. Each brown pup (bb) got a b from its mother, so she must be Bb.

Problems like it

Try each one before you read the explanation.

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.