Probability & Statistics
![Question 58, GATE 2026: X takes values 1,…,8. Values 1,2,5,7 each have probability 1/6; values 3,4,6,8 each have probability 1/12. Find E[X] rounded to two decimals.](../../assets/questions/CS-2026-S1-Q58-1.webp)
Answer & solution
Official answer: 4.24 to 4.26
Our answer: 4.25
Givens and goal
X takes values 1,…,8. Values 1,2,5,7 each have probability 1/6; values 3,4,6,8 each have probability 1/12. Find E[X] rounded to two decimals.
Approach
Check normalization and evaluate the probability-weighted sum, grouping equal-probability outcomes.
Step-by-step solution
1. There are four values in each probability group. Their total mass is 4(1/6)+4(1/12)=2/3+1/3=1, so the stated distribution is normalized.
2. By definition E[X]=Σ_x x·Pr(X=x). The first group contributes (1+2+5+7)/6=15/6=2.5.
3. The second group contributes (3+4+6+8)/12=21/12=1.75.
4. Summing gives E[X]=2.5+1.75=4.25. This is already exact to two decimal places.
5. The unweighted average of 1 through 8 is 4.5, but that would assume equal probabilities of 1/8. Here the lower-sum first group carries twice the probability per value, so 4.25 is consistent with the extra weight on that group.
Result: 4.25. The published accepted numerical interval is 4.24 to 4.26, which is broader than the exact computed central value.