Binomial Distribution Examples in Math

Start with the recap, study the fully worked examples, then use the practice problems to check your understanding of Binomial Distribution.

This page combines explanation, solved examples, and follow-up practice so you can move from recognition to confident problem-solving in Math.

Concept Recap

The probability distribution of the number of successes in nn independent yes/no trials, each with probability pp.

Flip a biased coin nn times—how many heads? The binomial distribution gives the probability of each count.

Read the full concept explanation →

How to Use These Examples

  • Read the first worked example with the solution open so the structure is clear.
  • Try the practice problems before revealing each solution.
  • Use the related concepts and background knowledge badges if you feel stuck.

What to Focus On

Core idea: The binomial distribution gives the probability of getting exactly kk successes in nn independent yes/no trials, each with the same chance pp.

Common stuck point: The procedure for binomial distribution is the easy part; the trap is applying it when trials aren't independent or pp changes. Asking "Are there a fixed number of independent trials, each success/failure with the same probability, and I want a count of successes?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Sense of Study hint: Ask: Are there a fixed number of independent trials, each success/failure with the same probability, and I want a count of successes?

Worked Examples

Example 1

medium
A fair coin is flipped 88 times. What is the probability of getting exactly 55 heads?

Answer

P(X=5)=7320.219P(X = 5) = \frac{7}{32} \approx 0.219

First step

1
Use the binomial formula: P(X=k)=(nk)pk(1p)nkP(X = k) = \binom{n}{k} p^k (1-p)^{n-k}, where n=8n = 8, k=5k = 5, p=0.5p = 0.5.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Unlock answer keys One Family plan — every worked solution, all subjects

Example 2

hard
A multiple-choice quiz has 1010 questions, each with 44 choices. If a student guesses randomly, what is the probability of getting at least 22 correct?

Example 3

medium
A pharmacy fills 12 prescriptions; each has a 5% error rate independently. Find P(no errors)P(\text{no errors}).

Example 4

medium
A vaccine is 92% effective. In a group of 25 vaccinated people exposed to the pathogen, find the probability that more than 24 (i.e., all 25) are protected.

Example 5

hard
In a town, 60% of registered voters favor candidate A. A random sample of 5 voters is polled. Find the probability that at least 4 favor A.

Practice Problems

Try these problems on your own first, then open the solution to compare your method.

Example 1

medium
A basketball player has a 70%70\% free-throw success rate. In 66 attempts, what is the probability of making exactly 44?

Example 2

medium
A student guesses on 77 true-or-false questions. What is the probability of getting at least 66 correct?

Example 3

easy
A fair coin is flipped 3 times. How many ways give exactly 2 heads? Use (32)\binom{3}{2}.

Example 4

easy
For n=4n=4, p=0.5p=0.5, write P(X=k)P(X=k) for a fair coin. Find P(X=4)P(X=4).

Example 5

easy
A binomial has n=10n=10, p=0.3p=0.3. What is the expected number of successes?

Example 6

easy
Identify whether 'number of heads in 5 flips' is binomial. State nn and pp.

Example 7

easy
P(X=0)P(X=0) for n=3n=3, p=0.2p=0.2. Compute.

Example 8

easy
A binomial coefficient (52)\binom{5}{2} equals what?

Example 9

easy
For n=6n=6, p=0.5p=0.5, is the distribution symmetric? Why?

Example 10

easy
P(X=1)P(X=1) for n=2n=2, p=0.5p=0.5. Compute.

Example 11

medium
A quiz has 5 true/false questions answered by guessing. P(exactly 3 correct)=?P(\text{exactly 3 correct})=?

Example 12

medium
n=4n=4, p=0.3p=0.3. Find P(X=2)P(X=2).

Example 13

medium
n=5n=5, p=0.2p=0.2. Find P(X1)P(X\ge 1).

Example 14

medium
n=8n=8, p=0.25p=0.25. Find the variance of the binomial.

Example 15

medium
A factory: 10% of items defective. In a box of 5, P(exactly 1 defective)=?P(\text{exactly 1 defective})=?

Example 16

medium
Why is drawing 3 cards (no replacement) and counting aces NOT binomial?

Example 17

medium
n=3n=3, p=0.5p=0.5. Find P(X1)P(X\le 1).

Example 18

medium
A binomial with n=20n=20, p=0.5p=0.5 has what mean and standard deviation?

Example 19

medium
n=7n=7, p=0.5p=0.5. Find P(X=7)P(X=7) (all successes).

Example 20

challenge
n=4n=4, p=0.5p=0.5. Find P(X=2X1)P(X=2 \mid X\ge 1).

Example 21

challenge
For what pp is the binomial variance np(1p)np(1-p) maximized, for fixed nn?

Example 22

challenge
A student needs 4\ge 4 correct of 5 (each p=0.8p=0.8) to pass. Find P(pass)P(\text{pass}).

Example 23

easy
For n=5n=5, p=0.4p=0.4, write the formula for P(X=2)P(X=2).

Example 24

easy
Compute P(X=2)P(X=2) for n=5n=5, p=0.4p=0.4.

Example 25

easy
For n=3n=3, p=0.5p=0.5, find P(X2)P(X\ge 2).

Example 26

medium
A free-throw shooter has p=0.6p=0.6. In n=10n=10 attempts, find E[X]E[X] and σX\sigma_X.

Example 27

medium
For n=6n=6, p=0.3p=0.3, find P(X1)P(X\le 1).

Example 28

medium
A multiple-choice test has 20 questions with 4 choices each, all guessed. Find E[X]E[X] and σX\sigma_X.

Example 29

medium
For n=5n=5, p=0.4p=0.4, find P(X=0)P(X=0).

Example 30

medium
For n=8n=8, p=0.5p=0.5, find the mode of XX.

Example 31

medium
For n=4n=4, p=0.5p=0.5, find P(X3)P(X\ge 3).

Example 32

medium
For n=5n=5, p=0.6p=0.6, find P(X=3)P(X=3).

Example 33

medium
Show: if XBin(n,p)X\sim \text{Bin}(n,p), then nXBin(n,1p)n-X\sim \text{Bin}(n,1-p).

Example 34

hard
For n=10n=10, p=0.2p=0.2, use the binomial pmf to compute P(X=3)P(X=3).

Example 35

hard
A factory ships boxes of 20 widgets, p=0.03p=0.03 defective per widget. Find P(at least one defective)P(\text{at least one defective}).

Example 36

hard
A test of n=20n=20 items must pass if defects are 1\le 1. Defect rate p=0.05p=0.05. Find P(pass)P(\text{pass}).

Example 37

hard
For XBin(n,p)X\sim \text{Bin}(n,p), derive E[X(X1)]E[X(X-1)].

Example 38

hard
For n=12n=12, p=0.25p=0.25, find P(X=3)P(X=3).

Example 39

challenge
What's the smallest nn for which a fair coin has P(X1)0.99P(X\ge 1)\ge 0.99? (XBin(n,0.5)X\sim\text{Bin}(n,0.5).)

Example 40

challenge
For n=100n=100, p=0.5p=0.5, use the normal approximation with continuity correction to estimate P(X55)P(X\ge 55).

Background Knowledge

These ideas may be useful before you work through the harder examples.

binomial coefficientprobabilityindependent events