Solved Exercises on Binomial Probability Distributions

Master binomial probability distributions: calculating, interpreting, and applying properties through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Coin Toss Binomial Distribution
Exercise 1
A fair coin is flipped 5 times. Let X be the number of heads obtained. Find the probability of getting exactly 3 heads, the expected number of heads, and the variance of X.
Definition:

Binomial Distribution: Models the number of successes in n independent Bernoulli trials with constant probability p of success.

PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

Parameters: n (number of trials), p (probability of success)

Method for binomial problems:
  1. Identify n (trials) and p (success probability)
  2. Use binomial PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)
  3. For mean: μ = E[X] = np
  4. For variance: σ² = Var(X) = np(1-p)
Step 1: Identify parameters

n = 5 (coin flips), p = 0.5 (probability of heads)

Step 2: Calculate P(X = 3)

P(X = 3) = C(5,3) × (0.5)³ × (0.5)²

C(5,3) = 5!/(3!×2!) = (5×4)/(2×1) = 10

(0.5)³ = 0.125

(0.5)² = 0.25

P(X = 3) = 10 × 0.125 × 0.25 = 0.3125

Step 3: Calculate expected value

E[X] = μ = np = 5 × 0.5 = 2.5

Step 4: Calculate variance

Var(X) = σ² = np(1-p) = 5 × 0.5 × 0.5 = 1.25

Step 5: Calculate standard deviation

SD(X) = σ = √1.25 ≈ 1.118

P(X=3)
0.3125
E[X]
2.5
Var(X)
1.25
SD(X)
1.118
P(X = 3) = 0.3125, E[X] = 2.5, Var(X) = 1.25
Final answer:

The probability of getting exactly 3 heads in 5 flips is 0.3125.

Expected number of heads: 2.5, Variance: 1.25

Applied rules:

• Binomial PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

• Mean: E[X] = np

• Variance: Var(X) = np(1-p)

2 Basketball Free Throws
Exercise 2
A basketball player makes free throws with probability 0.75. If she attempts 8 free throws, find the probability she makes exactly 6, the probability she makes at least 6, and the expected number of successful shots.
Definition:

At Least Problems: P(X ≥ k) = P(X = k) + P(X = k+1) + ... + P(X = n)

Complement Rule: P(X ≥ k) = 1 - P(X < k) = 1 - P(X ≤ k-1)

Step 1: Identify parameters

n = 8 (attempts), p = 0.75 (success probability)

Step 2: Calculate P(X = 6)

P(X = 6) = C(8,6) × (0.75)⁶ × (0.25)²

C(8,6) = C(8,2) = (8×7)/(2×1) = 28

(0.75)⁶ ≈ 0.17798

(0.25)² = 0.0625

P(X = 6) = 28 × 0.17798 × 0.0625 ≈ 0.3115

Step 3: Calculate P(X ≥ 6)

P(X ≥ 6) = P(X = 6) + P(X = 7) + P(X = 8)

P(X = 7) = C(8,7) × (0.75)⁷ × (0.25)¹ = 8 × 0.13348 × 0.25 ≈ 0.2670

P(X = 8) = C(8,8) × (0.75)⁸ × (0.25)⁰ = 1 × 0.10011 × 1 ≈ 0.1001

P(X ≥ 6) = 0.3115 + 0.2670 + 0.1001 = 0.6786

Step 4: Calculate expected value

E[X] = np = 8 × 0.75 = 6

Step 5: Calculate variance

Var(X) = np(1-p) = 8 × 0.75 × 0.25 = 1.5

P(X=6)
0.3115
P(X≥6)
0.6786
E[X]
6
Var(X)
1.5
P(X = 6) ≈ 0.3115, P(X ≥ 6) ≈ 0.6786, E[X] = 6
Final answer:

The probability of making exactly 6 free throws is approximately 0.3115.

The probability of making at least 6 free throws is approximately 0.6786.

The expected number of successful shots is 6.

Applied rules:

• Binomial PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

• At Least Problems: P(X ≥ k) = Σ P(X = i) for i = k to n

• Mean: E[X] = np

3 Medical Testing
Exercise 3
A medical test has a 95% accuracy rate. If 20 people are tested, find the probability that exactly 19 test results are accurate, the probability that all results are accurate, and the standard deviation of the number of accurate results.
Definition:

