Solved Exercises on Binomial Expected Value and Variance

Master binomial expected value and variance calculations: calculating, interpreting, and applying properties through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Coin Toss Mean and Variance
Exercise 1
A fair coin is flipped 10 times. Let X be the number of heads obtained. Calculate the expected number of heads, the variance of X, and the standard deviation of X.
Definition:

Expected Value (Mean): The average number of successes we expect over many repetitions.

Formula for Binomial Mean: E[X] = μ = np

Formula for Binomial Variance: Var(X) = σ² = np(1-p)

Method for binomial mean and variance:
  1. Identify n (number of trials) and p (probability of success)
  2. Calculate mean: μ = E[X] = np
  3. Calculate variance: σ² = Var(X) = np(1-p)
  4. Calculate standard deviation: σ = √Var(X)
Step 1: Identify parameters

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

Step 2: Calculate expected value

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

Step 3: Calculate variance

Var(X) = σ² = np(1-p) = 10 × 0.5 × 0.5 = 2.5

Step 4: Calculate standard deviation

SD(X) = σ = √Var(X) = √2.5 ≈ 1.581

Step 5: Interpret results

On average, we expect 5 heads in 10 coin flips.

The variance of 2.5 indicates the spread of the distribution.

The standard deviation of approximately 1.581 tells us the typical deviation from the mean.

Mean (μ)
5
Variance (σ²)
2.5
SD (σ)
1.581
E[X] = 5, Var(X) = 2.5, SD(X) ≈ 1.581
Final answer:

The expected number of heads is 5.

The variance is 2.5, and the standard deviation is approximately 1.581.

Applied rules:

• Mean Formula: E[X] = np

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

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

2 Basketball Free Throw Performance
Exercise 2
A basketball player makes free throws with probability 0.8. If she attempts 15 free throws, find the expected number of successful shots, the variance, and the standard deviation of successful shots.
Definition:

Performance Metrics: Expected value indicates average performance, variance measures consistency.

Consistency Measure: Lower variance indicates more consistent performance.

Step 1: Identify parameters

n = 15 (attempts), p = 0.8 (success probability)

Step 2: Calculate expected value

E[X] = μ = np = 15 × 0.8 = 12

Step 3: Calculate variance

Var(X) = σ² = np(1-p) = 15 × 0.8 × 0.2 = 2.4

Step 4: Calculate standard deviation

SD(X) = σ = √2.4 ≈ 1.549

Step 5: Analyze performance

Expected successful shots: 12 out of 15

Variance of 2.4 indicates moderate spread around the mean

Standard deviation of 1.549 suggests typical deviation of about 1.5 shots

E[X]
12
Var(X)
2.4
SD(X)
1.549
E[X] = 12, Var(X) = 2.4, SD(X) ≈ 1.549
Final answer:

The expected number of successful free throws is 12.

The variance is 2.4, and the standard deviation is approximately 1.549.

Applied rules:

• Mean Formula: E[X] = np

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

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

3 Medical Test Accuracy
Exercise 3
A medical test has a 90% accuracy rate. If 25 tests are performed, calculate the expected number of accurate results, the variance of accurate results, and the standard deviation.
Definition:

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

Reliability Measure: Variance indicates how much the actual results might vary from the expected value.

Step 1: Identify parameters

n = 25 (tests), p = 0.9 (accuracy rate)

Step 2: Calculate expected value

E[X] = μ = np = 25 × 0.9 = 22.5

Step 3: Calculate variance

Var(X) = σ² = np(1-p) = 25 × 0.9 × 0.1 = 2.25

Step 4: Calculate standard deviation

SD(X) = σ = √2.25 = 1.5

Step 5: Interpret results

On average, 22.5 out of 25 tests will be accurate

The variance of 2.25 shows low spread around the mean

The standard deviation of 1.5 indicates typical deviation of 1.5 tests

E[X]
22.5
Var(X)
2.25
SD(X)
1.5
E[X] = 22.5, Var(X) = 2.25, SD(X) = 1.5
Final answer:

The expected number of accurate results is 22.5.

The variance is 2.25, and the standard deviation is 1.5.

Applied rules:

• Mean Formula: E[X] = np

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

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

Binomial Mean and Variance: Core Concepts
E[X] = np
Expected Value Formula
Var(X) = np(1-p)
Variance Formula
Mean
μ = np
Average value
Variance
σ² = np(1-p)
Spread measure
SD
σ = √np(1-p)
Original units
Key definitions:

Expected Value (Mean): The long-run average value of repetitions of the same experiment.

Variance: The average of the squared differences from the mean, measuring spread.

