8 Lecture 7, January 22, 2024
8.0.1 Some terminology about the set thoery.
8.0.1.1 Fundamental law of set algebra
Let \(A\) and \(B\) be any arbitrary sets/events.
- Commutative
\[ A\cup B = B\cup A \quad \text{ and } A\cap B = B\cap A. \]
- Associativity
\[ (A\cup B)\cup C = A \cup (B\cup C), \quad \text{and } (A\cap B)\cap C = A \cap (B \cap C). \]
- Distributive Law
\[ A\cup (B\cap C) = (A \cup B) \cap (A \cap C) , \quad \text{ and } A \cap (B\cup C) = (A\cap B) \cup (A\cap C) \]
8.0.1.2 DeMorgan’s Laws
\((A\cup B)^c = A^c \cap B^c\) (Complement of an union is the intersection of the complements)
\(A\cap B)^c = A^c \cup B^c\) (Complement of an intersection is the union of the complements)
8.0.1.3 Inclusion Exclusion Principle
\(P(A\cup B ) = P(A) + P(B) - P(A\cap B)\)
\(P(A\cup B \cup C) = P(A) + P(B) + P(C) - P(A\cap B) - P(A \cap C) - P(B \cap C) + P(A\cap B \ cap C)\)
Note that we can generalized the (2), and obtain the following by inducation. For arbitrary events \(A_1,A_2,\cdots,A_n,\quad n\ge 2\), \[\begin{align*} P(\bigcup_{i=1}^n A_i) & =\sum_{i}P(A_{i}% )-\sum_{i<j}P(A_{i}A_{j})+\sum_{i<j<k}P(A_{i}A_{j}A_{k})\\ & -\sum_{i<j<k<l}P(A_{i}A_{j}A_{k}A_{l})+\cdots \end{align*}\]
8.0.2 Independence
Definition 8.1 (independence) Any two events \(A\) and \(B\) are said to be independent if \[ P(A \cap B) = P(A)\times P(B). \]
Note: Intuitively, it means that two events do not have any influence of each other. You will see that how this concept plays an important role in statistics, in particular through something called the covariance, which is beyond this course so do not worry about this for now.
8.0.3 Independence v.s. Multually Exclusive/Disjoint
Recall the definition of mutually exclusive
Definition 8.2 (Mutually Exclusive) Any two events \(A\) and \(B\) are said to be mutually exclusive or disjoint if \[ P(A \cap B) = 0. \]
Note:
If \(A\) and \(B\) are mutually exclusive, \(A\) and \(B\) may NOT be independent!
\(A\) and \(B\) CAN only be mutually exclusive and independent when either \(A\), \(A\), or both are the empty set \(\emptyset\).
Lemma 8.1 Let two events \(A\) and \(B\) such that NOT both events are trivial events (empty set). If \(A\) and \(B\) are independent and mutually exclusive/disjoint, then either \(P(A) = 0\) or \(P(B) = 0\).