6.1 Sets and Venn diagrams
Probability measures how likely something is to happen; it cannot say exactly what will happen. (With 7 of 700 raffle tickets your chance of the first prize is 7/700 = 1/100.)
## Sets
A **set** is a well-defined collection of distinct objects (its **elements**). \(A=\{1,2,3,4,5\}\); \(3\in A\) ("belongs to"), \(6\notin A\).
- **Null (empty) set** \(\{\ \}\) or \(\phi\): no elements. **Singleton (unit) set:** one element.
- **Subset** \(A\subseteq B\): every element of \(A\) is in \(B\). **Proper subset** \(A\subset B\): \(B\) has at least one extra element.
- **Finite / infinite** sets; **universal set** \(U\) (or \(S\)) contains all elements under consideration.
- **Disjoint sets:** no common element, \(A\cap B=\phi\). **Overlapping sets:** some common elements, neither a subset of the other.
- A set with \(n\) elements has \(2^n\) subsets; the set of all subsets is the **power set**.
## Operations (shown by Venn diagrams: \(U\) a rectangle, sets as circles)
- **Union** \(A\cup B\): elements in \(A\) or \(B\) or both.
- **Intersection** \(A\cap B\): elements in both.
- **Difference** \(A-B\): elements of \(A\) not in \(B\).
- **Complement** \(\bar A=A'=U-A\).
- **Cartesian product** \(A\times B=\{(a,b):a\in A,\ b\in B\}\) (ordered pairs).
> **Example 6.1** \(S=\{1,\dots,10\}\), \(A=\{1,2,3,4\}\), \(B=\{2,4,6,8\}\), \(C=\{1,3,5,7\}\): \(A\cup B=\{1,2,3,4,6,8\}\), \(A\cap C=\{1,3\}\), \(C\cap B=\phi\), \(\bar C=\{2,4,6,8,9,10\}\).