Skip to content
Official PYQ · 2014

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

Explain with AI
Four fair six-sided dice are rolled. The probability that the sum of the results being 2222 is X1296\dfrac{X}{1296}. The value of XX is _______
View worked solution

Answer: 10

Let d1,d2,d3,d_1, d_2, d_3, and d4d_4 be the outcomes of the four fair six-sided dice, where 1≤di≤61 \le d_i \le 6 for each i∈{1,2,3,4}i \in \{1, 2, 3, 4\}.

We want to find the number of integer solutions to the equation:

d1+d2+d3+d4=22d_1 + d_2 + d_3 + d_4 = 22

To simplify, we can define a new set of variables by measuring how far each die's outcome is from its maximum value of 66. Let:

xi=6−dix_i = 6 - d_i

Since 1≤di≤61 \le d_i \le 6, the new variables must satisfy 0≤xi≤50 \le x_i \le 5. Substituting di=6−xid_i = 6 - x_i into the sum equation gives:

(6−x1)+(6−x2)+(6−x3)+(6−x4)=22(6 - x_1) + (6 - x_2) + (6 - x_3) + (6 - x_4) = 22 24−(x1+x2+x3+x4)=2224 - (x_1 + x_2 + x_3 + x_4) = 22 x1+x2+x3+x4=2x_1 + x_2 + x_3 + x_4 = 2

Since the sum of these non-negative integers is 22, the upper bound constraint xi≤5x_i \le 5 is automatically satisfied for all ii.

The number of non-negative integer solutions to x1+x2+x3+x4=2x_1 + x_2 + x_3 + x_4 = 2 can be found using the stars and bars formula:

Number of solutions=(n+r−1r)=(4+2−12)=(52)=10\text{Number of solutions} = \binom{n + r - 1}{r} = \binom{4 + 2 - 1}{2} = \binom{5}{2} = 10

Alternatively, we can list the partitions of 22 into 44 non-negative integers:

  • Case 1: One 22 and three 00s (e.g., 2,0,0,02, 0, 0, 0). The number of permutations is 4!3!=4\dfrac{4!}{3!} = 4.
  • Case 2: Two 11s and two 00s (e.g., 1,1,0,01, 1, 0, 0). The number of permutations is 4!2!2!=6\dfrac{4!}{2!2!} = 6.

Total favorable outcomes = 4+6=104 + 6 = 10.

Since the total number of outcomes when rolling four dice is 64=12966^4 = 1296, the probability of getting a sum of 2222 is:

P(Sum=22)=101296P(\text{Sum} = 22) = \frac{10}{1296}

Comparing this with X1296\dfrac{X}{1296}, we get:

X=10X = 10

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

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