The discrete random variables \(X\) and \(Y\) can each take the values \(1\), \(\ldots\,\), \(n\) (where \(n\ge2\)). Their joint probability distribution is given by
\[
\P(X=x, \ Y=y) = k(x+y) \,,
\]
where \(k\) is a constant.
Show that \[
\P(X=x) = \dfrac{n+1+2x}{2n(n+1)}\,.
\]
Hence determine whether \(X\) and \(Y\) are independent.
Show that the covariance of \(X\) and \(Y\) is negative.
An unbiased twelve-sided die has its faces marked \(A,A,A,B,B,B,B,B,B,B,B,B.\)
In a series of throws of the die the first \(M\) throws show \(A,\) the next \(N\) throws show \(B\) and the \((M+N+1)\)th throw shows \(A\).
Write down the probability that \(M=m\) and \(N=n\), where \(m\geqslant0\) and \(n\geqslant1.\) Find
the marginal distributions of \(M\) and \(N\),
the mean values of \(M\) and \(N\).
Investigate whether \(M\) and \(N\) are independent.
Find the probability that \(N\) is greater than a given integer \(k\), where \(k\geqslant1,\) and find \(\mathrm{P}(N > M).\) Find also \(\mathrm{P}(N=M)\)
and show that \(\mathrm{P}(N < M)=\frac{1}{52}.\)