25 Solved Examples Across the Chapter
The problems below run in rough order of difficulty and cover every tool in the chapter: conditional probability by counting and by formula (Examples 1 to 5), the multiplication theorem for chained draws (6 to 10), independence and its complement tricks (11 to 15), total probability (16 to 18), and the full range of Bayes' theorem applications (19 to 25), ending with the alternating-game and system-reliability classics.
For every problem, try covering the solution and attempting it first. The final answer matters less than the setup line — naming the events, the priors and the conditionals correctly is where marks are won and lost.
Examples 1 to 7 — Conditional Probability and Chained Draws
Example 1 — Both conditionals from the same data
If , and , find and .
Step 1 — apply the definition each way:
Answer: , — the same intersection, two different denominators, two different answers.
Example 2 — Conditioning on the first two tosses
A coin is tossed three times. Find the probability of a head on the third toss, given that the first two tosses both showed heads.
Step 1 — reduce the sample space: given "first two are heads", only survive, each equally likely.
Step 2 — count favourable outcomes: the third toss is a head only in .
Answer: . The first two tosses tell us nothing about the third — a preview of independence.
Example 3 — Dice with a condition on one die
A die is thrown twice. Find the probability that the sum is 8, given that the second throw shows 4.
Step 1 — reduced sample space: second throw 4 leaves — six outcomes.
Step 2 — favourable: sum 8 requires the first throw to be 4, i.e. only .
Answer: .
Example 4 — Sum condition the other way
A die is thrown twice. Find the probability that the sum exceeds 9, given that the first throw shows 5.
Step 1 — reduced sample space: .
Step 2 — favourable: sum greater than 9 needs the second throw to be 5 or 6: .
Answer: .
Example 5 — Conditioning inside the deck
A card drawn from a deck of 52 is known to be a face card (jack, queen or king). Find the probability that it is a black queen.
Step 1 — reduced sample space: there are face cards.
Step 2 — favourable: black queens are the queen of spades and the queen of clubs — cards.
Answer: .
Example 6 — First black, then white
An urn contains 10 black and 5 white balls. Two balls are drawn one after the other without replacement. Find the probability that the first is black and the second is white.
Step 1 — first draw: .
Step 2 — second draw given the first: 14 balls remain, 5 of them white: .
Step 3 — multiplication theorem:
Answer: .
Example 7 — Two face cards in a row
Two cards are drawn without replacement from a deck of 52. Find the probability that both are face cards.
Step 1 — chain the draws:
Step 2 — simplify: , so .
Answer: .
Examples 8 to 13 — Longer Chains and Independence
Example 8 — Both red without replacement
A bag contains 5 white and 8 red balls. Two balls are drawn successively without replacement. Find the probability that both are red.
Step 1 — chain: , then .
Step 2 — multiply:
Answer: .
Example 9 — Three good bulbs
A box holds 15 bulbs of which 5 are defective. Three bulbs are drawn one by one without replacement. Find the probability that none is defective.
Step 1 — three-event multiplication theorem:
Step 2 — substitute the shrinking counts:
Answer: .
Example 10 — First ace exactly on the second draw
Cards are drawn one by one without replacement from a deck of 52. Find the probability that the first ace appears exactly on the second draw.
Step 1 — translate: the first card must be a non-ace AND the second an ace.
Step 2 — chain:
Answer: .
Example 11 — Independence check plus both conditionals
Events and satisfy , and . Are they independent? Find and .
Step 1 — product test: — independent.
Step 2 — the conditionals collapse to the plain probabilities (that is what independence means):
Answer: independent; , .
Example 12 — Independence inside a single die throw
A die is thrown. Let be the event "the number is at most 4" and the event "the number is even". Are and independent?
Step 1 — the three numbers: , , :
Step 2 — test: .
Answer: independent. Exactly half of 's four outcomes are even, matching the overall proportion of evens — the counting reason the test passes.
Example 13 — Two shooters fire at a target
hits a target with probability and hits it with probability ; they fire independently, one shot each. Find the probability that (i) the target is hit, (ii) both hit it, (iii) exactly one hits it.
Step 1 — (ii) is a plain product: .
Step 2 — (i) via the at-least-one formula:
Step 3 — (iii) two disjoint ways:
Answer: (i) , (ii) , (iii) .
Examples 14 to 19 — Independence Applications and Total Probability
Example 14 — Two candidates, one post
The probabilities that and are selected for a post are and respectively, independently (selections are for different organisations). Find the probability that (i) both are selected, (ii) exactly one is selected, (iii) none is selected.
Step 1 — (i): .
Step 2 — (ii):
Step 3 — (iii): .
Answer: (i) , (ii) , (iii) . Check: ✓ — the three cases exhaust all possibilities.
Example 15 — At least one of three
Three students attempt a problem independently, with probabilities of success , and . Find the probability that the problem is solved.
Step 1 — the complement of "solved" is "all three fail": the failure probabilities are , , .
Step 2 — multiply (complements of independent events are independent):
Step 3 — subtract: .
Answer: .
Example 16 — Transfer a ball, then draw
Bag I contains 3 red and 4 black balls; Bag II contains 4 red and 5 black balls. One ball is transferred at random from Bag I to Bag II, and then a ball is drawn from Bag II. Find the probability that the drawn ball is red.
Step 1 — partition by the transferred ball: , .
Step 2 — conditionals for the draw (Bag II now has 10 balls): after a red transfer it holds 5 red, after a black transfer 4 red:
Step 3 — total probability:
Answer: .
Example 17 — The factory's overall defect rate
Machines A, B, C produce , and of a factory's output with defect rates , and . What fraction of the factory's total output is defective?
Step 1 — total probability over the three machines:
Step 2 — compute: .
Answer: , i.e. of all output. This number is exactly the denominator of the Bayes computation that asks "which machine made this defective item?" — total probability and Bayes always travel together.
Example 18 — A two-stage experiment
A girl throws a die. If she gets 5 or 6 she tosses a coin three times; if she gets 1, 2, 3 or 4 she tosses it once. Find the probability that she obtains exactly one head.
Step 1 — partition by the die: , .
Step 2 — conditionals: three tosses give exactly one head in 3 of the 8 outcomes: ; a single toss gives .
Step 3 — total probability:
Answer: .
Example 19 — Grey hair (unequal rates, equal priors)
Suppose of men and of women have grey hair, and there are equal numbers of men and women. A grey-haired person is selected at random. What is the probability that the person is male?
Step 1 — priors: .
Step 2 — conditionals for = "grey hair": , .
Step 3 — Bayes (the equal priors cancel):
Answer: . With equal priors, the posterior is just each group's rate divided by the total of the rates — grey hair is 20 times commoner among men, so the posterior is .
Examples 20 to 25 — Bayes' Theorem at Full Strength
Example 20 — Four boxes of marbles
Boxes A, B, C, D contain marbles: A has 1 red, 6 white, 3 black; B has 6 red, 2 white, 2 black; C has 8 red, 1 white, 1 black; D has 0 red, 6 white, 4 black. A box is chosen at random and one marble drawn; it is red. Find the probability that it came from box A, from box B, and from box C.
Step 1 — priors and conditionals (each box has 10 marbles):
Step 2 — the equal priors cancel, so posteriors are proportional to , total :
Answer: , , . (Box D gets posterior — it has no red marbles to offer, and the three nonzero posteriors add to 1.)
Example 21 — Meditation or medication?
The chance of a heart attack is . A meditation-and-yoga course reduces the risk by ; a certain drug reduces it by . A patient chooses one of the two options with equal probability, and later suffers a heart attack. Find the probability that the patient followed the meditation-and-yoga course.
Step 1 — convert "risk reduced by" into conditionals:
Step 2 — priors: .
Step 3 — Bayes (priors cancel):
Answer: — just under , because the yoga group has the slightly lower attack rate.
Example 22 — Four boxes, unequal sizes
Coloured balls are distributed in four boxes. Box I holds 3 black of 18 balls, box II holds 2 black of 8, box III holds 1 black of 7, and box IV holds 4 black of 13. A box is selected at random and a ball drawn from it is black. Find the probability that it came from box III.
Step 1 — priors and conditionals: priors all ;
Step 2 — Bayes with the 's cancelled:
Answer: . Unlike Example 20 the boxes have different sizes, so each conditional is a different-denominator fraction — work with exact fractions and combine at the end.
Example 23 — Transfer, draw, and reason backwards
Bag I contains 3 red and 4 black balls; Bag II contains 4 red and 5 black balls. One ball is transferred from Bag I to Bag II and then a ball is drawn from Bag II, which turns out red. Find the probability that the transferred ball was black.
Step 1 — hypotheses about the transfer: , .
Step 2 — conditionals for the red draw (Bag II then has 10 balls): , .
Step 3 — Bayes:
Answer: . This problem contains Example 16: its denominator is exactly the total probability computed there.
Example 24 — The alternating game
and throw a die alternately until one of them gets a six and wins. throws first. Find their respective probabilities of winning.
Step 1 — list the ways can win: on throw 1, or throw 3 (after two failures), or throw 5, … With , and throws independent:
Step 2 — sum the infinite GP with first term and ratio :
Step 3 — complement: .
Answer: : , : . Going first is worth a edge.
Example 25 — System reliability
An electronic assembly has two subsystems A and B, with , and . Find (i) and (ii) .
Step 1 — reconstruct : "B fails" splits into "B fails alone" and "both fail":
Step 2 — (i) condition:
Step 3 — (ii) subtract the overlap:
Answer: (i) , (ii) . The phrase "fails alone" is the whole problem — translate it as "fails and the other does not" before touching any formula.