v1 · padrão canônico
Lesson 39 — Basic Discrete Probability
Sample space, events, Kolmogorov axioms. Classical probability: favorable cases over possible. Conditional probability, Bayes.
Used in: 1.º ano do EM (15–16 anos) · Equiv. Math B japonês · Equiv. Stochastik Klasse 11 alemã · Equiv. H2 Math Statistics (Singapura)
Choose your door
Rigorous notation, full derivation, hypotheses
Axioms and formulas
Sample space
: set of all possible outcomes of the experiment. Event: subset of .
Kolmogorov axioms (1933)
- for every event .
- .
- -additivity: if disjoint: .
Classical probability (equiprobable space)
Immediate properties
- .
- .
- (inclusion-exclusion).
- .
- .
Conditional probability
Independence
and are independent if (equivalent: ).
Bayes' theorem
Total probability
If partition of :
Discrete random variable
. Distribution: with .
| Distribution | Formula | Appearance |
|---|---|---|
| Bernoulli | 1 trial | |
| Binomial | trials | |
| Geometric | waiting time | |
| Poisson | rare events |
Expectation and variance
Exercise list
46 exercises · 11 with worked solution (25%)
Application 34Understanding 2Modeling 8Challenge 1Proof 1
- Ex. 39.1ApplicationToss a coin. . (Ans: .)
- Ex. 39.2ApplicationRoll a die. . (Ans: .)
- Ex. 39.3ApplicationRoll a die. . (Ans: .)
- Ex. 39.4ApplicationToss 2 coins. . (Ans: .)
- Ex. 39.5ApplicationRoll 2 dice. . (Ans: .)
- Ex. 39.6ApplicationRoll 2 dice. . (Ans: .)
- Ex. 39.7ApplicationDraw 1 card from a deck. . (Ans: .)
- Ex. 39.8ApplicationDraw 1 card. . (Ans: .)
- Ex. 39.9ApplicationDraw 2 cards without replacement. . (Ans: .)
- Ex. 39.10ApplicationDraw 1 card. . (Ans: .)
- Ex. 39.11Application, , . ? (Ans: .)
- Ex. 39.12Applicationif . (Ans: .)
- Ex. 39.13ApplicationShow .
- Ex. 39.14Application, . ? (Ans: .)
- Ex. 39.15ApplicationAnswer key, , independent. ? (Ans: .)
- Ex. 39.16ApplicationRoll a die twice. . (Ans: .)
- Ex. 39.17ApplicationAnswer keyMega-Sena: . (Ans: .)
- Ex. 39.18ApplicationQuina: .
- Ex. 39.19ApplicationBinomial: . ? (Ans: .)
- Ex. 39.20ApplicationAnswer key. ? (Ans: .)
- Ex. 39.21ApplicationAnswer key. ? (Ans: .)
- Ex. 39.22ApplicationAnswer keyIn the exercise above, are and independent? (Ans: yes, .)
- Ex. 39.23Application2 dice. . (Ans: .)
- Ex. 39.24ApplicationAnswer keyBox with 3 white and 7 black. Draw 2 without replacement. . (Ans: .)
- Ex. 39.25Applicationin the same problem. (Ans: .)
- Ex. 39.26Application. (Ans: .)
- Ex. 39.27ApplicationAnswer key3 coins. . (Ans: .)
- Ex. 39.28Application. . (Ans: .)
- Ex. 39.29ApplicationApply Bayes: . ? (Ans: .)
- Ex. 39.30ApplicationAnswer keyTotal probability: , . ? (Ans: .)
- Ex. 39.31ApplicationRoll 2 dice. . (Ans: .)
- Ex. 39.32ApplicationIn a class, are girls, boys. It's known that of girls and of boys passed. A student passed: ?
- Ex. 39.33Application. and . (Ans: .)
- Ex. 39.34ApplicationExpectation of rolling 1 die. (Ans: .)
- Ex. 39.35ModelingAnswer keyA/B testing: see version B. Probability of 3 friends seeing B (independent)? (Ans: .)
- Ex. 39.36ModelingRare disease: . Test: sensitivity , specificity . ?
- Ex. 39.37ModelingAnswer keyQuality control, defect rate . . (Ans: .)
- Ex. 39.38ModelingIn a spam filter, via Bayes — model.
- Ex. 39.39ModelingIn a card game, probability of two pairs (5 cards). Compute via combinatorics.
- Ex. 39.40ModelingBirthday: 23 people, . Compute explicitly.
- Ex. 39.41ModelingIn a computer network, probability of end-to-end connection in series of 5 links, each with reliability.
- Ex. 39.42ModelingAnswer keyIn an ML classifier, false positive , false negative , prevalence . .
- Ex. 39.43UnderstandingShow via Kolmogorov.
- Ex. 39.44UnderstandingShow that if and are independent, then and are also independent.
- Ex. 39.45ChallengeMonty Hall: 3 doors, 1 has the prize. You pick one; the host opens one of the other two without prize. Do you switch? What's the probability of winning by switching? (Ans: .)
- Ex. 39.46ProofProve Bayes' theorem from the definition of conditional probability.
Sources
- OpenIntro Statistics — Diez, Çetinkaya-Rundel, Barr · 2019, 4th ed · EN · CC-BY-SA · ch. 3: probability. Primary source.
- Introduction to Probability — Blitzstein, Hwang · 2019, 2nd ed · EN · free (authors) · ch. 1-2: counting and Bayes.
- Introductory Statistics — Illowsky, Dean (OpenStax) · 2022, 2nd ed · EN · CC-BY-NC-SA · ch. 3.