Genetics and Heredity

Using Probability Rules to Solve Genetics Problems

Product, sum, complement, conditional and binomial rules applied to crosses and pedigrees, with every calculation worked out.

Key takeaways

  • The product rule multiplies probabilities of independent events that must occur together.
  • The sum rule adds probabilities of mutually exclusive ways to reach an outcome.
  • For "at least one," compute the chance of none and subtract it from 1.
  • New information, such as a person being unaffected, changes the set of possible genotypes and so the probability.
  • The binomial formula handles questions about a given number of offspring of one type among several.

A few probability rules solve nearly every classical genetics problem. Multiply when several independent events must all happen. Add when there are several separate ways to get a result. Subtract from 1 when "at least one" appears. Recalculate when you learn something that rules some outcomes out.

These rules replace giant Punnett squares. A cross involving four genes would need a square with up to 256 boxes, but only four short calculations if the genes assort independently.

Starting values from single-gene crosses

Every longer calculation rests on a few facts from one-gene crosses. Here A is dominant to a.

Cross P(AA) P(Aa) P(aa) P(dominant phenotype)
Aa × Aa 1/4 1/2 1/4 3/4
Aa × aa 0 1/2 1/2 1/2
AA × Aa 1/2 1/2 0 1

If any row is unfamiliar, practice monohybrid crosses with a Punnett square first.

Reading a question before calculating

Most mistakes in genetics problems happen before any arithmetic. Spend a moment turning the words into a precise event.

First, identify the trials. A trial might be one gamete, one child or one gene. Second, say what counts as success. "A carrier" means exactly one altered allele, while "has the allele" would include homozygotes too. Third, note any condition, usually introduced by phrases such as "given that," "among the tall offspring" or "an unaffected sister."

Then translate connecting words. "And" usually signals multiplication, but only for independent events. "Or" usually signals addition, but only when the options cannot happen together. If two options can overlap, add their probabilities and subtract the overlap once.

Example of overlap. In AaBb × AaBb, what is the chance that an offspring shows the recessive trait for A or for B or both? Each single recessive trait has probability 1/4, and both together have probability 1/16.

P = 1/4 + 1/4 − 1/16 = 7/16

You can confirm this with the complement. The chance of showing neither recessive trait is 3/4 × 3/4 = 9/16, and 1 − 9/16 = 7/16. When two methods agree, you can trust the answer. This habit of checking by a second route costs a minute and catches most errors.

The product rule

Two events are independent when the outcome of one does not change the chance of the other. The probability that both occur is the product of their probabilities.

Independence applies to separate fertilizations, such as two children of the same couple. It also applies to genes that assort independently.

Example. In AaBbCcDd × aaBbccDd, what is the probability of an offspring with genotype AaBbccDd? Take one gene at a time.

Aa × aa  →  P(Aa) = 1/2
Bb × Bb  →  P(Bb) = 1/2
Cc × cc  →  P(cc) = 1/2
Dd × Dd  →  P(Dd) = 1/2
Product  =  (1/2)⁴ = 1/16

Linked genes are not independent, so this shortcut would give wrong answers for them.

The sum rule

Outcomes are mutually exclusive when only one of them can happen in a single trial. The probability of getting one or another is the sum.

Example. From Aa × Aa, what is the chance an offspring is homozygous? It can be AA or aa, never both, so 1/4 + 1/4 = 1/2.

The heterozygote itself comes from the sum rule too. A from the first parent with a from the second has probability 1/4. The reverse combination also has probability 1/4. Together they give 1/2.

Combining the two

Example. In AaBbCc × AaBbCc, what fraction of offspring show exactly two dominant traits and one recessive trait?

Each gene gives dominant with probability 3/4 and recessive with 1/4. One arrangement, dominant for A and B but recessive for C, has probability 3/4 × 3/4 × 1/4 = 9/64. There are three arrangements, depending on which gene is recessive.

P = 3 × 9/64 = 27/64

A useful check is to list every class: three dominant traits 27/64, two 27/64, one 9/64, none 1/64. These total 64/64.

The complement rule

The probability that something happens equals 1 minus the probability that it does not.

Example. Two carriers of a recessive allele have three children. What is the chance at least one is affected?

P(a given child unaffected) = 3/4
P(all three unaffected)     = (3/4)³ = 27/64
P(at least one affected)    = 1 − 27/64 = 37/64 ≈ 0.58

Adding 1/4 three times would give 3/4, which is wrong, because the three events are not mutually exclusive. More than one child can be affected.

