Random Experiments and Events
Every probability printed on a board paper rests on one piece of bookkeeping: a complete and honest list of what can happen. If that list omits an outcome or counts one twice, every number computed from it is wrong. This lesson builds the vocabulary that separates a story about chance from a calculation about chance. You will construct sample spaces for the standard experiments, decide which subsets deserve the name event, and derive the complement and union rules that the next lesson converts into numerical probabilities.
What You'll Learn
- 1State the three tests that make an experiment random and list its sample space without gaps
- 2Classify an event as impossible, sure, simple or compound and write its complement
- 3Express union, intersection, difference and complement using set notation and counting formulas
- 4Apply the addition and complement rules to card, die and coin problems and verify them in Python
What Makes an Experiment Random
Three tests settle the issue: the trial must be repeatable under the same rules, the outcome catalogue must be fixed before the first trial, and the result of one trial must stay uncertain. A coin of unknown bias passes all three yet fails the extra assumption the classical formula needs â that every outcome is equally likely. Equal likelihood is what licenses the ratio below, and questions assume it silently whenever they say "fair" or "randomly selected".
The bounds follow immediately: the empty event contributes nothing and the whole space contributes everything, so the fraction never leaves the interval from zero to one. Check every answer against those two bounds before you leave the hall.
Constructing the Sample Space Without Missing Outcomes
The craft lies in listing, not in the definition. A tree diagram works when trials happen one after another and a table when objects are thrown together, because both force you to visit every branch exactly once. Tossing one coin gives with ; tossing it twice gives four ordered outcomes, because the first and second tosses are distinguishable events. Rolling one die gives six equally likely points, rolling two gives thirty-six ordered pairs, and drawing a card from a pack gives fifty-two.
State first and reuse it as the fraction denominator later; that one number anchors every part of the question that follows.
Events as Subsets of the Sample Space
The complement of , written or , collects every outcome that is not in . Two facts make it useful: a set and its complement rebuild the whole space, and they share no outcome.
Because these two pieces are disjoint and together exhaust , their probabilities add to one, which rearranges into the rule that saves long counting:
So if six of twenty-five numbers are divisible by four, the chance of picking one that is not is one minus six twenty-fifths, namely nineteen twenty-fifths.
Union, Intersection and Difference of Events
Two events can be combined the same way sets are combined, and each combination has a plain-English reading you must recognise on sight.
De Morgan's laws then link union to intersection, and they appear in nearly every objective paper:
Four Worked CBSE-Style Problems
Formula Sheet: Event Operations at a Glance
| Situation | Set notation | Counting rule | Probability when outcomes are equally likely |
|---|---|---|---|
| occurs | |||
| fails | |||
| or | add the three counts over | ||
| and | count common outcomes | when mutually exclusive | |
| but not | difference of the two probabilities | ||
| Neither nor | equals complement |
Verifying the Counting in Python
The fastest way to lose marks is to miscount a sample space. Enumerating it with itertools takes five lines and removes the doubt entirely.
from itertools import product
S = list(product(range(1, 7), repeat=2)) # two dice
A = {p for p in S if sum(p) == 7} # sum is seven
B = {p for p in S if p[0] % 2 == 0 and p[1] % 2 == 0}
print("n(S) =", len(S)) # 36
print("n(A) =", len(A), "P(A) =", len(A) / len(S))
print("n(B) =", len(B), "P(B) =", len(B) / len(S))
print("A and B exclusive:", A.isdisjoint(B)) # True
print("n(A or B) =", len(A | B), "=", len(A) + len(B))
A second check tests the algebra itself, so a slip in a hand derivation shows up immediately.
from itertools import combinations
cards = [f"{r}{s}" for s in "CDHS" for r in ["A","2","3","4","5","6","7",
"8","9","10","J","Q","K"]]
A = {c for c in cards if c[:-1] == "K"} # kings
B = {c for c in cards if c[-1] in "DH"} # red suits
assert len(cards) == 52
assert len(A) == 4 and len(B) == 26 and len(A & B) == 2
assert len(A | B) == len(A) + len(B) - len(A & B) # inclusion-exclusion
assert len(A) + len(set(cards) - A) == len(cards) # complement rule
print("P(A or B) =", len(A | B) / len(cards))
How CBSE Frames These Questions
Expect three shapes. The first asks you to write the sample space of a two-stage experiment, where marks are lost by merging distinguishable outcomes or splitting indistinguishable ones. The second presents statements and asks which are events, testing whether you know that an event must be a subset of . The third gives two events and asks for the size of their union, where the marking scheme awards a separate mark for writing first. Read "at most" and "at least" carefully: each shifts an endpoint by one.
Common Mistakes
Treating (H, T) and (T, H) as one outcome
Fix: List ordered outcomes whenever the trials are sequential; only merge them when the objects are genuinely indistinguishable.
Adding n(A) and n(B) for events that overlap
Fix: Subtract n(A intersection B) first, using n(A union B) equals n(A) plus n(B) minus the intersection.
Writing an event that is not a subset of the sample space
Fix: Check every listed outcome actually appears in S, and remember the empty set and S itself are valid events.
Key Takeaways
- A random experiment is repeatable, has a pre-known outcome set, and leaves the single trial uncertain
- Classical probability is n(A) over n(S) and always lies between 0 and 1 inclusive
- Mutually exclusive events have an empty intersection, so their counts simply add
- The complement rule P(A) equals 1 minus P(A) turns long lists into one subtraction
Practice Set
- Write the sample space for tossing a coin and then rolling a die, and state .
- One number is chosen at random from to . Find the probability that it is divisible by neither three nor five.
- Two cards are drawn together. If is "both are aces" and is "both are black", find and test mutual exclusion.
- A letter is drawn from MISSISSIPPI. Are "a vowel" and "an S" mutually exclusive events? Justify your answer.