Skip to content
Official PYQ · 2026

GATE CS 2026 Set 1 Q48 — Probability: Random Variables and Distributions

Explain with AI
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)
View worked solution

Answer: 4.24 : 4.26

The expected value E[X]E[X] of a discrete random variable XX is defined as:

E[X]=∑xx⋅Pr⁡(X=x)E[X] = \sum_{x} x \cdot \operatorname{Pr}(X = x)

We are given the probability distribution of XX over the set {1,2,3,4,5,6,7,8}\{1, 2, 3, 4, 5, 6, 7, 8\}:

  • For x∈{1,2,5,7}x \in \{1, 2, 5, 7\}, Pr⁡(X=x)=16\operatorname{Pr}(X = x) = \frac{1}{6}
  • For x∈{3,4,6,8}x \in \{3, 4, 6, 8\}, Pr⁡(X=x)=112\operatorname{Pr}(X = x) = \frac{1}{12}

Let us compute the contribution of each group to the expectation:

  1. Group 1: x∈{1,2,5,7}x \in \{1, 2, 5, 7\} ∑x∈{1,2,5,7}x⋅Pr⁡(X=x)=(1+2+5+7)×16=15×16=2.5\sum_{x \in \{1, 2, 5, 7\}} x \cdot \operatorname{Pr}(X=x) = (1 + 2 + 5 + 7) \times \frac{1}{6} = 15 \times \frac{1}{6} = 2.5
  2. Group 2: x∈{3,4,6,8}x \in \{3, 4, 6, 8\} ∑x∈{3,4,6,8}x⋅Pr⁡(X=x)=(3+4+6+8)×112=21×112=1.75\sum_{x \in \{3, 4, 6, 8\}} x \cdot \operatorname{Pr}(X=x) = (3 + 4 + 6 + 8) \times \frac{1}{12} = 21 \times \frac{1}{12} = 1.75

Adding the two contributions gives the total expected value:

E[X]=2.5+1.75=4.25E[X] = 2.5 + 1.75 = 4.25

Thus, the expected value of XX is 4.25.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Probability: Random Variables and Distributions questions