Standard Deviation: The square root of variance, in the same units as the original variable.

Binomial Distribution: Discrete distribution for number of successes in n independent Bernoulli trials.

Mean Interpretation: The most likely outcome when n is large and p is not too close to 0 or 1.
Variance Properties: Maximum when p = 0.5, decreases as p approaches 0 or 1.
Tip 1: The expected value np is always between 0 and n.
Tip 2: Variance is largest when p = 0.5, making outcomes most unpredictable.
Tip 3: As n increases, the binomial distribution becomes more normal-like.
Essential formulas:

• Expected Value: E[X] = μ = np

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

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

• For any distribution: Var(X) = E[X²] - (E[X])²

Solution: Exercises 4 to 5
4 Quality Control Inspection
Exercise 4
A manufacturing process produces items with a 5% defect rate. If 60 items are inspected, find the expected number of defective items, the variance, and the standard deviation. Also calculate the coefficient of variation.
Definition:

Coefficient of Variation: CV = (SD/Mean) × 100%, measures relative variability.

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

Step 1: Identify parameters

n = 60 (items), p = 0.05 (defect rate)

Step 2: Calculate expected value

E[X] = μ = np = 60 × 0.05 = 3

Step 3: Calculate variance

Var(X) = σ² = np(1-p) = 60 × 0.05 × 0.95 = 2.85

Step 4: Calculate standard deviation

SD(X) = σ = √2.85 ≈ 1.688

Step 5: Calculate coefficient of variation

CV = (SD/Mean) × 100% = (1.688/3) × 100% ≈ 56.27%

Step 6: Interpret results

On average, 3 out of 60 items are expected to be defective

The variance of 2.85 indicates moderate spread

The CV of 56.27% shows high relative variability

E[X]
3
Var(X)
2.85
SD(X)
1.688
CV
56.27%
E[X] = 3, Var(X) = 2.85, SD(X) ≈ 1.688, CV ≈ 56.27%
Final answer:

The expected number of defective items is 3.

The variance is 2.85, standard deviation is approximately 1.688.

The coefficient of variation is approximately 56.27%.

Applied rules:

• Mean Formula: E[X] = np

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

• Coefficient of Variation: CV = (SD/Mean) × 100%

5 Survey Response Analysis
Exercise 5
In a political survey, 40% of voters support a candidate. If 50 voters are surveyed, calculate the expected number of supporters, the variance, standard deviation, and determine the probability that the number of supporters is within one standard deviation of the mean.
Definition:

Within One SD: Values between (mean - SD) and (mean + SD).

Empirical Rule: For normal distributions, about 68% of values fall within one standard deviation of the mean.

Step 1: Identify parameters

n = 50 (voters), p = 0.4 (support rate)

Step 2: Calculate expected value

E[X] = μ = np = 50 × 0.4 = 20

Step 3: Calculate variance

Var(X) = σ² = np(1-p) = 50 × 0.4 × 0.6 = 12

Step 4: Calculate standard deviation

SD(X) = σ = √12 ≈ 3.464

Step 5: Determine range within one SD

Lower bound: μ - σ = 20 - 3.464 ≈ 16.54

Upper bound: μ + σ = 20 + 3.464 ≈ 23.46

We need P(17 ≤ X ≤ 23) since X must be an integer

Step 6: Calculate probability within one SD

P(17 ≤ X ≤ 23) = Σ P(X = k) for k = 17 to 23

Using binomial probabilities:

P(17 ≤ X ≤ 23) ≈ 0.0796 + 0.1078 + 0.1323 + 0.1444 + 0.1398 + 0.1186 + 0.0879 = 0.7004

E[X]
20
Var(X)
12
SD(X)
3.464
P(|X-μ|≤σ)
0.7004
E[X] = 20, Var(X) = 12, SD(X) ≈ 3.464, P(within 1 SD) ≈ 0.7004
Final answer:

The expected number of supporters is 20.

The variance is 12, and the standard deviation is approximately 3.464.

The probability of being within one standard deviation of the mean is approximately 0.7004.

Applied rules:

• Mean Formula: E[X] = np

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

• Range Within SD: (μ - σ, μ + σ) for continuous approximation

Binomial Mean and Variance: Comprehensive Summary

Complete Summary: Binomial Expected Value and Variance

Core Concepts

Expected Value: E[X] = μ = np, represents the long-run average.

Variance: Var(X) = σ² = np(1-p), measures spread around the mean.

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

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

Key Properties

Mean Range: 0 ≤ E[X] ≤ n.

Maximum Variance: Occurs when p = 0.5, Var(X) = n/4.

Minimum Variance: Approaches 0 when p approaches 0 or 1.

