This document provides an introduction to discrete probability and some key concepts:
- Probability distributions assign probabilities to outcomes in a finite sample space. The probabilities of all outcomes must sum to 1.
- Events are subsets of the sample space, and their probability is the sum of the probabilities of the outcomes they contain.
- Random variables are functions that map outcomes to random outcomes in another set. They induce a probability distribution on the range.
- Independence means the joint probability of two events or random variables is the product of their individual probabilities.
- The XOR of two strings performs bitwise addition modulo 2. XORing a value with a random string yields a random result.
- The birthday paradox shows that the