New
✓ Official Syllabus VerifiedStandards & Rigor ↗
6

Probability

📐 EST II Math Level 2 · Probability Level 2 · 6  ·  Probability

Probability starts from one simple ratio — favorable outcomes over total outcomes — and builds up to counting techniques (permutations, combinations) for when listing every outcome by hand isn't practical, plus rules for combining the probabilities of two events.

● Definition 6.1 — Probability of an event

For a sample space S of equally likely outcomes and an event E\subseteq S, the probability of \( E \) is

\[ P(E)=\frac{n(E)}{n(S)}, \]

where \( n(E) \) and \( n(S) \) count outcomes. Always \( 0\leq P(E)\leq1 \).

Venn diagram partitioning sample space into |A only| = 20, \(|A \cap B| = 14\), |B only| = 5, and \(|(A \cup B)'| = 4\).
⊙ Explorer · Geometric Waiting-Time Distribution \(P(X = k) = (1-p)^{k-1} \cdot p\)
interactive
First Success at Trial \(k\): \(P(X=k)\)\(P(X=3) = 0.1479\)
Cumulative \(P(X \le k) = 1 -(1-p)^{k}\)\(P(X \le 3) = 0.7254\)
Expected Trials \(E(X) = 1 / p\)\(E(X) = 2.86\)

Plot the decaying geometric probability bars \(P(X = r) = (1-p)^{r-1}\)p for waiting until the first success, along with mean waiting time \(E(X) = 1 / p\).

Worked example 6.A — Basic probability
Problem. Two fair six-sided dice are rolled. Find the probability their sum is \( 7 \).
▸ Show step-by-step solution

Total outcomes: \( n(S)=6\times6=36 \). Favorable outcomes (sum \( =7 \)): \( (1,6),(2,5),(3,4),(4,3),(5,2),(6,1) \) — that's \( 6 \). So \[ P(\text{sum}=7)=\frac{6}{36}=\frac16. \]

● Definition 6.2 — Complement rule

The complement of event \( E \), written \( E' \), is “\( E \) does not happen.” Since \( E \) and \( E' \) together account for every outcome exactly once, \[ P(E')=1-P(E). \]

● Definition 6.3 — Permutations and combinations

A permutation counts arrangements where order matters: \( P(n,r)=\dfrac{n!}{(n-r)!} \), the number of ways to arrange \( r \) items chosen from \( n \). A combination counts selections where order does not matter: \( \displaystyle\binom{n}{r}=\frac{n!}{r!(n-r)!} \).

▲ Theorem 6.1 — Combinations from permutations

\[ \binom{n}{r}=\frac{P(n,r)}{r!}. \]

Proof

Every combination (an unordered group of \( r \) items) corresponds to exactly \( r! \) different permutations (every way of ordering that same group). So the permutations of \( n \) items taken \( r \) at a time can be built in two steps: first choose which \( r \) items (a combination, \( \binom{n}{r} \) ways), then arrange those \( r \) items in order (\( r! \) ways). By the multiplication principle, \( P(n,r)=\binom{n}{r}\cdot r! \), so dividing both sides by \( r! \) gives \( \binom{n}{r}=\dfrac{P(n,r)}{r!}=\dfrac{n!}{(n-r)!\,r!} \). \( \blacksquare \)

Worked example 6.B — Combinations
Problem. How many ways can a committee of \( 3 \) be chosen from \( 8 \) people?
▸ Show step-by-step solution

Order doesn't matter (a committee is a group, not a sequence), so use combinations: \[ \binom{8}{3}=\frac{8!}{3!\,5!}=\frac{8\cdot7\cdot6}{3\cdot2\cdot1}=56. \]

● Definition 6.4 — Independent events

Events \( A \) and \( B \) are independent if one occurring doesn't change the probability of the other. For independent events, \[ P(A\text{ and }B)=P(A)\cdot P(B). \]

● Definition 6.5 — Addition rule

For any two events \( A,B \) (whether or not they can happen together),

\[ P(A\text{ or }B)=P(A)+P(B)-P(A\text{ and }B). \]

The subtracted term avoids double-counting outcomes where both happen. If \( A \) and \( B \) are mutually exclusive (can't both happen), \( P(A\text{ and }B)=0 \) and the rule simplifies to \( P(A\text{ or }B)=P(A)+P(B) \).

Worked example 6.C — Addition rule with a standard deck
Problem. A card is drawn from a standard \( 52 \)-card deck. Find \( P(\text{King or Heart}) \).
▸ Show step-by-step solution

\( P(\text{King})=\tfrac{4}{52} \), \( P(\text{Heart})=\tfrac{13}{52} \), and \( P(\text{King and Heart})=\tfrac{1}{52} \) (the King of Hearts, counted in both). By Definition 6.5:

\[ P(\text{King or Heart})=\frac{4}{52}+\frac{13}{52}-\frac{1}{52}=\frac{16}{52}=\frac{4}{13}. \]

Quick reference

Order matters?
Yes → permutation \(P(n,r)\); No → combination \(\binom{n}{r}\)
Independent events
\( P(A\text{ and }B)=P(A)P(B) \)
Mutually exclusive
\( P(A\text{ and }B)=0,\ \ P(A\text{ or }B)=P(A)+P(B) \)
Venn diagram of overlapping probability events A and \(B\) illustrating \(P(A \cup B) = P(A) + P(B) - P(A \cap B)\).
⚠ Probability & Counting Traps
Independent vs Mutually Exclusive: Mutually exclusive events (which cannot happen together, \(P(A \cap B) = 0\)) are never independent if both have non-zero probability, because the occurrence of one prevents the other.

Double Counting in Addition Rule: For non-exclusive events, you must subtract the intersection: \(P(A \cup B) = P(A) + P(B) - P(A \cap B)\). Simply adding \(P(A) + P(B)\) double-counts shared outcomes.

Permutations vs Combinations: Ask 'Does order matter?' Order matters for titles, podium finishes, passwords, and assigned positions (permutations \(nPr\)); order does not matter for committees, hands of cards, and chosen groups (combinations \(nCr\)).
Worked Example \(D\) — Probability (Medium Application)
Problem. A survey was conducted on a group of 100 students regarding their preferences for two subjects, Mathematics (M) and Science (S). The results are summarized in the two-way table below, where some values are unknown. If a student is chosen at random from this group, the probability that the student prefers Mathematics but not Science, \( P(M \cap \neg S) \), is equal to the probability that the student prefers Science but not Mathematics, \( P(\neg M \cap S) \). What is the value of \( x \)?
▸ Show step-by-step solution

From the first row (Mathematics), the total number of students who prefer Mathematics is \( 45 \), so: \[ 25 + x = 45 \implies x = 20. \] Since \( P(M \cap \neg S) = P(\neg M \cap S) \), we also have \( y = x = 20 \), which matches the first column total \( 25 + 20 = 45 \) and the second row total \( 20 + 35 = 55 \).

Error Diagnosis — Common Student Traps vs. Exam-Board Method (Probability)
Common Student TrapWhy It Fails MathematicallyCorrect Exam-Board Method
Using \(P(A \cap B) = 0\) when told \(A\) and \(B\) are independentConfuses disjoint (mutually exclusive) events with statistically independent events.For independent events, multiply probabilities: \(P(A \cap B) = P(A)\cdot P(B)\).
Dividing by the grand total \(N\) when computing \(P(A \mid B)\) from a tableComputes the joint probability \(P(A \cap B)\) instead of conditioning on subset \(B\).Restrict the denominator strictly to the row/column total of the given condition \(B\).
Using permutations \({}^nP_r\) when selecting a committee with no distinct rolesOvercounts every group of size \(r\) by \(r!\) internal orderings.Divide by \(r!\) to use combinations: \(\binom{n}{r} = \frac{n!}{r!(n-r)!}\).
▲ Exam Pacing & Verification Strategy — Probability

Exam Strategy (Egyptian Scholastic Test (EST II — Math Level 2)): Whenever a probability problem involves "at least one" success across multiple trials, immediately use the Complement Rule: \(P(\text{at least one}) = 1 - P(\text{none})\). It turns a multi-case sum into a single calculation.

A committee of 4 people is to be selected from a group of 6 men and 5 women. What is the probability that the committee consists of exactly 2 men and 2 women?
💡 Hint 1 of 3
Find the total number of ways to choose 4 people from 11: \(\binom{11}{4} = \frac{11 \times 10 \times 9 \times 8}{4 \times 3 \times 2 \times 1}\).
💡 Hint 2 of 3
Find the number of ways to choose 2 men from 6 and 2 women from 5: \(\binom{6}{2} \times \binom{5}{2} = 15 \times 10\).
💡 Hint 3 of 3
Compute the probability: \(P = \frac{150}{330}\).
1. Find the total number of ways to choose 4 people from 11: \[ \binom{11}{4} = \frac{11 \times 10 \times 9 \times 8}{4 \times 3 \times 2 \times 1} = 330. \]
2. Find the number of ways to choose 2 men from 6 and 2 women from 5: \[ \binom{6}{2} \times \binom{5}{2} = 15 \times 10 = 150. \]
3. Compute the probability: \[ P = \frac{150}{330} = \frac{15}{33} = \frac{5}{11} \approx 0.4545. \]
[Practice 2 · Hard] A manufacturer produces light bulbs. The probability that a randomly selected light bulb is defective is \( p \). The production process is designed such that the probability of producing exactly \( k \) defective bulbs in a batch of \( n=5 \) bulbs follows the binomial probability formula: \( P(X=k) = \binom{n}{k} p^k (1-p)^{n-k} \). It is known that the probability of finding exactly 2 defective bulbs in a batch of 5 is \( \frac{10}{32} \). Find the value of \( p \).
💡 Hint 1 of 3
Let \( X \) be the number of defective bulbs in a batch of \( n=5 \). We are given that \( X \) follows a binomial distribution with parameters \( n=5 \) and probability of success (a bulb being defective) \( p \). The probability of exactly \( k \) defective bulbs is \( P(X=k) = \binom{n}{k} p^k (1-p)^{n-k} \).
💡 Hint 2 of 3
We need to find a value of \( p \) that satisfies this equation. Let's test the given options: If \( p = 0.2 \):.
💡 Hint 3 of 3
Thus, the value of \(p\) is \(0.5\).
Let \( X \) be the number of defective bulbs in a batch of \( n=5 \). We are given that \( X \) follows a binomial distribution with parameters \( n=5 \) and probability of success (a bulb being defective) \( p \). The probability of exactly \( k \) defective bulbs is \( P(X=k) = \binom{n}{k} p^k (1-p)^{n-k} \). We are given that the probability of finding exactly 2 defective bulbs in a batch of 5 is \( \frac{10}{32} \). Therefore, \( P(X=2) = \binom{5}{2} p^2 (1-p)^{5-2} = \frac{10}{32} \). First, calculate the binomial coefficient: \( \binom{5}{2} = \frac{5!}{2!(5-2)!} = \frac{5!}{2!3!} = \frac{5 \times 4}{2 \times 1} = 10 \). So, the equation becomes: \( 10 p^2 (1-p)^3 = \frac{10}{32} \). Divide both sides by 10: \( p^2 (1-p)^3 = \frac{1}{32} \). We need to find a value of \( p \) that satisfies this equation. Let's test the given options: If \( p = 0.2 \): \( (0.2)^2 (1-0.2)^3 = (0.04) (0.8)^3 = 0.04 \times 0.512 = 0.02048 \). \( \frac{1}{32} = 0.03125 \). This is not correct. If \( p = 0.5 \): \( (0.5)^2 (1-0.5)^3 = (0.25) (0.5)^3 = 0.25 \times 0.125 = 0.03125 \). \( \frac{1}{32} = 0.03125 \). This is correct. If \( p = 0.8 \): \( (0.8)^2 (1-0.8)^3 = (0.64) (0.2)^3 = 0.64 \times 0.008 = 0.00512 \). This is not correct. If \( p = 0.75 \): \( (0.75)^2 (1-0.75)^3 = (0.5625) (0.25)^3 = 0.5625 \times 0.015625 = 0.0087890625 \). This is not correct. Thus, the value of \( p \) is \( 0.5 \).
[Practice 3 · Easy] A bag contains 12 red marbles and 8 blue marbles. If one marble is drawn at random, what is the probability that the marble is red?
💡 Hint 1 of 3
The total number of marbles in the bag is the sum of red and blue marbles: \( 12 + 8 = 20 \) marbles.
💡 Hint 2 of 3
The number of favorable outcomes (drawing a red marble) is 12. The probability of an event is calculated as the ratio of the number of favorable outcomes to the total number of possible outcomes.
💡 Hint 3 of 3
Thus, the probability of drawing a red marble is \(\frac{3}{5}\).
The total number of marbles in the bag is the sum of red and blue marbles: \( 12 + 8 = 20 \) marbles. The number of favorable outcomes (drawing a red marble) is 12. The probability of an event is calculated as the ratio of the number of favorable outcomes to the total number of possible outcomes. Therefore, the probability of drawing a red marble is \( P(\text{red}) = \frac{\text{Number of red marbles}}{\text{Total number of marbles}} = \frac{12}{20} \). This fraction can be simplified by dividing both the numerator and the denominator by their greatest common divisor, which is 4: \( \frac{12 \div 4}{20 \div 4} = \frac{3}{5} \). Thus, the probability of drawing a red marble is \( \frac{3}{5} \).
[Practice 4 · Medium] A factory produces two types of components, A and B. Components of type A have a defect rate of \( 3\% \), and components of type B have a defect rate of \( 5\% \). A batch of 100 components is produced, consisting of \( N \) components of type A and \( 100-N \) components of type B. Let \( X \) be the random variable representing the total number of defective components in the batch. If the expected number of defective components is \( E[X] = 4.2 \), find the probability that a randomly selected component from this batch is defective, given that it is of type A.
💡 Hint 1 of 3
Let \( X_A \) be the number of defective components of type A, and \( X_B \) be the number of defective components of type B. The total number of defective components is \( X = X_A + X_B \).
💡 Hint 2 of 3
The expected number of defective components of type A is \( E[X_A] = N \times 0.03 \). The expected number of defective components of type B is \( E[X_B] = (100-N) \times 0.05 \).
💡 Hint 3 of 3
Probability (Defective | Type A) = Defect rate of Type A = \(0.03\).
Let \( X_A \) be the number of defective components of type A, and \( X_B \) be the number of defective components of type B. The total number of defective components is \( X = X_A + X_B \). The expected number of defective components of type A is \( E[X_A] = N \times 0.03 \). The expected number of defective components of type B is \( E[X_B] = (100-N) \times 0.05 \). The total expected number of defective components is \( E[X] = E[X_A] + E[X_B] \). We are given \( E[X] = 4.2 \). So, \( N \times 0.03 + (100-N) \times 0.05 = 4.2 \). \( 0.03N + 5 - 0.05N = 4.2 \). \( 5 - 0.02N = 4.2 \). \( 0.02N = 5 - 4.2 \). \( 0.02N = 0.8 \). \( N = \frac{0.8}{0.02} = 40 \). Therefore, there are 40 components of type A and \( 100 - 40 = 60 \) components of type B. The question asks for the probability that a randomly selected component from this batch is defective, given that it is of type A. This is simply the defect rate of type A components. Probability (Defective | Type A) = Defect rate of Type A = \( 0.03 \).
A bag contains 12 red marbles and 8 blue marbles. If one marble is drawn at random, what is the probability that the marble is red?
💡 Hint 1 of 3
The total number of marbles in the bag is the sum of red and blue marbles: \( 12 + 8 = 20 \) marbles.
💡 Hint 2 of 3
The number of favorable outcomes (drawing a red marble) is 12. The probability of an event is calculated as the ratio of the number of favorable outcomes to the total number of possible outcomes.
💡 Hint 3 of 3
Thus, the probability of drawing a red marble is \(\frac{3}{5}\).
The total number of marbles in the bag is the sum of red and blue marbles: \( 12 + 8 = 20 \) marbles. The number of favorable outcomes (drawing a red marble) is 12. The probability of an event is calculated as the ratio of the number of favorable outcomes to the total number of possible outcomes. Therefore, the probability of drawing a red marble is \( P(\text{red}) = \frac{\text{Number of red marbles}}{\text{Total number of marbles}} = \frac{12}{20} \). This fraction can be simplified by dividing both the numerator and the denominator by their greatest common divisor, which is 4: \( \frac{12 \div 4}{20 \div 4} = \frac{3}{5} \). Thus, the probability of drawing a red marble is \( \frac{3}{5} \).
📝 Chapter Quiz