Math — Mechina
Probability
Summary
A probability is a number between and . When all outcomes are equally likely — count: favourable cases over all cases (combinatorics helps here). In stages — a tree: multiply along a branch, add between branches.
Symbols in the formulas
- The sample space — all possible outcomes
- The complementary event: did not happen
- Both and
- or (or both)
- The probability of given that happened
- In Bernoulli’s formula: the number of trials, the number of successes, the success probability in one trial
Where it comes from: in Bernoulli’s formula each particular order of successes and failures has probability , and there are such orders. When adding events subtract the intersection, because it was counted twice.
- “At least one” — almost always through the complement: .
- Independent events: .
- Without replacement the denominator shrinks at each stage: .
- Expected value: — the long-run average.
Question types
Probability trees and conditional probability
An experiment in stages: choose an urn and then a ball, shoot until a hit, a test with mistakes.
Worked example
An urn is chosen at random: urn A has white out of , urn B white out of . What is the probability of a white ball, and if it is white — what is the chance it came from urn A?
Solution
- Branch A–white: .
- Branch B–white: .
- Add: .
- Conditional: .
- Compute: .
Repeated trials (Bernoulli)
The same experiment times with the same success probability; the question is about the number of successes.
Worked example
The probability of a hit is , shots. What is the probability of at least one hit?
Solution
- No hit: .
- Compute: .
- The complement: .
- Compute: .
Variants of this type · 1
2.1Exactly successes
Worked example
A coin times: exactly heads?
Solution
- .
Practice · 20
Test yourself with problems and full solutions.