Binomial Probability Distributions

Master binomial distributions: Bernoulli trials, probability formulas, expected value, and variance through these 5 detailed exercises.

Binomial Distribution Concepts
\(P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}\)
Binomial Probability Formula
\(E(X) = np\)
Expected Value
\(\text{Var}(X) = np(1-p)\)
Variance
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).

Parameters: n = number of trials, p = probability of success in each trial.

Binomial Coefficient: \(\binom{n}{k} = \frac{n!}{k!(n-k)!}\) (read as "n choose k").

Conditions: Fixed number of trials, independent trials, constant probability of success, binary outcomes.

Binomial Conditions:
  1. Fixed number of trials (n): The number of observations is fixed.
  2. Independent trials: The outcome of one trial doesn't affect others.
  3. Constant probability of success (p): The probability of success remains the same for each trial.
  4. Binary outcomes: Each trial results in success or failure.
Support: X can take values {0, 1, 2, ..., n}
Symmetry: When p = 0.5, distribution is symmetric around n/2
Tip 1: Use calculator or software for large values of n and k.
Tip 2: For "at least" problems, use complement: P(X ≥ k) = 1 - P(X < k).
Tip 3: Check that probabilities sum to 1: Σ P(X = k) = 1 for k = 0 to n.
Solution: Exercises 1 to 3
1 Coin Flipping
Exercise 1
A fair coin is flipped 5 times. Find the probability of getting exactly 3 heads.
Parameters:

n = 5 (number of trials), k = 3 (number of successes), p = 0.5 (probability of heads)

Step 1: Identify the parameters

n = 5 (coin flips), k = 3 (heads), p = 0.5 (probability of heads on each flip)

Step 2: Apply the binomial formula

\(P(X = 3) = \binom{5}{3} (0.5)^3 (1-0.5)^{5-3} = \binom{5}{3} (0.5)^3 (0.5)^2\)

Step 3: Calculate the binomial coefficient

\(\binom{5}{3} = \frac{5!}{3!(5-3)!} = \frac{5!}{3! \cdot 2!} = \frac{5 \times 4 \times 3!}{3! \times 2 \times 1} = \frac{20}{2} = 10\)

Step 4: Calculate the probability

\(P(X = 3) = 10 \times (0.5)^3 \times (0.5)^2 = 10 \times 0.125 \times 0.25 = 10 \times 0.03125 = 0.3125\)

P(X = 3) = 0.3125
Final Answer:

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

2 Dice Rolling
Exercise 2
A fair six-sided die is rolled 4 times. Find the probability of rolling exactly 2 sixes.
Parameters:

n = 4 (number of rolls), k = 2 (number of sixes), p = 1/6 (probability of rolling a six)

Step 1: Identify the parameters

n = 4 (die rolls), k = 2 (sixes), p = 1/6 (probability of rolling a six)

Step 2: Apply the binomial formula

\(P(X = 2) = \binom{4}{2} \left(\frac{1}{6}\right)^2 \left(1-\frac{1}{6}\right)^{4-2} = \binom{4}{2} \left(\frac{1}{6}\right)^2 \left(\frac{5}{6}\right)^2\)

Step 3: Calculate the binomial coefficient

\(\binom{4}{2} = \frac{4!}{2!(4-2)!} = \frac{4!}{2! \cdot 2!} = \frac{4 \times 3}{2 \times 1} = 6\)

Step 4: Calculate the probability

\(P(X = 2) = 6 \times \left(\frac{1}{6}\right)^2 \times \left(\frac{5}{6}\right)^2 = 6 \times \frac{1}{36} \times \frac{25}{36} = 6 \times \frac{25}{1296} = \frac{150}{1296} = \frac{25}{216} \approx 0.1157\)

P(X = 2) = 25/216 ≈ 0.1157
Final Answer:

The probability of rolling exactly 2 sixes in 4 rolls is 25/216 ≈ 0.1157 or about 11.57%.

3 Quality Control
Exercise 3
A factory produces light bulbs with a 3% defect rate. If 20 bulbs are randomly selected, find the probability that exactly 1 bulb is defective.
Parameters:

n = 20 (number of bulbs), k = 1 (number of defective bulbs), p = 0.03 (probability of defect)

Step 1: Identify the parameters

n = 20 (bulbs selected), k = 1 (defective), p = 0.03 (defect rate)

Step 2: Apply the binomial formula

\(P(X = 1) = \binom{20}{1} (0.03)^1 (1-0.03)^{20-1} = \binom{20}{1} (0.03)^1 (0.97)^{19}\)

Step 3: Calculate the binomial coefficient

\(\binom{20}{1} = \frac{20!}{1!(20-1)!} = \frac{20}{1} = 20\)

Step 4: Calculate the probability

\(P(X = 1) = 20 \times 0.03 \times (0.97)^{19}\)

First calculate \((0.97)^{19}\): \((0.97)^{19} \approx 0.5438\)

Then: \(P(X = 1) = 20 \times 0.03 \times 0.5438 = 0.6 \times 0.5438 = 0.3263\)

P(X = 1) ≈ 0.3263
Final Answer:

The probability of exactly 1 defective bulb in 20 selections is approximately 0.3263 or about 32.63%.

Solution: Exercises 4 to 5
4 Survey Sampling
Exercise 4
A survey shows that 60% of people prefer tea over coffee. If 10 people are randomly selected, find the probability that at least 8 prefer tea.
Parameters:

n = 10 (people surveyed), p = 0.6 (probability prefers tea), k ≥ 8 (at least 8)

