- #1
Dostre
- 26
- 0
Homework Statement
Seven persons are staying at a hotel. The hotel has twenty-five floors, each with the same number of rooms. Each of the seven persons has been randomly assigned to one of the rooms in the hotel.
a. What is the probability that at least two people have rooms on the same floor? Show and explain how you calculate the answer.
b. Suppose you are one of the seven people. What is the probability that at least one of the other six persons has a room on the same floor as you? Assume there are at least 6 rooms on each floor of the hotel. Show and explain how you calculate the answer
c. Explain qualitatively why the answer to part b. is smaller than the answer to part a. In other words, give an intuitive argument or reason for the difference in probabilities.
Homework Equations
[itex]P(A)=1-P(A^c)[/itex]
The Attempt at a Solution
Part a. Probability that at least two people have a room on the same floor is the complement of probability that no one has rooms on the same floor.
Event A=at least two people have rooms on the same floor
Event [itex]A^{c}[/itex]=everybody lives on distinct floors.
[itex]P(A^c)=(25*24*23*22*21*20*19)/25^7=0.397[/itex]
[itex]P(A)=1-P(A^c)=0.603[/itex]
I think it is correct.
Part b. Using the same logic and taking into account that there are at least 6 rooms on each floor I get that there 24*6=184 rooms to choose, since I occupy the 25th floor.
Event A=at least one of the other six people has a room on the same floor with me
Event [itex]A^{c}[/itex]=nobody lives on the same floor with me
Hence,
[itex]P(A^c)=(184*183*182*181*180*179)/184^6=0.92[/itex]
[itex]P(A)=1-0.92=0.08[/itex]
Is this correct?
Part c. I think it is because in part b order matters, but I am not sure. Help appreciated. Thanks.