edited by
87 views
0 votes
0 votes
Suppose that $n$ people have their hats returned at random. Let $X_{i}$ be 1 if the $i$-th person gets his or her own hat back and 0 otherwise. Find the expected value $E\left(X_{i} \cdot X_{j}\right)$ for $i \neq j$.
  1. $\frac{1}{n(n-1)}$
  2. $\frac{2}{n(n-1)}$
  3. $\frac{1}{n^{2}}$
  4. $\frac{1}{n}$
edited by

1 Answer

0 votes
0 votes
We know that only when $X_{1}=X_{2}=1$ (both the $i$ th and the $j$ th persons get their hats back), $X_{i} \cdot X_{j}=1$. Otherwise, the product is 0 .

And the probability of getting $X_{i} \cdot X_{j}=1$ is $\frac{(n-2)!}{n!}=\frac{1}{n(n-1)}$.

Hence

$$
E\left(X_{i} \cdot X_{j}\right)=1 \times \frac{1}{n(n-1)}+0 \times\left(1-\frac{1}{n(n-1)}\right)=\frac{1}{n(n-1)}
$$
Answer:

Related questions

78
views
1 answers
0 votes
GO Classes asked Jun 5
78 views
Consider the random variables $(X, Y)$ ... 5,4.5)$.$\frac{1}{3}$\frac{2}{3}$\frac{5}{6}$\frac{1}{2}$
73
views
1 answers
0 votes
GO Classes asked Jun 5
73 views
Consider a discrete random variable $X$ ... >0\right)$ ?$\frac{1}{4}$\frac{3}{8}$\frac{1}{2}$\frac{3}{4}$
76
views
1 answers
0 votes
GO Classes asked Jun 5
76 views
Consider the following discrete random variable problem:A number $X$ is chosen at random from the set $\{1,2,3,4,5\}$. Subsequently, a second number $Y$ is chosen at random from the ... =5 \mid Y=5)=1$\mathbb{P}(X=5, Y=5):=\frac{1}{20}$
72
views
1 answers
0 votes
GO Classes asked Jun 5
72 views
James Bond is playing a game that involves repeatedly rolling a fair standard 6-sided die. What is the expected number of rolls until he gets a 5 ?