Step 1: Identify what we need to calculate

P(X ≥ 8) = P(X = 8) + P(X = 9) + P(X = 10)

where X is the number of people who prefer tea

Step 2: Calculate P(X = 8)

\(P(X = 8) = \binom{10}{8} (0.6)^8 (0.4)^2 = 45 \times (0.6)^8 \times (0.4)^2\)

\(P(X = 8) = 45 \times 0.016796 \times 0.16 = 45 \times 0.002687 = 0.1209\)

Step 3: Calculate P(X = 9)

\(P(X = 9) = \binom{10}{9} (0.6)^9 (0.4)^1 = 10 \times (0.6)^9 \times 0.4\)

\(P(X = 9) = 10 \times 0.010078 \times 0.4 = 10 \times 0.004031 = 0.0403\)

Step 4: Calculate P(X = 10)

\(P(X = 10) = \binom{10}{10} (0.6)^{10} (0.4)^0 = 1 \times (0.6)^{10} \times 1\)

\(P(X = 10) = 1 \times 0.006047 \times 1 = 0.0060\)

Step 5: Sum the probabilities

\(P(X \geq 8) = 0.1209 + 0.0403 + 0.0060 = 0.1672\)

P(X ≥ 8) ≈ 0.1672
Final Answer:

The probability that at least 8 out of 10 people prefer tea is approximately 0.1672 or about 16.72%.

5 Academic Performance
Exercise 5
The probability that a student passes a particular exam is 0.75. If 15 students take the exam, find:
a) The expected number of students who pass
b) The variance and standard deviation
c) The probability that exactly half pass
Parameters:

n = 15 (students), p = 0.75 (probability of passing)

Part a: Expected number of students who pass

\(E(X) = np = 15 \times 0.75 = 11.25\)

On average, 11.25 students are expected to pass.

Part b: Variance and standard deviation

\(\text{Var}(X) = np(1-p) = 15 \times 0.75 \times 0.25 = 15 \times 0.1875 = 2.8125\)

\(\text{SD}(X) = \sqrt{\text{Var}(X)} = \sqrt{2.8125} \approx 1.677\)

Part c: Probability that exactly half pass

Half of 15 is 7.5, so we need P(X = 7) or P(X = 8) since we can't have half a student.

Let's calculate P(X = 8):

\(P(X = 8) = \binom{15}{8} (0.75)^8 (0.25)^7\)

\(\binom{15}{8} = \frac{15!}{8! \cdot 7!} = 6435\)

\(P(X = 8) = 6435 \times (0.75)^8 \times (0.25)^7 = 6435 \times 0.1001 \times 0.00061 = 6435 \times 0.000061 = 0.393\)

E(X) = 11.25, Var(X) = 2.8125, SD(X) ≈ 1.677, P(X=8) ≈ 0.0393
Final Answer:

a) Expected number of students who pass: 11.25

b) Variance: 2.8125, Standard deviation: ≈1.677

c) Probability that exactly 8 students pass: ≈0.0393 or about 3.93%

Comprehensive Summary: Binomial Distributions
Core Concepts:

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

Bernoulli Trial: A single experiment with only two possible outcomes.

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

Essential Formulas:
  1. Probability Mass Function: \(P(X = k) = \binom{n}{k} p^k (1-p)^{n-k}\)
  2. Expected Value: \(E(X) = np\)
  3. Variance: \(\text{Var}(X) = np(1-p)\)
  4. Standard Deviation: \(\sigma = \sqrt{np(1-p)}\)
  5. Binomial Coefficient: \(\binom{n}{k} = \frac{n!}{k!(n-k)!}\)
Key Properties:

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

Shape: Symmetric when p = 0.5, skewed otherwise.

Mode: Usually near np (rounded to nearest integer).

Sum of Probabilities: Σ P(X = k) = 1 for k = 0 to n.

Memory Tip: "Bi" means two outcomes (success/failure)
Strategy Tip: For "at least" use complement: P(X ≥ k) = 1 - P(X < k)
Visualization Tip: Distribution peaks near np
Verification Tip: Expected value should be reasonable given context
Binomial Distribution Analysis
1
Verify Conditions
2
Identify Parameters
3
Choose Formula
4
Calculate
5
Interpret

Questions & Answers

Question: When can I use the binomial distribution?

Answer: Use binomial distribution when all these conditions are met:

  • Fixed number of trials (n)
  • Each trial has only two possible outcomes (success/failure)
  • Trials are independent
  • Probability of success (p) remains constant across all trials

Examples: coin flips, quality control, survey responses, medical trials.

Question: What is the binomial coefficient and how do I calculate it?

Answer: The binomial coefficient \(\binom{n}{k}\) (read as "n choose k") represents the number of ways to choose k items from n items without regard to order.

Formula: \(\binom{n}{k} = \frac{n!}{k!(n-k)!}\)

For example: \(\binom{5}{2} = \frac{5!}{2!(5-2)!} = \frac{5!}{2! \cdot 3!} = \frac{5 \times 4}{2 \times 1} = 10\)

In binomial probability, it counts the number of ways to arrange k successes among n trials.

Question: Why is the expected value np in a binomial distribution?

Answer: The expected value E(X) = np makes intuitive sense:

If you perform n trials, and each trial has probability p of success, then on average you'd expect p successes per trial.

Over n trials, you'd expect n × p = np successes in total.

For example, if you flip a fair coin (p = 0.5) 100 times (n = 100), you'd expect about 100 × 0.5 = 50 heads.

This is formally derived from the linearity of expectation: each trial contributes p to the expected total.