I attempted the following Tripos question a while ago:
A collection of $n$ lightbulbs are arranged in a circle. Each bulb is on independently with probability $p$. Let $X$ be the number of bulbs such that both that bulb and the next bulb clockwise are on.
i) Find $\mathbb{E}(X)$ and $\text{Var}(X)$.
Let $B$ be the event that there is at least one pair of adjacent bulbs that are both on.
ii) Use Markov’s inequality to show that if $p=n^{-0.6}$ then $\mathbb{P}(B)\to0$ as $n\to\infty$. Use Chebyshev’s inequality to show that if $p=n^{-0.4}$ then $\mathbb{P}(B)\to1$ as $n\to\infty$.
For part i), I get that the expected number of bulbs on is just $np$. However, how do we deal with $X$ in this case? Is it just $np^2$ still by linearity of expectation, or am I overcounting around where the $n$th and $1$st bulb are connected? Is the probability I should consider $p^2$ also ii)?
Yes, the probability that a bulb and its clockwise neighbor are both on is $p^2$. By linearity the expected number of pairs is then $np^2$. For ii as well, the probability of a given pair being on is $p^2$. For both, plug in the given value of $p$ and observe the behavior as $n$ gets large.