The Bernoulli and Binomial Distributions
Repeated independent trials with just two outcomes — success (probability ) and failure (probability ) — are the seed from which two fundamental discrete distributions grow. The Bernoulli distribution (Definition 12.7) records a single such trial: a random variable with and , written . Run the trial independent times and you obtain independent Bernoulli variables ; their sum counts the successes, and its distribution is the Binomial (Definition 12.8): for , written . The binomial coefficient counts the arrangements of successes among the trials, each arrangement carrying probability , and the binomial theorem guarantees these probabilities sum to . We close with Example 12.9: the chance that five rolls of a fair die yield two or three sixes, with , equal to .
Before you start — give these a try
Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.
Let (for example, the number of heads in six tosses of a fair coin). Find . Give your answer as a decimal to places.
A spinner lands on red with probability on each independent spin. In spins, let be the number of reds. Find , the probability of at least one red. Give your answer as a decimal to places.
What you’ll be able to do
- State Definition 12.7: a random variable is Bernoulli with parameter (where ) if with and , written , and recognise a single success/failure trial as the setting it models.
- Explain how independent repeated trials give rise to independent Bernoulli variables , and compute the probability of any specific outcome string having exactly successes.
- State Definition 12.8: the Binomial distribution has for , and derive it by counting the arrangements of successes among trials.
- Compute binomial probabilities , cumulative probabilities , and tail probabilities (often via the complement ), and reproduce Example 12.9 (two or three sixes in five rolls of a fair die, ).
- Decide whether a described experiment is a binomial setup — a fixed number of trials, independent of one another, each with the same success probability and only two outcomes — and identify the parameters and .
In your course
· MATH2015 · Linear Algebra & Probability- Definition 12.7Bernoulli distributionFor , takes values in with and .
- Definition 12.8Binomial distributionFor a positive integer and , has for .
- Example 12.9Two or three sixes in five rolls of a fair dieFor , .
Repeated trials with binary outcomes
The simplest experiments involving independence are repeated trials, each with just two outcomes: success (probability ) and failure (probability ). We encode success as and failure as . Repeating the trial times, an outcome is a binary string with each , so the sample space is , of size . Crucially we assume the trials are independent, which makes the probability of a whole string multiply across the individual trials: an outcome with some 's and the rest 's has probability For instance, the specific string over six trials — two successes and four failures — has probability . Notice this depends only on how many successes occurred, not on where they fell: every string with the same number of 's is equally likely. That single fact is the engine behind everything that follows.
The Bernoulli distribution (Definition 12.7)
A single trial with two outcomes is modelled by the Bernoulli distribution. For a parameter , a random variable is Bernoulli with success probability if it takes only the values with and we write . Here is the indicator of success: when the trial succeeds and when it fails. A fair coin's heads/tails is ; rolling a six on a fair die is . The Bernoulli distribution is the atom of the theory: a sequence of independent trials gives rise to independent Bernoulli random variables , all sharing the same parameter . By independence, a joint outcome such as — exactly the product structure of the previous concept.
Counting successes: from Bernoulli to Binomial
Given independent Bernoulli trials , the natural question is how many succeeded. Define which counts the number of 's (successes) in the sample. To find , note that each particular string with exactly successes has probability (the product rule from independence). How many such strings are there? Choosing which of the positions are the successes is a combination, so there are of them. Since these strings are disjoint events of equal probability, we add them: The two ingredients are worth separating: is the probability of one way to get successes, while counts how many ways there are. Their product is the binomial probability.
The Binomial distribution (Definition 12.8)
The distribution of is the Binomial. For a positive integer and , a random variable has the binomial distribution with parameters and if and we write . The two parameters carry plain meanings: is the number of trials and is the per-trial success probability. These values form a genuine distribution because they sum to — directly by the binomial theorem, A Bernoulli variable is just the special case : . To compute a cumulative probability you sum the individual terms from to ; for the tail the complement is almost always quicker.
Let . A random variable has the Bernoulli distribution with success probability if and , . We write .
Let be a positive integer and . A random variable has the binomial distribution with parameters and if We write .
If are independent Bernoulli variables with common parameter , then their sum counts the successes and has . There are outcome strings with exactly successes, each of probability .
The binomial probabilities sum to one:
Worked examples
Bernoulli trials and a specific sequence. A biased coin lands heads (a success, ) with probability on each independent toss. (a) Write down and for a single toss. (b) The coin is tossed six times; find the probability of the exact sequence tails, heads, tails, tails, heads, tails — that is, .
- 1
(a) The single Bernoulli trial. By Definition 12.7, , so and .
- 2
(b) Identify successes and failures. The sequence has two 's (successes) and four 's (failures).
- 3
Use independence to multiply. The six tosses are independent Bernoulli trials, so the joint probability is the product of the per-toss probabilities:
- 4
Substitute .
Example 12.9. What is the probability that five rolls of a fair die yield two or three sixes?
A tail probability by complement. Items coming off a production line are defective independently with probability . In a sample of items, let be the number of defectives, so . Find , the probability of at least one defective.