Skip to main content

GATE CSE 2026Probability › Random Variables, Expectation & VarianceVerified

GATE CSE 2026 PYQ: Let X X X be a random variable which takes values in the set { 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 }…

Let XX be a random variable which takes values in the set {1,2,3,4,5,6,7,8}\{1,2,3,4,5,6,7,8\}. Further, Pr⁡(X=1)=Pr⁡(X=2)=Pr⁡(X=5)=Pr⁡(X=7)=16\operatorname{Pr}(X=1)=\operatorname{Pr}(X=2)=\operatorname{Pr}(X=5)=\operatorname{Pr}(X=7)=\frac{1}{6} and Pr⁡(X=3)=Pr⁡(X=4)=Pr⁡(X=6)=Pr⁡(X=8)=112\operatorname{Pr}(X=3)=\operatorname{Pr}(X=4)=\operatorname{Pr}(X=6)=\operatorname{Pr}(X=8)=\frac{1}{12}.

The expected value of XX, denoted by E[X]E[X], is equal to ____\_\_\_\_. (rounded off to two decimal places)

    Answer

    4.25

    Approach

    Use the definition of expectation for a discrete random variable: sum each value times its probability.

    The expected value is E[X] = 1*(1/6) + 2*(1/6) + 3*(1/12) + 4*(1/12) + 5*(1/6) + 6*(1/12) + 7*(1/6) + 8*(1/12) = 4.25. Since this is exactly two decimal places, no further rounding is needed.

    Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.