Q. 9.16
Question
A random variable can take on any of n possible values x1, ... , xn with respective probabilities p(xi), i = 1, ... , n. We shall attempt to determine the value of X by asking a series of questions, each of which can be answered “yes” or “no.” For instance, we may ask “Is X = x1?” or “Is X equal to either x1 or x2 or x3?” and so on. What can you say about the average number of such questions that you will need to ask to determine the value of X?
Step-by-Step Solution
VerifiedThe average number of questions to determine the value of is
We have to find the average number of questions that you will need to ask to determine the value of .
Mark that the answer to a particular question is i.e.
which means for . So, the average number of questions is
To calculate, multiply it by .
Subtracting that from the expression in , we have that
Using the formula to obtain that the final answer. That is