Detailed Explanation
The urn has an equal number of red and green balls, so the probability of drawing a red ball in a single draw is \( p = \frac{1}{2} \) and a green ball is \( q = \frac{1}{2} \). Since the drawing is done with replacement, the composition of the urn stays the same for both draws, making the two draws independent. Let \( X \) be the number of red balls obtained in the two draws. Then \( X \) can take the values \( 0, 1, 2 \). Because the draws are independent, the probability of any particular sequence of outcomes is the product of the individual probabilities. The probability distribution lists each value of \( X \) with its probability, and the mean (expected value) is \( E(X) = \sum x_i \, P(x_i) \).
Formula Used
For independent draws with replacement: \( P(\text{red}) = p = \frac{1}{2} \), \( P(\text{green}) = q = \frac{1}{2} \). Mean: \( E(X) = \sum x_i \, P(x_i) \).
Solution
- Step 1: Identify the probabilities for a single draw. Since there are equal numbers of red and green balls, \( P(\text{red}) = \frac{1}{2} \) and \( P(\text{green}) = \frac{1}{2} \). Because we draw with replacement, these probabilities remain the same on the second draw, so the two draws are independent.
- Step 2: Define the random variable. Let \( X \) = number of red balls drawn in the two draws. The possible values are \( X = 0, 1, 2 \).
- Step 3: Compute \( P(X = 0) \), meaning no red ball, i.e. green on both draws: \[ P(X = 0) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4}. \]
- Step 4: Compute \( P(X = 1) \), meaning exactly one red ball. This happens as (red, green) or (green, red): \[ P(X = 1) = \frac{1}{2}\times\frac{1}{2} + \frac{1}{2}\times\frac{1}{2} = \frac{1}{4} + \frac{1}{4} = \frac{1}{2}. \]
- Step 5: Compute \( P(X = 2) \), meaning red on both draws: \[ P(X = 2) = \frac{1}{2} \times \frac{1}{2} = \frac{1}{4}. \] Check that the probabilities add to 1: \[ \frac{1}{4} + \frac{1}{2} + \frac{1}{4} = 1. \]
- Step 6: Write the probability distribution table. The values of \( X \) are \( 0, 1, 2 \) with probabilities \( \frac{1}{4}, \frac{1}{2}, \frac{1}{4} \) respectively.
- Step 7: Find the mean using \( E(X) = \sum x_i \, P(x_i) \): \[ E(X) = 0 \cdot \frac{1}{4} + 1 \cdot \frac{1}{2} + 2 \cdot \frac{1}{4} = 0 + \frac{1}{2} + \frac{1}{2} = 1. \]
Final Answer
The probability distribution is: \( P(X=0) = \frac{1}{4} \), \( P(X=1) = \frac{1}{2} \), \( P(X=2) = \frac{1}{4} \). The mean is \( E(X) = 1 \).
Common Mistake
A common mistake is forgetting that \( X = 1 \) can occur in two ways, (red, green) and (green, red), and writing \( P(X=1) = \frac{1}{4} \) instead of \( \frac{1}{2} \). This makes the total probability less than 1 and gives a wrong mean.