MathLabs

Grade 10

Events and probability

The chance that an outcome occurs, measured as a number between 0 and 1.

IntuitionIntuition: how likely is it?

Flip a coin, roll a die, or spin a wheel: each of these is a random experiment whose exact result cannot be predicted in advance, but whose set of possible results — the sample space Ω\Omega — is known ahead of time. A single possible result is called an outcome, and any collection of outcomes we care about, such as "the die shows an even number", is called an event AA. Probability assigns to it a number P(A)P(A) between 00 and 11 that measures how likely the event is, with P(A)=0P(A) = 0 meaning impossible and P(A)=1P(A) = 1 meaning certain.

A circular spinner with equal colored arcs and a pointer currently at 252 degrees from the top.
A spinner divided into equal arcs is spun, and the pointer stops at some angle θ\theta measured from the top. If event AA is the arc spanning 9090 degrees out of the full 360360 degrees, then by symmetry P(A)=90360=14P(A) = \frac{90}{360} = \frac{1}{4}, exactly the fraction of the circle that arc occupies.

SchoolSample space and classical probability

Definition: Sample space and event

The sample space Ω\Omega of a random experiment is the set of all possible outcomes. An event is any subset A⊆ΩA \subseteq \Omega of the sample space; it "occurs" exactly when the actual outcome of the experiment lies in AA.

P(A)=∣A∣∣Ω∣P(A) = \frac{|A|}{|\Omega|}

Here ∣A∣|A| denotes the number of outcomes in the event AA (assuming Ω\Omega is finite), and ∣Ω∣|\Omega| denotes the total number of outcomes in the sample space. This formula — sometimes called the classical (or Laplace) definition of probability — only applies when every outcome in Ω\Omega is equally likely; for example, all 66 faces of a fair die or all 5252 cards of a well-shuffled deck.

P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

For two events AA and BB, this addition rule accounts for outcomes in A∩BA \cap B being counted once in P(A)P(A) and once in P(B)P(B), so the overlap P(A∩B)P(A \cap B) must be subtracted once to avoid double-counting. When AA and BB cannot happen at the same time, A∩B=∅A \cap B = \varnothing, so P(A∩B)=0P(A \cap B) = 0 and the rule simplifies to P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B). A different relationship, independence, holds when knowing one event gives no information about the other; algebraically this is defined by P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B).

Special relationships between two events
RelationshipDefining conditionResulting formula
Mutually exclusiveA∩B=∅A \cap B = \varnothingP(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)
IndependentP(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B)P(A∪B)=P(A)+P(B)−P(A)P(B)P(A \cup B) = P(A) + P(B) - P(A) P(B)
General (arbitrary) events—P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)

UndergraduateRigorous statements and proofs

For any two events A,B⊆ΩA, B \subseteq \Omega in a finite sample space, P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).

Why is it true?

Simply adding P(A)P(A) and P(B)P(B) counts every outcome lying in both events twice — once inside P(A)P(A) and once inside P(B)P(B) — so the overlap P(A∩B)P(A \cap B) must be removed exactly once to correct the count.

Proof

Step 1 (partition the union into disjoint pieces): split A∪BA \cup B into three pairwise disjoint pieces: A∖BA \setminus B (outcomes only in AA), A∩BA \cap B (outcomes in both), and A∩BA \cap BB∖AB \setminus A (outcomes only in BB). Every outcome of A∪BA \cup B falls into exactly one of these three pieces.

Step 2 (count the union by the addition rule for disjoint sets): since the three pieces are pairwise disjoint, the number of outcomes satisfies ∣A∪B∣=∣A∖B∣+∣A∩B∣+∣B∖A∣|A \cup B| = |A \setminus B| + |A \cap B| + |B \setminus A|.

Step 3 (express ∣A∣|A| and ∣B∣|B| using the same three pieces): similarly, ∣A∣=∣A∖B∣+∣A∩B∣|A| = |A \setminus B| + |A \cap B| (splitting AA by whether it overlaps BB) and ∣B∣=∣B∖A∣+∣A∩B∣|B| = |B \setminus A| + |A \cap B| (splitting BB the same way). Adding these two equations gives ∣A∣+∣B∣=∣A∖B∣+∣B∖A∣+2∣A∩B∣|A| + |B| = |A \setminus B| + |B \setminus A| + 2|A \cap B|.

Step 4 (combine and divide by ∣Ω∣|\Omega|): comparing Step 2 and Step 3, ∣A∣+∣B∣−∣A∩B∣=∣A∖B∣+∣B∖A∣+∣A∩B∣=∣A∪B∣|A| + |B| - |A \cap B| = |A \setminus B| + |B \setminus A| + |A \cap B| = |A \cup B|. Dividing both sides by ∣Ω∣|\Omega| and applying the classical probability formula P(A)=∣A∣∣Ω∣P(A) = \frac{|A|}{|\Omega|} to each term gives exactly P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).

