MHB In how many floors does the elevator have to stop?

  • Thread starter Thread starter mathmari
  • Start date Start date
  • Tags Tags
    Elevator
mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

I am looking at the following:
In a high-rise building with ten floors above the ground floor an elevator is installed. Suppose that twelve people enter the elevator on the ground floor and independently select one of the ten floors under uniform distribution. In how many floors does the elevator have to stop on average to let off one or more people?
I have done the following:

Let $i\in \{1, \ldots , 10\}$.

Let $X_i$ be a random variable that takes the value $1$ if at least one person gets off on floor $i$ and $0$ otherwise.

Then we get $X_i=\left\{\begin{matrix}
1, & \text{ stops on floor } i\\
0, & \text{ otherwise }
\end{matrix}\right.$ We want to calculate the expectation of the number of stops, right?

The probability that nobody gets out on floor $i$ is equal to
\begin{align*}P&(\text{Nobody gets out on floor } i ) \\ & =P\left ((\text{Person } 1 \text{ doesn't get out}) \cap (\text{Person } 2 \text{ doesn't get out}) \cap \ldots \cap (\text{Person } 12 \text{ doesn't get out})\right ) \\ & = P\left (\cap_{j=1}^{12}(\text{Person } j \text{ doesn't get out})\right )\end{align*}

SInce each person chooses the floor to get out independently from the others, it holds that
\begin{equation*}P\left (\cap_{j=1}^{12}(\text{Person } j \text{ doesn't get out})\right )=\prod_{j=1}^{12} P(\text{Person } j \text{ doesn't get out})\end{equation*}

The probability that a person gets out on floor $i$ is equal to $\frac{1}{10}$. The probability that the person doesn't get out on floor $i$ is equal to $1-\frac{1}{10}=\frac{9}{10}$.

We get the following:
\begin{equation*}\prod_{j=1}^{12} P(\text{Person } j \text{ doesn't get out})=\prod_{j=1}^{12}\frac{9}{10}=\left (\frac{9}{10}\right )^{12} \end{equation*} Is everything correct so far? (Wondering) Which is the formula for the expectation that we have to use? Do we maybe have to use the formula $E(X)=\sum_{k=1}^{10}x_k\cdot P(X=x_k)$ ? (Wondering)
 
Last edited by a moderator:
Physics news on Phys.org
Hi mathmari! (Smile)

I believe that is correct yes.

So we have:
$$P(\text{elevator does not stop at floor }i) = \left (\frac{9}{10}\right )^{12}$$
Either the elevator stops or not at floor $i$, so the expected number of stops on floor $i$ is:
$$E(\text{nr of stops on floor }i) = 0 \cdot \left (\frac{9}{10}\right )^{12} + 1 \cdot \left(1 - \left (\frac{9}{10}\right )^{12}\right)$$
Thus the expected total number of stops is:
$$E(\text{nr of stops}) = \sum_{i=1}^{10}E(\text{nr of stops on floor }i) = 10 \cdot \left(1 - \left (\frac{9}{10}\right )^{12}\right)$$
(Thinking)
 
I like Serena said:
Either the elevator stops or not at floor $i$, so the expected number of stops on floor $i$ is:
$$E(\text{nr of stops on floor }i) = 0 \cdot \left (\frac{9}{10}\right )^{12} + 1 \cdot \left(1 - \left (\frac{9}{10}\right )^{12}\right)$$

Could you explain to me how we get that? (Wondering)
 
mathmari said:
Could you explain to me how we get that? (Wondering)

Generally the expectation of a random variable X is:
$$EX=\sum x_k P(x_k)$$
where the $x_k$ represent the possible outcomes.

In our case the possible outcomes for a specific floor i are 0 stops and 1 stop. (Thinking)
 
I like Serena said:
Generally the expectation of a random variable X is:
$$EX=\sum x_k P(x_k)$$
where the $x_k$ represent the possible outcomes.

In our case the possible outcomes for a specific floor i are 0 stops and 1 stop. (Thinking)
I understand! Thank you very much! (Mmm)
 
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Thread 'Detail of Diagonalization Lemma'
The following is more or less taken from page 6 of C. Smorynski's "Self-Reference and Modal Logic". (Springer, 1985) (I couldn't get raised brackets to indicate codification (Gödel numbering), so I use a box. The overline is assigning a name. The detail I would like clarification on is in the second step in the last line, where we have an m-overlined, and we substitute the expression for m. Are we saying that the name of a coded term is the same as the coded term? Thanks in advance.

Similar threads

Replies
6
Views
4K
Replies
18
Views
1K
Replies
9
Views
2K
Replies
4
Views
1K
Replies
2
Views
2K
Replies
36
Views
4K
Back
Top