sample space: Ω, set of all possible outcomes, or sample points ω
event: a subset of the sample space
Probability is an assignment of a number to each sample point such that
0≤Pr[ω]≤1
∑ω∈ΩPr[ω]=1
Since sample points are disjoint, the probability of an event A occurring is the sum of the probabilities of A’s sample points
If all sample points have equal probability of occurring, then Pr[ω]=∣Ω∣1
Then the probability of an event A occurring is Pr[A]=∑ω∈APr[ω]=∣Ω∣∣A∣
This is just a counting problem: find ∣A∣ and ∣Ω∣
The probability of a sequence of independent events(independence next time) A1,A2,⋯,An is the product of the probabilities of the individual events
Sometimes it is easier consider the complement of a certain event
∣A¯∣+∣A∣=∣Ω∣
Pr[A¯]+Pr[A]=1
This generalizes to any partitioning of Ω: a list of subsets that are disjoint and for which their union is Ω
Probability