Analyzing the Setup
Imagine you are standing in front of a basket containing ten apples. Seven are fresh, and three are rotten. We are drawing 4 apples one by one without replacement, which is a classic scenario following the Hypergeometric distribution.
Our goal is to find the value of 10(μ2+σ2), where μ is the mean and σ2 is the variance of the number of rotten apples, X.
The total number of ways to choose 4 apples out of 10 is given by the combination formula:
(410)=4×3×2×110×9×8×7=210
This value, 210, serves as the denominator for all our probability calculations.
Mapping the Distribution
The random variable X represents the number of rotten apples drawn. Since there are only 3 rotten apples available, X can take the values 0,1,2, or 3.
We calculate the probability for each case as follows:
For
X=0:
P(X=0)=210(03)×(47)=2101×35=61
For
X=1:
P(X=1)=210(13)×(37)=2103×35=21
For
X=2:
P(X=2)=210(23)×(27)=2103×21=103
For
X=3:
P(X=3)=210(33)×(17)=2101×7=301
The Algebraic Shortcut
The question asks for 10(μ2+σ2). Instead of calculating the mean μ=E(X) and the variance σ2=E(X2)−μ2 separately, we can simplify the expression.
Substituting the definition of variance into the target expression:
μ2+σ2=μ2+(E(X2)−μ2)=E(X2)
The μ2 terms cancel out perfectly. We only need to calculate the second moment, E(X2).
Final Calculation
We compute E(X2) using the formula E(X2)=∑x2P(X=x):
E(X2)=02(61)+12(21)+22(103)+32(301)
Simplifying the terms:
Using a common denominator of 30:
Finally, we multiply by 10 as requested: