1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
jarptica [38.1K]
3 years ago
9

A building has n floors numbered 1,2,...,n, plus a ground floor g. at the ground floor, m people get on the elevator together, a

nd each gets off at a uniformly random one of the n floors (independently of everybody else). what is the variance of the number of floors the elevator does not stop at? (in fact, the variance of the number of floors the elevator does stop at must be the same (do you see why?) but the former is a little easier to compute.)
Mathematics
1 answer:
fomenos3 years ago
4 0
Let X_i be the random variable indicating whether the elevator does not stop at floor i, with

X_i=\begin{cases}1&\text{if the elevator does not stop at floor }i\\0&\text{otherwise}\end{cases}

Let Y be the random variable representing the number of floors at which the elevator does not stop. Then

Y=X_1+X_2+\cdots+X_{n-1}+X_n

We want to find \mathrm{Var}(Y). By definition,

\mathrm{Var}(Y)=\mathbb E[(Y-\mathbb E[Y])^2]=\mathbb E[Y^2]-\mathbb E[Y]^2

As stated in the question, there is a \dfrac1n probability that any one person will get off at floor n (here, n refers to any of the n total floors, not just the top floor). Then the probability that a person will not get off at floor n is 1-\dfrac1n. There are m people in the elevator, so the probability that not a single one gets off at floor n is \left(1-\dfrac1n\right)^m.

So,

\mathbb P(X_i=x)\begin{cases}\left(1-\dfrac1n\right)^m&\text{for }x=1\\\\1-\left(1-\dfrac1n\right)^m&\text{for }x=0\end{cases}

which means

\mathbb E[Y]=\mathbb E\left[\displaystyle\sum_{i=1}^nX_i\right]=\displaystyle\sum_{i=1}^n\mathbb E[X_i]=\sum_{i=1}^n\left(1\cdot\left(1-\dfrac1n\right)^m+0\cdot\left(1-\left(1-\dfrac1n\right)^m\right)
\implies\mathbb E[Y]=n\left(1-\dfrac1n\right)^m

and

\mathbb E[Y^2]=\mathbb E\left[\left(\displaystyle\sum_{i=1}^n{X_i}\right)^2\right]=\mathbb E\left[\displaystyle\sum_{i=1}^n{X_i}^2+2\sum_{1\le i

Computing \mathbb E[{X_i}^2] is trivial since it's the same as \mathbb E[X_i]. (Do you see why?)

Next, we want to find the expected value of the following random variable, when i\neq j:

X_iX_j=\begin{cases}1&\text{if }X_i=1\text{ and }X_j=1\\0&\text{otherwise}\end{cases}

If X_iX_j=0, we don't care; when we compute \mathbb E[X_iX_j], the contributing terms will vanish. We only want to see what happens when both floors are not visited.

\mathbb P(X_iX_j=1)=\left(1-\dfrac2n\right)^m
\implies\mathbb E[X_iX_j]=\left(1-\dfrac2n\right)^m
\implies2\displaystyle\sum_{1\le i

where we multiply by n(n-1) because that's how many ways there are of choosing indices i,j for X_iX_j such that 1\le i.

So,

\mathrm{Var}[Y]=n\left(1-\dfrac1n\right)^m+2n(n-1)\left(1-\dfrac2n\right)^m-n^2\left(1-\dfrac1n\right)^{2m}
You might be interested in
A card is drawn from a 52-card deck. It the card is a picture card, we toss a coin. If the card is not a picture card, we roll a
emmainna [20.7K]
52/6 your answer is 5. 
3 0
3 years ago
Ooffffffffffffffffffffffffffffffffffffffffffffffffffffff
Nutka1998 [239]

Answer: C. 2 x 2 x 2 x 2 x 5

Step-by-step explanation: if you multiply all of those numbers you get 80

7 0
3 years ago
Read 2 more answers
This year the winner of the New York marathon Grand the 8, Trenton 24 minutes what is the runners unit rate
Simora [160]

speed = distance/time

speed = 8/24 = 1/3 km per minute

4 0
4 years ago
Set up the equation relating the new ratio of broth
Nonamiya [84]

Answer:

A. 25/60 = x/100

This was correct on Edge btw :)

6 0
3 years ago
Read 2 more answers
2%, percent of the students at Hamilton Middle School have red hair. There are 700 students at Hamilton Middle School. How many
Taya2010 [7]
14 students is the correct answer
Hope this helps!
5 0
3 years ago
Read 2 more answers
Other questions:
  • Please help!
    9·1 answer
  • Evaluate ab – 0.55 when a<br> 1 and b = 5.
    7·1 answer
  • How should this model be completed to represent 377 ÷ 12?
    12·2 answers
  • -2(k - 5) + 2k = 5k + 5​
    7·1 answer
  • A math club took a math test. Twelve of the members had an average score of 80. Eighteen of the members had an average score of
    13·2 answers
  • I will choose the Brainliest, please help.
    14·1 answer
  • Which ordered pair is a solution of the equation y = 3x?
    14·1 answer
  • 2x^3-4xy(x+y^2) = 7y<br> y+ 25xy = 0
    12·1 answer
  • $150 total earnings taxes 11% earnings after taxes?
    11·1 answer
  • The reaction time (in seconds) to a certain stimulus is a continuous random variable with pdf f(x) 5 5 3 2 ? 1 x2 1
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!