Solution: Problem 02-01 - Conditional probability - algebra games

Problem: Assume that , , and partition the sample space, and assume this data:

Find these values

Solution:

  1. & Use the Law of Total Probability to find .

  2. && Use Bayes’ Theorem to find .

  3. && Use Bayes’ Theorem to find .

  4. && Use Bayes’ Theorem to find .

Solution: Problem 02-02 - Conditioning relation

Problem: Suppose you know and and .

Calculate and and .

Solution:

  1. && Set up conditional probability formula.
    • Solve for .
  2. & Plug in given values.
  3. && Set up conditional probability formula.
    • Solve for .
  4. & Plug in given values.

5. && Use inclusion-exclusion principle to find .

Solution: Problem 02-03 - Interpreting Multiplication - Fund performance

Problem: The odds of the Winning Fund outperforming the market in a random year are . The odds that it outperforms the market in a -year period assuming it has done so in the prior year are .

What is the probability of the Winning Fund outperforming the market in consecutive years?

Solution:

  1. & Define events.
    • Let be the event where the Winning Fund outperforms the first year.
    • Let be the event where the Winning Fund outperforms the second year.
    • We are asked to compute
  2. && Find relevant probabilities.
    • .
    • .
  3. & Compute

Solution: Problem 02-04 - Stolen computer

Problem: Someone in a coffee shop “promises” to watch your computer while you’re in the bathroom.

If she does watch it, the probability that it gets stolen is 10%. If she doesn’t watch it, the probability that it gets stolen is 70%. You think there’s a 90% chance she is honest enough to watch it, having promised.

When you come back from the bathroom, the computer is gone. What is the probability that she witnessed the theft?

Solution:

  1. && Define events.
    • Let be the event that she watches it.
    • Let be the event that the computer is stolen.
    • We are given the probabilities , , .
    • We are asked to compute .
  2. && Set up formula using Bayes’ Theorem.
  3. & Plug in values.

Solution: Problem 02-05 - Bayes’ Theorem - Inferring die from roll

Problem: A bag contains one 4-sided die, one 6-sided die, and one 12-sided die. You draw a random die from the bag, roll it, and get a 4.

What is the probability that you drew the 6-sided die?

Solution:

  1. & Define events.
    • Let be the event in which you draw the 4-sided die, be the event in which you draw the 6-sided die, and be the event in which you draw the 12-sided die.
    • We are asked to compute .
  2. && Define obvious probabilities.
    • .
    • .
    • .
    • .
  3. && Use Bayes’ Theorem to set up the formula for .
  4. & Plug in values and solve.

Solution: Problem 02-06 - Bayes’ Theorem - DNA evidence

Problem: A crime is committed in a town of 100,000 citizens. After all 100,000 citizen’s DNA is analyzed, your friend Jim is found to have a DNA match to evidence at the scene. A forensics expert says that the probability of a random person matching this evidence is . How likely is it that Jim is guilty?

Solution:

  1. & Define events.
    • Let be the event that Jim is guilty.
    • Let be the event in which the DNA matches.
    • We are given that .
    • We know that .
    • Since there are 100,000 citizens, , .
    • We are asked to compute .
  2. && Use Bayes’ Theorem to set up the formula for .
  3. & Plug in values.

Solution: Problem 02-07 - Independence puzzle

Problem: Assume , , and are mutually independent. Compute in terms of , , and .

Solution:

  1. & Use inclusion-exclusion principle.
  2. & Use the fact that they are mutually independent.

Solution: Problem 02-08 - Pairwise independent, and mutually independent: three coin flips

Problem: Flip a coin three times in sequence. Label events like this:

  • - exactly one heads among first and second flips
  • - exactly one heads among second and third flips
  • - exactly one heads among first and third flips

Verify that , , are pairwise independent but not actually mutually independent.

Solution:

  1. & Find probabilities for individual events.
    • .
  2. & Compute pairwise probabilities.
    • The only way and happen is when the second flip is heads and the first and third flip are tails, and when the first and third are heads and when the second is heads. So, .
    • The only way and happen is when only the third flip is heads or when only the first and second flip are heads. So, .
    • The only way and happen is when only the first flip is heads or when only the second and third flip are heads. So, .
  3. & Disprove mutual independence.
    • , , and cannot happen simultaneously, so .

Solution: Problem 02-09 - Bin marbles

Problem: A bin contains red marbles, blue marbles, and 3 white marbles.

We draw a random marble. If it’s red, we put it back, if it’s not red, we keep it. We do this three times.

  • (a) What is the probability of getting red then white then blue?
  • (b) Suppose the last draw was blue. What is the probability that the first was red?

Solution: (a)

  1. & Define events.
    • We define the sample space as .
    • is the first ball drawn, the second, and the third.
    • represents the event in which a red ball is drawn, represents the event in which a white ball is drawn, represents the event in which a blue ball is drawn.
  2. & Compute . (b)
  3. & We are asked to compute . Use Bayes’ Theorem to set up formula for .
  4. &&& Find probabilities for all relevant combinations.
  5. & Plug in values.

Solution: Problem 02-10 - Counting outcomes - permutations and combinations

Problem: In a lottery, five distinct numbers are picked at random from 1, 2, 3, , 40. How many possible outcomes are there:

  • (a) If we care about the order of numbers.
  • (b) If the order does not matter.

Solution: (a)

  1. & If the order matters, then we are dealing with a permutation.
    • We want distinct numbers, so (b)
  2. & If the order matters, then we are dealing with a combination.
    • We want distinct numbers, so

Solution: Problem 02-11 - Wisconsin flag 2 of 3 days

Problem: A kindergarten class hangs a random state flag (50 flags) on the wall every day. What is the probability that two days out of three given days have Wisconsin’s flag?

Solution:

  1. && Consider how the days are chosen.
    • Since we just want two days out three given days, it is unordered, so we account for this with the term.
  2. && Consider the probability that Wisconsin’s flag is hung on the first two days, and not the third.
    • The probability that Wisconsin’s flag is hung up is , and the probability it’s any other flag is .
    • Therefore, the desired probability is .
  3. & Combine terms.

Solution: Problem 02-12 - Drawing balls of distinct color

Problem: A bin contains 3 green and 4 yellow balls. Two balls are drawn out.

What is the probability that they are different colors?

Solution:

  1. & Define relevant events.
    • If two balls of different colors are drawn out, then we choose one of each color.
    • Since order doesn’t matter, our sample space consists of all the ways we choose 2 balls out of 7.
  2. && Compute probability.