Let Ω=Ω1×Ω2\Omega = \Omega_1 \times \Omega_2 be a sample space built from two independent finite equally-likely sample spaces, with mm outcomes in the first and nn outcomes in the second. For events A⊆Ω1A \subseteq \Omega_1 and B⊆Ω2B \subseteq \Omega_2, writing A∩BA \cap B for the event that the first outcome lies in AA and the second lies in BB, P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B).

Why is it true?

Choosing an outcome that satisfies both AA and BB independently is a two-step counting process (the multiplication rule for counting), so the number of favorable pairs is simply the product of the numbers of favorable outcomes in each component.

Proof

Step 1 (set up the counting): let ∣A∣=a|A| = a and ∣B∣=b|B| = b. An outcome of Ω=Ω1×Ω2\Omega = \Omega_1 \times \Omega_2 satisfying both conditions is a pair (ω1,ω2)(\omega_1, \omega_2) with ω1∈A\omega_1 \in A and ω2∈B\omega_2 \in B.

Step 2 (apply the multiplication rule for counting): choosing ω1\omega_1 can be done in aa ways and, independently of that choice, ω2\omega_2 can be done in bb ways, so by the multiplication rule for counting there are a⋅ba \cdot b favorable pairs.

Step 3 (divide by the total number of outcomes): the total sample space has m⋅nm \cdot n equally likely outcomes, so P(A∩B)=abmnP(A \cap B) = \frac{ab}{mn}.

Step 4 (factor the fraction): rewriting abmn=am⋅bn=P(A)⋅P(B)\frac{ab}{mn} = \frac{a}{m} \cdot \frac{b}{n} = P(A) \cdot P(B), since P(A)=a/mP(A) = a/m and P(B)=b/nP(B) = b/n by the classical probability formula, which proves the claim.

UndergraduateReal-World Applications and Worked Examples

Classical probability and the addition and multiplication rules are the everyday arithmetic of quality control (chance that a batch has a defect), finance (chance that at least one of several independent investments loses money), genetics (chance of inheriting a trait from independent alleles), and computer science (chance that a hash collision or a random test failure occurs). The two examples below apply the addition rule and the multiplication rule to concrete numbers.

Example: A language-course survey

In a school of 200200 students, 120120 study French, 8080 study Spanish, and 3030 study both languages. Find the probability that a randomly chosen student studies French or Spanish.

Solution

Step 1: let AA be "studies French" and BB be "studies Spanish", so ∣Ω∣=200,  ∣A∣=120,  ∣B∣=80,  ∣A∩B∣=30|\Omega| = 200,\; |A| = 120,\; |B| = 80,\; |A \cap B| = 30.

Step 2: since "French or Spanish" is the event A∪BA \cup B, the addition rule gives P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B).

Step 3: substituting the classical probabilities, P(A∪B)=120200+80200−30200=170200P(A \cup B) = \frac{120}{200} + \frac{80}{200} - \frac{30}{200} = \frac{170}{200}, which simplifies to 1720=0.85\frac{17}{20} = 0.85.

Example: Guessing on two independent quiz questions

A student guesses randomly on two independent multiple-choice questions. Question 1 has 44 options with exactly one correct answer, and Question 2 has 55 options with exactly one correct answer. Find the probability that the student guesses both questions correctly.

Solution

Step 1: let AA be "guesses question 1 correctly" and BB be "guesses question 2 correctly"; since each option is equally likely to be picked, P(A)=14P(A) = \frac{1}{4} and P(B)=15P(B) = \frac{1}{5}.

Step 2: guessing on the two questions does not influence each other, so AA and BB are independent, and the multiplication rule applies: P(A∩B)=P(A)⋅P(B)P(A \cap B) = P(A) \cdot P(B).

Step 3: substituting the values from Step 1, P(A∩B)=14⋅15=120P(A \cap B) = \frac{1}{4} \cdot \frac{1}{5} = \frac{1}{20}, so the chance of guessing both correctly is only 5%5\%.

A fair six-sided die is rolled once. What is P(A)P(A), the probability that the outcome is a prime number, where A={2,3,5}A = \{2, 3, 5\}?

Among 4040 students, 1818 play chess, 1515 play go, and 66 play both. What is the probability that a randomly chosen student plays chess or go?

A fair coin is flipped twice. Let AA be "the first flip is heads" and BB be "the second flip is heads". Since the two flips do not influence each other, what is P(A∩B)P(A \cap B)?

A factory has two machines that operate completely independently. Each machine has a 10%10\% chance of producing a defective item on a given run. What is the probability that neither machine produces a defective item?

References

  1. Sheldon Ross (2019). A First Course in Probability
  2. Joseph K. Blitzstein, Jessica Hwang (2019). Introduction to Probability