🎲
Probability: complete lesson (sample space, events, conditional, independence)
Sample space, events, computing probability, conditional, independence, weighted tree. The full high-school lesson.
Prerequisites :
- Fractions
- Percentages
Basic vocabulary
- Random experiment: an experiment whose outcome cannot be predicted.
- Sample space : set of all possible outcomes.
- Event: subset of .
- Elementary event: (a single outcome).
Probability: 3 axioms
A probability satisfies:
- for any event .
- .
- If and are incompatible (): .
Equally likely outcomes (uniform)
If all outcomes are equally likely:
Key formulas
- Complement: .
- Union: .
Conditional probability
“Probability of given ”. Careful: in general.
Independent events
and are independent iff:
Equivalently: (if ).
Tree diagram
On a weighted tree:
- The sum of probabilities leaving a node equals 1.
- The probability of a path = product of branch probabilities.
- The probability of an event = sum of path probabilities leading to it.
Law of total probability
If form a partition of (all incompatible, union = ):
Bayes’ formula
Lets you reverse the conditional. Often used with the law of total probability.
Random variable
A random variable maps each outcome in to a number.
- Distribution of : list of pairs .
- Expectation: .
- Variance: .
- Standard deviation: .
Common mistakes
- Confusing and .
- Summing for union without subtracting .
- Confusing independent with incompatible (different notions).
- Forgetting branch sums at a tree node equal 1.
#probability#sample space#conditional#independence#tree diagram#grade 12#lesson
