Counting is the foundation of probability. Understanding how many ways an event can happen is crucial before assigning probabilities.
"Words" = ordered combinations of symbols/letters (not necessarily actual words)
k can be made from an alphabet of n letters?n choices โ total = n ร n ร ... ร n = nแตCase 1: Using all k letters (alphabet of size k)
โ All k letters used once, total permutations = k!
Case 2: Using k letters from a larger alphabet of size n (k < n)
โ We select and arrange k letters from n
โ Total = n! / (n - k)!
(Ordered selections of k elements from n)
Unordered selections of size k from n elements
โ Total = C(n, k) = n! / (k! (n - k)!)
Key idea: Start with permutations, then divide by the number of ways to reorder k elements (i.e., k!)
Example: Choosing 3 students from a group of 5 โ C(5, 3) = 10
Probability quantifies how likely an event is to happen, assuming a well-defined sample space of equally likely outcomes.
If an outcome O can occur in f favorable ways out of n total possible outcomes:
P(O) = f / n
0 โค P(O) โค 1