Problems

Filters
Clear Filters

6 problems found

2016 Paper 1 Q8
D: 1500.0 B: 1530.6

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.

  1. Using the binomial series, show that the sequence given by \(u_n=n\,\) has generating function \(x(1-x)^{-2}\), and find the sequence that has generating function \(x(1-x)^{-3}\). Hence, or otherwise, find the generating function for the sequence \(u_n =n^2\). You should simplify your answer.
    • \(\bf (a)\) The sequence \(u_0\), \(u_1\), \(u_2\), \(\ldots\,\) is determined by \(u_{n} = ku_{n-1}\) (\(n\ge1\)), where \(k\) is independent of \(n\), and \(u_0=a\). By summing the identity \(u_{n}x^n \equiv ku_{n-1}x^n\), or otherwise, show that the generating function, f, satisfies \[ \f(x) = a + kx \f(x) \] Write down an expression for \(\f(x)\).
    • \(\bf (b)\) The sequence \(u_0, u_1, u_2, \ldots\,\) is determined by \(u_{n} = u_{n-1}+ u_{n-2}\) (\(n\ge2\)) and \(u_0=0\), \(u_1=1\). Obtain the generating function.


Solution:

  1. \(\,\) \begin{align*} && x(1-x)^{-2} &= x \left (1 + (-2)(-x) + \frac{(-2)(-3)}{2!}x^2 + \cdots + \frac{(-2)(-3)\cdots(-2-(k-1))}{k!} (-x)^k + \cdots \right) \\ &&&= x(1 + 2x + 3x^2 + \cdots + \frac{(-2)(-3)\cdots(-(k+1))}{k!}(-1)^k x^k + \cdots ) \\ &&&= x+2x^2 + 3x^3 + \cdots + (k+1)x^{k+1} + \cdots \\ \Rightarrow && u_n &= n \end{align*} \begin{align*} && x(1-x)^{-3} &= x \left (1 + 3x + 6x^2 + \cdots + \frac{(-3)(-4)\cdots(-k-2)}{k!}(-x)^k + \cdots \right) \\ &&&= x \left (1 + 3x + 6x^2 + \cdots + \frac{(k+2)(k+1)}{2}x^k + \cdots \right) \\ &&&= x + 3x^2 + 6x^3 + \cdots + \binom{k+2}{2}x^{k+1} + \cdots \\ && u_n &= \binom{n+1}{2} = \frac{n^2+n}{2} \\ \\ \Rightarrow && 2x(1-x)^{-3} - x(1-x)^{-2} &= (1-x)^{-3}(2x-x(1-x)) \\ &&&= (1-x)^{-3}(x+x^2) \end{align*}
    • \(u_n = ku_{n-1} \Rightarrow u_nx^n = ku_{n-1}x^n\) so \begin{align*} && \sum_{n=1}^\infty u_n x^n &= \sum_{n=1}^\infty k u_{n-1}x^n \\ && \sum_{n=0}^\infty u_n x^n - a &= x\sum_{n=0}^\infty k u_{n}x^n \\ \Rightarrow && f(x)-a &= kx f(x) \\ \Rightarrow && f(x) &= a + kxf(x) \\ \Rightarrow && f(x) &= \frac{a}{1-kx} \end{align*}
    • Suppose \(\displaystyle f(x) = \sum_{n=0}^\infty u_n x^n\) so \begin{align*} && x^n u_n &= x^n u_{n-1} + x^n u_{n-2} \\ \Rightarrow && \sum_{n=2}^\infty x^n u_n &= \sum_{n=2}^\infty x^n u_{n-1} + \sum_{n=2}^\infty x^n u_{n-2} \\ && \sum_{n=0}^\infty x^n u_n - u_0 - u_1 x &= \left ( \sum_{n=0}^\infty x^{n+1} u_{n} -xu_0 \right) + \sum_{n=0}^\infty x^{n+2} u_{n} \\ && f(x) - x &= xf(x) +x^2f(x) \\ \Rightarrow && f(x) &= \frac{x}{1-x-x^2} \end{align*}

2012 Paper 2 Q1
D: 1600.0 B: 1500.0

Write down the general term in the expansion in powers of \(x\) of \((1-x^6)^{-2}\,\).

  1. Find the coefficient of \(x^{24}\) in the expansion in powers of \(x\) of \[ (1-x^6)^{-2} (1-x^3)^{-1}\,.\] Obtain also, and simplify, formulae for the coefficient of \(x^n\) in the different cases that arise.
  2. Show that the coefficient of \(x^{24}\) in the expansion in powers of \(x\) of \[ (1-x^6)^{-2} (1-x^3)^{-1} (1-x)^{-1}\,\] is \(55\), and find the coefficients of \(x^{25}\) and \(x^{66}\).


