Notation: probability of an event\(A\): \(\operatorname{P}(A)\)
If there are only finitely many possible outcomes, the probability of an event is the sum of the probabilities of all the outcomes of the event.
Disjoint / Mutually Exclusive Events
Two events or outcomes are called disjoint or mutually exclusive if they cannot both happen at the same time.
Addition Rule for Disjoint Events
If \(A\) and \(B\) represent two disjoint events, then the probability that either occurs is \[P(A \cup B) = P(A) + P(B), \]
The \(\cup\) symbol denotes the union of two events; i.e., \(P(A \text{ or } B)\).
If there are \(k\) disjoint events \(A_1,\dots,A_k\), then the probability that one of these outcomes will occur is \[P(A_1) + P(A_2) + \cdots + P(A_k)\]
General Addition Rule
Suppose that we are interested in the probability of drawing a diamond or a face card out of a standard 52-card deck.
Does \(P(\text{diamond or face card}) = 13/52 + 12/52\)?
General Addition Rule…
To correct the double counting of the three cards that are in both events, subtract the probability that both events occur… \[\begin{align*}
P(\text{diamond or face card}) =& P(\text{diamond}) + P(\text{face card}) - P(\text{diamond and face card}) \\
=& 13/52 + 12/52 - 3/52 \\
=& 22/52
\end{align*}\]
For any two events \(A\) and \(B\), the probability that either occurs is \[P(A \cup B) = P(A) + P(B) - P(A \cap B).\]
The \(\cap\) symbol denotes the intersection of two events; i.e., \(P(A \text{ and }B)\).
Complement of an Event
Let \(D = \{2, 3\}\) represent the event that the outcome of a die roll is 2 or 3.
The complement of \(D\) represents all outcomes in the sample space that are not in \(D\).
Complement of an Event…
The complement of an event \(A\) is denoted by \(A^C\).
An event and its complement are mathematically related:
\[P(A) + P(A^C) = 1 \qquad P(A) = 1 - P(A^C)\]
Independent Events
Two events \(A\) and \(B\) are independent if the occurrence or non-occurrence of \(A\) does not affect the probability of \(B\) and vice versa.
Two infants choosing a helper without communicating with each other
Tossing H on a coin and rolling 5 on a die
Rolling 5 on the first roll and then rolling an even number on the second roll.
Probability of independent events
If two events \(A\) and \(B\) are independent then the probability that both \(A\) and \(B\) occur equal the product of their separate probabilities.
\[P(A \cap B) = P(A)P(B) \]
Couple of experiments
I flip a coin. If it lands heads up, I roll a regular die. If it lands tails up, I roll a die with three 2s and there 6s.
I remove two tokens from a bag that contains 3 blue and 2 yellow tokens.
Conditional Probability: Intuition
Consider height in the US population.
What is the probability that a randomly selected individual in the population is taller than 6 feet, 4 inches?
Suppose you learn that the individual is a professional basketball player.
Does this change the probability that the individual is taller than 6 feet, 4 inches?
Conditional Probability: Concept
The conditional probability of an event \(A\), given a second event \(B\), is the probability of \(A\) happening, knowing that the event \(B\) has happened.
This conditional probability is denoted \(P(A|B)\).
Couple of experiments again
I flip a coin. If it lands heads up, I roll a regular die. If it lands tails up, I roll a die with three 2s and there 6s.
Find \(P(6|T)\)
I remove two tokens from a bag that contains 3 blue and 2 yellow tokens.
Toss a fair coin three times. Let \(A\) be the event that exactly two heads occur, and \(B\) the event that at least two heads occur.
\(P(A|B)\) is the probability of having exactly two heads among the outcomes that have at least two heads.
Conditioning on \(B\) means that the sample space consists of \(\{HHH, HHT, HTH, THH\}\), all possible sets of three tosses where at least two heads occurred.
In this set of outcomes, \(A\), consists of the last three, so \(P(A|B) = 3/4\).
Conditional Probability: Formula
As long as \(P(B) > 0\), \[P(A|B) = \dfrac{P(A \cap B)}{P(B)}. \]
\[\begin{align*}
P(A|B) =& \dfrac{P(\text{at least two heads and exactly two heads})}{P(\text{at least two heads})} \\
=& \dfrac{P(\text{exactly two heads})}{P(\text{at least two heads})} \\
=& \dfrac{(3/8)}{(4/8)} = 3/4
\end{align*}\]
Independence, Again…
A consequence of the formula for conditional probability:
If \(P(A|B) = P(A)\), then \(A\) and \(B\) are independent; knowing \(B\) offers no information about whether \(A\) occurred.
Couple of experiments one more time
I flip a coin. If it lands heads up, I roll a regular die. If it lands tails up, I roll a die with three 2s and there 6s.
Find \(P(T \text{ and } 6)\)
I remove two tokens from a bag that contains 3 blue and 2 yellow tokens.
Find \(P(\text{both tokens are yellow})\)
General Multiplication Rule
If \(A\) and \(B\) represent two outcomes or events, then \[P(A \cap B) = P(A|B)P(B).\]
This follows from rearranging the formula for conditional probability: \[P(A|B) = \frac{P(A \cap B)}{P(B)} \rightarrow P(A|B)P(B) = P(A \cap B)\]
Unlike the previously mentioned multiplication rule, this is valid for events that might not be independent.