Skip to content

The binomial distribution

Check the conditions for a binomial random variable and use the binomial formula and BINOM.DIST to find probabilities, the mean and the standard deviation for the number of defective parts in a sample.

It opens on

An inspector tests 10 parts from a process that is 5% defective. Is the chance of finding at least one defective part about 5%, about 40% or about 90%?

Why it matters

Counting how many items in a sample are defective, returned or late is the commonest quality question in business, and the binomial distribution gives the chance of each count.

Good to know first

  • complement

Step by step

  1. The conditions and the formula

    Decide whether a count is binomial and compute P(X = x) from the formula.

    For no defective parts, C(10, 0) = 1, so P(0) = 1 × 0.05⁰ × 0.95¹⁰ = 0.5987. All ten parts must be good, each with chance 0.95.

    P(0) = 0.95¹⁰ = 0.5987

    A common mix-up

    The chance of at least one defective is 10 × 0.05 = 0.50.

    In fact: The events can overlap, so we use the complement, 1 − 0.95¹⁰ = 0.4013.

  2. The distribution and BINOM.DIST

    Read the whole binomial distribution and use BINOM.DIST for exact and cumulative probabilities.

    For x = 2, C(10, 2) = 45, so P(2) = 45 × 0.05² × 0.95⁸ = 45 × 0.0025 × 0.6634 = 0.0746.

    P(2) = 45 × 0.0025 × 0.6634 = 0.0746

    A common mix-up

    BINOM.DIST with TRUE gives the probability of exactly x.

    In fact: TRUE gives the cumulative probability of x or fewer, and FALSE gives exactly x.

  3. Mean and standard deviation

    Compute μ = np and σ = √(np(1 − p)) and use them to describe a binomial count.

    For 10 parts with p = 0.05, μ = 10 × 0.05 = 0.5 defective parts per sample.

    μ = 10 × 0.05 = 0.5

    A common mix-up

    The standard deviation of a binomial count is np(1 − p).

    In fact: That is the variance; the standard deviation is its square root.

Try it

A shop's orders are late with probability 0.10. In 5 orders, find the probability that none is late.Answer

0.9⁵ = 0.5905

Hint: Every order must be on time

In 8 orders, each returned with probability 0.30, P(X = 3) = 0.2541 and P(X ≤ 3) = 0.8059. Find P(X ≥ 4).Answer

1 − 0.8059 = 0.1941

Hint: The complement of 3 or fewer

50 customers each buy with probability 0.20. Find the mean and standard deviation of the number who buy.Answer

μ = 10 and σ = √8 = 2.83 (hint: np, then √(np(1 − p)))

A rep takes calls until the first complaint arrives and counts the calls. Could that count come from a binomial with fixed n?Answer

No, since the number of trials is not fixed in advance

Excel shows P(X ≤ 2) = 0.9885. What is the probability of 3 or more defective parts?Answer

1 − 0.9885 = 0.0115

The binomial distribution

30 minutes every month. No card.