For , let be a non-zero vector. Suppose that is chosen uniformly at random from . Then, the probability that is an odd number is______________
GATE CSE 2020Probability › Probability DistributionsVerified
GATE CSE 2020 PYQ: For n > 2 n>2 n > 2 , let a ∈ { 0 , 1 } n a \in \{0,1\}^n a ∈ { 0 , 1 } n be a non-zero vector. Suppose that…
Answer
0.5
Approach
Since a is a non-zero binary vector, at least one coordinate has $a_i=1$. The sum only depends on the bits $x_i$ at those positions, and each such bit is an independent fair coin. For any nonempty set of fair bits, the parity of their sum is equally likely to be even or odd.
The parity of a nonempty sum of independent uniform bits is balanced. Exactly half of all $x∈{0,1}^n$ make the sum odd, so the required probability is 0.5.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.