Accuracy Rate: The probability that a single test result is correct.

Standard Deviation: SD(X) = √Var(X) = √np(1-p), measures spread in original units.

Step 1: Identify parameters

n = 20 (tests), p = 0.95 (accuracy rate)

Step 2: Calculate P(X = 19)

P(X = 19) = C(20,19) × (0.95)¹⁹ × (0.05)¹

C(20,19) = 20

(0.95)¹⁹ ≈ 0.3585

(0.05)¹ = 0.05

P(X = 19) = 20 × 0.3585 × 0.05 ≈ 0.3585

Step 3: Calculate P(X = 20)

P(X = 20) = C(20,20) × (0.95)²⁰ × (0.05)⁰

= 1 × (0.95)²⁰ × 1

= (0.95)²⁰ ≈ 0.3585

Step 4: Calculate variance

Var(X) = np(1-p) = 20 × 0.95 × 0.05 = 0.95

Step 5: Calculate standard deviation

SD(X) = √0.95 ≈ 0.9747

Step 6: Calculate expected value

E[X] = np = 20 × 0.95 = 19

P(X=19)
0.3585
P(X=20)
0.3585
E[X]
19
SD(X)
0.9747
P(X = 19) ≈ 0.3585, P(X = 20) ≈ 0.3585, SD(X) ≈ 0.9747
Final answer:

The probability of exactly 19 accurate results is approximately 0.3585.

The probability of all 20 results being accurate is approximately 0.3585.

The standard deviation of accurate results is approximately 0.9747.

Applied rules:

• Binomial PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

• Variance: Var(X) = np(1-p)

• Standard Deviation: SD(X) = √Var(X)

Binomial Distribution: Core Concepts
P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}
Binomial Probability Formula
PMF
P(X = k)
Individual probability
Mean
μ = np
Expected value
Variance
σ² = np(1-p)
Spread measure
Key definitions:

Binomial Distribution: A discrete probability distribution of the number of successes in a sequence of n independent experiments.

Bernoulli Trial: A single experiment with two possible outcomes (success/failure).

Independence: The outcome of one trial does not affect the outcome of another.

Constant Probability: The probability of success remains the same across all trials.

Conditions for Binomial: 1) Fixed number of trials (n), 2) Independent trials, 3) Constant success probability (p), 4) Two possible outcomes per trial
Shape: Symmetric when p = 0.5, skewed left when p > 0.5, skewed right when p < 0.5
Tip 1: Always identify n (number of trials) and p (probability of success) first.
Tip 2: For "at least" problems, calculate P(X ≥ k) = 1 - P(X ≤ k-1).
Tip 3: The expected value np is the most likely outcome when n is large.
Essential formulas:

• PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

• Mean: E[X] = μ = np

• Variance: Var(X) = σ² = np(1-p)

• Standard Deviation: SD(X) = σ = √np(1-p)

Solution: Exercises 4 to 5
4 Quality Control
Exercise 4
A factory produces items with a 3% defect rate. If 50 items are randomly selected, find the probability that exactly 2 are defective, the probability that fewer than 3 are defective, and the expected number of defective items.
Definition:

Defect Rate: The probability that a single item is defective.

Fewer Than: P(X < k) = P(X ≤ k-1), includes all values from 0 to k-1.

Step 1: Identify parameters

n = 50 (items), p = 0.03 (defect rate)

Step 2: Calculate P(X = 2)

P(X = 2) = C(50,2) × (0.03)² × (0.97)⁴⁸

C(50,2) = (50×49)/(2×1) = 1225

(0.03)² = 0.0009

(0.97)⁴⁸ ≈ 0.2333

P(X = 2) = 1225 × 0.0009 × 0.2333 ≈ 0.2555

Step 3: Calculate P(X < 3) = P(X ≤ 2)

P(X < 3) = P(X = 0) + P(X = 1) + P(X = 2)

P(X = 0) = C(50,0) × (0.03)⁰ × (0.97)⁵⁰ = 1 × 1 × (0.97)⁵⁰ ≈ 0.2181

P(X = 1) = C(50,1) × (0.03)¹ × (0.97)⁴⁹ = 50 × 0.03 × (0.97)⁴⁹ ≈ 0.3354