Solution: \(\displaystyle (1-x^6)^{-2} = \sum_{n=0}^{\infty} (n+1)x^{6n}\)

  1. \(\,\) \begin{align*} && f(x) &= (1-x^6)^{-2}(1-x^3)^{-1} \\ &&&= \left ( \sum_{n=0}^{\infty} (n+1)x^{6n} \right) \left ( \sum_{n=0}^{\infty} x^{3n} \right) \\ [x^{24}]: && c_{24} &= 1 + 2+ 3+4+5 = 15 \end{align*} Clearly \(n\) must be a multiple of \(3\). If \(n = 6k\) then we have \(1 + 2 + \cdots + (k+1) = \frac{(k+1)(k+2)}{2}\) If \(n = 6k+3\) then we have \(1 + 2 + \cdots + (k+1) = \frac{(k+1)(k+2)}{2}\) the same way, we just must always get one extra \(x^3\) term from the second expansion.
  2. We can obtain \(x^{24}\) from the product of \((1-x^6)^{-2}(1-x^3)^{-1}\) and \((1-x)^{-1}\) in the following ways: \begin{array}{c|c|c} (1-x^6)^{-2}(1-x^3)^{-1} & (1-x)^{-1} & \text{product} \\ \hline 15x^{24} & x^0 & 15x^{24} \\ 10x^{21} & x^3 & 10x^{24} \\ 10x^{18} & x^6 & 10x^{24} \\ 6x^{15} & x^9 & 6x^{24} \\ 6x^{12} & x^{12} & 6x^{24} \\ 3x^{9} & x^{15} & 3x^{24} \\ 3x^{6} & x^{18} & 3x^{24} \\ x^{3} & x^{21} & x^{24} \\ x^{0} & x^{24}& x^{24} \end{array} So the total is \(55\). Similarly for \(25\) we can only obtain this in the same ways but also taking an extra power of \(x\) from the geometric series, ie \(55\) For \(66\) we obtain by similar reasoning that it is: \(\frac{13\cdot12}{2} + 2 \left (1 + 3 + \cdots + \frac{13 \cdot 12}{2} \right) = \frac{13\cdot12}{2} + 2 \binom{14}{3} = \frac{13 \cdot 12}2 ( 1 + \frac{30}{3}) = 11 \cdot 6 \cdot 13 = 858\)

2008 Paper 3 Q8
D: 1700.0 B: 1500.0

  1. The coefficients in the series \[ S= \tfrac13 x + \tfrac 16 x^2 + \tfrac1{12} x^3 + \cdots + a_rx^r + \cdots \] satisfy a recurrence relation of the form \(a_{r+1} + p a_r =0\). Write down the value of \(p\). By considering \((1+px)S\), find an expression for the sum to infinity of \(S\) (assuming that it exists). Find also an expression for the sum of the first \(n+1\) terms of \(S\).
  2. The coefficients in the series \[ T=2 + 8x +18x^2+37 x^3 +\cdots + a_rx^r + \cdots \] satisfy a recurrence relation of the form \(a_{r+2}+pa_{r+1} +qa_r=0\). Find an expression for the sum to infinity of \(T\) (assuming that it exists). By expressing \(T\) in partial fractions, or otherwise, find an expression for the sum of the first \(n+1\) terms of \(T\).

1999 Paper 3 Q14
D: 1700.0 B: 1487.9

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*}

1996 Paper 2 Q13
D: 1600.0 B: 1516.0

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*}

TikZ diagram
From each point, we can get to the diagonal ahead of us, so each move only takes us one diagonal closer together. Therefore we can only meet on the diagonal. The number of routes we can meet at is \begin{align*} && R &= \sum_{k=0}^n \underbrace{\binom{n}{k}}_{\text{I go up } k}\underbrace{\binom{n}{n-k}}_{\text{she goes down }n-k} \\ &&&= \binom{2n}{n} \end{align*} Therefore the probability is \(\displaystyle \frac1{2^{2n}} \binom{2n}n\). If I leave \(2k\) minutes late, then we will be attempting meet on a diagonal which is \(2k\) closer to me. The probability this occurs is \begin{align*} && \frac{1}{2^{2n}}\sum_{j=0}^{n-k}\binom{n-k}{j}\binom{n+k}{n-j} &= \frac{1}{2^{2n}}\binom{2n}{n} \end{align*} (by considering the coefficient of \(t^n\) in \((1+t)^{n+k}(1+t)^{n-k} =(1+t)^{2n}\)) This probability is unchanged, because you can consider the two paths as one path by one random person, conditional on them meeting and the delay doesn't change anything. If \(n = 1\) and I leave late, the only way we meet is if we end up walking towards each other down the same street (not at an intersection). This means I need to walk towards the intersection she reaches after the first minute \(\frac12\) and she needs to walk towards me \(\frac12\) so we have probability \(\frac14\)

1993 Paper 1 Q1
D: 1484.0 B: 1516.0

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 dice23456789101112
Different ways of obtaining the total02114386560
\par
Find how I have numbered the dice explaining your reasoning. {[}You will only get high marks if the examiner can follow your argument.{]}