Probability Applications
What You'll Learn
- 1Translate a word problem into a sample space and a pair of events
- 2Choose between the conditional, multiplication, addition and complement rules
- 3Test whether two events are independent before multiplying their probabilities
- 4Verify a hand-computed probability by enumerating or simulating the experiment in Python
A probability formula on its own settles nothing; the work lies in deciding which of the four standard rules the situation calls for. Drawing without replacement destroys independence, drawing with replacement preserves it, a question containing the word at least almost always asks for a complement, and a question containing exactly one asks for two mutually exclusive routes to be added. This lesson organises the rules around the situations that trigger them and then solves four complete applications in the style CBSE sets, finishing with code that reproduces each answer from the raw sample space.
The four rules and when each one fires
Conditional probability is the definition from which the others follow. Given that has already occurred, the reduced sample space contains only outcomes in , and survives inside it only through the intersection:
Multiplying both sides by yields the multiplication theorem , which is valid whether or not the events are independent. Independence is the special case in which knowing changes nothing about , so and the product collapses to .
The addition rule counts the union without double counting the overlap, and the complement rule converts a hard at least one question into a single easy none question. Together the four read
| Situation in the wording | Rule that applies | Formula | Hidden assumption |
|---|---|---|---|
| Probability of given that happened | conditional definition | over | is not zero |
| Both and happen, steps are linked | multiplication theorem | times | none |
| Both and happen, steps are unrelated | independence | times | independence must be justified |
| Either or or both | addition rule | plus minus | none |
| and cannot both occur | addition rule simplified | plus | intersection is empty |
| At least one success occurs | complement | one minus | easier than direct counting |
| Exactly one of the two occurs | partition | algebra, not a new theorem |
Testing independence honestly
Two events are independent exactly when the occurrence of one leaves the other's probability untouched. The formal test is , and it works both ways: if the product of the separate probabilities equals the joint probability, the events are independent. Physical reasoning is a faster first pass. Two dice are independent because neither roll influences the other. Drawing two cards without replacement is not, because the first card removes it from the deck, and the same is true of drawing balls from a bag. Replacing the card or the ball restores independence immediately.
A classic trap is to assume that disjoint events are independent. Mutually exclusive events are the opposite of independent: if has occurred then certainly has not, so , which differs from whenever is possible. The two notions answer different questions â mutual exclusivity forbids simultaneous occurrence, independence forbids mutual influence.
First pair of applications
Second pair of applications
How CBSE frames application questions
One mark questions usually test the addition rule with three numbers given, or ask which of four pairs of events are independent. Three and four mark questions are word problems built around cards, coins, dice, bags and exam answers, and they normally require two rules chained together: a conditional step followed by multiplication, or a union followed by a complement. The marking scheme rewards correct event definitions before arithmetic, so naming events as and with a sentence each is worth a mark on its own. The recurring error patterns are multiplying unconditional probabilities when replacement did not occur, forgetting to subtract the intersection in a union, and computing the probability of at least one success directly instead of subtracting the probability of zero successes.
Reproducing the answers in Python
Enumerating the sample space removes every doubt about whether a rule was the right one.
from itertools import product
outcomes = list(product(range(1, 7), repeat=2))
sum_5 = [o for o in outcomes if sum(o) == 5]
sum_7 = [o for o in outcomes if sum(o) == 7]
print("outcomes :", len(outcomes))
print("P(sum is 5) :", len(sum_5), "/", len(outcomes), "=", len(sum_5) / len(outcomes))
print("P(sum is 7) :", len(sum_7), "/", len(outcomes), "=", len(sum_7) / len(outcomes))
knows, guess, guess_right = 0.8, 0.2, 0.25
p_correct = knows + (1 - knows) * guess_right
print("P(answer correct) :", p_correct)
A simulation confirms the without-replacement calculation for the bag problem without any formula at all.
import random
random.seed(7)
red_total, blue_total, trials = 5, 3, 100000
both_red = 0
for _ in range(trials):
bag = ["R"] * red_total + ["B"] * blue_total
first = bag.pop(random.randrange(len(bag)))
second = bag.pop(random.randrange(len(bag)))
if first == "R" and second == "R":
both_red += 1
print("simulated P(both red):", both_red / trials)
print("exact value 5/14 :", 5 / 14)
The simulated frequency settles near 0.3571 against the exact , which is the arithmetic answer confirmed by 100,000 independent trials.
Questions students ask about these rules
Can two events be both mutually exclusive and independent?
Only in the degenerate case where at least one of them has probability zero. If both probabilities are positive, mutual exclusivity forces the intersection to zero while independence would require it to equal the product of two positive numbers, and those two demands contradict each other.
Does independence survive a change of space?
No. Independence is a statement about numbers, so it belongs to the experiment as described. A pair of dice rolled on a table are independent, yet the moment you condition on the total being 10 the two upper faces become dependent, because the possible outcomes have been pruned.
Is the complement rule ever wrong?
Never, but it is only useful when the complement is easier to count. For exactly one success the complement splits into two pieces, neither success and both successes, so the direct route is shorter. For at least one success the complement is a single clean event and always wins.
Common Mistakes
Multiplying separate probabilities in a without-replacement draw
Fix: Draws from a shrinking pool are dependent, so multiply by the updated conditional probability, for example 5 over 8 times 4 over 7 rather than 5 over 8 times 5 over 8.
Treating mutually exclusive events as independent
Fix: If the events cannot both occur then one rules out the other, so P of A given B is zero while P of A is positive, which is the definition of dependence.
Computing at least one success by adding individual success probabilities
Fix: Use the complement: subtract the probability that no trial succeeds from one, because direct addition double counts the overlapping cases.
Key Takeaways
- Every application question is a choice among conditional definition, multiplication, addition and complement, and the wording decides which
- Independence must be argued physically or verified by the product test before P of A intersect B equals P of A times P of B may be used
- Drawing without replacement is dependent and drawing with replacement is independent, and replacement is the pivot of most bag problems
- Sums of five and seven from two dice have probabilities 1 over 9 and 1 over 6, so the player waiting for seven is favoured