Math Problem Statement

Compute the mean and variance of the number of heads that appear in 3 flips of a fair coin.

Solution

To compute the mean and variance of the number of heads in 3 flips of a fair coin, we approach the problem as follows:

Step 1: Define the random variable

Let XX be the random variable representing the number of heads that appear in 3 flips of a fair coin. Each coin flip is a Bernoulli trial with two outcomes: heads (success) or tails (failure), where the probability of heads is p=12p = \frac{1}{2}.

Thus, XX is the sum of 3 independent Bernoulli trials. We can write: X=X1+X2+X3X = X_1 + X_2 + X_3 where each XiX_i is a Bernoulli random variable that takes the value 1 with probability 12\frac{1}{2} (heads) and 0 with probability 12\frac{1}{2} (tails).

Step 2: Mean (Expected value)

The expected value of a Bernoulli random variable XiX_i is: E(Xi)=1p+0(1p)=p=12E(X_i) = 1 \cdot p + 0 \cdot (1 - p) = p = \frac{1}{2} Since XX is the sum of 3 independent Bernoulli trials: E(X)=E(X1+X2+X3)=E(X1)+E(X2)+E(X3)=312=32E(X) = E(X_1 + X_2 + X_3) = E(X_1) + E(X_2) + E(X_3) = 3 \cdot \frac{1}{2} = \frac{3}{2} Thus, the mean (expected number of heads) is: E(X)=32=1.5E(X) = \frac{3}{2} = 1.5

Step 3: Variance

The variance of a Bernoulli random variable XiX_i is: Var(Xi)=p(1p)=1212=14\text{Var}(X_i) = p(1 - p) = \frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4} Since X1,X2,X3X_1, X_2, X_3 are independent, the variance of their sum is the sum of their variances: Var(X)=Var(X1+X2+X3)=Var(X1)+Var(X2)+Var(X3)=314=34\text{Var}(X) = \text{Var}(X_1 + X_2 + X_3) = \text{Var}(X_1) + \text{Var}(X_2) + \text{Var}(X_3) = 3 \cdot \frac{1}{4} = \frac{3}{4}

Final Answer:

  • Mean (Expected value) of the number of heads: 32=1.5\frac{3}{2} = 1.5
  • Variance of the number of heads: 34=0.75\frac{3}{4} = 0.75

Do you want further details on any specific part or another question?

Here are some related questions to expand on this concept:

  1. What is the probability of getting exactly 2 heads in 3 flips of a fair coin?
  2. How does the variance change if the number of flips is increased to 5?
  3. What is the standard deviation of the number of heads in 3 flips of a fair coin?
  4. Can you find the probability distribution of the number of heads in 3 flips?
  5. What is the expected value if the coin is biased with p=0.6p = 0.6 for heads?

Tip: The mean of a binomial distribution can be calculated as E(X)=npE(X) = n \cdot p and the variance as Var(X)=np(1p)\text{Var}(X) = n \cdot p \cdot (1 - p).

Ask a new question for Free

By Image

Drop file here or Click Here to upload

Math Problem Analysis

Mathematical Concepts

Probability Theory
Random Variables
Bernoulli Trials
Binomial Distribution

Formulas

E(X) = n * p
Var(X) = n * p * (1 - p)

Theorems

Law of Expectation
Variance of Independent Random Variables

Suitable Grade Level

Grades 9-12