Question

A key chain holds N different keys (N ≥ 2) and only one of them opens the door to your apartment....

A key chain holds N different keys (N ≥ 2) and only one of them opens the door to your apartment. You try the keys on the key chain at random until the door unlocks. Let X be the number of times you tried unlocking the door. What is the probability mass function of X and the mean value of X when:

(a) After trying a key you leave it on the key chain.

(b) After trying a key you remove it from the key chain.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution

X follows geometric distribution with p = 1/n, 1-p = n-1/n

(a) E(X) = 1/p = 1/1/n = n

(b) P(X = 1) = 1/n

P(X= 2) = ((n-1)/n)(1/(n-1)) = 1/n

P(X=3) = ((n-1)/n)(n-2/n-1)(1/n-2) = 1/n

……..P(X= n ) = 1/n

E(X) = 1/n + 2/n + 3/n+.....+n/n = n(n+1)/2n = (n+1)/2

Add a comment
Know the answer?
Add Answer to:
A key chain holds N different keys (N ≥ 2) and only one of them opens the door to your apartment....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • help please 2. I have n keys, exactly one of which opens the door. I try...

    help please 2. 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

  • Problem 9.1 A gatekeeper stands in front of a locked door. He has a keychain with...

    Problem 9.1 A gatekeeper stands in front of a locked door. He has a keychain with 12 keys and a single one of them unlocks the door in front of him. (a) First assume that he tries the keys one after the other. Let X be the random variable that describes the number of unsuccessful attempts at unlocking the door in this case. (i) Let X(12) denote all the possible values that X can take. Determine X(22). (ii) What is...

  • 3. A woman has n keys, of which one will open her door. (a) If she...

    3. A woman has n keys, of which one will open her door. (a) If she tries the keys at random, discarding those that do not work,what is the probability that she will open the door on her kth try? (b) What if she does not discard previously tried keys?

  • There are 10 keys and only one of them can open a lock. We do not...

    There are 10 keys and only one of them can open a lock. We do not know which key can open the lock, but we will try them one by one until we find the right key. We record the key(s) which we have already tried. (a) What’s the probability of finding the right key in the first trial? (b) What’s the probability of finding the right key in the third trial? (c) If we know that the first two...

  • 3. (12pts) The mathematics main office has backup keys to the offices in Kiely Hall. One...

    3. (12pts) The mathematics main office has backup keys to the offices in Kiely Hall. One day Dr. Unlucky locked himself out of his office. So he borrowed the keys from the main office. Unfortunately, these keys have no room number on them and thus he has to try one by one. Suppose there are n keys and only one key will open Dr. Unlucky's office. (a) (6pts) If he tries the keys at random and discards those that do...

  • Kate has n keys, only one of which will open the cookie jar. (a) If she...

    Kate has n keys, only one of which will open the cookie jar. (a) If she tries the keys at random, discarding those that do not work, what is the (b) Later in the day, her brother Kurtis wants to get a cookie, but he does not probability that she will open the jar on her kth try? discard keys that he has previously tried. What is the probability that he will open the jar on his kth try? (c)...

  • Kate has n keys, only one of which will open the cookie jar. (a) If she...

    Kate has n keys, only one of which will open the cookie jar. (a) If she tries the keys at random, discarding those that do not work, what is the probability that she will open the jar on her kth try? (b) Later in the day, her brother Kurtis wants to get a cookie, but he does not discard keys that he has previously tried. What is the probability that he will open the jar on his kth try? (c)...

  • Write solutions legibly, and show all work. Walk the reader through your thought process, using English...

    Write solutions legibly, and show all work. Walk the reader through your thought process, using English words when necessary. 1. Recall question 2 of the previous homework – We draw 6 cards from a 52 card deck and let X = the number of heart cards drawn. You already found the pmf back then. You’re allowed to use it here without re-deriving it. a. What is the expected value of X? b. What is the variance of X? What is...

  • In our experiment we will use three different substrates: 1°, n-butyl chloride; 2°, sec-butyl chloride; and...

    In our experiment we will use three different substrates: 1°, n-butyl chloride; 2°, sec-butyl chloride; and 3°, tert- butyl chloride, and we will evaluate their reactivity and the rate of the reaction in an SN1 reaction. We will use an acid-base indicator to monitor the completion of the reaction and a salt, silver nitrate, to obtain a precipitate. The success of the reaction is evidenced by the change in color of the indicator (from orange to red) due to the...

  • 2) What were some of the key challenges they encountered? How did they overcome them? 3)...

    2) What were some of the key challenges they encountered? How did they overcome them? 3) What were some of the key takeaways they learned to use in the future? When I assumed the leadership of Heinz’s Asia/Pacific business, in 1993, the company’s revenues from that part of the world were hardly a blip—and I’d never visited most of the countries in the region. I made my first trip there soon after I took the job, and it really opened...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT