Simplifying conditionals inclusion

Let AB. Simplify the following values:

P[A|B],P[A|Bc],P[B|A],P[B|Ac]

Coin flipping: at least 2 heads

Flip a fair coin 4 times and record the outcomes as sequences, like HHTH.

Let A2 be the event that there are at least two heads, and A1 the event that there is at least one heads.

First let’s calculate P[A2].

Define A2, the event that there were exactly 2 heads, and A3, the event of exactly 3, and A4 the event of exactly 4. These events are exclusive, so:

P[A2]=P[A2A3A4]P[A2]+P[A3]+P[A4]

Each term on the right can be calculated by counting:

P[A2]=|A2|24(42)16616P[A3]=|A3|24(43)16416P[A4]=|A4|24(44)16116

Therefore, P[A2]=1116.

Now suppose we find out that “at least one heads definitely came up”. (Meaning that we know A1.) For example, our friend is running the experiment and tells us this fact about the outcome.

Now what is our estimate of likelihood of A2?

The formula for conditioning gives:

P[A2|A1]=P[A2A1]P[A1]

Now A2A1=A2. (Any outcome with at least two heads automatically has at least one heads.) We already found that P[A2]=1116. To compute P[A1] we simply add the probability P[A1], which is 416, to get P[A1]=1516.

Therefore:

P[A2|A1]=11/1615/161115

Multiplication: flip a coin, then roll dice

Flip a coin. If the outcome is heads, roll two dice and add the numbers. If the outcome is tails, roll a single die and take that number. What is the probability of getting a tails AND a number at least 3?

Solution

(1) This “two-stage” experiment lends itself to a solution using the multiplication rule for conditional probability.

Label the events of interest.

Let H and T be the events that the coin showed heads and tails, respectively.

Let A1,,A12 be the events that the final number is 1,,12, respectively.

The value we seek is P[TA3].


(2) Observe known (conditional) probabilities.

We know that P[H]=12 and P[T]=12.

We know that P[A5|T]=16, for example, or that P[A2|H]=136.


(3) Apply multiplication rule:

P[TA3]=P[T]P[A3|T]

We know P[T]=12 and can see by counting that P[A3|T]=23.

Therefore P[TA3]=13.

Multiplication: draw two cards

Two cards are drawn from a standard deck (without replacement).

What is the probability that the first is a 3, and the second is a 4?

Solution

This “two-stage” experiment lends itself to a solution using the multiplication rule for conditional probability.

(1) Label events:

  • Write T for the event that the first card is a 3.
  • Write F for the event that the second card is a 4.

We seek P[TF]. We will use the multiplication rule:

P[TF]=P[T]P[F|T]

(2) Compute probabilities:

We know P[T]=452. (Does not depend on the second draw.)

For the conditional probability, note that if the first is a 3, then there are four remaining 4s and 51 remaining cards. Therefore:

P[F|T]=451

(3) Apply multiplication rule:

P[TF]=P[T]P[F|T]P[TF]=45245141351

Marble transferred, marble drawn

Setup:

  • Bin 1 holds five red and four green marbles.
  • Bin 2 holds four red and five green marbles.

Experiment:

  • You take a random marble from Bin 1 and put it in Bin 2 and shake Bin 2.
  • Then you draw a random marble from Bin 2 and look at it.

What is the probability that the marble you look at is red?