P(X = 2) ≈ 0.2555 (calculated above)

P(X < 3) = 0.2181 + 0.3354 + 0.2555 = 0.8090

Step 4: Calculate expected value

E[X] = np = 50 × 0.03 = 1.5

Step 5: Calculate variance

Var(X) = np(1-p) = 50 × 0.03 × 0.97 = 1.455

P(X=2)
0.2555
P(X<3)
0.8090
E[X]
1.5
Var(X)
1.455
P(X = 2) ≈ 0.2555, P(X < 3) ≈ 0.8090, E[X] = 1.5
Final answer:

The probability of exactly 2 defective items is approximately 0.2555.

The probability of fewer than 3 defective items is approximately 0.8090.

The expected number of defective items is 1.5.

Applied rules:

• Binomial PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

• Less Than: P(X < k) = P(X ≤ k-1) = Σ P(X = i) for i = 0 to k-1

• Mean: E[X] = np

5 Survey Analysis
Exercise 5
In a survey, 60% of respondents support a new policy. If 30 people are surveyed, find the probability that exactly 18 support the policy, the probability that between 15 and 20 (inclusive) support it, and the standard deviation of supporters.
Definition:

Between Inclusive: P(a ≤ X ≤ b) = P(X = a) + P(X = a+1) + ... + P(X = b).

Survey Response: Each respondent's answer is an independent Bernoulli trial.

Step 1: Identify parameters

n = 30 (surveyed), p = 0.6 (support probability)

Step 2: Calculate P(X = 18)

P(X = 18) = C(30,18) × (0.6)¹⁸ × (0.4)¹²

C(30,18) = C(30,12) ≈ 86,493,225

(0.6)¹⁸ ≈ 0.0000001016

(0.4)¹² ≈ 0.00001678

P(X = 18) ≈ 86,493,225 × 0.0000001016 × 0.00001678 ≈ 0.1474

Step 3: Calculate P(15 ≤ X ≤ 20)

P(15 ≤ X ≤ 20) = P(X = 15) + P(X = 16) + P(X = 17) + P(X = 18) + P(X = 19) + P(X = 20)

Using binomial probabilities:

P(X = 15) ≈ 0.0489

P(X = 16) ≈ 0.0783

P(X = 17) ≈ 0.1106

P(X = 18) ≈ 0.1474

P(X = 19) ≈ 0.1746

P(X = 20) ≈ 0.1797

P(15 ≤ X ≤ 20) ≈ 0.0489 + 0.0783 + 0.1106 + 0.1474 + 0.1746 + 0.1797 = 0.7395

Step 4: Calculate variance and standard deviation

Var(X) = np(1-p) = 30 × 0.6 × 0.4 = 7.2

SD(X) = √7.2 ≈ 2.683

Step 5: Calculate expected value

E[X] = np = 30 × 0.6 = 18

P(X=18)
0.1474
P(15≤X≤20)
0.7395
E[X]
18
SD(X)
2.683
P(X = 18) ≈ 0.1474, P(15 ≤ X ≤ 20) ≈ 0.7395, SD(X) ≈ 2.683
Final answer:

The probability of exactly 18 supporters is approximately 0.1474.

The probability of between 15 and 20 supporters (inclusive) is approximately 0.7395.

The standard deviation of the number of supporters is approximately 2.683.

Applied rules:

• Binomial PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

• Range Probability: P(a ≤ X ≤ b) = Σ P(X = k) for k = a to b

• Standard Deviation: SD(X) = √np(1-p)

Binomial Distribution: Comprehensive Summary

Complete Summary: Binomial Probability Distributions

Core Concepts

Binomial Distribution: Models the number of successes in n independent Bernoulli trials.

Parameters: n (number of trials), p (probability of success).

Support: X can take integer values from 0 to n.

PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k).

Key Properties

Mean: E[X] = μ = np.

Variance: Var(X) = σ² = np(1-p).

Standard Deviation: SD(X) = σ = √np(1-p).

Shape: Depends on p; symmetric when p = 0.5.

Conditions

Fixed Trials: The number of trials n is fixed in advance.

Independent Trials: Outcome of one trial doesn't affect others.

Constant Probability: Probability of success p remains the same.

Binary Outcomes: Each trial has only two possible outcomes.

