\(\,\)
Solution:
Each day, I have to take \(k\) different types of medicine, one tablet of each. The tablets are identical in appearance. When I go on holiday for \(n\) days, I put \(n\) tablets of each type in a container and on each day of the holiday I select \(k\) tablets at random from the container.
Solution:
From the integers \(1, 2, \ldots , 52\), I choose seven (distinct) integers at random, all choices being equally likely. From these seven, I discard any pair that sum to 53. Let \(X\) be the random variable the value of which is the number of discarded pairs. Find the probability distribution of \(X\) and show that \(\E (X) = \frac 7 {17}\). Note: \(7\times 17 \times 47 =5593\).
Solution: There are \(\binom{26}3\binom{23}{1}2\) ways to obtain \(3\) pairs There are \(\binom{26}2 \binom{24}3 \cdot 2^3\) ways to obtain \(2\) pairs There are \(\binom{26}1 \binom{25}5 \cdot 2^5\) ways to obtain \(1\) pairs There are \(\binom{26}7 \cdot 2^7\) ways to obtain \(0\) pairs There are \(\binom{52}{7}\) ways to choose our integers, so \begin{align*} && \mathbb{P}(X = 3) &= \frac{\binom{26}{3} \cdot \binom{23}{1} \cdot 2}{\binom{52}{7}} \\ &&&= \frac{7! \cdot 26 \cdot 25 \cdot 24 \cdot 23 \cdot 2}{3! \cdot 52 \cdot 51 \cdot 50 \cdot 49 \cdot 48 \cdot 47 \cdot 46} \\ &&&= \frac{7 \cdot 6 \cdot 5 \cdot 4 }{51 \cdot 2\cdot 49 \cdot 2\cdot 47 \cdot 2} \\ &&&= \frac{ 5 }{17\cdot 7\cdot 47} = \frac{5}{5593} \\ \\ && \mathbb{P}(X = 2) &= \frac{\binom{26}2 \binom{24}3 \cdot 2^3}{\binom{52}{7}} \\ &&&= \frac{220}{5593} \\ \\ && \mathbb{P}(X = 1) &= \frac{\binom{26}1 \binom{25}5 \cdot 2^5}{\binom{52}{7}} \\ &&&= \frac{1848}{5593} \\ \\ && \mathbb{P}(X = 0) &= \frac{\binom{26}7 \cdot 2^7}{\binom{52}{7}} \\ &&&= \frac{3520}{5593} \\ \\ && \mathbb{E}(X) &= \frac{1848}{5593} + 2 \cdot \frac{220}{5593} + 3 \cdot \frac{5}{5593} \\ &&&= \frac{2303}{5593} = \frac{7}{17} \end{align*} Notice we can find the expected value directly: Let \(X_i\) be the random variable the \(i\)th number is discarded. Notice that \(\mathbb{E}(X) = \mathbb{E}\left (\frac12 \left (X_1 +X_2 +X_3 +X_4 +X_5 +X_6 +X_7\right) \right)\) and also notice that each \(X_i\) has the same distribution (although not independent!). Then \begin{align*} &&\mathbb{E}(X) &= \frac72 \mathbb{E}(X_i) \\ &&&= \frac72 \cdot \left (1 - \frac{50}{51} \cdot \frac{49}{50} \cdots \frac{45}{46} \right) = \frac74 \left ( 1 - \frac{45}{51}\right) \\ &&&= \frac72 \cdot \frac{6}{51} \\ &&&= \frac7{17} \end{align*}
Solution: \begin{questionparts} \item The tangent to \(y = \ln x\) is \begin{align*} && \frac{y - \ln x_1}{x - x_1} &= \frac{1}{x_1} \\ \Rightarrow && \frac{x_1y -x_1 \ln x_1}{ x- x_1} &= 1 \\ \Rightarrow && x_1 y - x_1 \ln x_1 &= x - x_1 \end{align*} So to run through the origin, we need \(\ln x_1 = 1 \Rightarrow x_1 = e\) so the line will be \(y = \frac1{e} x\) If \(ma = \ln a \Rightarrow m = \frac{\ln a}{a} = \frac{\ln b}{b} \Rightarrow b \ln a = a \ln b \Rightarrow a^b = b^a\). \item
For \(n\ge 0\), let \[ I_n = \int_0^1 x^n(1-x)^n\d x\,. \]
Solution:
The line passing through the point \((a,0)\) with gradient \(b\) intersects the circle of unit radius centred at the origin at \(P\) and \(Q\), and \(M\) is the midpoint of the chord \(PQ\). Find the coordinates of \(M\) in terms of \(a\) and \(b\).
Solution: \begin{align*} && y &= bx-ba \\ && 1 &= x^2 + y^2 \\ \Rightarrow && 1 &= x^2 + b^2(x-a)^2 \\ \Rightarrow && 0 &= (1+b^2)x^2-2ab^2x+b^2a^2-1 \end{align*} This will have roots which sum to \(\frac{2ab^2}{1+b^2}\), therefore \(M = \left ( \frac{ab^2}{1+b^2}, \frac{ab^3}{1+b^2}-ba \right)=\left ( \frac{ab^2}{1+b^2}, \frac{-ba}{1+b^2} \right)\)
In this question, the following theorem may be used.\newline {\sl Let \(u_1\), \(u_2\), \(\ldots\) be a sequence of (real) numbers. If the sequence is bounded above (that is, \(u_n\le b\) for all \(n\), where \(b\) is some fixed number) and increasing (that is, \(u_n\ge u_{n-1}\) for all \(n\)), then the sequence tends to a limit (that is, converges).} The sequence \(u_1\), \(u_2\), \(\ldots\) is defined by \(u_1=1\) and \[ u_{n+1} = 1+\frac 1{u_n} \ \ \ \ \ \ \ \ \ \ (n\ge1)\,. \tag{\(*\)} \]