6 problems found
Given an infinite sequence of numbers \(u_0\), \(u_1\), \(u_2\), \(\ldots\,\), we define the generating function, \(\f\), for the sequence by \[ \f(x) = u_0 + u_1x +u_2 x^2 +u_3 x^3 + \cdots \,. \] Issues of convergence can be ignored in this question.
Solution:
Write down the general term in the expansion in powers of \(x\) of \((1-x^6)^{-2}\,\).
Solution: \(\displaystyle (1-x^6)^{-2} = \sum_{n=0}^{\infty} (n+1)x^{6n}\)
In the basic version of Horizons (H1) the player has a maximum of \(n\) turns, where \(n \ge 1\). At each turn, she has a probability \(p\) of success, where \(0 < p < 1\). If her first success is at the \(r\)th turn, where \(1 \le r \le n\), she collects \(r\) pounds and then withdraws from the game. Otherwise, her winnings are nil. Show that in H1, her expected winnings are $$ p^{-1}\left[1+nq^{n+1}-(n+1)q^n\right]\quad\hbox{pounds}, $$ where \(q=1-p\). The rules of H2 are the same as those of H1, except that \(n\) is randomly selected from a Poisson distribution with parameter \(\lambda\). If \(n=0\) her winnings are nil. Otherwise she plays H1 with the selected \(n\). Show that in H2, her expected winnings are $$ {1 \over p}{\left(1-{\e^{-{\lambda}p}}\right)} -{{\lambda}q}{\e^{-{\lambda}p}} \quad\hbox{pounds}. $$
Solution: \begin{align*} && \E[H1] &= \sum_{r=1}^n r \cdot \mathbb{P}(\text{first success on }r\text{th turn}) \\ &&&= \sum_{r=1}^n r \cdot q^{r-1}p \\ &&&= p\sum_{r=1}^n r q^{r-1} \\ \\ && \frac{1-x^{n+1}}{1-x} &= \sum_{r=0}^n x^r \\ \Rightarrow && \sum_{r=1}^n r x^{r-1} &= \frac{-(n+1)x^n(1-x) +(1-x^{n+1})}{(1-x)^2} \\ &&&= \frac{1-(n+1)x^n+nx^{n+1}}{(1-x)^2} \\ \\ && \E[H1] &= p\sum_{r=1}^n r q^{r-1} \\ &&&= p\frac{1-(n+1)q^n+nq^{n+1}}{(1-q)^2} \\ &&&= p^{-1}(1-(n+1)q^{n} + nq^{n+1}) \end{align*} Not that if \(n =0\) , the formula for \(\E[H1] = 0\). So \begin{align*} && \E[H2] &= \E[\E[H1|n=N]] \\ &&&= p^{-1}\E \left [ 1-(N+1)q^{N} + Nq^{N+1}\right] \\ &&&= p^{-1}\E \left [ 1-((1-q)N+1)q^{N} \right] \\ &&&= p^{-1}\left (1 - p\E[Nq^N] - G_{Po(\lambda)}(q) \right) \\ &&&= p^{-1}(1-e^{-\lambda(1-q)}) - \E[Nq^N] \\ &&&= p^{-1}(1-e^{-\lambda(1-q)}) - q\lambda e^{-\lambda(1-q)} \\ &&&= p^{-1}(1-e^{-\lambda p}) - q\lambda e^{-\lambda p} \end{align*}
By considering the coefficients of \(t^{n}\) in the equation \[(1+t)^{n}(1+t)^{n}=(1+t)^{2n},\] or otherwise, show that \[\binom{n}{0}\binom{n}{n}+\binom{n}{1}\binom{n}{n-1}+\cdots +\binom{n}{r}\binom{n}{n-r}+\cdots+\binom{n}{n}\binom{n}{0} =\binom{2n}{n}.\] The large American city of Triposville is laid out in a square grid with equally spaced streets running east-west and avenues running north-south. My friend is staying at a hotel \(n\) avenues west and \(n\) streets north of my hotel. Both hotels are at intersections. We set out from our own hotels at the same time. We walk at the same speed, taking 1 minute to go from one intersection to the next. Every time I reach an intersection I go north with probability \(1/2\) or west with probability \(1/2\). Every time my friend reaches an intersection she goes south with probability \(1/2\) or east with probability \(1/2\). Our choices are independent of each other and of our previous decisions. Indicate by a sketch or by a brief description the set of points where we could meet. Find the probability that we meet. Suppose that I oversleep and leave my hotel \(2k\) minutes later than my friend leaves hers, where \(k\) is an integer and \(0\leqslant 2k\leqslant n\). Find the probability that we meet. Have you any comment? If \(n=1\) and I leave my hotel \(1\) minute later than my friend leaves hers, what is the probability that we meet and why?
Solution: \begin{align*} && (1+t)^{n}(1+t)^{n}&=(1+t)^{2n} \\ [t^n]: &&\sum_{k=0}^n \underbrace{\binom{n}{k}}_{t^k\text{ from left bracket}} \underbrace{\binom{n}{n-k}}_{t^{n-k}\text{ from right bracket}} &= \binom{2n}{n} \end{align*}
I have two dice whose faces are all painted different colours. I number the faces of one of them \(1,2,2,3,3,6\) and the other \(1,3,3,4,5,6.\) I can now throw a total of 3 in two different ways using the two number \(2\)'s on the first die once each. Show that there are seven different ways of throwing a total of 6. I now renumber the dice (again only using integers in the range 1 to 6) with the results shown in the following table \noindent
| Total shown by the two dice | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| Different ways of obtaining the total | 0 | 2 | 1 | 1 | 4 | 3 | 8 | 6 | 5 | 6 | 0 |