Choosing the right probability rule
1 All must happen? Independent events: multiply 2 Several routes? Separate outcomes: add 3 At least one? Take 1 minus the chance of none 4 New information? Drop excluded cases and rescale 5 Count out of n? Use the binomial formula All must happen? Independent events: multiply 1 Several routes? Separate outcomes: add 2 At least one? Take 1 minus the chance of none 3 New information? Drop excluded cases and rescale 4 Count out of n? Use the binomial formula 5

Conditional probability

Information narrows the possibilities. The conditional probability of an event is its probability among only those cases consistent with what you know.

Example. Both parents of a child are heterozygous, and the child shows the dominant phenotype. The possible genotypes are AA (1/4) and Aa (1/2), totaling 3/4.

P(Aa | dominant phenotype) = (1/2) ÷ (3/4) = 2/3

Example with two families. A man and a woman are both unaffected, and each has a sibling affected by a rare recessive condition, while their own parents are unaffected. Each parent pair must therefore be Aa × Aa. So the man is a carrier with probability 2/3, and so is the woman.

P(child affected) = 2/3 × 2/3 × 1/4 = 4/36 = 1/9

These are textbook calculations. Real risk assessment uses DNA testing and family details that a genetic counselor can weigh.

Updating with evidence

Offspring can also change the odds for a parent. A plant with the dominant phenotype came from Aa × Aa, so it starts at 1/3 AA and 2/3 Aa. You cross it with aa and get two offspring, both dominant.

If AA: chance of two dominant offspring = 1
If Aa: chance of two dominant offspring = (1/2)² = 1/4

Weight for AA = 1/3 × 1   = 1/3
Weight for Aa = 2/3 × 1/4 = 1/6
P(AA | data)  = (1/3) ÷ (1/3 + 1/6) = 2/3

This is Bayes' theorem in a small setting: prior chance, times how well each possibility predicts the data, then rescaled to total 1. The experimental version appears in test crosses.

The binomial formula

When you want the chance of exactly k offspring of one type among n, and each has probability p, use:

P = [n! ÷ (k! × (n − k)!)] × pᵏ × (1 − p)ⁿ⁻ᵏ

The first factor counts the birth orders.

Example. Two carriers have five children. What is the chance exactly two are affected?

n = 5, k = 2, p = 1/4
Orders = 5! ÷ (2! × 3!) = 10
P = 10 × (1/4)² × (3/4)³
  = 10 × 1/16 × 27/64
  = 270/1024 ≈ 0.26

If the question names a specific order, such as "the first two affected and the rest not," leave out the factor of 10.

A longer problem, start to finish

A woman is unaffected, but her brother has an autosomal recessive condition, and their parents are unaffected. Her partner has no family history, and say that in his population 1 person in 50 is a carrier. What is the chance their first child is affected, ignoring new mutations and testing?

Work through each requirement in turn.

Woman is a carrier              2/3   (unaffected sibling of an affected child)
Partner is a carrier            1/50  (the assumed population figure)
Child inherits both alleles     1/4   (if both are carriers)
Product                         2/3 × 1/50 × 1/4 = 2/600 = 1/300

Now suppose their first child turns out to be affected. Both parents are then known carriers, since the child needed an altered allele from each. For the second child the chance is 1/4, which is seventy-five times higher than the first estimate. The couple's genes did not change. The information about them did.

Suppose instead the first child is unaffected. That shifts the odds only slightly, because an unaffected child is the expected result whether or not both parents carry the allele. Evidence moves a probability a lot when it would be surprising under one explanation and expected under another.

The figures here are illustrative. Carrier frequencies vary widely between conditions and populations, and carrier inheritance in real families is assessed with testing.

Checking an answer for sense

A probability must lie between 0 and 1, and the probabilities of all the possible outcomes must total 1. Beyond that, compare your answer with simple bounds. The chance that two independent events both happen can never exceed the chance of either one alone. The chance of "at least one affected child" must rise as the number of children rises.

When time allows, test a shortcut on a tiny case you can list by hand. For two children of two carriers, there are 16 equally likely sixteenths: 9 with neither affected, 6 with exactly one and 1 with both. The binomial formula should reproduce those numbers, and it does.

Traps that catch people

  • Chance has no memory. After three affected children, the next child of two carriers still has a 1/4 chance.
  • Order matters only if asked. "One boy and one girl" covers two orders; "a boy then a girl" covers one.
  • Do not multiply dependent events. Whether a child is a carrier and whether the child is affected are linked outcomes of the same genotype.
  • Check the denominator. "Among unaffected children" is a different population from "among all children."
  • Keep fractions until the end. Rounding early compounds errors.

When your predicted probabilities meet real counts, the next question is whether the mismatch is larger than chance would explain. That is the job of the chi-square test.

Written for 4Biology with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 44 articles in Genetics and Heredity →

Latest news on this topic