Question

In: Statistics and Probability

. I have n keys, exactly one of which opens the door. I try them one...

. I have n keys, exactly one of which opens the door. I try them one by one at random independently, removing the key from the fob and setting it aside if it doesn’t work. Let X be the number of keys I try until I open the door. Find E(X).

A. (n−1)/2

B. (n + 1)/2

C. n/2

D. n + 1/2

Solutions

Expert Solution

discrete random variable X = no. of keys I try until I open the door

so X can have values from 1 to n

I set aside a key if it is the wrong one .

P(X=1) = probability that we get the correct key in first try =

P(X=2) = Probability that we get the correct key in second try =

= Probability that we got wrong key in first try * Probability that we got correct key in next try

  

P(X=2) =

Similarly we get P(X=3) =

Similarly we get all the P(X=x) =

E(X) = Expected value of the random variable X

It is given by :   

So ,   

Sum of first n natural numbers is given by Sn

  

   we have ,

Option B is correct


Related Solutions

A woman has 10 keys, of which exactly one will open her car door. 1. If...
A woman has 10 keys, of which exactly one will open her car door. 1. If she tries the keys at random, discarding those that do not work, what is the probability that she will open the car door on her fourth try? 2. If she tries the keys at random and does not discard previously tried keys, what is the probability that she will open her car door on her fourth try?
A man has a set of n keys, one of which fits the door to his...
A man has a set of n keys, one of which fits the door to his apartment. He tries the keys randomly, throwing away each ill-fitting key that he tries until he finds the key that fits. That is, he chooses keys randomly from among those he has not yet tried. This way he is sure to find the right key within n tries. Let T be the number of times he tries keys until he finds the right key....
I have n books with n different titles. I want to put them on the shelves...
I have n books with n different titles. I want to put them on the shelves in my library. How many different ways are there to arrange them on one shelf? On two shelves? On k shelves?
Show that among all collections with 2n-1 natural numbers in them there are exactly n numbers...
Show that among all collections with 2n-1 natural numbers in them there are exactly n numbers whose sum is divisible by n.
6. There are 40 books on a bookshelf. Exactly 10 of them have a red cover....
6. There are 40 books on a bookshelf. Exactly 10 of them have a red cover. The remaining books have a white cover. You intend to choose a random sample of nine books, but you haven't decided whether to choose with replacement or without replacement? a) If you choose books with our placement, would this procedure lead to independent trials or dependent trials? b)if you choose books with replacement, would this procedure be consistent with a binomial experiment or not?...
You have the choice to purchase one of two machines, which can produce exactly the same...
You have the choice to purchase one of two machines, which can produce exactly the same product. Machine A has a MTBF of 100 hours and MTTR of 10 hours, Machine B has a MTBF of 10 hours and a MTTR of 1 hour. What is the availability of each machine? In terms of process stability and inventory which machine would you prefer to purchase & why?
Mason was employed by One Direction in the cellar door.   One Direction have dismissed him as they...
Mason was employed by One Direction in the cellar door.   One Direction have dismissed him as they no longer need him given the home delivery is accounting for a lot of their business.   After his dismissal by One Direction, he went to work for a rival wine company BTS about 1 km up the road.  Mason’s contract with One Direction stated   ‘within three years after the termination of his engagement and services with the company you will not be in the employment of...
What is the best smart door lock for an office at a company? which one is...
What is the best smart door lock for an office at a company? which one is more secure than others and why? I need the Advantage and Disadvantage for each type
hello! So I have this CIS assignment lab but when I try to make the code...
hello! So I have this CIS assignment lab but when I try to make the code I don't really know where to start from. My professor is very hard and he likes to see the outcomes as they are shown in the problem. Please help me! Write a program that can be used as a math helper for an elementary student. The program should display two random integer numbers that are to be added, such as:     247 + 129...
There are n marble balls, one of which is made of a different material. You have...
There are n marble balls, one of which is made of a different material. You have access to a Comparator that can compare two inputs (of an arbitrary number of marble balls) and determine if the two inputs are the same or not. The problem is to find the single marble ball that is different from the others while minimizing the number of times you access the Comparator. Design an efficient algorithm based on prune-and-search to solve the problem. Derive...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT