Discord

INAIO Guide Stage 1 9Random Variables and Expected Value

9.4 Binomial probabilities

Recognize fixed independent success-or-failure trials and calculate exact or at-least binomial probabilities.

Repeated yes-or-no experiments occur in quizzes, reliability tests, and model predictions. The binomial distribution counts how many successes occur, provided the trial setup stays the same each time.

This is intermediate probability. Learn the conditions and examples in OpenStax's binomial-distribution lesson. Independent trials explain why we multiply their probabilities; combinations explain how many success orders have the same count.

A basic idea: count successes

A Bernoulli trial has two outcomes, success and failure, with success probability pp. Let XX count successes across nn trials. XX is binomial when nn is fixed, trials are independent, each trial has two outcomes, and the same pp applies each time.

Bars show the probabilities for zero through four successes in four independent trials with success probability one half; the two-success bar is tallest.Bars show the probabilities for zero through four successes in four independent trials with success probability one half; the two-success bar is tallest.
The combination factor gathers all orders with the same number of successes.

A quick tour of formulas

For k=0,1,…,nk=0,1,\ldots,n,

P(X=k)=(nk)pk(1−p)n−k.P(X=k)=\binom{n}{k}p^k(1-p)^{n-k}.

The factor (nk)\binom{n}{k} chooses which trials succeed. Each such sequence has probability pk(1−p)n−kp^k(1-p)^{n-k}. The mean count is E[X]=npE[X]=np. For at least one success, the complement gives P(X≥1)=1−(1−p)nP(X\ge1)=1-(1-p)^n. If trials change pp or affect each other, do not apply this formula automatically.

Application 1: exactly three correct answers

You guess independently on four true-or-false questions. What is the chance of exactly three correct answers?

  1. n=4n=4, p=1/2p=1/2, and k=3k=3.
  2. There are (43)=4\binom43=4 ways to place the one wrong answer.
  3. P(X=3)=4(1/2)3(1/2)1=1/4P(X=3)=4(1/2)^3(1/2)^1=1/4.

Application 2: at least two failures

Each of five independent parts fails with probability 0.10.1. What is the chance that at least two fail?

  1. Use the complement: “at least two” is the opposite of “zero or one.”
  2. P(X=0)=0.95=0.59049P(X=0)=0.9^5=0.59049 and P(X=1)=(51)(0.1)(0.9)4=0.32805P(X=1)=\binom51(0.1)(0.9)^4=0.32805.
  3. P(X≥2)=1−0.59049−0.32805=0.08146P(X\ge2)=1-0.59049-0.32805=0.08146.

The calculation assumes independent parts and the same failure chance for each. A shared power supply could violate independence.

Resources

SourceTitleWhy read it
OpenStaxBinomial distributionCheck the binomial conditions and practise the probability formula.

Finished this module? Mark it done.

Comments

Stuck on something, spotted a mistake, or found a resource that helped you? Tell us below.

Loading comments