The Atoms of Probability: Bernoulli Trials

Every complex system starts with a simple choice: Yes or No? In probability, this is a Bernoulli Trial. It's a single experiment with exactly two outcomes: Success (1) or Failure (0). We define pp as the probability of success.

EExample
Bernoulli Examples
  • A single coin flip (Heads = Success, p=0.5p=0.5).
  • A single customer deciding whether to buy a product (p=0.1p=0.1).
  • A single pixel in an image being "hot" or "dead" (p=0.0001p=0.0001).

Summary of Discrete Models

From this simple Bernoulli trial, we can build a vast array of discrete distributions depending on what we choose to measure and fix. Over the next few lessons, we'll dive deep into each of the core discrete distributions:

DistributionCore QuestionMean (E[X])Variance (Var(X))
BernoulliSingle trial success/failure?ppp(1p)p(1-p)
BinomialHow many successes in nn fixed trials?npnpnp(1p)np(1-p)
GeometricHow many trials until the 1st success?1/p1/p(1p)/p2(1-p)/p^2
HypergeometricSuccesses in nn trials (without replacement)?nKNn \frac{K}{N}nKNNKNNnN1n \frac{K}{N} \frac{N-K}{N} \frac{N-n}{N-1}
MultinomialCounts of kk distinct categories in nn trials?npinp_inpi(1pi)np_i(1-p_i)
PoissonHow many rare events in a fixed time/space?λ\lambdaλ\lambda

Let's begin by exploring the most fundamental extension of the Bernoulli trial: the Binomial Distribution.