Relationship: As n increases, mean increases linearly, variance increases but SD increases as √n.

Calculation Process

Step 1: Identify n (number of trials) and p (probability of success).

Step 2: Calculate mean: μ = E[X] = np.

Step 3: Calculate variance: σ² = Var(X) = np(1-p).

Step 4: Calculate standard deviation: σ = √np(1-p).

Problem-Solving Tips

Memorize Formulas: E[X] = np and Var(X) = np(1-p) are fundamental.

Check Reasonableness: Mean should be between 0 and n.

Understand Spread: Higher variance means more uncertainty.

Unit Consistency: Variance in squared units, SD in original units.

Detailed Definitions:

Expected Value (Mean): The weighted average of all possible values of a random variable, weighted by their probabilities. For binomial distribution, it's the most likely outcome when n is large.

Variance: The average squared deviation from the mean, measuring how spread out the values are. For binomial, it's largest when p = 0.5.

Standard Deviation: The square root of variance, providing a measure of spread in the same units as the original variable.

Coefficient of Variation: The ratio of standard deviation to mean, expressed as a percentage, measuring relative variability.

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

Systematic Calculation Method:
  1. Identify Parameters: Determine n (number of trials) and p (probability of success).
  2. Verify Conditions: Ensure binomial conditions are met (independent trials, constant probability).
  3. Calculate Mean: Apply E[X] = np formula.
  4. Calculate Variance: Apply Var(X) = np(1-p) formula.
  5. Calculate SD: Apply SD(X) = √Var(X) formula.
  6. Interpret Results: Explain in context of the problem.
Memory Tip: "Expected = n times p", "Variance = n times p times (1-p)".
Common Mistake: Forgetting that variance is np(1-p), not np² or np²(1-p).
Efficiency Tip: Calculate variance first, then take square root for SD.
Application Tip: Use mean for prediction, variance for risk assessment.
Key Applications: Quality control, survey analysis, medical testing, sports performance, market research.
Special Cases: When p = 0.5, variance is maximum at n/4; when p is very small or close to 1, variance approaches 0.
Critical Formulas to Remember:

• Expected Value: E[X] = μ = np

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

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

• Coefficient of Variation: CV = (SD/Mean) × 100%

Questions & Answers

Question: Why is the variance of a binomial distribution np(1-p)? Where does the (1-p) part come from?

Answer: The (1-p) term comes from the definition of variance and the nature of binary outcomes:

Mathematical Derivation:

For a single Bernoulli trial (n=1), X can be 0 or 1:

  • E[X] = p (probability of success)
  • E[X²] = 1²×p + 0²×(1-p) = p
  • Var(X) = E[X²] - (E[X])² = p - p² = p(1-p)

Intuitive Explanation:

The (1-p) factor represents the probability of failure. The variance is highest when p = 0.5 (equal chances of success and failure), creating maximum uncertainty. As p approaches 0 or 1, uncertainty decreases, and variance approaches 0.

For n independent trials, variances add up: Var(X₁ + X₂ + ... + Xₙ) = n×Var(X₁) = n×p(1-p) = np(1-p).

Question: In Exercise 5, you said about 70% of values fall within one standard deviation, but I thought it was 68% for normal distributions. Why is it different here?

Answer: You're absolutely correct about the 68% rule for normal distributions! The difference here is that binomial distributions are discrete, not continuous.

Discrete vs. Continuous:

  • Normal distribution: Continuous, so exactly 68.27% falls within 1 SD
  • Binomial distribution: Discrete, so we must round to integer values

Binomial Approximation:

As n gets larger, binomial distributions become more normal-like, and the percentage approaches 68%. With n=50, our calculated value of 70.04% is very close to the normal approximation.

The empirical rule (68-95-99.7%) is most accurate for perfectly normal distributions, but binomial distributions approximate normality better as n increases.

Question: In Exercise 4, the coefficient of variation was 56.27%, which seems quite high. What does this tell us about the process?

Answer: A coefficient of variation (CV) of 56.27% indicates high relative variability:

Interpretation of CV:

  • Low CV (< 15%): Low relative variability
  • Moderate CV (15-30%): Moderate relative variability
  • High CV (> 30%): High relative variability

Process Implications:

With CV = 56.27%, the number of defective items varies substantially relative to the expected value. This means:

  • Quality is inconsistent - sometimes much better/worse than expected
  • Difficult to predict exact number of defects in any given batch
  • May need to investigate sources of variation in the manufacturing process

In quality control, lower CV indicates more predictable and consistent processes. A CV of 56.27% suggests the process might benefit from improvement efforts to reduce variability.