Probability

Formulas & shortcuts
21.

Two fair six-sided dice numbered 1 to 6 are rolled independently. Given that their sum is 8, what is the probability at least one die shows 3?

Show answer
Explanation

Given a sum of 8, only five equally likely ordered pairs remain:

(2,6), (3,5), (4,4), (5,3), (6,2).(2,6),\ (3,5),\ (4,4),\ (5,3),\ (6,2).

Two contain a 3, namely (3,5) and (5,3). Therefore the conditional probability is 2/5.

Answer: D = 2/5.

22.

Two fair coins are tossed independently. You are told only that at least one is a head. What is the probability both are heads?

Show answer
Explanation

The information “at least one head” rules out TT. The remaining sequences are HH, HT and TH, each equally likely under the stated conditioning:

P(both heads∣at least one head)=1/43/4=13.P(\text{both heads}\mid\text{at least one head}) =\frac{1/4}{3/4}=\frac13.

Only HH has two heads.

Answer: B = 1/3.

23.

Machine A makes 70% of a factory's output and machine B makes 30%. Exactly 2% of A's output and 4% of B's output are defective. An item is chosen uniformly from all output. What is its probability of being defective?

Show answer
Explanation

Weight each machine's defect rate by its share of total output:

P(D)=P(A)P(D∣A)+P(B)P(D∣B).P(D)=P(A)P(D\mid A)+P(B)P(D\mid B).

Substitute:

P(D)=7102100+3104100=14+121000=13500.P(D)=\frac7{10}\frac2{100}+\frac3{10}\frac4{100} =\frac{14+12}{1000}=\frac{13}{500}.

This equals 2.6% of all output.

Answer: A = 13/500.

24.

Machine A makes 70% of a factory's output and machine B makes 30%. Exactly 2% of A's output and 4% of B's output are defective. A uniformly chosen item is found defective. What is the probability it came from B?

Show answer
Explanation

First calculate the defective shares of total output:

P(B∩D)=0.30(0.04)=0.012,P(B\cap D)=0.30(0.04)=0.012, P(D)=0.70(0.02)+0.30(0.04)=0.026.P(D)=0.70(0.02)+0.30(0.04)=0.026.

Among defective items, the fraction from B is

P(B∣D)=P(B∩D)P(D)=0.0120.026=613.P(B\mid D)=\frac{P(B\cap D)}{P(D)} =\frac{0.012}{0.026}=\frac6{13}.

Answer: A = 6/13.

25.

Bag A contains 2 red and 3 blue balls; bag B contains 6 red and 4 blue balls. A fair coin chooses a bag, then one ball is drawn uniformly from that bag. What is the probability of a red ball?

Show answer
Explanation

The fair coin chooses each bag with probability one-half. Average the red probabilities using these bag-selection weights:

P(R)=1225+12610=15+310=12.P(R)=\frac12\frac25+\frac12\frac6{10} =\frac15+\frac3{10}=\frac12.

Pooling the balls would assign unequal probabilities to choosing the two bags and would describe a different experiment.

Answer: B = 1/2.