Probability & Statistics · Unit 1 · Topic 01

Probability: count the cases, then divide.

Short answer

For equally likely outcomes, \(P(A) = \dfrac{n(A)}{n(S)}\). The conditional probability of \(A\) given \(B\) is

\[P(A \mid B) = \frac{P(A \cap B)}{P(B)}\]

For example, if two dice show a sum of 8, the chance that one of them is a 6 is \(\dfrac{2}{5}\).

Engineering MathsBScClass 12
01

Sample space, events and classical probability

Before you start: you need basic counting, especially \(^nC_r\). The lesson on permutations and combinations covers it.

An experiment is anything with an uncertain result: tossing a coin, rolling a die, drawing a card. The sample space \(S\) is the list of every possible outcome. An event is any collection of outcomes you care about, so it is a subset of \(S\).

Roll one die and \(S = \{1, 2, 3, 4, 5, 6\}\). The event "an even number" is \(A = \{2, 4, 6\}\).

Classical probability

If all outcomes in \(S\) are equally likely, \[P(A) = \frac{n(A)}{n(S)} = \frac{\text{outcomes in } A}{\text{total outcomes}}\]

Basic facts

\(0 \le P(A) \le 1\), \(\;P(S) = 1\), \(\;P(\varnothing) = 0\), \(\;P(A') = 1 - P(A)\)

The words "equally likely" matter. A fair die and a well-shuffled deck give equally likely outcomes. A loaded die does not, and then this formula is wrong. In every question on this page, coins and dice are fair and cards come from a standard, well-shuffled 52-card deck.

ExperimentSize of sample space
One coin tossed \(n\) times\(2^n\)
One die\(6\)
Two dice (ordered pairs)\(36\)
One card from a deck\(52\): 4 suits of 13; 26 red, 26 black; 12 face cards (J, Q, K); 4 aces
\(r\) items chosen from \(n\)\(^nC_r\)
02

The rules: addition, conditional, multiplication

Addition rule

\[P(A \cup B) = P(A) + P(B) - P(A \cap B)\]

If \(A\) and \(B\) are mutually exclusive (they cannot happen together), \(P(A \cap B) = 0\) and the last term drops.

Conditional probability

The probability of \(A\) given that \(B\) has happened: \[P(A \mid B) = \frac{P(A \cap B)}{P(B)}, \qquad P(B) > 0\]

Multiplication rule

\[P(A \cap B) = P(A)\,P(B \mid A) = P(B)\,P(A \mid B)\]

Independent events

\(A\) and \(B\) are independent if \(P(A \cap B) = P(A)\,P(B)\), which is the same as \(P(A \mid B) = P(A)\).

Why subtract \(P(A \cap B)\)? Outcomes in both \(A\) and \(B\) get counted once in \(P(A)\) and again in \(P(B)\). Subtracting once fixes the double count.

Conditional probability is easiest to see as a smaller sample space. Once you know \(B\) happened, \(B\) is the new \(S\). Count the outcomes of \(A\) that sit inside \(B\), and divide by the size of \(B\).

  1. Write down \(S\) and check the outcomes are equally likely.
  2. Name the events in symbols: \(A\), \(B\), \(A \cap B\).
  3. Look for the word that picks the rule: "or" means addition, "and" means multiplication, "given" or "if it is known that" means conditional.
  4. For "at least one", use the complement: \(1 - P(\text{none})\).
03

Solved examples

Example 1: Two dice

Easy

Two dice are rolled. Find the probability that the sum is 8.

  1. \(n(S) = 36\) ordered pairs, all equally likely.
  2. Sum 8: \((2, 6), (3, 5), (4, 4), (5, 3), (6, 2)\). That is 5 outcomes.
  3. \(P = \dfrac{5}{36}\).

Answer\(\dfrac{5}{36}\)

Example 2: King or heart

Easy

One card is drawn from a standard 52-card deck. Find the probability that it is a king or a heart.

  1. \(P(K) = \dfrac{4}{52}\), \(P(H) = \dfrac{13}{52}\), and \(P(K \cap H) = \dfrac{1}{52}\) (the king of hearts).
  2. Addition rule: \(P(K \cup H) = \dfrac{4 + 13 - 1}{52} = \dfrac{16}{52}\).

Answer\(\dfrac{4}{13}\)

Example 3: Balls without replacement

Easy

A bag has 5 red and 3 blue balls. Two balls are drawn one after the other without replacement. Find the probability that both are red.

  1. \(P(\text{1st red}) = \dfrac{5}{8}\). Now 4 red remain out of 7, so \(P(\text{2nd red} \mid \text{1st red}) = \dfrac{4}{7}\).
  2. Multiplication rule: \(\dfrac{5}{8}\cdot\dfrac{4}{7} = \dfrac{20}{56}\).
  3. Check by counting: \(\dfrac{^5C_2}{^8C_2} = \dfrac{10}{28}\). Same answer.

Answer\(\dfrac{5}{14}\)

Example 4: A conditional question with dice

Medium

Two dice are rolled and the sum is known to be 8. Find the probability that at least one die shows a 6.

  1. The condition shrinks the sample space to the 5 outcomes from Example 1.
  2. Of these, \((2, 6)\) and \((6, 2)\) contain a 6.
  3. Using the formula instead: \(P(A \mid B) = \dfrac{2/36}{5/36}\).

Answer\(\dfrac{2}{5}\)

Example 5: Using the rules together

Medium

\(P(A) = 0.5\), \(P(B) = 0.4\) and \(P(A \cap B) = 0.2\). Find \(P(A \cup B)\), \(P(A \mid B)\) and the probability that neither happens. Are \(A\) and \(B\) independent?

  1. \(P(A \cup B) = 0.5 + 0.4 - 0.2 = 0.7\).
  2. \(P(A \mid B) = \dfrac{0.2}{0.4} = 0.5\).
  3. Neither: \(P(A' \cap B') = 1 - P(A \cup B) = 0.3\).
  4. \(P(A)P(B) = 0.5 \times 0.4 = 0.2 = P(A \cap B)\), so they are independent. Notice \(P(A \mid B) = P(A)\) too.

Answer\(0.7\), \(0.5\), \(0.3\); independent

Example 6: At least one hit

Medium

A hits a target with probability \(\tfrac{1}{3}\) and B with probability \(\tfrac{1}{4}\), independently. Both fire once. Find the probability that the target is hit.

  1. "Hit" means at least one of them hits. Use the complement.
  2. \(P(\text{both miss}) = \dfrac{2}{3}\cdot\dfrac{3}{4} = \dfrac{1}{2}\), multiplying because the shots are independent.
  3. \(P(\text{hit}) = 1 - \dfrac{1}{2}\).

Answer\(\dfrac{1}{2}\)

Example 7: Two cards

Exam level

Two cards are drawn without replacement from a standard deck. Find the probability that (a) both are aces, (b) one is an ace and the other a king.

  1. (a) \(P = \dfrac{4}{52}\cdot\dfrac{3}{51} = \dfrac{12}{2652} = \dfrac{1}{221}\).
  2. (b) Count unordered pairs: \(n(S) = {}^{52}C_2 = 1326\). Choose 1 ace from 4 and 1 king from 4: \(4 \times 4 = 16\) pairs.
  3. So \(P = \dfrac{16}{1326} = \dfrac{8}{663}\). In ordered form, \(2\cdot\dfrac{4}{52}\cdot\dfrac{4}{51}\) gives the same value, the 2 covering "ace first" and "king first".

Answer(a) \(\dfrac{1}{221}\), (b) \(\dfrac{8}{663}\)

Example 8: Testing independence

Exam level

Three coins are tossed. Let \(A\) = at least two heads, \(B\) = the first coin shows a head. Find \(P(A \mid B)\) and decide whether \(A\) and \(B\) are independent.

  1. \(S\) has 8 outcomes. \(A = \{HHH, HHT, HTH, THH\}\), so \(P(A) = \dfrac{4}{8} = \dfrac{1}{2}\). \(P(B) = \dfrac{1}{2}\).
  2. \(A \cap B = \{HHH, HHT, HTH\}\), so \(P(A \cap B) = \dfrac{3}{8}\).
  3. \(P(A \mid B) = \dfrac{3/8}{1/2} = \dfrac{3}{4}\).
  4. \(P(A)P(B) = \dfrac{1}{4} \ne \dfrac{3}{8}\). Knowing the first coin is a head makes "at least two heads" more likely, so the events are dependent.

Answer\(P(A \mid B) = \dfrac{3}{4}\); not independent

Vipul Sir's tip

Before any formula, I ask students to say the question back in plain words: "out of the cases where the sum is 8, how many have a 6?" Once you can say it like that, the conditional probability is just a count, and you will rarely put the wrong event in the denominator.

04

Common mistakes

1. Mixing up mutually exclusive and independent

Mutually exclusive means \(P(A \cap B) = 0\). Independent means \(P(A \cap B) = P(A)P(B)\). Two events with non-zero probabilities cannot be both: if \(A\) happens, a mutually exclusive \(B\) becomes impossible, which is the opposite of independent.

2. Treating \(P(A \mid B)\) and \(P(B \mid A)\) as the same

In Example 4, \(P(\text{a 6} \mid \text{sum } 8) = \dfrac{2}{5}\), but \(P(\text{sum } 8 \mid \text{a 6}) = \dfrac{2}{11}\), since 11 of the 36 outcomes contain a 6. The denominator is always the event you are told has happened.

3. Keeping the old denominator after drawing without replacement

Wrong: \(P(\text{two aces}) = \dfrac{4}{52}\cdot\dfrac{4}{52}\). Right: \(\dfrac{4}{52}\cdot\dfrac{3}{51}\). After the first ace is gone, only 3 aces and 51 cards remain.

05

Practice questions

Try each one on paper before you open the answer.

Q1A die is rolled. Find the probability of a prime number.

Primes on a die: 2, 3, 5. \(P = \dfrac{3}{6} = \dfrac{1}{2}\).

Q2One card is drawn from a standard deck. Find the probability that it is a face card.

There are 12 face cards (J, Q, K in each of 4 suits). \(P = \dfrac{12}{52} = \dfrac{3}{13}\).

Q3Two dice are rolled. Find the probability of a doublet (both dice the same).

6 doublets out of 36: \(P = \dfrac{1}{6}\).

Q4\(A\) and \(B\) are independent with \(P(A) = 0.6\) and \(P(B) = 0.3\). Find \(P(A \cup B)\).

\(P(A \cap B) = 0.18\). \(P(A \cup B) = 0.6 + 0.3 - 0.18 = 0.72\).

Q5A bag has 4 white and 6 black balls. Two are drawn without replacement. Find the probability of one white and one black.

\(\dfrac{4 \times 6}{^{10}C_2} = \dfrac{24}{45} = \dfrac{8}{15}\).

Q6A family has two children. Given that at least one is a boy, find the probability that both are boys. (Assume each child is equally likely to be a boy or a girl, independently.)

\(S = \{BB, BG, GB, GG\}\). The condition leaves \(\{BB, BG, GB\}\). Only \(BB\) works, so \(P = \dfrac{1}{3}\), not \(\dfrac{1}{2}\).

Stuck on a question?

Bring it to a free demo class and work through it with Vipul Sir. Book on WhatsApp.

06

Frequently asked questions

What is conditional probability?

The probability of an event when you already know another event has happened. It is written \(P(A \mid B)\) and equals \(\dfrac{P(A \cap B)}{P(B)}\).

What is the difference between mutually exclusive and independent events?

Mutually exclusive events cannot happen together, so \(P(A \cap B) = 0\). Independent events do not affect each other, so \(P(A \cap B) = P(A)P(B)\).

What is the addition rule of probability?

\(P(A \cup B) = P(A) + P(B) - P(A \cap B)\). You subtract the overlap because it was counted twice.

How many face cards are in a deck of 52 cards?

12: the jack, queen and king of each of the 4 suits. Aces are not face cards.

Related lessons

← All 10 Probability & Statistics topics
Vipul Sir
Written by Vipul Sir

Vipul Sir has taught mathematics for over 15 years to HSC, CBSE, ICSE, IGCSE/IB, Diploma, Engineering and BSc students at VVS Classes in Goregaon and Vile Parle, Mumbai. He teaches every class himself, concepts first and exam technique second.

Probability and Statistics

Get Probability & Statistics right, with Vipul Sir beside you.

Concept-first classes in small batches in Goregaon and Vile Parle, or online. Your first class is free.

WhatsApp↗