Suppose 𝑋𝑖 for 𝑖 = 1,2,3 are independent and identically distributed random…

2015

Suppose 𝑋𝑖 for 𝑖 = 1,2,3 are independent and identically distributed random variables whose probability mass functions are Pr[𝑋𝑖 = 0] = Pr[𝑋𝑖 = 1] = 1/2 for 𝑖 = 1, 2, 3. Define another random variable π‘Œ = 𝑋1𝑋2 βŠ• 𝑋3, where βŠ• denotes XOR.

Then Pr[π‘Œ = 0|𝑋3 = 0] =_______________.

Answer: 0.75 β€” Key idea: given X3 = 0, the XOR with 0 leaves the other term unchanged, so Y = X1 X2. We want P(Y = 0 | X3 = 0) = P(X1 X2 = 0). X1 X2 equals 1 only when both…

Attempted by 26 students.

Show answer & explanation

Correct answer: 0.75

Key idea: given X3 = 0, the XOR with 0 leaves the other term unchanged, so Y = X1 X2.

  • We want P(Y = 0 | X3 = 0) = P(X1 X2 = 0).

  • X1 X2 equals 1 only when both X1 = 1 and X2 = 1. Since the Xi are independent with P(Xi = 1) = 1/2,

  • P(X1 = 1 and X2 = 1) = (1/2) * (1/2) = 1/4.

  • Therefore P(X1 X2 = 0) = 1 - 1/4 = 3/4.

Answer: 3/4

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…