Two fair dice are rolled. Find P(sum = 8), P(sum ≥ 10), P(doublet), P(at least one six) and P(sum = 8 or a doublet).
Probability assigns numbers between 0 and 1 to events — subsets of a sample space of outcomes. The classical definition, Kolmogorov's axioms and the addition and complement rules underlie every calculation, from coins, dice and cards to defective items and reliability.
A random experiment can be repeated under the same conditions, yet its result cannot be predicted with certainty — tossing a coin, rolling a die, testing a chip from a production line. Each possible result is an outcome (sample point), and the set of all outcomes is the sample space S.
| Experiment | Sample space | Number of outcomes |
|---|---|---|
| Toss a coin | {H, T} | 2 |
| Toss two coins (or one coin twice) | {HH, HT, TH, TT} | 4 |
| Toss n coins | all strings of n letters from {H, T} | 2ⁿ |
| Roll a die | {1, 2, 3, 4, 5, 6} | 6 |
| Roll two dice | {(i, j) | 1 ≤ i, j ≤ 6} | 36 |
| Draw one card | 52 cards (4 suits × 13 ranks) | 52 |
| Draw r cards together from a deck | all r-card subsets | C(52, r) |
| Toss a coin until the first head | {H, TH, TTH, TTTH, …} | countably infinite |
| Lifetime of a bulb in hours | [0, ∞) | uncountable (continuous) |
Sample spaces can be finite, countably infinite or continuous. Whenever possible, choose a sample space whose outcomes are equally likely: for two dice use the 36 ordered pairs, not the 11 possible sums, which are not equally likely.
An event is any subset of S; it occurs when the actual outcome lies in it. A simple (elementary) event contains a single outcome and a compound event contains several. ∅ is the impossible event and S the sure event. Because events are sets, all of set algebra applies to them.
| In words | Set notation | One die: A = even, B = more than 4 |
|---|---|---|
| A or B (at least one) | A ∪ B | {2, 4, 5, 6} |
| A and B (both) | A ∩ B | {6} |
| not A | A′ (complement) | {1, 3, 5} |
| A but not B | A − B = A ∩ B′ | {2, 4} |
| exactly one of A, B | A ⊕ B | {2, 4, 5} |
| neither A nor B | A′ ∩ B′ = (A ∪ B)′ | {1, 3} |
| A implies B | A ⊆ B | “a six” ⊆ “an even number” |
Events are mutually exclusive (disjoint) when A ∩ B = ∅ — they cannot happen together — and exhaustive when their union is S. A family that is both mutually exclusive and exhaustive is a partition of S, for example {1, 2}, {3, 4}, {5, 6} for one die; partitions are the starting point of the total-probability theorem and Bayes' theorem.
Classical (Laplace) definition: if S has n equally likely outcomes of which m favour A, then P(A) = m/n. It suits fair coins, dice and shuffled cards, but breaks down when outcomes are not equally likely or are infinite in number.
Relative-frequency (empirical) definition: P(A) is the limit of (number of times A occurs)/(number of trials) as the trials grow without bound. It is how a manufacturer estimates that 1.2% of its chips fail. Subjective probability expresses a degree of belief, as in betting odds.
| Consequence | Reason |
|---|---|
| P(∅) = 0 | S and ∅ are disjoint and S ∪ ∅ = S |
| P(A′) = 1 − P(A) | A and A′ are disjoint and A ∪ A′ = S |
| 0 ≤ P(A) ≤ 1 | axiom 1 plus the complement rule |
| A ⊆ B ⇒ P(A) ≤ P(B) | B is the disjoint union of A and B − A |
| P(A − B) = P(A) − P(A ∩ B) | A is the disjoint union of A − B and A ∩ B |
| P(A ∪ B) = P(A) + P(B) − P(A ∩ B) | A ∪ B is the disjoint union of A and B − A |
The complement rule is the shortcut for “at least one”. The chance of at least one six in four rolls of a die is 1 − (5/6)⁴ = 1 − 625/1296 ≈ 0.518. This is the Chevalier de Méré's problem; the 1654 letters between Pascal and Fermat on de Méré's gambling questions are usually taken as the birth of probability theory.
A typical word problem: the probability that a student passes English is 0.7, passes both English and Hindi is 0.4, and passes neither is 0.15. Then P(E ∪ H) = 1 − 0.15 = 0.85, and from the addition rule P(H) = P(E ∪ H) − P(E) + P(E ∩ H) = 0.85 − 0.7 + 0.4 = 0.55.
Coins. n fair coins give 2ⁿ equally likely outcomes, and P(exactly k heads) = C(n, k)/2ⁿ. With three coins: P(exactly two heads) = 3/8 and P(at least one head) = 1 − 1/8 = 7/8.
| Sum of two dice | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Number of ways (out of 36) | 1 | 2 | 3 | 4 | 5 | 6 | 5 | 4 | 3 | 2 | 1 |
Dice facts worth knowing: P(doublet) = 6/36 = 1/6; P(sum ≥ 10) = 6/36 = 1/6; P(at least one six) = 1 − 25/36 = 11/36; P(both dice show more than 4) = (2/6)² = 1/9; P(sum even) = 1/2; P(product even) = 1 − (1/2)² = 3/4.
| Group of cards in a standard deck | How many |
|---|---|
| Suits: spades ♠ and clubs ♣ (black), hearts ♥ and diamonds ♦ (red) | 4 suits of 13 cards |
| Red cards / black cards | 26 / 26 |
| Ranks A, 2–10, J, Q, K | 13 ranks, 4 cards each |
| Face (court) cards J, Q, K | 12 |
| Aces / kings / queens / jacks | 4 each |
Card examples: P(king or heart) = 4/52 + 13/52 − 1/52 = 16/52 = 4/13; P(face card) = 12/52 = 3/13; P(red or king) = 26/52 + 4/52 − 2/52 = 7/13. Two cards drawn together: P(both aces) = C(4, 2)/C(52, 2) = 6/1326 = 1/221.
Drawing without replacement uses combinations. From 12 items of which 4 are defective, draw 3: P(exactly one defective) = C(4, 1)C(8, 2)/C(12, 3) = 4 × 28/220 = 28/55, and P(at least one defective) = 1 − C(8, 3)/C(12, 3) = 1 − 56/220 = 41/55.
If P(A) > 0 and P(B) > 0, mutually exclusive events are always dependent: learning that A happened makes B impossible, so it certainly changes B's probability. “Mutually exclusive and independent” is possible only when one of the events has probability 0.
Independence, conditional probability and the multiplication rule are developed fully in the next topic.
Odds in favour of A are P(A) : P(A′); odds against are P(A′) : P(A). Odds in favour of 3 : 5 mean P(A) = 3/(3 + 5) = 3/8; odds against of 7 : 2 mean P(A) = 2/9. A bookmaker's “4 to 1 against” is a probability of 1/5.
The birthday problem. With 365 equally likely birthdays, the probability that at least two of n people share one is 1 − (365 × 364 × … × (365 − n + 1))/365ⁿ. It passes 1/2 at n = 23 (about 0.507) and reaches about 0.970 at n = 50. The pigeonhole principle guarantees a shared birthday only at 367 people, but probability makes one likely far sooner.
Long-run frequency. Getting 7 heads in 10 tosses does not change P(H) = 1/2 for the next toss — coins have no memory. The law of large numbers (Jacob Bernoulli, published 1713) says only that the proportion of heads approaches 1/2 as the number of tosses grows.
Try the problem first, then reveal the working one step at a time.
Two fair dice are rolled. Find P(sum = 8), P(sum ≥ 10), P(doublet), P(at least one six) and P(sum = 8 or a doublet).
From a well-shuffled deck, find (a) P(king or heart), (b) P(face card), (c) P(neither red nor a king), (d) P(two cards drawn together are both aces).
P(A) = 0.6, P(B) = 0.5 and P(A ∩ B) = 0.3. Find P(A ∪ B), P(neither), P(exactly one), P(A only) and P(not both).
A batch of 12 items contains 4 defectives. Three items are chosen at random together. Find P(exactly one defective), P(at least one defective) and P(all three defective).
Three fair coins are tossed. Find P(at least two heads) and P(no tails).
One card is drawn from a deck. Find P(red or a king) and P(neither a heart nor a face card).
If the odds in favour of an event are 3 : 5, what is its probability? If the odds against another event are 7 : 4?
P(A) = 0.45, P(B) = 0.35 and P(A ∪ B) = 0.6. Find P(A ∩ B), P(A only), P(neither) and P(exactly one).
A bag holds 5 red and 3 blue balls. Two are drawn together at random. Find P(both the same colour) and P(at least one blue).
10 questions. 70 % passes the topic quiz (+30 XP, +20 more for 100 %). Exam scoring: +1 correct, −⅓ wrong.
Modelled on real KPSC questions (reworded) with the same concept and answer; each links to its original paper.