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

Verified
Answer

The average number of questions to determine the value of X isEX-n2n

1Step 1: Given Information

We have to find the average number of questions that you will need to ask to determine the value of X.

2Step 2: Simplify

 Mark that the answer to a particular question is 12 i.e.

P Yes =P No =12

which meansPX=k=12k for k=1,,n. So, the average number of questions is

EX=k=1nk12k

To calculate, multiply it by 12 .

12EX=k=1nk12k+1

Subtracting that from the expression in 1, we have that

12EX=k=1nk12k+1-n.12n+1

Using the formula k=1n12k=12.1-0.5n+11-0.5 to obtain that the final answer. That is

EX-n2n