STEP 3 · 20 marks

STEP 3 2013 · Q12

Probability & statistics

A list consists only of letters AA and BB arranged in a row. In the list, there are aa letter AAs and bb letter BBs, where a⩾2a\geqslant2 and b⩾2b\geqslant2, and a+b=na+b=n. Each possible ordering of the letters is equally probable. The random variable X1X_1 is defined by

X1={1if the first letter in the row is A;0otherwise. X_1=\begin{cases}1&\text{if the first letter in the row is }A;\\0&\text{otherwise.}\end{cases}

The random variables XkX_k (2⩽k⩽n)(2\leqslant k\leqslant n) are defined by

Xk={1if the (k−1)th letter is B and the kth is A;0otherwise. X_k=\begin{cases}1&\text{if the $(k-1)$th letter is $B$ and the $k$th is $A$;}\\0&\text{otherwise.}\end{cases}

The random variable SS is defined by S=∑i=1nXiS=\displaystyle\sum_{i=1}^{n}X_i.

  1. Find expressions for E(Xi)\mathrm{E}(X_i), distinguishing between the cases i=1i=1 and i≠1i\neq1, and show that E(S)=a(b+1)n\mathrm{E}(S)=\dfrac{a(b+1)}{n}.
  2. Show that:

    1. for j⩾3j\geqslant3, E(X1Xj)=a(a−1)bn(n−1)(n−2)\mathrm{E}(X_1X_j)=\dfrac{a(a-1)b}{n(n-1)(n-2)} ;
    2. ∑i=2n−2(∑j=i+2nE(XiXj))=a(a−1)b(b−1)2n(n−1)\displaystyle\sum_{i=2}^{n-2}\left(\sum_{j=i+2}^{n}\mathrm{E}(X_iX_j)\right)=\frac{a(a-1)b(b-1)}{2n(n-1)} ;
    3. Var (S)=a(a−1)b(b+1)n2(n−1)\mathrm{Var}\,(S)=\dfrac{a(a-1)b(b+1)}{n^2(n-1)} .

Read the questions freely. Sign in to check your answer, see the model answer and save your progress.