Conditional Probability and the Multiplication Rule
Conditional probability — the probability of given that has occurred: Conditioning shrinks the sample space to : count favourable outcomes inside only. Useful facts: , and .
Multiplication rule (the same identity, rearranged): This is the engine for without-replacement problems — multiply along the branches of the tree, updating the counts at each draw.
Independent Events
and are independent when knowing one changes nothing about the other: equivalently . Test with numbers, never with intuition — compute both sides and compare. If and are independent, so are and , and , and and .
Do not confuse independent with mutually exclusive: mutually exclusive events () with nonzero probabilities are never independent — one occurring forbids the other.
Standard consequences for independent : , and — the complement route is nearly always shorter.
Total Probability and Bayes' Theorem
Let be a partition of the sample space (mutually exclusive, exhaustive, nonzero probabilities) and any event.
Theorem of total probability — average the conditional probabilities, weighted by the partition:
Bayes' theorem — reverse the conditioning: The recipe: name the hypotheses (which bag, which machine, diseased or not), write their prior probabilities, write each , and assemble. The denominator is always the total-probability sum — compute it once and reuse it.
Random Variables and Their Distributions
A random variable assigns a number to each outcome. Its probability distribution is the table of values with probabilities , where The condition is how unknown constants in a distribution table are found — a guaranteed board question.
Mean (expectation): Build the distribution table first, then add an row and sum it — tabulate, never improvise.
Worked Examples — Conditional Probability and Independence
Example 1 — The definition at work
Given , and , find and .
Step 1 — apply the formula both ways: and .
Answer: and — the two conditionals differ; the denominator is always the given event.
Example 2 — The two-children classic
A family has two children. Find the probability that both are boys, given that (i) at least one is a boy, (ii) the elder is a boy.
Step 1 — sample space: , equally likely.
Step 2 — case (i): given set , favourable : probability .
Step 3 — case (ii): given set , favourable : probability .
Answer: and — different information shrinks the sample space differently; this pair is the cleanest illustration of conditioning on the paper.
Example 3 — Conditioning on a dice sum
A die is thrown twice. Given that the sum is , find the probability that appeared at least once.
Step 1 — the given event: sum means — five outcomes.
Step 2 — favourable inside it: and .
Answer: — count within the reduced sample space; the original never appears in the final ratio.
Example 4 — Without replacement
Two cards are drawn from a well-shuffled pack without replacement. Find the probability that both are kings.
Step 1 — multiply along the tree: , then .
Answer: — the multiplication rule is the tree diagram in symbols.
Example 5 — Testing independence with numbers
A die is thrown. = "the number is even", = "the number is at most ". Are and independent?
Step 1 — the three probabilities: , , and so .
Step 2 — compare: .
Answer: independent — the product test decides, and it can surprise; always compute.
Example 6 — Union of independent events
and are independent with and . Find and .
Step 1 — union: .
Step 2 — with the complement (independence passes to complements): .
Answer: and .
Example 7 — At least one, via complements
A problem is given to two students who work independently. Their chances of solving it are and . Find the probability that (i) the problem is solved, (ii) exactly one of them solves it.
Step 1 — problem solved = at least one solves: .
Step 2 — exactly one: .
Answer: and — "at least one" should trigger the complement route automatically.
Worked Examples — Total Probability, Bayes and Random Variables
Example 8 — Total probability
Bag I contains red and black balls; Bag II contains red and black. A bag is chosen at random and a ball drawn. Find the probability that it is red.
Step 1 — partition by bag: ; , .
Step 2 — weighted average:
Answer: .
Example 9 — Bayes reverses Example 8
In the setup of Example 8, the drawn ball is red. Find the probability that it came from Bag I.
Step 1 — Bayes: .
Step 2 — simplify: .
Answer: — the denominator is exactly the total probability already computed; never recompute it from scratch.
Example 10 — Bayes with machines
Machines and produce and of a factory's items; of 's output and of 's output is defective. An item drawn at random is defective. Find the probability it came from machine .
Step 1 — the two branches: and .
Step 2 — Bayes: .
Answer: — lay out the prior-times-likelihood products first and the answer is one division.
Example 11 — Bayes against intuition
A disease affects of a population. A test detects it with probability if present, but also gives a false positive with probability for a healthy person. Given a positive test, find the probability the person actually has the disease.
Step 1 — the two branches: diseased and positive: ; healthy and positive: .
Step 2 — Bayes:
Answer: — a -accurate test, yet a positive result means the disease is still unlikely, because healthy people vastly outnumber diseased ones. Boards love asking for the interpretation sentence.
Example 12 — A probability distribution and its mean
Two fair coins are tossed. Let be the number of heads. Write the distribution of and find its mean.
Step 1 — the table: , , (sum ).
Step 2 — mean: .
Answer: — exactly one head expected on average, as symmetry suggests.
Example 13 — Finding an unknown in a distribution
A random variable takes values with probabilities . Find , and .
Step 1 — probabilities sum to : , so .
Step 2 — read off: .
Step 3 — mean: .
Answer: , , — the condition unlocks the whole question.