Problem-Solving Tips

Identify Parameters: Always determine n and p first.

Use Complements: P(X ≥ k) = 1 - P(X ≤ k-1) for efficiency.

Range Calculations: P(a ≤ X ≤ b) = Σ P(X = k) for k = a to b.

Check Reasonableness: Verify results make sense in context.

Detailed Definitions:

Bernoulli Trial: A random experiment with exactly two possible outcomes ("success" and "failure"), with a fixed probability of success p.

Binomial Distribution: The discrete probability distribution of the number of successes in a sequence of n independent Bernoulli trials.

Combination: C(n,k) = n!/[k!(n-k)!] represents the number of ways to choose k successes from n trials.

Success/Failure: Arbitrary labels for the two possible outcomes of each trial.

Independence: The outcome of one trial does not influence the outcome of any other trial.

Systematic Calculation Method:
  1. Identify Parameters: Determine n (number of trials) and p (probability of success).
  2. Verify Conditions: Ensure binomial conditions are met.
  3. Choose Appropriate Formula: Use PMF for exact probabilities, cumulative for ranges.
  4. Calculate: Apply the binomial formula carefully.
  5. Interpret Results: Explain in context of the problem.
Memory Tip: "Bi" in binomial means two outcomes; "nomial" relates to the mathematical combination formula.
Common Mistake: Confusing n (number of trials) with k (number of successes).
Efficiency Tip: Use the complement rule for "at least" or "at most" problems when appropriate.
Application Tip: Binomial is used in quality control, survey responses, medical trials, and many other fields.
Key Applications: Quality control, survey sampling, medical testing, game outcomes, election polling.
Approximation: For large n and moderate p, binomial can be approximated by normal distribution.
Critical Formulas to Remember:

• PMF: P(X = k) = C(n,k) × p^k × (1-p)^(n-k)

• Mean: E[X] = μ = np

• Variance: Var(X) = σ² = np(1-p)

• Standard Deviation: SD(X) = σ = √np(1-p)

Questions & Answers

Question: Why is the binomial distribution called "binomial"? What does the name mean?

Answer: The name "binomial" comes from the binomial theorem in algebra:

Etymology:

  • "Bi-" means two (like bicycle has two wheels)
  • "Nominal" relates to terms or names in mathematics
  • Binomial = having two terms

Connection to Statistics:

The binomial distribution arises from the binomial theorem: (a + b)ⁿ = Σ C(n,k)aᵏbⁿ⁻ᵏ

In probability terms: (p + q)ⁿ = Σ C(n,k)pᵏqⁿ⁻ᵏ where q = 1-p

This represents the sum of all possible outcomes of n trials with two possible results each.

So the name reflects both the two-outcome nature of each trial and the mathematical connection to binomial expansions.

Question: What does "independence" really mean in the context of binomial distribution? How do I know if trials are independent?

Answer: Independence in binomial distribution means that the outcome of one trial does not affect the probability of success in any other trial.

Examples of Independence:

  • Flipping a fair coin multiple times - each flip is independent
  • Rolling a die multiple times - each roll is independent
  • Surveying different people - one person's answer doesn't affect another's

Examples of Dependence (NOT Binomial):

  • Drawing cards without replacement - probability changes with each draw
  • Quality testing where defective items affect remaining items
  • Events where previous outcomes influence future probabilities

To check independence: Ask yourself, "Does knowing the result of one trial change the probability of success for another trial?" If yes, the trials are not independent.

Question: In Exercise 5, n=30 was relatively large. Does the binomial distribution still work for large n? Are there any limitations?

Answer: Yes, the binomial distribution works for any positive integer value of n, including very large values. However, there are practical considerations:

Computational Challenges:

  • Calculating C(n,k) for large n and k becomes computationally intensive
  • For very large n, manual calculation becomes impractical

Approximation Solutions:

For large n, the binomial distribution can be approximated by:

  • Normal Distribution: When np and n(1-p) are both ≥ 5
  • Poisson Distribution: When n is large and p is small, with np moderate

Statistical Validity:

The binomial distribution remains perfectly valid regardless of n size, as long as the four conditions are met. The distribution is fundamental to probability theory and works mathematically for any n.

In practice, computational tools handle large n values efficiently, so the theoretical distribution remains applicable.